/********* header CSS *********/

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.2s;
    z-index: 99;
}

/* 메인배너 아래로 내려 갈 시 헤더 효과 */
header.on {
    background-color: var(--point);
}

/* 스크롤 다운>헤더 없어짐 / 스크롤 업>헤더 나타남 */
header.up {
    transform: translateY(-100%);
}

header.down {
    transform: translateY(0);
    background: #fff;
}

/* 서브에서 헤더 디폴트 상태 = 흰색배경*/
/* header:not(:has(+ .main)){
    background: var(--point);
} */
/* header:not(:has(+ .main)) .pc-nav > li > a,
header:not(:has(+ .main)) .hd-btn__wrap .hd-info a {
    color: #111;
}
header:not(:has(+ .main)) .btn-menu .bar {
    background: #111; 
} */



/*.menu-call {
    display: none;
}*/
.m-global-menu {
    display: none;
}

.hd-wrap {
    height: 10rem;
    align-items: center;
}

.hd-login {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    padding: 4rem 2rem;
}

.hd-login ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}

.hd-login ul li {
    margin-left: 1rem;
}

.hd-login ul li a {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
}

.hd-login ul li a:hover {
    color: var(--point2);
}

.hd-wrap.inner {
    max-width: 1500px;
}

.hd-wrap,
.pc-menu,
.pc-nav,
.hd-btn__wrap {
    display: flex;
    flex-flow: row wrap;
}

.hd-wrap {
    justify-content: space-between;
}

.logo {
    width: 20%;
    height: 5rem;
    max-width: 215px;
    display: flex;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pc-nav {
    width: calc(80% - 15rem);
    padding-inline: 6%;
    justify-content: space-between;
    position: relative;
}

.pc-nav>li:first-child .sub-menu__wrap ul li:last-child,
.m-nav>li:first-child ul.sub-menu li.m-open a:last-child {
    display: none;
}

.pc-nav>li {
    font-size: 2.4rem;
    line-height: 10rem;
    position: relative;
}

.pc-nav>li>a {
    color: #fff;
    padding-bottom: 1rem;
    position: relative;
}

.pc-nav>li>a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--point2);
    transition: all 0.3s;
}

.pc-nav>li:hover>a::before {
    width: 100%;
}

.sub-menu__wrap {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
    background: #fff;
    padding-inline: 3.5rem;
}

.sub-menu__wrap li a {
    font-size: 2rem;
    display: block;
    padding: 2rem 0;
    border-bottom: 1px solid #ccc;
}

.sub-menu__wrap li a:hover {
    color: var(--point2);
}

/* 메뉴 슬라이드 다운 */
.pc-nav::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 100vw;
    height: 0;
    transition: all 0.3s;
}

.show-menu .pc-nav::before {
    height: var(--submenu-height, 0px);
}

.show-menu .sub-menu__wrap {
    visibility: visible;
    height: var(--submenu-height, 0px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* global-menu */
.show-menu .global-menu__list {
    visibility: visible;
    height: var(--global-menu-height, 0px);
}

.hd-btn__wrap {
    width: 18rem;
    align-items: center;
    justify-content: flex-end;
}

.global-menu>li {
    padding-inline: 4rem;
    line-height: 10rem;
    position: relative;
}

.global-menu>li>img {
    position: relative;
    transform: translateY(100%);
}

.global-menu>li span {
    color: #fff;
    padding-left: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.global-menu__list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.global-menu__list .sub-menu {
    padding: 1rem 0;
}

.global-menu__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    padding-inline: 3.5rem;
    padding-block: 1rem;
}

/* 약관 스타일 */
.agreeWrap {
    font-size: 1.3rem;
    font-weight: normal;
    line-height: 1.6rem;
    width: 100%;
    table-layout: auto;
}

nd-table-striped {
    width: 100%;
    table-layout: auto;
}

.nd-table-striped thead {
    background: #ededed;
    font-weight: 600;
}

.nd-table-striped th,
.nd-table-striped td {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
}


@media (max-width:1640px) {
    .hd-login {
        display: none;
    }
}

@media (max-width:1400px) {
    .global-menu {
        display: none;
    }

    .hd-login {
        display: block;
        right: 10em;
    }
}

@media (max-width:1080px) {
    .m-global-menu {
        display: block;
        width: 5rem;
        position: relative;
    }

    .m-global-menu-logo {
        display: flex;
    }

    .m-global-menu-logo .lang-text {
        display: flex;
        align-items: center;
        margin-left: 1rem;
        font-size: 1.6rem;
        color: #fff;
        font-weight: 500;
    }

    .m-global-menu>li {
        cursor: pointer;
    }

    .m-global-menu .global-menu__list {
        position: fixed;
        top: 10rem;
        left: 0;
        transform: none;
        z-index: 100;
        background: #fff;
        width: max-content;
        height: 0;
        overflow: hidden;
        transition: all 0.3s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .m-global-menu>li.show-menu .global-menu__list {
        visibility: visible;
        height: auto;
        /* 고정값 대신 auto 사용 시 JS에서 계산된 값이 적용됩니다 */
    }

    .m-global-menu .global-menu__list a {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width:768px) {

    .regAgree {
        max-height: 160px;
    }

    .agree_check_box {
        margin-bottom: 30px;
    }
}

@media (max-width:720px) {
    .hd-login {
        display: none;
    }
}

.btn-menu {
    width: 3.3rem;
    height: 3.3rem;
    cursor: pointer;
}

.m-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 37, 55, 0.95);
    z-index: 99;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    overflow: auto;
}

.m-menu-top a {
    display: none;
}

.m-menu .m-menu-inner {
    width: 92%;
    max-width: 1590px;
    margin-top: 10%;
    margin-inline: auto;
    position: relative;
}

.m-menu .m-login-menu {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.m-menu .m-login-menu li {
    margin: 0;
    padding: 0;
}

.m-menu .m-login-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    padding: 0.8rem 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.5rem;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.m-menu .m-login-menu a:hover,
.m-menu .m-login-menu a:focus {
    color: var(--point);
    background: #fff;
    border-color: #fff;
}

.m-menu .m-nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.m-menu .m-nav .main-menu {
    font-size: 2rem;
    color: #fff;
    display: inline-block;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #fff;
}

.m-menu .m-nav .sub-menu a {
    display: block;
    font-size: 2rem;
    color: #ccc;
    font-weight: 300;
    padding: 1rem 0;
}

.m-menu .m-nav .sub-menu a:hover {
    color: var(--point2);
}

.m-menu-close {
    cursor: pointer;
    position: absolute;
    top: -50px;
    right: 0rem;
    transform: translateY(-100%);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}

.m-menu-close img {
    transition: all 0.4s;
}

.m-menu-close:hover {
    background: #fff;
}

.m-menu-close:hover img {
    filter: invert(1);
}

.m-menu-open .m-menu {
    visibility: visible;
    opacity: 1;
}

body.m-menu-open #bottom_plot {
    z-index: -1;
}

/* 헤더 스크롤 다운 스타일 모음 */
header.on .pc-nav>li>a,
header.on .hd-btn__wrap .hd-info a {}

header.on .btn-menu .bar {
    background: #111;
}


/* 푸터 */
footer {
    background: linear-gradient(360deg, rgba(23, 44, 63, 1) 0%, rgba(2, 72, 112, 1) 100%);
    padding-block: 20rem 14rem;
    color: #fff;
}

.ft-wrap {
    max-width: 1920px;
    margin-inline: auto;
    display: flex;
    flex-flow: row wrap;
}

.ft-wrap .left {
    width: 50%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
}

.ft-wrap .left .map {
    width: 100%;
    height: 55rem;
    overflow: hidden;
    position: relative;
}

.ft-wrap .left .map>div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
}

.ft-wrap .left .link {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

.ft-wrap .left .link li a {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    border-radius: 5rem;
    border: 2px solid #777778;
    background: #000;
}

.ft-wrap .left .link li a img {
    margin-right: 1.5rem;
}

.ft-wrap .right {
    width: 50%;
    max-width: 960px;
    padding-inline: 11rem 4%;
}

.ft-wrap h3 {
    font-family: 'GmarketSansLight';
    font-size: 4.8rem;
}

.ft-wrap .logo {
    width: 100%;
    max-width: 215px;
    margin: 2rem 0 1rem;
}

.ft-wrap p {
    font-size: max(18px, 2rem);
    font-weight: 300;
    line-height: 1.6;
    width: 100%;
}

.ft-wrap p b {
    font-weight: 500;
}

.ft-wrap .tel {
    margin-block: 2.5rem;
}

.ft-wrap .tel h4 a {
    margin-top: .5rem;
    display: inline-block;
    font-size: max(30px, 3.6rem);
    font-family: 'GmarketSansLight';
}

.ft-wrap .tel h4 a b {
    font-family: 'GmarketSansMedium';
}

.ft-wrap .time {
    display: flex;
    flex-flow: row wrap;
}

.ft-wrap .time ul:last-child {
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid #fff;
}

.ft-wrap .time ul:last-child li b {
    width: 8rem;
}

.ft-wrap .time li {
    font-size: max(16px, 2rem);
    font-weight: 300;
    line-height: 1.6;
}

.ft-wrap .time li b {
    display: inline-block;
    width: 6rem;
    font-weight: 600;
}

.ft-wrap .time li span {
    color: #eae684;
    font-weight: 600;
}

.ft-wrap .sns {
    margin-top: 2.5rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.ft-wrap .sns li:not(:last-child) {
    margin-right: 2rem;
}

.ft-wrap .root_daum_roughmap .cont .section.lst {
    display: none;
}

.ft-ai {
    position: fixed;
    right: 0.1rem;
    top: 11rem;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.ft-ai div {
    position: absolute;
    top: 65%;
    transform: translateX(45%);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
}

.ft-ai span {
    color: #429bd5;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ft-quick {
    position: fixed;
    bottom: 15%;
    right: 1.2rem;
    z-index: 999;
}

.ft-quick ul {
    padding: 2rem 1rem;
    width: 7.4rem;
    border-radius: 5rem;
    background: #142537;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.ft-quick ul li a {
    padding-block: 1rem;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
}

.ft-quick ul li span {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
    margin-top: 0.5rem;
}

.ft-quick .top-btn {
    width: 7.4rem;
    height: 7.4rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    display: flex !important;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    cursor: pointer;
}

/* 1400 = inner size */
@media (min-width:1921px) {
    .m-menu-close {
        top: -5rem;
        right: -10rem;
    }
}

@media (max-width:1400px) {
    .pc-nav {
        display: none;
    }

    .ft-wrap .right {
        padding-inline: 4%;
    }

    .ft-ai {
        width: 95px;
    }

    .ft-ai div {
        transform: translateX(49%);
    }

    .m-menu .m-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6rem 4rem;
    }

}

@media (max-width:1200px) {
    footer {
        padding-top: 0;
    }

    .ft-wrap {
        justify-content: center;
    }

    .ft-wrap .left {
        width: 100%;
    }

    .ft-wrap .right {
        width: max-content;
        padding-top: 8rem;
    }

    .m-menu-close {
        top: 0;
        transform: none;
    }
}

@media (max-width:1080px) {
    .pc-nav {
        display: none;
    }

    /*.menu-call {
        display: block;
        width: 5rem;
    }*/
    .logo {
        width: calc(100% - 15rem);
    }

    .hd-btn__wrap,
    .btn-menu {
        width: 5rem;
        height: 5rem;
    }

    .btn-menu img {
        width: 100%;
    }

    .ft-ai {
        width: 85px;
    }

    .ft-wrap .logo {
        margin: 3rem 0 2rem;
    }

    .ft-wrap .sns {
        margin-top: 4rem;
    }

}

@media (max-width:768px) {
    .ft-quick .top-btn {
        display: none !important;
    }

    .m-menu {
        background: var(--point2);
    }

    .m-menu .m-menu-inner {
        margin-block: 0;
        width: 100%;

    }

    .m-menu-top {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        height: 10rem;
        background: var(--point);
        padding-inline: 4%;
    }

    .m-menu-close {
        position: static;
    }

    .m-menu-top a {
        display: block;
    }

    .m-menu-top a:first-child img {
        height: 5rem;
    }

    .m-menu .m-login-menu {
        margin: 0;
        padding: 2rem 6%;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(0, 0, 0, 0.08);
    }

    .m-menu .m-login-menu li {
        flex: 1;
        min-width: calc(50% - 0.5rem);
    }

    .m-menu .m-login-menu a {
        width: 100%;
        min-height: 5.2rem;
        padding: 1.2rem 1.5rem;
        font-size: 2.4rem;
        font-weight: 700;
        color: #fff;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 0.6rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .m-menu .m-login-menu a:hover,
    .m-menu .m-login-menu a:focus {
        color: var(--point);
        background: #fff;
        border-color: #fff;
    }

    .m-menu .m-nav {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .m-menu .m-nav li {
        width: 100%;

    }

    .m-menu .m-nav .main-menu {
        font-size: 3rem;
        border-bottom: 0;
        padding-inline: 6%;
        line-height: 10rem;
        margin-bottom: 0;
        padding-bottom: 0;
        display: block;
        position: relative;
        border-bottom: 1px solid #fff;
    }

    .m-menu .m-nav .main-menu::before {
        content: '∨';
        position: absolute;
        top: 0;
        right: 6%;
        transform: scale3d(1.5, 1, 1.5);
    }

    .m-menu .m-nav .main-menu.on::before {
        transform: scale3d(1.5, 1, 1.5) rotate(180deg);
    }

    .m-menu .m-nav .sub-menu {
        background: #fff;
        padding: 3% 6%;
        border-radius: 0 0 1rem 1rem;
        border-radius: 0;
    }

    .m-menu .m-nav .sub-menu a {
        font-size: 2.6rem;
        color: var(--point);
        position: relative;
        padding: 1rem 1rem 1rem 3rem;
    }

    .m-menu .m-nav .sub-menu a::before {
        content: '';
        position: absolute;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--point);
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .m-menu .m-nav .sub-menu a:hover::before {
        background: var(--point2);
    }

    .ft-quick .show-768 {
        display: flex;
    }

    .ft-ai {
        width: 73px;
    }

    .ft-ai div {
        transform: translateX(48%);
    }

    .ft-quick ul li a img {
        width: 30px !important;
    }
}



@media (max-width:500px) {
    .ft-wrap .time ul {
        width: 100%;
    }

    .ft-wrap .time ul:last-child {
        width: max-content;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid #fff;
    }
}


/* modal */

.modal-backdrop.show {
    opacity: 0.6;
}

.modal {
    margin: 0 auto;
    /* margin-top: 100px; */
    z-index: 100011;
    width: 100% !important;
    padding: 20px !important;
}

.modal .modal-dialog {
    margin: 0;
}

.modal .modal-content {
    border-radius: 0px;
}

.modal-body .modal-sub-title {
    padding: 10px;
    border: 1px solid #dedede;
}

.modal-body .modal-sub-title>p {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 15px;
}

.modal-body .modal-sub-title>.modal-sub-content {
    height: 550px;
    overflow-y: scroll;
    font-size: 13px;
    color: #333333;
    padding: 30px;
}

.modal-body .modal-sub-title>.modal-sub-content h2 {
    font-size: 15px;
}

body .modal-dialog {
    max-width: 900px;
    max-height: 665px;
}

.modal .modal-header {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    color: #333;
    background-color: #fff;
    height: 25px;
    border-bottom: none;
    border-radius: 0px;
    padding: 0;
}

.modal .modal-header .modal-title {
    line-height: 20px;
}

.close {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 1;
}

.modal-body {
    padding: 0;
}

.modal-header .close {
    padding: 0px;
    width: 25px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.modal-header .close:hover {
    opacity: 1;
}

.blocker {
    z-index: 100010 !important;
}

.blocker .modal,
.blocker #loginModal {
    z-index: 100011 !important;
}

body.login-modal-open .m-menu,
body.login-modal-open header {
    z-index: 1 !important;
}

body.login-modal-open .m-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* .modal .modal-body {
    padding: 4rem 0 0;
} */

.modal a.close-modal {
    width: 2.5rem;
    height: 2.5rem;
    background-image: none;
    background: url("/images/close.png") no-repeat 50% 50% / contain;
}

.modal a.close-modal {
    top: 1.5rem;
    right: 1.5rem;
}

#plot_area {
    height: 4rem;
}

#bottom_plot {
    position: fixed;
    bottom: 0;
    height: 7rem;
    width: 100%;
    padding: 0 8vw;
    background: #429bd5;
    color: white;
    z-index: 1000;
}

#bottom_plot>div {
    height: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-around;
    max-width: 1610px;
    margin: 0 auto;
}

#bottom_plot .logo {
    margin-bottom: 1rem;
}

#bottom_plot h2 {
    font-size: 2rem;
}

#bottom_plot form .form-wrap {
    display: flex;
    gap: 1.2rem;
}

#bottom_plot form .form-wrap>* {
    height: 4rem;
    font-size: 1.5rem;
}

#bottom_plot form .submitBtn {
    color: white;
    background: transparent;
    border: solid 1px;
    font-size: 1.8rem;
    width: 220px;
}

#bottom_plot form input[type="text"],
#bottom_plot form select {
    width: 220px;
    background: white;
    border: none;
    padding: 0.5rem 0.7rem;
}

#bottom_plot form .agree-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 1rem;
}

#bottom_plot a {
    color: inherit;
}

@media (max-width: 1720px) {
    #plot_area {
        height: 7rem;
    }

    #bottom_plot {
        bottom: 4rem;
        height: 6rem;
    }

    #bottom_plot form {
        flex: 1;
    }

    #bottom_plot form .form-wrap>*:not(.agree-wrap) {
        width: 25%;
    }

    #bottom_plot form .agree-wrap {
        position: fixed;
        background: #001623;
        left: 0;
        bottom: 0;
        right: 0;
        height: 4rem;
        font-size: 1.5rem;
        margin: 0;
        justify-content: center;
    }

    #plot.active {
        bottom: 18rem;
    }

    #plot {
        bottom: 14rem;
    }
}

@media (max-width: 1210px) {
    #bottom_plot {
        padding: 0 6vw;
    }

    #bottom_plot .logo,
    #bottom_plot h2 {
        display: none;
    }
}

@media (max-width: 768px) {
    #bottom_plot {
        padding: 0 1rem;
    }

    #bottom_plot form .form-wrap {
        gap: 0.8rem;
    }

    #bottom_plot form .form-wrap>*:not(.agree-wrap) {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    #bottom_plot {
        bottom: 3rem;
    }

    #bottom_plot form .form-wrap {
        gap: 0.5rem;
    }

    #bottom_plot form .agree-wrap {
        height: 3rem;
        font-size: 1.25rem;
    }

    #bottom_plot form .form-wrap>*:not(.agree-wrap) {
        font-size: 1.2rem;
    }
}


/* 로그인 모달 스타일 */
.login_wrap {
    width: 400px;
    margin: 0 auto;
}

.login_wrap>p:nth-of-type(2) {
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    color: #121212;
    padding: 20px 0 50px 0;
    border-top: 1px solid #ededed
}

.login_wrap>p:nth-of-type(2) strong {
    font-weight: 500
}

.login_tab>label {
    display: block;
    float: left;
    font-size: 15px;
    padding-left: 20px;
    width: 179px;
    height: 33px;
    line-height: 33px;
    font-weight: 400;
    background: #fff;
    color: #7e7e7e;
    border: 1px solid #c5cbd1;
}

.login_tab>label:nth-of-type(2) {
    margin-left: -1px;
    width: 178px
}

.login_tab>label:hover {
    cursor: pointer
}


/* 실제 내용이 담긴 div 요소 스타일 지정 */
.login_tab .type {
    /* padding: 25px 0; */
    clear: both
}

.login_tab .type fieldset {
    border: 0
}

.login_tab .type dl dt {
    height: 25px;
    font-size: 15px;
    color: #999
}

.login_tab .type dl dd {
    height: 65px
}

.login_tab .type dl dd input[type=text],
.login_tab .type dl dd input[type=password] {
    height: 50px;
    /* width: calc(100% - 5px); */
    width: 100%;
    padding: 0 14px;
    border: 1px solid #ddd;
}

.login_tab .type input[type=submit] {
    height: 60px;
    border: 1px solid #194994;
    width: calc(100% - 2px);
    background-color: #293e73;
    color: #fff;
    box-shadow: 0 5px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px
}

.login_tab .type input[type=submit]:hover {
    background-color: #213360
}

.login_wrap .btns {
    padding: 0 0 15px 0;
    position: relative;
    display: flex
}

.login_wrap .btns a {
    display: inline-block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #ddd;
    margin-left: -1px
}

.login_wrap .btns a:hover {
    color: #222;
    background: #efefef;
    text-decoration: none;
    font-weight: 700
}

.login_if_auto {
    height: 55px;
    line-height: 50px;
    font-size: 14px;
}

/* 로그인 모달 — 소셜 상단 (.re_loginD) */
#loginModal.re_loginD .modal-body .modal-sub-title>p {
    padding: 15px;
}

#loginModal.re_loginD .modal-sub-title>.modal-sub-content {
    height: auto;
    overflow-y: auto;
    padding: 10px;
}

#loginModal.re_loginD #mb_login #sns_login {
    position: relative;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0 0 30px;
    border: 0;
    border-bottom: 1px solid #e8e8e8;
}

#loginModal.re_loginD #mb_login #sns_login:after {
    content: '또는';
    display: block;
    visibility: visible;
    clear: both;
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #999;
    background: #fff;
    text-align: center;
}

#loginModal.re_loginD #mb_login #sns_login h3 {
    position: static;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}

#loginModal.re_loginD #mb_login #sns_login .sns-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}

#loginModal.re_loginD #mb_login #sns_login .sns-icon {
    width: 100% !important;
    float: none !important;
    margin: 0 0 !important;
    padding-right: 40px;

}

#loginModal.re_loginD #mb_login #sns_login .txt {
    font-size: 14px;
    text-align: center;
}

#loginModal.re_loginD .login_tab .type dl dt {
    display: none;
}

#loginModal.re_loginD .login_tab .type input[type=submit] {
    height: 50px;
    box-shadow: transparent 0 0 0;
    /* margin-bottom: 40px; */
}

#loginModal.re_loginD .login_if_auto {
    height: auto;
    line-height: normal;
    margin: 10px 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

#loginModal.re_loginD .login_if_auto .selec_chk {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    outline: 0;
    z-index: -1;
    overflow: hidden;
}

#loginModal.re_loginD .login_if_auto label {
    font-size: 14px;
    line-height: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#loginModal.re_loginD .login_if_auto.chk_box input[type="checkbox"] + label span {
    width: 17px;
    height: 17px;
    display: block;
    background: #fff;
    border: 1px solid #d0d4df;
    border-radius: 3px;
}

#loginModal.re_loginD .login_if_auto.chk_box input[type="checkbox"]:checked + label span {
    background: url(../img/chk.png) no-repeat 50% 50% #3a8afd;
    border-color: #1471f6;
    border-radius: 3px;
}

#loginModal.re_loginD .login_tab .type dl dd {
    height: auto;
    margin-bottom: 10px;
}

#loginModal.re_loginD .login_wrap .btns {
    justify-content: center;
    align-items: center;
    padding: 16px 0 8px;
    margin-top: 0;
}

#loginModal.re_loginD .login_wrap .btns a {
    width: auto;
    height: auto;
    line-height: 1.5;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    background: transparent;
    border: 0;
    margin: 0;
    transition: color 0.2s ease;
}


#loginModal.re_loginD .login_wrap .btns a+a {
    border-left: 1px solid #ddd;
}

#loginModal.re_loginD .login_wrap .btns a:hover {
    background: transparent;
    color: #222;
    text-decoration: none;
    font-weight: 600;
}



/****** Mobile ******/
@media screen and (max-width:690px) {
    .login_wrap {
        width: 100%
    }
}