/*
Theme Name: Narudesign
Author: Narudesign
Author URI: http://www.narudesign.co.kr
Description: 커스텀 테마
Version: 1.0.0
*/

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

/* Clearfix */
.clearfix::before, .clearfix::after{
  content: "";
  display: table;
}
.clearfix::after{
  clear: both;
}

/* 전역 설정 */
*{
  box-sizing: border-box;
}
body{
  font-family: "Nanum Gothic", sans-serif;
  font-size: 14px;
  color: #333;
  margin-top:0px;
  margin-bottom:0px;
  margin-left:0px;
  margin-right:0px;
}
p{
  line-height: 1.65em;
}
a{
  color: #006ec3;
  text-decoration: none;
}

/* 일반 레이아웃 */
div.container{
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0px;
  padding-right: 0px;
}
article.post{
  border-bottom: 2px dotted #bbb;
}
article.post:last-of-type{
  border-bottom: 0;
}

/* 헤더 */
.site-header{
  /*border-bottom: 10px solid #000; */
  position: sticky;
  top: 0;
}

/* 푸터 */
.site-footer{
  margin-top: 30px;
  border-top: 2px solid #999;
}

/* 메뉴 */
.site-nav ul{
  margin: 0;
  padding: 0;
}
.site-nav ul li{
  float: left;
  list-style: none;
}
.site-nav ul::before, .site-nav ul::after{
  content: '';
  display: table;
}
.site-nav ul:after{
  clear: both;
}

/* 헤더 메뉴 */
.site-header nav ul li{
  margin-right: 5px;
}
.site-header nav ul li a{
  display: block;
  padding: 10px 18px;
  border: 1px solid #bbb;
  border-bottom: 0;
  text-decoration: none;
}
.site-header nav ul li a:hover{
  background-color: #ececec;
}
.site-header nav ul li.current-menu-item a{
  background-color: #006ec3;
  color: white;
}

/* 하단 메뉴*/
.site-footer nav ul li{
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px dotted #bbb;
}
.site-footer nav ul li:last-of-type{
  border-right: 0;
}

/* 페이지 */
article.page h2{
  font-size: 2rem;
}
.content-box{
  padding: 0px 30px;
}

/* 페이지 서브 메뉴 */
.site-nav.sub-nav{
  display: table;
  width: 100%;
  margin: 0;
}
.site-nav.sub-nav ul li{
  display: table-cell;
  width: 33%;
}
.site-nav.sub-nav ul li a{
  display: table-cell;
  width: 33%;
  padding: 10px 20px;
  border: 2px solid #FDD043;
  border-right: 0;
  text-align: center;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
}
.site-nav.sub-nav ul li a:hover{
  background-color: #FDD043;
  color: white;
}
.site-nav.sub-nav ul li:last-of-type a{
  border-right: 2px solid #FDD043;
}
.site-nav.sub-nav ul li.current_page_item a{
  color: white;
  background-color: #FDD043;
}
.site-header nav ul li.current-page-ancestor a{
  background-color: #006ec3;
  color: white;
}

/* 푸터 페이지 */
.info-box{
  width: 30%;
  float: right;
  margin: 0 0 30px 30px;
  padding: 20px;
  background-color: #eee;
}
.info-box p{
  font-size: 0.75rem;
}



