@import "https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/flexslider.min.css";

body { font-family: avenir, sans-serif; }

.flex-caption {
	background: black;
	color: white;
	position: absolute;
	bottom: 0px;
	align-content: center;
	padding: 1em;
}

#flexslider .slides img {
	width: 100%;
	display: block;
	height:500px;
}

#flexslider .slides .main {
	width: 100%;
	display: block;
	height:500px;
	background-color: whitesmoke;
}

#flexslider .slides .main img{
	width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	height:400px;
	border: 2px solid black;
}


#flexslider .slides .main h3{
	text-align: center;
	vertical-align: center;
	color: red;
	height: 40px;
}

#flexslider .slides .main h2{
	text-align: center;
	vertical-align: center;
	color: black;
	height: 50px;
}

#flexslider .slides .main p{
	text-align: center;
	vertical-align: center;
	color: black;
	height: 40px;
}

@media only screen and (max-width: 500px) {

	.flex-caption {
		background: black;
		color: white;
		position: relative;
		bottom: 0px;
		align-content: center;
		padding: 1em;
	}

	#flexslider .slides .main p {
		text-align: center;
		vertical-align: center;
		color: black;
		height: 40px;
		font-size: small;
	}

	#flexslider .slides .main {
		width: 100%;
		display: block;
		height:400px;
		background-color: whitesmoke;
	}

	#flexslider .slides .main img{
		width: 100%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		height:320px;
		border: 2px solid black;
	}

	#flexslider .slides {
		width: 100%;
		display: block;
		height:500px;
	}

	#flexslider .slides img {
		width: 100%;
		display: block;
		height:400px;
	}

	.flex-viewport {
		max-height: 400px;
		-webkit-transition: all 1s ease;
		-moz-transition: all 1s ease;
		-ms-transition: all 1s ease;
		-o-transition: all 1s ease;
		transition: all 1s ease;
	}
}

.flex-direction-nav a:before  {
	content: " ";
	display: block;
	background: url('../imgs/site/left-arrow.png') no-repeat center center;
	background-size: contain;
	width: 40px;
	height: 40px;
}
.flex-direction-nav a.flex-next:before  {
	content: " ";
	display: block;
	background: url('../imgs/site/right-arrow.png') no-repeat center center;
	background-size: contain;
	width: 40px;
	height: 40px;
}