/* 레이아웃 */

#wrap {
  width: 100%;
  position: relative;
  overflow:hidden;
  /* min-width: 1200px; */
}

#header {
  width: 100%;
}

#mbanner {
  width: 100%;
}

#contents {
  width: 100%;
}

#footer {
  width: 100%;
  height: 154px;
  background-color: #555555;
}

/* 컨테이너 */

.container {
  width: 1200px;
  margin: 0 auto;
  height: inherit;
  position: relative;
}

.row {
  padding: 0 5px;
}

/* header */

#header {
  position: relative;
  width: 100%;
  z-index: 500;
  height: 135px;
}

#header.on {
  background-color: #fff;
}

#header .inhead {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  height: 0;
  background-color: #fff;
}

#header .logo {
  position: absolute;
  left: 20px;
  top: 30px;
  z-index: 2;
}

#header .login {
  position: absolute;
  right: 15px;
  top: 30px;
  z-index: 3;
}

#header .navi {
  position: absolute;
  right: 10px;
  top: 20px;
  z-index: 4;
  display: none;
}

#header .login>li {
  float: left;
  padding-left: 0px;
}

#header .login>li>a {
  position: relative;
  display: block;
  padding: 0 15px;
  font-weight: 300;
  font-size: 16px;
  line-height: 60px;
  color: #525252;
  text-align: left;
  text-decoration: none;
}

#header .login>li>a:after {
  content: "";
  width: 1px;
  height: 11px;
  background: #888;
  position: absolute;
  top: 26px;
  right: 0;
}

#header .login>li:last-child>a:after {
  background: #fff;
}

#header .gnb {
  z-index: 100;
}

#header .gnb .gnb_box {
  position: relative;
  background-color: #fff;
  /*  border-bottom:#aaa;*/
}

#header .gnb .gnb_box:hover {
  background-color: none;
}

#header .gnb_ul {
  width: 800px;
  margin: 0 auto;
  height: 135px;
}

#header .gnb_ul>li {
  float: left;
  display: inline-block;
  padding-left: 0px;
}

#header .gnb_ul>li.col1 {
  margin-left: 50px
}

#header .gnb_ul>li.col2 {
  margin-left: 80px
}

#header .gnb_ul>li.col3 {
  margin-left: 80px
}

#header .gnb_ul>li.col4 {
  margin-left: 80px
}

#header .gnb_ul>li>a {
  position: relative;
  display: block;
  padding: 32px 0 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 60px;
  color: #333F48;
  text-align: left;
  text-decoration: none;
}

#header .gnb_ul>li.active>a, #header .gnb_ul>li.on>a, #header .gnb_ul>li a:hover, #header .gnb_ul>li a:focus {
  color: #ec684f;
}

/* m_gnb */

#m_gnb {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 998;
  top: 0;
  left: 100%;
  display: none;
}

#m_gnb .gnb_block {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000;
  opacity: 0.3;
}

#m_gnb .gnb_wrap {
  width: 516px;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

#m_gnb .gnb_wrap .btn_close {
  text-align: right;
}

#m_gnb .menu_wrap {
  width: 491px;
  margin: 0 auto;
}

#m_gnb .menu_wrap .member {
  width: 491px;
  height: 97px;
  border-top: 1px solid #e4e4e4;
  position: relative
}

#m_gnb .menu_wrap .member .tit {
  width: 491px;
  height: 97px;
  line-height: 97px;
  font-size: 22px;
  color: #191919;
  padding-left: 15px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
}

#m_gnb .menu_wrap .member .tit a {
  display: block;
  width: 33.33333%;
  text-align: center;
  position: relative;
}

#m_gnb .menu_wrap .member .tit a:after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #aaa;
  width: 1px;
  height: 20px;
}

#m_gnb .menu_wrap .member .tit a.last:after {
  width: 0;
}

#m_gnb .menu_wrap .menu {
  width: 491px;
  height: 97px;
  border-top: 1px solid #e4e4e4;
  position: relative
}

#m_gnb .menu_wrap .btn_more {
  position: absolute;
  right: 0;
  top: 0;
}

#m_gnb .menu_wrap .menu .tit {
  width: 426px;
  height: 97px;
  line-height: 97px;
  font-size: 25px;
  color: #191919;
  padding-left: 15px;
  box-sizing: border-box;
}

#m_gnb .menu_wrap ul {
  padding-top: 10px;
  padding-left: 20px;
  padding-bottom: 30px;
  width: 491px;
  border-top: 1px solid #e4e4e4;
  box-sizing: border-box;
}

#m_gnb .menu_wrap ul li {
  width: 491px;
  height: 50px;
}

#m_gnb .menu_wrap ul li a {
  display: block;
  width: 491px;
  height: 50px;
  line-height: 50px;
  font-size: 25px;
  font-weight: 300;
  color: #191919;
}

/* main_block */

/* SubMenu */

#header .subdepth {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

#header .subdepth .subdepth_list {
  width: 800px;
  margin: 0 auto;
}

#header .subdepth .list_wrap {
  margin-left: 40px;
}

#header .subdepth .list {
  margin-bottom: 14px;
}

#header .subdepth .list {
  width: 1000px;
  margin: 15px auto;
}

#header .subdepth .list>li {
  float: left;
  padding: 0 8px;
  width: 127px;
  height: 100%;
}

#header .subdepth .list>li a {
  display: block;
  text-align: left;
  line-height: 40px;
  font-size: 16px;
  color: #565656;
  text-decoration: none;
  height: 40px;
  font-weight: 300;
}

#header .subdepth .list>li a:hover {
  color: #ec684f
}

#header .subdepth .list>li .on {
  color: #ec684f
}

#header .subdepth .list>.col1 {
  width: 150px;
}

#header .subdepth .list>.col2 {
  width: 145px;
}

#header .subdepth .list>.col3 {
  width: 150px;
}

#header .subdepth .list>.col4 {
  width: 120px;
}

/* // header */

/* footer */

#footer .logo {
  position: absolute;
  left: 24px;
  top: 33px;
}

#footer .address {
  display: block;
  padding: 45px 0 0 223px;
  color: #ececec;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 300;
}

#footer .address .bar {
  display: inline-block;
  width: 1px;
  height: 0.8rem;
  background-color: #555555;
  margin: 0 4px;
  vertical-align: middle;
  margin-bottom: 2px;
}

#footer .address .bar2 {
  display: inline-block;
  width: 1px;
  height: 0.8rem;
  background-color: #555555;
  margin: 0 4px;
  vertical-align: middle;
  margin-bottom: 2px;
}

#footer .copy {
  display: block;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 16px 0 0 9px;
  font-weight: 300;
}

#footer .link_list {
  position: absolute;
  left: 920px;
  top: 33px;
}

#footer .link_list ul {
  overflow: hidden;
}

#footer .link_list li {
  float: left;
  position: relative;
  padding: 0 5px
}

#footer .link_list li:first-child a:after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 2px;
  height: 70px;
  background-color: #5f5f5f;
}

#footer .link_list li:nth-child(1) a:after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 2px;
  height: 70px;
  background-color: #5f5f5f;
}

/* table style */

.table1_view {
  width: 100%;
  margin: 0 auto 0;
  border-collapse: collapse;
  color: #454545;
}

.table1_view th {
  border-top: 1px solid #bbb;
  background: #fff;
  text-align: center;
  font-size: 0.9rem;
  height: 59px;
  border-bottom: 1px solid #eee;
}

.table1_view th.first {
  width: 20%;
  background: #f7f7f7;
}

.table1_view th.last {
  width: 80%;
  text-align: left;
  padding-left: 10px;
}

.table1_view td {
  background: #fff;
  text-align: center;
  font-size: 0.9rem;
  height: 59px;
  border-bottom: 1px solid #eee;
}

.table1_view td.first {
  width: 20%;
  background: #f7f7f7;
}

.table1_view td.last {
  width: 80%;
  text-align: left;
  padding-left: 10px;
}

.table1_list {
  width: 100%;
  margin: 0 auto 0;
  border-collapse: collapse;
  color: #454545;
  font-size: 0.9rem;
  text-align: center;
  table-layout: fixed;
}

.table1_list th {
  border-top: 1px solid #bbb;
  background: #f7f7f7;
  text-align: center;
  height: 59px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}

.table1_list td {
  background: #fff;
  text-align: center;
  height: 59px;
  border-bottom: 1px solid #eee;
  font-weight: 300;
}

.table1_list td.al_left {
  text-align: left;
}

.table1_list .no {
  width: 100px;
}

.table1_list .title {
  width:auto;
}

.table1_list .title > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table1_list .attach {
  width: 80px;
}

.table1_list .date {
  width: 100px;
}

/* // table style */

.paging_wrap {
  margin: 3rem 0 3rem 0;
  text-align: center
}

.paging_wrap a {
  display: inline-block;
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d8d8d8;
  color: #6c6c6c;
}

.paging_wrap a.on {
  color: #fff;
  border: 1px solid #4a4a4a;
  background-color: #4a4a4a;
}

.paging_wrap b {
  display: inline-block;
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d8d8d8;
  color: #6c6c6c;
  color: #fff;
  border: 1px solid #4a4a4a;
  background-color: #4a4a4a;
  font-weight:normal;
}

@media screen and (max-width: 1220px) {
  html {}
  #wrap {
    min-width: 640px;
  }
  .container {
    width: 100%;
  }
  .row {
    padding: 0 20px;
  }
  
  #header .inhead {
    width: 100%;
  }
  #header .login {
    display: none;
  }
  #header .logo {
    left: 30px;
    top: 36px;
    /* left:50%;
    transform: translateX(-50%); */
  }
  #header .navi {
    display: block;
  }
  #header .logo {
  }
  
  #header .gnb {
    display: none;
  }
  #footer {
    height: auto;
  }
  #footer .logo {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    margin: 0.25rem 0;
  }
  #footer .address {
    display: block;
    padding: 6rem 1rem 1rem 1rem;
  }
  #footer .address span {
    display: block;
    text-align: center;
  }
  #footer .address br {
    display: none;
  }
  #footer .address .bar {
    display: none;
  }
  #footer .copy {
    text-align: center;
  }
  #footer .link_list {
    position: static;
    width: 355px;
    height: 100px;
    margin: 0 auto;
  }
  #footer .link_list ul {
    overflow: hidden;
  }
  #footer .link_list li {
    float: left;
    position: relative;
    padding: 0 5px
  }
}