* {
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

h1 {
	font-size: 26px;
	font-weight: normal;
}

#main {
	position: relative;
	max-width: 800px;
}

#all {
	display: flex;
	flex-direction: column;
	background: #023469;
	box-shadow: 0 0 30px black;
}

#header {
	position: relative;
	height: 102px;
	background: linear-gradient(to right, #3681d2, #013567);
	border-bottom: 1px solid white;
}

#header > img {
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 0;
	margin: auto 0 auto 0;
}

#title {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 20px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: flex-end;
}

#title > div {
	flex: 1;
	color: white;
	font-family: "Arial Narrow", Helvetica, sans-serif;
	font-size: 25px;
	letter-spacing: 7px;
}

#homlokzat{
	text-align: right;
}

#lng {
	position: absolute;
	top: 10px;
	right: 10px;
	color: white;
	font-size: 80%;
}

.flag {
	display: inline-block;
	height: 14px;
	padding: 1px;
	border: 1px solid transparent;
	margin: 1px;
}

.flag.active {
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.flag > img {
	display: block;
}

#pictures {
	width: 800px;
	height: 218px;
	position: relative;
}

.header-image {
	position: absolute;
	opacity: 0;
	transition: opacity 2s;
}

.header-image.active {
	opacity: 1;
}

#menu {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	height: 30px;
	background: linear-gradient(#095ebb, #4197ea);
	border-bottom: 1px solid white;
}

#menu > a {
	display: inline-block;
	padding: 6px 40px 0 40px;
	text-decoration: none;
	color: white;
	font-size: 15px;
	transition: background 0.5s;
}

#menu > a:hover {
	background: rgba(255, 255, 255, 0.2);
}

#menu > a.active {
	filter: drop-shadow(0px 0px 8px black);
}

.br {
    border-right: 1px solid #4595ec;
}

.blr {
    border-right: 1px solid #4595ec;
    border-left: 1px solid #144e8d;
}

.bl {
    border-left: 1px solid #144e8d;
}

#content {
	display: flex;
	flex-direction: row;
	align-items: center;
   	background: linear-gradient(to bottom right, #3681d2, #013567);
	font-size: 14px;
	color: white;
}

#content-logo {
	margin: 20px;
	width: 280px;
}

#content-text {
	flex: 1;
	margin: 0 90px 40px 0;
	/* margin: 0 90px 40px 320px; */
	/* margin: 0 90px 40px 31px; */
}

.refitem {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin: 5px;
	padding: 5px;
	transition: background 0.5s;
}

.refitem:nth-child(even) {
	background: rgba(255, 255, 255, 0.1);
}

.refitem:hover {
	background: rgba(0, 0, 0, 0.2);
}

.refitem, .refitem * {
	cursor: pointer;
}

.refitem > div {
	margin-left: 10px;
}

.refitem > img {
	border: 2px solid rgba(255, 255, 255, 0.1);
	transition: filter 0.5s, border 0.5s;
}

/*
.refitem:hover > img {
	border: 2px solid rgba(255, 255, 255, 0.6);
	filter: brightness(120%);
}
*/
