/*
Theme Name: lacelebs.co
Author: Dmitriy
*/

body {
	font-family: 'Roboto', sans-serif;
	background-color: #F2F2F2;
	margin: 0;
	margin-bottom: 10px;
}

body > header {
	text-align: center;
	background-color: #F54A49;
	padding: 15px 0;
}

body > header a {
	font-size: 25px;
	color: white;
	text-decoration: none;
}

body > header p {
	margin: 5px 0;
	font-size: 13px;
	color: white;
}

h1 {
	font-size: 25px;
}

h2 {
	font-size: 20px;
}

h2 a, h1 a {
	text-decoration: none;
	color: black;
}

article {
	background-color: white;
	border: 1px solid #dadada;
	margin-top: 40px;
}

article:nth-child(1) {
	margin-top: 0;
}

article p {
	line-height: 1.5;
}

article p, article h1, article h2, article .related, .single-post article > p:nth-child(4) {
	margin-right: 15px;
	margin-left: 15px;
	text-align: justify;
}

article > p:nth-child(4), .single-post article > p:nth-child(5) {
	margin-right: 0;
	margin-left: 0;
}

article img {
	width: 100%;
	height: auto;
}



.gallery figure {
	width: 24.375%;
	margin: 0;
	margin-left: 0.5%;
	margin-top: 0.5%;
	line-height: 0;
	display: inline-block;
	vertical-align: top;
}

.more-link, .attachment .nav-links a {
	display: block;
	font-size: 14px;	
	font-weight: bold;
	color: #F34F9D;
	padding: 11px 13px;
	border: 1px solid #F34F9D;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	border-radius: 4px;
}

.more-link {
	margin-top: 10px;
}

.more-link:hover, .attachment .nav-links a:hover {
	text-decoration: underline;
}

.attachment .nav-previous, .attachment .nav-next {
	display: inline-block;
	box-sizing: border-box;
	width: 48.5%;
}

.attachment .nav-previous {
	margin-left: 1%;
	margin-right: 1%;
}

.attachment .nav-links, article .related-post {
	font-size: 0;
}

.attachment article {
	padding-bottom: 5px;
}

footer {
	margin-top: 20px;
}

footer form, footer nav {
	display: block;
	text-align: center;
}

footer form {
	font-size: 14px;
	margin-top: 10px;
}

.nav-posts a {
	display: inline-block;
	color: black;
	text-decoration: none;
}

.nav-posts a:first-child {
	margin-right: 10px;
}

footer .search-field, footer .search-submit {
	height: 30px;
}

article .related-post {
	margin-bottom: 10px;
}

.related-post-img, .related-post-link {
	display: inline-block;
	vertical-align: top;
}

.related-post-img {
	width: 30%;
}

.related-post-link {
	width: 70%;
	font-size: 16px;
	color: #9a7f5b;
	text-align: justify;
	box-sizing: border-box;
	padding-left: 10px;
	text-decoration: none;
}

aside {
	display: none;
}

.adsense {
	margin: 40px 10px 0 10px;
	text-align: center;
}

.adsense p {
	margin-right: 15px;
    	margin-left: 15px;
}

@media (min-width: 1050px) {
	article {
		margin: 40px 10px 0 10px;
	}

	.content {
		font-size: 0;
		text-align: center;
	}

	main, aside {
		font-size: 16px; /* IE */
		font-size: initial;
		text-align: left; /* IE */
		text-align: initial;
		display: inline-block;
		vertical-align: top;
	}

	main {
		width: 40%;
	}
	
	aside {
		width: 30%;
		max-width: 400px;
		position: sticky;
		box-sizing: border-box;
		top: 10px;
		height: 200px;
	}
}

#privacy {
    text-align: center;
	font-size: 14px;
	margin-top: 10px;
}
