/* ##### BASE STUFF ######################################################## */
* { outline-color: #25485F; }
body {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: #eee;
	background-color: #1B1E1F;
	overflow-x: hidden;
}
::selection {color: #fff; background: #2BA8BD;}
::-moz-selection {color: #fff; background: #2BA8BD;}
a, a:visited, a:active {
	color: #2BA8BD;
	text-decoration: none;
	-webkit-transition: all 100ms ease-in-out;
	-moz-transition: all 100ms ease-in-out;
	-ms-transition: all 100ms ease-in-out;
	-o-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}
a:hover {
	color: #386577;
}
h1 {
	margin-top: 0;
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 2.8125em; /* 45 / 16 */
	font-weight: normal;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.08);
}
h2 {
	margin-top: 0;
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 2.25em; /* 36 / 16 */
	font-weight: normal;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.08);
}
h3 {
	margin-top: 0;
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 1.5625em; /* 25 / 16 */
	font-weight: normal;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.08);
}
p {
	position: relative;
	line-height: 1.5em;
}
p.justify {
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
p > a, p > a:visited, p > a:active {
	position: relative;
	padding-right: 1.2em;
	text-decoration: underline;
	background: url("../img/link.png");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 0.9em 0.9em;
}
p > a:hover {
	z-index: 10;
}

.white { color: #fff; }
.red { color: #BD3529; }
.grey { color: #33393F; }
.darkgrey { color: #1B1E1F; }
.blue { color: #25485F; }
.lightblue { color: #2BA8BD; }

.clearfix:after { content: " "; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix {}
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

/* ##### WRAPPER ########################################################### */
.wrapper {
	position: relative;
	margin: 0 auto;
	padding: 1.25em 0; /* 20px / 16px */
	width: 100%;
	max-width: 60em; /* 960px / 16px */
	text-align: left;
}
header {
	background-color: #1B1E1F;
}
footer {
	padding: 3em 0;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 0.875em; /* 14 / 16 */
	color: #aaa;
	text-align: center;
}
main {
	color: #222222;
	background-color: #fff;
}
#toTop {
	display: block;
	position: fixed;
	width: 40px;
	height: 40px;
	right: 20px;
	bottom: 20px;
	/*-webkit-border-radius: 100px;
	border-radius: 100px;*/
	background: url("../img/top.png") rgba(0, 0, 0, 0.5);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30% 30%;
	cursor: pointer;
	z-index: 20;
	-webkit-transition: background 200ms ease-in-out;
	-moz-transition: background 200ms ease-in-out;
	-ms-transition: background 200ms ease-in-out;
	-o-transition: background 200ms ease-in-out;
	transition: background 200ms ease-in-out;
}
#toTop:hover {
	background: url("../img/top.png") rgba(0, 0, 0, 1);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30% 30%;
}
#content {
	padding: 1.25em 0; /* 20px / 16px */
	line-height: 1.5em;
}
.row {
	padding: 1.25em 0 0 0; /* 20px / 16px */
}
.column {
	float: left;
	margin: 1em 4% 0 0;
	width: 48%;
}
.column:nth-child(even) {
	margin-right: 0;
}

/* ##### TOPBAR ############################################################ */
#topbar {
	position: relative;
	margin: 0;
	padding: 0;
}
#topbar > img#logo {
	width: 6.25em; /* 100 / 16 */
	margin: 0 0 1em 0;
	padding: 0.15em 0.5em;
	background-color: #BD3529;
}
#topbar > ul {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 0;
	right: 0;
	width: auto;
	height: auto;
}
#topbar > ul > li {
	display: inline-block !important;
	margin: 0 0.0625em 0 0; /* 1 / 16 */
	padding: 0;
}
#topbar > ul > li:last-child {
	margin-right: 0;
}
#topbar > ul > li > a {
	display: inline-block !important;
	padding: 0.15em 0.3125em; /* 5 / 16 */
	border-bottom: 1px solid transparent;
	border-top: 1px solid transparent;
	line-height: 1em;
}
#topbar > ul > li > a:hover {
	background-color: #25485F;
}
#topbar > ul > li > a > span {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: #FFFFFF;
	font-size: 0.75em; /* 12 / 16 */
	text-transform: uppercase;
}
#topbar > ul > li.selected > a {
	background-color: #25485F;
}

/* ##### MENU ############################################################## */
nav {
	position: relative;
}
nav > ul {
	margin: 0;
	padding: 0;
}
nav > ul > li {
	display: inline-block !important;
	margin: 0 0.5em 0 0; /* 8 / 16 */
}
nav > ul > li:last-child {
	float: right !important;
	margin: 0;
}
nav > ul > li > a {
	display: inline-block !important;
	padding: 0.8125em; /* 13 / 16 */
	border-bottom: 1px solid transparent;
	border-top: 1px solid transparent;
}
nav > ul > li > a:hover {
	background-color: #33393F;
}
nav > ul > li > a > span {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-size: 1.0625em; /* 17 / 16 */
	text-transform: uppercase;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.08);
}
nav > ul > li.selected > a > span {
	color: #2BA8BD;
}

/* ##### FŐOLDAL ########################################################### */
img.envolnek {
	float: left;
	margin: 0em 1.35em 1.15em 0; /* 20 / 16 */
	width: 8.75em; /* 140 / 16 */
}

/* ##### BLOG ############################################################## */
.blog-column-left {
	float: left;
	margin: 0 4% 0 0;
	width: 70%;
}
.blog-column-right {
	float: left;
	margin: 0 0 0 0;
	width: 26%;
}
.blog-article {
	position: relative;
	margin-bottom: 3em;
}
.blog-article .blog-article-number {
	position: absolute;
	top: 0;
	left: -3.125em;
	width: 1.3em;
	height: 1.3em;
	color: #fff;
	font-size: 1.5em;
	line-height: 1.3em;
	text-align: center;
	background-color: rgba(43, 168, 189, 0.4);
	overflow: hidden;
	cursor: default;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.blog-article .blog-article-number:hover {
	background-color: rgba(0, 0, 0, 1);
	height: 3.89em;
	overflow: inherit;
}
.blog-article .blog-article-number > img {
	display: block;
	position: relative;
	width: 1.3em;
	cursor: pointer;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
.blog-article .blog-article-number > img:hover {
	width: 1.7em;
	z-index: 10;
}
.blog-article > h2 {
	margin-bottom: 0.3em;
}
.blog-article > h2 > a {
	color: #2BA8BD;
}
.blog-article > h2 > a:hover {
	color: #386577;
}
span.blog-info {
	margin-left: 2.5em;
	color: #a0a0a0;
	font-size: 0.9em;
}
.blog-sidebar-block {
	margin-bottom: 2.5em;
	font-size: 0.9375em;
	line-height: 1.23em;
	color: #3a3a3a;
}
.blog-sidebar-block h3 {
	margin-bottom: 0.5em;
	padding-bottom: 0.3em;
	border-bottom: 3px solid #E8E8E8;
}
.blog-sidebar-block p {
	margin-top: 0.5em;
}
.blog-sidebar-block .blog-sidebar-recent-row {
	-webkit-transition: background 200ms ease-in-out, padding 400ms ease-in-out;
	-moz-transition: background 200ms ease-in-out, padding 400ms ease-in-out;
	-ms-transition: background 200ms ease-in-out, padding 400ms ease-in-out;
	-o-transition: background 200ms ease-in-out, padding 400ms ease-in-out;
	transition: background 200ms ease-in-out, padding 400ms ease-in-out;
}
.blog-sidebar-block .blog-sidebar-recent-row:hover {
	background-color: rgba(43, 168, 169, 0.2); /* #2BA8BD */
	padding-left: 0.5em;
}
.blog-sidebar-block .blog-sidebar-recent-row span.blog-info {
	margin-left: 1em;
	font-size: 0.7em;
}
.blog-sidebar-block .blog-sidebar-recent-row a {
	display: block;
	color: #2BA8BD;
}
.blog-sidebar-block .blog-sidebar-recent-row a:hover {
	color: #386577;
}

/* ##### CONTACT ########################################################### */
#contact {
	margin: 0;
	padding: 1em 0;
	color: #eee;
	background-color: #2BA8BD;
}
#contact h2 {
	margin-top: 0;
	color: #eee;
}
#contact .crow {
	position: relative;
	margin: 0 0 1em 0;
	line-height: 2.5em;
}
#contact .crow:last-child {
	margin-bottom: 0;
}
#contact .crow img {
	float: left;
	margin: 0 2em 0 0;
	padding: 0;
	width: 2.5em;
}

/* ##### SCREEN RESIZE ##################################################### */
@media only screen and (max-width: 1053px) {
	.wrapper { width: 90%; }
	nav > ul > li > a {
		padding: 0.3125em; /* 5 / 16 */
	}
	nav > ul > li > a > span {
		font-size: 0.9375em; /* 15 / 16 */
	}
	h1 {
		font-size: 2.5125em; /* 45 / 16 */
	}
	h2 {
		font-size: 1.95em; /* 36 / 16 */
	}
	h3 {
		font-size: 1.2625em; /* 25 / 16 */
	}
	.blog-article .blog-article-number {
		top: 1.3em;
		left: 0;
	}
}
@media only screen and (max-width: 845px) {
	#topbar > img#logo {
		margin: 0 0 0 0;
	}
	nav {
		position: absolute;
		width: 60%;
		top: 1.25em;
		left: 7.875em;
	}
	nav > ul > li:last-child {
		display: inline-block !important;
		float: none !important;
		margin: 0 0.5em 0 0; /* 8 / 16 */
		width: 100% !important;
	}
	p {
		font-size: 0.95em;
		line-height: 1.5em;
	}
	#contact .crow {
		line-height: 2em;
	}
	#contact .crow img {
		margin: 0 2em 0 0;
		width: 2em;
	}
	.blog-column-left {
		margin: 0 0 0 0;
		width: 100%;
	}
	.blog-column-right {
		display: none;
	}
}
@media only screen and (max-width: 599px) {
	nav {
		position: absolute;
		width: 68%;
		height: 1.55em;
		top: 6.2em;
		left: 7.875em;
		background-color: #1B1E1F;
		overflow: hidden;
		z-index: 10;
		-webkit-transition: all 100ms ease-in-out;
		-moz-transition: all 100ms ease-in-out;
		-ms-transition: all 100ms ease-in-out;
		-o-transition: all 100ms ease-in-out;
		transition: all 100ms ease-in-out;
	}
	nav:hover {
		height: 10.5em; /* 168 / 16*/
	}
	nav > ul {
		position: relative;
		padding-top: 1.50em;
	}
	nav > ul > li {
		display: block !important;
		margin: 0 0.0 0 0; /* 8 / 16 */
	}
	nav > ul > li > a:hover {
		background-color: #25485F;
	}
	nav > ul > li.selected {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		background-color: #33393F;
		background-image: url("../img/arrow.png");
		background-position: 99% center;
		background-repeat: no-repeat;
		background-size: 1.4em 1.4em;
	}
	nav > ul > li > a > span {
		color: #bbb;
	}
	nav > ul > li > a:hover > span {
		color: #fff;
	}
	nav > ul > li:hover.selected > a:hover {
		background-color: transparent;
	}
	nav > ul > li.selected > a > span {
		color: #fff;
	}
	nav > ul > li > a {
		display: block !important;
	}
	nav > ul > li > a {
		padding: 0 0.3125em 0 0.5em; /* 5 / 16 */
	}
	.column {
		float: left;
		margin: 1em 0 0 0;
		width: 100%;
	}
}

/* ##### FONTS ############################################################# */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), local('OpenSans-Light'), url(http://themes.googleusercontent.com/static/fonts/opensans/v8/DXI1ORHCpsQm3Vp6mXoaTRsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v8/uYKcPVoh6c5R0NpdEY5A-Q.woff) format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v8/k3k702ZOKiLJc3WVjuplzBsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v8/O4NhV7_qs9r9seTo7fnsVD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 300;
	src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url(http://themes.googleusercontent.com/static/fonts/robotocondensed/v9/b9QBgL0iMZfDSpmcXcE8nDe1_JO-tKU0DX-oOxNOeLI.woff) format('woff');
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url(http://themes.googleusercontent.com/static/fonts/robotocondensed/v9/Zd2E9abXLFGSr9G3YK2MsO3ikv6SQm_yYbVf3nddkGw.woff) format('woff');
}