body {
	padding: 0;
	margin: 0;
	background-color: #E45E63;
	background-image: url(images/bg.png);
	font-family: 'Open Sans', sans-serif;
	color: white;
}

a>img {
	border: 0;
}

a {
	text-decoration: underline;
	color: white;
	font-weight: 600;
}

a.programUrl {
    color:#145;
}

.borderBox {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
}

#wrapper {
	width: 1138px;
	margin: auto; 
	text-align: center;
}

a.logo {
	display: block;
	margin: auto;
	margin-top: 50px;
   width: 180px;
}

a.logo:hover {
    opacity: 0.8;
}

h1.ipadTitle {
	font-size: 48px;
	color: white;
	font-weight: 600;
	text-align: center;
	margin: 35px 0 0 0;
}

#ipad {
	width: 1138px;
	height: 567px;
	background-image: url('images/iphone.png');
	margin: auto;
	margin-top: 40px;
	position: relative;  
}

#eventForm {
	position: absolute;
	left: 130px;
	top: 36px;
	width: 872px;
	height: 496px;
	background-color: #eff3f3;
}

.termsText {
	height: 157px;
	background-color: #33b5e5;
	text-align: center;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
    padding:7px 0 0 0;
}

.termsTextBottom {
    background-color: #33b5e5;
    height:36px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
}

h2.wantIpad {
	display: inline;
}

p.rules-list {
    margin-top:0px;
	margin-bottom: 10px;
    font-size:20px;
    font-weight: 300;
}

p.wantIpadDescr2 {
	font-size: 12px;
	font-weight: 400;
}

#ipadEventForm {
	width: 380px;
	margin: auto;
}

.form-list {
	list-style-type: none;
	margin: 0;
	padding: 0; 
}

input[type="text"] {
	width: 360px;
	height: 40px;
	margin: 15px 0 0 0;
	border: 1px solid white;
	-moz-border-radius: 5px; 
  	-webkit-border-radius: 5px; 
  	-khtml-border-radius: 5px; 
  	border-radius: 5px; 
	outline: 0;
	color: #81858b;
    font-size: 16px;
    padding: 0 10px 0 10px;
    transition: all 600ms;
	-webkit-transition: all 600ms;
}

li>span {
	display: none;
}

li.invalid>span {
	display: block;
}

li.invalid input[type="text"] {
	border-color: #f05455;
}

#ipadEventForm span {
	font-size: 10px;
	color: #f05455;
	position: absolute;
}

input[type="text"]::-webkit-input-placeholder {
    color: #c9c9c9;
    font-size: 16px;
}
input[type="text"]:-moz-placeholder {
    color: #c9c9c9;
    font-size: 16px;
}
input[type="text"]::-moz-placeholder {
    color: #c9c9c9;
    font-size: 16px;
}
input[type="text"]:-ms-input-placeholder {
    color: #c9c9c9;
    font-size: 16px;
}

textarea:focus, input:focus{
    outline: 0;
}

#submitForm {
	display: block;
	width: 100%;
	height: 48px;
	margin: 15px 0 0 0;
	font-size: 18px;
	font-variant: bold;
	text-align: center;
	text-decoration: none;
	line-height: 48px;
	background-color: #33b5e5;
	-moz-border-radius: 5px; 
  	-webkit-border-radius: 5px; 
  	-khtml-border-radius: 5px; 
  	border-radius: 5px;
  	transition: all 300ms;
	-webkit-transition: all 300ms;
}

#submitForm:hover {
	background-color: #fb454c;
}

/*--------------------------congratulationsSlide-------------------------- */
#ipad.showCongratulations #eventForm {
	display: none;
}

#ipad.showCongratulations #congratulationsSlide {
	display: block;
}

#congratulationsSlide {
	position: absolute;
	left: 130px;
	top: 36px;
	width: 872px;
	height: 496px;
	background-color: #33b5e5;
	display: none;
	text-align: center;
    font-size:22px;
    padding:0 20px 0 20px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;

}

img.congratulations {
	margin: 90px 0 0 0;
}
/*--------------------------congratulationsSlide end---------------------- */

#ipad.err #eventForm, #congratulationsSlide {
	display: none;
}

#err {
	position: absolute;
	left: 130px;
	top: 36px;
	width: 872px;
	height: 496px;
	background-color: #33b5e5;
	display: none;
	text-align: center;
}

#err span {
    display:inline-block;
    margin-top:170px;
    font-size:26px;
}

#ipad.err #err {
	display: block;
}

.socialWrapper {
	text-align: center;
	margin: 40px 0 40px 0;
}

#socialBar {
	display: inline-block;
}

.addthis_toolbox a:hover {
    opacity: 0.8;
}

.addthis_button_facebook {
    padding: 0 20px;
}

a.rules {
	margin: 5px 0 0 0;
	font-size: 10px;
	display: inline-block;
}

/*modal & rules*/
#modal {
    top:0;
    left:0;
    position:fixed;
    width:100%;
    height:100%;
    background-color:#fdfdd7;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity:.3;
}

#rulesContainer {
    display:none;
}

#rules {
    width:960px;
    background-color:#fdfdd7;
    position:absolute;
    left:50%;
    top:20px;
    margin-left:-480px;
    color:#555555;
    padding:30px;
    z-index:9;
    border-radius:10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    font-weight:200;
}

.rulesTitle {
    text-align:center;
    color:#555555;
    font-weight:400;
    padding:0;
    margin:0 0 10px 0;
}

#closeBtn {
    position:absolute;
    right:10px;
    top:10px;
}