/*
Theme Name:     כנסים גדולים (ג.עולמות 2014)
Description:    סוג של תבנית גנרית לכנסים
Author: דמיאן וגליה - לשאלות ailaG@ailaG.net
Version:        ע14
*/


/* TODO: tmp dirty fixes */
.comment-form-url { display: none; }




/* define special fonts */

@font-face {
  font-family: Alef Hebrew;
  font-style: normal;
  font-weight: 400;
  src: url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Regular.eot);
  src: url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Regular.eot?#iefix) format('embedded-opentype'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Regular.woff2) format('woff2'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Regular.woff) format('woff'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Regular.ttf) format('truetype');
}
@font-face {
  font-family: Alef Hebrew;
  font-style: normal;
  font-weight: 700;
  src: url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Bold.eot);
  src: url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Bold.eot?#iefix) format('embedded-opentype'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Bold.woff2) format('woff2'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Bold.woff) format('woff'),
       url(http://themes.googleusercontent.com/static/fonts/earlyaccess/alefhebrew/v2/Alef-Bold.ttf) format('truetype');
}



/* required hacks */

img {
	border: 0;
}

b, strong { /* I HATE CSS RESETS -- Galia */
	font-weight: bold;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/* general settings */

body {
	background-color:#87D9D9;
	font-family: Alef Hebrew;
	font-size: 13px;
	line-height: 1.15em;
	text-align: center;
}

a { 
	color: #881F20;
	text-decoration: underline; 
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

#image { /* TODO: used? where? (ailaG asks) */
	float:right;
	margin-top:-610px;
	margin-right:570px;
	height:480px;
	width:430px;
	background:#FF3F3E;
}

	#image img{
		float:right;
		margin-right:15px;
		margin-top: 100px;
	}


#wrapper {
	margin: 0 auto;
	text-align: center;
	width: 983px;
}
#overall_header, #content, #overall_footer {
	text-align: right;
}



/*** HEADER ***/

#overall_header {
	margin: 0;
	width: 796px;
}
	#overall_header img {
		display: block;
	}	
	
	#site-title, #con-description {
		display: inline-block;
		line-height: 258px;
		margin: 0;
		vertical-align: bottom;
	}
	
	#con-theme {
		width:100%;
	}
		#con-theme img {
			display: inline-block;
			height: 219px;
			margin: auto;
			width: 794px;
		}
	
	#site-title {
		margin-left: 80px;
	}


	#amutot img{
		margin: 29px auto;
	}

	
	#top-tier {
	    margin-right: 180px;
		margin-top: -20px;
	}
	#main_menu {
		position: relative;
		width: 100%;
		text-align: right;
		
		height: 177px;
		margin-top: -50px;

	}
		#main_menu .top_level.menu {
			position: relative;
			top: 60px;
		}
		#main_menu ul{
			list-style-type: none; 
			list-style-image: none; 
		}

	
		#main_menu .menu-item-top-tier {
			display: inline-block;
			padding: 0 7px 0;
		}

		#main_menu .menu-item-top-tier.current-menu-item a,
		#main_menu .menu-item-top-tier.menu-item:hover a,
		#main_menu .menu-item-top-tier.current-page-ancestor a,
		#main_menu .menu-item-top-tier.current-menu-ancestor a,
		#main_menu .menu-item-top-tier.current_page_ancestor a
		 {
			text-decoration: underline;
		}


		 #main_menu .sub-menu.menu-item a:before
		
		 {
            margin-left:6px;
			content: "|"; 
			}
         		
		#main_menu .menu-item-top-tier.current-menu-item .sub-menu a,
		#main_menu .menu-item-top-tier.menu-item:hover .sub-menu a,
		#main_menu .menu-item-top-tier.current-page-ancestor .sub-menu a,
		#main_menu .menu-item-top-tier.current-menu-ancestor .sub-menu a,
		#main_menu .menu-item-top-tier.current_page_ancestor .sub-menu a
		
		 {
			color: black;
		}



		#main_menu .menu-item-top-tier a {
			color: #000000;
			font-size: 1.3em;
			text-decoration: none;
		}
		
		#main_menu .menu-item-top-tier a:before {
			margin-left:8px;
				content:"|";
		}
		
				
		#main_menu .menu {
			white-space: nowrap;
/* 			margin-right: 45px; */
			right: 79px;
			text-align: right;
}
		
		#main_menu .sub-menu {
			font-size: 15px;
			height: 30px;
/* 			padding-right: 47px; */
			margin-right: 13px;
			position: absolute; right: auto; 
			/*bottom: -31;*/
			visibility: hidden;
			z-index: 10;
			white-space: nowrap;
			/* vertical-align: -10px; */
			margin-top: 56px;
}

		#main_menu .sub-menu ul{
			width: 800px;
			}

		#main_menu .menu-item-top-tier:hover .sub-menu {
			visibility: visible;
			z-index: 9999;
			width: 800px;
		}
		
		
		#main_menu .current-page-ancestor .sub-menu,
		#main_menu .current-menu-item .sub-menu {
			visibility: visible;
			width:800px;
		}
		
		#main_menu .current-page-ancestor .sub-menu a
		{
			text-decoration:none;
		}
		

		#main_menu .sub-menu .current-menu-item, 
		#main_menu .sub-menu .menu-item:hover,
		#main_menu .sub-menu .current-page-ancestor {
			background-image: none;
		}

			#main_menu .sub-menu li {
				display: inline-block;
				margin-left: 0.3em;
				width:auto;
			}
#main_menu .sub-menu li:before {
    margin-left:-8px;
    vertical-align:-1px;
    
}



			#main_menu .sub-menu a {
				font-size:15px;
			}
			#main_menu .sub-menu a:before {
				margin-left:8px;
				content:"|";
			}

	
	#overall_header .extras { /* social etc */
		display: inline-block;
		position: relative;
		top: -41px;
	}
		#overall_header .extras .widgettitle {
			display: none;
		}
		#overall_header .extras a {
			display: inline-block;
			margin-left: 0.5em;
	        text-decoration:none;
		}

		#overall_header .extras img {
			display: inline;
		}
		


	#promotion {
		font-size: 22px;
		margin: 0;
		text-align: right;
	}
		#promotion ul {
			margin: 0;
			padding: 0;
		}
			
			#promotion li {
				display: inline-block;
				margin-left: 1em;
			}
				#promotion a {
					color: #000000;
					text-decoration:none;
				}	
						
				#promotion a:before {
					vertical-align: -20px;
				}
				#promotion img {
					display: inline-block;
					margin-left: 0.3em;
					vertical-align: middle;
				}
				
.home #feedback {
    margin-top: 60px;
    float: right;
    margin-right: 0px;
}		
		
#search {
	display: inline-block;
	font-size: 0.8em;
	height: 26px;
}
.home #search{
   margin-top: -28px;     
}
		
		#search_term {
			background: #6278BA;
			border-width: 0 1px 1px 0;
			color: #EFAF11;
			font-size: 14px;
			height: 26px;
			margin: 0px auto;
			text-align: center;
			vertical-align: 9px;
			width: 150px;
		}

		#search_submit {
			background-color: inherit;
			border: 0;
			color: #3E3E3E;
			font-family: Alef Hebrew;
			font-size: 1em;
			letter-spacing: 0.5px;
			padding: 0;
		}
		



/*** CONTENT ***/

#content {
	background: #B5D3E0;
	color:#231F20;
	font-size: 15px;
	line-height: 150%;
	overflow:auto;
	padding: 14px 20px;
	text-align: right;
	width: 605px; 
}



	#content .entry-title { 
		color: #23418F;
		font-size: 25px; 
		font-weight:bold;
		margin-top: 0; 
		margin-bottom: 23px;
	}
	#content h2 { font-size: 20px; }
	#content h3 { font-size: 1em; }
	
	#content td {
		padding: 0.2em 0.5em;
		color:#000000;
		direction:rtl;
	}
	
	#content ul, 
	#content ol {
		margin-right: 0.2em;
		padding-right: 2em;
		margin-top:1em;
		line-height:150%
	}
	
	#content ol {
		list-style-type: decimal;
	}
		
	#content ul {
		list-style-type: square;
	}
	
	#content p {
		margin-bottom: 0.5em;
		margin-top: 0.5em;
	}
	
	#content .post .wp-post-image {
		border: 1px solid #ca3a40;
		float: left;
	}
	
	
	
/*** HOME ***/

.home #content {
	background: none;
	line-height: 1.1em;
	padding: 0px;
	width: 100%;
	margin: 0px auto;
	border:none;
	overflow:visible;
}

.home #content h1 {
	color: white;
	font-size: 1.8em;
}

.home #news {
	background: #B5D3E0;
	color:#231F20;
	display: inline-block;	
	height: 344px;
	overflow-y: auto;
	padding: 30px 5px;
	width: 280px;
	
	line-height:20px;

}


	.home #news>h1 {
		color:white;
		font-size: 2em;
		text-align:right;
		text-decoration:none;
	}

	.home #news article h1 {
		text-decoration:none;
		margin: 0.2em 0;
		font-weight:bold;
		text-align:right;
	}

	.home #news article h1 a {
		background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAMVJREFUOE+lkE0KwjAUhNPS7k3zku7E2/h3gHoDPYMI3kb0AKVeQM/iSnCtqPNgCtJNGxz4IHmZN4QxQxXEbcEaTLwUOccmeJfrDGzAjuN+wVyBG7iAPRgTPV+BvlW09wtmC07gQx6kvR+Bpb1fQSTBwgK8GPCLzualuIT2YSqdy7DYgDeDFD3XIpLRFicsr8CdYYqeh3fXFZa1S+2rDTyAEZ/jFYpCu1wC7e0JZt7buO66QmiKoDOoEZZy/J/0Z2DKK2XMF2BvN8FrcI5gAAAAAElFTkSuQmCC'); /* TODO */
		background-repeat: no-repeat;
		background-position: right 0.2em top 0.4em;
		color:#23418F;
		display: block;
		font-size:20px;
		font-weight:bold;
		line-height: 1.2em;
		margin-top:1em;
		padding-right: 20px; /* for the arrow */
		text-decoration:none;
	}
		.home #news article h1.close a {
			background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAM9JREFUOE+l0s0JwkAQhuFE9CiY7Ca5iVbjXwHagdYggt2IFiDagNbiSfCsGN+RbIjJBAIOPBfhG2cz46Vp2khdxdb6sTUB5lirYfjl37RKjGnTZIoDblj+hGpI827Ww4vD0E20wAkvpLhgoDVQZc1ahGbY4443pJnYRjbsqGENgTHOcBMVPdD//qsW1hAY4Ygn/m8oFUWBPFkm3aHy5Dgy+ZMrWy1zRVNZSg9yJjKx+wRX5EsZFsMaray1cjYTyJLkbFYu0HjCciXWFA7bbD7i92LWrC8PVwAAAABJRU5ErkJggg=='); /* TODO */

		}
	
	.home #news .description {
		font-size:15px;
		line-height:20px;
		margin-bottom:10px;
		margin-right:10px;
		text-align:right;	
	}
	
		
	

.home #events {
	background-color: #FFFCDB;
	border: 10px solid #B5D3E0;

	float: left;
	width: 660px;

}	
	
	.home #events .carousel {
		max-width:660px;
/*
		height:455px;
		float:left;
*/
		overflow-y: hidden; /* FOUC */
		
		/* margin-left: -80px; */ /* bug */
	}
	.home #events .event {
		margin: 10px;
		margin-bottom: 0;
		padding: 10px;
		padding-bottom: 0;
		overflow: hidden;
		text-align: right;
	}
	
	
		.home #events .details {
			float:right;
			text-align:right;
			line-height:1.3em;

			display: inline-block;
			height: 338px;
			padding-left: 10px;
			text-align: right;
			width: 200px;
		}

		.home #events .event_image {
			background-color: #FFFCDB;
			float:left;
		}
			.home #events .event_image img {
				height: 330px;
				width: 410px;
			}
		
/*
			.home #events .event .image {
				display: inline-block;
				line-height: 336px;
				overflow: hidden;
			} 
*/
	
			.home #events .event .cod {
				color: #8a735c;
			}
	
	
			.home #events .details h1 {
				color:#09428F;
				font-size: 1.3em;
				text-decoration:none;
				margin-bottom:0.5em;
				font-weight: normal;
				text-align: right;
			}
/*
		
		.home #events .link  {
			float: right;
			margin-right:10px;
			margin-top: 30px;
		}	
				
		.home #events .link a {
			font-size:15px;
			text-decoration:none;
			}		
*/
		
	.home #events .pagination {
		text-align: center;
		width: 100%;
		
		
		
		display: block;
		margin-top: 0;
		height: auto;
		clear: both;
		margin-bottom: 0.7em;
	}
		.home #events .pagination a {
			background: #4FCA3A;
			border: 2px solid transparent;
			border-radius: 10px;
			display: inline-block;
			height: 12px;
			line-height: 12px;
			margin: 0 3px;
			width: 13px;
			color:#4FCA3A;
		}
		.home #events .pagination a.selected {
			border-color: #0F8B00;
		}


.mtphr-dnt-tick-contents { /* TODO: WHAT?? - ailaG */
	line-height:150%;
}


/*

.home .caroufredsel_wrapper{
    min-height:268px;
}
.home  .caroufredsel_wrapper #article h2{
    color:#FF0000;
    text-align:right;
    margin-top:10px;
    font-size:14px;
    margin-right:10px;
    text-decoration:underline;
}
.home  .caroufredsel_wrapper #article p{
    text-align:right;
    margin-right:10px;
    margin-left:5px;
    font-size:14px;
}

*/

		

/*** FOOTER ***/

#overall_footer {
	font-size: 14px;
	margin-top:15px;
	text-align: center;
}
/*

	#footer_logo {
		float: right;
		margin: 0 auto;
	}
	#footer_theme {
		float: left;
		margin-right: 30px;
	}
*/
	
	#footer_credits  {
		color: black;
		width: 100%;
		line-height: 20px;
}
	
	#footer_credits .credits {
		background-color: #B5D3E0;
		width: 1020px;
}

	#footer_credits .copyright {
		background-color: #B1F5E2;
		width: 1020px;
}


	#colophon {
		clear: both;
		font-size: 0.7em;
		line-height: 0.8em;
		margin: 1em 0;
		text-align: center;
	}
		
		#colophon li {
			border-left: 1px solid #8A735C;
			display: inline-block;
			padding: 0 5px;
		}
		
		#colophon li:last-child {
			border-left: 0;
		}


/*** DEALERS / BOOTHS / STANDS ***/
.dealers {
	margin: 0 4%;
	width: 90%;
}
	.dealers tr {
		border-bottom: 1px solid #aaa;
	}
		.dealers td {
			height: 150px;
			padding: 1em 0 !important;
			vertical-align: middle;
		}


	
/*** STORIES INDEX ***/


.page-template-Stories-Gallery-php #content {
    width:700px;
    margin-right:100px;
    margin-left:150px;
    
}


.page-template-Stories-Gallery-php #search{
margin-top: -28px;


}

#stories_wrapper {
	text-align: right;
	overflow: hidden;    
}
	#stories_wrapper header {
		color: white;
		margin-bottom:10px;
		
	}
		#stories_wrapper h1 {
			margin-left: 0.2em;
		}
	
		#stories_wrapper h2 {
			font-size: 1.5em;
		}
	
	
	#stories {
		padding-bottom: 1em;
	
		padding-top: 1em;
		direction: rtl;
}
		
		#stories .story {
			display: inline-table;
			/* line-height: 1.6em; */
			padding: 15px 20px 15px 20px;
			vertical-align: top;
            		
			text-align:center;
           		 
			width: 25%;
			/* background-color: #2B4B9B; */
			/* border-radius: 15px; */
			/* margin: 5px; */
			/* min-height: 36px; */
            		
			color: #E52629;
			/* text-decoration: none; */
			direction: rtl;
			/* float: right; */
}
		#stories .story .title {
			/* display: inline; */
			font-size: 14px;
			/* font-weight:bold; */
			/* vertical-align: top; */
			/* text-decoration: none; */
			/* direction:rtl; */
			/*color: #E52629; */
		}



/*** STORY PAGE ***/

.single-stories #content nav {
	margin-top: 1em;
}

.single-stories #content {
	width: 500px;
	margin-right: 200px;
	margin-left: 200px;
}
.single-aguda-story .content {
	text-indent: 2em;
}


/*** VOLUNTEER FORM ***/

.page-id-94 #content .ss-form-title { 	
	display: none;
}

.page-id-94 #content .ss-required-asterisk {
	font-size: 0.7em;
}

.page-id-94 #content .ss-form input {
	border: 1px solid #777;
}



/*** 404 ***/

.error404 #err404_help ul.menu {
	margin-top: 0;
}

.error404 .iconic_icon {
	display: none;
}

.error404 #content h2 {
	margin-top: 2em;
}


/*** COMMENTS ***/
#comments input, 
#comments label {
	display: inline-block;
	vertical-align: top;
}

#comments label {
	width: 5.5em;
}

#comments ul {
	list-style-type: none;
}
	#comments li {
		border-right: 0.5em solid #87D9D9;
		margin-top: 1em;
		padding-right: 1.5em;
	}
		#comments .comment-author,
		#comments .comment-meta {
			margin-right: -1em;
		}
	#comments ul ul {
		margin-right: 3em;
	}
	#comments .comment-author {
		display: inline-block;
	}
	#comments .comment-meta {
		display: inline-block;
		font-size: 0.8em;
	}
	
	#comments .comment-meta,
	#comments .comment-meta a {
		color: #888;
	}
	#comments .form-allowed-tags {
		font-size: 0.7em;
	}