.ac-overlay{
    box-sizing: border-box;
    height:100%;
    width:100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:rgba(255,255,255,0.7);
    z-index: 99998;
    opacity:0;
	cursor: wait;
}
.ac-container {
    box-sizing: border-box;
    width: 1070px;
    position: fixed;
    padding:20px;
    background:url(../images/agebg.jpg) no-repeat top left #1f3052;
	background-size:cover;
    z-index: 99999;
    opacity:0;
	top:50%!important;
	transform: translateY(-50%);
}

.modal_content_wrapper {
	margin:0;
	float:left;
	text-align: center;
	position:relative;
	background-image: url(../images/f-top.png), url(../images/f-bottom.png);
    background-position: left top, left bottom;
    background-repeat: no-repeat, no-repeat;
	background-size:100%, 100%;
}

.content_wrapper_inner {
	width:100%;
	float:left;
	text-align:center;
	box-sizing:border-box;
	border-right:3px solid #fff;
	border-left:3px solid #fff;
	color:#fff;
}

.content_wrapper_inner h2 {
	font-size:40px;
	padding:10px 0;
	margin:0 0 10px;
	color:#fff;
	text-transform:uppercase;
}

.content_wrapper_inner h2 span {
	font-size:25px;
}

.content_wrapper_inner p {
	font-size:24px;
	color:#fff;
	text-align:center;
	font-weight:300;
	margin:0 0 20px;
	padding:0;
}

.age_left {
	width:50%;
	float:left;
	margin:50px 0 0 5%;
}

.age_right {
	width:339px;
	float:right;
	position:relative;
	text-align:right;
}

.age_right img {
	margin:0;
}

.ac-container input {
	color: #fff;
	font-style:italic;
	display:inline-block;
	vertical-align:top;
    font-size: 16px;
    height:50px;
	box-sizing:border-box;
    padding: 11px 0 10px 20px;
	background:none;
	border:1px solid rgba(255, 255, 255, 0.5);
	border-bottom:2px solid rgba(255, 255, 255, 0.5);
}

.ac-container select {
    color: #fff;
	font-style:italic;
	display:inline-block;
	vertical-align:top;
    font-size: 16px;
	border-radius:0;
    padding: 11px 32px 10px 20px;
	background:url(../images/select-downarrow.png) no-repeat center right;
	background-size:24px;
	border:1px solid rgba(255, 255, 255, 0.5);
	border-bottom:2px solid rgba(255, 255, 255, 0.5);
	box-sizing: border-box;
    height:50px;
	margin-right:10px;
	-webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}
.ac-container input.day{
    box-sizing: border-box;
    width:60px;
	margin-right:10px;
}
.ac-container input.year{
    box-sizing: border-box;
    width:90px;
	margin-right:10px;
}
.ac-container button {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background:none;
	text-align:center;
	color:#fff;
	font-size:14px;
	font-weight:bold;
	padding:13px 0;
	width:23%;
	height:50px;
	box-sizing:border-box;
	display:inline-block;
	vertical-align:top;
	text-transform:uppercase;
	border:1px solid rgba(255, 255, 255, 1);
	border-bottom:2px solid rgba(255, 255, 255, 1);

}
.ac-container button:hover{
    background:#fff;
	color:#c10e2e;
}
.ac-container .errors  {
    box-sizing: border-box;
    margin:0 0 20px 0;
    font-size: 13px;
    line-height: 18px;
    color:#FF1F1F;
}
.ac-container .errors ul, .ac-container .errors li {
    box-sizing: border-box;
    padding: 0 0 3px 0;
    margin: 0 10px 0 0;
    list-style: none;
    display: inline-block;
    vertical-align: top;
}
.ac-container .errors li span {
    display:none;
}
.ac-container .fields {
    box-sizing: border-box;
    clear:both;
    margin:10px 0 10px 0;
} 

.fields > .month > option {
	background-color: #1B2948;
}
            
@media (max-width: 1100px) {
.ac-container {
    width: 80%;
}
.age_left {
    width: 62%;
    float: left;
    margin: 50px 0 50px 3%;
}
.age_right {
    float: right;
    position: relative;
    text-align: right;
    width: 30%;
}
}

@media (max-width: 1023px) {
.age_left {
    width: 100%;
    float: left;
    margin: 50px 0 50px;
	padding:0 5%;
	box-sizing:border-box;
}

.age_right {
    display:none;
}

}

@media (max-width: 767px) {
.ac-container {
    position: fixed;
    width: 100%;
    z-index: 554111101;
}

.content_wrapper_inner {
	border-left:2px solid #fff;
	border-right:2px solid #fff;
	padding:10px;
	box-sizing:border-box;
}

.content_wrapper_inner h2 {
    font-size: 30px;
}
.content_wrapper_inner h2 span {
    font-size: 22px;
}
.content_wrapper_inner p {
    font-size: 20px;
    padding: 0;
}
.content_wrapper_inner p br {
    display:none;
}
.age_left {
	width:100%;
	float:left;
	margin:20px 0 0;
}

.age_right {
	width:100%;
	float:right;
	position:relative;
	text-align:right;
	display:none;
}

}

@media (max-width: 500px) {
.content_wrapper_inner {
	border-left:1px solid #fff;
	border-right:1px solid #fff;
}

.content_wrapper_inner h2 {
    font-size: 24px;
}

.content_wrapper_inner h2 span {
    font-size: 18px;
}

}

@media (max-width: 400px) {
.ac-container select {
	margin:0 0 10px;
	width:100%;	
}

.ac-container input.day {
	margin:0 4% 10px 0;
	width:48%;
}

.ac-container input.year {
	margin:0 0 10px 0;
	width:48%;
}

.ac-container button {
	width:100%;	
}

}