/* ----------------------------------------------------
   C O M M O N
------------------------------------------------------*/

* {
	border: none;
	margin: 0;          /* top, right, bottom, left */
	padding: 0;
}

a {
	color: #556dbb;
	text-decoration: underline;
}

ul, ol, li {
	list-style: none;
}	


/* ----------------------------------------------------
   P A G E
------------------------------------------------------*/


html, body {
	background: url(../images/body.png) #dee7f8 left top repeat-x;
	color: #000000;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
}


/* ----------------------------------------------------
   C O N T A I N E R   &   W R A P P E R
------------------------------------------------------*/

#wrapper {
	margin: 0px auto;
	width: 940px;
}

#container {
	float: left;
	display: inline;
	width: 940px;
}


/* ----------------------------------------------------
   H E A D E R
------------------------------------------------------*/

#header {
	background: url(../images/header.png) #ffffff left top repeat-x;
	float: left;
	height: 120px;
	position: relative;
	width: 100%;
}

#header h1.logo {
	font-size: 10px;
	position: absolute; left: 10px; top: 26px;
	text-indent: -500em;
}

#header h1.logo a {
	background: url(../images/logo.png) left top no-repeat;
	display: block;
	height: 74px;
	overflow: hidden;
	width: 398px;
}

#header p.info {
	color: #99999e;
	font-size: 11px;
	line-height: 22px;
	position: absolute; left: 540px; top: 42px;
}

#header p.info a {
	color: #99999e;
}

#header p.info a:hover {
	color: #363636;
}

#header span.info {
	margin: 0 4px 0 4px;
}

#header span.strong {
	color: #44444a;
	font-weight: bold;
}



/* ----------------------------------------------------
   M A I N
------------------------------------------------------*/

#main {
	float: left;
	width: 100%;
}

/* ----------------------------------------------------
   M E N U
------------------------------------------------------*/

#menu {
	background-color: #ccd7ed;
	float: left;
	height: 285px;
	margin-top: 25px;
	width: 100%;
}

#menu div.indexbox {
	background-color: #ffffff;
	border: solid 1px #ffffff;
	display: inline;
	float: left;
	height: 122px; /* 200-2 */
	overflow: hidden;
	margin: 12px 0 0 12px;
	position: relative;
	width: 218px; /* 300-2 */
}

#menu div.transparent {
	background-color: #ffffff;
	border: solid 1px #ffffff;
	opacity:0.0;
	display: inline;
	float: left;
	height: 122px; /* 200-2 */
	overflow: hidden;
	margin: 12px 0 0 12px;
	position: relative;
	width: 218px; /* 300-2 */
}

#menu div.indexbox img {
	position: absolute; left: 0px; top: 0px;
}

#menu div.indexbox h2 {
	background: url(../images/menu_h2.png) #6582b1 left top repeat-x;
	color: #ffffff;
	display: block;
	font: bold 15px/15px "Trebuchet MS", Arial, Helvetica, sans-serif;
	height: 27px;
	padding-left: 5px;
	padding-top: 6px;
	position: absolute; left: 0px; top: 96px;
	width: 293px;
}

#menu div.indexbox a {
	color: #ffffff;
}
 

/* ----------------------------------------------------
   C O N T E N T S
------------------------------------------------------*/

#contents {
	display: inline;
	float: left;
	margin-top: 15px;
	padding: 0 10px 0 10px;
	width: 920px;
}

#contents h1 {
	background: url(../images/contents_h2.png) left bottom repeat-x;
	color: #182c67; /*#2a557f;*/
	font: italic normal 28px Arial, Helvetica, sans-serif;
	margin-bottom: 18px;
	padding-bottom: 5px;
	text-transform: uppercase;
}

#contents div.leftcol {
	display: inline;
	float: left;
	width: 48%;
}

#contents div.rightcol {
	display: inline;
	float: right;
	width: 48%;
}

#contents p {
	color: #111122;
	margin: 20px 0 20px 0;
	line-height: 18px;
}

#contents p.justify {
	text-align: justify;
}


/* ----------------------------------------------------
   F O O T E R
------------------------------------------------------*/

#footer {
	position: relative;
	background-color: #303e49;
	float: left;
	height: 75px;
	margin-top: 50px;
	width: 100%;
}

#footer p {
	color: #ffffff;
	font: 11px Tahoma, Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
	text-align: center;
}

#footer p.techinfo {
	margin-top: 17px;
}

#footer p.meta {
	margin-top: 8px;
}

#footer img {
	margin: 0 4px 0 4px;
	vertical-align: middle;
}

#footer a {
	color: #7a8187;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .szechenyi {
	position: absolute;
	right: 0;
	bottom: 0;
}

#footer .szechenyi > img {
	margin: 0;
}


/* ----------------------------------------------------
   M O D A L
------------------------------------------------------*/

@import 'https://fonts.googleapis.com/css?family=Prompt:400,700';

.modal {
  /* This way it could be display flex or grid or whatever also. */
  display: block;
  
  /* Probably need media queries here */
  width: 400px;
  max-width: 100%;
  
  height: 180px;
  max-height: 100%;
  
  position: fixed;
  
  z-index: 100;
  
  left: 50%;
  top: 50%;
  
  /* Use this for centering if unknown width/height */
  transform: translate(-50%, -50%);
  
  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */
  
  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}
.closed {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  
  background: rgba(0, 0, 0, 0.6);
}
.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 80%;
  overflow: auto;
  padding: 20px 50px 20px 20px;
  margin-right:-70px;
}

.modal .close-button {
  position: absolute;
  
  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;
  
  top: 10px;
  
  /* needs to look OK with or without scrollbar */
  right: 20px;
  
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}

.modal .accept-button {
  position: absolute;
  
  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;
  
  bottom: 10px;
  
  left: 50%;
  transform: translate(-50%, -50%);
  
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}

.open-button {
  border: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: lightgreen;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 21px;
}
