/* Modals page style */
/*** OVERLAY ***/
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../img/bg-overlay.png);
	z-index: 1000;
	display: none;
	/*overflow: auto;*/
	opacity: 1;
}

#overlay > div {
	padding: 20px 20px 35px 20px;
	background: #fff;
	position: relative;
	margin: 0 auto;
	
	
}

#overlay > div h1 {
	width: 364px;
	height: 42px;
	/*background:url(../img/title-rules.jpg) no-repeat left top;*/
	position: relative;
	top: auto;
	left:auto;
	margin:30px 0 40px 45px;
	text-indent:-999px;
}

#error > p, #profanity > p {
	
	text-align: center;
}


#overlay a{
	
	color:white;
}

#overlay > #privacy h1 {
	background:url(../img/title-privacy.jpg) no-repeat left top;
	width: 393px;
	margin: 40px 0 40px 88px;
}

#overlay > #error h1,#overlay > #profanity h1 {
	background:none;
	height: 0;
    margin-bottom: 0;
    margin-top: 0;
}
#error{
	height:auto !important;	
}




#overlay > #error p {
	text-align: center;
	margin-top:35px;
}
#overlay > div p {
	color: #fff;
	margin-bottom: 15px;
	line-height: 22px;
	font-size: 17px;
	text-align: left;
}
#overlay > #rules> .scroll {
	width: 100%;
	overflow: auto;
	height: 300px;
	text-align: center;
}

.scroll > ul{
	
	list-style: disc inside ;
	text-align: left ;
	padding-left:20px;
	line-height: 20px;
	
	
}

.scroll > ul li{
	
	
}



#overlay >  div>.close {
	width:36px;
	height:33px;
	background:url(../img/ico-gif-close.jpg) no-repeat;
	
	display:block;
	top:-18px;
	right:-18px;
	position:absolute;
	text-align:center;
	color:#FFF;
	text-decoration:none;
	line-height:38px;
}

#overlay .modal, #overlay .errormodal {
	display: none;
	/*position:absolute;*/
	position:fixed;
	width: 619px;
	height: 511px;
	background:url(../img/bg-modal.jpg) no-repeat left top;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	z-index:1500;
}


.errormodal{
	background: #55c0e2 !important;
	background-image:none !important;
}	

#overlay >  p{
	
	text-align: left;
}



.regdob.error::-webkit-input-placeholder,#fname.error::-webkit-input-placeholder,#email_addr.error::-webkit-input-placeholder, #dob_yyyy.error::-webkit-input-placeholder{
	color:#941821;	
	font-weight:bold;
	opacity:1;
	
}


:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #696863;
}
input.regfld.error:-moz-placeholder{
	color:#941821 !important;	
	font-weight:bold;
	opacity:1;
}
.regdob.error:-moz-placeholder,#fname.error::-webkit-input-placeholder,#email_addr.error::-webkit-input-placeholder, #dob_yyyy.error:-moz-placeholder{
	color:#941821  !important;	
	font-weight:bold;
	opacity:1;
}


::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #696863;
}
input.regfld.error::-moz-placeholder{
	color:#941821 !important;	
	font-weight:bold;
	opacity:1;
}
.regdob.error::-moz-placeholder,#fname.error::-webkit-input-placeholder,#email_addr.error::-webkit-input-placeholder, #dob_yyyy.error::-moz-placeholder{
	color:#941821 !important;	
	font-weight:bold;
	opacity:1;
}


:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #696863;
}
input.regfld.error:-ms-input-placeholder{
	color:#941821 !important;	
	font-weight:bold;
	opacity:1;
}
.regdob.error:-ms-input-placeholder,#email_addr.error::-webkit-input-placeholder,#fname.error::-webkit-input-placeholder, #dob_yyyy.error:-ms-input-placeholder{
	color:#941821!important;	
	font-weight:bold;
	opacity:1;
}

#profanity{
	height:auto !important;	
}