/* Mobile Menu
================================================== */
	a#navigation-toggle { height: 55px; line-height: 55px; margin: 0; float: left; cursor: pointer; color: #f7e2b7; padding-left: 35px; font-weight: 600; position: relative; z-index: 9; text-decoration: none !important; font-size: 1.1em; }
	a#navigation-toggle .fa { margin-right: 10px; }
	#navigation-toggle { color: #f7e2b7; }
	#navigation-toggle:hover { color: #FFF; }
	#sidr-main {  position: absolute; position: fixed; top: 0; height: 100%; z-index: 999999; width: 320px; overflow-x: none; overflow-y: auto;font-size: 13px; background: #222; color: #fff; }
	#sidr-main { padding: 70px 30px 30px; font-size: 16px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
	.sidr.right { left: auto; right: -320px; }
	.sidr.left { left: -320px; right: auto; }
	#sidr-main a { color: #f7e2b7; }
	#sidr-main a:hover { color: #fff; }
	#sidr-main ul a { display: block; border-bottom: 1px solid #333; padding: 7px 0; font-weight: 400; }
	#sidr-main ul li ul { margin-left: 0; margin: 0; }
	#sidr-main ul li ul li a { padding-left: 10px; }
	#sidr-main ul li ul li li a { padding-left: 20px; }
	#sidr-main ul li ul li li li a { padding-left: 30px; }
	#sidr-main ul li ul li a:before { content: '\f105'; display: inline-block; -webkit-font-smoothing: antialiased; font-family: 'FontAwesome'; color: #f7e2b7; margin-right: 10px; }
	.sidr-class-toggle-sidr-close:before { position: absolute; top:30px; right: 30px; content: '\f00d'; font-family: 'FontAwesome'; color: #f7e2b7; margin: 0; }
	#sidr-id-mobile-search-form { margin-top: 20px; }
	#sidr-id-mobile-search-form input[type="search"] { font-size: 12px; background: #333; color: #fff; border:none; }

	/* big screens 
================================================== */
@media only screen and (min-width: 1600px) {
    body { background-size: contain; /* fazer imagem selo fundo largura pagina */ }
	#homepage-slider-wrap, .page-template-shorinji .page-thumbnail, .page-template-dojo .page-thumbnail {   background-color: #353535; }
	 .flexslider,
	 .page-template-shorinji .page-thumbnail img, 
	 .page-template-dojo .page-thumbnail img {
	    margin: 0 auto;
	    width: 1600px;  /* make slidehsow and page banners fixed width */
	 }
	.flexslider .slides img {width: 1600px;} 
} 	
	
	/* Tablet (Portrait)
================================================== */
@media only screen and (max-width: 1024px) {
	body { 
		position: unset !important; /* fix js shrinking side menu content */
		background-image: url('images/banner-bgx1024.jpg'); 
	}
	.container { width: 96%;}
	.left-content { width: 70%; }
	.sidebar-container { width: 28%; }

	.linaje-entry .overlay { display: none; }
	.linaje-entry-media a:hover img { opacity: 0.8; }
	.search-entry { padding-left: 100px; min-height: 80px; }
	.search-entry-thumbnail { width: 80px; }
	.linaje-entry.span_1_of_4 { width: 49.2%; margin-left: 1.6%; margin-bottom: 2%; }
	.linaje-entry.span_1_of_4.count-1 { margin-left: 0; }
	.linaje-entry.span_1_of_4.count-3 { clear: both; margin-left: 0; }
}

/* Smaller Then Desktop
================================================== */
@media only screen and (max-width: 856px) {
	body { background-image: url('images/banner-bgx860.jpg'); }
	#site-navigation-wrap { top: 20px; }
	a#navigation-toggle { display: block; }
	#site-navigation .sf-menu{ display: none; }
	

	
	.page-template-dojo .page-header,
	.page-template-shorinji .page-header  {  top: 0; }
	
	#tbl-horarios .first { display: none; }
	#tbl-horarios .col-table { width: 16.6%; }
	
}
/* Mobile (Portrait & Landscape)
================================================== */
@media only screen and (max-width: 767px) {
	.container {  width: 90%; }
	.left-content { width: 100%; display: block; padding: 0px;}
	.sidebar-container {width: 90%; display: block; margin-top: 40px; padding-top: 40px;}
	

	.linaje-entry .overlay { display: none; }
	.linaje-entry-media a:hover img { opacity: 0.8; }
	
	.linaje-prev-next { width: auto; }

	.commentlist .children { margin: 0 }
	.single-post-pagination { position: inherit; top: auto; margin: 10px 0 0; right: auto; }
	.author-info .author-info-inner { padding-left: 0; }
	.author-info .author-avatar { position: inherit; top: auto; left: auto; display: block; margin-bottom: 10px; }
	.homepage-slide-content { display: none; }
	
	.page-template-shorinji .page-header {	margin-bottom: 120px;	}
	
	#sidebar-lang-menu { position: absolute; top: 380px; right: 20px; z-index: 888;}
	#menu-idioma li,
	#dojo-page-menu li { float: left; margin-left: 20px; }
	#dojo-page-menu { position: absolute; top: 380px; left: 30px;	}
	
	.image-gallery li {padding: 0 10px 10px 0; }
	.image-gallery a img { width: 100px; }
	
	#footer-wrap .left-content { width: 100%; }	
	#footer-wrap .right-content { width: 80%; }	
	#footer-lower-wrap .left-content,
	#footer-lower-wrap .right-content { width: 100% }
	.menu-social-links-container { float: right; }
}
/* Mobile (Landscape)
================================================== */
@media only screen and (min-width: 500px) and (max-width: 767px) {
	.sidr { width: 480px; }
	.sidr.right { right: -480px; }
	.linaje-entry.span_1_of_4 { width: 49.2%; margin-left: 1.6%; margin-bottom: 2%; }
	.linaje-entry.span_1_of_4.count-1 { margin-left: 0; }
	.linaje-entry.span_1_of_4.count-3 { clear: both; margin-left: 0; }
	
	#linaje-marco .span_1_of_4 { width: 47%; margin-left: 2%; margin-bottom: 2%; }	
	#linaje-japon {clear:left; }
	.linaje-entry-media { width: 150px; height: 200px; }
	.linaje-entry-media img {  min-width: 152px; min-height: 202px; }
	.linaje-prev-next .prev-next-icon { margin: 75px 20px; }
	
}
/* Mobile (Portrait only)
================================================== */
@media only screen and (max-width: 499px) {
	body { background-image: url('images/banner-bgx500.jpg'); }

	#header-wrap { background: #333; }

	#logo { width: 250px; }
	#homepage-slider-wrap,
	.page-template-shorinji .page-thumbnail, .page-template-dojo .page-thumbnail {
		top: 105px;
	}
	.page-template-homepage #main { margin-top: 160px; }
	
	.page-template-dojo .page-header {	top: 50px; 	}
	.page-template-shorinji .page-header {	top: -20px;	}
	
	#sidebar-lang-menu { position: absolute; top: 380px; left: 20px;	}
	.page-template-shorinji .page-header {	margin-bottom: 50px;	}
	#dojo-page-menu { display: none;	}
	.search-entry { padding-left: 100px; min-height: 80px; }
	.search-entry-thumbnail { width: 80px; }
	

	
	.page-template-single-linaje .linaje-entry-media { display: none; }
	.linaje-prev-next .prev-next-icon { position: relative; margin: 0 10px;}
	.linaje-stamp-BG { background: none; min-height: 100px; }
	
	.col{ width: 100%; margin-left: 0; margin-bottom: 25px; }
	#tbl-horarios .first { display: none; }
	#tbl-horarios .col-table { width: 50%; }

	#sidr-main { width: 100%;}

	img.alignleft, img.alignright { float: none; display: block; }
}
