/* header */
#header {
    height: 90px;
    background: #fff;
}

#header .navbar {
    height: 90px;
}

.navbar-brand {
    margin-left: 50px;
}

#header .navbar-brand img {
    width: 100%;
    height: auto;
}

.btn_login{display:flex; align-items: center;}

.login_a {
    padding: 1rem 2.5rem;
    background: #fff;
    border: 1px solid #2670B2;
    color: #2670B2;
    border-radius: 3rem;
    margin-right: 50px;
    transition: all ease 0.3s;
}

.login_a:hover {
    background: #2670B2;
    border: 1px solid #2670B2;
    color: #fff;
    transition: all ease 0.3s;
}

.login_a:hover a {
    color: #fff;
}

.login_a a {
    display: flex;
    align-items: center;
    color: #2670B2;
}

.login_a b {
    font-size: 14px;
}

.login_a:hover {
    color: #2670B2;
}

.navbar {
    padding: 0;
}

.navbar-expand-md .navbar-nav{margin: 0 auto;}
.navbar-expand-md .navbar-nav .nav-link {
    padding: 3rem;
}

.navbar-nav .nav-link {
    color: #000;
    text-align: center;
    font-size: 1.8rem;
    background: #fff;
}

.navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

.navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #38C0FC;
    font-weight: 500;
}

.navbar-toggler-icon {
    display: inline;
}

.navbar-nav:after {
    content: "";
    display: block;
    width: 106px;
    height: 3px;
    background: #fff;
}
.navbar-nav .active:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #38C0FC;
}

.navbar-toggler-icon {
    background-image: none;
}


/*푸터*/
#footer {
    height: 138px;
}

.ft_link a:hover {
    color: #ffd400;
}

#footer .scroll_top {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 16%);
    transition: all ease 0.3s;
    border: none;
}

#footer .scroll_top i {
    color: #2670B2;
    font-size: 2.8rem;
    transition: all ease 0.3s;
}

#footer .scroll_top:hover {
    background: #2670B2;
    transition: all ease 0.3s;
}

#footer .scroll_top:hover i {
    color: #fff;
    transition: all ease 0.3s;
}

/*border 보더*/
.border {
    border-color: #e9e9e9;
}

.border_bold {
    border: 3px solid #e9e9e9;
}

.rounded {
    border-radius: 1.2rem !important;
}

.rounded-lg {
    border-radius: 1.6rem !important;
}

.rounded-xl {
    border-radius: 2.2rem !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-primary {
    border-color: #585fdb !important;
}

.br_left {
    border-left: 1px solid #93B8D8;
    line-height: 1em;
    margin-left: 1rem;
}

.bd-right {
    border-right: 1px solid #DFDFDF;
    padding-right: 1.5rem;
    margin-right: 1.5rem;

}

.br_bottom {
    border-bottom: 1px solid #e9e9e9;
}

.br_primary {
    border: 3px solid #399bd8;
}

/*선택 라디오,체크박스*/
.select input[type='radio']+label,
.select input[type='checkbox']+label {
    border: 3px solid #e9e9e9;
    border-radius: 1.6rem;
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 8px;
    width: 100%;
}

.select .w-50 {
    width: calc(50% - 4px) !important;
}

.select input[type='checkbox'],
input[type='radio'] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.select .checks input[type='radio']:checked+label,
.select .checks input[type='checkbox']:checked+label {
    border: 3px solid #399bd8;
}

.select .checks input[type='radio']+label:before,
.select .checks input[type='checkbox']+label:before {
    display: none;
}

.select .checks input[type='radio']:checked+label:after,
.select .checks input[type='checkbox']:checked+label:after {
    display: none;
}

/*모달*/
.modal_video {
    background: none;
    position: relative;
}

.modal_video .video {
    border-radius: 2rem;
    overflow: hidden;
}

.modal_close {
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    position: absolute;
    top: 0;
    right: -40px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 16%);
}

/*스크롤 숨기기*/
.scroll_hidden {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.scroll_hidden::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera*/
}


/*반응형 max 1200 xl*/
@media (max-width: 1199.98px) {

    .navbar-brand {
        margin-left: 20px;
    }

    .login_a {
        margin-right: 20px;
    }
}

/*반응형 max 992px lg*/
@media (max-width: 991.98px) {

    .service_center {
        border-top: 1px solid #518DC2;
        padding-top: 15px;
        margin-top: 15px;
    }

    .service_center strong {
        font-size: 26px;
    }

    .service_center p {
        font-size: 14px;
    }

    .navbar-expand-md .navbar-nav{margin: 0 0; margin-left:2rem; max-width: 300px;}
    .navbar-expand-md .navbar-nav .nav-link{padding:3rem 2rem;}

}


/*반응형 max 768px md*/
@media (max-width: 767.98px) {

    #header {
        height: 50px;
    }

    #header .navbar {
        height: 50px;
    }

    .navbar-brand {
        width: 33px;
    }

    .btn_login{position: absolute;
        right: 45px;
        margin-right: 0;
        padding: 0;
        width: 30px;
        height: 50px;
        display: block;
    }
    .btn_login .user_name{display:none;}

    .login_a {
        display: block;
        border: none;
        padding:0;
    }

    .login_a:hover {
        background: none;
        color: #2670B2;
        border: none;
    }

    .login_a i {
        font-size: 28px;
        display: block;
        width: 40px;
        height: 50px;
        text-align: center;
        padding-top: 10px;
        margin-right: 0 !important;
    }

    .login_a b {
        display: none;
    }

    .login_a:hover a {
        color: #2670B2;
    }

    .navbar-toggler {
        display: block;
        width: 50px;
        height: 50px;
    }

    .navbar-nav .active:after {
        display: none;
    }

}


/*반응형 max 576px sm*/
@media (max-width: 575.98px) {
    .modal_video .video {
        border-radius: 1rem;
    }

    .modal_close {
        background: none;
        border: none;
        color: #fff;
        font-size: 2.6rem;
        position: absolute;
        top: -40px;
        right: 0
    }

    #footer .scroll_top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;

    }



}