/* page-sub.css */
@import url("notosans-cjk-kr.css");
@import url("common.css");
@import url("animate.css");
@import url("effects.css");
@import url("comps.css");
@import url("modal.css");
@import url("floating.css");
@import url("layout.css");
@charset "UTF-8";

/* subPage inc */
header {
	background-color: #FFF;
    border-bottom: 1px solid #D4D4D4;
}

.header-nav-link {
	color: #333;
}

.container {
	min-height: calc(100vh - 192px);
	padding-top: 86px;
}

.logo-header {
	display: none;
}

.logo-header.m {
	display: block;
}
.menu-btn-area > .btn-menu {
    background: transparent url('../img/icons/ico-btn-menu-bl.png') 50% 50%/ 20px auto no-repeat;
}

.list-item-sub {
    top: 86px;
}

.footer {
    z-index: 20;
    border-top: 2px solid #171717;
}


/* 서브 페이지 상단 배경 */
.section-bg {
    z-index: 20;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 310px;
    text-align: center;
    overflow: hidden;
}

.section-bg-img,
.section-bg-img div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.section-bg-pc {
    display: block;
}

.section-bg-m {
    display: none;
}

.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1080px;
}

.section-bg-text h2 {
    margin-bottom: 10px;
    font: 700 60px 'noto';
    line-height: 1.2;
}

.section-bg-text p {
    font: 500 18px 'noto';
    line-height: 1.2;
}

.zoomAndFade {
    -webkit-animation-name: zoomAndFade;
    animation-name: zoomAndFade;
}

@-webkit-keyframes zoomAndFade {
  from {
    opacity: 0;
    -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }

  50% {
    opacity: 1;
  }

  to {
    -ms-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}


@keyframes zoomAndFade {
  from {
    opacity: 0;
    -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }

  50% {
    opacity: 1;
  }

  to {
    -ms-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/* tab menu */
.tab-menu {
    margin: 40px auto 20px auto;
    text-align: center;
}

.tab-menu li {
    display: inline-block;
    position: relative;
    padding: 0 40px;
    text-align: center;
}

.tab-menu li a {
    position: relative;
    padding: 7px 0;
    font: 500 20px 'noto';
    color: #999;
    line-height: 1;
}

.tab-menu li.active a {
    font: 700 20px 'noto';
    color: #2f7efe;
    line-height: 1;
}

.tab-menu li.active a:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #2f7efe;
}
/* // tab menu */

/* trail */
.sc.trail {
    position: absolute;
    width: 100%;
    height: 52px;
    top: 366px;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, .5);
}

.sc.trail > ul {
	position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.sc.trail > ul > li {
	float: left;
    position: relative;
    vertical-align: middle;
    height: 52px;
}

.sc.trail > ul > li.trail-home:before,
.sc.trail > ul > li:after {
	content: '';
	position: absolute;
	top: 0;
	width: 1px;
	height: inherit;
	background-color: #747474;
}

.sc.trail > ul > li.trail-home {
	left: 0;
}

.sc.trail > ul > li:after {
	right: 0;
}

.sc.trail > ul > li.trail-home {
	width: 52px;
    height: 52px;
}

.sc.trail > ul > li.trail-home a {
	display: inline-block;
    width: 100%;
    height: 100%;
    background: transparent url(../img/icons/ico-trail-home.png) 50% 50%/14px 13px no-repeat;
}

.sc.trail > ul > li > select {
	position: relative;
	padding: 0 0 0 18px;
	width: 208px;
	height: inherit;
	background: transparent url('../img/icons/ico-arrow-dw-wh.png') 90% 50%/auto auto no-repeat;
	border: 0;
	border-radius: 0;
	font: 500 15px 'noto';
	color: #FFF;
}

.sc.trail > ul > li > select > option {
	color: #333;
}

.trail ul li.hide {
    display: none;
}

/* niceSelect */
.nice-select {
	position: relative;
	width: 250px;
	height: inherit;
	-webkit-tap-highlight-color: transparent;
    background-color: transparent;
	border: 0;
	border-radius: 0;
	font: 500 15px 'noto';
	color: #FFF;
}

.nice-select:after {
	right: 20px;
	width: 10px;
	height: 6px;
	margin-top: 0;
	border: 0;
	background: transparent url('../img/icons/ico-arrow-dw-wh.png') 50% 50%/auto auto no-repeat;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.nice-select.open:after {
	background: transparent url('../img/icons/ico-arrow-up-wh.png') 50% 50%/auto auto no-repeat;
	-webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.nice-select > span {
	position: absolute;
	left: 18px;
	top: 50%;
	-ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
	transform: translateY(-50%);
    width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow:ellipsis;
    -ms-text-overflow:ellipsis;
    -moz-text-overflow:ellipsis;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.5em;
    height: 1.5em;

}

.nice-select .list {
	margin-top: 0;
	background-color: #333;
	border-radius: 0;
    -webkit-transform: scale(0.75) translateY(0);
    -ms-transform: scale(0.75) translateY(0);
    transform: scale(0.75) translateY(0);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    z-index: 9;
}

.nice-select.open .list {
    min-width: 100%;
    width: auto;
}

.nice-select:active, 
.nice-select.open, 
.nice-select:focus {
    background-color: rgba(0, 0, 0, .5);
}

.nice-select .option:hover, 
.nice-select .option.focus, 
.nice-select .option.selected.focus {
    background-color: #FF9000;
}

/* 서브 페이지 타이틀 */
.sc > .sub-title {
    text-align: center;
}

.sc > .sub-title > h2 {
    position: relative;
    width: 100%;
    padding-bottom: 25px;
    margin-bottom: 40px;
    font:  500 36px 'noto';
    color: #1C1C1C;
    line-height: 1;
}

.sc > .sub-title > h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 52px;
    height: 1px;
    background-color: #1C1C1C;
}


/* 모바일 & 태블릿 공통 */
@media(max-width: 1023px) {


    /* tab menu */
    .tab-menu {
        margin: 35px auto 20px auto;
    }

    .tab-menu li {
        padding: 0 25px;
    }

    .tab-menu li a {
        padding: 6px 0;
        font: 500 18px 'noto';
        line-height: 1;
    }

    .tab-menu li.active a {
        font: 700 18px 'noto';
        line-height: 1;
    }

    .tab-menu li.active a:before {
        content: '';
        height: 2px;
    }
    /* // tab menu */

    .container {
        min-height: auto;
        padding-top: 70px;
    }

    .footer .inner {
        height: auto;
        padding: 25px 15px;
    }

    /* 서브 페이지 상단 배경 */
    .section-bg {
        height: 350px;
        text-align: center;
    }

    .section-bg-pc {
        display: none;
    }

    .section-bg-m {
        display: block;
    }

    .section-bg-text {
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        padding-left: 0;
    }

    .section-bg-text h2 {
        font: 700 45px 'noto';
        line-height: 1.2;
    }

    .section-bg-text p {
        padding-top: 10px;
        font: 500 14px 'noto';
        line-height: 1.2;
    }

    /* trail */
    .sc.trail {
        height: 44px;
        top: 365px;
    }

    .sc.trail > ul > li {
        height: 44px;
    }

    .sc.trail > ul > li.trail-home {
        width: 44px;
        height: 44px;
    }

    .sc.trail > ul > li.trail-home a {
        background: transparent url(../img/icons/ico-trail-home.png) 50% 50%/12px 11px no-repeat;
    }

    .sc.trail > ul > li > select {
        padding: 0 0 0 18px;
        font: 500 14px 'noto';
    }

    /* niceSelect */
    .trail-one,
    .trail-two {
        width: calc(50% - 22px);
    }

    .nice-select {
        width: 100%;
        padding-left: 15px;
        padding-right: 25px;
        font: 500 14px 'noto';
    }

    .nice-select:after {
        right: 10px;
    }

    .nice-select > span {
        left: 15px;
        width: calc(100% - 40px);
        line-height: 1.5em;
        height: 1.5em;
    }

    .nice-select .option {
        padding-left: 15px;
        padding-right: 25px;
        min-height: 36px;
        font-size: 13px;
        line-height: 36px;
    }

    /* 서브 페이지 타이틀 */
    .sc > .sub-title > h2 {
        padding-bottom: 25px;
        margin-bottom: 35px;
        font: 500 26px 'noto';
        line-height: 1;
    }

    .sc > .sub-title > h2:after {
        width: 34px;
    }

}

/* 태블릿 */
@media (min-width: 768px) and (max-width: 1023px) {

    







}

/* 모바일 */
@media(max-width: 767px) {
    .footer .inner {
        padding: 25px 0;
    }
}


/* PC */
@media(min-width: 1023px) {

    .header-nav-link.active,
    header.fixed .header-nav-link.active {
        color: #337efe;
    }
	
    .header-nav-link.active:after {
        content: '';
        visibility: visible;
        opacity: 1;
        position: absolute;
        left: 0;
        bottom: -12px;
        width: 100%;
        height: 2px;
        background-color: #337efe;
        transition: all .1s ease-in-out;
    }

    header .nav-area:hover .list-item .header-nav-link:not(active) {
        color: #333;
    }

    header .nav-area:hover .list-item .header-nav-link:not(active):after {
        opacity: 0;
        visibility: hidden;
    }

    header .nav-area .list-item:hover .header-nav-link {
        color: #337efe !important;
    }
    header .nav-area .list-item:hover .header-nav-link:after {
        opacity: 1 !important;
        visibility: visible !important;
        background-color: #337efe !important;
    }
}

#editorContents {
    width: 100%;
    max-width: 100%;
    word-break: break-all;
    line-height: 1.4;
}

/* 에디터 스타일 덮어쓰기 */
#editorContents img {
    padding: 20px 0;
    width: auto;
    max-width: 100%;
    height: auto !important;
}

#youtubeWrap {
    position: relative;
    width: 80%;
    padding-bottom: 45.25%;
}

#youtubeWrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

#editorContents ol {
    padding-left: 20px;
    list-style-position: inside;
    list-style: decimal;
}

#editorContents ul {
    padding-left: 20px;
    list-style-position: inside;
    list-style: disc;
}

#editorContents table {
    width: 100% !important;
    border: 2px solid #333;
}

#editorContents table thead {
    border-bottom: 2px solid #333;
}

#editorContents table th,
#editorContents table td {
    padding: 2px;
    border: 1px solid #666;
    background-color: #FFF;
}

#editorContents strong {
    font-weight: bold;
}


