﻿/*
Theme Name: HTMLine - Master Express Template
Theme URI: http://www.HTMLine.com
Description: HTMLine - Master Express Template
Version: 2.0
Author: <a href="http://www.htmline.com" title="HTMLine - בניית אתרים">HTMLine - בניית אתרים</a>
*/

* {
	margin:  0;
	padding: 0;
	outline: none;
}

body {
	font-family: Tahoma, Arial, Helvetica, Sans-serif;
	font-size: 13px;
	color: #572607;
	background-color: #eaebd4;
}

#wrapper {
	width: 100%;
}

	header {
		height: 171px;
		background: url("template/general/header_bg.png") repeat-x 0 0;
		z-index: 1000;
	}
	
	#page {
		margin: 0 auto 13px;
		width: 1000px;
		overflow: hidden;
	}
	
	footer {}

/**********/
/* header */
/**********/

header #header_container {
	position: relative;
	margin: 0 auto;
	width: 1000px;
	height: 171px;
}

header h1#logo {
	position: absolute;
	margin: 0;
	top: 51px;
	right: 2px;
	width: 462px;
	height: 40px;
}

ul.social_links {
	position: absolute;
	top: 9px;
	left: 0;
	list-style: none;
}

nav#top_menu {
	position: absolute;
	top: 128px;
	right: 0px;
	width: 1000px;
}

/****************/
/* social links */
/****************/

ul.social_links li {
	float: left;
	margin-right: 5px;
}

ul.social_links li:last-child {
	margin-right: 0;
}

ul.social_links li img {
	vertical-align: middle;
}

/************/
/* top menu */
/************/

#top_menu ul {
	list-style: none;
}

#top_menu ul li {
	position: relative;
}

#top_menu > ul > li {
	float: right;
	margin-left: 10px;
	padding-bottom: 5px;
	vertical-align: middle;
}

#top_menu ul li a {
	font-size: 14px;
	font-weight: bold;
	color: #562707;
	text-decoration: none;
}

#top_menu ul li:hover > a,
#top_menu ul li.current-menu-item > a,
#top_menu ul li.current-menu-parent > a,
#top_menu ul li.current-menu-ancestor > a {
	color: #a5d38b;
}

	#top_menu ul.sub-menu {
		position: absolute;
		top: 20px;
		right: 0;
		visibility: hidden;
	}
	
	#top_menu ul.sub-menu ul {
		padding-right: 5px;
		top: 0;
		right: 100%;
	}
	
	#top_menu ul.sub-menu li {
		padding: 5px 5px 0;
		background-color: #d3d5b2;
	}

	#top_menu ul.sub-menu li a {
		padding-bottom: 5px;
		border-bottom: 1px solid #562707;
		white-space: nowrap;
		font-size: 12px;
		font-weight: normal;
		color: #562707;
		display: block;
	}
	
	#top_menu ul.sub-menu li.delimiter {
		display: none;
	}
	
	#top_menu ul.sub-menu li:hover,
	#top_menu ul.sub-menu li.current-menu-item,
	#top_menu ul.sub-menu li.current-menu-parent,
	#top_menu ul.sub-menu li.current-menu-ancestor {
		background-color: #d3d5b2;
	}
	
	#top_menu ul.sub-menu li:hover > a,
	#top_menu ul.sub-menu li.current-menu-item > a,
	#top_menu ul.sub-menu li.current-menu-parent > a,
	#top_menu ul.sub-menu li.current-menu-ancestor > a {
		color: #FFF;
	}
	
	#top_menu ul li:hover ul,
	#top_menu ul li.show ul {
		visibility: visible;
	}
		
	#top_menu ul li.with-js ul {
		visibility: hidden !important;
	}

/********/
/* page */
/********/

aside#left_sidebar {
	float: left;
	position: relative;
	margin-right: 13px;
	width: 154px;
	z-index: 600;
}

aside#right_sidebar {
	float: right;
	position: relative;
	margin-left: 13px;
	width: 154px;
	z-index: 600;
}

#page_content {
	float: right;
	position: relative;
	padding: 15px;
	background-color: #d3d5b2;
}

#page_content.main_page_content {
	padding: 0;
	background-color: transparent;
}

	#page_content.both_sidebars	{ width: 636px; }
	#page_content.one_sidebar	{ width: 803px; }
	#page_content.no_sidebars	{ width: 970px; }
	
	#page_content.main_page_content.both_sidebars	{ width: 666px; }
	#page_content.main_page_content.one_sidebar		{ width: 833px; }
	#page_content.main_page_content.no_sidebars		{ width: 1000px; }

/************/
/* sidebars */
/************/

aside ul {
	list-style: none;
}

aside ul li {
	margin-bottom: 10px;
}

aside ul li:last-child {
	margin-bottom: 0;
}

aside ul li p {
	margin: 0;
}

	aside li .widgettitle {
		margin: 0;
		height: 28px;
		line-height: 28px;
		font-size: 14px;
		font-weight: bold;
		color: #FFF;
		background-color: #aaa;
		text-align: center;
	}
	
	aside li .widgetcontent {
		padding: 5px;
	}

/*******************/
/* pages side menu */
/*******************/

.widget_nav_menu ul {
	width: 154px;
	list-style: none;
}

.widget_nav_menu ul li {
	position: relative;
	margin: 0;
}

.widget_nav_menu > div > ul > li {
	margin-bottom: 7px;
}

.widget_nav_menu ul li a {
	padding: 8px 5px;
	font-size: 14px;
	font-weight: bold;
	color: #562707;
	background-color: #a4d28a;
	text-decoration: none;
	display: block;
}

.widget_nav_menu ul li:hover > a,
.widget_nav_menu ul li.current-menu-item > a,
.widget_nav_menu ul li.current-menu-parent > a,
.widget_nav_menu ul li.current-menu-ancestor > a {
	color: #562707;
	background-color: #b1b38c;
}

	.widget_nav_menu ul.sub-menu {
		padding: 5px 0 0 0;
		display: none;
		z-index: 600;
	}
	
	.widget_nav_menu ul.sub-menu ul {
		position: absolute;
		padding: 5px 5px 0 5px;
		top: -5px;
		right: 100%;
	}
	
	.widget_nav_menu ul.sub-menu li {
		padding: 0 5px;
		background-color: #cdceaf;
	}
	
	.widget_nav_menu ul.sub-menu li a {
		padding: 5px 0;
		font-size: 12px;
		background: transparent;
		border-bottom: 1px solid #dcddc2;
	}
	
	.widget_nav_menu ul.sub-menu li:last-child a {
		border-bottom: 0;
	} 
	
	.widget_nav_menu ul.sub-menu ul li a {
		white-space: nowrap;
	}
	
	.widget_nav_menu ul.sub-menu li:hover,
	.widget_nav_menu ul.sub-menu li.current-menu-item,
	.widget_nav_menu ul.sub-menu li.current-menu-parent,
	.widget_nav_menu ul.sub-menu li.current-menu-ancestor {
		background-color: #8f906e;
	}
	
	.widget_nav_menu ul.sub-menu li:hover > a,
	.widget_nav_menu ul.sub-menu li.current-menu-item > a,
	.widget_nav_menu ul.sub-menu li.current-menu-parent > a,
	.widget_nav_menu ul.sub-menu li.current-menu-ancestor > a {
		color: #562707;
	}
	
	.widget_nav_menu ul li.current-menu-item ul,
	.widget_nav_menu ul li.current-menu-parent ul,
	.widget_nav_menu ul li.current-menu-ancestor ul {
		display: block;
	}
		
/***************/
/* search form */
/***************/

.header-search {
	margin: 0 auto;
	width: 200px;
	height: 25px;
}

#s {
	float: right;
	padding: 0 3px;
	width: 147px;
	height: 23px;
	line-height: 23px;
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 12px;
	color: #000;
	border: 1px solid #aaa;
}

#searchsubmit {
	float: left;
	width: 40px;
	height: 25px;
	font-size: 11px;
	color: #FFF;
	background-color: #aaa;
	border: 0;
	cursor: pointer;
}

/*****************/
/* banner widget */
/*****************/

.Banner_Widget {
	text-align: center;
}

.Banner_Widget img {
	max-width: 100%;
	height: auto;
}

/***************/
/* form widget */
/***************/

.Form_Widget {
	background-color: #eee;
}

.Form_Widget .wpcf7,
.Form_Widget .wpcf7 form,
.Form_Widget .wpcf7 form p {
	width: 190px;
}

.Form_Widget p {
	position: relative;
	margin-bottom: 5px;
}

.Form_Widget .wpcf7-form-control-wrap {
	position: static !important;
}

.Form_Widget .inputfield {
	padding: 0 5px;
	width: 178px;
	height: 20px;
	line-height: 20px;
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 11px;
	color: #aaa;
	border: 1px solid #aaa;
}
	
.Form_Widget .send_button {
	width: 40px;
	height: 20px;
	font-size: 11px;
	color: #FFF;
	background-color: #aaa;
	border: 0;
	cursor: pointer;
}
	
.Form_Widget div.wpcf7 img.ajax-loader {
	margin: 0 4px 0 0;
}
	
.Form_Widget span.wpcf7-not-valid-tip {
	padding: 0;
	top: 0;
	left: 5px;
	right: auto;
	width: auto;
	line-height: 22px;
	font-size: 10px;
	background: transparent;
	border: 0;
}
	
.Form_Widget .wpcf7-response-output {
	margin: 5px 0 0;
	padding: 0;
	font-size: 11px;
	text-align: center;
	border: 0;
}

/*********************/
/* last posts widget */
/*********************/

.Last_Posts_Widget {
	background-color: #eee;
}

.Last_Posts_Widget ul.cycle-slideshow {
	overflow: hidden;
}

.Last_Posts_Widget ul.cycle-slideshow .cycle-carousel-wrap {
	left: 0 !important;
	right: auto !important;
}

.Last_Posts_Widget ul li {
	margin-bottom: 5px;
	padding-bottom: 5px;
	width: 190px;
	font-size: 11px;
	color: #000;
	border-bottom: 1px solid #ccc9ac;
}

.Last_Posts_Widget ul li.last,
.Last_Posts_Widget ul.cycle-slideshow li {
	margin: 0;
	padding: 0;
	border: 0;
}

	.Last_Posts_Widget ul li a {
		color: #aaa;
		text-decoration: none;
		display: block;
	}
	
	.Last_Posts_Widget ul li .item_title {
		margin-bottom: 5px;
		font-size: 13px;
		font-weight: bold;
	}
	
/*********************/
/* facebook like box */
/*********************/

/* like box */

.fb-like-box {
	width: 200px;
	height: 150px;
	overflow: hidden;
}

.fb-like-box span,
.fb-like-box iframe {
	width: 200px !important;
}

.fb-like-box iframe {
	position: static !important;
}

/* like button */

.textwidget {
	text-align: center;
}

.fb-like {
	height: 23px;
}

/*************************/
/* single youtube widget */
/*************************/

.Single_Youtube_Widget {
	background-color: #eee;
	text-align: center;
}

.Single_Youtube_Widget img {
	max-width: 190px;
	height: auto;
	vertical-align: middle;
}

/****************/
/* page content */
/****************/

#page_banner {
	float: left;
	position: relative;
	margin-right: 15px;
	width: 300px !important;
}

.page_banner_header_top,
.page_banner_header_bottom {
	width: 980px;
	height: 384px;
	overflow: hidden;
}
.page_banner_header_top { padding-top: 10px; }

#page_content.both_sidebars	#page_banner { width: 550px; }
#page_content.one_sidebar	#page_banner { width: 765px; }
#page_content.no_sidebars	#page_banner { width: 980px; }

	#page_banner .cycle-slideshow {
		max-width: 100%;
	}
	
	#page_banner .slide {
		max-width: 100%;
	}

	#page_banner img {
		max-width: 100%;
		height: auto;
		vertical-align: middle;
	}
	
	#page_banner #strip {
		position: absolute;
		left: 0;
		width: 100%;
		height: 30px;
		line-height: 30px;
		font-size: 17px;
		font-weight: bold;
		color: #572607;
		text-align: center;
		background-color: #eaebd4;
		/* Fallback for web browsers that don't support RGBa */
		background-color: rgb(234, 235, 212);
		/* RGBa with 0.6 opacity */
		background-color: rgba(234, 235, 212, 0.6);
		/* For IE 5.5 - 7*/
		filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99eaebd4, endColorstr=#99eaebd4);
		/* For IE 8*/
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99eaebd4, endColorstr=#99eaebd4)";
	}
	
h1#page_title {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
}

/********/
/* main */
/********/

.homepage_layout {
	margin-bottom: 15px;
}

.homepage_layout:last-child {
	margin-bottom: 0;
}

/*** slideshow layout ***/

.slideshow_layout {
	position: relative;
	height: 436px;
	overflow: hidden;
	direction: ltr;
	z-index: 1;
}

.slideshow_layout .slide {
	height: 436px;
	text-align: center;
}

	.slideshow_layout .slide img {
		max-height: 436px;
	}
	#page_content.both_sidebars	.slideshow_layout .slide img { max-width: 666px; }
	#page_content.one_sidebar	.slideshow_layout .slide img { max-width: 833px; }
	#page_content.no_sidebars	.slideshow_layout .slide img { max-width: 1000px; }
	
.slideshow_nav {
	position: absolute;
	bottom: 15px;
	left: 15px;
	z-index: 500;
}

	.slideshow_nav a {
		margin: 0 5px;
		width: 12px;
		height: 12px;
		background: url("template/gallery/gallery_controllers.png") no-repeat 0 -42px;
		display: inline-block;
	}
		
	.slideshow_nav a.cycle-pager-active {
		background-position: -13px -42px;
	}
	
/*** content boxes layout ***/

ul.content_boxes {
	list-style: none;
	overflow: hidden;
}

ul.content_boxes li {
	float: right;
	margin: 0 0 15px 15px;
	width: 245px;
	height: 173px;
	background-color: #eee;
	cursor: pointer;
}

ul.content_boxes li.last {
	margin-left: 0;
}

	ul.content_boxes li h2.box_title {
		margin-bottom: 5px;
		height: 28px;
		line-height: 28px;
		font-size: 14px;
		font-weight: bold;
		color: #FFF;
		background-color: #aaa;
		text-align: center;
	}
	
	ul.content_boxes li img.box_image {
		margin: 0 auto 5px;
		padding: 0 5px;
		max-width: 235px;
		height: auto;
		display: block;
	}

	ul.content_boxes li .box_content {
		margin: 0 auto 5px;
		padding: 0 5px;
	}
	
/*** editor ***/

.editor_layout {
	font-size: 14px;
}

.editor_layout ul,
.editor_layout ol {
	margin: 0 40px 10px 0;
}

.editor_layout ul li,
.editor_layout ol li {
	margin-bottom: 5px;
}

.editor_layout h3 {
	font-family: Fantasy, Arial, Helvetica, Sans-serif;
	font-size: 20px;
}

/***********/
/* gallery */
/***********/

/*** don't change the following definitions ( except gallery controllers dimensions ) ***/

.gallery {
	overflow: hidden;
}

.gallery #image_titles {
	margin: 10px 0;
	padding: 5px;
	background-color: #aaa;
	font-size: 12px;
	color: #FFF;
	text-align: center;
}

.gallery #gallery_main_placeholder {
	position: relative;
	overflow: hidden;
	direction: ltr;
	z-index: 1;
}

.gallery #gallery_main_placeholder .gallery_main_item {
	text-align: center;
}

	#gallery_main_placeholder #gallery_main_prev,
	#gallery_main_placeholder #gallery_main_next {
		position: absolute;
		width: 18px;
		height: 19px;
		background-image: url("template/gallery/gallery_controllers.png");
		background-repeat: no-repeat;
		cursor: pointer;
	}
	
#gallery_navigator_placeholder {
	position: relative;
	padding: 0 30px 0 31px;
	overflow: hidden;
	direction: ltr;
}

	#gallery_navigator_placeholder .gallery_item_placeholder {
		width: 176px;
		height: 70px;
	}
	
	#gallery_navigator_placeholder .gallery_item {
		width: 176px;
		height: 70px;
		display: table-cell;
		vertical-align: middle;
		text-align: center;
	}
	
	#gallery_navigator_placeholder .gallery_item * {
		vertical-align: middle;
	}
	
	/*\*//*/
	#gallery_navigator_placeholder .gallery_item {
		display: block;
	}
		
	#gallery_navigator_placeholder .gallery_item span {
		display: inline-block;
		height: 100%;
		width: 1px;
	}
	/**/

		#gallery_navigator_placeholder .gallery_item img {
			max-width: 166px;
			max-height: 60px;
			cursor: pointer;
		}
		
	#gallery_navigator_placeholder #sub_gallery_prev,
	#gallery_navigator_placeholder #sub_gallery_next {
		position: absolute;
		width: 19px;
		height: 18px;
		background-image: url("template/gallery/gallery_controllers.png");
		background-repeat: no-repeat;
		cursor: pointer;
	}

/*** you can make modification from this point forward ***/

/*** gallery type 1 ***/
#page_content.both_sidebars	.gallery_type_1 #gallery_main_placeholder							{ height: 246px; }
#page_content.both_sidebars	.gallery_type_1 #gallery_main_placeholder .gallery_main_item		{ height: 216px; }
#page_content.both_sidebars	.gallery_type_1 #gallery_main_placeholder .gallery_main_item img	{ max-height: 216px; }

#page_content.one_sidebar	.gallery_type_1 #gallery_main_placeholder							{ height: 330px; }
#page_content.one_sidebar	.gallery_type_1 #gallery_main_placeholder .gallery_main_item		{ height: 300px; }
#page_content.one_sidebar	.gallery_type_1 #gallery_main_placeholder .gallery_main_item img	{ max-height: 300px; }

#page_content.no_sidebars	.gallery_type_1 #gallery_main_placeholder							{ height: 415px; }
#page_content.no_sidebars	.gallery_type_1 #gallery_main_placeholder .gallery_main_item		{ height: 385px; }
#page_content.no_sidebars	.gallery_type_1 #gallery_main_placeholder .gallery_main_item img	{ max-height: 385px; }

.gallery_type_1 #gallery_main_placeholder #gallery_main_prev { bottom: 0; left: 0; background-position: -21px -21px; }
.gallery_type_1 #gallery_main_placeholder #gallery_main_next { bottom: 0; left: 23px; background-position: -21px 0; }

/*** gallery type 2 ***/
.gallery_type_2 #gallery_main_placeholder { margin-bottom: 10px; }

.gallery_type_2 #gallery_navigator_placeholder { height: 70px; }

#page_content.both_sidebars	.gallery_type_2 #gallery_main_placeholder							{ height: 216px; }
#page_content.both_sidebars	.gallery_type_2 #gallery_main_placeholder .gallery_main_item		{ height: 216px; }
#page_content.both_sidebars	.gallery_type_2 #gallery_main_placeholder .gallery_main_item img	{ max-height: 216px; }
#page_content.both_sidebars	.gallery_type_2 #gallery_navigator_placeholder						{ width: 489px; }

#page_content.one_sidebar	.gallery_type_2 #gallery_main_placeholder							{ height: 300px; }
#page_content.one_sidebar	.gallery_type_2 #gallery_main_placeholder .gallery_main_item		{ height: 300px; }
#page_content.one_sidebar	.gallery_type_2 #gallery_main_placeholder .gallery_main_item img	{ max-height: 300px; }
#page_content.one_sidebar	.gallery_type_2 #gallery_navigator_placeholder						{ width: 704px; }

#page_content.no_sidebars	.gallery_type_2 #gallery_main_placeholder							{ height: 385px; }
#page_content.no_sidebars	.gallery_type_2 #gallery_main_placeholder .gallery_main_item		{ height: 385px; }
#page_content.no_sidebars	.gallery_type_2 #gallery_main_placeholder .gallery_main_item img	{ max-height: 385px; }
#page_content.no_sidebars	.gallery_type_2 #gallery_navigator_placeholder						{ width: 919px; }

.gallery_type_2 #gallery_navigator_placeholder #sub_gallery_prev { top: 26px; left: 0; background-position: -21px -21px; }
.gallery_type_2 #gallery_navigator_placeholder #sub_gallery_next { top: 26px; right: 0; background-position: -21px 0; }

/*** gallery type 3 ***/
.gallery_type_3 #image_titles { margin: 10px auto; }

.gallery_type_3 #gallery_main_placeholder { padding: 0 41px; margin-bottom: 10px; }

.gallery_type_3 #gallery_main_placeholder #gallery_main_prev { left: 0; background-position: -21px -21px; }
.gallery_type_3 #gallery_main_placeholder #gallery_main_next { right: 0; background-position: -21px 0; }

.gallery_type_3 #gallery_navigator_placeholder { height: 70px; }

#page_content.both_sidebars	.gallery_type_3 #image_titles										{ width: 458px; }
#page_content.both_sidebars	.gallery_type_3 #gallery_main_placeholder							{ height: 184px; }
#page_content.both_sidebars	.gallery_type_3 #gallery_main_placeholder .gallery_main_item		{ height: 184px; }
#page_content.both_sidebars	.gallery_type_3 #gallery_main_placeholder .gallery_main_item img	{ max-width: 468px; max-height: 184px; }
#page_content.both_sidebars	.gallery_type_3 #gallery_main_placeholder #gallery_main_prev,
#page_content.both_sidebars	.gallery_type_3 #gallery_main_placeholder #gallery_main_next		{ top: 82px; }
#page_content.both_sidebars	.gallery_type_3 #gallery_navigator_placeholder						{ width: 489px; }

#page_content.one_sidebar	.gallery_type_3 #image_titles										{ width: 673px; }
#page_content.one_sidebar	.gallery_type_3 #gallery_main_placeholder							{ height: 268px; }
#page_content.one_sidebar	.gallery_type_3 #gallery_main_placeholder .gallery_main_item		{ height: 268px; }
#page_content.one_sidebar	.gallery_type_3 #gallery_main_placeholder .gallery_main_item img	{ max-width: 683px; max-height: 268px; }
#page_content.one_sidebar	.gallery_type_3 #gallery_main_placeholder #gallery_main_prev,
#page_content.one_sidebar	.gallery_type_3 #gallery_main_placeholder #gallery_main_next		{ top: 124px; }
#page_content.one_sidebar	.gallery_type_3 #gallery_navigator_placeholder						{ width: 704px; }

#page_content.no_sidebars	.gallery_type_3 #image_titles										{ width: 888px; }
#page_content.no_sidebars	.gallery_type_3 #gallery_main_placeholder							{ height: 353px; }
#page_content.no_sidebars	.gallery_type_3 #gallery_main_placeholder .gallery_main_item		{ height: 353px; }
#page_content.no_sidebars	.gallery_type_3 #gallery_main_placeholder .gallery_main_item img	{ max-width: 898px; max-height: 353px; }
#page_content.no_sidebars	.gallery_type_3 #gallery_main_placeholder #gallery_main_prev,
#page_content.no_sidebars	.gallery_type_3 #gallery_main_placeholder #gallery_main_next		{ top: 167px; }
#page_content.no_sidebars	.gallery_type_3 #gallery_navigator_placeholder						{ width: 919px; }

.gallery_type_3 #gallery_navigator_placeholder #sub_gallery_prev { top: 26px; left: 0; background-position: -21px -21px; }
.gallery_type_3 #gallery_navigator_placeholder #sub_gallery_next { top: 26px; right: 0; background-position: -21px 0; }

/*** gallery type 4 ***/
.gallery_type_4 { overflow: hidden; }

.gallery_type_4 #image_titles { float: left; width: 564px; }

.gallery_type_4 #gallery_main_placeholder { float: left; }

.gallery_type_4 #gallery_navigator_placeholder { float: right; margin-top: -35px; padding: 33px 0 32px; width: 176px; }

#page_content.both_sidebars	.gallery_type_4 #image_titles										{ width: 349px; }
#page_content.both_sidebars	.gallery_type_4 #gallery_main_placeholder							{ width: 359px; height: 141px; }
#page_content.both_sidebars	.gallery_type_4 #gallery_main_placeholder .gallery_main_item		{ width: 359px; height: 141px; }
#page_content.both_sidebars	.gallery_type_4 #gallery_main_placeholder .gallery_main_item img	{ max-width: 359px; max-height: 141px; }

#page_content.one_sidebar	.gallery_type_4 #image_titles										{ width: 564px; }
#page_content.one_sidebar	.gallery_type_4 #gallery_main_placeholder							{ width: 574px; height: 226px; }
#page_content.one_sidebar	.gallery_type_4 #gallery_main_placeholder .gallery_main_item		{ width: 574px; height: 226px; }
#page_content.one_sidebar	.gallery_type_4 #gallery_main_placeholder .gallery_main_item img	{ max-width: 574px; max-height: 226px; }

#page_content.no_sidebars	.gallery_type_4 #image_titles										{ width: 779px; }
#page_content.no_sidebars	.gallery_type_4 #gallery_main_placeholder							{ width: 789px; height: 310px; }
#page_content.no_sidebars	.gallery_type_4 #gallery_main_placeholder .gallery_main_item		{ width: 789px; height: 310px; }
#page_content.no_sidebars	.gallery_type_4 #gallery_main_placeholder .gallery_main_item img	{ max-width: 789px; max-height: 310px; }

.gallery_type_4 #gallery_navigator_placeholder .gallery_item_placeholder,
.gallery_type_4 #gallery_navigator_placeholder .gallery_item { height: 65px; }
.gallery_item_4 #gallery_navigator_placeholder .gallery_item img { max-height: 55px; }

.gallery_type_4 #gallery_navigator_placeholder #sub_gallery_prev { top: 0; left: 78px; background-position: 0 0; }
.gallery_type_4 #gallery_navigator_placeholder #sub_gallery_next { bottom: 0 ; left: 78px; background-position: 0 -20px; }

/*****************/
/* post excerpts */
/*****************/

ul#posts {
	list-style: none;
}

ul#posts li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dcddc2;
	overflow: hidden;
}

ul#posts li:last-child {
	margin: 0;
	padding: 0;
	border: 0;
}

	ul#posts li .post_image {
		float: right;
		width: 150px;
		height: 150px; 
	}
	
	ul#posts li .post_image img {
		max-width: 150px;
		height: auto;
	}
	
	ul#posts li .post_excerpt.post_has_image {
		margin: 0 165px 0 0;
	}
	
	.post_author {
		margin: -8px 0 10px;
		font-size: 11px;
		font-weight: bold;
	}
	
/***********/
/* contact */
/***********/

#contact_tools {
	overflow: hidden;
}

section#google_map {
	float: left;
	padding-top: 20px;
	width: 425px;
	overflow: hidden;
}

section#contact_form {
	float: right;
	padding-top: 20px;
	width: 320px;
}

	#contact_form p {
		margin-bottom: 7px;
		overflow: hidden;
	}

	#contact_form .textfield {
		float: right;
	}
	
	#contact_form .inputfield,
	#contact_form .textareafield {
		position: relative;
		float: left;
		width: 250px;
	}
	
		#contact_form .inputfield input {
			padding: 0 5px;
			width: 240px;
			height: 25px;
			line-height: 25px;
			font-family: Arial, Helvetica, Sans-serif;
			font-size: 13px;
			color: #000;
			background-color: #eaebd4;
			border: 0;
			-webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
		}
		
		#contact_form .textareafield textarea {
			padding: 4px 5px;
			width: 240px;
			height: 80px;
			font-family: Arial, Helvetica, Sans-serif;
			font-size: 13px;
			color: #000;
			background-color: #eaebd4;
			border: 0;
			overflow: hidden;
			resize: none;
			-webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
		}
	
	#contact_form .button {
		float: left;
		padding: 4px 12px;
		width: 53px;
		height: 23px;
		font-size: 12px;
		font-weight: bold;
		color: #572607;
		background-color: #eaebd4;
		border: none;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
		cursor: pointer;
	}
	
	#contact_form span.wpcf7-form-control-wrap {
		position: static !important;
	}
	
	#contact_form span.wpcf7-not-valid-tip {
		padding: 0;
		top: 0;
		left: 5px;
		right: auto;
		width: auto;
		line-height: 25px;
		font-size: 11px;
		color: #000;
		background: none;
		border: none;
	}
	
	#contact_form img.ajax-loader {
		float: left;
		margin: 3px;
	}
	
	#contact_form .wpcf7-response-output {
		margin: -30px 0 0 63px !important;
		padding: 0 !important;
		float: right;
		font-size: 12px;
		border: none !important;
	}
	
/***************/
/* wp_pagenavi */
/***************/

.wp-pagenavi {
	padding: 15px 0;
	text-align: center;
	direction: ltr;
}

.wp-pagenavi a,
.wp-pagenavi .current {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.wp-pagenavi a:hover,
.wp-pagenavi .current {
	border-color: #333 !important;
}

/**********/
/* footer */
/**********/

#footer_contact_details {
	height: 39px;
	background-color: #a7d48e;
}

#footer_contact_details.contact_details_in {
	margin-top: 10px;
	visibility: hidden;
}

#footer_contact_details.fix_contact_details {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	visibility: visible;
}

#footer_contact_details ul,
#footer_contact_details ol {
	margin: 0 auto;
	width: 1000px;
	list-style: none;
	text-align: center;
}

	#footer_contact_details li {
		margin: 0 5px;
		line-height: 39px;
		font-size: 12px;
		font-weight: bold;
		color: #4e1c00;
		display: inline-block;
	}
	
	#footer_contact_details li a {
		color: #4e1c00;
	}
	
	#footer_contact_details li a img {
		vertical-align: middle;
	}
	
	#footer_contact_details li.delimiter {
		width: 6px;
		height: 6px;
		background-color: #FFF;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		vertical-align: middle;
	}

#credit {
	padding: 10px 5px;
	font-size: 10px;
	overflow: hidden;
}

	#credit_left { float: left; text-align: left; width: 45%; }
	#credit_right { float: right; width: 45%; }

/*****************/
/* general style */
/*****************/

a {
	color: #562707;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 0 0 10px 0;
}

#page_content {
	text-align: justify;
}

.entry ul,
.entry ol {
	margin: 0 40px 10px 0;
}

.entry ul li { margin-bottom: 10px; }
.entry ol li { margin-bottom: 10px; }

small {
	margin-bottom: 10px;
	font-size: 12px;
	color: #888;
	display: block;
}

#respond {
	margin-top: 30px;
}

	#respond small {
		margin: 0 !important;
		font-size: 11px !important;
		color: #888 !important;
		display: inline;
	}

.more-link {
	text-align: left;
	display: block;
}

hr {
	margin: 20px 0;
}

.clear {
	clear: both;
}

/**********/
/* titles */
/**********/

h1, h2, h3, h4 {
	font-weight: bold;
	color: #572607;
	display: block;
}

h1 a,
h2 a,
h3 a,
h4 a {
	color: #572607;
	text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
	text-decoration: none;
}

h1 { font-size: 20px; margin-bottom: 20px; }
h2 { font-size: 18px; margin-bottom: 10px; }
h3 { font-size: 14px; margin-bottom: 10px; }
h4 { font-size: 14px; }

h3.comments {
	margin: 40px auto 20px ;
}

.not_found {
	padding: 40px 0 100px;
	text-align: center;
}

/*******************************************************/

.thread-alt {
	background-color: #f8f8f8;
	}

.thread-even {
	background-color: white;
	}

.depth-1 {
	border: 1px solid #ddd;
	}

.even, .alt {
	border-left: 1px solid #ddd;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}

.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li ul li {
	font-size: 1em;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist li .avatar {
	float: right;
	margin-left: 5px;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .postmetadata, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	height: auto;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

/* Begin Form Elements */
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 75%;
	padding: 2px;
	margin: 5px 5px 1px 0px;
	}

#respond:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
#commentform #submit {
	margin: 5px 5px 5px auto;
	}
/* End Form Elements */

/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	margin: 0 !important;
	padding: 0 !important;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	color: #777;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	/*border-left: 5px solid #ddd;*/
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

.screen-reader-text {
     position: absolute;
     left: -1000em;
}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */