/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

html,
body {
	height: 100%;
	min-height: 100%;
}
body {
	background-color: #fff;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.hide, 
.print_display {
	display: none !important;
}

/* FORMAT */

body, 
select, 
input, 
textarea, 
button {
	font-family: 'adelle-sans', Helvetica, Arial, sans-serif;
}
input, 
textarea {
	resize: vertical;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	color: #32353b;
	font-weight: 700;
}
h1 {
	font-size: 42px;
}
h2 {
	font-size: 30px;
	margin-bottom: 25px;
}
h3 {

}
h4 {

}
h5 {

}
h6 {

}
h2 a,
h3 a,
h4 a {
	color: #1d1d1b;
}
h2 a:hover,
h3 a:hover,
h4 a:hover {
	color: #cd1249;
}

p {
	font-size: 15px;
	color: #32353b;
	line-height: 1.6;
	font-weight: 400;
	margin-bottom: 1em;
}
p:last-child {
	margin-bottom: 0;
}
strong,
p strong {
	font-weight: 700;
}
a,
p a,
ul a {
	color: #5ab22c;
}
p a:hover,
ul a:hover {
	color: #5ab22c;
	text-decoration: underline;
}
img {
	max-width: 100%;
}
ul,
ol {
	font-size: 15px;
    padding-left: 17px;
}
ul:not(.pagination) li,
ol li {
	margin-bottom: 0.5em;
}
a,
a:hover {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	text-decoration: none;
}

/* Buttons */

.btn,
button,
input[type="submit"] {
	cursor: pointer;
	text-transform: uppercase;
	font-weight: 700;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
.btn.btn-primary {
	background-color: #2f3485;
	border-color: #2f3485;
}
.btn.btn-grey-outline {
	border-color: #32353b;
	color: #32353b;
}
.btn.btn-grey-outline:hover {
	background: #0056b3;
	border-color: #0056b3;
	color: #fff;
}
.btn i {
	 margin-right: 10px;
	 vertical-align: unset;
}

/*** End buttons ***/

/****************
HEADER & PAGE STRUCTURE 
****************/

/* Sticky footer */
html, body {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
}
.page-content {
	flex: 1 0 auto;
}
.page-footer {
	flex-shrink: 0;
}
/* End */

.section-container {
	width: 90%;
	max-width: 1140px;
	margin: 0 auto;
	position: relative;
	padding: 70px 0;
}

header {
	background: #fff;
	position: relative;
	z-index: 2;
}
header #logo img {
	width: 100%;
	max-width: 220px;
}
header .section-container {
	padding: 20px 0 30px;
}
header nav div {
	margin-top: 10px;
	text-align: center;
}
header nav a {
	text-decoration: underline;
}
header nav a.btn {
	text-decoration: none;
}
@media all and (min-width: 576px) {
	header nav div {
		text-align: left;
	}

	header nav > *:not(:first-child) {
   		margin-left: 30px;
	    padding-left: 30px;
	    border-left: 1px solid #dedede;
	}
}

/************
FOOTER
************/

footer {
	border-top: 1px solid #efefef;
	background: #fff;
	color: #32353b;
}
footer .section-container {
	padding: 40px 0;
}
footer p ,
footer a {
	color: #32353b;
	font-size: 14px;
	font-weight: 700;
}
footer i {
	color: #5ab22c;
}

/************
REPEAT STYLES
************/

.hero {
	background: url(../images/titan-hero.jpg) no-repeat center;
	background-size: cover;
	background-attachment: fixed;
	text-align: center;
	padding: 15vw 5vw;
	position: relative;
	width: 100%;
	height: 100vh;
    overflow: hidden;
	display: flex;
    flex: 1 0 auto;
}
.hero *:not(iframe) {
	position: relative;
	z-index: 2;
   
}
.hero:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: rgba(0,0,0,0.3);
}
.hero h2 {
	color: #fff;
	font-weight: 700;
	font-size: 48px;
	line-height: .6em;
}
.hero h2 span {
	display: block;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 30px;
	font-weight: 400;
}

.hero iframe {
   width: 100vw;
   height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
   min-height: 100vh;
   min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

/* OTHER */

.image-bg {
	position: relative;
}
.image-bg img {
	width: 100%;
	position: relative;
	z-index: 3;
}
.image-bg:before,
.image-bg:after {
	content: '';
	position: absolute;
	bottom: 1px;
	left: 1px;
	width: 20%;
}
.image-bg:before {
	z-index: 2;
	background-color: #60bc4f;
    transform: rotate(-10deg);
    transform-origin: bottom left;
    height: 80%;
}
.image-bg:after {
	z-index: 1; 
	background-color: #2f3485;
	transform: rotate(-25deg);
    transform-origin: bottom left;
	height: 60%;
}

#suppliers .col {
	text-align: center;
}
#suppliers img {
	max-width: 150px;
	max-height: 75px;
	margin: 0 auto;
}

/************
FORM ELEMENTS
************/

.form-wrap {
	position: relative;
}
input,
textarea {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
input[type="search"] {
	padding-right: 40px;
	border-radius: 30px;
}
input[type="search"]:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px #fff;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #fff;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #fff;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color: #fff;
}

/************
ERROR MESSAGES
************/

.message {
	display: block;
	position: relative;
	clear: both;
	background: #d1e3ec;
	color: #fff;
	padding: 15px;
	margin: 0 0 30px 0;
}
.message p, 
.message ul,
.message li {
	list-style: none;
	text-align: left;
	color: #000;
	margin: 0;
	padding: 0;
	font-size: 14px;
}
.message a {
	font-weight: 500;
	color: #000;
	text-decoration: underline;
}
.alert {
	background: #f03e4b;
}
.information {
    background: #268ad3;
}

/**********
RESPONSIVE
*********/
@media all and (max-width: 959px) {
	.hero h2 {
		color: #fff;
		font-weight: 700;
		font-size: 48px;
		line-height: 1em;
	}
}
@media all and (max-width: 768px) {
	.hero {
		height: auto !important;
	}
}

@media all and (max-width: 667px) {
	.hero h1 {
		font-size: 30px;
	}
}

.row.gallery {
	display: -ms-flexbox; /* IE10 */
	display: flex;
	-ms-flex-wrap: wrap; /* IE10 */
	flex-wrap: wrap;
}

/* Create four equal columns that sits next to each other */
.gallery .column {
	-ms-flex: 33.333333%; /* IE10 */
	flex: 33.333333%;
	max-width: 33.333333%;
	padding: 0 4px;
}

.gallery .column div {
	margin-top: 8px;
	vertical-align: middle;
	width:100%;
	position: relative;
}

.gallery .column img {
	width: 100%;
}
.gallery .column div p {
	position: absolute;
	bottom: 0;
	padding:20px 0 15px 20px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	width: 100%;
	background: rgb(11,6,72);
	background: -moz-linear-gradient(0deg, rgba(11,6,72,0.6) 20%, rgba(255,255,255,0) 100%);
	background: -webkit-linear-gradient(0deg, rgba(11,6,72,0.6) 20%, rgba(255,255,255,0) 100%);
	background: linear-gradient(0deg, rgba(11,6,72,0.6) 20%, rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0b0648",endColorstr="#ffffff",GradientType=1);
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
	.gallery .column {
		-ms-flex: 50%;
		flex: 50%;
		max-width: 50%;
	}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
	.gallery .column {
		-ms-flex: 100%;
		flex: 100%;
		max-width: 100%;
	}
}
