/*
Theme Name: Twelve plus
Theme URI: http://www.12plus.co.il
Description: A theme for 12plus.co.il
Author: Zephyr Web Design
Author URI: http://www.wwz.co.il
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/

@font-face {
    font-family: 'Genericons';
    src: url('fonts/genericons-regular-webfont.eot');
    src: url('fonts/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/genericons-regular-webfont.woff') format('woff'),
         url('fonts/genericons-regular-webfont.ttf') format('truetype'),
         url('fonts/genericons-regular-webfont.svg#genericonsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alef';
    src: url('fonts/Alef-Bold.eot');
    src: url('fonts/Alef-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alef-Bold.woff') format('woff'),
         url('fonts/Alef-Bold.ttf') format('truetype'),
         url('fonts/Alef-Bold.svg#alefbold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Alef';
    src: url('fonts/Alef-Regular.eot');
    src: url('fonts/Alef-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alef-Regular.woff') format('woff'),
         url('fonts/Alef-Regular.ttf') format('truetype'),
         url('fonts/Alef-Regular.svg#alefregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html {
	font-size: 62.5%;
}
body {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 24px;
}
html, body {
	height: 100%;
}
ul {
	padding: 0;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

a, a:hover {
	color: inherit;
	text-decoration: underline;
}

h1, .h1, h2, .h2, h3, .h3, ul, ol {
	margin: 0;
}

h1 a {
	text-decoration: none;
}

.clear {
	clear: both;
}
.clearfix:after {
	display: block;
	clear: both;
	content: " ";
}
/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}

aside {
	display: none;
}

/* =Main global 'theme' and typographic styles
-------------------------------------------------------------- */
 body {
 	font-family: Alef, arial, sans-serif;
 }
 .container-fluid {
 	max-width: 1005px;
 }
 #content {
 	clear: both;
 }
 
 #main {
 	margin-top: 15px;
 }
 
 #wrapper {
 	margin-top: 20px;
}
 
 /* =Header
 -------------------------------------------------------------- */
 header a, headar a:hover {
 	text-decoration: none;
} 
 
 .header-links {
 	display: inline-block;
}
 
.header-contact-btn {
 	color: #fff;
 	text-align: center;
 	font-size: 14px;
 	background-color: #0971ce;
 	border-radius: 10px;
 	-moz-border-radius: 5px;
 	-webkit-border-radius: 5px;
 	border: 2px solid #00aceb;
 	width: 122px;
 	height: 26px;
 	line-height: 20px;
}
 
.header-contact-btn:hover {
	color: #fff;
	text-decoration: none;
}

/* =top menu
-------------------------------------------------------------- */
.topmenu {
	display: inline-block;
	line-height: 16px;
	font-size: 16px;
}

.topmenu > ul > li:hover, .topmenu > ul >  li.current_page_item, .topmenu > ul >  li.current-menu-ancestor, .topmenu > ul >  li.current-menu-parent, .topmenu > ul >  li.current_page_parent, .topmenu > ul >  li.current_page_ancestor, .topmenu > ul >  li.current-menu-item, .topmenu > ul >  li.current_page_item  {
	color: #0b72c7;
}

.topmenu ul {
	list-style-type: none;
	position: relative;
}

.topmenu ul:after {
	display: block;
	clear: both;
	content: " ";
}

.topmenu > ul > li {
	padding: 2px 5px;
	display: inline-block;
	position: static;
}

.topmenu a {
	text-decoration: none;
}

.topmenu ul .sub-menu {
	display: none;
	position: absolute;
	top: 42px;
	right: 0;
	color: #6b6a6a;
	padding: 0;
	z-index: 1000;
	font-size: 15px;
	line-height: 19px;
}

.topmenu ul .sub-menu .current-menu-item, .topmenu ul .sub-menu .current_page_item {
	color: #5D0E8B;
}

.topmenu ul .sub-menu li {
	display: inline-block;
}

.topmenu > ul >  li.current_page_item .sub-menu, .topmenu > ul >  li.current-menu-ancestor .sub-menu, .topmenu > ul >  li.current-menu-parent .sub-menu, .topmenu > ul >  li.current_page_parent .sub-menu, .topmenu > ul >  li.current_page_ancestor .sub-menu, .topmenu > ul >  li.current-menu-item .sub-menu, .topmenu > ul >  li.current_page_item .sub-menu  {
	display: block;
}

.topmenu ul ul li:last-child {
	padding-bottom: 15px;
}

.topmenu ul ul li {
	padding: 0 5px;
}

/* =Item list 
-------------------------------------------------------------- */
.item-title {
	font-size: 20px;
	font-weight: bold;
	color: #0971ce;
	padding-bottom: 10px;
}

.toggler-item-title {
	cursor: pointer;
}

.toggled-item-summary {
	padding-bottom: 5px;
}

.toggler-item-title:hover {
	text-decoration: underline;
}

/* =Content
-------------------------------------------------------------- */
.entry-title, .promoted .widget-title {
	font-size: 30px;
	color: #0971ce;
	font-weight: bold;
	background-image: url(images/title_icon1.png);
	background-repeat: no-repeat;
	background-position: center left;
	padding: 27px 60px 0;
	margin-bottom: 20px;
}

.readmore {
	color: #0971ce;
	text-align: right;
	font-weight: bold;
	font-size: 17px;
}

.entry-content > ul {
	padding: 0 20px;
}

.entry-content a, #main a, footer a {
	color: #0971ce;
}

.entry-content p {
	margin: 0;
}

.archive .hentry {
	margin-top: 0;
}

dl.link_categories dt {
	color: #0971ce;
    font-size: 20px;
    font-weight: bold;
}

.hentry ul, dl.link_categories ul {
	padding: 0 20px;
	font-size: 16px;
}

.hentry ul, dl.link_categories li {
	padding-bottom: 2px;
}

.hentry ul, dl.link_categories ul h3 {
	font-size: 16px;
}

.hentry ul, dl.link_categories .linkgroup_description {
	margin: 0;
}

.itemlist {
	color: #0971ce;
    font-size: 20px;
    font-weight: bold;
}

.itemlist .toggled-item-summary {
	color: #333;
	font-size: 16px;
	font-weight: normal;
}
/* =Homepage
-------------------------------------------------------------- */
.homepage_items .wpcf7 {
	background-color: #fbfbfb;
	box-shadow: 1px 1px 6px #999;
	-moz-box-shadow: 1px 1px 6px #999;
	-webkit-box-shadow: 1px 1px 6px #999;
	border: 1px solid #0b72c7;
	padding: 15px;
	font-size :17px;
	color: #797d81;
}

.homepage_items {
	padding-top: 17px;
}

.homepage_items .wpcf7 h2 {
	color: #0071ce;
	font-size: 33px;
}

.homepage_items .wpcf7 p {
	margin: 0 0 16px;
}

.homepage_items .promoted {
	padding-top: 0;
}

.cycle-slideshow li {
	width: 100%;
}

.nav_buttons #prev {
	left: 2%;
}

.nav_buttons #next {
	right: 2%;
}

.promoted .widget {
	list-style-type: none;
}

/* =Contact page 
-------------------------------------------------------------- */
.contact_side_panel ul {
	list-style-type: none;
}

.contact_side_panel li {
	padding-bottom: 17px;
}

.contact_side_panel li:after {
	display: block;
	clear: both;
	content: " ";
}

.contact_side_panel li .contact-icon, .contact_side_panel li .contact-details {
	float: right;
}

.contact_side_panel li .contact-details {
	padding: 0 20px;
	font-size: 16px;
}

.contact_side_panel .contact-icon + p, .contact_side_panel .contact-details + p { /* Wordpress is generous with empty  p  tags. */
	display: none;
}

.contact-content h2 {
	color: #0971ce;
	font-size: 16px;
	font-weight: bold;
	padding-top: 4px;
}

/* =Contact form
-------------------------------------------------------------- */
input[type="text"], input[type="email"], .wpcf7-textarea, input[type="tel"] {
	width: 100%;
	border: 0;
	padding: 5px;
	background-color: #eff3f8;
	box-shadow: 1px 1px 6px #ccc;
	-moz-box-shadow: 1px 1px 6px #ccc;
	-webkit-box-shadow: 1px 1px 6px #ccc;
}

.chimp {
	position: static!important;
	display: none;
}

input[type="text"], input[type="email"], input[type="tel"] {
	height: 45px;
}

.rappel {
	height: 33px;
	line-height: 33px;
	background-image: url(images/heart.png);
	background-repeat: no-repeat;
	background-position: center right;
	margin: 20px 0 10px;
	padding: 0 50px;
}


input[type="submit"], .mc-embedded-subscribe {
	border: 0;
	background-color: transparent;
	color: #0b72c7;
	font-weight: bold;
	font-size: 24px;
}

.contact_side_panel {
	display: block;	
}

.contact_submit {
	text-align: left;
	width: 320px;	
}

.contact_submit input[type="submit"] {
	color: #fff;
	background-image: url(images/plus.png);
	background-repeat: no-repeat;
	background-position: center right;
	width: 118px;
	height: 54px;
	font-size: 17px;
	padding: 0 60px 7px 0; 
}

/* =Widget Area 
-------------------------------------------------------------- */
.widget-area ul {
	list-style-type: none;
}

#side_panel ul {
	padding: 15px 0;
}

#side_panel ul.sub-menu {
	padding: 0;
	margin: -10px 0 20px;
}

#side_panel .widget-container, #side_panel .menu-item {
	width: 175px;
}

#side_panel .widget-container, #side_panel .menu-item a {
	margin-bottom: 25px;
	padding: 10px;
	border: 1px solid #0b72c7;
	box-shadow: 0 1px 4px #666;
	-moz-box-shadow: 0 1px 4px #666;
	-webkit-box-shadow: 0 1px 4px #666;
	line-height: 20px;
}

aside a {
	color: #0971ce;
}

#side_panel .menu-item-has-children > a {
	pointer-events: none;
	cursor: pointer;
}

#side_panel .widget-container:first-child {
	border: none;
	box-shadow: none;
	padding: 0;
}

#side_panel .widget-container:last-child {
	margin-bottom: 0;
}

#side_panel .widget-container h3 {
	color: #0b72c7;
	font-size: 22px;
	margin: 7px 0;
}

#side_panel .menu-item {
	color: #0b72c7;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	position: relative;
	cursor: pointer;
}

#side_panel .menu-item a {
	display: block;
	color: inherit;
	height: 80px;
	padding: 0;
	background: #fdfdfd; /* Old browsers */
	background: -moz-linear-gradient(top, #fdfdfd 0%, #fdfdfd 97%, #c5dbf0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(97%,#fdfdfd), color-stop(100%,#c5dbf0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #fdfdfd 0%,#fdfdfd 97%,#c5dbf0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #fdfdfd 0%,#fdfdfd 97%,#c5dbf0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #fdfdfd 0%,#fdfdfd 97%,#c5dbf0 100%); /* IE10+ */
	background: linear-gradient(to bottom, #fdfdfd 0%,#fdfdfd 97%,#c5dbf0 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#c5dbf0',GradientType=0 ); /* IE6-9 */
	text-decoration: none;
}

#side_panel .menu-item a.table {
	display: table;
}


#side_panel .menu-item span.table-cell {
	display: table-cell;
	vertical-align: middle;
}

#side_panel .menu-item:hover > a, #side_panel .menu-item.current-menu-item > a, #side_panel .menu-item.current-menu-ancestor > a {
	color: #fff;
	background: #4191d1; /* Old browsers */
	background: -moz-linear-gradient(top, #4191d1 0%, #3689cd 6%, #2a82cb 11%, #2a82cb 87%, #0071ce 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4191d1), color-stop(6%,#3689cd), color-stop(11%,#2a82cb), color-stop(87%,#2a82cb), color-stop(100%,#0071ce)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #4191d1 0%,#3689cd 6%,#2a82cb 11%,#2a82cb 87%,#0071ce 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #4191d1 0%,#3689cd 6%,#2a82cb 11%,#2a82cb 87%,#0071ce 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #4191d1 0%,#3689cd 6%,#2a82cb 11%,#2a82cb 87%,#0071ce 100%); /* IE10+ */
	background: linear-gradient(to bottom, #4191d1 0%,#3689cd 6%,#2a82cb 11%,#2a82cb 87%,#0071ce 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4191d1', endColorstr='#0071ce',GradientType=0 ); /* IE6-9 */
}

#side_panel .menu-item a:hover {
	text-decoration: none;
}

#side_panel .menu-item .arrow {
	background-color: #0b72c7;
	color: #fff;
	width: 18px;
	height: 18px;
	display: inline-block;
	font-weight: bold;
	font-size: 15px;
	line-height: 16px;
	text-align: center;
	border-radius: 18px;
	vertical-align: middle;
}

#side_panel .menu-item.current-menu-item > a > span > .arrow, #side_panel .menu-item:hover > a > span >  .arrow, #side_panel .menu-item.current-menu-ancestor > a > span > .arrow {
	color: #0b72c7;
	background-color: #fff;
}

#side_panel .menu-item small {
	display: block;
	font-size: 16px;
}

#side_panel .menu-item .sub-menu a {
	height: 44px;
	font-size: 16px;
	line-height: 16px;
	padding: 0;
	margin-bottom: 15px;
}

#side_panel .menu-item#menu-item-9 .sub-menu a {
	padding: 5px 0;
}

.about_sidemenu_header {
	background-image: url(images/about_sidepanel_header_bg.png);
	background-repeat: no-repeat;
	background-position: center left;
	height: 60px;
	font-size: 22px;
	font-weight: bold;
	color: #007dc3;
	padding: 15px 50px 15px 0;
	margin-top: 30px;
}

.sidelinks, .sidepanel {
	display: block;
}

/* =footer
-------------------------------------------------------------- */
footer {
	margin-top: 70px;
	border-top: 1px solid #adafb1;
	background-color: #ededed;
	padding: 25px 0;
	min-height: 260px;
}
.seo_links ul {
	list-style-type: none;
}

footer a, footer a:

/* =Images
-------------------------------------------------------------- */

.attachment-thumb, .attachment-thumb img {
	box-shadow: 1px 1px 5px #666; 
	-moz-box-shadow: 1px 1px 5px #666;
	-webkit-box-shadow: 1px 1px 5px #666;
	display: block;
	max-width: 100%;
	
}

.attachment-thumb {
	margin-bottom: 35px;
	height: auto; 
}

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
	margin-bottom: 12px;
	box-sizing: content-box;
	padding: 15px;
	box-shadow: 0 1px 4px #666;
	-moz-box-shadow: 0 1px 4px #666;
	-webkit-box-shadow: 0 1px 4px #666;
	border: 1px solid #0b72c7!important;
	max-width: 90%;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter,
.entry-content iframe {
	margin-bottom: 12px;
	box-sizing: content-box;
	padding: 15px;
	box-shadow: 0 1px 4px #666;
	-moz-box-shadow: 0 1px 4px #666;
	-webkit-box-shadow: 0 1px 4px #666;
	border: 1px solid #0b72c7!important;
	max-width: 90%;
}

.entry-content iframe {
	margin-top: 10px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */

@media print {
	body {
		background: none !important;
	}
}

/* =Media queries
-------------------------------------------------------------- */
@media only screen 
and (min-height: 300px) { /* iphone4 (450) */
	
	.debug {
		background-color: orange;
		height: 390px;
		content: "Iphone4";
	}
	
}

@media only screen 
and (min-height: 450px) { /* iphone5 - 320 X 460, Galaxy S2 */
	.debug {
		background-color: red;
		height: 445px;
		content: "Iphone5";
	}
	
	
}

@media only screen 
and (min-width: 500px) { /* Tablet - portrait: Android: 800 X 1118 */
	.debug {
		background-color: purple;
		height: 1100px;
		content: "Tablet";
	}
	
	.mobile-only {
		display: none!important;
	}

	 #wrapper {
	 	margin-top: 40px;
	 }
	 .header-links {
	 	display: inline;
	 }
	/* menu align to center: http://matthewjamestaylor.com/blog/beautiful-css-centered-menus-no-hacks-full-cross-browser-support */
	.topmenu {
	   	width:100%;
	   	padding-top: 10px;
	   	line-height: 24px;
	   	margin-bottom: 0;
	   	font-size: 16px;
	   	font-size: 1.6rem;
	   	margin-bottom: 60px;
	}
	
	.topmenu ul {
		padding: 0;
		list-style:none;
		margin:0;
		padding:0;
		text-align:center;
		display: table;
		width: 100%;
		position: static;
	}
	
	.topmenu > ul > li {
		border-bottom: 0;
		position: relative;
   		padding-top: 77px;
   		display: table-cell;
	}
	
	.topmenu ul .sub-menu {
		top: 100px;
		left: 0;
		box-shadow: 0 3px 3px #999;
		-moz-box-shadow: 0 3px 3px #999;
		-webkit-box-shadow: 0 3px 3px #999;
		padding: 0;
		min-width: 100%;
		text-align: center;
		padding-top: 10px;
	}
	
	.topmenu ul .sub-menu li {
		display: block;
	}
	
	.topmenu > ul > li:after {
		content: " ";
	}
	
	.topmenu > ul > li:hover, .topmenu > ul >  li.current_page_item, .topmenu > ul >  li.current-menu-ancestor, .topmenu > ul >  li.current-menu-parent, .topmenu > ul >  li.current_page_parent, .topmenu > ul >  li.current_page_ancestor, .topmenu > ul >  li.current-menu-item, .topmenu > ul >  li.current_page_item  {
		background-image: url(images/menu_item_bg.png);
		background-repeat: no-repeat;
		background-position: center top;
		color: #0b72c7;
	}
	
	.topmenu > ul >  li.current_page_item .sub-menu, .topmenu > ul >  li.current-menu-ancestor .sub-menu, .topmenu > ul >  li.current-menu-parent .sub-menu, .topmenu > ul >  li.current_page_parent .sub-menu, .topmenu > ul >  li.current_page_ancestor .sub-menu, .topmenu > ul >  li.current-menu-item .sub-menu, .topmenu > ul >  li.current_page_item .sub-menu  {
		display: none;
	}
	
	.topmenu ul ul li {
		background-color: #fff;
		padding: 0;
	}
	
	.sub-menu li:hover {
		color: #0971ce;
	}
	
	#side_panel > .line-holder {
		border-right: 1px solid #d6d5d5;
	}
	
	.seo_links > ul > li.current-menu-item, .seo_links > ul > li:hover {
		/*background-image: url(images/small_menu_item_bg.png);*/
		background-repeat: no-repeat;
		background-position: right top;
		color: inherit;
	}
	
	.seo_links > ul > li {
		display: inline-block;
		padding-left: 10px;
		vertical-align: top;
	}
	
	.seo_links .sub-menu {
		font-size: 12px;
		width: 100px;
	}
	
	.credits {
		color: #0b72c7;
		text-align: center;
		font-size: 18px;
		font-weight: bold;
		padding: 15px 0 5px;
	}
	
	.credits a {
		text-decoration: none;
	}
	
	.credits a:hover {
		text-decoration: underline;
	}
	
	.promoted {
		width: 47%;
	}
	
	.homepage_items .wpcf7 {
		width: 49%;
		margin-top: 9px;
	}
	.topmenu ul >li:hover .sub-menu {
		display: block;
	}
}

@media only screen 
and (min-width: 768px) { 
	aside {
		display: block;
	}
	.contact_side_panel {
		float: right;
		width: 50%;
		display: block;
	}
	.contact-content {
		float: left;
		width: 50%;
	}
}	

@media only screen 
and (min-width: 1024px) { 
	.sidelinks, .sidepanel {
		display: block;
	}
	
	.topmenu ul {
		font-size: 21px;
	}
}

@media only screen 
and (min-width: 1250px) 
and (min-height: 630px) { /* Tablet - landscape: Android: 1280 X 637*/
	.debug {
		background-color: red;
		height: 630px;
		content: "Tablet";
	}
	
}


@media only screen 
and (min-width: 1280px)
and (min-height: 400px) { /* 800px Desktop: 1280 X 800*/
	.debug {
		background-color: pink;
	}
	
}

