@import url(http://fonts.googleapis.com/css?family=Bree+Serif);
.agevert-overlay{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0 0 0);
    z-index: 99998;
    opacity: 0;
}
.agevert-container {
    box-sizing: border-box;
    width: 700px;
    position: absolute;
    padding: 20px 20px 30px 20px;
    background: #fff;
    border: 4px solid #C8884A;
    z-index: 99999;
    opacity: 0;
    text-align: center;
    border-radius: 4px;
    font-weight: normal;
}
.agevert-container h2 {
    box-sizing: border-box;
    margin:0 0 14px 0;
    font-size:26px;
    border-bottom: 1px solid #1c1c1c1c;
    padding-bottom:11px;
}
.agevert-container h3 {
    box-sizing: border-box;
    color:#649D09;
    margin-bottom:5px;
    margin-top:15px;
    font-size:26px;
}
.agevert-container p {
    box-sizing: border-box;
    margin:0 0 20px 0;
    font-size: 14px;
    color:#959595;
    line-height: 20px;
}
.agevert-container p strong {
    color:#FF1F1F;
}
.agevert-container select, 
.agevert-container input {
    box-sizing: border-box;
    color:#555;
    padding: 5px 10px;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    border-radius: 3px;
    margin-right: 15px;
    border:1px solid #ccc;
}
.agevert-container input.day{
    box-sizing: border-box;
    width: 100px;
    height: 50px;
}
.agevert-container input.year{
    box-sizing: border-box;
    width: 100px;
    height: 50px;
}
.agevert-container select {
	box-sizing: border-box;
    width: 100px;
    height: 50px;
    padding-left: 4px;
	text-align-last: center;
}
.agevert-container button {
    box-sizing: border-box;
    display: inline-block;
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -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-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 10px;
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.5;
    width: 100%;
    background: #000000;
    color: #fff;
    text-shadow: 1px 1px 0 #000000;
}
.agevert-container button:hover{
    box-sizing: border-box;
    background: #80d036;
}
.agevert-container .errors  {
    box-sizing: border-box;
    margin:0 0 20px 0;
    font-size: 12px;
    line-height: 18px;
    color:#FF1F1F;
}
.agevert-container .errors ul,
.agevert-container .errors li{
	width: 100%;
	float: left;
    text-align: center; 
    box-sizing: border-box;
    padding: 0 0 3px 0;
    margin: 0px 0px 12px 0px;
    list-style: none;;
}
.agevert-container .errors li span {
    box-sizing: border-box;
    font-size:9px;
    background:#ebebeb; 
    border:1px solid #ccc;
    width: 14px;
    height:14px;
    border-radius:7px;
    display:inline-block;
    color:#FF1F1F;
    font-weight: bold;
    text-align: center;
    margin-right:5px;
    line-height: 13px;
    position:relative;
    top:-2px;
    text-shadow: 1px 1px 0 #fff;
    font-family:arial;
}
.agevert-container .fields {
    box-sizing: border-box;
    clear:both;
    margin:10px 0 10px 0;
}             
@media (max-width: 500px) {
    .agevert-container {
        box-sizing: border-box;
        width:auto;
        margin-right:20px;
        margin-left:1px;
    }
    .agevert-container select, 
    .agevert-container input.day, 
    .agevert-container input.year{
        box-sizing: border-box;
        display:block;
        margin-bottom:10px;
        margin-right:0;
        width:100%;
    }
    .agevert-container button {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }
}