 /***********************************************/
/*          TWO COLUMN LAYOUT                  */
/***********************************************/
body{
	font:normal 12px Verdana, Arial, Helvetica, sans-serif;	
	color:#333;
	line-height: 0.6cm;	/*or use 1.166*/
	margin:8px; /*moves layout down a bit */
	padding: 0px;
	text-align:center; /* this centers the entire layout IE5-Win kludge */
	background-color:#B8C8C1; /*teal*/
	} 
#container {
	position:relative;
	margin-left:auto;
	margin-right:auto;
	top:0;
 	width:780px;
	border: 1px solid #666;
	background-color:#fff;
	}
#header {
	position:inherit;
	top:0;
	left:0;
	margin:0;
	padding:0;
}
/* ------ main NAVIGATION across top ----------*/
#mainnav ul {
	position:absolute;
	top:75px; /*depends on height of header*/
	left:0;
	margin:0;
	padding:0;
	border:0;
	background-color:#A9A49C; 
	width:100%;
	font: bold 10px Verdana, Arial, Helvetica, sans-serif;
	letter-spacing: 0.1em;
	color:#FFF;
	text-transform:uppercase;
	white-space: nowrap;
	}
#mainnav a { 
	display:block;
	/*background-image: url(images/navbutton.jpg); this is the green gradation
	background-repeat: no-repeat;
	background-position: 0 0;	*/
	color:#E9E1DF;
	}
#mainnav ul li { display:inline; }

#mainnav ul li a {
	padding:0.3em 1em;
	text-decoration:none;
	color:#E9E1DF;
	float:left;
	/*background-image: url(images/navbutton.jpg); this is the green gradation
	background-repeat: no-repeat;
	background-position: 0 0;	*/
	 /* border-right:2px dotted #457aac; adjust color and if no border or dashed border */
	}
#mainnav ul li a:link {
	color:#E9E1DF;
	}
#mainnav ul li a:visited {
	color:#5d5b4c;
	}
#mainnav ul li a:hover{
	color:#5d5b4c;
	}
#mainnav ul li a:active {
	color:#5d5b4c;
	}

/***********************************************/
/*          LAYOUT                 */
/***********************************************/
#content {
	float:left;
	padding:0; 
	margin-top:20px;
	width:100%;
	background-color: #FFF;
	}	
.bodycopy {
	text-align:left;
	margin: 0 20px;
	padding:0;
	}
.intro {
	position: absolute;
	top: 200px;
	left: 350px;
	width: 25%;
	text-align: left;
	}
.mainimage {
	padding: 10px;
	}
.featured {
	position: absolute;
	top: 160px;
	left: 30px;
	width: 40%;
	text-align: left;
	}
.about {
	margin: 0 20px;
	padding:0;
	width: 60%;
	text-align: left;
	}
.sidebar {
	position: absolute;
	top: 120px;
	left: 520px;
	text-align: left;
	}
.spacer {clear:both;} 
 
#footer {
	text-align:center;
	font: 9px Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	padding:5px;
	border-top:1px dotted #666; 
	}
	
/***********************************************/
/*                  PUBLISHED FEATURES         */
/***********************************************/
.photos {
 float: left;
 margin: 20px;
 padding: 0;
 }
.photos img {
 width: 220px;
 height: 300px;
 padding: 0 0 5px 0;
 }
.photocaption { 
 font: 13px times roman, serif; 
 font-style: oblique; 
 }
.photos a  { text-decoration: none; }
.photocaption a { text-decoration: none; }
/***********************************************/
/*                  TEXT                       */
/***********************************************/
p {
	padding:0;
	margin-top:0;
	}
h2,h4,h5,h6 {
	margin:0;
	padding:0;
	}
h1 {
margin:0;
padding-bottom:6px;
color:#DCE2BF;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
text-transform:uppercase;}
h2 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:14px;
font-style:italic;
font-weight:bold;
}
h3 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
border-bottom: 1px dashed #FCFAE8;}
h4 {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
font-weight:normal;
color:#300;
margin-left:10px;
margin-right:10px;
letter-spacing:0.1em;}
h5 {
font-family:Trebuchet, serif;
font-size:14px;
font-weight:bold;
font-style:italic;
color:#036; 
border-bottom: 1px dashed #726c6a;}
h6 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:12px;
font-style:italic;
font-weight:bold;
color:#633;
border-bottom: 1px dashed #726c6a;}

.clearboth { clear: both; }

/* ------ LINKS ----------*/
a:link {color:#633; text-decoration:none;} /*#457aac;*/
a:visited {color:#633; text-decoration:none;} /*#457aac;*/
a:hover {color:#933; text-decoration:none;} /*#c60;*/
a:active  {color:#933; text-decoration:none;} /*#c60;*/

.leftbox2 a:link {color:#fc6; text-decoration:underline; font-weight:bold;}
.leftbox2 a:visited {color:#fc6; text-decoration:underline; font-weight:bold;}
.leftbox2 a:hover {color:#fc6; text-decoration:underline; font-weight:bold;}
.leftbox2 a:active  {color:#fc6; text-decoration:underline; font-weight:bold;}

 .video-grid.front-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1em 0em;
}

ul.video-list {
	    margin: 0px 50px 0px 0px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

li.video {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  width: calc(100% / 3);
  border: solid 0em transparent;

}

li.video a {
  outline: none;
}

li.video:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color .15s;
}

li.video figure {
	    margin: 0px 15px;
      min-height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
}

li.video figure img {
  min-height: 300px;
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.5);
  transition: all .20s;
}

li.video figure figcaption {
  position: absolute;
  bottom: 0;
  width: 94%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 1rem 1rem 1rem 0rem;
  transform: translateY(0);
  opacity: 1;
  transition: all .20s;
}

li.video:hover figure img {
  opacity: 1;
  transform: scale(1);
}

li.video:hover figure figcaption {
  opacity: 0;
  transform: translateY(50%);
}



@media screen and (max-width: 800px) {
  li.video {
   
    width: calc(100% / 1);
  }
}

@media screen and (max-width: 640px) {
  li.video {
    width: auto;
  }
}
