@charset "utf-8";
@import url("/assets/css/font.css");
@import url("/assets/css/reset.css");
@import url("base.css");
@import url("admin.css");
@import url('Material-icons.css');

/* ==================================================

    * admin

================================================== */
* {
    letter-spacing: -0.05em;
}
.wrap.login{
    width: 100%;
    min-width: 1400px;
    height: 100%;
    min-height: 100dvh;
    background-repeat: no-repeat;
    background-position: center 0;
    background-image: url('../image/bg_login.png');
    background-size: cover;
    background-color: #262d4f;
}

.login-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
}
.login-tit-wrap{
    margin-bottom: 30px;
    text-align: center;
}
.login-tit strong{
    display: block;
    margin-top: 30px;
    font-size: 6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}
.login-conbox{
    max-width: 490px;
    margin: 0 auto;
    padding: 45px 40px 30px;
    background-color: #fff;
}
.login-conbox .form-item{
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border: 1px solid #dddddd;
    border-radius: 0;
    font-size: 1.6rem;
    font-weight: 500;
}
.login-conbox .form-item::placeholder{
    color: #999;
}
.login-conbox .form-item + .form-item{
    margin-top: 10px;
}
.login-conbox .btn-wrap{
    margin-top: 40px;
}
.login-conbox .btn-login{
    width: 100%;
    padding: 20px;
    background-color: #2d3c87;
    border-color: #2d3c87;
    border-radius: 4px;
    font-size: 2.4rem;
    font-weight: 500;
    color: #fff;
}
.wrap.admin{
    overflow-y: auto;
    width: 100%;
    min-width: 1400px;
    height: 100%;
}

/* header */
#header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    min-width: 1400px;
    background-color: #252c43;
}
.header-wrap{
    display: flex;
    align-items: center;
    position: relative;
    height: 80px;
}
.header-logo{
    display: block;
    width: 200px;
    height: 100%;
}
.header-logo > a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
}
.header-logo > a img{
    max-width: 100%;
}
.gnb{
    display: flex;
    height: 100%;
    border-left: 1px solid #323a55;
}
.gnb > li{
    position: relative;
    min-width: 200px;
}
.gnb > li > a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.2rem;
    color: #fff;
    line-height: 1;
    transition: 0.3s ease;
}
.gnb > li:hover > a,
.gnb > li.on > a{
    background-color: #363e59;
}
.gnb > li:hover ul{
    display: block;
}
.gnb > li ul{
    display: none;
    position: absolute;
    z-index: 10;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(54,62,89,0.8);
    transition: 0.3 ease;
}
.gnb > li ul > li > a{
    display: block;
    padding: 10px;
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.2;
    text-align: center;
}
.header-wrap .btn-logout{
    position: fixed;
    right: 2%;
    font-size: 9px;
    font-weight: 700;
    color: #8894be;
    text-align: center;
}
.btn-logout .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 auto 5px;
    border-radius: 50%;
    background-color: #b91f24;
}

/* container */
#container{
    width: 100%;
    min-width: 1400px;
    height: 100%;
    padding-top: 80px;
    background-color: #f3f5fb;
}
#container:after{
    display: block;
    content: '';
    clear: both;
}
#left-menu{
    overflow-y: auto;
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 10;
    float: left;
    width: 200px;
    height: calc(100vh - 80px);
    padding-bottom: 50px;
    background-color: #1c2236;
}
#left-menu .btn-list{
    display: block;
    padding: 25px 30px;
    font-size: 1.9rem;
    font-weight: 500;
    color: #fff;
	background:#356C95;
}
#left-menu .btn-list .icon{
    display: inline-block;
    margin-top: -5px;
    margin-right: 15px;
    vertical-align: middle;
}
.left-menu{
    border-top: 1px solid #2b334b;
}
.left-menu > li{
    border-bottom: 1px solid #2b334b;
}
.left-menu > li > a{
    display: block;
    padding: 25px 20px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    transition: 0.3s ease;;
}
.left-menu > li.on ul{
    display: block;
}
.left-menu > li.on > a{
    background-color: #eb3a49;
    color: #fff;
}
.left-menu > li .date{
    display: block;
    margin-top: 5px;
    font-size: 1.5rem;
}
.left-menu > li ul{
    display: none;
    width: calc((100% - 40px));
    margin: 20px auto;
    padding: 0 15px;
    background-color: #2d3651;
    border-radius: 4px;
}
.left-menu > li ul > li + li{
    border-top: 1px solid #4a526e;
}
.left-menu > li ul > li > a{
    display: block;
    padding: 15px 0;
    font-size: 1.5rem;
    color: #7680a0;
    text-align: center;
    transition: 0.3s ease;;
}
.left-menu > li ul > li.on > a,
.left-menu > li ul > li:hover > a{
    color: #fff;
}

/* contents */
.sub-contents{
    float: left;
    width: calc(100% - 200px);
    height: 100%;
    margin-left: 200px;
    padding: 30px 2%;
}
.sub-conbox{
    min-height: calc(100vh - 140px);
    padding: 20px 1%;
    background-color: #fff;
    border-radius: 6px;
}

/* List */
.sch-form-wrap .btn-wrap{
    margin-top: 25px;
}
.list-wrap{
    margin-top: 10px;
}
.list-wrap > .btn-wrap{
    margin-top: 0;
    margin-bottom: 10px;
}

.btn.btn-manage{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 28px;
    margin: 1px;
    background-color: #fff;
    border: 1px solid #7d8893;
    border-radius: 2px;
    box-shadow: 0 4px 7px rgba(131, 132, 131, 0.2);
}
.btn-manage.btn-del{
    background-color: #7d8893;
}

/* 레이아웃 */
.info-box{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 25px 40px;
    margin-bottom: 30px;
    border: 1px solid #fe5a87;
    border-radius: 4px;
    font-size: 1.7rem;
    line-height: 1.7;
    box-shadow: 0 5px 0px rgba(254,11,137,0.1);
}

.con-wrap{
    display: flex;
    border: 1px solid #e0e2e8;
    border-radius: 5px;
}
.con-wrap .conbox{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 40px;
}
.con-wrap .conbox + .conbox{
    border-left: 1px solid #e0e2e8;
}
.con-tit-wrap{
    margin-bottom: 30px;
}
.con-tit{
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    vertical-align: middle;
}
.conbox .filebox{
    display: flex;
    width: 100%;
    gap: 10px 15px;
}
.conbox .filebox + .filebox{
    margin-top: 25px;
}
.conbox .filebox .tit{
    flex: 0 0 auto;
    width: 100%;
    font-size: 1.6rem;
}
.conbox .filebox .attach-file{
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    padding: 0;
    margin-top: -35px;
    background: none;
}
.conbox .filebox .attach-file .btn-wrap{
    flex: 0 0 auto;
    margin: 0;
}
.conbox .filebox .attach-file .btn{
    min-width: initial;
    padding: 7px 13px;
    margin: 1px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
}
.conbox .upload-name{
    width: calc(100% - 138px);
    border-radius: 3px;
    background-color: #fff;
    height: 45px;
}
.conbox .filebox label{
    width: 138px;
    padding: 11px 0;
    margin-left: -15px;
    font-size: 1.6rem;
    background-color: #5f6475;
    border-radius: 3px;
}
.conbox .form-group.editor{
    width: calc(100% + 80px);
    margin: 50px -40px -40px;
    padding: 40px;
    background-color: #f9fafd;
    border-top: 1px solid #e0e2e8;
}
.form-group.editor .tit{
    display: block;
    margin-bottom: 20px;
    font-size: 1.9rem;
    font-weight: 500;
}
.form-group.editor textarea.form-item{
    min-height: 150px;
    background-color: #fff;
}

.con-wrap.add-form + .con-wrap.add-form{
    margin-top: 50px;
}
.con-wrap.add-form{
    min-height: 690px;
}
.con-wrap.add-form .conbox.write-conbox{
    display: flex;
    flex-direction: column;
    background-color: #f9fafd;
}
.con-wrap.add-form .conbox.write-conbox form,
.con-wrap.add-form .conbox.write-conbox fieldset{
    height: 100%;
}
.con-wrap.add-form .conbox.write-conbox:has(form) fieldset{
    display: flex;
    flex-direction: column;
}
.con-wrap.add-form .no-data{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.no-data .tit{
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1c2236;
}
.con-wrap.add-form .bg-box{
    padding: 40px 20px;
    background-color: #fff;
    border: 1px solid #d9dceb;
    border-radius: 3px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    color: #1c2236;
    text-align: center;
}
.con-wrap.add-form .bg-box img{
    margin-top: -7px;
    margin-right: 5px;
    vertical-align: middle;
}
.con-wrap.add-form .btn-wrap{
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.con-wrap.add-form .btn-wrap .btn-type1{
    min-width: auto;
    width: 50%;
    margin: 0;
}
.con-wrap.add-form .btn-wrap:not(:has(.btn-type1:nth-child(2))) .btn-type1{
    width: 100%;
}
.con-wrap.add-form .write-wrap.type2{
    margin-bottom: 40px;
}
.con-wrap.add-form .write-wrap.type2 li{
    padding-left: 0;
    padding-right: 0;
}
.write-wrap .form-group-list > li{
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 !important;
}
.write-wrap .form-group-list > li + li{
    margin-top: 10px;
}
.form-group-list > li{
    border: 0 !important;
}
.form-group-list .list-head > div{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    padding: 0 10px;
    background-color: #1c2236;
    border-radius: 3px;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.2;
}
.form-tit .ic-drag{
    display: inline-block;
    margin: -5px 5px 0;
    vertical-align: middle;
}
.img-wrap{
    text-align: center;
}
.img-wrap img{
    max-width: 100%;
}
.bd-box{
    border: 1px solid #d9dceb;
    border-radius: 3px;
}
.img-wrap:has(.tit){
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}
.img-wrap .tit{
    font-size: 1.9rem;
    font-weight: 500;
}
.conbox .filebox + .img-wrap{
    margin-top: 20px;
}
.conbox .write-form-wrap{
    height: 100%;
}
.conbox .write-form-wrap form{
    height: 100%;
}
.conbox .write-form-wrap form fieldset{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* QR */
.con-wrap.qr{
    gap: 20px;
    border: 0;
}
.con-wrap.qr .conbox{
    flex: initial;
    width: 100%;
    border: 1px solid #e0e2e8;
    border-radius: 5px;
}
.con-wrap.qr .conbox:nth-child(1){
    flex: 0 0 auto;
    width: 345px;
}
.qr-img-wrap{
    overflow: hidden;
    border: 1px solid #000000;
}
.qr-img-wrap img{
    max-width: 100%;
}
.url-con > a{
    display: block;
    padding: 13px 20px;
    background-color: #f8f8f8;
    border: 1px solid #d9dceb;
    border-radius: 3px;
    font-size: 1.5rem;
    line-height: 1.2;
    word-break: break-all;
}
.url-con > a + a{
    margin-top: 10px;
}

/* disabled */
.write-wrap li.disabled{
    position: relative;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.write-wrap li.disabled:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}
.write-wrap li.disabled:after{
    display: flex;
    align-items: center;
    justify-content: center;
    content: '변경이 불가능합니다.';
    clear: both;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

/* list::paging */
.paging-wrap{
    margin-top: 40px;
    text-align: center;
}
.paging{
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.paging > li{
    overflow: hidden;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 1px;
    border-radius: 50%;
    vertical-align: top;
    transition: 0.3s ease;
}
.paging > .num:hover,
.paging > .num.on,
.paging > .num:hover > a,
.paging > .num.on > a{
    background-color: #f3f3f3;
    font-weight: 500;
    color: #000000;
}
.paging > li > a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3px 0;
    font-size: 14px;
    color: #b3b3b3;
    transition: 0.3s ease;
}
.paging > li:not(.num){
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s ease;
}
.paging > li:not(.num):hover{
    background-color: none;
}
.paging .first{
    background-image: url('../image/icon/ic_first.png');
}
.paging .first:hover{    
    background-image: url('../image/icon/ic_first_on.png');
}
.paging .prev{
    margin-right: 15px;
    background-image: url('../image/icon/ic_prev.png');
}
.paging .prev:hover{
    background-image: url('../image/icon/ic_prev_on.png');
}
.paging .next{
    margin-left: 15px;
    background-image: url('../image/icon/ic_next.png');
}
.paging .next:hover{    
    background-image: url('../image/icon/ic_next_on.png');
}
.paging .last{    
    background-image: url('../image/icon/ic_last.png');
}
.paging .last:hover{
    background-image: url('../image/icon/ic_last_on.png');
}