@import url('reset.css');
@import url('font.css');
@import url('button.css');
@import url('class.css');

.tab-list {
    width: 960px;
    margin: 0 auto;
    height: 60px;
    display: flex;
}

.tab-list li {
    border: 1px solid #C9CBCE;
    line-height: 60px;
    flex-grow: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    border-right: none;
    cursor: pointer;
    background-color: #F5F6F8;
}

.tab-list li:last-child {
    border-right: 1px solid #C9CBCE;
}

.tab-list li.active {
    background-color: transparent;
    color: #000;
    border-bottom: none;
}

.sub-tab {
    line-height: 150%;
    margin: 24px auto;
    width: 960px;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid #D7DEE8;
    overflow-x: auto;
}

.sub-tab li {
    padding: 1px 10px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 400;
    color: #111;
}

.sub-tab li.active {
    border-bottom: 2px solid #000;
    padding-bottom: 9px;
}

.sub-contents {
    margin-top: 25px;
}

.button-tab {
    height: 48px;
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    overflow-x: auto;
    width: 960px;
    margin: 0 auto;
}

.button-tab .li-button {
    height: 48px;
    margin-left: 8px;
    padding: 0 24px;
    font-weight: 400;
    font-size: 15px;
    line-height: 48px;
    border-radius: 100px;
    background-color: #F5F6F8;
    display: flex;
    cursor: pointer;
    align-content: center;
    justify-content: center;
}

.button-tab .li-button.active {
    background-color: #000!important;
    color: #FFF!important;
}

.enrollDetail {
    width: 960px;
    margin: 0 auto;
}

section .contents div img {
    width: 100%;
}

section .contents .bgArea {
    width: 100%;
}

aside {
    position: fixed;
    top: 200px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

aside a {
    flex-direction: column;
    display: flex;
    width: 85px;
    margin-top: -1px;
    padding: 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.05em;
    color: #4F5B62;
    box-sizing: border-box;
    border: 1px solid #E8E9ED;
    background-color: #fff;
    text-align: center;
}

#topBtn {
    margin-top: 15px;
    font-size: 21px;
    font-weight: bolder;
    display: none;
    border: none;
    background-color: transparent;
}

/* 응시원서 접수 */
.description {
    width: 1080px;
    background-color: #F5F6F8;
    margin-bottom: 40px;
}

.description dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 40px;
}

.description dt {
    flex-basis: 125px;
    margin-bottom : 24px;
}

.description dd {
    margin-bottom : 24px;
    flex-basis: calc(100% - 125px);
    font-weight: normal;
}

.description li {
    margin-top: 16px;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
}

.button-area {
    width: 960px;
    margin: 15px auto 140px auto;
}

.button-status {
    min-width: 198px;
    height: 56px;
    padding: 0 20px;
    color: #111;
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    border: 1px solid #111;
    border-radius: 4px;
    background: #fff;
    outline: 0;
    cursor: pointer;
}

.entrance-tab {
    width: 960px;
    margin: 0 auto;
}

.contents h3 {
    margin-top: 140px;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 300;
}

.type-box {
    /*margin-bottom: 40px;*/
}

.info-box {
    color: #111;
}

.info-box h4 {
    padding-left: 40px;
    height: 52px;
    font-weight: 500;
    font-size: 18px;
    color: #FFF;
    line-height: 52px;
    background-color: #919DA4;
    position: relative;
}

.info-box h4 .info-desc {
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.info-box .info-area {
    display: flex;
    align-items: center;
    border-top: 1px solid #D7DEE8;
    justify-content: space-between;
}

.info-box dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    line-height: 24px;
}

.info-box dt {
    flex-basis: 150px;
    font-weight: 400;
    background-color: #F5F6F8;
    border-right: 1px solid var(#D7DEE8);
    border-bottom: 1px solid #D7DEE8;
    padding: 24px 0;
    text-align: center;
}

.info-box dd {
    flex-basis: calc(100% - 150px);
    font-weight: normal;
    border-bottom: 1px solid #D7DEE8;
    padding: 24px 40px;
}

.table-custom table {
    margin: 30px auto;
    width: 1080px;
    font-size: 16px;
}

.table-custom table tr {
    padding: 15px 0;
    font-weight: 300;
    border-bottom: 1px solid #F5F6F8;
}

.table-custom table td {
    font-weight: normal;
    background-color: #FFF;
}

.table-custom table tr {
    cursor: pointer;
}

.table-custom table th, .table-custom table td {
    padding: 20px 0!important;
}


.back-margin {
    height: 40px;
}

#statusModal .modal-content {
    padding: 48px 32px !important;
    border-radius: 0 !important;
}

#statusModalLabel {
    font-size: 24px;
    font-weight: 600;
}

#statusModal label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    padding: 12px 16px 12px 0!important;
    margin: 32px 0 16px 0 !important;
}

#statusModal .form-control {
    border: none;
    background-color: #F5F5F5;
    padding: 12px 16px!important;
    border-radius: 0 !important;
    height: 58px;
}

#statusModal select.form-control {
    width: 136px;
}

#statusModal .modal-footer {
    margin-bottom: 0!important;
    padding-top: 24px!important;
    padding-bottom: 0!important;
}

#statusModal .phone-box {
    position: relative;
    margin-right: 16px!important;
}

#statusModal .btn {
    width: 135px !important;
    padding: 14px 24px !important;
    border-radius: 4px!important;
}

#statusModal button.btn-outline-light {
    color: #000;
    border-color: #919DA4 !important;
}

#statusModal button.btn-outline-dark {
    border-color: #D7DEE8!important;
}

#statusModal .input-form {
    margin: 32px 0 !important;
}


/* 테블릿 가로 (해상도 768px ~ 1023px)*/
@media all and (max-width: 1023px) {
    body, html {
        width: 100%;
    }

    header {
        margin-left: 0;
        padding: 0;
        max-height: 60px;
        line-height: 60px;
        margin-bottom: 30px;
        font-size: 13px;
        font-weight: 700;
    }

    nav {
        display: flex;
    }

    section {
        width: 100%;
    }

    section h2 {
        width: 100%;
        height: 40px;
        line-height: 40px;
        font-size: 26px;
        font-weight: 300;
    }

    .tab-list {
        width: calc(100% - 40px);
        margin: 0 20px;
        height: 60px;
    }

    .tab-list li {
        line-height: 60px;
        font-size: 14px;
        font-weight: 300;
    }

    .sub-tab {
        margin-top: 10px;
        width: calc(100% - 40px);
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        -ms-overflow-style: none;  /* IE, Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .sub-tab li {
        padding: 16px;
        margin-left: 0;
        font-size: 16px;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* 스크롤바 숨기기 */
    .sub-tab::-webkit-scrollbar {
        display: none;  /* Chrome, Safari, Edge */
    }

    .button-tab {
        height: 48px;
    }

    .button-tab .li-button {
        height: 48px;
        margin-left: 4px;
        padding: 0 20px;
        font-size: 14px;
        font-weight: 300;
        line-height: 48px;
    }

    .sub-contents {
        margin-top: 15px;
    }

    .sub-contents .contents {
        margin: 0 auto;
        width: 100%;
    }

    .scroll-area {
        margin: 0 auto;
        width: calc(100% - 40px);
        overflow-y: hidden;
        overflow-x: scroll;
    }

    /* Chrome, Edge, Safari */
    .scroll-area::-webkit-scrollbar {
        height: 0;
    }
    .scroll-area::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 0;
    }
    .scroll-area::-webkit-scrollbar-track {
        background: #f0f0f0;
    }

    .enrollDetail {
        margin: 0 auto;
        width: 100%;
    }

    aside {
        top: auto;
        flex-direction: row;
        display: flex;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 52px;
    }

    aside a {
        font-size: 14px;
        color: #111;
        font-weight: 400;
        height: 52px;
        width: 33.3333%;
        text-align: center;
        flex-direction: column;
        display: flex;
        justify-content: space-evenly;
    }

    /* 모집 관리 부터 */
    .description {
        width: 100%;
        padding: 40px 20px;
        margin: 0 0 60px 0;
        background-color: #F5F6F8;
    }

    .description dl {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        line-height: 24px;
    }

    .description dt {
        flex-basis: 100%;
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .description dd {
        flex-basis: 100%;
        font-size: 16px;
        font-weight: normal;
    }

    .description li {
        font-size: 14px;
    }

    .contents h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .button-area {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 70px;
    }

    .entrance-tab {
        width: 100%;
    }

    .button-status {
        width: 100%;
        height: 56px;
        padding: 12px 0;
        font-size: 16px;
    }

    .info-box h4 {
        font-size: 16px;
        padding-left: 15px;
    }

    .info-box h4 .info-desc {
        font-size: 12px;
    }

    .info-box dt {
        color: #777;
        padding: 15px;
        border-bottom: none;
    }

    .info-box dd, .info-box dt {
        background-color: #F5F6F8;
        flex-basis: 100%;
        font-size: 16px;
        text-align: left;
    }

    .hidden-mobile {
        display: none;
    }

    .info-box dd {
        padding: 0 15px 15px 15px;
        margin-top: 0;
        border-bottom: 1px solid #D7DEE8;
    }

    .info-box .btn-apply {
        line-height: 0;
        margin-top: 15px;
        padding: 25px 0;
        width: 100%;
    }

    .table-custom table {
        width: 100%;
        font-size: 14px;
    }

    #statusModal .modal-title {
        font-weight: 200;
    }

    #statusModal label {
        font-size: 18px;
    }

    #statusModal .modal-content {
        padding: 0!important;
    }

    #statusModal .mobile-fill-box {
        width: 100%;
    }

    #statusModal .down-box {
        display: block!important;
    }

    #statusModal .btn-box {
        width: 100%;
        margin: 20px 0;
    }

    #statusModal .btn-box .btn {
        width: 100% !important;
    }

    #statusModal .fa-minus {
        right: 50% !important;
    }

    #statusModal select.form-control {
        width: 100px;
    }

    #statusModal .btn-outline-dark {
        display: none;
    }

    #statusModal a.btn-dark {
        width: 100% !important;
    }

    #statusModal .modal-footer {
        padding-bottom: 40px!important;
    }

    .info-box h4 .info-desc {
        right: 7px;
        bottom: -25px;
        color: #777;
    }

}