@font-face {
    font-family: 'rs_font';
    src: url('../../fonts/iconfont/rs_font.eot?ver=11');
    src: url('../../fonts/iconfont/rs_font.eot?ver=11#iefix') format('embedded-opentype'),
    url('../../fonts/iconfont/rs_font.ttf?ver=11') format('truetype'),
    url('../../fonts/iconfont/rs_font.woff?ver=11') format('woff'),
    url('../../fonts/iconfont/rs_font.svg?ver=11#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

td {
    width: 33.3333%;
}
.cable {
    margin-bottom: 6px;
    font-weight: bold;
    margin-left: 10px;
    display: block;
    float: left;
    padding-left: 0;
}
.wh_right_arrow, .wh_right_arrow_party {
    width: 24px;
    height: 24px;
    float: left;
    background:url(../../../../../endeca/static/img/assets/wh/right-arrow.png)!important;
}
.wh_down_arrow, .wh_down_arrow_party {
    width: 24px;
    height: 24px;
    float: left;
    background:url(../../../../../endeca/static/img/assets/wh/down-arrow.png)!important;
}

.wh_arrow_pc, .wh_arrow_pc_party {
    margin-top: -3px;
    margin-left: -7px;
    display: block;
}

.wh_arrow_mob, .wh_arrow_mob_party {
    margin-top: -4px;
    margin-left: 5px;
    display: none;
}

table {
    width: 100%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
}

table tr {
    padding: 5px;
}

table th, table td {
    font-size: 14px;
    padding: 10px;
    text-align: left;
}

table th {
    font-size: 14px;
}
.rs {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    width: 50%;
    padding-left: 0;
}
.manufacturer {
    border-top: 1px solid #ddd;
}
.manufacturer_header {
    padding-left: 20px;
}
.opening_table {
    background-color: #e8effb;
    border-top: 1px solid #ddd;
    display: none;
}

.close-form {
    position: absolute;
    width: 32px;
    height: 32px;
    z-index: 20;
    display: block;
    right: 4px;
    top: 4px;
    text-align: center;
    border: 1px solid #d5d7dc;
    border-radius: 50%;
}

.close-form:after {
    font-family: 'rs_font';
    position: absolute;
    content: "3";
    color: #000;
    font-size: 15px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 16px;
    left: 50%;
    margin-left: -8px;
    top: 48%;
    height: 18px;
    margin-top: -9px;
}

.close-form:hover:after {
    color: #336ed5;
}

.close-form:hover {
    border: 1px solid #336ed5;
    opacity: 1;
}

.close-form:active:after {
    color: #062967;
}

.close-form:active {
    border: 1px solid #062967;
}

.modal-content .close-form {
    opacity: 1 !important;
    width: 35px;
    height: 35px;
    top: -11px;
    right: 8px;
    border: 0;
}

.modal-content .close-form:after {
    font-size: 19px;
    left: 0;
    width: auto;
    right: 0;
    margin-left: 0;
}
.modal-content .close-form {
    top: 5px;
    right: 5px;
}
.close-btn {
    display: none;
}
.modal-footer-wh {
    margin-left: 20px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.open_cable, .open_party {
    cursor: pointer;
}
.row-active {
    background-color: #d7e3f8;
}

.column_width15 {
    width: 15%;
}

.column_width30 {
    width: 30%;
}

.column_width40 {
    width: 40%;
}

.column_width50 {
    width: 50%;
}

.modal-title {
    padding-left: 16px;
}

.modal-title-main{
    padding-left: 0;
}

@media screen and (min-width:768px) and (max-width: 1000px) {
    .modal-dialog {
        width: 90% !important;
    }
}

@media screen and (max-width: 768px) {
    .column_width15, .column_width30, .column_width40 {
        width: 100%;
    }

    .wh_arrow_pc, .wh_arrow_pc_party {
        display: none;
    }
    .wh_arrow_mob, .wh_arrow_mob_party {
        display: block;
    }
    .opening_table > td > table > tbody > tr:not(:last-child) {
        border-bottom: 1px solid #ddd;
    }
    /* .opening_table > td:nth-child(2) {
        display: none;
    } */
    .manufacturer_header, .modal {
        padding-left: 0;
    }
    .modal-title {
        padding-left: 12px;
    }
    tbody > tr:nth-child(2) > td:nth-child(1) {
        border-top: none;
    }

    .table_container > tbody > tr:first-child:not(.shop-stock-popup-row-first) {
        display: none;
    }

    .table_container > tbody > tr:first-child.shop-stock-popup-row-first {
        border-top: none;
    }
    .close-form {
        top: 4px;
        right: 4px;
    }
    .rs {
        border-right: none;
        border-top: 3px solid #ddd;
        padding-left: 10px;
        width: 100%;
    }
    .manufacturer {
        border-right: none;
        border-top: 1px solid #ddd;
    }
    td {
        width: 100%;
    }
    table {
        border: 0;
    }

    table thead {
        display: none;
    }

    table tr {
        display: block;
    }

    table td {
        display: block;
        text-align: right;
        font-size: 14px;
    }
    
    .party_table table td {
    	text-align: left;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        font-size: 13px;
    }
    .cable {
        margin-left: 13px;
    }
}

@media screen and (min-width:1200px){
	.close-form {
        display: none;
    }

    .close-btn {
    	display: block;
	}

    .red-close-btn {
	    max-width: 100px;
		float: right;
	}

    .red-close-btn_zkz {
		margin: -15px 19px 0;
	}

    .red-close-btn_zkz-some {
		margin: -30px 19px 0;
	}

	.red-close-btn_no-zkz {
		margin: 0 19px 0;
	}
}

.shop-stock-popup-row {
    border-top: 1px solid #ddd;
}

.shop-stock-popup-column{
    padding: 20px;
}

.shop-stock-popup-header-column{
    padding-bottom: 20px;
}
