f::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

/* 초기화 */

html, body, form, div, p, dl, dt, dd, ul, ol, li, h1 {
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  padding: 0;

  th {
    vertical-align: middle !important;
    text-align: center !important;;
  }
}

input {
  margin: 0;
}

a img {
  border: 0;
}

 
/* COMMMON */
ul {
  list-style: none;
}

.hidden_file {
/*  display: none !important; */
  display: inline-block;
  *zoom:1; *display: inline;
}

.cover_file {
}

.upload_file button,.upload_file div,.upload_file input {
  display: inline-block;
  *zoom:1; *display: inline;
}

.upload_file  div.input-append {
  vertical-align: top;
}

#bodyarea .sub .document {margin-bottom:135px !important;}



textarea {
  resize:none;
}

.only_eng {
  ime-mode:inactive !important;
}

.only_kor {
  ime-mode:active !important;
}

.txt_center {
  text-align: center !important;
}

.txt_left {
  text-align: left !important;
}

.txt_right {
  text-align: right !important;
}

.shadow_box {
  padding: 30px 20px 50px;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
  box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
}

/* margins */
.btn_w_input { /* 인풋 옆의 스몰 버튼 마진 */
  margin-bottom: 10px;
}

/* basic */

/* 게시판 테이블 */
.comment_list > li {
  clear: both;
  overflow: hidden;
  display: block;
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px dashed #ebebeb;
  // .photo {
  //  float: left;
  //  margin-right: 20px;
  // }
  // .detail {
  //  margin-left: 100px;
  // }
  .writer {
    .name { 
      color: #000 !important;
    }
    .date {
      color: #aaa !important;
      margin-left:10px;
    }
  }
  .comment_content {
    padding: 10px 0;
  }
}

.bbs_wrapper{
  // width: @container;
}

.bbs {
}

.bbs thead {
  background: #fff;
  border-bottom: 1px solid #fff;
}

.board {
  border-top: 2px solid #fff;
  border-bottom: 1px solid #fff;
}

.bbs th, .board th, .bbs_head {
  background: #fff !important;
  text-align: center!important;
  font-weight: normal !important;
}

.bbs_title_in_view {
  color: #84286a !important;
  font-size: 20px;  
  text-align: center;
}

.bbs_view_title {
  color: #777;
}

.bbs_view_detail {
  font-weight: bold;
  color: #666;
  margin-left: 5px;
  margin-right: 30px;
}
.div4board {
  // width: 650px;
  // float: right;
  // background: white;
  // max-height: 400px;
  // border-top: 2px solid #e02d2c;
  // border-bottom: 2px solid #e02d2c;
  // overflow: auto;
  // margin-right: 35px;
  input {
    margin: 0;
    padding: 0 8px;
  }
  select {
    margin:0;
    height: auto;
    font-size: 11px;
    padding: 2px;
  }
}

.bbs_date {
  background: url('/resources/images/sogong/bbs_icon/icon_date.gif') no-repeat 0 2px;
  padding-left:20px;
  color: #888;
  /*line-height: 30px;*/
  height: 30px;
  display: inline-block;
}

.box {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0 10px 0;
  background: #fff;
  color: #505050;
  font-weight: bold;
  word-break: break-all;
  font-size: 1.2em;
  border-top: 1px solid #999;
}

.bbs_mb_info {
  color: #969696;
  padding: 10px 0 10px 0;
  text-align: center;
  border-bottom: solid 1px #c6c6c6;

  /*color: #505050;*/
}
.bbs_title_liner {
  margin-top: -3px;
  width: 100px;
  height: 3px;
  background: #eb34b8;
}


.bbs_content {
  padding: 20px 0 0 0;
  /*border-bottom: 1px solid #999;*/
}


.bbs_title {
  margin-top: -70px;
  margin-bottom: 30px;
}

/* join */
.mb_join {
  width: 80%;
  clear:both;
  background: #fff;
  padding: 20px 30px;
  margin: 50px auto !important;
  h3 {
    text-align: center;
  }
}

.mb_join .control-group {
  clear: both;
  overflow: hidden;
}
.mb_join label.control-label {
  font-weight:  bold;
  vertical-align: top;
  padding-top: 7px;
  padding-right:20px;
  width: 130px;
  text-align: right;
  display: block;
  float: left;
}
.mb_join .controls { display: block; float: left; width:500px;}

.personal {
  text-align: left;
  height: 200px;
  width: 485px;
  overflow-y: scroll;
  margin-left: 150px;
}

.mb_join input {
}

// 캘린더
.ui-datepicker-year, .ui-datepicker-month{
  width: 40% !important;
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6{
  font-weight: normal;
  margin: 0;
}

h2 {
  margin: 20px 0;
}

/* site */
@main-color: #fff;
@text-color : #424242;
@url: '/resources/img/site/';
@container: 1200px;
@side: 205px;
@bg-color: #4d4d4d;
@font-size: 14px;


input, select, label { font-size: @font-size; }


@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 400;
  src: local('Nanum Barun Gothic Regular'), local('Nanum Barun Gothic-Regular'), local('NanumBarunGothic Regular');
  src: url(./NanumBarunGothic.eot);
  src: url(./NanumBarunGothic.eot?#iefix) format('embedded-opentype'),
       url(./NanumBarunGothic.woff) format('woff'),
       url(./NanumBarunGothic.ttf) format('truetype');
}


@import "https://cdn.rawgit.com/openhiun/hangul/14c0f6faa2941116bb53001d6a7dcd5e82300c3f/nanumbarungothic.css";
@import "http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css";



html {
  overflow-y: scroll;
  background: @bg-color;
  height: 100%;
}

body {
  // background: url('@{url}body_bg.png') repeat;
  // font-family: tahoma, "segoe UI", "Microsoft JhengHei", "Microsoft Yahei", meiryo, "malgun gothic" !important;
  font-family: 'NanumBarunGothic',Arial, sans-serif;
  // font-family: Helvetica, Arial, sans-serif, "MingLiU", '新細明體' !important;
  // font-family: Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif !important;
  // font-family: Arial, Helvetica, tahoma, verdana, 宋体, SimSun, 华文细黑, STXihei, sans-serif !important;
  line-height: normal;
  font-size: @font-size;
  min-width: @container;
  color: @text-color;
}
// .bbs_title_list {
//  font-family: "Microsoft MingLiU", '新細明體', Helvetica, Arial, sans-serif !important;
// }


h1{
}

h2{

}
h3{
  
}

h4{

}

.container {  
  width: @container !important;
  height: 100%;
  clear: both;
  overflow: hidden;
  position: relative;
}

header {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  width: 100%;
  // height: 230px; 
  background: url('@{url}header_bg.png') 50% top repeat-x;
  .logo {
    padding: 40px 0 0 0;
  }

}


.gnb_wrap {
  overflow: hidden;
  .gnb {
    overflow: hidden;
    position: relative;
    &>li {
      &.active, &:hover {
        .gnb_sub {
          display: block;
        }
      }
      float: left;
      width: @container/4;
      text-align: center;
      &>a {
      }
    }
  }
  // &.active, &:hover 
  .gnb_sub {
    display: none;
    &>li {
      &>a {

      }
    }
  } 
}


#bodyarea {
  clear: both;
  margin: 0 auto;
  min-height: 100%;
  overflow: hidden;
}

.content {
  clear: both;
  overflow: hidden; 
}



#footer {
  clear: both;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  height: 143px;     
  margin-top: 20px;
  padding: 15px 0;
  background: #fff url('@{url}/footer_bg.png') repeat-x;
  .footer_logo {
    margin-top: 5px;
    color: #fff;
  }
  .admin_login a {
    color: #b2b2b2 !important;
  }
}

#header {
  background-color:#fff;
  border-bottom:1px solid #d3d3d3;
  height:96px;
  .container {
    overflow:inherit;
  }
  .logo {
    a {
      line-height:96px;
    }
  }
  .gnb {
    margin-top:15px;
    li {
      font-size:12px;
      font-weight:bold;
      color:#b79564;
      a {
        font-size:12px;
        font-weight:bold;
        color:#b79564;
        text-decoration:none;
      }
    }
    li.last {
      padding-right:0px;
    }
  }
  .lnb {
    clear:both;
    padding-top:20px;
    li.lnb {
      padding:0px 14px;
      position:relative;
      a.lnb {
        font-size:18px;
        font-weight:bold;
        color:#573d19;
        text-decoration:none;
      }
      
      ul.snb {
        display:none;
        position:absolute;
        z-index:1;
        right:14px;
        left:14px;
        border:1px solid #e6e6e6;
        border-bottom:none;
        background-color:#fff;
        li.snb {
          text-align:center;
          border-bottom:1px solid #e6e6e6;
          a.snb {
            line-height:40px;
            display:block;
            text-decoration:none;
            color:#573d19;
          }
          a.snb:hover {
            background-color:#835e27;
            color:#fff;
          }
        }
      }
    }
    li.lnb.last {
      padding-right:0px;
      
      ul.snb {
        right:0px;
      }
    }
    li.lnb:hover {
      ul.snb {
        display:block;
      }
    }
  }
}

#bodyarea {
  background-color:#efefef;
  position:relative;
  
  /* sub */
  .sub {
    background-color:#fff;
    #nav {
      border-bottom:1px solid #e4e4e4;
      background-color:#fff;
      nav {
        color:#b2b2b2;
        font-size:12px;
        line-height:40px;
        .arrow {
          /*font-size:14px;
          font-weight:bold;
          color:#bea076;*/
        }
      }
    }
    h1 {
      margin-top:50px;
      margin-bottom:55px;
      font-size:34px;
      line-height:1em;
    }
    .document {
      margin-bottom:100px;
      
      .tabPage {
        .tabMenu {
          margin-top:15px;
          li {
            padding:0px 3px;
          }
          li.first {
            padding-left:0px;
          }
          li.last {
            padding-right:0px;
          }
        }
        .tabMenu.menu5 {
          li {
            padding:0.4px;
          }
        }
        .tabMenu.menu6 {
          font-size:0px;
          li {
            padding:1.41px;
          }
        }
        .tab-content {
          margin-top:80px;
        }
      }
      
      /* common */
      .text-orange {
        color:#c8843a;
      }
      .text-red {
        color:#cb1212;
      }
    }
    #layerOnline {
      position:absolute;
      right:0px;
      bottom:0px;
      left:0px;
      border:1px solid #74552a;
      height:90px;
      background-color:#fff;
      .wrap {
        position:relative;
        width:100%;
        height:100%;
        background-image:url('@{url}online_layer.png');
        background-repeat:no-repeat;
        background-position:center;
        .btnClose {
          position:absolute;
          top:0px;
          right:0px;
        }
        input[type="text"] {
          position:absolute;
          width:150px;
          height:15px;
          border-radius:0px;
          padding:5px;
        }
        select {
          position:absolute;
          border-radius:0px;
          width:164px;
          height:29px;
        }
        input[name="LAYER_WRITER"] {
          top:14px;
          left:290px;
        }
        input[name="LAYER_EX1"] {
          top:47px;
          left:290px;
        }
        select[name="LAYER_EX2"] {
          top:14px;
          left:560px;
        }
        select[name="LAYER_EX3"] {
          top:47px;
          left:560px;
        }
        label {
          position:absolute;
          font-weight:bold;
        }
        label.ex4 {
          top:18px;
          left:730px;
        }
        label.ex5 {
          top:51px;
          left:730px;
        }
        .btnSubmit {
          position:absolute;
          top:15px;
          right:155px;
        }
      }
    }
  }
  
  #quickMenu {
    position:absolute;
    top:0px;
    right:0px;
    bottom:0px;
    width:80px;
    background-color:#6a6c75;
    ul {
      text-align:center;
      li {
        height:65px;
        line-height:65px;
        margin-bottom:2px;
        a {
          display:block;
        }
      }
      li.quick01 {
        background-color:#399ede;
      }
      li.quick02 {
        background-color:#0fc0c2;
      }
      li.quick03 {
        background-color:#38bf58;
      }
      li.quick04 {
        background-color:#fdd70d;
      }
      li.quick05 {
        background-color:#9698a6;
      }
      li.quick06 {
        background-color:#9698a6;
      }
    }
  }
}

footer {
  background-color:#4d4d4d;
  padding-bottom:30px;
  .logo {
    margin-top:30px;
  }
  .copyright {
    margin-top:30px;
    margin-left:55px;
    p {
      color:#fff;
      margin-bottom:5px;
      font-size:12px;
    }
  }
}

/* text cut */
.txt-cut {
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
}

/* loop default */
.mp-loop(0,5,100);

.mp-loop(@start,@step,@max) when (@start =< @max) {
  .mt@{start} {
    margin-top:(@start * 1px);
  }
  .mr@{start} {
    margin-right:(@start * 1px);
  }
  .mb@{start} {
    margin-bottom:(@start * 1px);
  }
  .ml@{start} {
    margin-left:(@start * 1px);
  }
  
  .pt@{start} {
    padding-top:(@start * 1px);
  }
  .pr@{start} {
    padding-right:(@start * 1px);
  }
  .pb@{start} {
    padding-bottom:(@start * 1px);
  }
  .pl@{start} {
    padding-left:(@start * 1px);
  }
  
  .mp-loop((@start + @step),@step,@max);
}