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

@media ( max-width : 1075px ) {
	
	.footerbadge {
		display: inline-block;
		float: right;
		width: auto;
		text-align: center;
	}
}
@media ( max-width : 1005px ) {
	.span_content { 
		width: 65%;
	}
		.span_content_full {
			width: 100%;
		}
	.nav-list .menu-item {
		margin-left: 20px;
	}
	.nav-list .menu-item a {
		display: block;
		color: #58585b;
		padding: 10px 20px 20px 20px;
		text-decoration: none;
		text-align: center;
	}
}

@media ( max-width : 890px ) {
	.footerbadge {
		display: inline-block;
		float: none;
		width: 100%;
		text-align: center;
		margin-top: 20px; }
	.footerads {
		text-align: center;
	}
	.footerad.hide_on_mobile    {
		width: 728px;
		float: none;
		margin: 0 auto;
		text-align: center; }
}
	
@media ( max-width : 768px ) {
	.header .logo {
		float: none;
		text-align: center;
		margin: 5px auto 20px;
		padding-bottom: 20px;
	}
	.hide_on_mobile {
		display: none;
	}
	.hide_on_desktop {
		display: block;
	}
	.footerbadge {
		display: inline-block;
		float: none;
		width: 300px;
		margin-top: 20px;
		text-align: center;
	}
	#mobilenav {
		display: block;
	}
	#nav, #topmenu {
		display: none;
	}
	.topbar .searchform {
		display: inline-block;
		float: left;
		position: relative;
		z-index: 100;
	}
	.topbar .social {
		display: inline-block;
		float: none;
	}
	.footerwidgets .social {
		width: 100%;
		float: none;
		text-align: center;
		clear: both;
		margin: 40px 0 0;
	}
	.footerwidgets .subscribe {
		width: 100%;
		float: none;
		text-align: center;
		margin: 0 0 40px;
	}

}
@media ( min-width : 769px ) and ( max-width : 980px ) {
	.span_content { 
		width: 62%;
	}
		.span_content_full {
			width: 100%;
		}
	.header .logo {
		float: none;
		text-align: center;
		margin: inherit auto 0;
	}
	.header {
		border-bottom: none;
		 }
	.nav {
		float: none;
		margin: 0 auto 0px;
		text-align: center;
		width: 100%;
		border-bottom: 1px solid #eeeeee;
		border-top: 1px solid #eeeeee;
	}
	.nav ul.nav-list {
		width: 100%;
	}
	.nav ul.nav-list>li {
		width: 20%;
		margin: 0;
		padding: 0;
		text-align: center;
	}
	.nav ul.nav-list>li:last-of-type {
		border-right: none;
	}
	.nav ul.nav-list>li>a {
		text-align: center;
	}
	
	
}

@media ( max-width : 450px ) {
	.topbar {
		overflow: hidden;
		height: auto;
	}
	.topbar .searchform {
		width: 100%;
		float: none;
	}
	.topbar ul {
		width: 100%;
		float: none;
	}
}

@media ( max-width : 868px ) {
	#content                 {
		float: none;
		width: 100%;
		max-width: 100%; }
	.sidebar {
		clear: both;
		width: 100%;
		max-width: 100%;
		float: none;
		margin: 0;
		padding-top: 45px;
		border-top: 3px dashed #b2e6e2;
	}
	.topsidebar, .midsidebar, .lowersidebar {
		float: none;
		margin: 0 auto;
		width: 100%;
		max-width: 300px;
	}
	.subfooter {
		float: none;
		text-align: center;
		width: 100%;
		font-size: 13px;
		line-height: 20px;
	}
	.footernav       {
		width: 100%;
		float: none;
		text-align: center;
		 }
	.subfooter .social {
		width: 100%;
		float: none;
		text-align: center;
		font-size: 22px;
		margin: 25px 0 10px;
	}
	.copyright               {
		width: 100%;
		float: none;
		text-align: center;
		margin: 15px 0 0;
		color: #c5ece9;
		font-size: 95%;
		 }
}

@media ( max-width : 650px ) {
	#topsidebar {
		float: none;
		max-width: 100%;
		width: 100%;
	}
	#midsidebar {
		float: none;
		max-width: 340px;
		width: 100%;
		margin: 0 auto;
		display: block;
	}
	#lowersidebar {
		float: none;
		max-width: 100%;
		width: 100%;
	}
	#socialshare {
		display: none;
	}
	
	
}

@media ( max-width : 600px ) {
	
	.archives .archivepost {
		width: 32%;
		float: left;	
		clear: none !important;
		margin-right: 2% !important;
		margin-bottom: 15px;
		text-align: center;
	}
	.archivepost:nth-of-type(3n) {
		margin-right: 0 !important;
	}
	.archivepost:nth-child(3n+1) {
		clear: both !important;
	}
	.archives .archivepost .postmeta {
	}
	.archives .archivepost h4 {
		
	}
	
	
	}
@media ( max-width : 525px ) {
	.topbar {
		height: auto;
	}
	.topbar .social {
		display: none;
		width: 50%;
		float: left;
		text-align: left;
		display: inline-block;
		margin: 0 !important;
		padding: 0;
		border: none !important;
	}
	.topbar .social:before {
		display: none;
	}
	.topbar .searchform {
		display: none;
	}
	.nav-mobile {
	}
	.archive-item {
		width: 48%;
		margin-right: 4% !important;
		float: left;
	}
	.archive-item img {
		width: 100% !important;
		height: auto;
	}
	.archive-item:nth-of-type(3n) {
		margin-right: 4%;
	}
	.archive-item:nth-of-type(3n+1) {
		clear: none;
	}
	.archive-item:nth-of-type(2n) {
		margin-right: 0 !important;
	}
	.archive-item:nth-of-type(2n+1) {
		clear: both!important;
	}
	.archive h3.posttitle {
		font-size: 18px;
		margin: 10px 0 3px;
	}
	
}

@media ( max-width : 445px ) {
	.slidescontainer {
		display: none;
	}
	.wrapper {
		width: 100%;
		clear: both;
	}
}
@media ( max-width : 425px ) {
	.wrapper	 {
		width: 100%;
		padding-right: 10px;
		padding-left: 10px; }
	.header .logo img {
		max-width: 100%;
		height: auto; }
	.topbar .searchform .searchinput {
		width: 120px;
	}
	
	

	
	#commentlist li        {
		padding-left: 10px }
		#commentlist li ul li        {
			padding-left: 20px;
			padding-right: 0;
			margin-right: -15px; }
	#commentlist .avatar  {
		display: none; }
}
@media ( max-width : 375px ) {
	.cat-post-item {
		width: 100%;
		margin-right: 0% !important;
		float: left;
		margin-bottom: 20px;
	}
	.cat-post-item img {
		width: 100% !important;
		height: auto;
	}
	.cat-posts h3.posttitle {
		font-size: 22px;
		margin: 10px 0 3px;
	}
}