@charset "utf-8";
/*
Theme Name:     twentytwenty-child
Description:    eCIS에서 제작한 커스텀 테마입니다.
Author:         Ecis co.,ltd.
Author URI:     http://clubj.co.kr/
*/


/* common */
*{
  font-family: 'SUIT', sans-serif;
  letter-spacing: 0;
}

ul, li, ol{
  margin: 0;
  padding: 0;
  list-style: none;
}

.grecaptcha-badge {
  width: 0 !important;
  height: 0 !important;
}

section {
  padding: 0;
}

table {
  margin: 0;
  font-size: inherit;
}

table th {
  background: #fafafa;
  color: #222;
  font-weight: 500;
}

/* header */
.home #site-header{
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

#site-header .header-inner .primary-menu>li>a {
  color: #444;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 500;
}

.header-inner {
  max-width: 1140px;
  padding: 2rem 0;
}

#site-header {
  background-color: transparent;
  transition: background-color ease-in-out .5s;
  z-index: 999;
}

#site-header.fixed {
  background-color: rgba(255, 255, 255, 0.88);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#site-header.fixed .header-inner {
  padding: 1.5rem 0;
}

.home #site-header .header-inner .primary-menu>li>a {
  text-decoration: none;
}
#site-header.fixed .header-inner .primary-menu>li>a:hover{
  color: #1b388d;
}

.primary-menu ul {
  border-radius: 0;
  top: calc(100% + 2.9rem);
}

#site-header.fixed .primary-menu ul{
  top: calc(100% + 2.4rem);
}

body:not(.overlay-header) .primary-menu ul {
  left: 50%;
  margin-left: -10rem;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.15);
}

body:not(.overlay-header) .primary-menu>li>ul:after {
  content: none;
}

.primary-menu ul:before {
  height: 3rem;
}

.primary-menu>li {
  margin-left: 2.5rem;
  overflow: hidden;
}

.primary-menu>li:hover {
  overflow: visible;
}

body:not(.overlay-header) .primary-menu>li>.icon {
  display: none;
}

.primary-menu > li.menu-item-has-children > a{
  padding: 0 !important;
}

.primary-menu .current_page_ancestor,
.primary-menu .current_page_ancestor>a,
.primary-menu li.current-menu-item>a,
.primary-menu li.current-menu-item>.link-icon-wrapper>a {
  text-decoration: none !important;
  /* color: #1b388d !important; */
  font-weight: 600 !important;
}

.primary-menu ul.sub-menu{
  padding: 0;
}

.primary-menu ul.sub-menu a{
  text-transform: capitalize;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.2rem 2rem;
}

.primary-menu ul.sub-menu li:last-child a{
  border: 0;
}

.primary-menu ul.sub-menu a:hover{
  text-decoration: none;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
}

.primary-menu li.menu-item:nth-child(1) ul{
  background: #1B388D;
}
.primary-menu li.menu-item:nth-child(3) ul{
  width: 24rem;
  background: #0091c7;
}
.primary-menu li.menu-item:nth-child(4) ul{
  background: #1F263C;
}



.mobile-nav-toggle .toggle-inner .toggle-text {
  display: none;
}

body:after {
  display: block;
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0;
  transition: opacity ease-in 0.25s;
  z-index: -1;
}

body.showing-menu-modal:after {
  z-index: 1000;
  opacity: .5;
  transition: opacity ease-out 0.15s;
}

.menu-modal {
  transition: transform ease-in 0.25s, left ease-in .25s;
  width: 70%;
  transform: translateX(100%);
  opacity: 1;
  z-index: 1001;
  left: 100%;
  right: auto;
}

.menu-modal.active {
  transform: translateX(0);
  left: 30%;
  transition: transform ease-out 0.25s, left ease-out .25s;
}

.menu-wrapper {
  width: 100%;
}

.menu-modal .toggle .toggle-text {
  display: none;
}

.modal-menu {
  width: 100%;
  left: 0;
}

button.sub-menu-toggle {
  border-left: 0;
}

.modal-menu li {
  border: 0;
}

.modal-menu li a {
  color: #222;
}

.modal-menu ul li a {
  font-size: 16px;
  font-weight: 400;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
}

.modal-menu>li>.ancestor-wrapper>a {
  font-size: 18px;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  font-weight: 500;
}

.menu-wrapper .active {
  margin-bottom: 1.5rem;
}

.modal-menu li.current-menu-item>.ancestor-wrapper>a,
.modal-menu li.current_page_ancestor>.ancestor-wrapper>a {
  color: #1b388d;
  text-decoration: none;
}

button.sub-menu-toggle svg {
  width: 1.2rem;
}

@media screen and (max-width: 699px) {
  .header-inner {
    padding: 2rem 0;
  }

  button.close-nav-toggle {
    padding: 2.7rem 2.5rem;
  }
}

/* footer */
#site-footer {
  padding: 0;
  background-color: #333;
  color: inherit;
  font-size: 14px;
}

#site-footer .section-inner {
  max-width: 1140px;
}

.to-the-top {
  position: fixed;
  right: 5rem;
  bottom: -50px;
  width: 50px;
  height: 50px;
  background: #00aeef;
  border-radius: 5px;
  overflow: hidden;
}

.to-the-top.fixed {
  bottom: 7rem;
  z-index: 1;
}

.to-the-top span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-width: 2px 0 0 2px;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -4px;
  margin-left: -9px;
}


@media screen and (max-width: 768px) {
  .to-the-top.fixed {
    bottom: 4rem;
  }

}