/*
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 {
	font-family: "Merriweather", serif;
	font-weight: 400; /* normal */
	font-style: normal;
	font-size: 17px;
	line-height: 26px;
	color: white;
	margin: 0;
	background: #7f7f7f; /* 50% gray */
}

#wrapper {
	background-color: #FFFFCC;
	background-image: url("images/banner_image.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	margin: 0 0 15px 0;
}

#content {
	padding-top: 54.5%;
	padding-bottom: 18px;
}

#flex_container {
	display: flex;
	flex-direction: column;
	row-gap: 18px;
	width: 80%;
	margin: auto;
}

#block_1, #block_2, #block_3 {
	padding: 24px 15px 15px 25px;
}

#block_1 {
	background-color: #7a2f34;
}

#block_2 {
	background-color: #1a283e;
/*	margin-top: 18px; */
}

#block_3 {
	background-color: black;
/*	margin-top: 18px; */
}

h1, h2, h3, h4 {
	font-family: "Roboto Condensed", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

h1 {
	position: absolute;
	left: -9999px; /* hidden, but still available to screen reader */
}

h2 {
	text-align: center;
	font-size: 28px;
	line-height: 30px;
	margin: 0;
}

p {
	margin-top: 12px;
	margin-bottom: 0;
}

p:first-of-type {
}

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;
}

/* Links */
a:link,
a:visited,
a:hover {
	color: ;
	text-decoration: underline;
}

a.image-noborder, 
a.image-noborder:visited, 
a.image-noborder:hover {
	text-decoration: none;
	border: 0 none;
}

a.button {
	background-color: white;
	color: black;
	border: none;
	border-radius: 6px;
	padding: 6px 25px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: "Roboto Condensed", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-size: 21px;
	cursor: pointer;
	filter: drop-shadow(2px 1px 2px white); /* white shadow with a little blur */
}

a.button:hover {
	background-color: #23864D; /* RCAN green */
	color: white;
	text-decoration: none;
}



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

}




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

} 



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

#flex_container {
	flex-direction: row;
	justify-content: space-between;
	width: 96%;
	margin: auto;
}

#block_1, #block_2, #block_3 {
	width: 31.8%;
}

#block_2 {
	order: -1;
}

}



/*
LARGE DESKTOP DISPLAYS
*/
@media only screen and (min-width: 1200px) {

#wrapper {
	max-width: 1300px;
	margin: auto;
}

}



/*
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; }
}