#secondary-mobile-menu,
#primary-mobile-menu {
	display: none;
}

@media only screen and (min-width: 1330px) {
	
	html,
	body {
		height: 100%;
	}

	#masthead {
		width: 230px;
		float: left;
		position: fixed;
		top: 0;
		height: 100%;
	}

	pre {
		width: 95%;
	}

	.scroll-pane {
		width: 235px;
		position: absolute;
		bottom: 0;
		top: 182px;
		overflow: auto;
		margin-top: 30px;
		margin-left: -5px;
	}

	#secondary-bar {
		width: 1070px;
		float: right;
	}

	#primary {
		width: 1070px;
		float: right;
	}

	#more-content {
		float: left;
		width: 750px;
		margin-right: 20px;
	}

	#logo {
		float: none;
		margin: 0 auto;
		padding: 70px 0 60px 0;
		border-bottom: 1px solid #e5e5e5;
		border-right: none;
		text-align: center;
	}

	#primary-nav {
		padding-bottom: 45px;
	}

	#primary-nav .sf-menu > li {
		margin-right: 0;
		width: 220px;
		margin-bottom: 20px;
		padding-left: 10px;
		padding-top: 15px;
	}

	#primary-nav .sf-menu > li > a {
		line-height: 18px;
	}

	#primary-nav .sf-menu li.menu-orange {
		border-top: none;
		border-left: 5px solid #ee8b5f;
	}

	#primary-nav .sf-menu li.menu-green {
		border-top: none;
		border-left: 5px solid #7dc561;
	}

	#primary-nav .sf-menu li.menu-purple {
		border-top: none;
		border-left: 5px solid #ac83e4;
	}

	#primary-nav .sf-menu ul {
		position: relative;
		display: block !important;
		top: 100%;
		left: 0;
	}

	#primary-nav .sf-menu li.sfHover ul {
		display: block !important;
	}

	#primary-nav .sf-menu li li {
		width: 220px;
	}

	#primary-nav .sf-menu li li a {
		margin-left: -10px;
	}

	.header-social-icons {
		float: none;
		text-align: center;
		border-top: 1px solid #e5e5e5;
		padding-top: 20px;
		clear: both;
		margin-left: 5px;
		width: 230px;
	}
	
	/* CSS jscrollpane */
	
	
	.jspContainer {
		overflow: hidden;
		position: relative;
	}

	.jspPane {
		position: absolute;
	}

	.jspVerticalBar {
		position: absolute;
		top: 0;
		right: 5px;
		width: 5px;
		height: 100%;
		background-color: transparent;
		z-index: 99999;
		visibility: hidden;
	}

	.scroll-pane:hover .jspVerticalBar {
		visibility: visible;
	}

	.jspHorizontalBar {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 16px;
		z-index: 99999;
		background: #ffffff;
		display: none;
	}

	.jspCap {
		display: none;
	}

	.jspHorizontalBar .jspCap {
		float: left;
	}

	.jspTrack {
		background-color: transparent;
		position: relative;
	}

	.jspDrag {
		background: rgba(0, 0, 0, 0.2);
		position: relative;
		top: 0;
		left: 0;
		cursor: pointer;
		border-radius: 7px;
	}

	.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
		float: left;
		height: 100%;
	}

	.jspArrow {
		background: #50506d;
		text-indent: -20000px;
		display: block;
		cursor: pointer;
		padding: 0;
		margin: 0;
	}

	.jspArrow.jspDisabled {
		cursor: default;
		background: #80808d;
	}

	.jspVerticalBar .jspArrow {
		height: 16px;
	}

	.jspHorizontalBar .jspArrow {
		width: 16px;
		float: left;
		height: 100%;
	}

	.jspVerticalBar .jspArrow:focus {
		outline: none;
	}

	.jspCorner {
		background: #eeeef4;
		float: left;
		height: 100%;
	}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
	* html .jspCorner {
		margin: 0 -3px 0 0;
	}
}

@media only screen and (min-width: 1220px) and (max-width: 1329px) {
	.container {
		width: 1070px;
	}

	#more-content {
		width: 750px;
		margin-right: 20px;
	}

	.site-header {
		clear: both;
	}

	#secondary-bar {
		clear: both;
	}

	#primary {
		clear: both;
	}
}

@media only screen and (max-width: 1220px) {
	.post-details .entry-meta {
		float: none;
		margin-bottom: 7px;
		margin-right: 0;
		display: block;
	}

	.post-details .byline {
		float: none;
		margin-bottom: 7px;
		margin-right: 0;
		display: block;
	}

	.post-details .post-ratings {
		float: none;
		margin-right: 0;
		display: block;
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1219px) {

	.container {
		width: 960px;
	}

	#logo {
		margin-right: 30px;
	}

	#primary-nav ul li a,
	#primary-nav ul li li a {
		background-color: #ffffff;
		padding-left: 20px;
		padding-right: 20px;
	}

	#more-content {
		width: 640px;
		margin-right: 20px;
	}

	.content-loop .entry-share-icons {
		display: none;
	}

	.recent-content .hentry {
		width: 203px;
	}

	.hentry .overlay {
		right: 17px;
		width: 40px;
		height: 40px;
	}

	.hentry .overlay span.play-button i {
		font-size: 15px;
		padding-top: 13px;
		padding-left: 7px;
	}

	.hentry .byline {
		float: none;
	}

	.hentry .post-ratings {
		float: none;
	}

	#respond input {
		width: 154px;
	}

	#respond textarea {
		width: 565px;
	}

	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		width: 202px;
	}
}

@media only screen and (max-width: 1023px) {
	
	.news-search {
		width: 220px;
	}

	.n-search {
		width: 165px;
	}

	#respond input {
		display: block;
		clear: both;
	}

	.feature-video .overlay span.play-button {
		bottom: 17px;
		right: 15px;
		width: 40px;
		height: 40px;
		border: 1px solid #fff;
	}

	.feature-video .overlay span.play-button i {
		font-size: 14px;
		padding-top: 13px;
		padding-left: 4px;
	}

	.pagination .prev,
	.pagination .next {
		display: none;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

	.header-ad img {
		width: 640px;
	}

	.container {
		width: 720px;
	}

	.content-area .hentry .byline {
		font-size: 12px;
		letter-spacing: 0;
	}

	#more-content {
		width: 470px;
	}

	.recent-content .hentry {
		width: 146px;
	}

	.hentry .overlay {
		right: 10px;
		width: 30px;
		height: 30px;
	}

	.hentry .overlay span.play-button i {
		font-size: 12px;
		padding-top: 10px;
		padding-left: 4px;
	}

	.recent-content .hentry .entry-title {
		margin-bottom: 12px;
	}

	.hentry .byline {
		float: none;
	}

	.hentry .post-ratings {
		float: none;
	}

	.content-loop .entry-summary {
		display: table-cell;
	}

	#secondary .widget {
		width: 180px;
	}

	#secondary .ad-widget img {
		width: 220px;
	}

	#secondary .tabs-widget .tabs-nav li a {
		padding: 0 10px;
	}

	#respond textarea {
		width: 397px;
	}

	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		width: 145px;
		padding: 0 20px 0 0;
	}

	#footer .subscribe-widget input {
		width: 135px;
		margin: 0 0 5px 0;
	}

	#footer .subscribe-widget button {
		width: 165px;
		margin: 0;
	}
}

@media only screen and (max-width: 767px) {
 
	#secondary {
		margin-top: 0;
	}

	#logo {
		margin: 10px 0 0 20px;
		padding-right: 20px;
		border-right: none;
	}

	#primary-nav,
	#secondary-nav {
		display: none;
	}

	#primary-mobile-menu {
		display: inline-block;
		line-height: 68px;
		float: right;
		text-transform: uppercase;
		position: relative;
		z-index: 99;
		color: #2d3133;
		margin-right: 20px;
	}

	#secondary-mobile-menu,
	#close-secondary-mobile-menu {
		color: #ffffff;
		display: inline-block;
		float: left;
		text-transform: uppercase;
		margin-left: 20px;
	}

	#primary-mobile-menu i, #secondary-mobile-menu i, #close-secondary-mobile-menu i {
		font-size: 24px;
	}

	#secondary-mobile-menu .fa-bars,
	#close-secondary-mobile-menu .fa-close {
		margin-left: 0;
	}

	.members .member {
		width: 100%;
		padding: 10px 0;
	}

	.header-social-icons {
		display: none;
	}

	.recent-content {
		margin-bottom: 10px;
	}

	.recent-content .hentry {
		margin: 0 0 20px 0;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
 

	.header-ad {
		height: auto;
	}

	.header-ad img {
		width: 420px;
	}

	.container {
		width: 420px;
	}

	#primary-nav ul li a {
		padding-left: 20px;
		padding-right: 20px;
	}

	.content-area .hentry .byline {
		font-size: 12px;
		letter-spacing: 0;
	}

	#more-content {
		width: 420px;
	}

	.recent-content .hentry {
		width: 420px;
	}

	.content-loop .entry-summary {
		display: table-cell;
	}

	#secondary .widget {
		width: 380px;
	}

	#secondary .ad-widget .widget-title {
		text-align: left;
	}

	#secondary .subscribe-widget input {
		width: 298px;
	}

	#respond textarea {
		width: 348px;
	}

	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		width: 100%;
	}

	.footer-column-2 {
		padding-right: 0;
	}

	#footer .subscribe-widget input {
		width: 170px;
		margin: 0 0 5px 0;
	}

	#footer .subscribe-widget button {
		width: 200px;
		margin: 0;
	}
}

@media only screen and (max-width: 479px) {
 
	.header-ad {
		height: auto;
	}

	.header-ad img {
		width: 280px;
	}

	.container {
		width: 280px;
	}

	#primary-nav ul li a {
		padding-left: 20px;
		padding-right: 20px;
	}

	#secondary-mobile-menu span {
		display: none;
	}

	#more-content {
		width: 280px;
	}

	.recent-content .hentry {
		width: 280px;
	}

	.hentry .overlay {
		bottom: 22px;
	}

	.hentry-bottom {
		margin-top: -10px;
	}

	.feature-video .overlay span.play-button {
		bottom: 6px;
		right: 12px;
		width: 30px;
		height: 30px;
		border: 1px solid #fff;
	}

	.feature-video .overlay span.play-button i {
		font-size: 12px;
		padding-top: 9px;
		padding-left: 3px;
	}

	.feature-video .entry-caption {
		left: 0;
		bottom: 0;
	}

	.feature-video .entry-title {
		font-size: 16px;
	}

	.content-loop .entry-thumbnail {
		width: 280px;
		margin-bottom: 10px;
	}

	#secondary .widget {
		width: 240px;
	}

	#secondary .ad-widget img {
		width: 280px;
	}

	#secondary .ad-widget .widget-title {
		text-align: left;
	}

	#secondary .subscribe-widget input {
		width: 158px;
	}

	.comment .avatar {
		display: none;
	}

	.comment-des {
		margin-left: 0;
	}

	#respond textarea {
		width: 209px;
	}

	#contact-form input {
		width: 218px;
	}

	.footer-top {
		padding: 25px 20px 0;
	}

	.footer-column-1,
	.footer-column-2,
	.footer-column-3,
	.footer-column-4 {
		width: 240px;
		margin: 0;
		padding-right: 0;
	}

	#site-bottom ul li {
		font-size: 10px;
		margin: 0 5px;
	}
}

@media only screen and (min-width: 600px) and (max-width: 1023px) {

	.posts-thumbnail-widget li a.entry-thumbnail {
		float: none;
		display: block;
		margin-bottom: 10px;
	}

	.posts-thumbnail-widget li a img {
		width: 100%;
	}
}

@media only screen and (min-width: 767px) {
	.close-menu-wrapper {
		display: none;
	}
}