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;
}

header div img{
	width: 15%;
	height: 15%;
	margin-left: 1em;
	margin-right: 1em;
	vertical-align: middle;
	display: inline;
}

table { 
	border-collapse: separate; border-spacing: 5px; 
} 

tr td { 
	padding: 5px; 
}


textarea {
	background-color: lightgrey;
}
.lightgrey_frame {
	padding: 20px;
	background: lightgray;
	opacity: 1;
	border-radius: 2em;
	margin: 5px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	color: black;
}

#videos tr {
	margin-bottom: 10px;
}

#mainData {
	text-align: left;
}

@media screen and (max-width: 679px) {

	.display-above-400{
		display: none;
	}
	textarea {
		width: 140px;
		height: 150px;
	}
	
	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;
	}
	
	.motto{
		font-size: 1.5em;
	}
	
	iframe {
		width: 280px;
		height: 155px;
	}
	.medium_frame {
		width: 90%;
	}
	.frame2_fix {
		padding: 5px;
		background: gray;
		opacity: 1;
		border-radius: 2em;
		margin: 2px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.profilePhoto {
		width: 100px;
		height: 100px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.capitalName {
		font-size: 1.4em;
	}

}

@media screen and (min-width: 680px) {
	.title{
		display: inline-block;
		font-size: 3em;
	}
	
	textarea {
		width: 250px;
		height: 200px;
	}
	
	.display-above-400{
		display: none;
	}
	.motto{
		font-size: 2em;
	}
	iframe {
		width: 560px;
		height: 315px;
	}
	.medium_frame {
		width: 75%;
	}
	.frame2_fix {
		padding: 10px;
		background: gray;
		opacity: 1;
		border-radius: 2em;
		margin: 3px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.profilePhoto {
		width: 200px;
		height: 200px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.capitalName {
		font-size: 2.2em;
	}

}

@media screen and (min-width: 1300px) {
	.title{
		display: inline-block;
		font-size: 4em;
	}
		.display-above-400{
		display: inline;
	}
	
	textarea {
		width: 600px;
		height: 200px;
	}
	/*footer {
		position: absolute;
	}*/
	iframe {
		width: 840px;
		height: 472px;
	}
	.medium_frame {
		width: 60%;
	}
	.frame2_fix {
		padding: 20px;
		background: gray;
		opacity: 1;
		border-radius: 2em;
		margin: 5px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.profilePhoto {
		width: 200px;
		height: 200px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.capitalName {
		font-size: 3em;
	}

}
 
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;
}






.big_frame {
	width: 80%;
}




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;*/
}
.padding10 {
	padding: 10px;
}

/*
.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;
}

.yellow_background {
	background-color: yellow;
}