/* @override 
	http://dev.9marks.org/site/wp-content/themes/9marks/style-tablet.css?ver=1.3
	http://dev2.9marks.org/wp-content/themes/9marks/style-tablet.css?ver=1.3
	 */

@media screen and (max-width:1020px) {
body {
	min-width: 1020px;
}
body:after {
	display: none !important;
}
body:before {
	display: none;
}

#wrap {
	padding: 45px 0 0 0;
}
#header {
	position: fixed;
	padding: 0;
	height: 45px;
	min-width: 10px;
	-o-transition: top .1s linear;
	-moz-transition: top .1s linear;
	-webkit-transition: top .1s linear;
	transition: top .1s linear;
}
.scrolled #header {
	height: 45px;
}
#header .logo {
	position: relative;
	top: auto;
	margin-top: auto;
}
#header .logo img {
	height: 45px;
	width: auto;
}
#lang {
	position: relative;
	top: auto;
	left: auto;
	bottom: auto;
	padding: 10px 0 0px 35px;
	border-bottom: 2px solid #319bd0;
	background: none;
	max-width: none;
}
#lang > ul {
	white-space: normal;
}
#lang > ul > li,
#lang > ul > li.selected {
	float: none;
	display: inline-block;
	width: 120px;
	margin: 0 10px 10px 0;
	padding: 0;
}
#lang > ul > li > a {
	padding: 0;
	height: auto ;
	line-height: normal;
}
#lang:before {
	display: none;
}
#lang.on {
	background: none;
	max-width: none;
}
#lang.on > ul > li {
	display: inline-block;
}

#header .nav-menu {
	display: none;
	position: absolute;
	width: 100%;
	height: auto;
	background: #0087ca;
	background-color: rgba(0, 134, 202, 0.95);
}
#header .nav-menu .wrap {
	margin: 0;
	width: auto;
}
.scrolled #header .nav-menu {
	display: none;
}
.scrolled.menu-active #header .nav-menu,
.menu-active #header .nav-menu{
	display: block;
	margin-top: 0;
	opacity: 1;
}

#nav-main {
	position: static;
	width: auto;
	top: auto;
	padding: 20px 0 0 35px;
	border-bottom: 2px solid #319bd0;
}
#nav-main > ul {
	border: 0;
	padding: 0;
}
#nav-main > ul > li {
	display: inline-block;
	float: none;
	width: 120px;
	margin: 0 10px 10px 0;
	height: 2em;
	vertical-align: text-bottom;
}
#nav-main > ul > li > a:after {
	display: none;
}
#nav-top {
	position: static;
	width: auto;
	height: auto;
	padding: 10px 0 10px 35px;
	border-bottom: 2px solid #319bd0;
}
#nav-top > ul {
	text-align: left;
}
#nav-top > ul > li {
	display: inline-block;
	margin: 0;
	margin: 0 10px 6px 0;
	width: 120px;
}
#nav-top > ul > li.last {
	margin-right: 0;
	width: 74px;
}
#nav-top > ul > li > a {
	display: block;
	height: auto;
	line-height: normal;
}
#nav-top > ul > li > a:after {
	display: none;
}
#nav-right {
	position: static;
	bottom: auto;
	right: auto;
	width: auto;
	height: auto;
	padding: 10px 0 5px 35px;
	background: none;
}
#nav-right:after {
	display: none;
}
#nav-right .subscribe,
#nav-right .donate {
	display: inline-block !important;
	vertical-align: middle;
	position: relative;
	bottom: auto;
	width: 120px;
	height: auto;
	line-height: normal;
	padding: 0;
	margin: 0 10px 10px 0;
	font-size: 16px;
	font-weight: 500;
	border: 0;
}
#nav-right .subscribe:after,
#nav-right .donate:after,
#nav-right .donate:before {
	display: none;
}

@media screen and (max-height:500px) {

.menu-active.scrolled #header {
	top: 0 !important;
}
.menu-active #header {
	height: 100%;
	overflow: scroll;
}
.menu-active #header #search {
	height: 45px;
}
}



#menu-toggle {
	position: absolute;
	top: 0px;
	right: 50px;
	height: 45px;
	line-height: 45px;
	display: block;
	text-align: center;
}
#menu-toggle:before {
	display: none;
}
#menu-close {
	display: block;
	position: absolute;
	right: 20px;
	height: 50px;
	width: 120px;
	text-align: center;
	line-height: 40px;
	color: white;
	font-size: 30px;
	font-weight: bold;
	background: #0087ca;
	background-color: rgba(0, 134, 202, 0.95);
	cursor: pointer;
}
#search.on {
	width: 100%;
}
#search input[type="text"] {
	padding: 0 10px 0 10px;
}
#search button {
	font-size: 150%;
}

#posts-filter {
	min-width: 500px;
	top: 60px;
}
.featured-posts .hentry .thumb img {
	background-clip: content-box;
	background-size: cover;
}
.featured-posts .hentry {
	margin: 0 0 3px 3px ;
	border-bottom: 0;
	border-left: 0;
	width: 20%;
	width: -webkit-calc(20% - 3px);
	width: -moz-calc(20% - 3px);
	width: calc(20% - 3px);
	height: 237px;
}
.featured-posts .hentry.large {
	height: 477px;
}

#related {
	padding: 0;
}
#footer-promos .social ul {
	padding: 0 10px;
}

}

