/*
BASE (MOBILE) SCREENS
These base styles apply to all screen sizes, but may be overridden on larger screens by the media query-driven styles that appear later in this file.
*/

.border {
    border-style: dashed;
    border-width: 1px;
    border-color: red;
}

/* Responsive Images */
img {
	width:auto;
	max-width:100%; 
	height:auto;
	vertical-align: middle; /* cures the 4 px whitespace anomaly */
}




/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
* {  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
       box-sizing: border-box; 
}


/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.right {
	float:right;
}

.left {
	float:left;
}

.cell-bottom {
	display:table-cell; 
	vertical-align:bottom;
	width: 100%;
}

body {
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400; /* medium */
	font-size: 14px;
	line-height: 26px;
	background-color: #660000; /* red background around the page proper */
	background-image: url(images/background.gif); /* image overlays background color */
	background-repeat: repeat-x; /* image repeats horizontally to fill screen width */
	color: #fff;
	margin: 0;
}

b {
	font-weight: 600; /* bold */
}

#banner {
	background-color: #290000; /* burgundy */
	border-bottom: 2px solid #660000;
}

#logo {
	width: 70%;
	margin-left: 15%;
}

#tagline  {
	width: 46%;
	margin-left: 27.5%;
}

#building  {
	width: 76%;
	margin-left: 7%;
}

#topnav {
	text-align: right;
	margin-right: 0;
}
	
/*
#content_and_footer {
	background: url(images/background-no_hero.gif) repeat-x;
}
*/

#content {  
	width:100%;
	height: 100%;
	margin: 0;
}

#main_and_sidebar {
	background: #290000;
}

#main {
	background: #290000;
	padding-top: 22px;
	padding-right: 4.5%;
	padding-bottom: 3%;
	padding-left: 4.5%;
}

#main_col1,
#main_col2 {
	margin-bottom: 24px;
}

/* #accordions {
	margin-top: 12px;
} */

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans Condensed", sans-serif;
    color: #fff;
    font-weight: 700;
	text-transform: uppercase;
}

h1 {
    font-size: 36px;
    line-height: 40px;
    margin: 0;
}

h2 {
	font-size: 20px;
	font-style: normal;
	line-height: 22px;
	margin-top: 28px;
	margin-bottom: 0;
}

#main p,
#supplemental p {
	margin: .75em 0 0 0;
}

p.caption {
	font-size: 10px;
	font-weight: 400;
	font-style: italic;
	text-align: right;
	margin: 0 !important;
}

p.warning {
	font-weight:bold;
	color:red;
} 

b {
	font-weight: 700;
}

ul:last-child, ol:last-child {
    margin-bottom: 0;
}

ul {
    list-style: disc;
}

ul, ol, dl, dd {
    padding: 0 0 0 30px;
}

ul, ol, dl {
    line-height: 1.8em;
    margin: 0 0 0.75em;
}

hr {
	margin-top: 30px;
}

/*
#main_col1 li,
#main_col2 li {
	margin-top: 0.5em;
	line-height: 1.3em;
}
*/

a.gallery img {
	float: left;
	width: 49%;
	border: 2px solid #c6b18f;
	margin-right: 1%;
	margin-bottom: 1%;
	transition: border .2s, transform .2s;
}

a.gallery img:hover {
	border:2px solid #ebddb3;
	transform: scale(1.02);
}

/* Kill the phantom dotted border that appeared after clicking on a gallery image then exiting the lightbox overlay */
a.gallery:focus,
a.gallery img:focus {
	border: none;
	outline: none;
}

/* Hover-swap images (next 3 calls) */
.hover_swap img:last-child {
	display:none;
}
.hover_swap:hover img:first-child {
	display:none;
}
.hover_swap:hover img:last-child {
	display:inline-block;
}


/* Tables */

table {
	width: 100%;
	background: #660000;
	border: 10px solid #660000;
	font-size: 16px;
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
}

table tr:nth-child(even){
	background: #4e0000;
}

th {
	text-align: left;
	color:#ebddb3;
	font-size: 22px;
	padding-bottom: 8px;
	padding-left: 6px;
}

td {
	padding: 3px 6px 4px 6px;
}

/*
tr td:first-child {
	width: 245px;
}
*/




/* Vimeo player: embed responsively */

.vimeo { 
	position: relative; 
	padding-bottom: 56.25%; 
	overflow: hidden; 
	max-width: 100%; 
	height: auto; 
	margin-top: 8px;
}

.vimeo iframe, 
.vimeo object, 
.vimeo embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}





/* Links */
a:link,
a:visited {
	color: #c6b18f;
	text-decoration: underline;
	-webkit-transition: color .2s, text-shadow .2s;
	transition: color .2s, text-shadow .2s;
}

a:hover {
	color: #ebddb3;
	text-shadow: 1px 1px 1px #000;
}

a.link-icon[href$=".pdf"] {
    background-image: url("images/icon_pdf.gif");
    background-position: left top;
    background-repeat: no-repeat;
	background-size: 16px;
    display: inline-block;
    line-height: 16px;
    padding: 1px 0 0 20px;
}


/*
PHONES in LANDSCAPE ORIENTATION
*/
@media only screen and (min-width: 500px) {

#logo {
	float: left;
	width: 36%;
	margin-left: 20%;
}

#tagline {
	float: left;
	width: 33%;
	margin-top: 6.5%;
	margin-left: 0;
}

#building {
	display: none;
}

/*
a.gallery img {
	width: 30%;
}
*/

a.gallery img {
	width: 32.33%;
}

}




/*
TABLETS in PORTRAIT ORIENTATION
*/
@media only screen and (min-width: 700px) {

#main,
#supplemental {
	padding-right: 3%;
	padding-bottom: 3%;
	padding-left: 3%;
}

#main_col1 {
	float: left;
	width: 48%;
}

#main_col2 {
	float: left;
	width: 48%;
	margin-left: 4%;
}

#logo {
	width: 26.6146%;
	margin-left: 2.0833%;
}

#tagline {
	width: 28.3854%;
	margin-top: 4.5833%;
}

#building {
	display: block;
	width: 42.9167%;
	margin-left: 0;
}

} 



/*
TABLETS in LANDSCAPE & LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 964px) {

/*
body {
	background-color: white;
}
*/

.full_width {
	width: 964px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
}

#content_and_footer {
	margin-bottom: 12px;
}

#nav-outer {
	float: right;
	width: 73.9%;
	margin-right: 3.5%;
}

#topnav {
	margin-top: 5px;
	margin-bottom: -1px;
	margin-left: auto;
	margin-right: auto;
}

/*
a.gallery img {
	width: 24%;
}
*/



/* Links */
a:link,
a:visited {
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
	cursor: pointer;
}

}



/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}