@import url('http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@200&display=swap');

@font-face {
    font-family: 'NanumBarunGothic';
    src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot);
    src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot?#iefix) format('embedded-opentype'), url(webfont/NanumBarunGothic/NanumBarunGothicWeb.woff) format('woff'), url(webfont/NanumBarunGothic/NanumBarunGothicWeb.ttf) format('truetype');
}

@font-face {
    font-family: 'BAHNSCHRIFT';
    src: url(../../../font/BAHNSCHRIFT.TTF) format('truetype');
}

@font-face {
    font-family: 'InfinitySans-Bold';
    src: url(../../../font/InfinitySans-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'NanumSquare';
    src: url(webfont/NanumSquare/NanumSquareR.eot);
    src: url(webfont/NanumSquare/NanumSquareR.eot?#iefix) format('embedded-opentype'), url(webfont/NanumSquare/NanumSquareR.woff) format('woff'), url(webfont/NanumSquare/NanumSquareR.ttf) format('truetype');
}

/*모달*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.donation-pop-wrap {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all .5s ease-in-out;
}

    .donation-pop-wrap .close {
        position: absolute;
        top: 30px;
        right: 30px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

        .donation-pop-wrap .close:hover {
            color: #000;
            text-shadow: 5px 5px 10px #d7d7d7;
            transition: all ease-in-out .15s;
        }

    .donation-pop-wrap .content {
        max-height: 30%;
        overflow: auto;
    }

    .donation-pop-wrap > h2 {
        margin-top: 10px;
        padding-bottom: 30px;
        border-bottom: 1px solid #d7d7d7;
    }

    .donation-pop-wrap .content span {
        text-align: center;
        margin: 20px 0;
    }

        .donation-pop-wrap .content span h2 {
            font-weight: bold;
        }

        .donation-pop-wrap .content span p {
            margin: 20px 0;
            font-size: 14px;
            letter-spacing: 1.2px;
        }

    .donation-pop-wrap .content > div {
        margin: 20px 0;
        text-align: right;
    }

        .donation-pop-wrap .content > div p {
            font-size: 14px;
            margin-bottom: 110px;
        }

            .donation-pop-wrap .content > div p .color1 {
                color: #2e00ff;
            }

            .donation-pop-wrap .content > div p .color2 {
                color: #d923ff;
            }

            .donation-pop-wrap .content > div p .color3 {
                color: #557200;
            }

            .donation-pop-wrap .content > div p .colorName {
                color: #ca6300;
                font-size: 16px;
            }

        .donation-pop-wrap .content > div h2 {
            text-align: center;
            margin: 30px 0;
        }

            .donation-pop-wrap .content > div h2 a {
                text-decoration: none;
                padding: 10px 40px;
                border: 1px solid #23527c;
                border-radius: 20px;
                cursor: pointer;
                display: inline-block;
            }

                .donation-pop-wrap .content > div h2 a:hover {
                    color: #fff;
                    background: #23527c;
                    border: 1px solid transparent;
                }

            .donation-pop-wrap .content > div h2 div {
                text-align: center;
                font-size: 16px;
                margin: 20px 0;
            }
/* font select */
#gnb-wrap {
    opacity: 0;
    transition: 0.15s all;
}
/*첫페이지 대주제*/
.font-bahnschrift {
    font-family: Bahnschrift;
}
/*대주제*/
.font-InfinitySans {
    font-family: InfinitySans-Bold;
}
/*대주제 아래 설명*/
.font-IBMPlexSans {
    font-family: 'IBM Plex Sans', sans-serif;
}

body * {
    font-family: NanumBarunGothic, sans-serif;
    letter-spacing: -0.5px;
}

#dimodeBoard {
    padding: 60px 0;
}

footer {
    height: 160px;
    color: #fff;
}

.footer-bg {
    padding: 40px 0;
    background: #000;
}

.footer-cont {
    float: left;
}

    .footer-cont h2 {
        margin: 10px 0 30px;
    }

    .footer-cont p {
        font-size: 16px;
    }

footer ul {
    display: flex;
    float: right;
}

    footer ul li {
        font-size: 32px;
        background: #fff;
        color: #000;
        border-radius: 50%;
        width: 50px;
        overflow: hidden;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 5px;
        cursor: pointer;
    }

        footer ul li a {
            color: #000;
        }

            footer ul li a:hover, footer ul li a:focus {
                color: #000;
            }

        footer ul li:hover {
            transform: translateY(-10px);
            transition: all ease-in-out .15s;
        }
/* header */
.top-header {
    z-index: 3;
    background: transparent;
    position: absolute;
    padding: 0;
    width: 20%;
    top: 4%;
    left: 3%;
}

    .top-header a {
        display: inline-block;
    }

    .top-header Img {
        max-width: 150px;
    }

#gnb-wrap {
    z-index: 999;
    position: fixed;
    background: rgba(0,0,0,1);
    width: 100%;
    padding: 20px 100px;
    height: 80px;
}

    #gnb-wrap .gnb-right {
        position: absolute;
        right: 90px;
        text-align: right;
        top: 5px;
    }

        #gnb-wrap .gnb-right img {
            width: unset;
            display: block;
            margin: 0 auto;
        }

        #gnb-wrap .gnb-right a {
            color: #b8b8b8;
            font-size: 16px;
            display: inline-block;
            text-decoration: none;
            margin: 0 10px;
        }

#gnb {
    float: right;
}

.gnb-left {
    float: left;
    width: 5%;
    margin-top: -5px;
}

    .gnb-left span {
        display: block;
        color: #fff;
        font-size: 12px;
        text-align: center;
        font-family: 'BAHNSCHRIFT';
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .gnb-left img {
        display: block;
        margin-top: 0px;
    }

#gnb > li {
    display: inline-block;
    cursor: pointer;
    margin: 15px 30px;
}

    #gnb > li:last-child {
        margin-right: 0;
    }

    #gnb > li > a {
        font-size: 20px;
        color: #fff;
        text-decoration: none;
        transition: all ease 0.3s;
    }

        #gnb > li > a:hover {
            text-shadow: 5px 5px 20px rgb(009 131 208);
            transition: all ease 0.3s;
            font-weight: bold;
        }

        #gnb > li > a.active {
            color: #000;
            border-bottom: 3px solid #000;
            padding-bottom: 7px;
            transition: all ease 0.3s;
            font-weight: bold;
        }

    #gnb > li ul.depth2 {
        display: none;
    }

    #gnb > li.active {
        position: relative;
    }

        #gnb > li.active ul.depth2 {
            position: absolute;
            top: 50px;
            left: 50%;
            text-align: center;
            display: block;
            width: max-content;
            background: #538cd6 30%;
            padding: 20px 0;
            z-index: 99;
            transform: translateX(-50%);
            -webkit-transition: opacity .2s ease-in-out;
            -moz-transition: opacity .2s ease-in-out;
            -o-transition: opacity .2s ease-in-out;
            transition: opacity .2s ease-in-out;
        }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#gnb > li.active ul.depth2  {
		width:auto;
		white-space:nowrap;
	}
}

            #gnb > li.active ul.depth2:before {
                content: '';
                position: absolute;
                left: 50%;
                top: -8px;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 8px solid rgba(255,255,255,0.95);
                -webkit-transform: translateX(-50%);
                -ms-transform: translateX(-50%);
                transform: translateX(-50%);
                -webkit-transition: opacity .2s ease-in-out;
                -moz-transition: opacity .2s ease-in-out;
                -o-transition: opacity .2s ease-in-out;
                transition: opacity .2s ease-in-out;
            }

    #gnb > li ul.depth2 li {
        margin: 10px 20px;
    }

        #gnb > li ul.depth2 li a {
            color: #fff;
            text-decoration: none;
            font-size: 18px;
        }

        #gnb > li ul.depth2 li:hover a {
            font-weight: bold;
            -webkit-transition: opacity 1s ease-in-out;
            -moz-transition: opacity 1s ease-in-out;
            -o-transition: opacity 1s ease-in-out;
            transition: opacity 1s ease-in-out;
            padding-bottom: 3px;
        }

        #gnb > li ul.depth2 li.active a {
            color: #fff;
            font-size: 26px;
            font-weight: bold;
        }

#subtop {
    border-bottom: 1px solid #dddddd;
}
/*footer*/

@media (max-width:1800px) and (min-width:1499px) {
    #gnb-wrap {
        padding: 20px 40px;
    }

        #gnb-wrap .gnb-right {
            right: 30px;
        }

}

@media(max-width:1500px) {
    .gnb-left {
        width: 7%;
    }
    #gnb-wrap {
        padding: 20px 40px;
    }

        #gnb-wrap .gnb-right {
            right: 30px;
        }

    .right-nav {
        display: none;
    }
}

@media(max-width:1199px) {
    .gnb-left {
    width:10%;
    }
}

@media(max-width:992px) {
    #gnb-wrap {
        padding: 20px 30px;
    }

    .gnb-left {
        width: 10%;
    }

    .header-mobile-gnb .toggle i {
        font-size: 32px;
    }

    .header-mobile-gnb .toggle {
        float: right;
        margin-right: 10px;
        margin-top: 10px;
    }

    #my-menu .mm-navbar .mm-title {
        color: #fff;
        font-size: 18px;
    }

    #my-menu .mm-listview > li > a {
        font-size: 18px;
        padding: 15px 30px;
        color: #fff;
    }

    #my-menu.mm-opened {
        background: #687383;
    }

    .right-nav {
        display: none;
    }
}

@media(max-width:767px) {
    .header-mobile-gnb .toggle {
    margin-right:0;
    margin-top:0;
    }
    footer ul {
        width: 100%;
        justify-content: center;
    }

    .footer-cont {
        width: 100%;
        text-align: center;
    }

    #gnb-wrap {
        padding: 10px;
        height: 70px;
    }

    .gnb-left div {
        width: 80px;
        margin-top: 5px;
    }

    #gnb-wrap .gnb-right {
        right: 10px;
    }

    .header-mobile-gnb {
        float: right;
        position: relative;
        top: 20px;
        right: 10px;
        font-size: 30px;
    }

}