/*--------------------------------------------------------------
# visual Section
--------------------------------------------------------------*/
#visual {
    width: 100%;
    height: 640px;
    background-color: #E7EBF3;
    overflow: hidden;
    padding: 0;
    position: relative;
}

#visual .ban_01.active {
    background: url('../images/ban_01.png') no-repeat center bottom;
    background-size: cover;
}

#visual .ban_02.active {
    background: url('../images/ban_bg02.png') no-repeat center;
    background-size: cover;
}

#visual .ban_03.active {
    background: url('../images/ban_bg03.png') no-repeat center;
    background-size: cover;
}

#visual .ban_01 h3 {
    width: 706px;
    height: 251px;
    background: url('../images/ban_01_txt.svg') no-repeat left;
/*    margin-bottom: 228px;*/
    margin-left: 17px;
    display: none;
}
#visual .ban_02 h3 {
    width: 706px;
    height: 251px;
    background: url('../images/ban_02_txt.svg') no-repeat left;
/*    margin-bottom: 228px;*/
    margin-left: 17px;
    display: none;
}
#visual .ban_03 h3 {
    width: 534px;
    height: 251px;
    background: url('../images/ban_03_txt.svg') no-repeat left;
/*    margin-bottom: 228px;*/
    margin-left: 17px;
    display: none;
}

#visual .carousel {
    position: relative !important;
    height: 640px;
}

#visual .carousel, #visual .carousel-inner, #visual .carousel-item, #visual .carousel-item::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

#visual .carousel-container {
    display: flex;
    /*    justify-content: center;*/
    align-items: center;
/*    position: absolute;
    bottom: 0;
    top: 0;
    left: 50px;
    right: 50px;*/
    height: 100%;
}

#visual .container {
/*        max-width: 1400px;*/
    height: 100%;
    display: flex;
    justify-content: space-between;
/*    align-items: center;*/
    text-align: left;
    padding: 0 0 0 35px;
    position: relative;
}

@media (max-width: 1200px) {
    #visual .ban_01.active {
        height: 100%;
        background: url('../images/ban_01.png') no-repeat center;
        background-size: cover;
    }
    #visual .ban_02.active {
        height: 100%;
        background: url('../images/ban_bg02.png') no-repeat center;
        background-size: cover;
    }
    #visual .ban_03.active {
        height: 100%;
        background: url('../images/ban_bg03.png') no-repeat center;
        background-size: cover;
    }
}

@media (min-width: 1200px) {
    #visual .container {
        max-width: 1400px;
    }
}

@media (min-width: 2100px) {
    #visual .ban_01.active {
        background: url('../images/ban_01.png') no-repeat center;
        background-size: cover;
    }

    #visual .ban_02.active {
        background: url('../images/ban_bg02.png') no-repeat center;
        background-size: cover;
    }

    #visual .ban_03.active {
        background: url('../images/ban_bg03.png') no-repeat center;
        background-size: cover;
    }
}

#visual .visual-txt {
    padding-top: 60px;
}

#visual h2 {
    margin-top: -50px;
    letter-spacing: -2px;
    font-size: 40px;
    line-height: 0.95;
    color: #111;
}

#visual h3 {
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 30px;
    font-size: 45px;
    font-family: 'NanumSquareNeoBold';
    text-transform: uppercase;
    color: #111;
}

#visual p {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    margin: 0 auto 40px auto;
    line-height: 1.2;
    letter-spacing: -0.5px;
    word-break: keep-all;
    font-size: 25px;
    font-weight: 400;
    color: #040404;
}

#visual .mainBan-btn {
    width: 145px;
    height: 46px;
    background: #040404;
    color: #fff;
    border-radius: 100px;
    border: none;
    letter-spacing: -0.5px;
    font-size: 17px;
    font-weight: 300;
    margin-left: -60px;
}

#visual .visual-img {
    width: 700px;
    height: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#visual .visual-img img {
    max-width: 700px;
}

#visual .ban_01 .visual-img,
#visual .ban_02 .visual-img,
#visual .ban_03 .visual-img {
    width: 100%;
}
#visual .ban_01 .visual-img img,
#visual .ban_02 .visual-img img {
    max-width: 90%;
}
#visual .ban_03 .visual-img img {
    max-width: 80%;
}


@media screen and (max-width: 768px) {
    #visual .carousel-inner .carousel-item {
        animation: none;
        background-size: cover;
        background-position: center;
    }

    #visual .ban_01.active {
        background: url('../images/ban_01_m.svg') no-repeat center bottom;
        background-size: cover;
        position: relative;
    }
    #visual .ban_02.active {
        background: url('../images/ban_02_m.svg') no-repeat center;
        background-size: cover;
        position: relative;
    }
    #visual .ban_03.active {
        background: url('../images/ban_03_m.svg') no-repeat center;
        background-size: cover;
        position: relative;
    }
    #visual .ban_01.active:after,
    #visual .ban_02.active:after,
    #visual .ban_03.active:after {
        display: block;
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 390px;
        height: 100%;
        background: url('../images/ban_01_m2.svg') no-repeat bottom;
        background-size: contain;
    }
    #visual .ban_02.active:after {
        background: url('../images/ban_02_m2.svg') no-repeat bottom;
        background-size: contain;
        width: 340px;
    }
    #visual .ban_03.active:after {
        background: url('../images/ban_03_m2.svg') no-repeat bottom;
        background-size: contain;
        width: 340px;
    }

    #visual .ban_01 h3,
    #visual .ban_02 h3,
    #visual .ban_03 h3 {
        display: none;
    }
}

#visual .container::before {
    display: none;
}

#visual .carousel-inner .carousel-item, #visual .carousel-inner .active.carousel-item-left, #visual .carousel-inner .active.carousel-item-right {
    opacity: 0;
}

#visual .carousel-inner .active,
#visual .carousel-inner .carousel-item-next.carousel-item-left,
#visual .carousel-inner .carousel-item-prev.carousel-item-right {
    opacity: 1;
    transition: 0.5s;
}

#visual .carousel-inner .carousel-item-next,
#visual .carousel-inner .carousel-item-prev,
#visual .carousel-inner .active.carousel-item-left,
#visual .carousel-inner .active.carousel-item-right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

#visual .carousel-control-prev, #visual .carousel-control-next {
    width: 5%;
}

@media (max-width: 992px) {
    #visual .carousel-control-prev, #visual .carousel-control-next {
        top: 66px;
    }
    #visual .ban_01 h3, #visual .ban_02 h3, #visual .ban_03 h3 {
        height: 100px !important;
        margin-left: 15px !important;
    }
}

#visual .carousel-control-next-icon, #visual .carousel-control-prev-icon {
    background: none;
    font-family: 'NanumSquareNeoLight';
    font-size: 40px;
    line-height: 1;
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: 10px;
    transition: 0.3s;
    color: #bbb;
}

#visual .carousel-control-next-icon:hover, #visual .carousel-control-prev-icon:hover {
    background: #E7EBF3;
    color: #fff;
}

#visual .carousel-control-prev {
    left: 2%;
}

#visual .carousel-control-next {
    right: 2%;
}

#visual .carousel-indicators {
    margin: 0 auto;
    padding: 0 32px;
    top: 590px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

#visual .carousel-indicators li {
    cursor: pointer;
    border: none;
    background: #FFF;
    overflow: hidden;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    opacity: .8;
    transition: 0.3s;
    margin-left: 3px;
    margin-right: 3px;
}

#visual .carousel-indicators li.active {
    opacity: 1;
    background: #EA5D19;
}


#visual .btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    transition: 0.5s;
    line-height: 1;
    color: #fff;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    background: #5cb874;
}

#visual .btn-get-started:hover {
    background: #6ec083;
}


@media (min-width: 1081px) and (max-width: 1280px) {
    #visual .carousel-indicators {
        bottom: 50px;
    }
}

@media (max-width: 1200px) {
    #visual h3 {
        font-size: 35px;
    }

    #visual h2 {
        font-size: 54px !important;
    }

    #visual p {
        margin: 0 auto 20px auto;
    }
}

@media (max-width: 992px) {
    #visual {
        height: 60vh;
    }

        #visual .carousel-container {
            padding: 0px 50px;
        }

        #visual .carousel-indicators {
            bottom: 200px;
            padding: 0;
        }

        #visual h2 {
            font-size: 50px !important;
        }

        #visual h3 {
            font-size: 30px !important;
        }

        #visual p {
            font-size: 20px !important;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    #visual h2 {
        font-size: 40px !important;
    }

    #visual h3 {
        font-size: 25px !important;
    }

    #visual p {
        font-size: 16px !important;
        letter-spacing: -1px;
    }

    #visual .ban_01 h3,
    #visual .ban_02 h3,
    #visual .ban_03 h3,
    #visual .mainBan-btn {
        margin-left: -32px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    #visual {
        height: 58vh;
    }

        #visual .carousel-control-next-icon, #visual .carousel-control-prev-icon {
            font-size: 18px;
        }

        #visual .carousel-indicators {
            bottom: 50px;
            justify-content: center;
        }

        #visual h2 {
            font-size: 24px !important;
        }

        #visual h3 {
            font-size: 18px !important;
        }

        #visual p {
            font-size: 16px !important;
        }

            #visual p br {
                display: none;
            }

        #visual .mv-font {
            font-size: 12px !important;
        }

        #visual .mainBan-btn {
            padding: 3px 10px;
        }
}

@media (max-width: 540px) {
    #visual {
        height: 50vh;
    }

        #visual .carousel-container {
            padding: 0 0;
        }
}

@media (min-width: 1024px) {
    #visual .carousel-control-prev, #visual .carousel-control-next {
        width: 5%;
    }
}

@media (max-height: 500px) {
    #visual {
        height: 50vh;
    }
}

@media (min-width: 1441px) and (max-width: 1919px) {
    #visual .container {
        padding: 0 30px;
        margin-top: 0;
    }

    #visual .carousel-indicators li {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 1440px) {
	#visual {
        height: 50vh;
        min-height: 400px;
        max-height: 520px;
    }

    #visual .container {
        /*top: 400px;*/
        padding: 0 40px;
    }

    #visual .carousel-indicators {
        top: 430px;
        margin: 0 auto;
    }

    #visual .container div:nth-child(1) {
        display: none;
    }
    #visual .visual-txt {
        padding-top: 80px;
    }
    #visual .visual-img img {
        max-width: 80%;
        max-height: 90%;
    }

    #visual .ban_01 .visual-txt,
    #visual .ban_02 .visual-txt {
        display: none;
    }
    #visual .ban_01 .visual-img,
    #visual .ban_02 .visual-img {
        width: 100%;
        align-items: end;
    }
    #visual .ban_01 .visual-img img {
        max-width: 100%;
    }

    #visual .carousel {
        height: 100%;
    }

    #visual .carousel-control-prev, #visual .carousel-control-next {
        top: 0;
    }

    #visual .carousel-indicators li {
        width: 10px;
        height: 10px;
    }

    #visual p {
        font-size: 20px;
    }

    #visual .ban_01 h3,
    #visual .ban_02 h3,
    #visual .ban_03 h3 {
        background-size: contain;
        height: 140px;
    }

	.openmenu #visual {
        margin-top: 80px;
    }

    #visual h2 {
        font-size: 2em !important;
    }

    #visual h3 {
        font-size: 2.2em !important;
    }
}

@media (max-width: 1200px) {
    #visual {
        height: 40vh;
    }

    #visual .carousel-indicators {
        top: 36vh;
    }
}

@media (max-width: 992px) {
    #visual {
        height: 33vh;
        /*padding: 0 15px;*/
    }

    #visual .visual-img {
        background-size: 90% !important;
    }

    #visual .container {
        padding: 0;
    }
    
    #visual .carousel-indicators li {
        width: 10px;
        height: 10px;
    }

    #visual .carousel-indicators {
        top: 30vh;
        width: 100%;
    }
    #visual .container .minpop {
        top: 40px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    #visual .carousel-control-prev {
        left: 1% !important;
        right: 1% !important;
    }
}

@media (max-width: 650px) { 
	#visual .carousel-control-prev {
		left: 1% !important;
		right: 1% !important;
	}
		    #visual h3 {
        font-size: 1.2em !important;
    }

    #visual .container {
        padding: 0;
        display: block;
    }

        #visual .container div:nth-child(1) {
            width: 100%;
            margin-top: 280px;
            text-align: center;
            position: relative;
            z-index: 15;
        }

    #visual .renewalBan.active .visual-img {
        margin-top: 0px;
    }

    #visual .mainBan-btn {
        margin: -227px 0 0 -73px;
        position: absolute;
    }

    #visual .carousel-indicators {
        display: flex;
        position: absolute;
        top: 0 !important;
        padding: 0 30px;
        margin-top: 350px;
        margin-left: auto;
    }

    #visual .carousel-indicators li {
        width: 10px;
        height: 10px;
    }

    #visual .visual-img {
        margin-top: -580px;
        position: absolute;
    }

    #visual h3 {
        margin-bottom: 10px;
    }
}

@media (max-width: 479px) {
	#visual .visual-img {
        margin-top: -550px;
        margin-left: -50px;
    }

    #visual .mainBan-btn {
        width: 140px;
        font-size: 1em;
        margin-top: -197px;
    }

    #visual .carousel-indicators {
        margin-left: auto;
    }
}
	
@media (max-width: 450px) and (max-height: 670px) {
    #visual {
        height: 450px !important;
    }

	#visual .carousel-indicators {
		margin-top: -42px !important;
	}
}

@media (min-width: 360px) and (max-width: 767px) {
	#visual {
		height: 415px;
	}
}

@media (max-width: 768px) {
    #visual {
        height: 500px;
    }

	#visual .carousel-indicators {
		top: 460px !important;
		margin: 0 auto;
		z-index: 16;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
	}

	#visual h2 {
		font-size: 1.2em !important;
	}

	#visual h3 {
		/*font-size: 1.8em !important;*/
	}

	#visual p {
		display: none;
	}
    #visual .container {
        gap: 0;
    }
    #visual .container .visual-img {
        display: none;
    }
}

.back-to-top i:before {
    display: none;
}

@media (max-width: 992px) {
    .container {
        max-width: 100% !important;
    }
}

@media (max-width: 499px) {
    #visual {
        height: 530px !important;
    }

    #visual .carousel-indicators {
        top: 370px !important;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    #visual .carousel-indicators {
        top: 360px;
    }
} 