/********************************
IPAD LANDSCAPE (1024x768)
********************************/

@media only screen and (max-width: 1024px), screen and (max-device-width: 1024px) {
	section.blog.horizontal { width:1024px; top:24.8em !important; }
	#scrollbar2, #scrollbar2 .customScrollBox { width:100% !important; }
	#scrollbar2 .dragger_container { width:1024px !important; }	
}


/********************************
IPAD PORTRAIT (768x1024)
********************************/

@media only screen and (max-width: 768px), screen and (max-device-width: 768px) {
	ul.nav, .plus-menu span { display:none !important; }
	.social { top:80.2em !important; left:35%; position:absolute; }
	.single .social { display:none !important; }
	ul.close { top:20em !important; }
	.logo { position:relative !important; top:0 !important; width:100% !important; margin:0 auto; text-align:center; }
	.plus-menu { display:none !important; }
	.menu span.sf-sub-indicator { display:block !important; }
	.menu ul { display:none; }
	section.blog { position:relative !important; right:0; top:0 !important; width:652px; margin:0 auto; margin-top:15px !important; }
	section.blog iframe { width:652px !important; }
	section.blog a.fplayer { width:652px !important; }
	#fancybox-frame, #fancybox-content, #fancybox-wrap, #fancybox-outer { width:613px !important; height:448px !important; }
	.flexslider, .portfolio-flexslider { width:613px; }	
	.slides li img { max-width:613px; height:448px; }
	.select-menu { position:relative; width:652px; margin:0 auto; margin-top:15px; background:#FFF; padding:10px !important; display:block !important; z-index:99999; }
	section.blog.horizontal { top:0 !important; left:0; position:relative !important; margin:0 auto; }
	#scrollbar1 { width:652px !important; }
	#scrollbar1 .customScrollBox .container { width:638px !important; }
	#scrollbar1, #scrollbar1 .dragger_container { height:540px !important; }
	#scrollbar1 .customScrollBox { height:520px !important; }
	#scrollbar1 .dragger { height:80px !important; }

	#scrollbar2, #scrollbar2 .customScrollBox { width:100% !important; }
	#scrollbar2 .dragger_container { width:652px !important; }
	#scrollbar2 .dragger { width:80px !important; }
	div.slideshow {	position:absolute !important; }
	.home .logo, .home .plus-menu { top:0; }
	.cat-inline { margin-top:10px; }
	.cat-inline ul li a:link, .cat-inline ul li a:visited { padding:2px 6px; font-size:10px; font-weight:normal; }
	.slides li img { max-width:613px; height:448px; }

	#lang_sel { width:160px !important; left:77% !important; padding-bottom:10px !important; z-index: 900000 !important; }

}


/********************************
IPHONE 4-4S-5 LANDSCAPE (640x320)
********************************/

@media only screen and (max-width: 640px), screen and (max-device-width: 640px) {
	.logo { width:100% !important;  left:-16% !important; position:relative !important; top:0 !important; }
	.select-menu { display:block !important; width:440px !important; position:relative; margin:0 auto; margin-top:14px; left:0; z-index:99999; padding:10px 8px !important; }
	.menu ul { display:none !important; }
	.menu { padding:0 !important; }
	
	.plus-menu, .single .social { display:none !important; }
	section.blog { top:0 !important; left:0 !important; width:440px !important; margin:0 auto; }
	section.blog img.wp-post-image, section.blog iframe { width:100%; height:auto; }
	section.blog iframe { height:250px !important; }
	#scrollbar1 { width:440px !important; }
	#scrollbar1 .customScrollBox .container { width:426px !important; }
	.bdesc { width:100%; margin-top:15px; }
	.contact iframe, #respond, .page-content iframe { width:100%; }
	#respond textarea, .contact-form textarea { width:95% !important; }
	ul.children li #respond { width:200px; }
	ul.children li #respond textarea { width:200px !important; }
	section.blog.horizontal { width:100% !important; }
	#scrollbar2, #scrollbar2 .customScrollBox { width:100% !important; }
	#scrollbar2 .dragger_container { width:440px !important; }	
	#scrollbar2 .dragger { width:80px !important; }
	#scrollbar1 .content .gallery li { float:none !important; }
	#fancybox-close { right:-30px !important; }
	#fancybox-title { width:300px !important; bottom:-10px !important; }
	.cat-inline { display:none; }
	.sgallery { display:none !important; }	
	#fancybox-frame, #fancybox-content, #fancybox-wrap, #fancybox-outer { width:300px !important; height:200px !important; }
	.flexslider, .portfolio-flexslider { width:300px; }
	.slides li img { max-width:300px; height:200px; }
	.video-js { width:100% !important; height:250px !important; }
	.images_container .video-js { height:176px !important; }
	
	.social { width:240px !important; left:27% !important; padding-bottom:10px !important; }
	.copyright { top: 640px!important; position: fixed !important; width:100% !important; right:0% !important; bottom: 0px!important;}
	#lang_sel { width:160px !important; left:67% !important; padding-bottom:10px !important; z-index: 900000 !important; }

}


/********************************
IPHONE 4-4S-5 PORTRAIT (320x640)
********************************/

@media only screen and (max-width: 360px), screen and (max-device-width: 360px) {
	.plus-menu { width:210px !important; }
	.select-menu { width:280px !important; }
	section.blog { width:280px !important; }
	section.blog img.wp-post-image { width:230px; }
	#scrollbar1 { width:280px !important; }
	#scrollbar1 .customScrollBox .container { width:266px !important; }
	.cat-toogles { display:none !important; }
	section.blog.horizontal { width:100% !important; }
	#scrollbar2, #scrollbar2 .customScrollBox { width:100% !important; }
	#scrollbar2 .dragger_container { width:280px !important; }	
	#scrollbar2 .dragger { width:80px !important; }
	ul.gallery li { width:245px !important; }
	.view img { max-width:240px !important; }
	.social { width:240px !important; left:14% !important; padding-bottom:10px !important; }
	.bimage img { max-width:230px !important; } 
	.copyright { top: 640px!important; position: fixed !important; width:100% !important; right:0% !important; bottom: 0px!important;}

}




