/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

*, *::after, *::before {
  -webkit-box-sizing: border-box;

  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  /* prevent horizontal scrolling */
  /* overflow-x: hidden; */
  height: 100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Icomoon
   ========================================================================== */
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon/fonts/icomoon.eot?lmctr5');
  src:  url('../fonts/icomoon/fonts/icomoon.eot?lmctr5#iefix') format('embedded-opentype'),
    url('../fonts/icomoon/fonts/icomoon.ttf?lmctr5') format('truetype'),
    url('../fonts/icomoon/fonts/icomoon.woff?lmctr5') format('woff'),
    url('../fonts/icomoon/fonts/icomoon.svg?lmctr5#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-checkmark:before {
  content: "\e903";
}
.icon-check-alt:before {
  content: "\e904";
}
.icon-mail:before {
  content: "\e905";
}
.icon-plus:before {
  content: "\e906";
}
.icon-plus-alt:before {
  content: "\e907";
}
.icon-home:before {
  content: "\e900";
}
.icon-home2:before {
  content: "\e901";
}
.icon-home3:before {
  content: "\e902";
}
.icon-phone:before {
  content: "\e942";
}
.icon-address-book:before {
  content: "\e944";
}
.icon-location:before {
  content: "\e947";
}
.icon-location2:before {
  content: "\e948";
}
.icon-compass:before {
  content: "\e949";
}
.icon-compass2:before {
  content: "\e94a";
}
.icon-history:before {
  content: "\e94d";
}
.icon-clock:before {
  content: "\e94e";
}
.icon-clock2:before {
  content: "\e94f";
}
.icon-alarm:before {
  content: "\e950";
}
.icon-mobile:before {
  content: "\e958";
}
.icon-user:before {
  content: "\e971";
}
.icon-users:before {
  content: "\e972";
}
.icon-user-plus:before {
  content: "\e973";
}
.icon-user-minus:before {
  content: "\e974";
}
.icon-user-check:before {
  content: "\e975";
}
.icon-checkbox-checked:before {
  content: "\ea52";
}
.icon-google-plus:before {
  content: "\ea8b";
}
.icon-google-plus2:before {
  content: "\ea8c";
}
.icon-google-plus3:before {
  content: "\ea8d";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-facebook2:before {
  content: "\ea91";
}
.icon-instagram:before {
  content: "\ea92";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-youtube:before {
  content: "\ea9d";
}
.icon-youtube2:before {
  content: "\ea9e";
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.main_h {
	position: fixed;
	max-height: 90px;
	z-index: 999;
	width: 100%;
	padding-top: 17px;
	background: none;
	overflow: hidden;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
	top: -100px;
	padding-bottom: 6px;
	font-family: "Raleway", sans-serif;
}

@media only screen and (max-width: 766px) {
	.main_h {
		max-height: 60px;
	}
}

.open-nav {
	height: 100%;
    max-height: 100%;
}
.open-nav .mobile-toggle {
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
}

.sticky {
	background-color: rgba(255, 255, 255, 0.93);
	opacity: 1;
	top: 0px;
	border-bottom: 1px solid gainsboro;
}

.logo {
	width: 50px;
	float: left;
	margin-bottom: 10px;
}

@media only screen and (max-width: 766px) {
	.logo {
		display: none;
	}
}

nav {
	float: right;
	/* width: 60%; */
}
@media only screen and (max-width: 766px) {
	nav {
		width: 100%;
	}
}
nav ul {
	list-style: none;
	/* overflow: hidden; */
	text-align: right;
	float: right;
}
@media only screen and (max-width: 766px) {
	nav ul {
		padding: 30px 0 0 0;
		margin-bottom: 22px;
		float: left;
		text-align: center;
		width: 100%;
	}
}
nav ul li {
	display: inline-block;
	margin-left: 35px;
}
@media only screen and (max-width: 766px) {
	nav ul li {
		width: 100%;
		padding: 15px 0;
		margin: 0;
	}
}
nav ul a {
	font-size: 16px;
	color: #888888;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-transition: all .1s linear;
}

a.active {
	border-bottom: 3px solid darkorange;
    padding-bottom: 2px;
}

nav ul a:hover {
	border-bottom: 3px solid darkorange;
    padding-bottom: 2px;
}

.social-box-mobile {
	display: none;
}

.social-box-mobile a {
	text-decoration: none;
    color: #888;
    font-size: 32px;
    padding: 0 7px;
}

#nav-toggle {
	display: none;
    width: 40px;
    position: absolute;
    top: 0px;
    right: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #888888;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0px;
}

#nav-toggle span:nth-child(2) {
  top: 11px;
}

#nav-toggle span:nth-child(3) {
  top: 22px;
}

#nav-toggle.open span:nth-child(1) {
  top: 13px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-toggle.open span:nth-child(3) {
  top: 13px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

@media only screen and (max-width: 766px) {
	#nav-toggle {
		display: block;
	}
	
	.social-box-mobile {
		display: block;
		position: absolute;
		bottom: 20px;
		left: 0;
		width: 100%;
		text-align: center;
	}
}

.row {
	position: relative;
	width: 100%;
	max-width: 1040px;
	height: 100%;
	margin: 0 auto;
	padding: 0 2%;
}
   
.scroll-animation a {
	position: absolute;
	bottom: 0px;
	left: 50%;
	z-index: 3;
	transition: opacity .3s;
}
.scroll-animation a:hover {
	opacity: .5;
}
.scroll-animation a span {
	position: absolute;
	bottom: 20px;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 5px solid #fff;
	border-bottom: 5px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb07 2s infinite;
	animation: sdb07 2s infinite;
	opacity: 0;
	box-sizing: border-box;
}
.scroll-animation a span:nth-of-type(1) {
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
}
.scroll-animation a span:nth-of-type(2) {
	bottom: 36px;
	-webkit-animation-delay: .15s;
	animation-delay: .15s;
}
.scroll-animation a span:nth-of-type(3) {
	bottom: 52px;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
@-webkit-keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.darkener {
	position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(-30,40,30,0.2);
    z-index: 3;
}
   
video#bgvid { 
	position: relative;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100%;
    z-index: -100;
}

.main-logo-container{
	position: absolute;
    top: 32%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 4;
}
.main-logo-container img {
	width: 170px;
}

@media only screen and (max-width: 768px) {
	.main-logo-container img {
		width: 120px;
	}
}

section {
	position: relative;
}

section h1 {
	text-align: center;
	text-transform: uppercase;
	color: #444444;
}

.sec-training,
.sec-team,
.sec-references,
.sec-footer ,
.sec-studio {
	padding: 20px;
}

.sec-team {
	text-align: center;
}

.sec-training {
	background-color: #f7f8f9;
    border-bottom: 2px solid #e6e6e6;
	font-family: "Raleway", sans-serif;
}

.sec-training ul li {
	font-family: "Raleway", sans-serif !important;
	line-height: 36px;
	text-indent: -2.3em;
	margin-left: 2.3em;
}

@media screen and (max-device-width: 768px) {
	.sec-training ul li {
		margin-left: 0;
	}
}

.sec-training li.icon-check-alt:before {
    content: "\e904";
    font-family: icomoon;
    color: #00C853;
    font-size: 26px;
	vertical-align: middle;
	margin-right: 10px;
}

.sec-training article {
	width: 80%;
    max-width: 700px;
    margin: 0 auto;
}

@media screen and (max-device-width: 768px) {
	.sec-training article {
		width: 100%;
	}
}

.sec-training p {
	text-align: center;
    margin: 40px 0;
	line-height: 31px;
}

.sec-training h3 {
	text-align: center;
    text-decoration: underline;
	margin-bottom: 35px;
}

.team-img-container {
	display: inline-block;
	height: 380px;
	width: 25%;
	background-size: cover !important;
	vertical-align: middle;
}

.team-description {
	display: inline-block; 
	height: auto;
	width: 25%;
	font-family: 'Raleway', sans-serif;
	vertical-align: middle;
}

.team-description h3 {
	font-size: 26px;
	margin: 0;
}

@media screen and (max-device-width: 768px) {
	.team-img-container {
		display: block;
		width: 100%;
		margin-bottom: 30px;
	}
	
	.team-description {
		display: block; 
		width: 100%;
	}
}

section.home {
	height: 100%;
	overflow: hidden;
}

@media only screen and (min-width: 768px) {
	.social-box {
		position: absolute;
		bottom: 30px;
		right: 40px;
		font-size: 24px;
		z-index: 3;
	}
}

@media only screen and (max-width: 460px) {
	.social-box  {
		display: none;
	}
}

.social-box a {
	text-decoration: none;
	color: white;
}

.social-box span {
	display: inline-block;
    zoom: 1;
	*display: inline;
    margin-left: 10px;
    border: 3px solid;
    cursor: pointer;
    border-radius: 35px;
    padding: 12px;
}

.swiper-container {
	width: 80%; 
	height: 500px;
}

@media screen and (max-device-width: 768px) {
	.swiper-container {
		height: auto;
	}
}

.swiper-slide {
	display: table;
}

.slide-content {
	display: table-cell;
	vertical-align:middle;
}

.slide-content p {
	width: 80%; 
	margin: 0 auto; 
	text-align: center;
}

.image-gallery div {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.client-image {
	width: 190px; 
	height: 190px; 
	background-image: url('../img/clients/placeholder-man.png'); 
	background-repeat: no-repeat; 
	background-position: center;
	background-size: cover;
	margin: 0 auto 30px auto;
	border-radius: 250px;
	
}

#google-maps {
	width: 100%;
	height: 500px;
}

@media screen and (max-device-width: 768px) {
	#google-maps {
		height: 350px;
	}
	
	.swiper-container {
		width: 100% !important;
	}
}

.gm-style .gm-style-iw {
    text-align: center;
}

.sec-references {
	background-color: #f7f8f9;
	border-bottom: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
}

.sec-references p {
	font-family: 'Arapey', serif;
	font-size: 20px;
}

@media screen and (max-device-width: 768px) {
	.sec-references p {
		font-size: 18px;
	}
}

.sec-footer {
	background-color: #2e2e2e;
	color: #ffffff;
	text-align: center;
	padding: 80px 20px;
}

.sec-footer a {
	text-decoration: none;
	color: white;
}

.sec-footer p {
	line-height: 28px;
}

.sec-footer span {
	display: inline-block;
	zoom: 1;
	*display: inline;
	font-size: 30px;
    padding: 10px;
	margin: 0 4px;
	cursor: pointer;
	border-radius: 4px;
}

.sec-footer .icon-facebook {
	background-color: #3B5998;
}

.sec-footer .icon-twitter {
	background-color: #41ABE1;
}

.sec-footer .icon-instagram {
	background-color: #E84160;
}

.footer-line {
	height: 1px;
	width: 80%;
	margin: 0 auto;
    background: #646464;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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 receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (max-device-width: 768px) {
	section.home {
		/* background: url('../img/x2.jpg') no-repeat center center fixed; */
		background: url('../img/mobile-hero.jpg') no-repeat center;
		background-size: cover;
	}
		
	#bgvid {
		display: none;
	}
}

