/* -------------------------------- 

Primary style

-------------------------------- */

@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);


html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


html, body {
  /* you need to set this to assign to the main element a min height of 100% */
  height: 100%;
}

body {
  font-size: 100%;
  font-family: 'Nanum Gothic' , sans-serif;
  color: #4e6361;
  background-color: #f5f4e9;
}

a {
  color: #6cac70;
  text-decoration: none;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}

/* -------------------------------- 

Main components 

-------------------------------- */
.cd-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  margin: 0 auto; text-align: left; max-width: 640px;
  position: relative;
  background-color: #FFFFFF;
  z-index: 2;
  padding-top: 4px;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.cd-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
@media only screen and (min-width: 768px) {
  .cd-main-content {
    padding-top: 4px;
  }

}

header {
  position: relative;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  margin: 0 auto;
  /*max-width: 640px;*/
  background: #4e6361;
  z-index: 3;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
header.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
header.is-fixed {
  position: fixed;
}
@media only screen and (min-width: 768px) {
  header {
    height: 50px;
  }
}

#cd-logo {
  display: block;
  float: left;
  margin: 8px 0 0 10px;
}
#cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  #cd-logo {
    margin: 8px 0 0 10px;
  }
}

#cd-top-nav {
  position: absolute;
  top: 0;
  right: 120px;
  height: 100%;
  display: none;
}
#cd-top-nav ul {
  height: 100%;
  padding-top: 18px;
}
#cd-top-nav li {
  display: inline-block;
  margin-right: 1em;
}
#cd-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #FFF;
  text-transform: uppercase;
  font-weight: 600;
}
#cd-top-nav a.current {
  background-color: #242e30;
}
.no-touch #cd-top-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}
@media only screen and (min-width: 768px) {
  #cd-top-nav {
    display: block;
  }
}

#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #64807d;
}
#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 600;
  display: none;
}
#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}
#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
}
#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
}
#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: white;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  #cd-menu-trigger {
    width: 50px;
    padding-left: 1.25em;
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 70px;
  }
  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 260px;
  background-color: #242e30;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(80px);
  -moz-transform: translateX(80px);
  -ms-transform: translateX(80px);
  -o-transform: translateX(80px);
  transform: translateX(80px);
}
#cd-lateral-nav .cd-navigation {
  margin: 10px 0 16px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
}
#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 0 16px 0 32px;
  color: #aab5b7;
}
#cd-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
}
@media only screen and (min-width: 768px) {
  #cd-lateral-nav .cd-navigation {
    margin: 20px 0;
  }
}
#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}

/* style menu items which have a submenu  */
#cd-lateral-nav .item-has-children > a {
  position: relative;
  text-transform: uppercase;
  font-weight: 600;
  /* this is the right arrow to show that the item has a submenu  */
}
#cd-lateral-nav .item-has-children > a::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 1em;
  background: url("../img/cd-arrow.svg") no-repeat center center;
  background-size: 8px 11px;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
#cd-lateral-nav .item-has-children > a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

#cd-lateral-nav .socials {
  padding: 0 32px;
}
#cd-lateral-nav .socials:after {
  content: "";
  display: table;
  clear: both;
}
#cd-lateral-nav .socials a {
  height: 32px;
  width: 32px;
  float: left;
  padding: 0;
  background-image: url("../img/cd-socials.svg");
  background-repeat: no-repeat;
  background-size: 128px 64px;
  background-color: #FFF;
  margin-right: .5em;
  border-radius: 0.25em;
}
#cd-lateral-nav .socials a.cd-twitter {
  background-position: 0 0;
}
#cd-lateral-nav .socials a.cd-github {
  background-position: -32px 0;
}
#cd-lateral-nav .socials a.cd-facebook {
  background-position: -64px 0;
}
#cd-lateral-nav .socials a.cd-google {
  background-position: -96px 0;
}
.no-touch #cd-lateral-nav .socials a:hover {
  background-color: #4e6361;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-twitter {
  background-position: 0 -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-github {
  background-position: -32px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-facebook {
  background-position: -64px -32px;
}
.no-touch #cd-lateral-nav .socials a:hover.cd-google {
  background-position: -96px -32px;
}


footer {
  position: relative;
  top: 0;
  left: 0;
  height: 172px; /*142 ±βΊ»;
  width: 100%;
  margin: 0 auto;
    /*max-width: 640px;*/
  background: #4e6361;
  z-index: 1000;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

footer.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

.rev {
overflow: hidden;
text-align:center;
font-size: 0.8em;
font-family: 'Nanum Gothic' , sans-serif;
color: #FFFFFF;
padding-top: 10px;
 padding-left: 4px;
}

.rev2 {
overflow: hidden;
font-size: 0.7em;
font-family: 'Nanum Gothic' , sans-serif;
color: #FFFFFF;
padding-top: 10px;
 padding-left: 4px;
}

.rev2 .cp > li {

text-align:center;
margin:4px 4px 4px 4px;
}

.shop_list {

padding-top:4px;

}

.shop_list img {
border:1px solid #CCCCCC;
width:174px;

}

@media screen and (min-width: 520px) {

.shop_list img {

max-height: 298px; min-height: 298px;
max-width: 298px; min-width: 298px;
}

.pgb img {

width:23px;
height:13px;
border:0px;
margin-bottom:4px;
}

.pgb {

margin-bottom:10px;

}

header {

width:100%;

}

}

.sub_t {

height:10px;
padding:6px 0px 12px 10px;
font-size: 1.2em;
font-weight:bold;
font-family: 'Nanum Gothic' , sans-serif;
border-bottom:1px solid #4e6361;
text-align:center;

}


.img_c img {

width:100%;
margin-bottom:10px;

}

.pgb img {

width:23px;
height:13px;
border:0px;
margin-bottom:4px;
}

.pgb {

margin-bottom:10px;

}

.shop_view .simg {
border:1px solid #CCCCCC;
width:64px;
margin:3px;
}


.shop_view {

padding-top:4px;

}

.shop_view img {
border:1px solid #CCCCCC;
width:276px;
margin:2px;

}

.order_view {

padding-top:4px;

}

.order_view img {
border:1px solid #CCCCCC;
width:180px;
margin:2px;

}

.my_view {

padding-top:4px;

}

.my_view img {
border:1px solid #CCCCCC;
width:120px;
margin:2px;

}


.font_view {

width:50px;
height:50px;
border:0px;
margin-bottom:2px;

}

@media screen and (min-width: 520px) {


.shop_view .simg {
border:1px solid #CCCCCC;
width:114px;
margin:3px;
}

.shop_view img {
border:1px solid #CCCCCC;
width:476px;
margin:2px;

}

.g_bt img {

width:120px;
height:34px;
border:0px;
margin-bottom:2px;
}

.g_bt {

margin-bottom:10px;

}

.order_view {

padding-top:4px;

}

.order_view img {
border:1px solid #CCCCCC;
width:220px;
margin:2px;

}

.my_view {

padding-top:4px;

}

.my_view img {
border:1px solid #CCCCCC;
width:120px;
margin:2px;

}


.shop_list .event img {

width:44px;
border:0px;

}



.g_decon img {

width:500px;
border:0px;
margin-bottom:2px;
}

.tc { 

width:10%;

}

.font_view {

width:70px;
height:70px;
border:0px;
margin-bottom:2px;

}

.bbs_cont img {

width:100%; 

}

}

.bbs_cont img {

width:100%; 

}

.g_bt img {

width:120px;
height:34px;
border:0px;
margin-bottom:2px;
}

.g_bt {

margin-bottom:10px;

}


.g_decon img {

width:100%;
border:0px;
margin-bottom:2px;
}

.order_t {

height:30px;
padding:6px 0px 2px 0px;
font-size: 1.0em;
font-weight:bold;
font-family: 'Nanum Gothic' , sans-serif;
text-align:center;
}

.input1 {background-color:#ffffff;border:1px solid #cccccc;font-size:9pt;padding:3px 3px 0px 3px;height:24px;}


.f8 {

padding-left:10px;

}


.f8 img{
margin: 0px 0px 4px 0px;
}

.btn_add {height:24px;width:60px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#65811C !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_login {height:54px;width:100px;padding-top:12px; border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#0a93a7 !important; font-weight:bold; font-size:1.3em; letter-spacing:-1px; display:inline-block; padding-left:24px; padding-right:24px;}

.btn_gaip {height:28px;width:100px;padding-top:0px; border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#2D5E8F !important; font-weight:bold; font-size:1.3em; letter-spacing:-1px; display:inline-block;}

.btn_idpw {height:28px;width:100px;padding-top:0px; border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#FE7302 !important; font-weight:bold; font-size:1.3em; letter-spacing:-1px; display:inline-block;}

.btn_agree1 {height:24px;width:60px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#2D5E8F !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_agree2 {height:24px;width:60px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#FE7302 !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_search {height:24px;width:60px;border:1px solid #cccccc; background-color:#FFFFFF;text-align:center; line-height:1.9em; color:#65811C !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_write {height:24px;width:60px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#2D5E8F !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_delete {height:24px;width:60px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#FE7302 !important; font-weight:bold; font-size:1.0em; letter-spacing:-1px; display:inline-block;}

.btn_reply {height:20px;width:50px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#559521 !important; font-weight:bold; font-size:0.9em; letter-spacing:-1px; display:inline-block;}

.btn_reply2 {height:20px;width:50px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#237CA1 !important; font-weight:bold; font-size:0.9em; letter-spacing:-1px; display:inline-block;}


.m_login {

background-color: #3a4a4d;
color: #FFF;
display: block;
line-height: 2em;
padding: 0 16px 0 32px;

}

.btn_page1 {height:28px;width:28px;background-color:#4e6361;border:1px solid #4e6361; text-align:center; line-height:1.9em; color:#FFFFFF !important; font-weight:bold; font-size:1.2em; letter-spacing:-1px; display:inline-block;}
.btn_page2 {height:28px;width:28px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#65811C !important; font-weight:bold; font-size:1.1em;  display:inline-block;padding-top:1px;}
.btn_arrow {height:28px;width:28px;border:1px solid #cccccc; text-align:center; line-height:1.9em; color:#65811C !important; font-weight:bold; font-size:1.1em; letter-spacing:-1px; display:inline-block;padding-top:1px;}
