#av-overlay-wrap {
	position: fixed;
	height: 100%;
	width: 100%;
	background: #E6E6E6;
	opacity: 0.9;
	z-index: 10000;
	display: block;
	top: 0;
	left: 0;
}

#av-overlay-content-wrap{
	z-index: 10001;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

#av_verify_form{
  text-align: center;
}

#av-overlay {
	padding: 10px;
	height: 100%;
	width: 100%;
	background: white;
	z-index: 10001;
	text-align: center;
	-webkit-box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	   -moz-box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	        box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
#av-overlay h1 {
	margin-bottom: 20px;
}
#av-overlay p {
	margin-bottom: 10px;
}
#av-overlay .submit {
	/* background-color: #000000;
	width: 100%;
	border-radius: 0;
	margin-bottom: 0; */

	background: url(/sites/all/themes/mud_house_wines/images/continue.jpg) no-repeat 0 0 #5b574c;
	border-radius: 0;
	width: 160px;
	height: 40px;
	color: #ffffff;
	font-style: italic;
}

#av-overlay input[type=text] {
	width: 50px;
	outline: none;
}
#av-overlay #av_verify_y {
	width: 70px;
}

#av-overlay .error {
	padding: 12px;
	background-color: #ffebe8;
	border: 1px solid #c00;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}

/* Minimum width of 400 pixels. */
@media screen and (min-width: 400px) {

	#av-overlay-content-wrap {
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: auto;
		z-index: 10001;
	}

	#av-overlay {
		width: 40%;
		/* padding: 30px 40px 34px; */
		margin-top: 100px;
		margin-left: auto;
		margin-right: auto;
	}

	#age_check_seperator {
		    width: 80%;
		    margin: 0 auto;
			border-top: 1px dashed #A9A069;
			margin-top:25px;
	}
	#age_check_text {
		font-size: 26px;
		font-weight: bold;
		margin-bottom: 10px;
		color: #333;
		font-family: "Libre Baskerville",LibreBaskerville;
	}

	#age_check_links {
		padding-bottom:15px;
	}
	#age_check_links a {
		    font-family: "Proxima Sans"ProximaSansRegular,
		    ProximaSansRegular;
		    color: #bcbcbc;
		    font-size: 14px;
		    font-weight: 400;
			text-align: left;
			text-transform: uppercase;
	}
}
