* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 0,9em;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
	position: relative;
  min-height: 100%;
}
body {
 
   margin-bottom: 0px;
  color: #111;
}
body {
	background-image: url(../img/bg.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-attachment: fixed;
}
ul {
/*	margin-left:15px;*/
}
header {
	text-align:center;
	background: #A4ACB7;
	background-image: url(../img/head.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-attachment: fixed;
	padding: 15px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	position:relative;
	min-height:120px;
	
}
header h1 {
	font-size: 20px;
	font-weight: 700;
	color: #8e1010;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	display: block;
	margin-top:30px;
}
.hello {
	position: absolute; left:1%; top:6%;
	
}
.hellom {
	float:right;
	
}
.refimg {
	max-height:100px;
	margin: 15px auto 15px auto;
}
.sorok {
	/*max-height: 200px;*/
	padding:15px;
	background: #ccc;
	margin-bottom:10px;
	font-size: 18px;
	font-weight: bolder;
	text-align:left;
}
.he {
	position:relative;
	text-align:center;
}
.box{
	border: 1px solid #FFEF03;
	padding:6px;
	margin:0px;
	background:#A7AFBA;
}
.box h2{
	text-align:center;
	font-size:13px;
	font-weight:bold;
	background: #8e1010;
	color: #FFEF03;
	padding:2px;
	margin:-6px;
	margin-bottom:0px;
	
}
nav {
	text-align: center;
	background: #FFEF03;
	border: 1px solid #000;
	border-bottom: none;
}
nav a {
	color: #333;
	/*margin-left: 15px;*/
	display: inline-block;
	padding: 1px 1px;
	text-transform: uppercase
}
nav a:hover {
	background: #A91A05;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.2)
}
.wel {
	text-align:center;
	padding:10px;
	font-size:20px;
	font-weight:bold;
}
p {
	margin-bottom:10px;
}
.text {
	background-image: url(../img/sz.png);
	border: 1px solid #000;
	padding-bottom:15px;
	}
.vertik{
	 /*position: absolute; top: 50%;display: table-cell; vertical-align: middle;*/
	}
	.verte{
/*position: absolute; top: 50%; margin-top: 25%;*/
	}
.footer {
	color: #fff;
	margin-top:20px;
	text-align:center;
	background: #A4ACB7;
	padding: 13px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here 
  height: 60px;*/
}
.footer a {
	color: #fff;
	text-decoration:underline;
}
.texte {
	text-align: justify;
}

@media(max-width:1000px) {
	header h1 {
	font-size: 15px;
	font-weight: 700;
	color: #8e1010;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	display: block;
	margin-top:15px;
}
}
@media(max-width:800px) {
		.hello{position: relative; margin:auto;}
}
form{
	box-sizing: border-box;
	width: 100%;
	max-width: 500px;
	margin: 0px auto;
	padding: 15px;

	/*background-color:  #ffffff;*/
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);

	font: normal 13px sans-serif;
	text-align: center;
}

form .form-row{
	text-align: left;
	max-width: 315px;
	margin: 5px auto 0;
}

form .form-title-row{
	margin: 0 auto 10px;
}

form h1{
	display: inline-block;
	box-sizing: border-box;
	color: #4C565E;
	font-size: 18px;
	padding: 0 0 0 0;
	margin: 0;
	border-bottom: 2px solid #6CAEE0;
}

form .form-row > label span{
	display: block;
	box-sizing: border-box;
	color:  #5f5f5f;
	padding: 0 0 5px;
	font-size: 13px;
	font-weight: bold;
}

form input{
	color:  #5f5f5f;
	box-sizing: border-box;
	box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
	padding: 5px 8px;
	border: 1px solid #dbdbdb;
}
form .re{
	color:  #5f5f5f;
	box-sizing: border-box;
	/*box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);*/
	padding: 5px 8px;
	/*border: 1px solid #dbdbdb;*/
}

form input[type=text],
form input[type=email],
form input[type=password],
form textarea{
	max-width: 400px;
	width: 100%;
}

form input[type=number]{
	max-width: 100px;
}

form input[type=radio],
form input[type=checkbox]{
	box-shadow: none;
	width: auto;
}

form textarea{
	color:  #5f5f5f;
	box-sizing: border-box;
	box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
	padding: 5px 8px;
	border: 1px solid #dbdbdb;
	resize: none;
	min-height: 80px;
}

form select{
	background-color: #ffffff;
	color:  #5f5f5f;
	box-sizing: border-box;
	max-width: 240px;
	box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
	padding: 5px 8px;
	border: 1px solid #dbdbdb;
}

form .form-radio-buttons > div{
	margin-bottom: 10px;
}

form .form-radio-buttons label span{
	margin-left: 8px;
	color:  #5f5f5f;
}

form .form-radio-buttons input{
	width: auto;
}

form button{
	border-radius: 2px;
	background-color:  #F9E811;
	color: #000;
	font-weight: bold;
	box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
	padding: 5px 8px;
	border: 0;
	display:block;
	margin: 15px auto 0 auto;
}

p.explanation{
	padding: 15px 20px;
	line-height: 1.5;
	background-color: #FFFFE0;
	font-size: 13px;
	text-align: center;
	margin-top: 40px;
	color: #6B6B48;
	border-radius: 3px;
	border-bottom: 2px solid #ECECD0;
}
.text {
	text-align:justify;
}
.szolg {
	max-height:200px;
	margin-left:auto;
	margin-right:auto;
}
/*	Making the form responsive. Remove this media query
	if you don't need the form to work on mobile devices. */

@media (max-width: 600px) {

	form{
		padding: 5px;
	}

}
textarea:focus, input:focus{
									outline: 0;
								}

								input:focus:invalid,
								textarea:focus:invalid{
									border:1px solid #F5192F;
									box-shadow:0 0 4px #F5192F;
								}

								input:focus:valid,
								textarea:focus:valid{
									border: 1px solid #64C364;
									box-shadow: 0 0 4px #64C364;
								}