/*
CSS DOCUMENT - REX ANIMAL HEALTH
============================================================*/

* {
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
}

body {
	background-color: rgb(245,245,245);
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 300;
	text-align: left;
	color: rgb(128,128,128);
}

/* Text formatting
------------------------------------------------------------*/

h1,
h2,
h3,
h4 {
	margin: 24px 0 16px 0;
	font-family: "Lato", sans-serif;
	font-weight: 900;
	font-style: italic;
	line-height: 120%;
}

h1,
h2 {
	color: rgb(77,77,77);
}

h1 {
	font-size: 42px;
}

h2 {
	font-size: 30px;
}

h3,
h4 {
	color: rgb(102,201,204);
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

#hero h3,
#hero h4,
.green h3,
.green h4,
.overlay h3,
.overlay h4 {
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-style: normal;
	color: rgb(255,255,255);
}

.green h3,
.green h4,
.overlay h3,
.overlay h4 {
	color: rgb(255,255,255);
}


.presspic h3 {
	color: rgb(255,255,255);
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-style: normal;
}

footer h4 {
	font-size: 16px;
}

.pressrelease h1,
.pressrelease h2,
.pressrelease h3,
.pressrelease h4 {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	color: rgb(102,201,204);
}

p,
li {
	margin: 16px 0px 16px 0px;
	font-size:17px;
	font-weight:300;
	line-height: 150%;
}

.pressrelease p {
	text-align: justify;
}

a {
	color: rgb(102,201,204);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

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

img {
	width: 100%;
}

/* Buttons
------------------------------------------------------------*/

button {
	margin: 16px;
	padding: 12px 16px;
	border: 2px solid rgb(77,77,77);
	border-radius: 6px;
	font-size: 18px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	color: rgb(77,77,77);
	background: none;
	outline: none;
	cursor: pointer;
}

button:hover {
	font-weight: 300px;
	color: rgb(255,255,255);
	background-color: rgb(77,77,77);
}

button.cta {
	margin: 16px 0;
	padding: 16px 24px;
	font-size: 20px;
	font-weight: 300;
	color: rgb(255,255,255);
	border-color: rgb(255,255,255);
}

button.cta:hover {
	color: rgb(102,201,204);
	background-color: rgb(255,255,255);
}

/* Menu
------------------------------------------------------------*/

.overlay {
	background-color: rgb(102,201,204);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
	opacity: 0;
	display: none;
	color: rgb(255,255,255);
	background-image: url('/assets/heros/cows-1440.jpeg');
	background-size: cover;
	background-position: bottom;
}

.overlay .screen {
	overflow-y: scroll;
}

.overlay .content {
	height: auto;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 40px;
	overflow: auto;
	display: block;
	box-sizing: border-box;
}

.overlay a:hover .col-3 {
	background-color: rgba(0,0,0,0.05);
	border-radius: 6px;
}

.overlay a {
	color: rgb(255,255,255);
}

.overlay a:hover {
	text-decoration: none;
}

.overlay .row {
	width: 100%;
	box-sizing: border-box;
	display: block;
	position: relative;
}

.overlay img {
	margin-bottom: -3px;
}

/* Top Banner
------------------------------------------------------------*/

.banner {
	height: auto;
	width: 100%;
	max-width: 1400px;
	overflow: auto;
	top: 0;
	left: 0;
	right: 0;
	display: block;
	position: absolute;
	z-index: 10;
	margin: 0 auto;
}

.banner.tiny {
	position: relative;
}

/* Promo Bar
------------------------------------------------------------*/

.promobar {
	height: auto;
	width: 100%;
	overflow: auto;
	display: block;
	position: relative;
	z-index: 100;
	padding: 10px 20px;
	box-sizing: border-box;
	font-size: 14px;
	text-align: center;
	color: rgb(255,255,255);
	background-color: rgb(255,153,85);
}

/* Header
------------------------------------------------------------*/

header {
	height: auto;
	width: 100%;
	overflow: auto;
	display: block;
	position: relative;
	z-index: 10;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 40px 40px 16px 40px;
	font-size: 14px;
}

header .wrapper {
	height: auto;
	overflow: auto;
	max-width: 1000px;
	margin: 0 auto;
}

.tiny header {
	padding: 20px 40px;
	background-color: rgb(102,201,204);
}

/* Navigation
------------------------------------------------------------*/

nav {
	height: 60px;
	font-weight: 400;
	color: rgb(255,255,255);
}

.tiny nav {
	height: 30px;
}

nav a {
	color: rgb(77,77,77);
	font-weight: 400;
	text-decoration: none;
}

.tiny nav a {
	color: rgb(255,255,255);
}

nav a.active {
	text-decoration: underline;
}

nav li {
	display: inline-block;
	font-size: 14px;
	line-height: 43px;
	vertical-align: middle;
}

.tiny nav li {
	line-height: 30px;
}

nav img {
	height: 60px;
	display: inline-block;
	vertical-align: middle;
}

.tiny nav img {
	height: 30px;
	width: 43px;
}

#showmenu,
#hidemenu {
	padding: 6px;
	border-radius: 50%;
	background-color: rgba(102,201,204,0.85);
	color: rgb(255,255,255);
	cursor: pointer;
}

.tiny #showmenu {
	padding: 3px;
}

/* Navigation - Left
------------------------------------------------------------*/

nav.left {
	float: left;
}

nav.left a:hover {
	text-decoration: none;
}

/* Navigation - Right
------------------------------------------------------------*/

nav.right {
	float: right;
}

nav.right li {
	margin: 0 16px 0 0;
	font-size: 14px;
	font-weight: 300;
}

nav.right a:hover {
	text-decoration: underline;
}

/* Wrapper
------------------------------------------------------------*/

#wrapper {
	height: auto;
	max-width: 1200px;
	overflow: auto;
	margin: 0 auto;
	position: relative;
	display: block;
	z-index: 2;
	box-shadow: 0 0px 8px rgba(0,0,0,0.3);
	background-color: rgb(255,255,255);
}

/* Hero
------------------------------------------------------------*/

#hero {
	width: 100%;
	height: 600px;
	background-size: cover;
	background-position: center;
	position: relative;
}

#hero.landing {
	background-image:url('/assets/heros/cows-1440.jpeg');
	background-position: bottom;
}

#hero.press {
	background-image:url('/assets/heros/writing-1440.jpg');
}

#hero.about {
	background-image:url('/assets/heros/team-1440.jpeg');
}

#hero.livestock {
	background-image:url('/assets/heros/fence-1440.jpeg');
}

#hero.pharma {
	background-image:url('/assets/heros/lab-1440.jpg');
}

#hero.citizen {
	background-image:url('/assets/heros/explore-1440.jpeg');
}

#hero .content {
	width: 100%;
	max-width: 550px;
	margin-top: 150px;
	padding: 0 40px;
	display: block;
	float: left;
	box-sizing: border-box;
	opacity: 0;
}

/* Screens
------------------------------------------------------------*/

.screen {
	height: 100%;
	width: 100%;
	position: absolute;
	box-sizing: border-box;
	z-index: 1;
	color: rgb(255,255,255);
}

.screen.slash {
	background-image: url('/assets/screens/screen01.svg');
	background-size: cover;
	background-position: center;
}

.screen.full {
	background-color: rgba(102,201,204,0.85);
}

.screen.blank {
	background: none;
}

/* Content Sections
------------------------------------------------------------*/

section {
	height: auto;
	width: 100%;
	overflow: auto;
	position: relative;
	border-bottom: 1px solid rgb(230,230,230);
}

section.green {
	color: rgb(255,255,255);
	background-color: rgb(102,201,204);
	border-bottom: none;
}

section.gray {
	background-color: rgb(245,245,245);
}

.container {
	width: 100%;
	margin: 0 auto;
	padding: 20px;
	box-sizing: border-box;
}

section.socialproof {
	padding: 30px 0;
	background-color: rgb(230,230,230);
	text-align: center;
}

.socialproof img {
	height: 48px;
	width: auto;
	display: inline-block;
	padding: 10px 20px;
	opacity: 0.6;
}

.socialproof img:hover {
	opacity: 1.0;
}

.row {
	height: auto;
	width: auto;
	overflow: auto;
	margin: 0 auto;
	padding: 0;
	display: block;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6 {
	padding: 20px;
	display: block;
	float: left;
	box-sizing: border-box;
}

.col-1 {
	width: 100%;
}

.col-2 {
	width: 50%;
}

.col-3 {
	width: 33.33%;
}

.col-4 {
	width: 25%;
}

.col-5 {
	width: 20%;
}

.col-6 {
	width: 16.66%;
}

.presspic {
	height: 300px;
	width: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	position: relative;
	border: 1px solid rgb(230,230,230);
	box-sizing: border-box;
}

.presspic .content {
	width: 50%;
	padding: 20px;
	box-sizing: border-box;
	color: rgb(255,255,255);
}

img.teampic {
	width: 100%;
	max-width: 180px;
	margin-bottom: 8px;
	padding: 4px;
	border: 4px solid rgb(102,201,204);
	border-radius: 50%;
	box-sizing: border-box;
}

.previous,
.next {
	padding: 6px;
	margin: 12px;
	border-radius: 50%;
	background-color: rgba(102,201,204,0.85);
	color: rgb(255,255,255);
	cursor: pointer;
}

.slideshow {
	position: relative;
	overflow: hidden;
	padding: 20px;
}

.next:hover,
.previous:hover {
	background-color: rgb(102,201,204);
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	height: auto;
	overflow: auto;
}

/* Footer
------------------------------------------------------------*/

footer {
	height: auto;
	overflow: auto;
	margin: 0 auto;
	padding: 20px 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 36px;
	vertical-align: middle;
	background-color: rgb(77,77,77);
}

footer p {
	font-size: 14px;
}

footer a {
	color: rgb(255,255,255);
}

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

footer .gray a {
	font-size: 13px;
	color: rgb(120,120,120);
}

footer img {
	height: 30px;
	width: auto;
	margin-left: 12px;
}

footer a img {
	opacity: 0.7;
	float: left;
	margin: 0 12px 0 0;
}

footer a:hover img {
	opacity: 1;
}

/* Style & alignment classes
------------------------------------------------------------*/

.no-bottom {
	margin-bottom: 0;
	padding-bottom: 0;
}

.no-top {
	margin-top: 0;
	padding-top: 0;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.justify {
	text-align: justify;
}

/* Google Icons (https://design.google.com/icons/)
------------------------------------------------------------*/

.material-icons {
	display: inline-block;
	vertical-align: middle;
}

.material-icons.circle {
	margin: 16px;
	padding: 8px;
	border: 4px solid rgb(92,181,183);
	border-radius: 50%;
	color: rgb(255,255,255);
	background-color: rgb(102,201,204);
}

.material-icons.green,
.material-icons.gray {
	margin: 16px;
}

.material-icons.green {
	color: rgb(102,201,204);
}

.material-icons.gray {
	color: rgb(180,180,180);
}

.material-icons.md-18 {
	font-size: 18px;
}

.material-icons.md-24 {
	font-size: 24px;
}

.material-icons.md-30 {
	font-size: 30px;
}

.material-icons.md-36 {
	font-size: 36px;
}

.material-icons.md-48 {
	font-size: 48px;
}

/* Media queries
============================================================*/

@media (max-width:960px){

	#hero.landing {
		background-image:url('/assets/heros/cows-960.jpeg');
	}

	#hero.press {
		background-image:url('/assets/heros/writing-960.jpg');
	}

	#hero.about {
		background-image:url('/assets/heros/team-960.jpeg');
	}

	#hero.livestock {
		background-image:url('/assets/heros/fence-960.jpeg');
	}

	#hero.pharma {
		background-image:url('/assets/heros/lab-960.jpg');
	}

	#hero.citizen {
		background-image:url('/assets/heros/explore-960.jpeg');
	}

}

@media (max-width:940px){

	.col-4{
		width: 50%;
	}

	footer .col-4 {
		width: 100%;
		text-align: center;
	}

	footer img,
	footer a img {
		margin:0 auto;
		float: none;
	}

	footer img {
		margin-top: 12px;
		display: block;
	}

}

@media (max-width:800px){

	.col-6 {
		width: 33.33%;
	}

	.overlay p {
		display: none;
	}

}

@media (max-width:800px){

	.screen.slash {
		background-image: none;
		background-color: rgba(102,201,204,0.85);
	}

	.presspic .content {
		width: 100%;
		text-align: center;
	}

	#showmenu {
		background: none;
	}

}

@media (max-width:650px){

	.col-2,
	.col-3 {
		width: 100%;
	}

}

@media (max-width:480px){

	#hero.landing {
		background-image:url('/assets/heros/cows-480.jpeg');
	}

	#hero.press {
		background-image:url('/assets/heros/writing-480.jpg');
	}

	#hero.about {
		background-image:url('/assets/heros/team-480.jpeg');
	}

	#hero.livestock {
		background-image:url('/assets/heros/fence-480.jpeg');
	}

	#hero.pharma {
		background-image:url('/assets/heros/lab-480.jpg');
	}

	#hero.citizen {
		background-image:url('/assets/heros/explore-480.jpeg');
	}

}

@media (max-width:450px){

	.col-6 {
		width: 100%;
	}

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 18px;
	}

	p {
		font-size: 16px;
	}

	.overlay img,
	.overlay a i {
		display: none;
	}

	.overlay h3 {
		margin: 0;
	}

	nav.right li {
		display: none;
	}

}
