body,html{
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Trebuchet MS;
	width: 100%;
}

.container{
    height: auto;
    background-image: url("../img/bg.png");
    background-size: cover;
	max-width: 100%;
}

.header{
    background-image: url("../img/fejlechavas.jpg");
    background-position: center center;
    height: 81px;
}

.main{
    background-image: url("../img/torta.png");
    background-repeat: repeat-x;
    background-position: center top;
    min-height: 1000px;
    background-size: contain;
    text-align:center;
}


.mainBottom{
    background-image: url("../img/bluefooter.png");
    background-position: center center;
    height: 287px;
    background-size: cover;
}

.footer{
    background-color: #0146ad;
    color: #fff;
    height: 47px;
    line-height: 45px;
    text-align: center;
}

.footer a{
	color: #FFF;
	text-decoration: none;
	text-transform: uppercase;
}

.footer a:hover{
	color: #FFF;
	text-decoration: underline;
}

#uploadButton{
    background-image: url("../img/uploadButton.png");
    border: 0 none;
    cursor: pointer;
    height: 83px;
    width: 582px;
    margin: 0 auto;
}

.subContainer {
    height: auto;
    margin: 0 auto;
    max-width: 960px;;
}

.subContainer .left, .subContainer .right{
    float: left;
    max-width: 50%;
    height: 500px;
}

.subContainer .right{

}

.subContainer .right .textContent{
    color: #007dc6;
    display: block;
    font-size: 23px;
    line-height: 31px;
    margin: 74px 0 0 0;
    text-align: left;
    width: 100%;
}

.subContainer .right .textContent .lila{
    color: #6C1E55;
}

.clear{
    clear: both;
}

#logo{
    margin-top: 45px;
}

#layer{
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: none;
    position: fixed;
    opacity: 0.9;
    text-align: center;
}

#regForm{
    background-color: #fff;
    background-image: url("../img/cornerLogo.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    display: none;
    height: 462px;
    left: calc(50% - 363px);
    position: fixed;
    top: 20%;
    width: 750px;
    z-index: 2147483647;
    border-radius: 3px;
}

#regForm .colFirst{
    float: left;
    height: 432px;
    margin: 24px 0 0;
    width: 214px;
}

#regForm .colSecond{
    float: right;
    height: 432px;
    margin: 25px 0 0;
    width: 518px;
}

#regForm .colFirst label{

    color: #007dc6;
    display: block;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    margin: 4px 40px;
    width: 184px;
}

#regForm input[type="text"], #regForm input[type="email"]{
    background-color: #dfeff8;
    border-left: 1px solid #b2c4ce;
    border-radius: 5px;
    border-top: 3px solid #b2c4ce;
    color: #6C1E55;
    font-size: 18px;
    font-weight: bold;
    height: 45px;
    line-height: 30px;
    padding: 0 20px;
}

#regForm .colSecond div{
    color: #007dc6;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    margin: 3px 0 0;
    width: 306px;
}

.log{
    float: right;
    position: absolute;
    right: 32px;
    top: 70px;
}

.apcode{
    margin: 10px 0 0;
    width: 195px;
}

.evFormItem{
    padding: 5px !important;
    width: 45px;
}

.hFormItem{
    padding: 5px !important;
    width: 35px;
}

.send{
    background-image: url("../img/send.jpg");
    bottom: 140px;
    height: 68px !important;
    position: absolute;
    right: 34px;
    width: 166px !important;
    cursor: pointer;
}

.colSecond .bottomText{
    color: #007dc6;
    font-size: 12px;
    font-weight: normal;
    line-height: 15px !important;
    margin: 14px 0 42px !important;
    width: 85% !important;
}

#errorMsg{
    color: #ff0000 !important;
    display: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px !important;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 200px !important;
}

.congrats{
    padding: 113px 60px;
    text-align: center;
}

.acceptChk{
    bottom: 11px;
    color: #007dc6;
    font-size: 16px;
    position: absolute;
}

.newsletterChk {
	color: #007dc6;
    bottom: 36px;
    position: absolute;
}

.left > img {
    height: auto;
    max-width: 100%;
}

@media screen and (max-width: 860px) {
	.logoFrame #logo {
		width: 190px;
		margin: 10px 0 0;
	}
	.subContainer .left img {
		width: 237px;
	}
	.subContainer .left{
		height: auto;
		left: 34%;
		margin: 50px 0 0;
		max-width: 100%;
		position: absolute;
		top: 580px;
	}	

	.subContainer .right {
		float: left;
		height: auto;
		padding: 10px 0 250px;
		max-width: 100%;
		margin: 0 60px;
	}	

}	

@media screen and (max-width: 600px) {
	
	.subContainer .right .textContent {
		font-size: 15px;
		line-height: 24px;
		margin: 10px 0 0 18px;
		width: 88%;
	}
		
	.subContainer .right .textContent img{
		width: 100%;
	}
	
	.subContainer .left{
		float: none;
		height: auto;
		margin: 50px 0 0;
		width: 100%;
		max-width: 100%;
		position: absolute;
		top: 560px;		
		left: 5%;
	}	

	.subContainer .right {
		float: left;
		height: auto;
		padding: 10px 0 230px;
		width: 93%;
		margin: 0 10px;
	}
	

	#uploadButton {
		background-image: url("../img/uploadButton.png");
		background-size: cover;
		border: 0 none;
		cursor: pointer;
		height: 38px;
		margin: 0 auto;
		width: 83%;
	}	
	
}

