/*
Theme Name: VM


----

 * The comments above tell WordPress about your theme.
 * WP uses this information in the admin on the Themes page.
 * You can change the information above to customize the theme with your own name and info.
 * Make sure you don't delete them though: WordPress needs them for the theme to work!
 * More info: <http://codex.wordpress.org/Theme_Development#Theme_Style_Sheet>
 */

/* CSS stílusok itt */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.6;
}

header {
	background-color: #333;
	color: #fff;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.logo img {
	max-height: 50px;
	max-width: 150px;
}

.logo-link {
	color: white;
	font-weight: bold;
	text-decoration: none;
	font-size: 20px;
}

.menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.menu ul li {
	display: inline;
	margin: 20px;
}

.menu ul li:last-child {
	margin-right: 0;
}

.menu ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 18px;
}

footer {
	color: #333;
	text-align: center;
	padding: 20px;
}

main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px;
}

main.m-page {
	display: block;
	max-width: 1200px; 
	margin: 0 auto;
}

.sidebar {
	width: 24%;
	background-color: #f0f0f0;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.content {
	width: 49%;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 20px;
}

img {
	max-width: 100%;
	height: auto;
}

#searchform > div {
	display: flex;
}

#searchform #s {
	width: 100%;
}

#searchform input {
	padding: 10px;
	border: 1px solid silver;
}

.header-img {
	text-align: center;
}


/* Add megfelelő stílusokat a hamburger ikonhoz */
.hamburger-menu {
	display: none; /* Alapértelmezés szerint a hamburger ikon rejtve van */
	flex-direction: column;
	cursor: pointer;
}

.bar {
	width: 25px;
	height: 3px;
	background-color: #fff;
	margin: 3px 0;
	transition: 0.4s;
}

/* Media query a 800 pixel alatti méretre */
@media screen and (max-width: 800px) {
	.menu ul {
		display: none; /* Menüpontok rejtése 800 pixel alatt */
	}

	.menu.active ul {
		display: flex; /* Menüpontok megjelenítése, ha az aktív osztály jelen van */
		flex-direction: column;
	}

	.menu.active {
		position: absolute;
		top: 100%;
		left: 0;
		background: #333;
		right: 0;
		padding: 20px 0;
	}

	.hamburger-menu {
		display: flex; /* Hamburger ikon megjelenítése 800 pixel alatt */
		align-items: center;
	}
}




@media screen and (max-width: 800px) {
	.sidebar, .content {
		width: 100%;
		margin-right: 0;
	}
	.content {
		order: 1
	}
	.sidebar-1 {
		order: 2
	}
	.sidebar-2 {
		order: 3
	}
}   

























/* Comments */
ol.commentlist {
	list-style:none;
	margin-left:0;
	padding-left:0;
}
ol.commentlist .comment-body {
	margin:1em 0;
}
ol.commentlist .avatar  {
	float:right;
	margin:0 0 1em 1em;
}

/*
 * These are some default styles that WordPress core hooks into.
 * You can safely remove them, but WordPress.org reccomends that all themes have them.
 */
.alignleft {
	float:left;
	margin-right:1em;
	margin-bottom:1em;
}
.alignright {
	float:right;
	margin-left:1em;
	margin-bottom:1em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}