.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.inline {
    font-size: 0;
}

.inline>* {
    display: inline-block;
    vertical-align: top;
}

a:hover {
    text-decoration: none;
}

.relative {
    position: relative;
}

.easing {
    transition: all .25s linear;
    -webkit-transition: all .25s linear;
}

.page-title {
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 22px;
}


/* 공통 버튼 */

.btn-basic {
    color: #333;
    font-size: 12px;
    border: 1px solid #333;
    box-sizing: border-box;
    text-align: center;
    height: 34px;
    line-height: 34px;
    min-width: 55px;
    padding: 0px 15px;
    transition: all .25s linear;
    -webkit-transition: all .25s linear;
}

.btn-basic:not(.black):hover {
    background: #333;
    color: #fff;
}

.btn-basic.black {
    background: #333;
    color: #fff;
}

.btn-wrap.text-center {
    margin-top: 30px;
}

.btn-wrap.text-center .btn-basic {
    margin: 0px 5px;
    width: 100px;
}

.input-container {
    position: relative;
    display: flex;
    /* border-bottom: 1px solid #333333; */
    flex-direction: row-reverse;
    align-items: center;
    margin: 1rem 0;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0.5rem auto;
}

.input-container--row {
    flex-direction: row;
}

.input-container label {
    position: relative;
    flex: 0 0 auto;
    font-weight: 500;
}
.input-container:not(.input-container--textarea) .form-control:hover,
.input-container:not(.input-container--textarea) .form-control:active,
.input-container:not(.input-container--textarea) .form-control:focus {
    box-shadow: none !important;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    border-color: currentColor;
}


.input-container .form-control[disabled],
.input-container .form-control[readonly],
.input-container fieldset[disabled] .form-control {
        background: inherit;    
}

.form-control {
    border-radius: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-container input {
    flex: 1;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid #333333;
    -webkit-appearance: textfield;
    appearance: textfield;
    margin: 0;
}
.input-container select {
    flex: 1;
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid #333333;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}
.input-container textarea,
.input-container textarea:hover,
.input-container textarea:active,
.input-container textarea:focus {
    border-color: #333;
    box-shadow: none;
}

.input-container--select:after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    top: 50%;
    margin-top: -3px;
    right: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url(/img/select-arrow-down.png);
    pointer-events: none;
}

.row + .row {
    margin-top: 50px;
}


/* 인풋 공통 */

input.write-input {
    border-color: #d9d9d9 !important;
}

input.write-input:not(.read-only):hover,
input.write-input:not(.read-only):focus {
    border-color: #000 !important;
}


/* 예약 관리 버튼 & 검색폼 */

.page-top {
    margin-bottom: 30px;
}

.search-form-wrap select.state_select {
    width: 100px;
}

.search-form-wrap input.state_input {
    width: 200px;
    height: 34px;
    line-height: 34px;
    margin: 0px 5px;
}

.page-top .btn-wrap a {
    margin-right: 5px;
}

.search-form-wrap select[name="search_input2"] {
    display: none;
    height: 33px;
    line-height: 33px;
    width: 200px;
    margin: 0px 5px;
}

.search-form-wrap select[name="search_input2"].show {
    display: inline-block !important;
    vertical-align: top;
}


.search-form-wrap select[name="search_input3"] {
    display: none;
    height: 33px;
    line-height: 33px;
    width: 200px;
    margin: 0px 5px;
}

.search-form-wrap select[name="search_input3"].show {
    display: inline-block !important;
    vertical-align: top;
}



/* 예약정보 입력폼 */

.stock-form {
    margin-bottom: 30px;
    padding: 30px 0px 20px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.stock-form .form-wrap {
    margin-right: 9%;
}

.stock-form .form-wrap:last-child {
    margin-right: 0;
}

.stock-form .input-box:nth-of-type(2) {
    margin-top: 10px;
}

.stock-form .input-box span.form-label {
    font-size: 12px;
    color: #333;
    line-height: 34px;
    margin-right: 10px;
    min-width: 110px;
    text-indent: 10px;
}

.stock-form .input-box input.state_input {
    display: inline-block;
    vertical-align: top;
    width: 150px;
    height: 34px;
    line-height: 34px;
}

.stock-form .input-box .radio-btns li {
    margin-right: 13px;
}

.stock-form .input-box .radio-btns input[type="radio"] {
    position: absolute;
    visibility: hidden;
}

.stock-form .input-box .radio-btns label {
    font-size: 13px;
    color: #aaa;
    padding-left: 23px;
    line-height: 34px;
    font-weight: normal;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.stock-form .input-box .radio-btns li:hover label,
.stock-form .input-box .radio-btns input[type="radio"]:checked+label {
    color: #333;
}

.stock-form .input-box .radio-btns .check {
    display: block;
    position: absolute;
    border: 1px solid #aaa;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    top: 50%;
    left: 0;
    z-index: 5;
    margin-top: -9px;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}

.stock-form .input-box .radio-btns .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 8px;
    width: 8px;
    top: 50%;
    left: 50%;
    margin: -4px 0px 0px -4px;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

.stock-form .input-box .radio-btns li:hover .check,
.stock-form .input-box .radio-btns input[type="radio"]:checked~.check {
    border-color: #333;
}

.stock-form .input-box .radio-btns li:hover .check::before,
.stock-form .input-box .radio-btns input[type="radio"]:checked~.check::before {
    background: #333;
}

.stock-form .stock-input {
    opacity: 0;
    visibility: hidden;
}

.stock-form .stock-input.on {
    opacity: 1;
    visibility: visible;
}

.stock-form .stock-btns button {
    display: block;
    width: 85px;
    margin-bottom: 10px;
}


/* 리스트 */

.list-table .table_v_style_wrap {
    border-top: 1px solid #333;
    border-bottom-color: #333;
    table-layout: fixed;
}

.list-table .table_v_style_wrap thead th {
    border-right: 1px solid #333;
    border-bottom-width: 1px;
}

.list-table .table_v_style_wrap thead th:last-child {
    border-right: 0px;
}

.list-table .table_v_style_wrap thead tr:last-child th {
    border-top: 1px solid #333 !important;
}

.list-table thead th.number {
    width: 50px;
}

.list-table tbody tr td {
    vertical-align: middle;
    border-color: #333;
}

.list-table tbody tr td .btn-basic {
    height: 25px;
    line-height: 25px;
    font-size: 11px;
}

.list-table tbody tr td.prd-search input.prd-code {
    width: 170px;
}

.list-table tbody tr td.prd-search .btn-basic {
    height: 35px;
    line-height: 35px;
    margin-left: 10px;
    font-size: 12px;
}

.list-table tbody tr td button.btn {
    height: 35px;
    line-height: 35px;
    border-radius: 0px;
    font-size: 12px;
    text-indent: 16px;
    text-align: center;
}

.list-table tbody tr td button.btn::before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    left: 15px;
    transition: all .25s linear;
    -webkit-transition: all .25s linear;
}

.list-table tbody tr td button.btn::after {
    content: "";
    display: block;
    width: 2px;
    height: 10px;
    background: #000;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    left: 19px;
    transition: all .25s linear;
    -webkit-transition: all .25s linear;
}

.list-table tbody tr td button.btn.btn-remove::after {
    display: none;
}

.list-table tbody tr td button.btn:hover::before,
.list-table tbody tr td button.btn:hover::after {
    background: #fff;
}


/* 페이징 */

.paging {
    margin: 50px 0px;
}


/* 예약 신청 폼 */

.reservation-form .state_input.write-input {
    width: 150px;
}

.reservation-form .qty.state_input.write-input {
    width: 40px;
}

.requester-info {
    border-bottom: 0px;
    padding: 30px 0px 0px;
}


/* 제품 검색 팝업 */

.prd-search-popup {
    width: 500px;
    height: 500px;
    position: fixed;
    top: 51%;
    left: 50%;
    margin: -250px 0px 0px -250px;
    background: #fff;
    border: 1px solid #000;
    box-sizing: border-box;
    z-index: 51;
    opacity: 0;
    visibility: hidden;
}

.prd-search-popup.on {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

.prd-search-popup .popup-inner {
    padding: 30px;
}

.prd-search-popup a.popup-close {
    position: absolute;
    top: 32px;
    right: 30px;
    z-index: 10;
    display: block;
    width: 22px;
    height: 22px;
}

.prd-search-popup a.popup-close span.bar {
    display: block;
    width: 30px;
    height: 1px;
    position: absolute;
    top: 9px;
    right: -4px;
    background: #000;
}

.prd-search-popup a.popup-close span.one {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.prd-search-popup a.popup-close span.two {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.prd-search-popup .popup-header {
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
}

.prd-search-popup .popup-header h1 {
    font-size: 22px;
}

.prd-search-popup .search-form {
    margin-bottom: 30px;
}

.prd-search-popup .search-form input {
    width: 80%;
    height: 34px;
    line-height: 34px;
}

.prd-search-popup .search-form button {
    width: calc(20% - 10px);
    margin-left: 10px;
}

.prd-search-popup .result-list {
    border-top: 1px solid #e0e0e0;
    height: 244px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.prd-search-popup .result-list li {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0px;
    text-align: left;
}

.prd-search-popup .result-list li:last-child {
    border-bottom: 0px;
}

.prd-search-popup .result-list li a {
    display: block;
    text-indent: 10px;
}

.prd-search-popup .paging {
    margin: 0;
    padding: 30px 0px;
    border-top: 1px solid #e0e0e0;
}

.popup-bg {
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
}

.popup-bg.on {
    opacity: 1;
    visibility: visible;
}

.apply-status {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.apply-status__item {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
    border: 1px solid #000;    
}

.apply-status__item--on {
    background: #000;
    color: #fff;
    font-weight: bold;
}

.apply-status__item + .apply-status__item {
    margin-left: 50px;
    position: relative;
}

.apply-status__item + .apply-status__item:before {
    content: '';
    position: absolute;
    right: 100%;
    width: 50px;
    top: 50%;
    background-image: repeating-linear-gradient(90deg, #000 10px, #000 15px, #fff 15px, #fff 20px);
    height: 6px;
    margin-top: -3px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

.table > thead > tr th,
.table > thead > tr td {
    border-bottom: 1px solid #333;
    text-align: center;
}

.table .input-container {
    margin-top: 0;
    margin-bottom: 0;
}


@media (max-width: 1024px) {
    .apply-status__item {
        width: 70px;
        height: 70px;
        padding: 5px;
        
    }

    .apply-status__item + .apply-status__item {
        margin-left: 20px;
    }
    .apply-status__item + .apply-status__item:before {
        /* right: 20px; */
        width: 20px;
    }
    form.search-form,
    .top-btns {
        float: none !important;
    }
    form.search-form {
        margin-top: 10px;
    }
    .search-form-wrap input.state_input {
        width: calc(100% - 166px);
    }
    .stock-form .form-wrap {
        margin-right: 0;
        float: none !important;
    }
    .stock-form .form-wrap:last-child {
        margin: 40px 0px 0px;
        font-size: 0;
    }
    .stock-form .stock-btns button,
    .btn-wrap.text-center .btn-basic {
        display: inline-block;
        width: calc(50% - 5px);
        margin: 0px 5px 0px 0px;
    }
    .stock-form .stock-btns button.send-sms,
    .btn-wrap.text-center .btn-basic:last-child {
        margin: 0px 0px 0px 5px;
    }
    .stock-form .input-box input.state_input {
        width: calc(100% - 120px);
    }
    .stock-form .stock-input {
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .stock-form .stock-input.on {
        display: block;
    }
}

@media (max-width: 768px) {
    .prd-search-popup {
        width: calc(100% - 40px);
        height: 400px;
        margin: 0;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .prd-search-popup .popup-inner {
        padding: 20px;
    }
    .prd-search-popup a.popup-close {
        top: 22px;
        right: 22px;
    }
    .prd-search-popup .search-form button {
        min-width: auto;
        padding: 0;
    }
    .prd-search-popup .result-list {
        height: 174px;
    }
    .prd-search-popup .paging {
        padding: 20px 0px;
    }
}
@media (max-width: 540px) {
    .table-scroll-wrapper--scrolled {
        position: relative;
    }

}

.table-scroll-wrapper--scrolled {
    overflow: auto;
}
