@font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 400;
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot');
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.eot?#iefix') format('embedded-opentype'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff') format('woff'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.ttf') format('truetype');
}

@font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 700;
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot');
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.eot?#iefix') format('embedded-opentype'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.woff') format('woff'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebBold.ttf') format('truetype')
}

@font-face {
    font-family: 'NanumBarunGothic';
    font-style: normal;
    font-weight: 300;
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot');
    src: url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot?#iefix') format('embedded-opentype'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.woff') format('woff'), url('//fastly.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.ttf') format('truetype');
}

.nanumbarungothic * {
    font-family: 'NanumBarunGothic', sans-serif;
}

/* */

body {
    word-break: keep-all;
    font-family: 'NanumBarunGothic', sans-serif;
}

/* 레이아웃 */

#header-navbar .container {
    max-width: 1400px !important;
}

#main-wrap .con-clinic.container {
    max-width: 100% !important;
}

p {
    font-size: 18px;
    font-weight: 300;
}

#header-navbar.sticky-top {
    position: fixed;
    width: 100%;
}

#header-navbar.sticky-top.fixed {
    border-bottom: 1px solid #eee;
}

.fixed#header-navbar {
    background: #fff;
}

#header-navbar {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0);
}

/* 메뉴 */

#header-navbar .site-nav a {
    font-size: 18px;
    color: #fff;    
}

#header-navbar .site-nav .has-sub .dropdown>li>a {
    font-size: 16px;
    color: #333;
}

.fixed#header-navbar .site-nav a {
    color: #333;
}

/* popup */

.dialog {
    position: relative;
    max-width: 500px;
    margin: 40px auto;
}

.modal_box {
    position: relative;
    padding: 40px 10px;
    background: #fff;
    text-align: center;
}

.modal_header {
    text-align: left
}

.mfp-content .mfp-close {
    display: block;
    overflow: hidden;
    top: -40px;
    right: 2px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    text-indent: -9999em;
    -webkit-transition: -webkit-transform 1s cubic-bezier(.075, .82, .165, 1);
    transition: -webkit-transform 1s cubic-bezier(.075, .82, .165, 1);
    transition: transform 1s cubic-bezier(.075, .82, .165, 1);
    transition: transform 1s cubic-bezier(.075, .82, .165, 1), -webkit-transform 1s cubic-bezier(.075, .82, .165, 1);
}

.mfp-content .mfp-close:before,
.mfp-content .mfp-close:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -3px;
    width: 30px;
    height: 1px;
    background-color: #fff;
    transition: .4s ease-in-out;
    -webkit-transition: .4s ease-in-out
}

.mfp-content .mfp-close:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg)
}

.mfp-content .mfp-close:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg)
}

.mfp-content .mfp-close:hover {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg)
}

/* ICON */

i.i-com {
    flex-shrink: 0;
    display: inline-block;
    /* margin: 0 10px 0 0; */
}

i.i-1 {
    width: 36px;
    height: 36px;
    background: url(../img/home/ico_1.png) no-repeat 0 0;
    background-size: 36px;
}

i.i-2 {
    width: 36px;
    height: 36px;
    background: url(../img/home/ico_2.png) no-repeat 0 0;
    background-size: 36px;
}

i.i-3 {
    width: 36px;
    height: 36px;
    background: url(../img/home/ico_3.png) no-repeat 0 0;
    background-size: 36px;
}

i.i-4 {
    width: 36px;
    height: 36px;
    background: url(../img/home/ico_4.png) no-repeat 0 0;
    background-size: 36px;
}

/* */

.jmenu * {
    color: #fff;
}

.fixed .jmenu * {
    color: #333;
}

.site-nav .has-sub>a:before {
    display: none;
}

#header-navbar .bi::before {
    color: #fff;
}

#header-navbar.fixed.sticky-top .bi::before {
    color: #333;
}

#header-navbar.fixed.sticky-top .jmenu img {
    filter: invert(100%);
}

.nav-pills .nav-link {
    font-size: 30px;    
    font-weight: 500;
}

.nav-pills .nav-link.active {
    color: #ffffff;
    background-color: #000000;
    font-weight:600;
    border-radius: 30px;
}

/* */

.site-footer-wrap .grid .g-col-lg-4:nth-child(1) .grid {
    margin: 0 0 15px;
}