html {
	  -webkit-text-size-adjust: 100%;
}

/*---RETINA GRAPHICS---*/

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	.header .logo a {
	    background: url(images/logo@2x.png) no-repeat;
	    background-size: 100% auto;
	}

}

/*---RESPONSIVE MENU---*/

@media ( max-width : 800px ) {
	.topbar, #main_nav, #main, #top {
		display: none;
	}


/*---RESPONSIVE QUERIES---*/
@media ( max-width : 1200px ) {
	
}
@media ( max-width : 1020px ) {
	.span_content {
	    width: 65%;
	}
}
@media ( max-width : 950px ) {
	#main li {
	    margin: 0 5px 0 0;
	    font-size: 14px;
	}
	#main a {
	    padding: 0 8px 0;
	}
	.top-nav li {
	    margin: 0;
	}
	.top-nav a {
	    padding: 0 8px 0;
	}
	.top-bar .sub-links a:before, .sidebar .sub-links a:before { 
		margin: 0 3px 0 10px;
	}
}
@media ( max-width : 925px ) {
	.span_content { 
		width: 60%;
	}
	.wrapper, .wrap {
		padding: 0 15px;
	}
	
	.footer .popular-posts {
		float: right;
		width: -moz-calc(100% - 330px);
		width: -webkit-calc(100% -330px);
		width: calc(100% - 330px);
		margin: 0;
	}
	
	.footer .popular-posts .recent .item h4 {
		font-size: 18px;
		margin: 10px 0;
		}

}
@media ( min-width : 800px ) and ( max-width : 935px ), ( max-width : 625px ) {
	.inner-post .widget.subscribe {
	    float: none;
	    width: 100%;
	    height: auto;
	    margin: 0 auto 20px;
	    text-align: center;
	}
	.inner-post .widget.ad {
	    float: none;
	    width: 300px;
	    margin: 20px auto;
	    text-align: center;
	}
	.inner-post .widget.subscribe h3.widget-title {
		margin-top: 0px;
	}
	
}



@media ( max-width : 800px ) {
	.top-bar {
		display: none;	
	}
	
	.header {
		padding: 0;
		height: 50px;
		margin-bottom: 30px;
		text-align: center;
	}
	.header .logo {
		margin: 0;
		max-width: 100%;
	    margin: 0 auto 0;
	    padding: 0;
	    float: none;
	    text-align: center;
	    display: block;
		display: none;
	}
	
	.header .logo a {
	    margin: 0 auto;
	}


	.hideonmobile {
		display: none;
	}
	#content                 {
		float: none;
		width: 100%;
		max-width: auto; }
	.sidebar {
		clear: both;
		width: 100%;
		max-width: 100%;
		float: none;
		margin: 0;
		padding-top: 45px;
		border-top: 1px solid #eceded;
	}
	.topsidebar, .midsidebar, .lowersidebar {
		float: none;
		margin: 0 auto;
		width: 100%;
		max-width: 300px;
	}
	
	.footer-nav {
	    width: 100%;
	    float: none;
	    text-align: center;
	    font-size: 120%;
	    line-height: 1.5;
	}
		.footer-nav li.top {
			display: block;
			margin: 0 auto 10px;
		}
	.footer-nav a {
		padding: 3px 5px;
		display: inline-block;
	}
	
	.copyright {
		width: 100%;
		float: none;
		text-align: center;
		margin-top: 30px;
	}
	
	.owl-carousel {
		overflow: hidden;
	}
	.owl-theme .owl-controls .owl-next, .owl-theme .owl-controls .owl-prev {
		font-size: 18px;
		font-family: "fontello";
		line-height: 50px;
		width: 30px;
		height: 50px;
		background-color: transparent;
		color: #ffffff;
		color: rgba(255,255,255,.7);
	}
	.owl-theme .owl-controls .owl-next {
		right: 5px;
		float: right;
	}
	.owl-theme .owl-controls .owl-prev {
		left: 5px;
		float: left;
	}
	.owl-theme .owl-controls .owl-buttons .owl-prev:hover, .owl-theme .owl-controls .owl-buttons .owl-next:hover {
		color: #ffffff;
		left: 2px;
	}
		.owl-theme .owl-controls .owl-buttons .owl-next:hover {
			left: auto;
			right: 2px;
		}

	
}
@media ( max-width : 768px ) {
	.footer-ad {
		display: none;
	}
	.footer .wrap {
		padding: 0;
	}
	.footer .subscribe {
		float: none;
		width: 100%;
		margin: 0 auto;
		padding-bottom: 25px;
		height: auto;
	}
		.footer .subscribe .email-input {
		    font-size: 12.5px;
		    line-height: 42px;
		    height: 42px;
		}
		
		.footer .subscribe .email-submit {
		    font-size: 14px;
		    line-height: 42px;
		    height: 42px;
		}
		
	.footer .popular-posts {
		float: none;
		width: 100%;
		margin: 0;
		padding: 20px;
	}
	
}
@media ( max-width : 650px ) {
	.header .logo a {
	    display: block;
	    width: 100%;
	    max-width: 600px;
	    background-size: 100% auto;
	    height: 0;
	    padding-bottom: 22%;
	}
	
	.footer-widget.subscribe h3 {
		font-size: 2.8vw;
		line-height: 1.2;
		margin: 0;
		text-align: right;
		width: 42%;
	}
	.footer-widget.subscribe .textwidget {
		width: 54%;
	}
	
}

@media ( max-width : 600px ) {
	
	.post-nav .nav-next img {
		display: none;
	}
	.post-nav .nav-previous img {
		display: none;
	}
	.post-nav .caption {
		float: left;
		width: 100%;
		position: relative;
		top: 0;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}
		.post-nav .nav-previous .caption {
			float: left;
			margin-left: 0;
		}
	
}

@media ( max-width : 525px ) {
	.owl-item a h2.post-title {
		font-size: 18px;
	}
	
	.teaser-post h2 {
		font-size: 22px;
	}
	.teaser-post p {
		font-size: 95%;
		line-height: 1.6;
	}
	.recipe .photo {
		display: none;
	}
	
}
@media ( max-width : 450px ) {	
	
	.meta-bottom {
		font-size: 10px;
	}
	.meta-bottom .left, .meta-bottom .right {
		width: 100%;
		float: none;
		text-align: center;
		margin: 0 0 5px;
	}
	.post-meta .icon-comment:before {
		margin-left: 0;
	}

	
}
@media ( max-width : 425px ) {	
	.wrapper, .wrap	 {
		width: 100%;
		padding-right: 10px;
		padding-left: 10px; }
	
	
	#comment-list li {
		padding: 10px 0 10px 38px; }
	#comment-list .avatar    {
		width: 32px;
		height: 32px;
		display: inline;
		margin-bottom: 7px;
		margin-left: -38px;
		float: left }
	#comment-list li.bypostauthor       {
		background-color: #fff;
		padding-left: 38px }
	.comment-meta         {
		font-size: 10px;
		 }
	.comment-meta strong           {
		font-size: 12px; }
}
@media ( max-width : 375px ) {
		
	.teaser-post {
	    width: 100%;
	    float: none;
	    margin-right: 0;
	}
	
	.archives .archive-post {
		width: 48%;
		float: left;	
		clear: none !important;
		margin-right: 4% !important;
		margin-bottom: 15px;
		text-align: center;
	}
	.archive-post:nth-of-type(2n) {
		margin-right: 0 !important;
	}
	.archive-post:nth-child(2n+1) {
		clear: both !important;
	}
	.related {
		margin-bottom: 45px;
	}
	.related .archive-post:nth-child(3n) {
		display: none;
	}
	
	.footer .popular-posts .recent .item {
		width: 100%;
		float: none;
		margin: 15px 0 0;
	}

	
}