/*
Theme Name: Alien Ship
Theme URI: http://www.johnparris.com/alienship/
Author: John Parris
Author URI: http://www.johnparris.com/alienship/
Description: Alien Ship is a responsive starter theme for WordPress.
Version: 1.2.2
License: GNU General Public License
License URI: license.txt
*/

/* Typography
---------------------------- */
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
}
.entry-title {
   /* font-weight: 300;*/
    font-size: 24px;
	margin-bottom: 5px;
	word-wrap: break-word;
}
.widget-title {
	font-size: 18px;
}

/* Navigation
----------------------------------------------- */
.admin-bar .navbar-fixed-top {
	top: 28px;
}
/* Increase the padding of dropdown links */
.dropdown-menu li > a {
	padding: 8px 15px;
}
/* Footer Nav / Bottom Menu */
.footer-nav li {
	display: block;
	float: right;
	margin-bottom: 0;
	padding-left: 3%;
}
/* Mobile Footer Nav */
@media only screen and (max-width: 767px) {
	.footer-nav.mobile {
		border-bottom: 1px solid #ccc;
		height: auto;
		margin: 0 auto;
		max-width: 100%;
		padding: 10px 0 0;
		width: auto;
	}
	.footer-nav.mobile li {
		float: none;
		height: auto;
		padding: 0;
	}
	.footer-nav.mobile li a:hover {
		background-color: #2a6496;
		color: #fff;
		text-decoration: none;
	}
	.footer-nav.mobile li a {
		border: solid 0 #ccc;
		color: #fff;
		display: block;
		font-size: 15px;
		padding: 18px 20px;
		width: auto;
	}
	.footer-nav.mobile li a,
	.footer-nav.mobile li a.active {
		border-width: 1px 0 0;
		height: auto;
		margin: 0;
	}
	.footer-nav.mobile li.current-menu-item a {
		background: #428bca;
		border: none;
		color: #fff;
		margin: 0;
		position: static;
		top: 0px;
	}
}
.breadcrumb-trail {
	padding: 8px 15px;
}
/* End of Navigation
----------------------------------------------- */

/* Various design elements
--------------------------------------- */


/* Comments
 ---------------------------------------*/
#comments {
	border-top: 1px solid #eee;
	padding-top: 40px;
}
.thread-even > .comment-body {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03);
}
.comment-body {
	margin-bottom: 20px;
	padding: 15px;
}
#comments cite {
	font-size: 15px;
	font-weight: bold;
}
.comment-meta {
	font-size: 12px;
}
.comment-list {
	padding-bottom: 7px;
}
.comment-author {
	margin-bottom: 7px;
}
.comment-content {
	margin-top: 7px;
}
.comment-author > .avatar {
	margin-right: 1em;
}
#comments ul.children {
	margin-left: 20px;
}
#comments ul.children li {
	border-top: 1px solid #e6e6e6;
	list-style-type: none;
}
.bypostauthor > article {
	background: none repeat scroll 0 0 rgba(70, 165, 70, 0.09);
}
.bypostauthor > article .avatar {
	border-bottom: 4px solid #46a546;
}
.form-allowed-tags code {
	white-space: normal;
}
.input-comment-author,
.input-comment-email,
.input-comment-url {
	width: 35%;
}
.btn-yellow, .btn-yellow:visited {
	padding: 9px 24px;
	background-color: #FFCE00;
	color: #fff;
	border-radius: 20px;
}
.btn-yellow:hover, .btn-yellow:active, .btn-yellow:focus {
	color: #fff;
	background-color: #f0b633;
}
.main-navigation .btn-yellow {
	margin: 5px -15px 5px 40px;
}
/* End of comments
----------------------------------------------- */


/* Page / Wrapper / Content
----------------------------------------------- */
#masthead {
	margin-bottom: 10px;
	padding-bottom: 20px;
}
.site-title,
.site-description {
	font-size: 30px;
	font-weight: bold;
	line-height: 36px;
	margin: 0;
}
.site-description {
	font-size: 24px;
}

#page {
	margin: 0px auto;
}
#main-row {
	margin-top: 10px;
}

/* The article wrapper that displays the content of a post/page/whatever */
article {
	margin: 0 0 50px;
}
/* Post/page and comment content */
.entry-content {
	/*padding: 15px 0;*/
	word-wrap: break-word;
}
.entry-content,
.entry-summary,
.entry-content p,
.entry-summary p {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.667em;
}
p {
	margin-bottom: 1em; /*1.625em;*/
}
/* Remove margins from page-header that get set above if used inside a post/page */
.page-header h1,
.page-header h2 {
	margin: 0;
}
/* Space out the archives descriptions from the names */
.page-header .taxonomy-description p {
	font-size: 1.15em;
	margin: 10px 3px;
}

/* Pads the paging links within a post or page */
.page-links {
	padding: 7px 0;
}

/* The meta data displayed within a post footer. */
.entry-footer {
	border-bottom: 1px solid #eee;
	clear: both;
	font-size: 12px;
	padding-bottom: 15px;
}
.entry-footer,
.entry-footer a {
	color: #777;
}
.entry-footer .glyphicon {
	margin-right: 4px;
}
.byline,
.cat-links,
.comments-link,
.published-date,
.tags-links {
	margin-right: 10px;
}

/* Images */
p img {
	margin-bottom: 0.5em;
	margin-top: 0.4em;
}
#content .gallery .gallery-icon img {
	border: 1px solid #ddd;
	height: auto;
	padding: 6px;
}
img.header-image,
img.wp-post-image,
img.avatar,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
.comment-content img,
.widget img {
	height: auto;
	max-width: 100%;
	padding: 0;
}

/* Image captions */
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	margin: 0.8075em 0;
	padding-left: 10px;
}

/*Theme layouts
----------------------- */
/* One column */
.layout-1c #primary {
	float: none;
	margin-right: 0;
	width: 100%;
}
/* Two columns: sidebar left, content right. */
.layout-2c-r #primary {
	float: right;
}
.layout-2c-r #secondary {
	float: left;
	margin-left: 0;
}
/* End of Theme layouts */

/* Copyright / bottom menu area */
.site-footer {
	border-top: solid 0px #ccc;
	margin-top: 50px;
	padding: 7px 0px;
    background-color: #428bca;
    -moz-box-shadow: 0px 0px 4px #000000;
    -webkit-box-shadow: 0px 0px 4px #000000;
    box-shadow: 0px 0px 4px #000000;
    color: #fff;
}
.browsehappy {
	margin-bottom: 0;
	text-align: center;
}
.browsehappy .alert-link {
	text-decoration: underline;
}

mark,
ins {
	background: transparent;
	text-decoration: none;
}

.alert strong {
	font-size: 1.15em;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}
/* Featured Posts
---------------------------------- */
/* Carousel */
@media only screen and (max-width: 767px) {
	.carousel-caption {
		position: static;
	}
}
.carousel-indicators {
	bottom: -10px;
}
.carousel-indicators li,
.carousel-indicators .active {
	height: 8px;
	width: 8px;
	margin: 2px;
}
.carousel-caption {
	background: #333;
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	left: 0;
	padding: 2px 0 7px;
	width: 100%;
}
.carousel-caption h3 {
	font-size: 18px;
	margin-bottom: 12px;
	margin-top: 10px;
}

/* Featured posts grid */
#featured-posts-grid {
	padding-left: 0;
}
#featured-posts-grid li {
	background-color: #F5F5F5;
	margin-bottom: 25px;
	padding-bottom: 2px;
}
.innergrid {
	height: 85%;
	float: none;
	padding: 0 10px 12px;
}
.innergrid img {
	margin: 0 auto;
	max-width: 100%;
}
.grid-header {
	font-size: 14px;
	margin: 0;
	padding-bottom: 8px;
	text-align: center;
}
.grid-header .entry-title {
	line-height: inherit;
}
.grid-footer-meta {
	font-size: 12px;
	margin-bottom: 5px;
	text-align: center;
	text-transform: uppercase;
}
/* End of featured posts grid */

/* Page Templates */
.page-template-templatespage-hero-php .navbar {
	border-radius: 0;
	margin-bottom: 0;
}
#hero-widgets-container {
	margin: 0 auto;
}

/* Post formats
------------------------------------ */

/* Quote post format */
.format-quote {
	background: url("img/quote.png") no-repeat scroll left top;
	background-size: 20px 20px;
	margin-top: 15px;
	padding: 10px 0 0;
}
.format-quote cite {
	font-style: italic;
}
.format-quote blockquote {
	border-left: 0;
	margin: 0 0 18px 15px;
}
.format-quote blockquote p {
	font-style: italic;
}

/* Widgets
----------------------------------------------- */
#sidebar {
	background-color: #fafafa;
	padding: 2em;
	clear: both;
}
.widget {
	margin: 0 0 1.5em;
	word-wrap: break-word;
}
.widget ul {
	padding: 0 0 0 15px;
}
.widget li {
	margin-bottom: 5px;
}
.widget .nav-stacked {
	padding: 0;
}
.widget .nav-stacked li {
	margin-bottom: 0;
}
.widget a:hover {
	background-color: #EEEEEE;
	text-decoration: none;
}

/* Hide search widget submit button */
#searchsubmit,
.search-form input[type=submit] {
	/*display: none;*/
}

#logout-link-widget {
	font-size: 11px;
}

.alienship-login-form .login-username,
.alienship-login-form .login-password {
	margin-bottom: 0;
}

.alienship-login-form .login-remember input {
	float: left;
	margin-right: 5px
}
/*.adsbygoogle {
	margin-right: -10px;
}*/
.navbar-brand {
	font-size: 20px;
	line-height: 20px;
	padding: 10px 15px;
	float: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
.single-post article {
	margin-bottom: 0;
}
.navbar-brand img {
	margin-right: 8px;
}
.sociallinks .table>tbody>tr>td {
	border-top: 0;
}
/* End of Widgets
---------------------------------------------- */


/* Responsive layout
---------------------------------------------- */
@media only screen and (max-width: 480px) {
	h2.grid-header {
		font-size: 14px !important;
	}
}

@media only screen and (max-width: 767px) {
	/* Improve font size and spacing on dropdown menu on mobile/tablets */
	.navbar-nav .open .dropdown-menu > li > a {
		padding: 12px 15px 12px 35px;
	}
	.navbar .nav > li > a, .navbar .dropdown-menu a {
		font-size: 16px;
		font-weight: normal;
		padding: 15px 20px;
	}
}

@media (max-width: 767px) {
	.navbar-header .col-md-3 .row, .navbar-header .col-md-9 .row {
		margin: 0;
	}
}
/*	--------------------------------------------------
	:: Block grids - Thanks to Zurb Foundation
	http://foundation.zurb.com/

	These are 2-up, 3-up, 4-up and 5-up ULs, suited
	for repeating blocks of content. Add 'mobile' to
	them to switch them just like the layout grid
	(one item per line) on phones

	For IE7/8 compatibility block-grid items need to be
	the same height. You can optionally uncomment the
	lines below to support arbitrary height, but know
	that IE7/8 do not support :nth-child.
	-------------------------------------------------- */

.block-grid {
	display: block;
	overflow: hidden;
}

.block-grid > li {
	display: block;
	float: left;
	height: auto;
	margin-bottom: 12px;
	padding: 10px 0;
}

.block-grid > li > blockquote {
	border-left: none;
	padding: 0 15px;
}

.block-grid.two-up {
	margin-left: -4%;
}

.block-grid.two-up > li {
	margin-left: 4%;
	width: 46%;
}

.block-grid.three-up {
	margin-left: -2%;
}

.block-grid.three-up > li {
	margin-left: 2%;
	width: 31.2%;
}

.block-grid.four-up {
	margin-left: -2%;
}

.block-grid.four-up > li {
	margin-left: 2%;
	width: 23%;
}

.block-grid.five-up {
	margin-left: -1.5%;
}

.block-grid.five-up > li {
	margin-left: 1.5%;
	width: 18.5%;
}
@media (min-width: 768px) {
	.navbar-header {
		/*display: flex;
		align-items: center;
		justify-content: space-between;*/
		width: 100%;
	}
	.navbar-form.navbar-right:last-child {
		/*margin-right: -10px;*/
	}
	ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}
/* --------------------------------------------------
	:: Mobile Block Grids
	-------------------------------------------------- */

@media only screen and (max-width: 767px) {
	.block-grid.mobile {
		margin-left: 0;
		padding-left: 4%;
	}

	.block-grid.mobile > li {
		float: none;
		margin-left: 0;
		width: 100%;
	}
	.site-footer {
		text-align: center;
	}
}
.top-navigation {
    background-color: #fff;
    margin-bottom: 0px;
    border: 0px;
    border-radius: 0px;
}
.navbar-default .navbar-brand {
    color: #fff;
    justify-content: flex-start;
}
.navbar {
    min-height: 40px !important;
}
.main-navigation {
    background-color: #428bca;
    margin-bottom: 0px;
    border: 0px;
    border-radius: 0px;
    -moz-box-shadow: 0px 3px 4px #999;
    -webkit-box-shadow: 0px 3px 4px #999;
    box-shadow: 0px 3px 4px #999;
    filter: progid:DXImageTransform.Microsoft.Shadow(strength = 3, direction = 180, color = '#999');
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(strength = 3, Direction = 180, Color = '#999')";
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#40a5db', endColorstr = '#005c9d');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#40a5db', endColorstr = '#005c9d')";
    background-image: -moz-linear-gradient(top, #40a5db, #005c9d);
    background-image: -ms-linear-gradient(top, #40a5db, #005c9d);
    background-image: -o-linear-gradient(top, #40a5db, #005c9d);
    background-image: -webkit-gradient(linear, center top, center bottom, from(#40a5db), to(#005c9d));
    background-image: -webkit-linear-gradient(top, #40a5db, #005c9d);
    background-image: linear-gradient(top, #40a5db, #005c9d);*/
}
.main-navigation .navbar-nav>li>a {
		font-size: 18px;
    color: #fff;
}
#s {
    border: 0px;
    color: #333;
    border-radius: 0;
}
#s::placeholder {
	color: 333;
}
element.style {
}
.main-navigation .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
color: #fff;
background-color: #0B486B;
}
.main-navigation .navbar-nav>a, .navbar-default .navbar-nav> li >a:hover, .navbar-default .navbar-nav> li >a:hover {
color: #fff;
background-color: #3773a7;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus
#today {
    background-color: #0B486B;
    color: #fff;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
	background-color: #0B486B;
	color: #fff;
}
.dropdown-menu {
	background-color: rgba(21, 54, 93, 0.85);
	border: 0;
}
.dropdown-menu>li>a {
	color: #fff;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
	color: #fff;
	background-color: rgba(255, 255, 255,.2);
	text-decoration: underline;
}
.workplace {
  margin: 0 auto;
}
.site-content {
   
}
.footer-sidebar-row {
   
    margin: 0 auto;
}
.social_net {
		display: flex;
		justify-content: center;
}
.social_net>a {
	margin: 0 13px;
}
.footer-text {
    max-width: 300px;
    position: relative;
    float: left;
}
#searchsubmit {
    color: #333;
    background-color: #fff;
    border-color: transparent;
    border-radius: 0;
    height: 40px;
    margin-left: -4px;
}
#searchsubmit svg {
	position: relative;
	top: 2px;	
}
.main-navigation .navbar-form {
	margin-top: 5px;
	margin-bottom: 5px;
}
.main-navigation .navbar-form #s {
	height: 40px;
}
div.social_net {
    padding: 6px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
		width: 100%;
		margin-bottom: 8px;
}
div.workplace>div.footer-text.col-sm-6 {
    padding-top: 8px;
}
.cat article {
	margin: 0 0 10px;
}
.cat header>h2 {
	font-weight: 300;
	margin-top: 10px;
}
.cat header>h2.entry-title>a {
	font-size: 18px;
}
.cat header {
	margin-top: 20px;
}
.pager {
	margin: 0px;
}
.breadcrumbs {
	color: #999;
}
.feedburner {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
	margin-top: 40px;
}
.feedburner input {
	height: 48px;
	padding: 16px;
	line-height: 16px;
}
.feedburner>div>input {
	margin: 0 -1px 0 0;
	border: 1px solid #ccc;
	box-shadow: none;
	border-radius: 0;
	width: 100%;
}
.feedburner>div:first-child {
	margin-right: 8px;
	font-weight: 700;
	width: 100%;
}
.feedburner p {
	margin: 0;
}
.subscribe-block .feedburner_sidebar input {
	padding-top: 8px;
	padding-bottom: 8px;
	height: 32px;
	margin: 0 -1px 0 0;
	border: 1px solid #ccc;
	box-shadow: none;
	border-radius: 0;
}
.feedburner input[type="submit"] {
	color: #fff;
	background-color: #0B486B;
	border: 0;
	transition: .3s;
	margin-left: -1px;
}
.feedburner input[type="submit"]:hover {
	color: #fff;
	background-color: #2a6496;
	transition: .3s;
}
.subscribe-block {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	width: 100%;
}
.subscribe-block .feedburner_sidebar {
	margin: 0;
	flex: 0 1 calc(100% - 64px);
}
.subscribe-block .feedburner_sidebar>div:first-child {
	margin-right: 0;
}
.subscribe-block>a {
	height: 32px; 
	width: 32px;
	border: 1px solid #ccc;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: -1px;
}
@media (max-width: 1024px) {
	.feedburner input[type="submit"] {
		font-size: 12px;
	}
}
.main-posts {
	display: grid;
	grid-gap: 0 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
	grid-template-areas: "post1 post2 post3 post4" "post5 post6 post7 post8" "post9 post10 post11 post12";
	margin-bottom: 24px;
}
.main-post:nth-of-type(1) { grid-area: post1; }
.main-post:nth-of-type(2) { grid-area: post2; }
.main-post:nth-of-type(3) { grid-area: post3; }
.main-post:nth-of-type(4) { grid-area: post4; }
.main-post:nth-of-type(5) { grid-area: post5; }
.main-post:nth-of-type(6) { grid-area: post6; }
.main-post:nth-of-type(7) { grid-area: post7; }
.main-post:nth-of-type(8) { grid-area: post8; }
.main-post:nth-of-type(9) { grid-area: post9; }
.main-post:nth-of-type(10) { grid-area: post10; }
.main-post:nth-of-type(11) { grid-area: post11; }
.main-post:nth-of-type(12) { grid-area: post12; }

.main-post:not(:nth-of-type(1)) .wp-post-image, .main-post:not(:nth-of-type(1)) .main-post__except {
	display: none;
}

.main-post .main-post__except a {
	display: none;
}
.post-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}
.main-post .post-title {
	font-size: 16px;
}
.post-title a, .post-title a:visited {
	color: inherit;
}

.main-post h2 a:hover, .main-post h2 a:focus, .main-post h2 a:active {
	/* color: #428bca;
	text-decoration: none; */
}
.main-post {
	border-bottom: 1px dashed #333;
	padding: 24px 0;
}
.main-post__except {
	font-size: 18px;
}
.secondary-posts {
	display: grid;
	grid-gap: 0 16px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
	grid-template-areas: "First Second Third Fourth";
	margin-bottom: 24px;
}
.secondary-post {
	padding-bottom: 24px;
	border-bottom: 1px dashed #333;
}
.secondary-posts .wp-post-image {
	height: 156px;
	width: calc(100% - 0px);
	object-fit: cover;
	margin-bottom: 16px;
}
.block-title {
	font-size: 42px;
	margin-bottom: 16px;
}
.more__link {
	color: inherit;
}
.more__link:hover, .more__link:active, .more__link:focus {
	color: #333;
}
.site-footer a, .site-footer a:visited {
	color: #fff;
}
@media (min-width: 1170px) {
	.navbar-nav>li {
		margin: 0 24px;
	}
}
@media (min-width: 1400px) {
	.container {
		width: 1360px;
	}
	.main-navigation .navbar-form #s {
		min-width: 300px;
	}
	.navbar-nav>li {
		margin: 0 32px;
	}
}
@media (min-width: 992px) and (max-width: 1170px) {
	.secondary-posts .wp-post-image {
		max-height: 100px;
	}
	.main-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: "post1 post2 post3 post4" "post5 post6 post7 post8";
		margin-bottom: 24px;
	}
	.main-post:nth-of-type(1) { grid-area: post1; }
	.main-post:nth-of-type(2) { grid-area: post2; }
	.main-post:nth-of-type(3) { grid-area: post3; }
	.main-post:nth-of-type(4) { grid-area: post4; }
	.main-post:nth-of-type(5) { grid-area: post5; }
	.main-post:nth-of-type(6) { grid-area: post6; }
	.main-post:nth-of-type(7) { grid-area: post7; }
	.main-post:nth-of-type(8) { grid-area: post8; }
	.secondary-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: auto;
		grid-template-areas: "First Second Third Fourth";
		margin-bottom: 16px;
	}
}
@media (max-width: 991px) {
	.main-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto auto auto auto auto;
		grid-template-areas: "post1" "post2" "post3" "post4" "post5" "post6" "post7" "post8";
		margin-bottom: 24px;
	}
	.main-post:nth-of-type(1) { grid-area: post1; }
	.main-post:nth-of-type(2) { grid-area: post2; }
	.main-post:nth-of-type(3) { grid-area: post3; }
	.main-post:nth-of-type(4) { grid-area: post4; }
	.main-post:nth-of-type(5) { grid-area: post5; }
	.main-post:nth-of-type(6) { grid-area: post6; }
	.main-post:nth-of-type(7) { grid-area: post7; }
	.main-post:nth-of-type(8) { grid-area: post8; }
	.secondary-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: "First Second" "Third Fourth";
		margin-bottom: 16px;
	}
	.secondary-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: "First Second" "Third Fourth";
		margin-bottom: 16px;
	}
}
@media (max-width: 767px) {
	.main-post:nth-of-type(1) {
		flex-direction: column;
		align-items: center;
	}
	.main-posts {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto auto auto auto auto;
		grid-template-areas: "post1" "post2" "post3" "post4" "post5" "post6" "post7" "post8";
		margin-bottom: 24px;
	}
	.main-post:nth-of-type(1) { grid-area: post1; }
	.main-post:nth-of-type(2) { grid-area: post2; }
	.main-post:nth-of-type(3) { grid-area: post3; }
	.main-post:nth-of-type(4) { grid-area: post4; }
	.main-post:nth-of-type(5) { grid-area: post5; }
	.main-post:nth-of-type(6) { grid-area: post6; }
	.main-post:nth-of-type(7) { grid-area: post7; }
	.main-post:nth-of-type(8) { grid-area: post8; }
	.secondary-posts {
		display: grid;
		grid-gap: 16px;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto;
		grid-template-areas: "First" "Second" "Third" "Fourth";
		margin-bottom: 16px;
	}
	.main-post:nth-of-type(1) .wp-post-image {
		flex: 1 1 100%;
		max-width: 100%;
		height: 160px;
		margin-right: 0px;
		max-height: 160px;
		margin-bottom: 16px;
	}
	.navbar-default .navbar-brand {
		position: absolute;
		z-index: 1;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a, .navbar-default .navbar-nav .open .dropdown-menu>li>a:visited {
		color: #fff;
	}
	.main-navigation .btn-yellow {
		margin: 0 0 15px 0;
	}
	.main-navigation .navbar-form {
		display: flex;
		width: 100%;
		padding: 10px 0;
		margin: 10px 0;
	}
	.main-navigation .navbar-form>* {
		width: 100%;
	}
	#searchsubmit {
		width: 40px;
	}
	#twitter-widget-0 {
		display: none!important;
	}
	.secondary-post {
		display: flex;
	}
	.secondary-posts .wp-post-image {
		height: 80px;
		width: 100px;
		flex: 0 0 100px;
		margin-right: 10px;
		margin-bottom: 0;
	}
	.block-title {
		font-size: 24px;
	}
	.post-title {
		font-size: 16px;
	}
	.main-post .post-title {
		font-size: 14px;
	}
	.main-post__except {
		display: none;
	}
	.main-post {
		padding: 10px 0;
	}
	.footer-nav.mobile li a, .footer-nav.mobile li a.active {
		border-width: 0;
	}
	#menu-nizhnee-menyu li:first-child a {
		display: block;
		padding: 9px 24px;
    background-color: #FFCE00;
    color: #fff;
		border-radius: 20px;
		max-width: 180px;
    margin: 0 auto 16px auto;
	}
	#menu-nizhnee-menyu li:nth-of-type(2) {
		border-top: 1px solid #ccc;
	}
}

@media (min-width: 768px) {
	
}

.grecaptcha-badge {
	display: none!important;
}
.page-id-5 .grecaptcha-badge {
	display: block;
}