@charset "UTF-8";
/*-------------------------------------------------
title       : 레이아웃 반응형
Author      : 플랜아이 moni
Create date : 2024-01-10
-------------------------------------------------*/
@media (max-width: 1800px) {
  #footer .btn_top {
    margin-left: 0;
    right: 2rem;
    left: initial;
  }
}
@media (max-width: 1700px) {
  #logo {
    margin: 0 0 0 2rem;
  }
  #gnb1 > ul {
    width: calc(100% - 25rem - 36rem - 2rem);
    margin-right: 25rem;
  }
  #gnb1 > ul > li {
    margin: 0 3rem;
  }
}
@media (max-width: 1500px) {
  #gnb1 > ul > li {
    margin: 0 1.2rem;
  }
  #hnb .list {
    right: 13.5rem;
  }
  #search .control.open {
    right: 11rem;
  }
  #gnb2 > ul > li {
    padding: 10.7rem 2rem 5rem;
  }
  #gnb2 > ul > li > a::before {
    left: -2rem;
  }
}
@media (max-width: 1460px) {
  #gnb1 > ul .submenu::after {
    width: 25rem;
  }
  #gnb1 > ul .submenu .desc {
    padding-left: 2rem;
    font-size: 1.5rem;
    line-height: 2.4rem;
  }
  #gnb1 > ul .submenu .desc .title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  #gnb1 > ul .submenu > ul {
    padding: 4.5rem 2rem 2.5rem 5rem;
  }
}
@media (max-width: 1280px) {
  #gnb1 {
    display: none;
  }
  #gnb2 > ul {
    display: block;
    width: 50rem;
    max-width: 100%;
    height: calc(100vh - 9rem);
    -webkit-transform: translateX(0);
            transform: translateX(0);
    background: #034EA2;
    margin: 0;
    z-index: 10;
    overflow-y: auto;
    border-top: none;
    position: absolute;
    top: 9rem;
    right: 0;
    left: initial;
  }
  #gnb2 > ul > li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto !important;
    border-right: none;
    max-width: 100%;
    position: initial;
    opacity: 1;
  }
  #gnb2 > ul > li::before {
    display: none;
  }
  #gnb2 > ul > li:first-child {
    border-left: none;
  }
  #gnb2 > ul > li > a {
    position: relative;
    float: none;
    width: 100%;
    margin-bottom: 0;
    padding: 2rem 2rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  #gnb2 > ul > li > a::before {
    content: "\ea6c";
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-family: "remixicon";
    position: absolute;
    left: inherit;
    right: 1rem;
    top: 50%;
    font-weight: 300;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background: #fff;
    opacity: 0;
  }
  #gnb2 > ul > li > a:hover, #gnb2 > ul > li > a:focus {
    color: #fff;
  }
  #gnb2 > ul > li > a:hover::before, #gnb2 > ul > li > a:focus::before {
    height: 2rem;
  }
  #gnb2 > ul > li.on > a::before {
    height: 2rem;
  }
  #gnb2 > ul > li.active > a {
    background-color: #fff;
    color: #000;
    text-decoration: none;
  }
  #gnb2 > ul > li.active > a::before {
    opacity: 1;
  }
  #gnb2 > ul > li.active .submenu {
    visibility: visible;
    overflow: visible;
    opacity: 1;
  }
  #gnb2 > ul.active > li > a {
    width: 18rem;
    text-align: left;
    padding: 2.2rem 3rem 2.2rem 2rem;
  }
  #gnb2 > ul.active .submenu {
    width: calc(100% - 18rem);
    left: 18rem;
    min-height: 80rem;
  }
  #gnb2 .submenu {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    float: none;
    width: 0;
    height: 0;
    padding: 1.5rem 2rem;
    background: #fff;
    position: absolute;
    top: 0rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    height: calc(100vh - 9rem);
  }
  #gnb2 .submenu > ul > li {
    margin-bottom: 0;
  }
  #gnb2 .submenu > ul > li > a {
    max-width: 100%;
    border-radius: 0;
    color: #000;
    border-bottom: none;
    position: relative;
    font-size: 1.9rem;
    padding: 1.8rem 3rem 1.8rem 1rem;
    font-weight: 500;
    display: block;
    border-bottom: 1px solid #E6E6E6;
    line-height: 2.5rem;
  }
  #gnb2 .submenu > ul > li._plus > a::before {
    content: "\ea4e";
    font-family: "remixicon";
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 1rem;
    top: 2.2rem;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
  }
  #gnb2 .submenu > ul > li._plus.active > a::before {
    content: "\ea78";
  }
  #gnb2 .submenu > ul > li.active .gnb_d3 {
    visibility: visible;
    overflow: visible;
    opacity: 1;
    height: auto;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid #E6E6E6;
  }
  #gnb2 .gnb_d3 {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    float: none;
    width: 100%;
    height: 0;
    margin-top: 0;
    background: #F7F7F7;
  }
  #gnb2 .gnb_d3 a {
    color: #333;
    font-size: 1.7rem;
    margin: 0.7rem 0;
    display: inline-block;
    font-weight: 400;
  }
  #gnb2 .gnb_d3 a::before {
    background-color: #A7A7A7;
  }
  #gnb2 .gnb_d3 a:hover, #gnb2 .gnb_d3 a:focus {
    color: #333;
    text-decoration: underline;
  }
  #gnb2 .gnb_d3 a:hover::before, #gnb2 .gnb_d3 a:focus::before {
    color: #333;
    background-color: #A7A7A7;
  }
  #gnb2.active {
    background: rgba(0, 0, 0, 0.5);
  }
  #gnb2.active::before {
    content: "";
    width: 50rem;
    height: 9rem;
    background: #2E2D2D;
    position: absolute;
    right: 0;
    top: 0;
  }
  #gnb2.active > ul {
    height: calc(100vh - 9rem);
    min-height: 80rem;
  }
  #footer {
    padding: 4rem 0 10rem;
  }
  #footer .btn-top {
    bottom: 25rem;
  }
  #footer .mark {
    bottom: 3.5rem !important;
    left: 0;
    right: inherit;
  }
  #footer .related {
    position: relative;
    bottom: inherit !important;
    margin-bottom: 5rem;
  }
  #fnb1 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 2rem;
  }
  #fnb1 .group1 {
    margin-bottom: 0;
  }
  #fnb1 .group1 li {
    margin-right: 2rem;
  }
  #fnb1 .group2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    margin-bottom: 1rem;
  }
  #fnb2 .group1 li {
    margin-right: 2rem;
  }
  #siteinfo {
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  #search .close {
    right: 4rem;
    top: 4rem;
  }
  #search.active .group {
    width: 50rem;
    padding: 12rem 6rem;
  }
  #footer {
    padding: 4rem 0 5rem;
  }
  #footer .mark {
    position:static;
    margin-top:2rem;
  }
  #siteinfo .copyright {
    margin-top: 2.5rem;
  }
  [id*="layerPopup"] {
    width: 100% !important;
    height: auto !important;
    top: 50% !important;
    left: 50% !important;
    max-width: 85%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  [id*="layerPopup"] .popup_cont {
    width: 100% !important;
    height: 100% !important;
  }
  [id*="layerPopup"] .popup_cont img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 500px) {
  .header_wrap.active #hnb .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1;
    right: inherit;
    left: 2rem;
  }
  .header_wrap.active #hnb .list a {
    color: #fff;
  }
  .header_wrap.active #hnb .list li:last-child a:after {
    display: none;
  }
  #logo {
    width: 30rem;
  }
  #hnb .list {
    display: none;
  }
  #gnb2.active::before {
    width: 100%;
  }
  #gnb2.active > ul {
    width: 100%;
  }
  #search .group .title_sch {
    font-size: 4rem;
  }
  #search .form {
    margin: 6rem 0 7rem;
  }
  #search.active .group {
    width: 100%;
    padding: 6rem 4rem;
  }
}
@media (max-width: 300px) {
  #logo {
    width: 26rem;
  }
  #search .control.open {
    right: 10rem;
  }
}