/*
Theme name: My Blog
Theme URI: http://www.molnardiana.hu/mayblog
Author: Molnár Diána
Author URI: http://www.molnardiana.hu
Description: development by Molnár Diána
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/license/gpl-2.0.html
Text Domain: myblog
Tags: custom-color, custom-header, custom-menu, custom-logo, editor-style
*/

body {
	background: #fff url(img/body-bg.png);
}
.center-box {
	width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
#logo {
	display: block;
	width: 300px;
	margin: 25px auto;
}
footer {
	background: #ccc;
	padding: 30px 0;
	position: relative;
	margin-top: 60px;
}
footer:before {
	position: absolute;
	content: "";
	height: 50px;
	width: 100%;
	display: block;
	left: 0;
	top: -45px;
	background: url(img/footer.png);
	background-size: auto 100%;
}
#content {
	overflow: hidden;
	clear: both;
	padding-top: 20px;
}
.row {
	margin: 0 -15px;
}
main {
	float: left;
	width: 75%;
	padding: 0 15px;
}
aside {
	float: left;
	width: 25%;
	padding: 0 15px;
}
nav {
	background: url(img/brush-yellow.gif);
	background-size: 100% 100%;
}
.articles {
	display: flex; /* közvetlen gyermek egy magas lesz */
	margin: 0 -15px;
	-webkit-flex-flow: row wrap; /* oszlopok tördelése százalékosan */
}
.article-box {
	
	padding: 0 15px;
	margin-bottom: 20px;
}
.article-box h2 {
	margin-top: 15px;
}
article {
	background-color: #fff;
	background-image: url(img/border-horizontal.png), url(img/border-horizontal.png), url(img/border-vertical.png), url(img/border-vertical.png);
	background-position: top center, bottom center, top left, top right;
	background-size: auto 3px, auto 3px, 3px auto, 3px auto;
	background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
	padding: 15px;
	height: 100%;
	
}
.featured-image {
	position: relative;
	display: block;
	padding: 15px;
	background-color: #fff;
	background-image: url(img/border-horizontal.png), url(img/border-horizontal.png), url(img/border-vertical.png), url(img/border-vertical.png);
	background-position: top center, bottom center, top left, top right;
	background-size: auto 3px, auto 3px, 3px auto, 3px auto;
	background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}
.image {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
}
.featured-image h1 {
	background-image: url(img/brush-white.gif);
	background-size: 100% 100%;
	padding: 20px 40px;
	margin: 0 15px;
	display: block;
	max-width: 500px;
}
time {
	display: block;
	margin: 10px 0;
	font-size: 14px;
}

@media only screen and (max-width: 1200px) {
	.center-box {
		width: 100%;
	}
}

@media only screen and (max-width: 768px) {
	main, aside {
		float: none;
		width: 100%;
	}
}

@media only screen and (min-width: 768px) {
	.article-box {
		width: 33.33%;
	}
}
@media only screen and (min-width: 480px) and (max-width: 769px) {
	.article-box {
		width: 50%;
	}
}
@media only screen and (max-width: 479px) {
	.article-box {
		width: 100%;
	}
}