/* ===============================================================
    * login
=============================================================== */
.admin-login {position: fixed; z-index: 999; left: 0; right: 0; top: 0; bottom: 0;}
.login-window {position: absolute; width: 500px; height: 350px; background: #fff; border-radius: 12px; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 30px;}
.login-id, .login-pw, .login-check {margin-top: 20px;}
.login-window label {color: #222;}
.login-id label, .login-pw label {display: block; margin-bottom: 10px;}
.login-id input, .login-pw input {width: 100%; height: 40px; line-height: 40px; padding: 0 10px; border: 1px solid #ccc; border-radius: 8px;}
.login-btn {width: 100%; height: 50px; line-height: 50px; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 700; margin-top: 30px;}
@media (max-width: 820px){
    .login-window {width: 85%;}
}

/* ===============================================================
    * header / common content
=============================================================== */
header {z-index: 999; position: fixed; left: 0; width: 200px; top: 0; height: 100vh; padding: 50px 0 0 10px; background: #61848c; color: #fff;}
header h1 img {width: 160px;}
header ul {margin-top: 50px;}
header li {margin: 20px 0; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.6);}
header .logout {position: absolute; left: 20px; bottom: 50px;}
.admin-content {position: fixed; left: 200px; top: 0; width: calc(100% - 200px); height: 100vh;}
.content-wrap {position: absolute; left: 0; top: 14px; right: 14px; bottom: 14px; background: #fff;}
.content-inner {width: 100%; height: 100%; padding: 0 15px; overflow-y: scroll;}
.content-head {height: 80px; border-bottom: 1px solid #e0e0e0; display: flex; align-items: center; margin-bottom: 30px;}
.content-head h2 {font-size: 18px; margin-right: 40px;}
.content-head a {display: inline-block; padding: 10px 20px; font-size: 18px; text-align: center; border-radius: 4px;}
@media (max-width: 820px){
    header {left: 100%; width: 130px; transition: .3s;}
    header h1 img {width: 100px;}
    header li {font-size: 14px; padding: 0 10px 10px;}
    header .logout {font-size: 14px;}
    .header-icon {cursor: pointer; position: absolute; right: 100%; top: 0; width: 40px; height: 40px; background: #61848c; z-index: 999;}
    .header-icon__wrap {position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 30px; height: 16px;}
    .header-icon span {position: absolute; width: 20px; height: 2px; background: #fff; transition: .3s;}
    .header-icon .line-a {left: 50%; top: 0; transform: translateX(-50%);}
    .header-icon .line-b {left: 50%; top: 50%; transform: translate(-50%,-50%);}
    .header-icon .line-c {left: 50%; bottom: 0; transform: translateX(-50%);}

    header.header-active {right: 0; left: initial;}
    header.header-active .header-icon .line-a {top: 50%;-webkit-transform: translateX(-50%) rotate(45deg);transform: translateX(-50%) rotate(45deg);}
    header.header-active .header-icon .line-b {display: none;}
    header.header-active .header-icon .line-c {bottom: initial;top: 50%;-webkit-transform: translateX(-50%) rotate(-45deg);transform: translateX(-50%) rotate(-45deg);}

    .admin-content {position: static; width: 100%; height: auto;}
    .content-wrap {position: static; width: 100%;}
    .content-inner {overflow-y: auto;}
    .content-head {height: 60px; margin-bottom: 15px;}
    .content-head h2 {margin-right: 20px;}
    .content-head a {padding: 5px 10px; font-size: 14px;}
}


/* ===============================================================
    * goods > list
=============================================================== */
.goods-list {display: flex; justify-content: flex-start; flex-wrap: wrap;}
.goods-item {position: relative; width: 180px; border: 1px solid #e0e0e0; margin: 0 13px 10px;}
.goods-item__no {height: 30px; line-height: 30px; text-align: center; border-bottom: 1px solid #e0e0e0;}
.goods-item__img {width: 100%; height: 100px; text-align: center; display: flex; align-items: center; overflow: hidden;}
.goods-item__img img {height: 100%; object-fit: cover; margin: 0 auto;}
.goods-item__tit {height: 30px; line-height: 30px; padding: 0 5px; width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
.goods-item__usage {height: 30px; line-height: 30px; padding: 0 5px;}
.goods-item a {display: block; width: 100%; font-size: 14px; text-align: center; padding: 5px; margin-top: 10px;}
@media (max-width: 820px){
    .goods-item {width: calc(50% - 10px); margin: 0 5px 10px;}
    .goods-item__no {height: 25px; line-height: 25px; font-size: 14px;}
    .goods-item__img {height: 80px;}
    .goods-item__tit {height: 25px; line-height: 25px; font-size: 14px;}
    .goods-item__usage {height: 25px; line-height: 25px; font-size: 14px;}
}

/* ===============================================================
    * goods > custom
=============================================================== */
.custom-item {margin-bottom: 20px; display: flex; justify-content: flex-start; align-items: center;}
.form-tit {display: inline-block; width: 80px; vertical-align: middle; font-size: 14px;}
.custom-list input[type="text"] {width: 250px; height: 30px; line-height: 30px; border: 1px solid #e0e0e0; padding: 0 5px; font-size: 14px; color: #222; }
.thumb-box {position: relative; display: flex; align-items: center; width: 200px; height: 200px; border: 1px solid #e0e0e0; cursor: pointer; overflow: hidden; text-align: center;}
.thumb-box img {object-fit: cover; display: none; margin: 0 auto;}
.thumb-box img.width {width: 100%;}
.thumb-box img.height {height: 100%;}
.thumb-box p {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff;}
.thumb-box span {display: block; text-align: center;}
.thumb-box i {font-size: 25px; color: #aaa;}
.thumb-box .bg1 {width: 100px; height: 20px; line-height: 18px; font-size: 12px; opacity: .6; margin: 0 auto;}
.thumb-input {opacity: 0; visibility: hidden; position: absolute;}
.chk-basic {opacity: 0; visibility: hidden; position: absolute; left: 0; top: 0;}
.chk-basic__label {position: relative; display: inline-block; vertical-align: middle; cursor: pointer; padding-left: 20px; margin: 4px;}
.chk-basic + .chk-basic__label:before {content: ''; position: absolute; left: 0; top: 0; background: #fff; border: 1px solid #ddd; display: inline-block; vertical-align: middle; width: 12px; height: 12px;}
.chk-basic + .chk-basic__label:after {content: "\f00c";position: absolute;left: 2px; top: 2px;font-family: 'Font Awesome 5 Pro';color: #fff;opacity: 0; font-size: 10px;}
.chk-basic:checked + .chk-basic__label:after {opacity: 1;}
.chk-basic:checked + .chk-basic__label:before {background: #61848c;border-color: #61848c;}
.back-btn { font-size: 14px; margin: 20px auto; display: block; width: 60px; height: 30px; line-height: 30px; text-align: center; }
.save-btn {margin: 20px auto; display: block; width: 60px; height: 30px; line-height: 30px; text-align: center; }



/* ===============================================================
    * councel > list
=============================================================== */
.councel-table {width: 100%; text-align: center;}
.councel-table tr {border: 1px solid #e0e0e0; border-left: none; border-right: none;}
.councel-table thead {height: 40px; line-height: 40px;}
.councel-table th {border: 1px solid #e0e0e0; border-top: none; border-bottom: none; background: #61848c; color: #fff; font-size: 14px;}
.councel-table td {height: 30px; line-height: 30px; font-size: 14px; border: 1px solid #e0e0e0; border-top: none; border-bottom: none;}
.councel-table td p {width: 100%; padding: 0 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;}
@media (max-width: 820px){
    .councel-table th {font-size: 10px;}
}



/* ===============================================================
    * councel > info
=============================================================== */
.councel-item {margin-bottom: 20px; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap;}
.ip-basic {width: 200px; height: 30px; line-height: 30px; padding: 0 5px; font-size: 14px; color: #222; font-family: 'S-CoreDream-4Regular';}
.ip-sm {width: 80px; height: 30px; line-height: 30px; padding: 0 5px; font-size: 14px; color: #222; font-family: 'S-CoreDream-4Regular';}
.sel-sm {width: 80px; height: 30px; line-height: 30px; padding: 0 10px; background: url(/img/common/arrow.png) no-repeat right 10px top 50% / 10px 7px;}
.ip-short {width: 120px; height: 30px; line-height: 30px; padding: 0 5px; font-size: 14px; color: #222;}
.sel-short {width: 120px; height: 30px; line-height: 30px; padding: 0 10px; background: url(/img/common/arrow.png) no-repeat right 10px top 50% / 10px 7px;}
.at {display: inline-block; font-size: 14px;}
.councel-tel .ip-sm {display: inline-block; border: 1px solid #e0e0e0; width: 60px; height: 30px; line-height: 30px; padding: 0 10px;}
.councel-tel a {display: inline-block; color: #61848c; margin-left: 10px; }
.councel-list .txtarea {width: 350px; height: 200px; padding: 5px; font-family: 'S-CoreDream-4Regular'; font-size: 14px; color: #222; vertical-align: middle; border: 1px solid #e0e0e0;}
@media (max-width: 820px){
    .form-tit {font-size: 12px;}
    .councel-item {margin-bottom: 10px;}
    .ip-basic {width: 250px;}
    .ip-sm {width: 60px;}
    .sel-sm {width: 60px;}
    .ip-short {width: 100px;}
    .sel-short {width: 100px; display: block; margin-top: 5px;}
    .chk-basic__label {font-size: 14px;}
    .councel-list .txtarea {width: 250px;}
}








