/*-------------------------------------------------*/
/* =  iPads
/*-------------------------------------------------*/
@media screen and (min-width : 660px) and (max-width : 999px) {
	/*-------------------------------------------------*/
	/* =  General Style
	/*-------------------------------------------------*/
	#container {
		width: 620px;
		
	}
	
	header, #containernav {
		width: 640px;
	}
	
	#containerheader, #containerilan {
		width: 620px;
	}
	
	#newstop {
            width: 380px;
     }
     
     .main-post {
     	width: 600px;
     	margin-bottom: 10px; margin-left: 0;
     	clear: both;
     }
     
     
     .other-posts {
     	width: 570px;
     	padding:0 15px; margin-top: 30px;
     }
     
     .other-posts li {
     	width: 570px;
     }
     
     
	/*-------------------------------------------------*/
	/* =  Header
	/*-------------------------------------------------*/
	#ads-top {
		display: none;
	}

	header nav {
		border: 0;
		padding: 0px;
	}

	header nav:before {
		content: '';
		background: none;
	}

	header nav > ul.sf-menu {
		display: none;
	}

	header nav.navigation .sbHolder {
		display: block;
	}

	/*-------------------------------------------------*/
	/* =  Slider
	/*-------------------------------------------------*/
	#slider.version1 .flexslider,
	#slider.version1 .flexslider .slides li,
	#slider.version3 .flexslider .slides li {
		width: 620px;
		height: 245px;
	}

	#slider.version3 .flexslider {
		width: 620px;
		height: 347px;
	}

	#slider.version3 .flex-direction-nav {
		display: none;
	}

	#slider.version3 .flex-control-nav {
		height: 68px;
	}

	#slider.version3 .flex-control-thumbs li img {
		width: 82px;
		height: 58px;
		border-width: 5px;
	}

	#slider.version3 .flex-control-thumbs li {
		width: 92px;
		height: 68px;
		margin-right: 9px;
	}

	/*-------------------------------------------------*/
	/* =  Content
	/*-------------------------------------------------*/
	#content {
		border: none !important;
		padding-bottom: 30px;
		margin-bottom: 30px;
		border-bottom: 1px solid #e4e4e4 !important;
		width: 100%;
		padding-left: 0px !important;
		padding-right: 0px !important;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	.pagenation {
		margin-bottom: 0px;
	}

	#content .posts-container:last-child {
		margin-bottom: 0px;
	}

	/*-------------------------------------------------*/
	/* =  Sidebar
	/*-------------------------------------------------*/
	#sidebar {
		width: 620px; padding-left: 5px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		border: none !important;
	}

	xa`

	/*-------------------------------------------------*/
	/* =  Footer
	/*-------------------------------------------------*/
	footer > ul > li {
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		width: 100%;
		clear: both;
		float: left;
		margin: 0 0 20px 0 !important;
	}

	footer > ul > li:last-child {
		margin-bottom: 0px !important;
	}

	.flickr-widget a {
		margin: 0 13px 13px 0px;
	}

	.flickr-widget a:nth-child(3n) {
		margin: 0 13px 13px 0;
	}
}

/*-------------------------------------------------*/
/* =  Tablet
/*-------------------------------------------------*/
@media screen and (min-width : 480px) and (max-width : 660px) {
	/*-------------------------------------------------*/
	/* =  General Style
	/*-------------------------------------------------*/
	body {
	}
	
	
	 .nopage {
 	width: 80%;
 	margin: 0 auto;
 }
 
	#container {
		width: 440px;
		box-shadow: none;
		margin-bottom: 20px;
	}
	
	header, #containernav {
		width: 460px;
	}
	
	#containerheader, #containerilan {
		width: 440px;
	}
	
	#newstop {
            width: 420px;
            margin: 0;
     }
     
	#logo {
        margin-right: 0!important;

        }
        
    #logo img {
       margin-right: 0!important;
	max-width: 85%;
	height: auto;
	width: auto\9; /* ie8 */
	float: right;
    
	}
	
	#search-bar {
		margin-bottom: 10px;
		margin-right: 0!important;
	}
	
	#search-bar input[type="text"] {
		width: 390px;
	
	}
	
	#search-bar input[type="submit"] {
		float: right;
	}
	
     .main-post {
     	width: 420px;
     	margin-bottom: 10px; margin-left: 0;
     	clear: both;
     }
     
     
     .other-posts {
     	width: 400px;
     	padding:0 15px; margin-top: 30px;
     }
     
     .other-posts li {
     	width: 380px;
     }

	/*-------------------------------------------------*/
	/* =  Header
	/*-------------------------------------------------*/
	#ads-top {
		display: none;
	}

	header nav {
		border: 0;
		padding: 0px;
	}

	header nav:before {
		content: '';
		background: none;
	}

	header nav > ul.sf-menu {
		display: none;
	}

	header nav.navigation .sbHolder {
		display: block;
	}

	header #sub-menu {
		text-align: center;
	}

	header #sub-menu li {
		margin: 0 5px 8px 5px;
	}

	/*-------------------------------------------------*/
	/* =  Slider
	/*-------------------------------------------------*/
	#slider .flex-direction-nav,
	#slider .flex-pause-play,
	#slider .flex-caption p {
		display: none;
	}

	#slider .flex-caption h1 {
		margin-bottom: 0px !important;
	}

	#slider .flex-caption {
		left: 0 !important;
		max-width: 440px !important;
		bottom: 0px !important;
		width: auto !important;
		height: auto !important;
		padding: 10px !important;
	}

	#slider .flex-caption a {
		font-size: 12px;
		line-height: 22px !important;
		padding: 0px !important;
	}

	#slider.version1 .flexslider,
	#slider.version1 .flexslider .slides li,
	#slider.version3 .flexslider .slides li {
		width: 440px;
		height: 174px;
	}

	#slider.version3 .flexslider {
		width: 440px;
		height: 244px;
	}

	#slider.version3 .flex-direction-nav {
		display: none;
	}

	#slider.version3 .flex-control-nav {
		height: 44px;
		padding: 12px 0;
	}

	#slider.version3 .flex-control-thumbs li img {
		width: 52px;
		height: 34px;
		border-width: 5px;
	}

	#slider.version3 .flex-control-thumbs li {
		width: 62px;
		height: 44px;
		margin-right: 9px;
	}

	/*-------------------------------------------------*/
	/* =  Content
	/*-------------------------------------------------*/
	#content {
		border: none !important;
		padding-bottom: 30px;
		margin-bottom: 30px;
		border-bottom: 1px solid #e4e4e4 !important;
		width: 100%;
		padding-left: 0px !important;
		padding-right: 0px !important;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	.main-post {
		width: 100%;
		margin-right: 0px;
	}

	.main-post > a img {
		width: 100%;
		height: auto;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}

	.other-posts {
		clear: both;
		width: 100%;
		margin-top: 20px;
	}

	.ads-1 img {
		max-width: 100%;
	}

	.carousel .jcarousel-clip {
		width: 440px !important;
	}

	.carousel .slides li {
		width: 210px;
	}

	.carousel.gallery .slides li img,
	.carousel .slides li img {
		width: 196px;
		height: 142px;
	}

	.pagenation {
		margin-bottom: 0px;
	}

	#content .posts-container:last-child {
		margin-bottom: 0px;
	}

	.post-container > a img {
		width: 154px;
		height: 123px;
		border-width: 5px;
	}

	.page-container {
		width: 100%;
	}

	.page-container .post-image img {
		width: 424px !important;
	}

	.page-container .gallery li img {
		width: 424px;
		height: auto;
	}

	.contact-form textarea {
		min-width: 418px;
		max-width: 418px;
	}

	.videoembed {
		width: 440px;
		height: 253px;
	}

	#reply {
		margin-bottom: 20px;
	}

	#map {
		width: 440px;
		height: 240px;
	}

	.contact-form input[type="submit"] {
		margin-right: 0px;
	}

	.video-container li {
		width: 210px;
		max-height: 203px;
	}

	.video-container li:nth-child(3n) {
		margin-right: 20px;
	}

	.video-container li:nth-child(2n) {
		margin-right: 0px;
	}

	.video-container li img {
		width: 196px;
		height: 142px;
	}

	.error-404 p {
		font-size: 62px;
	}

	.error-404 p span {
		font-size: 11px;
		padding-left: 18px;
	}

	/*-------------------------------------------------*/
	/* =  Sidebar
	/*-------------------------------------------------*/
	#sidebar {
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		border: none !important;
	}

	#sidebar > ul > li {
		float: left;
		width: 100%;
		margin-left: 0px !important;
		margin-bottom: 30px !important;
	}


	#sidebar > ul > li:first-child {
		margin-top: 0px !important;
	}

	#sidebar .tabs-widget, #sidebar .subscribe-widget, #sidebar .boxtwitter, #sidebar .widget_search {
		width: 420px !important;
	}

	#sidebar .tabs-widget li a {
		width: 400px;
	}

	#sidebar .tabs-widget .tab-links li:first-child {
		/* width: 146px;*/
	}

	/*-------------------------------------------------*/
	/* =  Footer
	/*-------------------------------------------------*/
	footer {
		margin: 0;
	}

	footer > ul > li {
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		width: 100%;
		clear: both;
		float: left;
		margin: 0 0 20px 0 !important;
	}

	footer > ul > li:last-child {
		margin-bottom: 0px !important;
	}

	.flickr-widget a {
		margin: 0 8px 8px 0px;
	}

	.flickr-widget a:nth-child(3n) {
		margin: 0 8px 8px 0;
	}

	.flickr-widget a:nth-child(4n) {
		margin-right: 0px;
	}

}

/*-------------------------------------------------*/
/* =  Smartphones
/*-------------------------------------------------*/
@media screen and (max-width: 479px) {
	/*-------------------------------------------------*/
	/* =  General Style
	/*-------------------------------------------------*/
	#container {
		width: 320px;
		padding: 10px 0px 0 0px;
		margin: 0 auto 0 auto;
	}

	header, #containernav {
		width: 320px;
		margin: 0 auto!important;
	}
	
	#containerheader, #containerilan {
		width: 300px; margin: 0 auto!important;
	}
	
	#containerilan {
		margin: 0 auto!important;
	}
	#containerheader {
		border-radius: 0;
	}
	
	#newstop {
            width: 290px; margin-top: 10px;
     }
     
     #logo {
        margin-right: 0!important;

        }
        
    #logo img {
       margin-right: 0!important;
	max-width: 85%;
	height: auto;
	width: auto\9; /* ie8 */
	float: right;
    
	}
	

	
     .main-post {
     	width: 300px;
     	margin-bottom: 10px; margin-left: 0;
     	clear: both;
     }
     
     
     .other-posts {
     	width: 270px;
     	padding:0 10px; margin-top: 30px;
     }
     
     .other-posts li {
     	width: 260px;
     }
     
	/*-------------------------------------------------*/
	/* =  Header
	/*-------------------------------------------------*/
	#logo {
		width: 100%;
		text-align: center;
	}

	#search-bar {
		margin-left: 0;
		width: 100%;
	}

	#search-bar input[type="text"] {
		width: 85%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#search-bar input[type="submit"] {
	}

	#ads-top {
		display: none;
	}

	header nav {
		border: 0;
		padding: 0px;
	}

	header nav:before {
		content: '';
		background: none;
	}

	header nav > ul.sf-menu {
		display: none;
	}

	header nav.navigation .sbHolder {
		display: block;
	}

	header #sub-menu {
		text-align: center;
	}

	header #sub-menu li {
		margin: 0 5px 8px 5px;
	}

	/*-------------------------------------------------*/
	/* =  Slider
	/*-------------------------------------------------*/
	#slider .flex-direction-nav,
	#slider .flex-pause-play,
	#slider .flex-caption {
		display: none;
	}

	#slider.version1 .flexslider,
	#slider.version1 .flexslider .slides li,
	#slider.version3 .flexslider .slides li {
		width: 300px;
		height: 119px;
	}

	#slider.version3 .flexslider {
		width: 300px;
		height: 175px;
	}

	#slider.version3 .flex-direction-nav {
		display: none;
	}

	#slider.version3 .flex-control-nav {
		height: 30px;
		padding: 12px 0;
	}

	#slider.version3 .flex-control-thumbs li img {
		width: 34px;
		height: 24px;
		border-width: 3px;
	}

	#slider.version3 .flex-control-thumbs li {
		width: 41px;
		height: 30px;
		margin-right: 7px;
	}

	/*-------------------------------------------------*/
	/* =  Content
	/*-------------------------------------------------*/
	#content {
		border: none !important;
		padding-bottom: 30px;
		margin-bottom: 30px;
		border-bottom: 1px solid #e4e4e4 !important;
		width: 100%;
		padding-left: 0px !important;
		padding-right: 0px !important;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	 .nopage {
 	width: 80%;
 	margin: 0 auto;
 }
 
	.main-post {
		width: 100%;
		margin-right: 0px;
	}

	.main-post > a img {
		width: 100%;
		height: auto;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}

	.other-posts {
		clear: both;
		width: 100%;
		margin-top: 20px;
	}

	.ads-1 img {
		max-width: 100%;
	}

	.carousel .jcarousel-clip {
		width: 300px !important;
	}

	.carousel .slides li {
		width: 300px;
	}

	.carousel.gallery .slides li {
		height: 226px;
	}

	.carousel.gallery .slides li img,
	.carousel .slides li img {
		width: 286px;
		height: 212px;
	}

	.pagenation {
		margin-bottom: 0px;
	}

	#content .posts-container:last-child {
		margin-bottom: 0px;
	}

	.post-container > a:first-child {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.post-container > a img {
		width: 290px;
		height: 210px;
		border-width: 5px;
	}

	.post-content {
		clear: both;
	}

	.page-container {
		width: 100%;
	}

	.page-container .post-image img {
		width: 284px !important;
	}

	.page-container .gallery li img {
		width: 284px;
		height: auto;
	}

	.contact-form textarea {
		min-width: 278px;
		max-width: 278px;
	}

	.videoembed {
		width: 300px;
		height: 200px;
	}

	#reply {
		margin-bottom: 20px;
	}

	#map {
		width: 300px;
		height: 200px;
	}

	.contact-form input[type="submit"] {
		margin-right: 0px;
	}

	.video-container li {
		width: 300px;
		max-height: 271px;
	}

	.video-container li:nth-child(3n) {
		margin-right: 20px;
	}

	.video-container li:nth-child(2n) {
		margin-right: 0px;
	}

	.video-container li img {
		width: 286px;
		height: 210px;
	}

	.error-404 p {
		font-size: 42px;
	}

	.error-404 p b {
		font-size: 62px;
	}

	.error-404 p span {
		font-size: 11px;
		padding-left: 20px;
		padding-top: 10px;
	}

	/*-------------------------------------------------*/
	/* =  Sidebar
	/*-------------------------------------------------*/
	#sidebar {
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		border: none !important;
	}

	#sidebar > ul > li {
		float: left;
		width: 100%;
		margin-left: 0px !important;
		margin-bottom: 30px !important;
	}

	#sidebar > ul > li:first-child {
		margin-top: 0px !important;
	}
	
	#sidebar .tabs-widget .tab-links {
		margin-bottom: 10px;
		}
		

	/*-------------------------------------------------*/
	/* =  Comment Tree
	/*-------------------------------------------------*/
	ol#comments li {
		margin-top: 15px;
		border-top: 1px dotted #A7A7A7;
		padding-top: 15px;
	}

	ol#comments > li:first-child {
		margin-top: 0px;
		border-top: none;
		padding-top: 0px;
	}

	ol#comments ul.children {
		margin-left: 0px;
		padding-left: 0px;
		border: none;
	}

	ol#comments ul.children.border {
		border-left: none;
	}

	ol#comments span.border-left {
		display: none;
	}

	ol#comments ul.children:not(.border) li:first-child .author-avatar:after,
	ol#comments ul.children .author-avatar:before {
		content: '';
		border: none;
	}

	ol#comments .comment-text:before {
		content: '';
		border-left: none !important;
	}

	ol#comments ul.children li.last-child .comment-text:before,
	ol#comments li.last-child .comment-text:before {
		content: '';
		border-left: none;
	}

	/*-------------------------------------------------*/
	/* =  Footer
	/*-------------------------------------------------*/
	footer {
		width: 320px;
		padding: 10px 0px 0 0px; margin: 0 auto;
		border-radius: 0;
	
	}

	footer > ul > li {
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		width: 100%;
		clear: both;
		float: left;
		margin: 0 0 0px 0 !important;
	}

	footer > ul > li:last-child {
		margin-bottom: 0px !important;
	}

	#top {
		
	}
}