/* ---------------------------------------------
		Global
--------------------------------------------- */

@font-face {
  font-family: 'BergellLetPlain';
  src: url('../font/BergellLetPlain.eot?#iefix') format('embedded-opentype'),  url('../font/BergellLetPlain.woff') format('woff'), url('../font/BergellLetPlain.ttf')  format('truetype'), url('../font/BergellLetPlain.svg#BergellLetPlain') format('svg');
  font-weight: normal;
  font-style: normal;
}

html{
	min-height: 100%;
}

body{
	font-family: sans-serif, Helvetica, Arial;
	letter-spacing: 1px;
	-webkit-font-smoothing: antialiased;
	height: 100%;
}

a, a:visited, a:hover{
	text-decoration: none;
	color: inherit;
}

h1, h2, h3, h4 ,h5 ,h6{
	font-weight: normal;
}

/* ---------------------------------------------
		Layout
--------------------------------------------- */

body{
	background: url('../img/bg.jpg') center bottom no-repeat fixed;
	background-size: cover;
}

#page{
	width: 100%;
	max-width: 960px;
	height: 100%;
	margin: 20px auto;
	background: rgba(255,255,255,0.9);
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	border: 2px solid #6b3f27;
	position: relative;
}

#slider{
	width: 100%;
	height: 250px;
}

#slider > div{
	overflow: hidden;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	border-bottom: 2px solid #6b3f27;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

#slider > div:not(:first-of-type){
	display: none;
}

/*#logo{
	background: url('../img/logo.png') center center no-repeat;
	background-size: 100% 100%;
	width: 235px;
	height: 157px;
	position: absolute;
	right: -50px;
	bottom: 0;
}*/

.logo-wrap{
	width: 100%;
	height: 118px;
	position: relative;
	display: table-cell;
	vertical-align: bottom;
}

#logo{
	background: url('../img/logo.png') center center no-repeat;
	background-size: auto 100%;
	position: absolute;
	height: 157px;
	width: 234px;
	bottom: -39px;
	right: -50px;
}

#site-navigation, #primary{
	display: inline-block;
	float: left;
}

#site-navigation:after, #primary:after{
	content: "";
	display: inline-block;
	clear: both;
}

#site-navigation{
	display: table-row;
	vertical-align: top;
}

#content{
	position: relative;
	/*font-size: 0;*/
	padding: 15px;
	display: inline-block;
	width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.sidebar{
	height: 100%;
	width: 20%;
	display: inline-block;
	float: none;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.inner-sidear{
	display: table;
	padding: 0 20px 0 0;
	height: 100%;
}

#primary{
	width: 79%;
	display: inline-block;
	float: none;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#main{
	display: inline-block;
	width: 100%;
	padding: 0 0 0 20px;
	border-left: 2px solid #6b3f27;
	min-height: 760px;
	display: table;
}

/* ---------------------------------------------
		Head
--------------------------------------------- */

#masthead{
	padding: 10px 15px;
}

#masthead p{
	margin: 0;
}

.site-title{
	font-size: 77px;
	line-height: 105px;
	font-family: 'BergellLetPlain';
	margin: 0 0 -0.3em !important;
}

.site-title a{
	display: inline-block;
}

.site-description{
	font-weight: bold;
	font-size: 19px;
}

.updates-wrap .bx-viewport{
	border: 1px solid #b8d433;
	background: #b8d433;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

#updates{
	font-size: 19px;
}

#updates p{
	margin: 0;
	padding: 10px 20px;
	color: #000;
}

.page-id-230 #main .entry-content p:last-child,
.page-id-210 #main .entry-content p:last-child{
	padding: 0 !important;
}

/* ---------------------------------------------
		Menu
--------------------------------------------- */

.menu-main-container{
	display: inline-block;
}

#menu-main{
	display: inline-block;
}

#menu-main li{
	display: inline-block;
	width: 100%;
	font-size: 17px;
	font-weight: 600;
	float: none;
}

#menu-main li a{
	padding: 5px 0;
	outline: none;
}

#menu-main li:first-child a{
	padding: 0 0 5px;
}

#menu-main li:last-child a{
	padding: 5px 0 0;
}

#menu-main li > a:hover, 
#menu-main li.current-menu-item > a,
#menu-main li.current-menu-parent > a{
	color: #b8d433;
}

/*#menu-main li.menu-item-has-children:hover > .sub-menu,*/
#menu-main ul.sub-menu.active{
	display: inline-block;
}

.main-navigation ul ul{
	position: relative;
	box-shadow: none;
	float: none;
	top: auto;
	left: auto;
	display: none;
	padding: 5px 0 5px 15px;
	z-index: 99;
}

#menu-main ul.sub-menu li{
	font-size: 14px;
}

/* ---------------------------------------------
		Social
--------------------------------------------- */

#social{
	display: inline-block;
	margin: 30px 0 0;
	width: 100%;
	vertical-align: bottom;
	height: 140px;
}

#social li{
	display: inline-block;
}

#social li.icon{
	width: 40px;
	margin: 0 0 0 10px
}

#social li:last-child{
	margin: 0 0 20px;
	font-size: 12px;
}

/* ---------------------------------------------
		Content
--------------------------------------------- */

#main .entry-content{
	position: relative;
	margin: 0;
}

#main .hentry{
	margin: 0;
	display: table-row;
}

/*#main .entry-content p:last-child{
	padding: 0 170px 0 0;
}*/

#main .entry-content .wp-post-image{
	-webkit-border-radius: 150px;
	-moz-border-radius: 150px;
	border-radius: 150px;
	margin: 0 0 10px 10px;
}

#main .entry-content h1{
	display: table-cell;
	font-size: 18px;
	font-weight: bold; 
}

#main .entry-content h2{
	display: inline-block;
	font-size: 16px;
}

#main .entry-content h3{
	font-weight: bold;
}

#main .entry-content h4{
	font-weight: bold;
	margin: 1.5em 0;
}

#main .entry-content p:first-of-type{
	margin-top: 1.5em;
}

#main .entry-content p{
	font-size: 14px;
}

#main .entry-content p em{
	font-family: 'BergellLetPlain';
	font-size: 24px;
}

#main .entry-content p:last-child em{
	-ms-transform: rotate(-2.5deg);
	-webkit-transform: rotate(-2.5deg);
	transform: rotate(-2.5deg);
	display: inline-block;
	padding-top: 15px;
}

#main .entry-content .divider{
	width: 100%;
	display: inline-block;
	height: 1px;
	background: #6b3f27;
	margin: 0 0 1em;
}

.page-id-208 .entry-content table{
	margin: 1.5em 0
}

.page-id-208 .entry-content table td{
	padding: 5px 0;
}

.fg_gallery{
	margin: 20px 0 40px;
}

.wpcf7{
	width: 50%;
	display: inline-block;
	float: left;
}

#post-189 .entry-content p:last-child{
	padding: 0;
}

.wpcf7-form{
	padding: 0 40px 0 0;
}

.wpcf7-form p,
.wpcf7-form p:first-of-type{
	margin: 1em 0 !important;
}

.wpcf7-form input:not(.wpcf7-submit),
.wpcf7-form textarea{
	width: 100%;
	outline: none;
}

.wpcf7-form textarea{
	resize: none;
	height: 130px;
}

.page-id-183 table td{
	padding: 10px 20px 10px 0;
	vertical-align: middle;
	font-weight: bold;
}

.page-id-542 .site-description{
	margin-top: 15px !important;
}

.page-id-542 #main .entry-content p:first-of-type{
	margin-top: 0;
}	

/* ---------------------------------------------
		Footer
--------------------------------------------- */

footer#colophon{
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
	color: #FFF;
}

footer#colophon p{
	width: 70%;
	margin: 0 auto;
}

footer#colophon .site-info{
	margin: 0 0 10px;
}