#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 {
		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%;
	}

}


/* sidr style */
.sidr {
	display: none;
	position: absolute;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 999999;
	width: 260px;
	margin-right: 5px;
	overflow-x: none;
	overflow-y: auto;
	font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
	font-size: 15px;
	background: #333;
	color: #fff;
	-webkit-box-shadow: inset 0 0 5px 5px #222;
	-moz-box-shadow: inset 0 0 5px 5px #222;
	box-shadow: inset 0 0 5px 5px #222
}
.sidr .sidr-inner {
	padding: 0 0 15px
}
.sidr .sidr-inner>p {
	margin-left: 15px;
	margin-right: 15px
}
.sidr.right {
	left: auto;
	right: -260px
}
.sidr.left {
	left: -260px;
	right: auto
}
.sidr h1,.sidr h2,.sidr h3,.sidr h4,.sidr h5,.sidr h6 {
	font-size: 11px;
	font-weight: normal;
	padding: 0 15px;
	margin: 0 0 5px;
	color: #fff;
	line-height: 24px;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4d4d4d), color-stop(100%, #1a1a1a));
	background-image: -webkit-linear-gradient(#4d4d4d,#1a1a1a);
	background-image: -moz-linear-gradient(#4d4d4d,#1a1a1a);
	background-image: -o-linear-gradient(#4d4d4d,#1a1a1a);
	background-image: linear-gradient(#4d4d4d,#1a1a1a);
	-webkit-box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2);
	box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2)
}
.sidr p {
	font-size: 13px;
	margin: 0 0 12px
}
.sidr p a {
	color: rgba(255,255,255,0.9)
}
.sidr>p {
	margin-left: 15px;
	margin-right: 15px
}
.sidr ul {
	display: block;
	margin: 0 0 15px;
	padding: 0;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #4d4d4d
}
.sidr ul li {
	display: block;
	margin: 0;
	line-height: 48px;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #1a1a1a
}
.sidr ul li:hover,.sidr ul li.active,.sidr ul li.sidr-class-active {
	border-top: none;
	line-height: 49px
}
.sidr ul li:hover>a,.sidr ul li:hover>span,.sidr ul li.active>a,.sidr ul li.active>span,.sidr ul li.sidr-class-active>a,.sidr ul li.sidr-class-active>span {
	-webkit-box-shadow: inset 0 0 15px 3px #222;
	-moz-box-shadow: inset 0 0 15px 3px #222;
	box-shadow: inset 0 0 15px 3px #222
}
.sidr ul li a,.sidr ul li span {
	padding: 0 15px;
	display: block;
	text-decoration: none;
	color: #fff
}
.sidr ul li ul {
	border-bottom: none;
	margin: 0
}
.sidr ul li ul li {
	line-height: 40px;
	font-size: 13px
}
.sidr ul li ul li:last-child {
	border-bottom: none
}
.sidr ul li ul li:hover,.sidr ul li ul li.active,.sidr ul li ul li.sidr-class-active {
	border-top: none;
	line-height: 41px
}
.sidr ul li ul li:hover>a,.sidr ul li ul li:hover>span,.sidr ul li ul li.active>a,.sidr ul li ul li.active>span,.sidr ul li ul li.sidr-class-active>a,.sidr ul li ul li.sidr-class-active>span {
	-webkit-box-shadow: inset 0 0 15px 3px #222;
	-moz-box-shadow: inset 0 0 15px 3px #222;
	box-shadow: inset 0 0 15px 3px #222
}
.sidr ul li ul li a,.sidr ul li ul li span {
	color: rgba(255,255,255,0.8);
	padding-left: 30px
}
.sidr form {
	margin: 0 15px
}
.sidr label {
	font-size: 13px
}
.sidr input[type="text"],.sidr input[type="password"],.sidr input[type="date"],.sidr input[type="datetime"],.sidr input[type="email"],.sidr input[type="number"],.sidr input[type="search"],.sidr input[type="tel"],.sidr input[type="time"],.sidr input[type="url"],.sidr textarea,.sidr select {
	width: 100%;
	font-size: 13px;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 0 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	border: none;
	background: rgba(0,0,0,0.1);
	color: rgba(255,255,255,0.6);
	display: block;
	clear: both
}
.sidr input[type=checkbox] {
	width: auto;
	display: inline;
	clear: none
}
.sidr input[type=button],.sidr input[type=submit] {
	color: #333;
	background: #fff
}
.sidr input[type=button]:hover,.sidr input[type=submit]:hover {
	background: rgba(255,255,255,0.9)
}