body {
    background: url(../pics/FBcover.jpg) no-repeat center center fixed;
	/*background: url(images/bg.jpg) no-repeat center center fixed; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	/*background-size: cover;*/
	color:white;
}

img{
	width: 15%;
	height: 15%;
	margin-left: 1em;
	margin-right: 1em;
	vertical-align: middle;
	display: inline;
}

.lightgrey_frame {
	padding: 5px;
	background: lightgray;
	opacity: 1;
	border-radius: 2em;
	
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	color: black;
	display: inline;
	line-height: 200%;
	white-space: nowrap;
}


@media screen and (max-width: 779px) {

	.display-above-400{
		display: none;
	}
	img{
		width: 60%;
		height: 60%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	header div{
		/*background: #cdf;*/
		border-style: dotted;
		border-width: medium;
		padding: 2px;
	}
	.title{
		display: block;
		font-size: 2em;
	}
	
	footer{
		/*display: none;*/
		position: relative;
	}
	.collapse + input:checked + section{
	  display:block;
	  -webkit-transition-duration: 0.4s; /* Safari */
	  transition-duration: 0.4s;
	}
	.collapse{
		font-size: 1em;
	}
	.collapse + input + section{
		font-size: 1em;
	}
	.motto{
		font-size: 1.5em;
	}
}

@media screen and (min-width: 780px) {
	.title{
		display: inline-block;
		font-size: 3em;
	}
	
	
	.collapse{
		font-size: 2.5em;
	}
	.collapse + input + section{
		font-size: 1.5em;
	}
	.display-above-400{
		display: none;
	}
	.motto{
		font-size: 2em;
	}
}

@media screen and (min-width: 1300px) {
	.title{
		display: inline-block;
		font-size: 4em;
	}
		.display-above-400{
		display: inline;
	}
	/*footer {
		position: absolute;
	}*/
}
 
body header{
	width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body div{
	width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
 
header div{
	width: 75%;
	vertical-align: middle;
	
	/*background: #cdf;
	display: inline-block;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.title{
	/*font-size: 4em;*/
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	
	/*display: inline-block;*/
	vertical-align: middle;
}

.motto{
	text-align: center;
	/*font-size: 2em;*/
	margin: 10px;
	display:inline-block
}

.organizer{
	text-align: right;
	font-size: 1em;
	margin: 5px;
	display:inline-block;
	vertical-align: right;
}

.collapse{
  cursor: pointer;
  display: block;
  /* background: #cdf;
  font-size: 2.5em;*/
}
.collapse + input{
  display: none; /* hide the checkboxes */
}
.collapse + input + section{
  display:none;
  /*font-size: 1.5em;*/
}
.collapse + input:checked + section{
  display:block;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
}

.link-to-hirek{
	
}

.quarter_width{
	width: 25%;
}

article{
	width: 75%;
}
article:hover{
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
article:hover label{
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}

section {
	width: 100%;
	min-width: 300px;
	height: 100%;
	position: relative; 
	display: inline-block;
	padding: 10px;
	/* background: yellow;	 */
	float: center;
	color: white;
	text-align: left;
	
}



.frame2_fix {
	padding: 20px;
	background: gray;
	opacity: 0.8;
	border-radius: 2em;
	margin: 5px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.gray_rounded_frame {
	padding: 20px;
	background: gray;
	opacity: 0.8;
	border-radius: 2em;
	margin: 5px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.gray_rounded_frame:hover {
	padding: 20px;
	background: gray;
	opacity: 1;
	border-radius: 2em;
	/*margin: 5px;*/
	color: yellow;
}

.big_frame {
	height: 80%;
}

.medium_frame {
	height: 60%;
}



footer {
	/*position: absolute;*/
	bottom: 0px;
	margin-left: auto ;
	margin-right: auto ;
	width: 100%;
	/*height: 80px;*/
	clear: both;
	text-align: center;
	/*margin-bottom: 0px;
	margin-top: auto;*/
}



.margin_auto {
	margin-left: auto;
	margin-right: auto;
}

.center_of_the_screen {
	float: center;
	width: 60%;
	background: pink;
}

ul {
	list-style-type: none;
}

.small_rounded_button {
	border-radius: 6px;
	padding: 7px 20px;
	font-size: 10px;
	color: white;
	text-align: center;
    text-decoration: none;
    display: inline-block;
	-webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.green_button  {
	background-color: #4CAF50;
	font-size: 1em;
}
.red_button  {
	background-color: red;
	font-size: 1em;
}

.errorMessageLabel {
	border: 5px solid red;
	/*padding:3px solid white;*/
	padding: 3px;
	margin: 10px;
	width: 100%;
	color: red;
	text-align: center;
	background-color: white;
	/*z-index: 10;*/
}
/*
.errorMessageLabel:after {
	background-color: red;
	text-align: center;
	content: '';
	color: white;
	display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
	z-index: -1;
}
*/
.red_border {
	border:3px solid red;
	padding:2px solid white;
}

.successMessageLabel {
	border:5px solid green;
	padding:3px;
	margin: 3px;
	width: 100%;
	background-color: green;
	text-align: center;
	color: black;
}