/* * * * * * * * * * * * * * * * * * * * * 

	Tag Resets
* * * * * * * * * * * * * * * * * * * * */


body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	margin: 0;
	padding: 0;
	border: 0;
}


/* * * * * * * * * * * * * * * * * * * * * 

	Normalize CSS
	http://necolas.github.com/normalize.css/

* * * * * * * * * * * * * * * * * * * * */


html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
audio,
canvas,
video {
	display: block;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

b,
strong {
	font-weight: 600;
}

abbr[title] {
	border-bottom: 1px dotted;
}

input,
textarea,
button,
select {
	margin: 0;
	font-size: 100%;
	line-height: normal;
	vertical-align: baseline;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

textarea {
	overflow: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* * * * * * * * * * * * * * * * * * * * * 

	Web Fonts

* * * * * * * * * * * * * * * * * * * * */


/*@font-face {
	font-family: "";
	src: url('./fonts/') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/


/* * * * * * * * * * * * * * * * * * * * * 

Fluid Media

* * * * * * * * * * * * * * * * * * * * */


figure {
	position: relative;
}

figure img,
figure object,
figure embed,
figure video {
	display: block;
	max-width: 100%; 
}

/* 
interpolation-mode
http://css-tricks.com/ie-fix-bicubic-scaling-for-images/
 */

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Fluid Columns, Fixed Gutters */

.wrapper {
  padding: 0 2em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 2em;
}

/* 
Float Clearing 
http://nicolasgallagher.com/micro-clearfix-hack 
*/

	.group:after {
	    content: " "; 
	    display: table; 
	    clear: both;
	}

	.group {
    	*zoom: 1; 
  }



/* * * * * * * * * * * * * * * * * * * * * 

	Page-Specific Styling (Custom Styles)

* * * * * * * * * * * * * * * * * * * * */


html {
	font-size: 100%;
	line-height: 1;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	background-color: #ddd;
	font: 1em/1.62em "Open Sans", Arial, Helvetica, sans-serif;
	padding:0;
	margin:0;
	/* Advanced Checkbox Hack */
	-webkit-animation: bugfix infinite 1s; 
}

h3 {
	font-family: "Crimson Text", serif;
	font-size: 2em;
	line-height: 1.1;
	padding: 0 .45em .45em;
}

a,
a:visited {
	text-decoration: none;
}

p {
	font-size:1.063em; 
	font-weight: 300;
	line-height: 1.6;
	margin: 1.3em 0;
	vertical-align: top;
}

.tm {
	font-size:60%;
}

#hero {
	position: relative;
	width: 100vw;
	/*max-width: 920px;*/
	height: 49vw;
	/*height: 485px;*/
	/*margin: 0;*/
	margin: 0 auto;
	padding:0;
	background-image: 
		url(./img/RVP_headers_R3_SLIDE1.jpg), 
		url(./img/RVP_headers_R3_SLIDE2.jpg), 
		url(./img/RVP_headers_R3_SLIDE3.jpg), 
		url(./img/RVP_headers_R3_SLIDE4.jpg), 
		url(./img/RVP_headers_R3_SLIDE5.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	/*box-shadow: 0.4vw 0.4vw 0.4vw #999;*/
	animation: rotatebg 20s ease-in-out infinite;
}

@keyframes rotatebg {
	/*													 1 			2				 3				4				 5												*/
	0%		{background-position: 0 0, 100vw 0, 100vw 0, 100vw 0, 100vw 0}
	16%		{background-position: 0 0, 100vw 0, 100vw 0, 100vw 0, 100vw 0}
	/*														 1 			 2		  3				 4				5												*/
	20%		{background-position: -100vw 0, 0 0, 100vw 0, 100vw 0, 100vw 0;}
	36%		{background-position: -100vw 0, 0 0, 100vw 0, 100vw 0, 100vw 0;}
	/*														 1 							 2			3			 4			  5							  	*/
	40%		{background-position: -100vw -100vw, -100vw 0, 0 0, 100vw 0, 100vw 0;}
	56%		{background-position: -100vw -100vw, -100vw 0, 0 0, 100vw 0, 100vw 0;}
	/*														 1 							 2				 		3		    4			 5					  */
	60%		{background-position: 100vw -100vw, -100vw -100vw, -100vw 0, 0 0, 100vw 0;}
	76%		{background-position: 100vw -100vw, -100vw -100vw, -100vw 0, 0 0, 100vw 0;}
	/*													   1 			    2				      3				       4			5		      */
	80%		{background-position: 100vw 0, 100vw -100vw, -100vw -100vw, -100vw 0, 0 0;}
	96%		{background-position: 100vw 0, 100vw -100vw, -100vw -100vw, -100vw 0, 0 0;}
	/*													 1 			2				 3				      4				      5						  */
	100%	{background-position: 0 0, 100vw 0, 100vw -100vw, -100vw -100vw, -100vw 0;}
}

#hero nav {
	position: absolute;
	top:3%;
	right:3%;
}

#hero nav a {
	font-size: .95em;
	padding: .5em;
	color: white;
	text-shadow: 1px 1px 2px #000;
}

#realv_logo {
	position:absolute;
	width: 18%;
	top: 6%;
	left: 3%;
}

#topos_logo {
	position:absolute;
	width:4%;
	bottom:15%;
	right:4%;
}

#tagline {
	position: absolute;
	top: 5%;
	/*bottom: 10%;*/
	right: 4%;
	font-size: .8em;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	white-space: nowrap;
}

.wrapper {
	max-width: 970px;
	margin:0 auto;
}

.white_bg {
	background-color: #fff;
	padding-left: 3em;
	padding-right:3em;
}

figure.stackable_pics {
	display:inline-block;
	width:48%;
}

figure.stackable_pics:last-child {
	margin-left:20px;
}

div.lefty_holder {
	padding:1em 0 1em 1em;
}

div.lefty-text {
	display:inline-block;
	width:50%;
	vertical-align: top;
}

#focusgroup {
	display:inline-block; 
	width:40%; 
	padding:1.9em 1em 1em 3em;
}

.responsive_iframe_container {
	margin-bottom: 2.5em; 
	text-align:center;
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}

.responsive_iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

input[type="email"] {
	width: 15em;
	padding: .6em 1.3em;
	font-weight: 300;
	font-size: .8em;
	margin: .6em 0;
}

input[type="password"],
input[type="text"] {
	margin-right:1em;
	padding: .25em 1.3em;
	vertical-align: middle;
}

input[type="submit"],
.buton {
	padding: .4em 1.3em;
	color: #fff;
	background-color: #000;
	font-weight: 300;
	font-size: .8em;
	margin-right:1em;
}

.buton:hover{
	cursor: pointer;
}

.faces {
	width: 100%;
}

.faces img {
	vertical-align: top;
	width:20%;
}

.faces img:hover, .faces img.hover {

}

.blogpost {
	margin-bottom:5em;
	padding:0 4em;
}

.blogpost:first-child {
	margin-top:4em;
}


footer {
	padding:2em 4em;	
	margin: 6em auto;
}

footer h3 {
	margin-bottom: .3em;
	padding:0;
}

footer div {
	display:inline-block;
	vertical-align: top;
	margin-bottom:2em;
}

footer div:last-child {
	float:right;
}

footer img {
	width:35px;
}

footer h5 {
	margin:0;
	padding:0;
	font-size:.7em;
}

footer h6 {
	margin:0;
	margin-bottom:.3em;
	padding:0;
	font-family: "Crimson Text", serif;
	font-size:1.1em;
	font-style: normal;
}

footer p {
	margin:0;
	font-size:.7em;
	font-weight: bold;
}

footer a {
	color:#000;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer nav {
	margin-bottom:2em;
}


/* * * * * * * * * * * * * * * * * * * * * 

	Media Queries for screen less than 890px

* * * * * * * * * * * * * * * * * * * * */


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

	#hero nav {
		right:6%;
	}

	#hero nav a {
		font-size: .9em;
		padding: .4em;
		text-shadow: 1px 1px 1px #000;
	}

	#topos_logo {
		width:6%;
		right:8%;
	}

	#tagline {
		top: 0;
		/*bottom: 0;*/
		right: 8%;
		font-size: .6em;
	}

	h3 {
		font-size: 1.7em;
		line-height: 1.1;
		padding: 0 .45em .45em;
	}

	.white_bg {
		padding-left: .5em;
		padding-right:.5em;
	}

	figure.stackable_pics {
		width:100%;
	}

	figure.stackable_pics:last-child {
		margin-left:inherit;
	}

	div.lefty_holder {
		padding:1em;
	}

	div.lefty-text {
		width: 100%
	}

	#focusgroup {
		width: 100%;
		padding:1em 0;
	}

	.faces img {
		width:25%;
	}


}

/* * * * * * * * * * * * * * * * * * * * * 

	Media Queries for screen less than 750px

* * * * * * * * * * * * * * * * * * * * */

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

	.faces img {
		width:33.3333%;
	}

	footer {
		padding:2em .5em;	
		margin-bottom: 6em;
	}


}

/* * * * * * * * * * * * * * * * * * * * * 

	Media Queries for screen less than 540px

* * * * * * * * * * * * * * * * * * * * */

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

	.wrapper {
		padding: 0 1em;
	}

	.blogpost {
		margin-bottom:5em;
		padding:0 .5em;
	}

	.blogpost:first-child {
		margin-top:2em;
	}

	footer div:last-child {
		float:none;
	}
	.faces img {
		width:50%;
	}



}
