footer {margin-top:0 !important;}
.table {font-size:15px;}
.table th {vertical-align:middle; text-align:center; padding-top:0.25rem !important; padding-bottom:0.25rem !important;}
.table th:before,
.table th:after {bottom:0.3rem !important;}
.table td {vertical-align:middle; padding-top:0.25rem !important; padding-bottom:0.25rem !important;}
.sub-visual {background-image:url(/images/content/layout/sub_visual_08.jpg);}

/* 레이아웃 수정 */
#svb {}
#svb .sub-visual {height:90px;}
#page_title {display:none;}
#sub-location {display:none;}
#farm-main {background:#505961; padding-top:30px;}
footer {position:relative;}
footer .head {display:none;}
footer .body {padding:20px 0 60px 0;}
.sub-layout .container-section {padding-bottom:0; z-index:1900; position:relative;}
.sub-visual .rect {display:none;}
.search-txt {text-align:center; margin-bottom:20px; color:#4f73df; font-family: Gmarket Sans Bold, sans-serif;}

/**/
.overflow-farm {}
.overflow-farm .dataTables_wrapper .row:nth-child(2) {overflow: auto !important; -webkit-overflow-scrolling: auto;}
.overflow-farm .dataTables_wrapper .row:nth-child(2)::-webkit-scrollbar{
    width: 6px; height: 6px; background: #ddd; border-radius: 20px;
    overflow: hidden; -webkit-overflow-scrolling: auto !important;
}
.overflow-farm .dataTables_wrapper .row:nth-child(2)::-webkit-scrollbar-thumb {background: #1c2d50; border-radius: 20px;}
.overflow-farm .row {margin-left:0; margin-right:0;}

/* 생산자 판매내역 */
#table-sale-list {min-width:800px;}
#table-sale-list th:nth-child(1) {width:80px;}
#table-sale-list th:nth-child(2) {width:auto;}
#table-sale-list th:nth-child(3) {width:150px;}
#table-sale-list th:nth-child(4) {width:150px;}
#table-sale-list th:nth-child(5) {width:150px;}

/* 생산자 판매내역 상세 */
#table-sale-detail {min-width:800px;}
#table-sale-detail th:nth-child(1) {width:60px;}
#table-sale-detail th:nth-child(2) {width:45px;}
#table-sale-detail th:nth-child(3) {}
#table-sale-detail th:nth-child(4) {width:30px;}
#table-sale-detail th:nth-child(5) {width:30px;}
#table-sale-detail th:nth-child(6) {width:35px;}
#table-sale-detail th:nth-child(7) {width:50px;}
#table-sale-detail th:nth-child(8) {width:45px;}
#table-sale-detail th:nth-child(9) {width:60px;}

/* 생산자 정산내역 */
#table-pay-list {min-width:800px;}
#table-pay-list th:nth-child(1) {width:85px;}
#table-pay-list th:nth-child(2) {width:auto;}
#table-pay-list th:nth-child(3) {width:80px;}
#table-pay-list th:nth-child(4) {width:105px;}
#table-pay-list th:nth-child(5) {width:105px;}
#table-pay-list th:nth-child(6) {width:80px;}
#table-pay-list th:nth-child(7) {width:80px;}
#table-pay-list th:nth-child(8) {width:80px;}
#table-pay-list th:nth-child(9) {width:100px;}

/* 생산자 정산내역 상세 */
#table-pay-detail {min-width:800px;}
#table-pay-detail th:nth-child(1) {width:60px;}
#table-pay-detail th:nth-child(2) {width:30px;}
#table-pay-detail th:nth-child(3) {}
#table-pay-detail th:nth-child(4) {width:60px;}
#table-pay-detail th:nth-child(5) {width:60px;}
#table-pay-detail th:nth-child(6) {width:60px;}
#table-pay-detail th:nth-child(7) {width:60px;}
#table-pay-detail th:nth-child(8) {width:100px;}
#table-pay-detail th:nth-child(9) {width:100px;}

/* 재고조회 */
#table-inventory-list {min-width:800px;}
#table-inventory-list .ellipsis {max-width:120px;}
#table-inventory-list thead tr:nth-child(1) th:nth-child(1) {width:20px !important;}
#table-inventory-list thead tr:nth-child(1) th:nth-child(2) {width:100px !important;}
#table-inventory-list thead tr:nth-child(1) th:nth-child(3) {}
#table-inventory-list thead tr:nth-child(1) th:nth-child(4) {}
#table-inventory-list thead tr:nth-child(1) th:nth-child(5) {}
#table-inventory-list thead tr:nth-child(1) th:nth-child(6) {}
#table-inventory-list thead tr:nth-child(1) th:nth-child(7) {width:27px !important;}
#table-inventory-list thead tr:nth-child(1) th:nth-child(8) {width:27px !important;}
#table-inventory-list thead tr:nth-child(1) th:nth-child(9) {width:27px !important;}

/* 재고조회 상세 */
#table-inventory-detail {min-width:1000px;}
#table-inventory-detail thead th:nth-child(1) {}
#table-inventory-detail thead th:nth-child(2) {width:30px;}
#table-inventory-detail thead th:nth-child(3) {width:30px;}
#table-inventory-detail thead th:nth-child(4) {width:27px;}
#table-inventory-detail thead th:nth-child(5) {width:50px;}
#table-inventory-detail thead th:nth-child(6) {width:70px !important;}
#table-inventory-detail thead th:nth-child(7) {width:30px;}
#table-inventory-detail thead th:nth-child(8) {width:30px;}
#table-inventory-detail thead th:nth-child(9) {width:30px;}
#table-inventory-detail thead th:nth-child(10) {width:27px;}
#table-inventory-detail thead th:nth-child(11) {width:27px;}

@media (max-width:1024px){
    #table-inventory-detail .item-name {width:130px;}
}

/* 로그인 */
#farm-login {
    background:linear-gradient(to top, #f2f2f0 40%, #fff 40%);
    padding-bottom:100px; padding-top:30px;
}
#farm-login .card.shadow {
    max-width:500px; width:100%; margin:0 auto; padding:40px; border-radius:60px; height:520px;
    background:url(/images/content/farm/farm_login.png) no-repeat center top 20px #fff;
    position:relative;
}
#farm-login .btn-login {background:#1082ed; color:#fff;}
#farm-login form {
    width:100%; position:absolute; margin:auto; top:auto; right:0; bottom:0; left:0; padding:40px;
}
#farm-login form input {
    width:100%; padding:10px; border:1px solid #cececf;
}
#farm-login form input[type=text] {
    border-radius:10px 10px 0 0;
    background:url(/images/content/farm/icon_farm_no.png) no-repeat left 18px center #fef9e8;
}
#farm-login form input[type=password] {
    border-top:0; border-radius:0 0 10px 10px;
    background:url(/images/content/farm/icon_farm_pw.png) no-repeat left 18px center #fef9e8;
}
#farm-login form input[type=text],
#farm-login form input[type=password] {padding-left:50px;}
#farm-login form input[type=submit] {margin-top:24px; font-family: "Gmarket Sans", sans-serif;}

@media (max-width:400px){
    #farm-login .card.shadow {
        background-size:260px auto;
        height:500px;
    }
    #farm-login form {
        padding-left:25px;
        padding-right:25px;
    }
}

/**/
#farm-main {}
#farm-main .wrap {max-width:1200px;}
#farm-main .farm-main-body {
    position:relative; top:-17px; padding:25px; background:#fff;
    border:4px solid #f7c71a; border-top:0; border-radius:0 0 15px 15px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 20%); min-height:400px;
}
.farm-bg {background:url(/images/content/farm/farm_bg.png); overflow:hidden;}

/**/
#farm-menu .farm-name {
    background:url(/images/content/farm/farm_title_left.png) no-repeat center left,
        url(/images/content/farm/farm_title_right.png) no-repeat center right,
        url(/images/content/farm/farm_title_center.png) repeat-x top center;
    background-size:auto 80px; height:80px; line-height:85px;
    text-align:center; width:auto; min-width:50%; margin:auto; display:inline-block;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); font-family: Gmarket Sans Bold, sans-serif; font-size:32px;
}
#farm-menu .farm-name > div {position:relative;}
#farm-menu .head {margin-bottom:15px; text-align:center;}
#farm-menu .body {}
#farm-menu .body a {
    display:block; width:25%; float:left; text-align:center; background:#efefef; color:#8f8f8f;
    font-family: Gmarket Sans, sans-serif; padding:8px 10px 2px 10px; border-radius:15px 15px 0 0;
    border:4px solid #ccc; border-bottom:4px solid #f7c71a; transition:border 300ms, color 300ms;
    transform:translateY(18px); font-size:16px; line-height:18px;
}
#farm-menu .body a:hover {border:4px solid #f7c71a; color:#000;}
/*#farm-menu .body a:last-child {width:33.4%;}*/
#farm-menu .body a.active {
    padding:12px 10px 10px 10px; transform:none; font-weight:bold; font-size:18px; line-height:22px;
    border:4px solid #f7c71a; background:#4d85e4; color:#fff; border-bottom:2px solid transparent;
}

/* 판매내역 */
#farm-sale {}
#farm-sale .data-detail-table {display:none;}
#farm-sale .datepicker {width:100px;}
#resultData {}
#resultData .table-hover tbody tr {cursor:pointer;}
#summary {min-height:300px;}
#summary-sale-detail {}
#summary-sale-detail .head {font-size:15px;}
#summary-sale-detail .body {margin:30px 0;}
#summary-sale-detail .foot {}

/* 정산내역 */
#farm-pay {}
#farm-pay .head {}
#farm-pay .body {margin-top:60px;}
#farm-pay .body .pay-farm .table {margin:0;}
#farm-pay .body .pay-data {display:none; margin:50px 0;}
#table-pay-detail {min-width:1200px;}

/* 한줄 공지사항 */
#farm-notice {
    position:fixed; bottom:0; left:0; width:100%; min-width:3000px; word-break: keep-all; color:#fff; padding:5px 15px;
    z-index:900; font-size:26px; text-align:left;
}
#farm-notice p {animation:farmNotice infinite 30s linear;}
@keyframes farmNotice {
    0% {right:0; transform:translateX(100%);}
    100% {left:0; transform:translateX(-100%);}
}

/**/
#farm-inventory {}
#farm-inventory .body {height:100%; min-height:300px;}
#farm-inventory .table {font-size:14px;}
#farm-inventory .table th {}
#farm-inventory .table td {cursor:pointer; padding-top:0.5rem !important; padding-bottom:0.5rem !important;}
#farm-inventory .dataTables_wrapper {overflow:auto;}
#farm-inventory .dataTables_wrapper > .row {margin-left:0; margin-right:0;}
#farm-inventory .dataTables_wrapper > .row > .col-sm-12 {padding:0;}

/* 미판매재고 */
#table-unsold-list {min-width:1500px;}
#table-unsold-list tbody {}
#table-unsold-list .row .col-sm-12 {padding-left:0; padding-right:0;}
#table-unsold-list .row:nth-child(3) {outline:1px solid red; padding-right:60px;}
#table-unsold-list th:nth-child(1) {}
#table-unsold-list th:nth-child(2) {}
#table-unsold-list th:nth-child(3) {width:110px;}
#table-unsold-list th:nth-child(4) {width:150px;}
#table-unsold-list th:nth-child(5) {}
#table-unsold-list th:nth-child(6) {width:130px;}
#table-unsold-list th:nth-child(7) {width:80px;}
#table-unsold-list th:nth-child(8) {width:80px;}
#table-unsold-list th:nth-child(9) {width:180px;}
#table-unsold-list th:nth-child(10) {width:80px;}
#table-unsold-list th:nth-child(11) {width:200px;}
#table-unsold-list th:nth-child(12) {width:80px;}
#table-unsold-list th:nth-child(13) {width:80px;}
#table-unsold-list th:nth-child(14) {width:80px;}

#table-unsold-search {}
#table-unsold-search .datepicker {width:100px;}
#table-unsold-search tbody th:nth-child(1) {width:120px;}
#table-unsold-search tbody td:nth-child(2) {}
#table-unsold-search tbody th:nth-child(3) {width:120px;}
#table-unsold-search tbody td:nth-child(4) {}
#table-unsold-search tbody td:nth-child(5) {width:100px;}

