/*!
 * sux v1.0.1 (http://streamux.com)
 * Copyright 2016-2017 Streamux, Inc.
 * Licensed under MIT (https://github.com/streamux/sux/master)
 */

.sx-wrapper{
  position: relative;
  margin:0 auto;
  max-width: 1024px;
  height: 100%;
}
.sx-header{
  position: fixed;
  top:0;
  z-index: 1000;
  width: 100%;
}
.sx-header-active{
  height:100%;
}
.sx-container{ 
  overflow: hidden;
  position: relative;  
  margin: 0 auto;
  max-width: 1024px;
}
.sx-footer{
  position: relative;
  line-height:50px;
  text-align: center;
  color:#fff;
  background-color: #333;
}
.sx-footer a{
  color: #fff;
}
.sx-footer a:hover{
  color: #fff;
}

html,
body,
nav{
  width: 100%;
  height: 100%;
}

/* Skip */
.sx-skip-menu{  
  position: absolute;
}
.sx-skip-menu > a{
   position: relative;
   display: block;
   top:-1000px;
   padding:15px 30px;
   font-size: 1.250em;
   font-weight: bold;
   text-decoration: none;
   background-color: #fff;
}
.sx-skip-menu > a:focus{
  top:0;
  z-index: 9999;
}

/* logo */
.sx-logo{
  position: absolute;
  top: 4px;
  left: -54px;
  z-index: 1000;
  margin-top:0;
  margin-left:50%;
}
.sx-logo img {
  width:50px;
  height:24px;
}
.sx-logo-title{
  position: relative;  
  top:-1px;
  margin-left: 5px;
  font-size: 17px; 
  color: #fff;
  vertical-align: middle;
}

/* gnb menu*/
.sx-header-bar,
.sx-nav,
.sx-gnb-case{
  height:55px;
}
.sx-gnb-login-wrap{
  display: inline-block;
  position: relative;  
  right: 65px;
  z-index: 1000;
  margin-left:100%;
  width: 65px;
  height: 55px;
}
.sx-gnb-login-wrap .sx-gnb-login{
  position: relative;
  top:14px;
  left: 25px;
}
.sx-gnb-login-wrap .sx-gnb-login i{
  color: #e3e3e3;
}
.sx-gnb-login-wrap .sx-login-panel {
  display: none;
  position: absolute;
  top:54px;
  right: 0;
  width: 250px;
  height: 120px;
  background-color: #4e4e4e;
  border:1px solid #333;
  border-top:0 solid #333;
}
.sx-gnb-login-wrap .sx-login-panel li {
  float: left;
  border: 1px solid #f00;
}
.sx-user-picture{
  width:32px;
  height:32px;
  background:url('./images/icon_Info_picture.png') center center no-repeat #ffffff;
  background-size: 100%;
  -webkit-border-radius: 2em;
      -moz-border-radius: 2em;
           -o-border-radius: 2em;
                border-radius: 2em;
}

.sx-bgcover {
  display: none;
  position:fixed;
  -webkit-transform: translateZ(0);
  z-index:0;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(000,000,000,0.5);
}
.sx-bgcover-active{
  display:block;
}
.sx-nav{  
  margin-top: -55px;
  background-color: #3e3e3e;
}
.sx-menu-btn{
  position: absolute;
  top:13px;
  left:12px;
  vertical-align: middle;
  width: 35px;
  height: 35px;
  cursor: pointer;
}
.sx-menu-btn.active{
  top:-1000px;
}
.sx-menu{
  width: 28px;
}
.sx-menu > li{
  height: 2px;
  margin:5px 0;
  background-color: #d3d3d3;
}

/* gnb close */
.sx-close-btn{
  position: absolute;
  top:-1000px;
  left:12px;
  display: inline-block;
  padding-top:14px;
  height: 30px;

  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);

  -webkit-transition: transform 0.7s ease-out;
  -o-transition: transform 0.7s ease-out;
  transition: transform 0.7s ease-out;
  cursor: pointer;
}
.sx-close-active{
  top:10px;
  -webkit-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);
}
.sx-close-inactive{
  top:10px;
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.sx-close > li{
  width: 30px;
  height: 1px;
  background-color: #d3d3d3; 
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);  
}
.sx-close > li:first-child{  
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* gnb panel */
.sx-nav-bar{
  position: absolute;
  z-index: 2000;
  left:100%;
  width: 100%;
  height: 100%; 
}
.sx-nav-active{
  left: 55px;
}
.sx-gnb-case{
  height: 100%;
  -webkit-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);

  -webkit-transition: transform 0.25s ease-out;
  -o-transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
}
.sx-gnb-case.sx-slide-in{  
  -webkit-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);  
}

.sx-gnb{  
  background-color: #3e3e3e;
  height: 100%;
}
.sx-gnb a{ 
  text-decoration: none;
  -webkit-transition: background-color .2s ease-out;
          -o-transition: background-color .2s ease-out;
               transition: background-color .2s ease-out;
}
.sx-gnb a.active,
.sx-gnb a:hover{  
  background-color: #4e4e4e;  
}
.sx-gnb > li > a{
  display: block;
  padding:16px 10px;
  color:#e3e3e3;
  font-size: 0.9375em;
  background-color: #3e3e3e;  
}
.sx-gnb > li > a > i{
  position: relative;
  top:3px;
  margin-right: 5px;
  font-size:1.5em;
}
.sx-sub-case{
  -webkit-transition: height .3s ease-out;
  -o-transition: height .3s ease-out;
  transition: height .3s ease-out;  
  -webkit-transform-origin: top;
  -o-transform-origin: top;
  transform-origin: top;
  height:0;
  position: relative;
  overflow: hidden;
}
.sx-sub-case.sx-slide-in{
  /*height:auto; control in javascript*/
}
.sx-sub-case.sx-slide-out{
  height:0;
}
.sx-sub-case .sx-drap-menu{
  background-color: #fff;
  border: 1px solid #e3e3e3;
  -webkit-transition: -webkit-transform .3s ease-out;
          -o-transition: -o-transform .3s ease-out;
              transition: transform .3s ease-out;
  -webkit-transform: translateY(-100%);
          -o-transform: translateY(-100%);
              transform: translateY(-100%);
}
.sx-sub-case .sx-drap-menu.sx-slide-in{ 
  -webkit-transform: translateY(0);
          -o-transform: translateY(0);
              transform: translateY(0);
}
.sx-sub-case .sx-drap-menu.sx-slide-out {
  -webkit-transform: translateY(-100%);
          -o-transform: translateY(-100%);
              transform: translateY(-100%);
}
.sx-sub-case .sx-drap-menu .divider{
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.sx-sub-case .sx-drap-menu > li > a{
  display: block;
  padding:8px 25px 8px 47px;
}
.sx-sub-case .sx-drap-menu > li > a:hover{
  color: #fff;
}

/* pagination */
.sx-pagination-group{
  margin:15px auto;
  text-align: center;  
}
.sx-pagination-group .sx-pagination{
  margin:0 2px;
  -webkit-border-radius:2em;
          -o-border-radius:2em;
              border-radius:2em;
}
.sx-pagination-group .sx-nav-prev{
  margin-right: 7px;
}
.sx-pagination-group .sx-nav-next{
  margin-left: 7px;
}

/* home contents layout*/
.sx-content {
  position: relative;
  margin-top: 75px;
  margin-bottom: 55px;
  padding: 0 10px;
  width: 100%;
}
.sx-content .sx-edgebox{
  padding:10px 10px;
}
.sx-content h1{
  font-size: 1.875em;
  margin-bottom: 35px;
}
.sx-content h2{
  font-size: 1.250em;
  margin-bottom: 10px;
}
.sx-content h1.title{
  padding-bottom: 15px;
  border-bottom: 2px solid #e3e3e3;
}

.sx-content section > header > .sx-row .search_title,
.sx-content section > header > .search_form .title_down,
.sx-content section > header > .search_form .sx-form-inline .search_title {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px; 
}
.sx-content section > header .sx-row,
.sx-content section > header .search_form .sx-form-inline{
  display:inline-block;
  width:100%;
  margin-bottom: 5px;
}
 /*pull-right 클래스 사용 시 우즉 5px 밀림 증상 제거 */ 
.sx-content section > header .search_form .sx-form-inline .sx-input-group,
.sx-content section > header  .sx-row a.sx-btn{
  margin-right: 0;
}
.sx-content section > header .search_form .sx-form-inline .sx-input-group,
.sx-content section > header .sx-row a.sx-btn,
.sx-content section > header .search_form input.sx-btn,
.sx-content section > header .search_form a.sx-btn{
  width:100%;
}

.sx-content .sx-box-content{
  padding:10px 10px;
  border: 1px solid #ddd;
}

.sx-text-warning > i{
  position: relative;
  top:3px;
  margin-right: 5px;
  font-size: 1.5em;
}

@media (min-width: 768px) {
  .sx-header{
    height: auto;
  }
  .sx-logo{
    margin-left: 70px;
  }
  .sx-nav{
    position: relative;
    padding-left:175px;
    max-width: 1024px;
  }
  .sx-menu-btn{
   display: none;
  }
  .sx-nav-bar{
    position: relative;
    left:0;
    height: auto;
  }
  .sx-bgcover-active{
    display:none;
  }
  .sx-gnb-case {
    position: absolute;
    background-color: #333;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  } 
  .sx-close-btn{
    display: none;
  }
  .sx-gnb{
    background-color: transparent;
  }
  .sx-gnb > li{
    float: left;
  }
  .sx-gnb > li > a{
    display: inline-block;
    text-align: center;
  }
  .sx-sub-case{
    margin-top: 1px;
  }
  .sx-sub-case .sx-drap-menu > li > a{
    display: block;
    padding:8px 25px 8px 20px;
  }
  .sx-sub-case .sx-drap-menu{
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-top:1px solid transparent;
    -webkit-border-radius:0 0 0.3em 0.3em;
            -o-border-radius:0 0 0.3em 0.3em;
                 border-radius:0 0 0.3em 0.3em;
  }
  .sx-gnb-case.sx-slide-out{  
    -webkit-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);  
  }

  /* gnb logiin */
  .sx-gnb-login-wrap .sx-gnb-login{
    position: absolute;
    top:14px;
  }
  .sx-gnb-login-wrap .sx-login-panel {
    clear:both;
  }
  .sx-gnb-login-wrap:hover .sx-login-panel {
    display: block;
  }
  .sx-gnb-login-wrap .sx-login-panel > div{
    float: left;
  }
  .sx-gnb-login-wrap .sx-login-panel .sx-user-case{
    margin-top:17px;
    margin-left: 15px;
  }
  .sx-gnb-login-wrap .sx-login-panel .sx-user-case .sx-user-picture{
    width: 80px;
    height: 80px;    
    -webkit-border-radius: 4em;
    -moz-border-radius: 4em;
    -o-border-radius: 4em;
    border-radius: 4em;
  }
  .sx-gnb-login-wrap .sx-login-panel .sx-info-case{
    margin-top:15px;
    margin-left:25px;
  }
  .sx-gnb-login-wrap .sx-login-panel .sx-info-case > a{    
    display: block;
    padding:4px;
    width: 100px;
    color:#eee;
    font-family: "WebNanum", Dotum, sans-serif;
  }

  /* search start */
  .sx-content section > header .sx-row,
  .sx-content section > header .search_form .sx-form-inline{
    position: relative;
  }
  
  .sx-content section > header > .sx-row .search_title,
  .sx-content section > header > .search_form .title_down,
  .sx-content section > header > .search_form .sx-form-inline .search_title {
    position: absolute;
    bottom: 0; 
    margin-bottom: 0;
  }

  .sx-content section > header > .sx-row a.sx-btn,
  .sx-content section > header > .search_form .sx-form-inline .sx-input-group{
    margin-right: 0;
    margin-bottom: 0;
    width:auto;
  }
  .sx-content section > header > .search_form select {
    margin-right: 3px;
  }
  .sx-content section > header > .search_form select.sx-form-control,
  .sx-content section > header > .search_form input.sx-btn,
  .sx-content section > header > .search_form a.sx-btn{  
    width:auto;
  }
  /* seart end */

  footer{
    clear: both;
  }
}


