/*
Theme Name: Carniz
Theme URI: http://smthemes.com/carniz/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.0
License: Creative Commons 3.0
Theme date: 06/24/2013
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(http://fonts.googleapis.com/earlyaccess/alefhebrew.css);

html {
	background:#f3edd3;
}
body {	
	color:#252525;
	position:relative;
	background:url(images/back-top.png) repeat-x ;
	font-family:arial;
	font-size:14px;
}
a {
	color:#307b05;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
a.post_ttl, .post-caption h1 {
	color:#307b05;
	font-family: 'Alef Hebrew';
	font-weight:bold;
	font-size:36px;
	line-height: 36px;
}
h2 a.post_ttl:hover{
	text-decoration:underline;
}



/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:23px;
	line-height:25px;
	color:#a3a3a3;
	width:198px;
}
.searchbtn {
	height:25px;
	width:17px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background: rgb(190,191,142); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(190,191,142,1) 0%, rgba(239,240,179,1) 18%, rgba(239,240,179,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(190,191,142,1)), color-stop(18%,rgba(239,240,179,1)), color-stop(100%,rgba(239,240,179,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(190,191,142,1) 0%,rgba(239,240,179,1) 18%,rgba(239,240,179,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bebf8e', endColorstr='#eff0b3',GradientType=0 ); /* IE6-9 */
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #90b75d;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
.post-meta a{
	text-decoration:underline;
}
.articles .post-caption h2, .articles .post-caption h1{
	padding:7px 0 !important;
}
.articles .post-caption h2 {
font-family: 'alef Hebrew';
font-size: 20px;
font-weight: bold;
line-height: 20px;
}
.articles .post-body{
	position:relative;
}
#commentform #submit, input.readmore, a.readmore {
	background:url(images/readmore.png) no-repeat right;
	color:#307b05;
	font-family:arial;
	text-transform:uppercase;
	font-size:14px;
	padding:4px 18px;
	border:none;
	font-weight:bold;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	text-decoration:underline;
}
.featured_image {
	margin-top:15px;	
	padding:8px;
	border:none;
	background:#b9d67e;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
}
.googlemap {
	padding:8px;
	border:none;
	background:#b9d67e;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
}
.widget_posts ul li img,.widget_flickr a {
	border:2px solid #b9d67e;
	padding:0;
	background:#b9d67e;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:left;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Arial';
}
a.page-numbers {
	color:#000;
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers {
	color:#307b05;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:#84ac5e;
	border-top:5px solid #307b05;
	color:#fff;
}
#footer h3{
	font-family: 'Alef Hebrew';
	text-transform:uppercase;
	font-weight:bold;
	font-size:20px;
}
#footer .container {
	
}
#footer .inner a{
	color:#32561d;
}
#footer .footer_txt {
	background:#307b05;
	color:#fff;
}
#footer .footer_txt a{
	color:#fff;
}
#footer .footer_txt .container {
}
.footer-widgets {
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:5px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:5px;
}

.sidebar.right a {font-weight:bold;}

#content .widget .caption h3 {
	padding:0 5px;
	color:#307b05;
	font-family: 'Alef Hebrew';
	font-weight:bold;
	font-size:24px;
}
#content .widget {
}
.content-r #main_content, .content-r2 #main_content{
	padding:0 30px 20px 0;
}
.content-l #main_content, .content-l2 #main_content{
	padding:0 0 20px 30px;
}
.content-lr #main_content{
	padding:0 30px 20px;
}
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-prev {
	background-position:right 50%;
	width:27px;
	
}

	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:0;
	}
	#content {
		
	}
	#content .container {
		padding:0;
		width:1000px;
		padding-top:20px !important;
	}
	#logo {
		float:left;
	}
	.menusearch {
		width:260px;
		margin-top:30px;
	}
	#slogo {
	float:right;
}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:70px;
		position:relative;
		z-index:11;
	}
	
	
	#secondarymenu {
		float:right;
		position:relative;
		margin-top:21px;
		margin-right:15px;
	}
	#secondarymenu a {
		padding:12px 9px;
		font-family:'Alef Hebrew';
		color:#000;
		font-size:20px;
		font-weight:bold;
	}
	#secondarymenu a:hover{
		color:#378e00;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:62px;
		z-index:18;
	}
	#mainmenu li a {
		padding:17px 15px 17px 30px;
		font-size:24px;
		font-weight:bold;
		font-family: 'Alef Hebrew';
		text-transform:uppercase;
		color:#262626;
		background:url(images/menu-li.png) no-repeat left;
	}
	#mainmenu li:last-child a{
		background:none;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#378e00;
	}


	#header #mainmenu li ul {
		top:49px;
	}
	#header li ul {
		top:39px;
	}
	#header li ul .transparent {
		
	}
	#header li ul .inner {
		background:#c9dd96;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		padding:0;
	}
	#header ul.children li, #header .sub-menu li {
		color:#000 !important;
		background:none !important;
		text-align:left;
		padding:0 !important;
		text-transform:none !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a, .sub-menu li a {
		color:#000 !important; 
		padding:0 !important;
		background:none !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		color:#378e00 !important;
		text-decoration:underline !important;
		border:none !important;
		box-shadow:none !important;
	}
	
	#header #mainmenu li ul .inner {
		background:#c9dd96;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		margin-left:15px;
	}
	#header #mainmenu ul.children li a, #mainmenu .sub-menu li a {
		color:#000 !important;
		background:none !important;
		text-align:left;
		padding:0 5px !important;
		text-transform:none !important;
	}
	#header #mainmenu ul.children li a:hover, #mainmenu .sub-menu li a:hover {		
		color:#378e00 !important;
		text-decoration:underline;
		border:none !important;
		box-shadow:none !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		position:relative;
		width:1136px;
		height:480px;
		margin:0 -68px;
	}
	.slider {		
		position:absolute;
	}
	.fp-next, .fp-prev {
		margin:0 -17px;
		width:44px;
		height:390px;
	}
	.fp-title{
		font-size:13px;
	}
	
	.fp-prev-next-wrap {
		margin:0 0px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:480px;
		width:1136px;
	}
	.fp-content-fon {
		border:none;
		height:100%;
		background:url(http://4.bp.blogspot.com/-7Eznzh_ZrY0/UhEvJrCnMyI/AAAAAAAAAwY/LxThzLOj-8A/s1600/slider.png) no-repeat center;
		opacity:1;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
		text-align:left;
		font-size:13px;
	}
	.fp-content{
		left:125px;
		bottom:30px;
	}
	.fp-nav {
		bottom: 40px;
		left: 180px;
		right: auto;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}

}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#main_content{
		padding:0 15px 20px !important;
	}
	#logo {
		float:ledt;
		margin-right:15px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
		}
	#slogo {
	float:right;
}	
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-top:27px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
		padding:15px;
	}
	#secondarymenu li a{
		font-size:15px;
		color:#262626;
		font-family:'arial';
	}

	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
	/*	float:left; */
		float:right;
	}
	#mainmenu a {
		color:#262626;
		text-decoration:none;
		font-size:24px;
		font-weight:bold;
		text-transform:uppercase;
		padding:3px 15px 5px;
		display:block;
	}

	#header ul.children li a, .sub-menu li a {
		color:#262626 !important;
		text-transform:none !important;
	}
	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
	
	}
	#main_content{
		padding:0 30px 20px !important;
	}
	.mobile-menu{
		background:#C9DD96;
	}
	#logo {
		margin-top:5px;
		margin-bottom:-35px;
	}
	.searchbtn {
		width:auto !important;
	}
	#secondarymenu-container {
		padding-top:6px;
	}
	#secondarymenu, #mainmenu {
		background:#fff;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #d7d7d7;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#363636;
		text-decoration:none;
	}
	.fp-next, .fp-prev {
		margin:0 -5px;
	}
	.footer-widgets .widgetf:first-child {
		border:none;
	}
	
	#footer {
		width:100%;
	}
	.widgetf {
		border-top:1px solid #d3d3d3;
	}
	.articles .post-date {
		float:none;
	}
	.articles dt p img {
		display:none;
	}
	.fp-nav {
		bottom:-18px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	}
}
/* ---------- MY ---------- */
#introtext {text-align:justify;direction: rtl;font-family:'Alef Hebrew';font-weight: bold;font-size:14px;color:#307B05;}
#introimg {float: right; padding=left:10px;border:0px;}

/* ------------- CONTACT FORM 7 ----------------------- */
.wpcf7
{
    background-color: #C9DD96;
    border: 0px solid #000;
      -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
    }
div.wpcf7 {
padding: 20px;
margin-right:0px;
}
#cf7-title {
display: block;padding: 10px 15px;margin: 0;color: #fff;font-size: 16px;font-weight: bold;background: #000;
}
.wpcf7 textarea
{
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    font=size: 14px; 
    font-family: arial;
    width: 100%;

}
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"]
{
background-color: #fff;
    color: #000;
    border: 1px solid #000;
    font=size: 14px; 
    font-family: arial;
}
 
/* -------------------------- */
.wpcf7-submit{
background:#F1F2F3;
box-shadow: -1px 1px 3px rgba(0,0,0,.25);
-webkit-box-shadow: -1px 1px 3px rgba(0,0,0,.25);
-moz-box-shadow: -1px 1px 3px rgba(0,0,0,.25);
font-family:arial;
text-align: center;
width: 150px;
cursor:pointer;
text-transform:uppercase;
float:right;
}
.wpcf7-submit:hover{
border:1px solid #888;
}
.wpcf7-not-valid-tip, div.wpcf7-validation-errors{
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
box-shadow: 0 0 3px rgba(0,0,0,.25);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.25);
-moz-box-shadow: 0 0 3px rgba(0,0,0,.25);
padding:8px 5px 5px !important;
}

#myform1{
    background: #F7F7F7;
    width : 230px;
    margin: 10px auto;
    position: relative;
    height: 275px;
    border: 2px solid #D4F4FF;
    border-radius:10px;
-moz-border-radius:10px;
    box-shadow: 10px 10px 5px #888888;
    }
    
#gallery-1 img {
border: 1px solid rgb(192, 182, 182);
padding: 5px;
background-color: #fff;
}
.rs-groupdate-month {font-size:24px;font-weight:bold;font-family:'Alef Hebrew';padding: 0 0 20px 0;}
.list1 {margin-top:15px;margin-bottom:15px;}
li.rsevent {list-style-type:none;}
.articles .post-body a {
color:#307b05;
text-decoration:underline;
}
.articles .post-body a:hover {
text-decoration:underline;
}
.wp-caption-text {
font-size:12px;
text-align: center;
font-style: italic;
}
.articles .post-body hr {
color:red; 
border: solid #d06734 2px;
}
.rs-groupdate-year {
font-size: 30px;
font-weight: bold;
font-family: 'Alef Hebrew';
line-height: 50px;
color: #A23400;
text-decoration:underline;
}
