* {
	box-sizing: border-box;
}

body {
	font-family: Verdana, sans-serif;
	background: #f1f1f1;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: scroll;
	height: 100%;
	max-height: 100%;
}

/* Header/Blog Title */
.header {
	padding: 30px;
	text-align: center;
	text-shadow: 2px 2px 4px #000000;
	color: white;
	background-color: white;
	background-image: url("kepek-weboldalhoz/hatter.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.header h1 {
	font-size: 50px;
}

/* Style the top navigation bar */
.menu {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.menu li {
	display: block;
    float: left;
}

.menu li a {
	display: block;
	color: #f2f2f2;
	padding: 14px 16px;
	text-align: left;
	text-decoration: none;
}

.menu a:hover {
	background-color: #ddd;
	color: black;
}

.menu ul ul { /* this targets all sub menus */
	margin: 0;
	padding: 0;
	display: none; /* hide all sub menus from view */
	position: absolute;
	list-style-type: none;
	background-color: #f9f9f9;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.menu ul ul li { /* this targets all submenu items */
	float: none; /* overwriting our float up above */
}

.menu ul ul li a { /* target all sub menu item links */
    padding: 14px 16px; /* give our sub menu links a nice button feel */
	color: black;
}

.menu ul li:hover > ul {
    display: block; /* show sub menus when hovering over a parent */
}

.menu ul ul li ul {
    /* target all second, third, and deeper level sub menus */
    left: 100%; /* this needs to match the sub menu width set above -- width + padding + borders */
	margin: -25% 0 0 0;
	padding: 0;
	position: relative;
}

/* Active Menu Highlighting */
/* active class handling */
.menu a.active {
	color: white;
}
.menu li.active > a {
    background-color: #FFAA00;
}

/* while click on link */
.menu a:active {
	color: red;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {	 
	float: left;
	width: 25%;
	padding-left: 20px;
	padding-right: 10px;
}

/* Right column */
.rightcolumn {
	float: left;
	width: 75%;
	padding-left: 10px;
	padding-right: 20px;
}

/* Fake image */
.fakeimg {
	background-color: #aaa;
	width: 100%;
	padding: 20px;

}

/* logo */
.logo {
	display: block;
	border-style: solid;
	border-width: 3px;
	border-radius: 50%;
	border-color: #ffffff;
	background-color: #aaa;
	padding: 0;
	margin: -158px auto -10px auto;
	width: 168px;
	height: 168px;
	box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
	position: relative;
}

/* Add a card effect for articles */
.card {
	background-color: white;
	padding: 20px;
	margin-top: 20px;
	border-radius: 6px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

/* Clear floats after the columns */
.row::after {
	content: "";
	display: table;
	clear: both;
}

hr {
	height: 1px;
	border-width: 0;
	color: gray;
	background-color: gray
}

/* Footer */
.footer {
	padding: 10px;
	text-align: center;
	color: #f2f2f2;
	background-color: #333;
	margin-top: 20px;
	box-shadow: 0 -2px 5px 0 rgba(0,0,0,0.16),0 -2px 10px 0 rgba(0,0,0,0.12);
}

/* Style the footer links */
.footer a {
	color: #FFAA00;
	font-style: italic;
	text-decoration: none;
	cursor: pointer;
}

/* Change color on hover */
/* mouse over link */
.footer a:hover {
	background-color: #ddd;
	color: black;
}

/* while click on link */
.footer a:active {
	background-color: #FFAA00;
	color: white;
}

/* Adatkezelési figyelmeztető */
.adatv {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 250px;
	font-size: 12px;
	text-align: center;
	background-color: rgba(25, 25, 25, 0.9);
	color: #efefef;
	opacity: 1;
	transition: opacity 0.6s;
	padding: 5px;
	border-radius: 6px;
}

.adatv a{
	color: #f6a21d;
}

.adatv strong{
	font-size: 13px;
}

.elfogadgomb {
	margin-left: 15px;
	color: #f6a21d;
	font-weight: bold;
	float: left;
	font-size: 13px;
	line-height: 110%;
	cursor: pointer;
	transition: 0.3s;
}

.elfogadgomb:hover {
	color: #fff;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
	.header {
		border-radius: 0 0 6px 6px;
		box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	}
	.leftcolumn, .rightcolumn {	 
		width: 100%;
		padding: 0;
	}
	
	/* logo */
	.logo {
		margin: -30px auto -10px auto;
	}
	
	.menu li {
		width: 100%;
	}
	
	.menu ul ul { /* this targets all sub menus */
		display: block;
		position: relative;
		box-shadow: none; /* Remove shadow for submenus */
	}
	
	.menu ul ul li ul {
		left: 0;
		margin: 0;
	}
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
	/* On smaller screens, decrease text size in Auto Slideshow */
}