@import url('https://fonts.googleapis.com/css?family=Sarabun:200,400,700&subset=latin-ext');

/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub,
sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

html, body {
	height: 100%;
	font-family: Sarabun, Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;

	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
	        box-sizing: inherit;
}

a, a:active, a:visited {
	text-decoration: none;
	color: #004cb8;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

a[href$=".pdf"]:after {
	content: url(../images/pdf_icon.png);
	position: relative;
	top: 4px;
	margin-left: 4px;
}
a[href$=".pptx"]:after, a[href$=".ppt"]:after {
	content: url(../images/ppt_icon.png);
	position: relative;
	top: 4px;
	margin-left: 4px;
}

.wrapper {
	position: relative;
	min-width: 300px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 .333rem;
}

	@media screen and (max-width:749px) {
		.wrapper { padding: 0 10px; }
	}

#page {
	position: relative;
	min-height: 100%;
}

/* régi böngésző */
#outdated {
	width: 100%;
	margin-top: -.5rem;
	padding: .5rem;
	background: #df2125;
	border-top: 3px solid #800000;
	border-bottom: 3px solid #800000;
}

	#outdated p {
		font-weight: 700;
		text-align: center;
		color: #fff;
	}

		#outdated p a {
			color: #fff;
			text-decoration: underline;
		}

/* fejléc */
#header {
	width: 100%;
	margin-bottom: .5rem;
	padding-top: .5rem;
	padding-bottom: .25rem;
	text-align: center;
	border-bottom: 2px solid #344694;
}

	@media screen and (max-width:749px) {
		#header { border-bottom-width: 1px; }
	}

	#header a {
		position: absolute;
		top: 1rem;
		left: .5rem;
	}

		#header a img {
			width: 9rem;
		}
	
	#header span {
		padding-left: 10rem;
	}

		#header span img {
			max-width: 99%;
		}
		
	@media screen and (max-width:749px) {
		#header a {
			position: relative;
			top: auto;
			left: auto;
			width: 100%;
		}
		
		#header span {
			padding-left: 0;
		}
		
			#header span img {
				margin: 1rem auto .5rem;
			}
		
	}

/* lábléc */
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

	#footer .wrapper {
		height: 8rem;
		background: transparent url(../images/bp_silhouette.png) no-repeat bottom center / 100% auto;
		background-size: 100% auto;
	}

		@media screen and (max-width:749px) {
			#footer .wrapper { height: 4rem; }
		}

/* a középső blokk */
#main {
	position: relative;
	padding-bottom: 8rem;
}

	@media screen and (max-width:749px) {
		#main { padding: 0 2px 4rem; }
	}

/* menü */
#mobil-menu-trigger {
	position: absolute;
	left: -9999px;
}

#mobil-menu {
	display: none;
}

	@media screen and (max-width:749px) {
		#mobil-menu {
			display: block;
			position: absolute;
			left: 2px;
			top: -40px;
			width: 32px;
			height: 32px;
			border: 2px solid #344694;
			border-radius: 5px 5px 0 0;
			background: #fff;
			cursor: pointer;
		}

			#mobil-menu span {
				position: relative;
				top: 13px;
				margin: 0 auto;
				font-size: 0;
				
				-webkit-transition: background-color 0s ease-in-out 0.2s;
				   -moz-transition: background-color 0s ease-in-out 0.2s;
					-ms-transition: background-color 0s ease-in-out 0.2s;
					 -o-transition: background-color 0s ease-in-out 0.2s;
						transition: background-color 0s ease-in-out 0.2s;
			}
			
			#mobil-menu span:before,
			#mobil-menu span:after {
				content: '';
				position: absolute;
				
				-webkit-transition: transform 0.2s ease-in-out 0s, margin 0.2s ease-in-out 0.2s;
				   -moz-transition: transform 0.2s ease-in-out 0s, margin 0.2s ease-in-out 0.2s;
					-ms-transition: transform 0.2s ease-in-out 0s, margin 0.2s ease-in-out 0.2s;
					 -o-transition: transform 0.2s ease-in-out 0s, margin 0.2s ease-in-out 0.2s;
						transition: transform 0.2s ease-in-out 0s, margin 0.2s ease-in-out 0.2s;
			}
			
			#mobil-menu span,
			#mobil-menu span:before,
			#mobil-menu span:after {
				display: block;
				width: 20px;
				height: 3px;
				background-color: #344694;
				border-radius: 3px;
			}
			
			#mobil-menu span:before {
				margin-top: -7px;
			}
			
			#mobil-menu span:after {
				margin-top: 7px;
			}

			#mobil-menu-trigger:checked ~ #mobil-menu span {
				background-color: rgba(255,255,255,0);
			}
			
			#mobil-menu-trigger:checked ~ #mobil-menu span:before,
			#mobil-menu-trigger:checked ~ #mobil-menu span:after {
				-webkit-transition: margin 0.2s ease-in-out 0s, transform 0.2s ease-in-out 0.2s;
				   -moz-transition: margin 0.2s ease-in-out 0s, transform 0.2s ease-in-out 0.2s;
					-ms-transition: margin 0.2s ease-in-out 0s, transform 0.2s ease-in-out 0.2s;
					 -o-transition: margin 0.2s ease-in-out 0s, transform 0.2s ease-in-out 0.2s;
						transition: margin 0.2s ease-in-out 0s, transform 0.2s ease-in-out 0.2s;
				margin-top: 0;
			}

			#mobil-menu-trigger:checked ~ #mobil-menu span:before {
				-webkit-transform: rotate(45deg);
				   -moz-transform: rotate(45deg);
					-ms-transform: rotate(45deg);
					 -o-transform: rotate(45deg);
						transform: rotate(45deg);
			}
			
			#mobil-menu-trigger:checked ~ #mobil-menu span:after {
				-webkit-transform: rotate(-45deg);
				   -moz-transform: rotate(-45deg);
					-ms-transform: rotate(-45deg);
					 -o-transform: rotate(-45deg);
						transform: rotate(-45deg);
			}

	}

ul#menu {
	position: absolute;
	top: 0;
	left: .5rem;
}

	@media screen and (max-width:749px) {
		ul#menu {
			top: -.5rem;
			left: -100%;
			width: 99%;
			margin-left: .1rem;
			background: rgba(250,250,250,.95);
			box-shadow: 0 2px 5px #999;
			border: 1px solid #333;
			z-index: 999;
			-webkit-transition: left 0.2s ease-in-out;
			   -moz-transition: left 0.2s ease-in-out;
				-ms-transition: left 0.2s ease-in-out;
				 -o-transition: left 0.2s ease-in-out;
					transition: left 0.2s ease-in-out;
		}

		#mobil-menu-trigger:checked ~ ul#menu {
			left: 0;
		}

			ul#menu li {
				padding: 4px 15px 4px 5px;
				font-size: 1.5rem;
				border-bottom: 1px solid #333;
				border-left:   1px solid #333;
				border-right:  1px solid #333;
			}

				ul#menu li a {
					display: block;
				}
	}

/* tartalmi rész */
#main #content {
	margin-left: 10rem;
}

	@media screen and (max-width:749px) {
		#main #content { margin: 0 2px; }
	}

#main #content .center {
	text-align: center;
}

#main #content h2 {
	margin-bottom: .5em;
	font-size: 2rem;
	font-weight: 200;
	text-align: center;
	line-height: 1.2;
}

#main #content h3 {
	margin-top: 1em;
	margin-bottom: .25em;
	font-size: 1.414rem;
	font-weight: 200;
	text-align: left;
}

#main #content h4 {
	margin-top: 1em;
	font-size: 1.125rem;
	font-weight: 200;
	text-align: left;
}

	@media screen and (max-width:749px) {
		#main #content h2 { font-size: 1.777rem; }
		#main #content h3 { font-size: 1.333rem; }
	}

#main #content p {
	margin-bottom: 1em;
	-webkit-hyphens: auto;
	   -moz-hyphens: auto;
		-ms-hyphens: auto;
			hyphens: auto;
}

	#main #content p.cont {
		margin-bottom: 0 !important;
	}

	#main #content p.image {
		margin: 1em 0;
		text-align: center;
		text-indent: 0;
	}

		#main #content p.image img {
			max-width: 100%;
		}

#main #content sup {
	position: relative;
	top: -.5em;
	font-size: .8em;
}

#main #content ul, #main #content ol {
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
	counter-reset: li;
}

	#main #content ul li, #main #content ol li {
		position: relative;
		padding-left: 1.5em;
		counter-increment: li;
	}

		#main #content ul li:before, #main #content ol li:before {
			position: absolute;
			left: 0;
			color: #D53030;
		}

		#main #content ul li:before {
			content: "\25A0";
			top: -.25em;
			font-size: 1.25em;
		}

		#main #content ol li:before {
			top: 0;
			content: counter(li)".";
		}

		#main #content ol.list_abc li:before {
			top: 0;
			content: counter(li, lower-alpha)")";
		}

#main #content table.programme {
	width: 100%;
	border-collapse: collapse;
}

	#main #content table.programme tr:nth-child(even) {
		background: #eceff1;
	}

		#main #content table.programme tr.break:nth-child(even) {
			background: none;
		}

	#main #content table.programme tr.session {
		background: #546e7a;
		color: #fff;
	}

	#main #content table.programme td {
		font-size: .9rem;
		text-align: left;
		vertical-align: top;
		padding: .2rem 1rem .2rem 0;
	}

		#main #content table.programme td:last-child {
			padding-right: 0;
		}

		#main #content table.programme td.time {
			white-space: nowrap;
			text-align: right;
		}

		#main #content table.programme tr.paper {
			border-bottom: 1px solid #627e8c;
		}

		#main #content table.programme tr.break {
			border-top: 2px solid #627e8c;
		}

		#main #content table.programme tr.break td.time,
		#main #content table.programme tr.break td.title {
			font-weight: 700;
			padding-top: .25rem;
			padding-bottom: .25rem;
		}

		#main #content table.programme td a {
			white-space: nowrap;
		}

	@media screen and (max-width:749px) {
		#main #content table.programme tr {
			display: inline-block;
			width: 100%;
			clear: both;
		}
		#main #content table.programme td {
			display: block;
			padding: 0;
		}

		#main #content table.programme tr.break td.time,
		#main #content table.programme tr.session td.time,
		#main #content table.programme tr.session td.abbr {
			width: 22%;
			float: left;
			margin-right: 3%;
			text-align: right;
		}
		#main #content table.programme tr.break td.title,
		#main #content table.programme tr.session td.title,
		#main #content table.programme tr.session td.name {
			width: 75%;
			float: left;
		}

		#main #content table.programme tr.paper:nth-child(even) {
			background: none;
		}

		#main #content table.programme tr.paper td.title {
			width: 100%;
			font-weight: 700;
		}
		#main #content table.programme tr.paper td.abbr {
			display: inline;
			margin-right: .5rem;
		}
		#main #content table.programme tr.paper td.name {
			display: inline;
		}

		#main #content table.programme tr.paper td.time,
		#main #content table.programme tr.break td.abbr,
		#main #content table.programme tr.break td.name {
			display: none;
		}
	}

#main #content #map {
	width: 100%;
	margin: 0 auto;
	height: 600px;
}

	@media screen and (max-width:749px) {
		#main #content #map { height: 90vh; }
	}

#main ul#thumbs {
	overflow: hidden;
	margin: 10px 0 0 0;
	padding: 5px;
	text-align: center;
}

	#main ul#thumbs li {
		position: relative;
		display: inline-block;
		margin: 0 10px 10px 0;
		width: 120px;
		height: 120px;
		border-radius: 15% 0;
		box-shadow: 0 0 3px #344694;
		overflow: hidden;
	}

		#main ul#thumbs li:before {
			content: "";
		}

		#main ul#thumbs li:hover {
			border-color: #9eb037;
			box-shadow: 0 0 5px 2px #9eb037;
			box-shadow: 0 0 5px 2px #344694;
		}

	#main ul#thumbs li img {
		position: absolute;
		margin: 0;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
		max-width: 180px;
	}

	@media screen and (max-width:749px) {
		#main ul#thumbs li {
			margin: 0 10px 5px 0;
			width: 80px;
			height: 80px;
		}
	}

/* JS kikapcsolva */
#noscript {
	margin-top: 10px;
	padding: 10px;
	line-height: 1.5;
	border: 5px double #933636;
}

	#noscript a {
		text-decoration: underline;
	}
