/*   
Theme Name: tj-itamar
Theme URI: http://traveljournalism.co.il
Description: Theme build by Itamar Megged @2014.
Author: Itamar Megged
Author URI: http://i.m.co.il
Version: 1.0
*/

/*
	HTML5 Reset Wordpress Theme :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Ohav team			:: http://ohav.co.il
	Eric Meyer			:: http://ericmeyer.com
	HTML5 Doctor			:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small , small a{
font-size: 11px !important;
font-family: arial;
color: #424040;
}
#footer {
position: relative;
top: -6px;
vertical-align: middle;
}

.widget_join .prod-month-container .prod-month-content {
top: -9px;
}

.fb-like-box span, .fb-like-box iframe {
    width: 253px !important;
    height: 284px !important;
}


small a:hover{
	text-decoration:none;
	color:#3969c1;
}
strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  



/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px Arial, Helvetica, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #424040;}

a {color: #01aaf1;}
a:hover {color: #fff; background: #01aaf1;}
a.aimg:hover {color:transparent; border: 0; background: none;} /*clear a:hover effect from images inside anchors */

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */


/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* special via editor */

.cleared
{
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1px;
}
/*BOXS*/
.frame_box h1, .frame_box h2, .frame_box h3, .frame_box h4, .frame_box h5, .frame_box h6{
    padding:0px; 
    margin:0px;
}
.frame_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.frame_box{
    padding:20px 20px; 
    margin:10px 0px; 
    background-color:#f0f1f2; 
    border: solid 1px #e6e7e8; 
}
.note_box h1, .note_box h2, .note_box h3, .note_box h4, .note_box h5, .note_box h6{
    padding:0px; 
    margin:0px;
}
.note_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.note_box{
    padding:20px 20px; 
    margin:10px 0px;  
    border: solid 1px #e6e7e8;
}

.succes_box h1, .succes_box h2, .succes_box h3, .succes_box h4, .succes_box h5, .succes_box h6{
    padding:0px; 
    margin:0px;
}
.succes_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.succes_box{
    padding:10px 10px; 
    margin:10px 0px; 
    background-color:#e9f9e5; 
    border: #b4e8aa solid 1px; 
    color:#698433;
}

.error_box h1, .error_box h2, .error_box h3, .error_box h4, .error_box h5, .error_box h6{
    padding:0px; 
    margin:0px;
}
.error_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.error_box{
    padding:10px 10px; 
    margin:10px 0px; 
    background-color:#f9e5e6; 
    border: #e8aaad solid 1px; 
    color:#cc0006;
}

.info_box h1, .info_box h2, .info_box h3, .info_box h4, .info_box h5, .info_box h6{
    padding:0px; 
    margin:0px;
}
.info_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.info_box{
    padding:10px 10px; 
    margin:10px 0px; 
    background-color:#e5ecf9; 
    border: #aac6e8 solid 1px; 
    color:#00499c;
}

.notice_box h1, .notice_box h2, .notice_box h3, .notice_box h4, .notice_box h5, .notice_box h6{
    padding:0px; 
    margin:0px;
}
.notice_box p{
    margin:10px 0px 0px 0px; 
    padding:0px;
}
.notice_box{
    padding:10px 10px; 
    margin:10px 0px; 
    background-color:#f9f9e5; 
    border: #e8e3aa solid 1px; 
    color:#ac8400;
}


/*COLUMNS*/
.last{ margin:0px !important; clear:left; }
.one_sixth,.one_fifth,.one_fourth,.one_third,.one_half,.two_third,.three_fourth{ float:right; margin: 0px 0px 0px 4%; border-bottom:1px dotted #ccc;}
.one_sixth { width: 13.33%;}
.one_fifth{width:16.8%; float:right;}
.one_fourth{width: 22%;}
.one_third{width: 30.6%;}
.one_half{width: 48%;}
.two_third{width: 65.4%;}
.three_fourth{width: 74%;}

/*LINES*/
.line_shortcut{
    border-top: 1px solid #efefef; 
}
.line_zero{
    clear: both; 
    border-top: 1px solid #efefef; 
    margin:0px 0px;
}
.line_padding{
    clear: both; 
    height: 10px;
} 

.highlight  {
	padding: 1px 7px;
 	display: inline-block;
}
.highlight.yellow {
 	background: #ffff99;
 }
 .highlight.green {
 	background: #00ff00;
 }
 .highlight.blue {
 	background: #00ccff;
 }
 .highlight.red {
 	background: #ff6600;
 }
 
.float_right{
	float: left;
}

.float_left{
	float: right;
}

.turquise_border{
	border: 3px solid #01aaf1;
	border-radius:0.4em;
}

@font-face {
	font-family: corbel;  
	src: local('corbel'), 
		url("corbel.ttf") format('truetype');  
	font-weight: normal;  
}

@font-face {
	font-family: corbelb;  
	src: local('corbelb'), 
		url("corbelb.ttf") format('truetype');  
	font-weight: normal;  
}

/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/
body{
	width: 100%;
	background: url('images/bg2.png');
	margin: 0 auto;
	text-align: center;
	font-size: 14px;
	direction: ltr;
}

h1, h2, h3, h4, h5{
	font-family: corbelb;
	width: 100%;
	line-height: 100%;
}

h1{
	font-size: 200%;
}

h2{
	font-size: 185%;
	border-bottom: 4px solid #424040;
}

h3{
	font-size: 142%;
}

h4{
	font-size: 100%;
}

article.main-article{
	margin: 0 0 2.5%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

article.main-article p{
	width: 100%;
	line-height: 190%;
	margin-bottom: 1.16%;
}

article.main-article h3, article.main-article h4{
	margin-bottom: 2.33%;
}

.post-thumbnail{
	width: 100%;
	float: right;
	margin: 0 0 1.16%;
}

img.alignright {
	float: right;
	margin: 10px 0 10px 10px;
}
img.alignleft {
	float: left;
	margin: 10px 10px 10px 0;
}

header.full-header{
	margin: 0 auto;
	text-align: center;
}

.banner { 
	width: 100%;
	max-width: 1351px;
	position: relative;
	margin: 0 auto;
}

header.full-header a:hover {
	background: none;
}

.logo{
	width: 45%;
	max-width: 481px;
	position: relative; 
	left:0; 
	top: 0;
}

nav.main-nav{
	height: 47px;
	font-size: 120%;
	width: 1024px;
	text-align: center;
	font-family: corbel;
	margin: 0 auto;
}

div.main-nav-wrapper{
	width: 100%;
	margin: 0 auto;
}

.fixed{
	position: fixed;
	top: 0;
	z-index: 999;
}

div.main-nav-wrapper.sticker {
	z-index: 999;
}

nav.main-nav a{
	color: #fff;
	text-decoration: none;
	line-height: 32px;
	display: block;
}

nav.main-nav a:hover{
	color: white;
	background: none;
}

/*ul.main-menu{
	height: 47px;
	background: url('images/main_menu_bg.png') 0 0 repeat-x;
	background-clip: padding-box;
	border-width: 0 31px 0 31px;
	-moz-border-image:url("images/main_menu_border.png") 0 31 0 31;
	-webkit-border-image:url("images/main_menu_border.png") 0 31 0 31;
	border-image:url("images/main_menu_border.png") 0 31 0 31;

}*/

ul.main-menu {
	height: 47px;
	border-image-source: url("images/main_menu_border.png");
	border-image-slice: 23.5 20;
	border-image-width: 23.5px;
	padding: 0 20px;
}
ul.fb-menu{
	width: 62px;
	height: 47px;
	background: url('images/fb-menu.png') 0 0 no-repeat;
}

ul.contact-menu {
	width: 70px;
	height: 47px;
	border-image-source: url("images/contact_menu_border.png");
	border-image-slice: 23.5 23;
	border-image-width: 31px;
	padding: 0 15px;
}

ul.main-menu .menu-item {
	float: left;
	margin: 0;
	padding: 0 11px 0;
	display: block;
	height: 33px;
}

nav.main-nav li{
	transition: .3s ease all;
}

nav.main-nav li.current-menu-item, ul.main-menu li:hover, ul.contact-menu li:hover{
	background-color: #424040;
	color: white;
}


ul.contact-menu .menu-item{
	width: 100%;
	height: 33px;
}

ul.fb-menu li a{
	display: block;
	width: 100%;
	height: 32px;
}

.general-wrapper{
	background: #fff url('images/bg1.png') repeat-x;
	width: 100%;
	height: 100%;
}

.wrapper{
	width: 898px;
	min-height: 400px;
	text-align: left;
	margin: 3.89% auto 0;
	line-height: 140%;
	padding-bottom: 5.01%;
}

section.last-articles{
	width: 38.975%;
	height: 380px;
}

section.video{
	width: 56.013%;
	height: 380px;
}

section.featured-articles{
	width: 56.013%;
	height: 430px;
	margin-top: 4.94%;
}

section.left-section{
	width: 38.975%;
	/*height: 430px;*/
	margin-top: 4.94%;
}

section.last-articles a{
	text-decoration: none;
	color: #424040;
}

section.last-articles span.la{
	width: 100%;
	height: 28.9%;
	border-bottom: 1px solid #b1b1b1;
	display: block;
}

section.last-articles span.la span{
	display: block;
	padding: 3% 2% 2%;
	max-height: 95%;
	overflow: hidden;
}

section.video div.textwidget{
	height: 84%;
	margin-top: 3.21%;
}

section.video iframe{
	width: 100%;
	height: 100%
}

section.featured-articles span.fa {
	width: 46.6%;
	height: 40.5%;    
	margin: 2.42% 0 0 0;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	visibility: visibile;
	display: block;
}

section.featured-articles span.fa img{
	width: 100%;
	height: 180px;
	top: 0px;
	left: 0px;
}

section.featured-articles span.fa .fa-caption {
	width: 100%;
	height: 180px;
	background:#000;
	color:#fff;
	
	/* fix it at the bottom */
	position:absolute;
	left:0;
	/* hide it by default */
	display:none;
	/* opacity setting */
	filter:alpha(opacity=70);    /* ie  */
	-moz-opacity:0.7;    /* old mozilla browser like netscape  */
	-khtml-opacity: 0.7;    /* for really really old safari */  
	opacity: 0.7;    /* css standard, currently it works in most modern browsers like firefox,  */
}
section.featured-articles span.fa .fa-caption h3 {
	text-decoration:none;
	color:white;
	font-size:114%;    
	
	/* add spacing and make the whole row clickable*/
	margin-left: 12px;
	margin-top: 12px;
	display:block;
	font-family: corbelb;
}
section.featured-articles span.fa .fa-caption p {
	padding:12px;    
	margin:0;
	line-height: 130%;
}


section.featured-articles span.fa img {
	border:0;
	
	/* allow javascript moves the img position*/
	position:absolute;
}
section.featured-articles span.fa .clear {
	clear:both;    
}

section.left-section div.about{
	/*height: 239px;*/
	background: #eae9e8;
	margin: 3.42% 0 3.42%;
	
}

section.left-section div.about span{
	line-height: 150%;
	padding: 4.25%;
	height: 75%;
	overflow: hidden;
	display: block;
}

section.left-section div.fb{
	height: 186px;
	background: #eae9e8;
}

footer{
	background: #002d40;
	color: white;
	width: 100%;
	height: 200px;
	overflow: hidden;
	text-align: left;
	border-top: 3px solid #01aaf1;
	font-size: 90%;
}

footer ul.footer-menu{
	width: 12%;
	height: 86.42%;
	margin: 10px 0;
	padding: 0 10px;
	line-height: 160%;
	border-right: 1px solid #7C7C7C;
}

footer ul.footer-menu a{
	color: white;
	text-decoration: none;
}

footer ul.footer-menu a:hover{
	color: white;
	text-decoration: underline;
	background: none;
}

footer ul.footer-menu h3{
	font-size: 100%;
	font-weight: 800;
	font-family: Arial;
	text-decoration: none;
	line-height: 160%;
}

footer ul.footer-menu li.footer-menu-item{
}

/* page style */
header.page-header{
	background:url('images/destinations-header.jpg');
	height: 280px;
	width: 100%;
	max-width: 1351px;
	margin: 0 auto 0;
}

header.page-header h1, header.full-header h1{
	width: 100%;
	max-width: 1351px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999;
}

header.page-header h1{
	position: relative;
	top: 0;
	left: 0;
}

header.page-header h1 a, header.full-header h1 a{
	float: left;
}

header.page-header h1 a:hover,  header.full-header h1 a:hover{
	background:none;
	text-decoration: none;
}

.category-55 header.page-header{
	background:url('images/destinations-header.jpg');
	background-repeat: no-repeat;
}

body.category-22 header.page-header{
	background:url('images/israel-header.jpg');
	background-repeat: no-repeat;
}

body.category-24 header.page-header{
	background:url('images/specials-header.jpg');
	background-repeat: no-repeat;
}

body.category-26 header.page-header{
	background:url('images/ski-header.jpg');
	background-repeat: no-repeat;
}

body.category-57 header.page-header{
	background:url('images/cultures-header.jpg');
	background-repeat: no-repeat;
}

p.post-closer{
	padding: 0 0 0 1%;
	line-height: 218%;
	background: #f0f0f0;
}

section.content-wrapper{
	width: 66.815%;
}

section.content-wrapper h2{
	margin-bottom: 15px;
}

aside.aside-wrapper{
	width: 28.173%;
}

aside.aside-wrapper li.widget-wrapper{
	list-style: none;
	width: 100%;
	margin-bottom: 15px;
	padding-bottom: 5px;
}

aside.aside-wrapper li.widget-wrapper h3{
	font-size: 185%;
	border-bottom: 4px solid #424040;
	margin-bottom: 10px;
}

ul.subcategory-list{
	text-align: center;
}

ul.subcategory-list a h3{
	margin: 0;
	padding: 0;
	color: #424040;
	text-decoration: none;
}

ul.subcategory-list img{
	width: 99%;
	border: 0;
	border: 1px solid #424040;
}

li.subcategory-li{
	width: 49.166%;
	margin: 0 0 3.38%;
}

div.subcategory-content{
	overflow: hidden;
	border-bottom: 1px solid grey;
	margin-bottom: 15px;
}

div.subcategory-item a:hover{
	background: none;
}

div.subcategory-desc{
	width: 65.833%;
}

div.subcategory-image{
	width: 36.66%;
	margin-bottom: 5px;
}

article.category-post{
 	height: 140px;
	width: 100%;
	border-bottom: 1px solid #b1b1b1;
	margin: 15px 0 0;
}

ul.tag-list{
	width: 100%;
}

li.tag-li{
	width: 33%;
}

article.category-post div.post-image{
	width: 20.833%;
}

article.category-post div.post-summery{
	width: 76.66%;
	height: 89.28%;
	overflow: hidden;
}

article.category-post div.no-image{
	width: 100%;
}

article.category-post p.post-summery-content a{
	color: #424040;
	text-decoration: none;
}

article.category-post p.post-summery-content a:hover{
	color: #424040;
	background: none;	
}

article.category-post div.post-summery h3 a{
	font-size: 114%;
	text-decoration: none;
}

article.category-post div.post-summery h3 a:hover{
	text-decoration: underline;
	background: none;
	color: #01aaf1;
}

article.category-post p.post-metadata{
	margin-top: 5px;
	font-size: 85%;
	color: grey;
}

section.breadcrumbs{
	width: 1000px;
	margin: 15px auto;
	text-align: left;
	font-size: 85%;

}

section.breadcrumbs a{
	color: #424040;
	text-decoration: none;
}

section.breadcrumbs a:hover{
	color: #424040;
	background: none;
	text-decoration: underline;	
}

div.main-contact-form input[type="text"], div.main-contact-form input[type="email"]{
	height: 22px;
	width: 33.33%;
	border: 3px solid #01aaf1;
	border-radius:0.4em;
	margin: 3px 0 12px;
	padding: 3px;
}

div.main-contact-form textarea{
	height: 180px;
	width: 59.166%;
	border: 3px solid #01aaf1;
	border-radius:0.4em;
	margin: 3px 0 0;
	padding: 3px;
}

div.main-contact-form input:focus, div.main-contact-form textarea:focus{
	border: 3px solid #016691;
	outline: none;
}

input[type="submit"]{
	text-decoration: none;
	border: 1px solid #01aaf1;
	padding: 6px;
	background: white;
	color: #01aaf1;
}

input[type="submit"]:hover{

	background: #01aaf1;
	color: white;
}

li#widget-recent-posts-4 li a, li#widget-recent-posts-3 li a{
	display: block;
	border-bottom: 1px solid #b1b1b1;
	width: 100%;
	min-height: 25px;
	padding: 10px 5px 5px;
	color: #424040;
	text-decoration: none;
}

li#widget-recent-posts-4 li a:hover, li#widget-recent-posts-3 li a:hover{
	text-decoration: none;
	background: none;
}

ul.social-media-widget{
	height: 80px;
	background: whitesmoke;
	border: 3px solid #01aaf1;
	border-radius:0.4em;
	padding: 15px 0 0;
}

section.left-section ul.social-media-widget{
	margin-top: 3.42%;
}

ul.social-media-widget li{
	width: 33%;
	text-align: center;
}

ul.social-media-widget li iframe{
	margin: 0 auto 0;
	text-align: center;
}

div.travel-experience{
	box-shadow: 2px 2px 8px 1px;
	-moz-box-shadow: 2px 2px 8px 1px;
	-webkit-box-shadow: 2px 2px 8px 1px;
	padding: 10px;
	line-height: 160%;
	background-color: whitesmoke;
}

div.travel-experience a.share{
	text-decoration: none;
	border: 1px solid #01aaf1;
	padding: 4px;
	background: white;
}

div.travel-experience a.share:hover{
	background: #01aaf1;
	color: white;
}


/*
Nexget Style
*/

div.ngg-album-compact, div.ngg-gallery-thumbnail-box{
	text-align: center !important;
}

div.ngg-album-compactbox, .ngg-album-compactbox:before, .ngg-album-compactbox:after{
	border: 0 !important;
	padding: 0 !important;
}

div.ngg-album-compactbox a:hover{
	background: none !important;
}

.ngg-album-compact h4 .ngg-album-desc{
	height: 22px !important;
}