@import 'https://fonts.googleapis.com/css?family=Lato|Merriweather';

body {
	background-color: #333;
	margin: 0px;
	padding: 0px;
	font-family: 'Lato', sans-serif, sans;
}
h1{
	font-family:Merriweather;
	font-size: 40px;
	font-weight: normal;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
input, textarea, select {
	font-family:"Open Sans", Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif, Sans;
	font-size: 15px;
	border-radius: 5px;
	padding: 7px;
	border: 2px solid #757761;
	background-color: #fff;
	max-width: 80vw;
} 
a[href^="mailto:"]
{
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
table{
	width: 100%;
	border-collapse: collapse;

}
th{
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
	text-align: left;
	background-color: #666666;
	color: #fff;
	font-size: 20px; 
}
td{
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
	color: #fff;
}
.page{
	min-height: 100vh;
	background-size: cover;
	background-position:center center;
	background-repeat:no-repeat;
	background-attachment:fixed;
	position: relative;
}
.page .title{
	position: absolute; 
	bottom: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.6); 
}
.textdiv .title{
	max-width: 1200px;
	margin: auto;
	padding: 0 3vw;
}
.page .title div{
	padding: 2vw;
	max-width: 1200px;
	margin: auto;
}
.page .title h1{
	color: #fff;

	text-align: right; 
}
.topsection{
	display: flex;
	width: 100%;
	justify-content: space-around;
	flex-wrap: wrap;
}
.links{
	font-size: 20px;
	color: #fff;
	text-align:center;
	padding: 100px 0;
}
.links a{
	text-decoration:none;
	color: #fff;
	padding: 1vw; 
	text-shadow: 1px 1px #000;
	text-transform:uppercase;
	white-space:nowrap;
	line-height: 40px; 
}
.links a:hover{
		text-shadow: none;
}
.textdiv{
	background-color:#333;
	color: #fff;
	font-size:16px;
	line-height: 185%;
}
.maintext{
	max-width: 1200px; 
	padding: 3vw;
	margin:auto;
}
.maintext a{
	color: #fff;
}
.footer {
	background-color: #fff;
	color: #333;
	padding: 3vw 0;
}
.footer a{
	color: #333;
	text-decoration:none;
}
#mainthreecols {
	margin: 20px auto;
	max-width: 1200px;
	padding: 5px;
	flex-flow: row wrap;
	display: flex;
	justify-content: center;
	}
#mainthreecols > div {
 	color: #fff;
	border-radius: 6px; 
	width: 300px;
	flex: 1 1 auto;
	margin: 20px; 
	background-color:#666;
	max-width:640px;
    position:relative;
}
#mainthreecols > div .picture{
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position:center center;
	background-repeat:no-repeat;

}
#mainthreecols > div .picture img{
	height: 100%;
	width: 100%;
}
#mainthreecols div a{
 	color: #fff;	
 	text-decoration:none;
}
#mainthreecols div a:hover{
 	color: #000;	
}
#mainthreecols div h3{
	font-size: 1.3em;
	font-weight: 300;
	line-height: 1.2;
	margin: 10px;
	padding: 0px;
	text-align:center;
}
#mainthreecols div p{
	font-size:1em;
	line-height: 1.6em;
	margin: 20px;
}
#mainthreecols div p:after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    height:70px;
    width:100%;
    background: linear-gradient(rgba(0,0,0,0), #666);
	border-radius: 6px;

}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.iw {
	font-size: 12px;
	padding: 4px 100px;
	text-align: right;
	background-color: #fff;
} 
.iw a{
	color: #bbb;
	text-decoration: none;

}

@media only screen and ( max-width: 1024px ) {
.page{
	background-attachment: scroll;
}

}



@media only screen and ( max-width: 640px ) {
#mainthreecols{
	width: 100%;
	padding: 0;
} 
#mainthreecols > div {
	width: auto;
}
#mainthreecols > div {
	margin:  20px 0; 
	border-radius: 0
}
#mainthreecols div p:after {
	border-radius: 0; 
}
.page .title{
	position: relative; 
}
}