@media only screen and (max-device-width: 1024px) {
	.home #page .header {
		margin-bottom: 0;
		overflow: hidden;
		height: 127px;
	}

	#page {
		margin: 0 18px;
	}
	.hmenu {
		overflow: hidden;
		height: 3em;
	}
	.page_footer {
		margin-left: 18px;
		margin-right: 18px;
	}


	.scroll-bar-wrap {
		display: none;
	}

}
@media only screen and (max-device-width: 1024px) and (orientation:portrait) {
	#page {
		min-height: 1270px;
	}
}
@media only screen and (max-device-width: 1024px) and (orientation:landscape) {
	#page {
		min-height: 700px;
	}
}
@media only screen and (max-width: 767px) {
/*@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {*/
	  /* iPhone landscape & down */

	#page {
		width: 642px;
		background-color: #fff;
		min-height: 100%;
		margin: 0;
	}
	.single #page {
		width: 760px;
	}
	#page #main #primary {
	  float: none;
	  margin: 0;
	}
	#main #secondary-2 {
		float: none;
		width: auto;
		margin: 0 18px 32px;
	}
	#main #secondary {
		float: none;
		width: auto;
		margin: 0 18px 32px;
	}

	#main #content {
		margin: 0 18px 32px;
	}

	.header {
		padding-bottom: 1em;
		height: auto;
	}

	.hmenu {
		float: none;
		clear: both;
		font-size: 24px;
		margin-bottom: 0;
		overflow: hidden;
		height: 2.4em;
	}

	#feature {
		height: auto;
		text-align: center;
		position: relative;
		padding-top: 370px;
		margin-top: 18px;
		margin-bottom: 32px;
		overflow: hidden;
	}

	.home #feature {
		padding-top: 0;
		margin-top: 0;
		height: auto;
	}
	#feature .slider-wrapper {
		margin: 0 auto;
		float: none;
		margin-bottom: 11px;
	}

	.hometeaserPosts {
		float: none;
		width: auto;
		margin: 0 auto;
		background: #3d3731;
		padding: 20px 90px;
		border: none;
	}
	.hometeaserPosts section {
		width: 426px;
		margin: 0 auto;
		text-align: left;
		
	}
	.menu li.non-mobile {
		display: none;
	}

	.hmenu li:hover ul {
		display: none;
	}
	.sub-menu {
		display: none;
	}

	.bx-prev,
	.bx-prev:hover,
	.bx-next,
	.bx-next:hover {
		width: 66px;
		height: 66px;
		background-position: center center;
	}

	.feature_text {
		float: left;
		text-align: left;
		width: 320px;
		padding-right: 0;
		padding-left: 18px;
	}

	.home .feature_text h1, .home .feature_text p {
		color: #5e564e;
	}
	.home .entry-title a {
		color: #5e564e;
	}
	.feature_text h1, .feature_text h2, .feature_text p {
		margin: 0;
	}

	#feature .botrplayer {
		float: none;
		margin: 0 auto;
		width: 100%;
	}
	#feature .featured_media {
		position: absolute;
		top: 0;
		left: 0;
		float: none;
		margin: 0 auto;
		width: 100%;
		height: auto;
	}
	#feature .ad_1, #feature .ad_2, #feature .ad_3, #feature .ad_4 {
		position: static;
		float: right;
		overflow: hidden;
		margin: 0;
	}

	.gallery-wrapper {
		width: 460px;
		margin: 18px auto;
	}

	.widget ul {
		padding-top: 12px;
		position: relative;
	}
	.widget ul:before,
	.widget ul:after {
		content: ' ';
		position: absolute;
		width: 26px;
		background: #AEAAA6;
		height: 1px;
		left: 0;
		top: 0;
	}
	.widget ul:after {
		left: auto;
		right: 0;
	}

/* remove desktop variant of dashes */
	.widget-additional-articles li,
	.widget_evidero_authorsstories_widget li,
	.widget_evidero_selectedarticles_widget li,
	.widget_evidero_relatedposts_widget li,
	.commentlist li,
	.textwidget
	{
		border: none;
		margin-top: 0;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.widget li:before {
	
		background: #AEAAA6;
		width: 26px;
		left: 0;
		right: auto;
		top: auto;
		bottom: 0;
	}

	.widget li:after {
	
		background: #AEAAA6;
		width: 26px;
		left: auto;
		right: 0;
		top: auto;
		bottom: 0;
	}
	.page_footer {
		height: auto;
		position: relative;
		overflow: hidden;
		margin-left: 0;
		margin-right: 0;
	}
	.page_footer ul {
		clear: both;
		float: none;
		width: auto;
	}
	.page_footer #searchform {
		display: none;
	}
	/*
	.page_footer ul {
		float: none;
		width: auto;
		text-align: center;
	}
	.page_footer ul li {
		margin: 0 10px;
	}

	.page_footer .current-menu-item a, .page_footer, .page_footer a {
		font-size: 10px;
	}
	fieldset.search {
		width: auto;
		height: 36px;
	}
	.page_footer .searchh {
		float: none;
		text-align: center;
		width: auto;
	}

	.page_footer .searchh input {
		width: 256px;
		font-size: 13px;
		height: 36px;
	}
	.page_footer .copyright {
		padding-top: 18px;
		padding-bottom: 12px;
		float: none;
		text-align: center;
		font-size: 16px;
	}
	*/
}
