@font-face {
    /* 애플산돌고딕 폰트 적용 */
    font-family: "NanumGothic";
    src: url("/font/NanumGothic.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    /* 휴먼명조 폰트 적용 */
    font-family: "휴먼명조";
    src: url("/font/휴먼명조.ttf") format("truetype");
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "NanumGothic", Helvetica, "sans-serif" !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.video-js * {
    font-family: VideoJS !important;
}

html, body {
    width: 100%;
    height: 100%;
}
.error-wrap > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    flex-direction: column;
}
.error-wrap > div > div:nth-child(2) {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 100px;
    letter-spacing: 20px;
    font-family: "Nanum Gothic" !important;
    background: linear-gradient(to bottom, #a5d9ea, #0054ba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.error-wrap > div > div:nth-child(1) {
    background-image: url("/images/logo/logo.png");
    width: 316px;
    height: 100px;
    margin-bottom: 20px;
    margin-top: 200px;
    cursor: pointer;
}
.error-wrap > div > div:nth-child(3),
.error-wrap > div > div:nth-child(4){
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
    color: #8f8e8e;
}

.error-wrap > div > div:nth-child(5) {
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.error-wrap > div > div:nth-child(5):hover {
    color: #0054ba;
}

/* 헤더 */
header {
    visibility: visible;
    width: 100%;
    padding: 1.5rem 1rem;
    -webkit-box-align: center;
    align-items: center;
    background: rgb(255, 255, 255);
    font-size: 13px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 3px 1px;
}

tbody, td, tfoot, th, thead, tr {
    border: 0 solid;
    border-color: inherit;
}

img, svg {
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: #000;
}

header .logo {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
}

header .logo > p {
    color: rgb(51, 51, 51);
    margin: 0px;
    font-size: 13px;
    font-weight: bold;
}

header .header-menu {
    max-width: 1200px;
    width: 100%;
    margin: 0px auto;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

header .logo > div > img {
    width: auto;
    height: 50px;
    margin-right: 1rem;
}

header .top-menu {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-weight: bold;
    line-height: 3rem;
    border-bottom: 3px solid white;
}

header .top-menu-cont {
    height: 51px;
    display: none;
    -webkit-box-align: center;
    align-items: center;
    margin-right: 1.5rem;
    color: rgb(51, 51, 51);
}

header .top-menu-cont.on {
    color: #3366AB;
    border-bottom: 3px solid #3366AB;
}

header .top-menu-cont:hover {
    color: #3366AB;
    border-bottom: 3px solid #3366AB;
}

header .top-menu-cont a {
    text-decoration: none;
    color: inherit;
}

header .top-menu-cont img {
    width: 20px;
    margin-left: 0.75rem;
}

header .top-menu span img {
    width: 20px;
    height: 20px;
}

header .top-menu span {
    margin-left: 1rem;
    cursor: pointer;
}

header #menu-modal {
    width: 100%;
    transition: all 1s ease 0s;
    height: 100vh;
    z-index: 200;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    background-color: rgba(76, 76, 76, 0.7);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header #menu-modal .modal-container {
    display: flex;
    height: 600px;
    width: 95%;
    max-width: 800px;
    background-color: rgb(255, 255, 255);
    border-radius: 1rem;
}

header .top-menu span#logout img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

header .sub-number {
    position: relative;
    color: rgb(234, 234, 234);
    display: flex;
    margin-bottom: 0.5rem;
}

header .sub-number > h1 {
    margin-left: auto;
    margin-right: 10px;
}

header #menu-modal .modal-container > div {
    width: calc(100% / 5);
    text-align: center;
    padding: 3rem 0px;
    position: relative;
    overflow: hidden;
}

header #menu-modal .modal-container > div:not(:nth-last-child(1)) {
    border-right: 1px solid rgb(234, 234, 234);
}

header .modal-direction {
    display: none;
}

header .modal-icon {
    width: 50px;
    margin-bottom: 0.75rem;
}

header .modal-icon-title {
    height: 50px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

header .modal-close {
    background-image: url(/images/icon/close_icon2.png);
    height: 50px;
    width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    border-radius: 50%;
    border: 3px solid #eee;
    margin-bottom: 5px;
}

header .modal-close:hover {
    cursor: pointer;
    border-color: #1b447a;
}

header .modal-container p {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header .modal-container p > img {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 15px;
    height: 15px;
}

header .modal-icon-title, header .sub-number {
    user-select: none;
    -webkit-user-select: none;
}

header .modal-container p:hover {
    color: rgb(51 102 171);
}

/* 푸터 */
footer {
    bottom: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 108;
}

footer .footer-gray {
    background: rgb(102, 102, 102);
}

footer .footer-gray > div {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0px 1rem;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 100%;
    font-size: 14px;
    color: rgb(255, 255, 255);
}

footer .footer-gray .footer-link {
    color: inherit;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-size: 12px;
}

footer .footer-gray .button-box {
    color: inherit;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border: 1px solid white;
    margin: 6px;
    padding: 6px;
}

footer span.button {
    cursor: pointer;
}

footer span.button:hover {
    border-bottom: 1px solid white
}

footer .footer-white > div {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 1rem;
}

footer .footer-white > div > div:nth-child(1) {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

footer .footer-white > div > div:nth-child(1) > div:nth-child(1) {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 100%;
    font-size: 11px;
    color: rgb(102, 102, 102);
}

footer .footer-white > div > div:nth-child(1) > div:nth-child(1) > div {
    color: inherit;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin-right: 1rem;
}

footer .footer-white {
    background-color: white;
}

footer .copyright {
    color: rgb(51, 51, 51);
    font-size: 12px;
}

footer .mobile-footer {
    display: none;
}


.modal {
    width: 100%;
    transition: all 1s ease 0s;
    height: 100vh;
    z-index: 200;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    background-color: rgba(76, 76, 76, 0.7);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.video_proc_modal > div,
.copyright_modal > div {
    box-sizing: border-box;
    display: block;
    position: fixed;
    inset: 0px;
    z-index: 1000;
    overflow: auto;
    outline: 0px;
    padding: 2rem;
}

.video_proc_modal > div > div,
.copyright_modal > div > div {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 6px 0px;
    background-color: rgb(255, 255, 255);
    width: 65%;
    margin: auto;
    transition: all 0.5s ease 0s;
    padding: 1rem;
}

.video_proc_modal > div > div > h5,
.copyright_modal > div > div > h5 {
    font-size: 1.25rem;
    color: hsl(215, 65%, 36%);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.video_proc_modal > div > div .content {
    margin-bottom: 1rem;
    padding: 10px;
    border: 1px solid #d1d1d1;
    height: 730px;
    min-height: 730px;
    overflow: auto;
    padding: 20px
}

.copyright_modal > div > div .content {
    margin-bottom: 1rem;
    text-align: center;
    padding: 10px;
    border: 1px solid #d1d1d1;
    height: 730px;
    min-height: 730px;
    overflow: auto;
    padding: 20px
}

.video_proc_modal > div > div .content p,
.video_proc_modal > div > div .content u {
    margin: 13px 0;
    word-break: keep-all;
    word-wrap: break-word;
    font-size: 13px;
    font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    line-height: 1.6;
}

.video_proc_modal table > tbody > tr:first-child > td {
    background-color: rgb(229, 229, 229);
}

.video_proc_modal table {
    border-collapse: collapse;
    border: 1px solid black;
}

.video_proc_modal table > tbody td {
    border: 1px solid black;
}

.copyright_modal > div > div .content p,
.copyright_modal > div > div .content u {
    margin: 13px 0;
    word-break: keep-all;
    font-family: '휴먼명조' !important;
    word-wrap: break-word;
}

.copyright_modal p.title {
    font-size: 15pt;
}

.copyright_modal p.normal {
    font-size: 11pt;
    line-height: 1.6;
}

.copyright_modal p.sub-title {
    text-align: left;
    font-weight: bold;
}

.copyright_modal p.sub-content {
    margin-left: 24px !important;
    text-align: left;
    font-size: 11pt;
    line-height: 1.6;
}

.modal_close_button {
    background-color: rgb(153, 153, 153);
    border-radius: 3px;
    color: rgb(255, 255, 255);
    padding: 0.5rem 1rem;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease-in-out 0s;
    box-shadow: rgba(153, 153, 153, 0.498) 0px 2px 6px 0px;
    width: 100%;
    border: none;
}

.relate_modal > .relate_org {
    width: 350px;
    margin: auto;
    z-index: 200;
    position: absolute;
    inset: 0px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.relate_modal > .relate_org > div {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.relate_modal > .relate_org > div > div {
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
}

.relate_modal > .relate_org > div > div:hover {
    background-color: #215499;
    color: white;
}

.relate_modal > .relate_org > span {
    background-image: url(/images/icon/close_icon2.png);
    height: 50px;
    width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    border-radius: 50%;
    border: 3px solid #eee;
    margin-bottom: 5px;
}

.relate_modal > .relate_org > span:hover {
    cursor: pointer;
    border-color: #1b447a;
}

.relate_modal > .relate_org > div > div:not(:last-child) {
    border-bottom: 1px solid rgb(234, 234, 234);
}
i {
    font-family: FontAwesome !important;
}
.modal .alert-modal.blue {
    border-top: solid 7px #79c1d5
}
.modal .alert-modal.red {
    border-top: solid 7px #e74c3c;
}

.modal .alert-modal {
    min-width: 320px;
    max-width: 50%;
    max-height: 50%;
    background-color: white;
    border-radius: 5px;
}

.modal .alert-modal .content .error-message > div{
    display: flex;
}
.modal .alert-modal .content .error-message > div:first-child > div:nth-child(3){
    margin-left: auto;
}

.modal .alert-modal .content .error-message > div:not(:first-child) > div:nth-child(2) {
    word-break: break-all;
    white-space: normal;
    width: calc(100% - 75px);
}
.modal .alert-modal .content .error-message > div > div:first-child {
    width: 62px;
    text-align: right;
    margin-right: 5px;
}
.modal .alert-modal .content {
    padding: 10px 20px;
    word-break: break-all;
    white-space: normal;
    overflow: auto;
    font-size: 13px;
    height: calc(100% - 90px);
    line-height: 20px;
}

.modal .alert-modal .title {
    display: flex;
    padding: 10px;
    align-items: center;
}

.modal .alert-modal.blue .title > div:nth-child(1){
    background-image: url("/images/icon/info.png");
}
.modal .alert-modal.red .title > div:nth-child(1) {
    background-image: url("/images/icon/warning.png");
}
.modal .alert-modal .title > div:nth-child(1) {
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: 25px 25px;
}
.modal .alert-modal .title > div:nth-child(2) {
    width: calc(100% - 35px);
    padding: 0 10px;
    font-weight: bold;
    font-size: 15px;
}
.modal .alert-modal .title > div:nth-child(3) {
    width: 10px;
    height: 10px;
    background-image: url("/images/icon/x-icon.png");
    background-repeat: no-repeat;
    background-size: 10px 10px;
    cursor: pointer;
}

.modal .alert-modal .button-box .button.blue {
    background-color: #79c1d5;
    color: #fff;
    border: 1px solid #79c1d5;
}
.modal .alert-modal .button-box .button.red {
    background-color: #e74c3c;
    color: #fff;
    border: 1px solid #e74c3c;
}
.modal .alert-modal .button-box .button:hover {
    cursor: pointer;
    filter: brightness(1.1);
}
.modal .alert-modal .button-box .button {
    border-radius: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    margin-left: 5px;
    border: 1px solid #b7b6b6;
    user-select: none;
}
.modal .alert-modal .button-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding : 10px;
}


@media (max-width: 450px) {
    /* 헤더 */
    header {
        padding: 0;
        border-top: 1px solid rgb(230, 230, 230);
    }

    header .header-menu {
        padding: 0.6rem 1rem;
    }
    header .logo > div > img {
        margin-top: 3px;
        width: auto;
        height: 40px;
    }

    header .top-menu span img {
        width: 35px;
        height: 35px;
    }

    /* 모달 */
    header #menu-modal {
        width: 100%;
        height: 100vh;
        z-index: 200;
        position: absolute;
        top: 0px;
        left: 0px;
        background-color: rgb(255, 255, 255);
        display: none;
    }


    header #menu-modal .modal-container {
        width: 100%;
        height: auto;
        max-width: none;
        display: flex;
        position: fixed;
        -webkit-box-align: center;
        align-items: center;
        border-radius: 0;
        flex-direction: column;
        border-width: 1px 0px;
        border-style: solid;
        border-color: rgb(234, 234, 234);
    }

    header #menu-modal .modal-container > div {
        width: 100%;
        display: flex;
        padding: 1rem 0.5rem;
        -webkit-box-align: center;
        align-items: center;
        height: 80px;
    }

    header #menu-modal .modal-container > div > p {
        line-height: 30px;
        font-size: 10px;
        padding: 0;
        text-align: center;
        margin-block-start: 0;
        margin-block-end: 0;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        width: calc(100% / 5);
    }

    header #menu-modal .modal-container > div:not(:nth-last-child(1)) {
        border-bottom: 1px solid rgb(234, 234, 234);
        border-right: 0px;
    }

    header .modal-direction {
        margin-left: auto;

        width: 20px;
    }

    header .modal-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    header .modal-icon-title {
        display: none;
    }

    header .modal-close-box {
        padding: 1rem;
        width: 100%;
        height: 80px;
        position: relative;
    }

    header .modal-close:hover {
        cursor: pointer;
    }

    header .modal-close {
        border: none;
        background-image: url(/images/icon/mobile-close.png);
        background-size: 35px 35px;
        width: 35px;
        height: 100%;
        margin-left: auto;
    }


    header .sub-number {
        display: none;
    }

    /* 푸터 */
    footer {
        flex-direction: row;
        position: fixed;
        bottom: 0px;
        width: 100%;
        display: flex;
        z-index: 100;
    }

    footer .footer-gray,
    footer .footer-white {
        display: none;
    }

    footer .mobile-footer {
        display: flex;
        width: 100%;
    }

    footer .mobile-footer > div {
        width: calc(33.3333%);
        background-color: rgb(238, 238, 238);
        padding: 0.75rem 1px;
        text-align: center;
        color: rgb(51, 51, 51);
        font-size: 14px;
    }

    footer .mobile-footer > div img {
        margin-bottom: 0.5rem;
    }

    .modal.relate_modal {
        display: none !important;
    }

    .modal .alert-modal .content{
        font-size: 10px;
        line-height: 15px;
    }
    .modal .alert-modal .title > div:nth-child(2) {
        font-size: 14px;
    }
    .modal .alert-modal .content .error-message > div > div:first-child {
        width: 50px;
    }
}

@media (min-width: 420px) {
    /* 헤더 */
    header {
        font-size: 14px;
    }

    header .top-menu-cont {
        display: none;
    }

    header .logo > p {
        font-size: 14px;
    }

    header .modal-direction {
        display: block;
    }

}

@media (min-width: 765px) {
    /* 헤더 */
    header .top-menu-cont {
        display: flex;
    }

    header .modal-container p > img {
        width: 20px;
        height: 20px;
        right: 15px;
    }

    .modal .alert-modal .title > div:nth-child(2) {
        font-size: 16px;
    }
    .modal .alert-modal .content {
        font-size: 14px;
    }

}

@media (min-width: 920px) {
    /* 헤더 */
    header {
        font-size: 20px;
    }

    header .logo > p {
        font-size: 20px;
    }

}

