/* roboto-300 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v20-latin-ext_latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v20-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-ext_latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v20-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v20-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-ext_latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v20-latin-ext_latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v20-latin-ext_latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-ext_latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v20-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v20-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-ext_latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-900 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v20-latin-ext_latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v20-latin-ext_latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-ext_latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-ext_latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-ext_latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* Body */
body {
	font-family: Roboto, sans-serif;
	letter-spacing: 0.1rem;
	font-size: 1.1rem;
	overflow: hidden;
	color: #1D1D1B;
}

a {
	color: #1D1D1B;
}

a:hover {
	color: #EE7427;
	text-decoration: none;
}

body {
	letter-spacing: normal;
	overflow-x: hidden;
	overflow-y: auto;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-image: url('../assets/background.png');
}

h4 {
	margin-top: 30px;
}

#loader {
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 100;
	background-color: white;
	transform: translateY(-100vh);
	visibility: hidden;
	transition: transform 0.5s, visibility 0.5s step-end;
}

#loader .row {
	height: 100vh;
}

#loader.shown {
	transform: none;
	visibility: visible;
}

#logo {
	float: right;
	height: 100px;
}

#back-btn {
	float: left;
	width: 45px;
	height: 45px;
	transform: rotate(180deg);
	margin-top: 15px;
	cursor: pointer;
}

h2.page-title {
	display: inline-block;
	position: relative;
	font-weight: 700;
	font-size: 2.8rem;
	letter-spacing: 0.3rem;
	line-height: 3.4rem;
	margin: 0 0 40px 15px;
}

h2.page-title.tall {
	line-height: 4.2rem;
}

@media (max-width: 575px) {
	h2.page-title {
		display: block;
		font-size: 1.5rem;
		letter-spacing: 0.1rem;
		line-height: 2.2rem;
		margin: 80px 0 40px 0px;
	}

	h2.page-title.tall {
		line-height: 2.7rem;
	}
}

h2.page-title::before {
	display: inline-block;
	position: absolute;
	content: ' ';
	left: 0;
	bottom: 0;
	width: calc(70% + 1px);
	height: 0;
	border-top: 5px solid #1D1D1B;
	border-right: 5px solid transparent;
}

h2.page-title::after {
	display: inline-block;
	position: absolute;
	content: ' ';
	right: 0;
	bottom: 0;
	width: calc(30% + 1px);
	height: 0;
	border-bottom: 5px solid #EE7427;
	border-left: 5px solid transparent;
}

#blog-content {
	padding-top: 20px;
}

.a-date {
	font-size: 1.2rem;
	font-weight: 500;
}

.a-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 25px;
}

/* Lang */
#lang-menu-icon {
	position: fixed;
	top: 30px;
	right: 40px;
	z-index: 30;
	width: 40px;
	height: 40px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('../assets/flag_hu.svg');
	cursor: pointer;
}

@media (max-width: 575px) {
	#lang-menu-icon {
		position: absolute;
	}
}

#up-arrow {
	position: fixed;
	bottom: 30px;
	right: 40px;
	z-index: 30;
	width: 40px;
	height: 40px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	background-image: url('../assets/arrow.svg');
	transform: rotate(270deg);
	cursor: pointer;

	visibility: hidden;
	opacity: 0;
	transition: 0.5s opacity, visibility 0.5s step-end;
}

#up-arrow.shown {
	visibility: visible;
	opacity: 1;
	transition: 0.5s opacity;
}

@media (max-width: 575px) {
	.mobile-hide {
		display: none !important;
	}
}

@media (min-width: 576px) {
	.mobile-only {
		display: none !important;
	}
}

#lang-select a.active {
	pointer-events: none;
	cursor: default;
}
#lang-select a img {
	filter: grayscale(1);
	transition: filter 0.3s;
}
#lang-select a:hover img {
	filter: grayscale(0);
}
#lang-select a.active img {
	filter: grayscale(0);
}

.article img {
	max-width: 100%;
	width: auto !important;
	height: auto !important;
}

h3 {
	color: #EE7427;
	margin: 30px 0;
}

table {
	margin: 20px 0;
}

table td {
	padding: 8px 25px 0 0;
}

p.med {
	font-weight: 500;
}
