/*

	Project: Slim the Barber - Landing Page
	Author:	Nic Rotondo/Optiflux|MediaTribe
	Version: 1.0.4 (2.5)
	Stylesheet:	Gestalt Stylesheet (style.css)
	Initiated: September 8th, 2015
	Updated: October 23rd, 2019
	
*/

/* ---------------

Table of Contents:

1) General
2) Typography
3) Backgrounds & Buttons
4) Dividers
5) Sections Headers
6) Intro
7) About
8) Events
9) Video
10) Store
11) Contact
12) Footer
13) Navigation
14) Responsive Tables
15) Preloader
16) Colophon Modal Styles

*/

/* ==== 1) General ==== */

@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }

::selection {
	background: #00a0dc;
	color:#fff;
}

::-moz-selection {
	background: #00a0dc;
	color:#fff;
}

html {
	position: relative;
	min-height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	background: #fff;
	color: #515151;
	overflow-x: hidden;
	margin: 0;
	text-rendering: geometricPrecision;
}

section {
	position: relative;
}

.img-responsive {
	display: inline-block;
}

/* ==== 2) Typography ==== */

.light {
	color: #fff;
}

.smoke, h5 small {
	color: #aaa;
}

.smokemast {
	color: #ededed;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 2px;
	font-style: normal;
}

/*.text-left {
	text-align: left;
}*/

p {
	margin: 0 0 15px 0;
	font-size: 18px;
	line-height: 36px;
}

p.center {
	margin: 0 0 25px 0;
	text-align: center;
}

p:last-child {
	margin: 0;
}

p.icontext {
	font-size: 1.2em;
	line-height: 2em;
	color: #7c7c7c;
	margin: 0 15px 25px 15px;
}

a {
	color: #239de2;
	padding: 0px 5px;
	/*transition: 0.2s;
	-moz-transition: 0.2s;
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;*/
}

a:hover {
	color: #fff;
	background-color: #239de2;
	text-decoration: none;
	padding: 0px 5px;
	/*transition: 0.2s;
	-moz-transition: 0.2s;
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;*/
}

a:focus, a:active {
	color: #999;
	outline: none;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #111;
	margin: 0 0 15px 0;
}

h1 {
	font-size: 48px;
	letter-spacing: -1px;
}

h2 {
	font-size: 38px;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

h5 {
	font-family: 'Droid Serif', serif;
	font-size: 19px;
	font-style: italic;
	line-height: 1.48;
	margin: 0 0 15px 0;
}

@media (max-width: 768px) {
	
h1 {
	font-size: 42px;
	letter-spacing: 0;
}
h2 {
	font-size: 32px;
}
	
}

@media (max-width: 568px) {
	
h1 {
	font-size: 36px;
}
h2 {
	font-size: 26px;
}
	
}

/* ==== 3) Backgrounds & Buttons ==== */

.white-bg {
	background: #fff;
}

.smoke-bg {
	background: #239de2;
}

.btn, .btn:hover, .btn:focus, .btn:active, .btn:active:focus {
	background: #239de2;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	padding: 11px 20px;
	margin: 0px 0px 0px 0px;
	border-radius: 25px !important;
	border: 3px solid #a7d8f3;
	text-transform: uppercase;
	text-decoration: none;
	outline: none;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.btn:hover {
	background: #a7d8f3;
	color: #239de2;
	border: 3px solid #239de2;
}

a.social-fb {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	background: url("../img/facebook.png");
}

a.social-fb:hover {
	background-position: -50px 0;
}

a.social-tw {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	background: url("../img/twitter.png");
}

a.social-tw:hover {
	background-position: -50px 0;
}

a.social-in {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	background: url("../img/instagram.png");
}

a.social-in:hover {
	background-position: -50px 0;
}

a.social-yt {
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
	background: url("../img/youtube.png");
}

a.social-yt:hover {
	background-position: -50px 0;
}

/* ==== 4) Dividers ==== */

.divide-xs {
	padding-top: 7px;
	padding-bottom: 8px;
}

.divide-sm2 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.divide-sm {
	padding-top: 30px;
	padding-bottom: 30px;
}

.divide-md {
	padding-top: 45px;
	padding-bottom: 45px;
}

.divide-lg {
	padding-top: 60px;
	padding-bottom: 60px;
}

.divide-xl {
	padding-top: 90px;
	padding-bottom: 90px;
}

.divide-md-top {
	padding-top: 45px;
}

.divide-lg-top {
	padding-top: 60px;
}

.divide-md-bottom {
	padding-bottom: 45px;
}

.divide-lg-bottom {
	padding-bottom: 60px;
}

.divide-xl-bottom {
	padding-bottom: 90px;
}

@media (max-width: 768px) {
	
.divide-md {
	padding-top: 30px;
	padding-bottom: 30px;
}

.divide-md-top {
	padding-top: 30px;
}

.divide-lg {
	padding-top: 45px;
	padding-bottom: 45px;
}

.divide-lg-top {
	padding-top: 45px;
}

.divide-md-bottom {
	padding-bottom: 30px;
}

.divide-lg-bottom {
	padding-bottom: 45px;
}

.divide-xl-bottom {
	padding-bottom: 75px;
}

}

hr {
	margin-top: 15px;
	margin-bottom: 15px;
}

hr.no-margin {
	margin-top: 0;
	margin-bottom: 0;
}

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

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

hr.title-divider {
	border-width: 2px 0 0 0;
	max-width: 180px;
}

hr.about {
	border: 1px solid #ababab;
	max-width: 360px;
}

hr.footer {
	border: 1px solid #515151;
	max-width: 360px;
}

/* ==== 5) Sections Headers ==== */

#main_intro {
	background-image: url("../img/mast1.jpg");
	-webkit-background-size: cover;
	-moz-background-size: cover;
  	-o-background-size: cover;
	background-size: cover;
	min-height: 445px;
}

#about {
	background: url("http://stb.optiflux.com/img/slim-bkgd.jpg") no-repeat top center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
  	-o-background-size: cover;
	background-size: cover;
}

#classes-top {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

#events-top {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

#video-top {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

#store-top {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

#contact-top {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

#promo {
	background-image: url("http://stb.optiflux.com/img/accoutrements-bkgd.jpg");
	-webkit-background-size: cover;
	background-size: cover;
}

.parallax {
	background-attachment: fixed;
}

@media screen and (max-device-width: 1024px) {
	
.parallax {
	background-attachment: scroll;
}

}

.section-overlay {
	background: rgba(87, 175, 225, .2);
	position: absolute;
	width: 100%;
	height: 100%;
}

/* ==== 6) Intro ==== */

#main_intro_overlay {
	padding-top: 120px;
}

/*#main_intro,
#main_intro_overlay {
	display: block;
}*/

#main_intro_overlay h1 {
	margin-top: 0;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

#main_intro_overlay h1 span {
	display: inline;
}

#slogan_cycle {
	width: 940px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	overflow: hidden;
}

.slogan_slide {
	width: 940px;
	height: auto;
}

#main_intro_overlay ul {
	padding-bottom: 30px;
	margin-left: -40px;
}

#main_intro_overlay ul li {
	display: inline-block;
}

#main_intro_overlay ul li a {
	margin-left: 8px;
	margin-right: 8px;
}

#main_intro_overlay	{
	text-align: center;
}
												  
#main_intro_overlay h1,
#main_intro_overlay h1 span {
	font-family: "Yanone Kaffeesatz", sans-serif;
	font-weight: 0;
	color: #fff;
	font-size: 48px;
	letter-spacing: 1px;
	line-height: 52px;
	text-transform: none;
	margin-top: 15px;
	text-shadow: 3px 3px 0px rgba(0,0,0,0.10);
}

#main_intro_overlay p {
	font-family: "Crete Round", sans-serif;
	letter-spacing: 1px;
	font-weight: 400;
	font-size: 32px;
	line-height: 40px;
	color:#fff;
	text-shadow: 3px 3px 0px rgba(0,0,0,0.10);
}

#main_intro_overlay p span {
	color: #57afe1;
}

#main_intro_overlay h1 span {
	color: #57afe1;
}

@media (max-width: 760px) {

.logosmall {
	display:inline-block;
}

.logomedium {
	display:none;
}

.logobig {
	display:none;
}

#slogan_cycle, .slogan_slide {
	display: none;
}

#main_intro_overlay h1,
#main_intro_overlay h1 span {
	font-size: 24px;
	letter-spacing: 1px;
	line-height: 30px;
	margin-top: 15px;
}

#main_intro_overlay ul {
	display: none;
}

}

@media (min-width: 761px) and (max-width: 1024px) {

.logosmall {
	display:none;
}

.logomedium {
	display:inline-block;
}

.logobig {
	display:none;
}

#slogan_cycle,
.slogan_slide {
	width: 520px;
	height: auto;
}
	
}

@media (min-width: 1025px) {

.logosmall {
	display:none;
}

.logomedium {
	display:none;
}

.logobig {
	display:inline-block;
}
	
}

/* ==== 7) About ==== */

p.bio {
	padding-bottom: 20px;
	font-size: 18px;
	line-height: 36px;
	text-align: justify; 
}

.media {
	margin: 0;
}

.media-left {
	padding-right: 20px;
}

/* ==== 9) Video ==== */

.video-item {
	padding: 0;
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.video-overlay:hover {
	background: rgba(0, 0, 0, .4);
}

.modal-backdrop.in {
	-webkit-opacity: 0.8;
	-moz-opacity: 0.8;
	opacity: 0.8;
	background-color: #000;
}

.videopic {
	margin: 10px 15px 10px 15px;
	line-height: 35px;
	text-align: left;
}

img.anchoredtop {
	position: relative;
	margin: 15px auto 20px auto;  /*-26 to align with mast horizontal rule*/
}

.ekko-lightbox .modal-content {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	border: none;
	background-color: transparent;
}

.ekko-lightbox .modal-header {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	border: 0;
}

.ekko-lightbox .modal-header .close {
	font-size: 42px;
	font-weight: 100;
	color: #fff;
	text-shadow: none;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
	filter: alpha(opacity=100);
	float: none;
}

.ekko-lightbox .modal-header .close:hover {
	-webkit-opacity: .8;
	-moz-opacity: .8;
	opacity: .8;
	filter: alpha(opacity=80);
}

.ekko-lightbox .modal-body {
	padding: 0;
}

.ekko-lightbox .modal-footer {
	-webkit-opacity: 0.9;
	-moz-opacity: 0.9;
	opacity: 0.9;
	border: 0;
	padding: 0;
}


/* ==== 10) Store ==== */

h4.disclaimer {
	font-size: 13px;
	color: #239de2;
	padding: 12px 0px 20px 25px;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 2px;
}

ul.bullets {
	font-size: 16px;
	color: #515151;
	line-height: 1.8em;
}

p.featured {
	font-size: 1.2em;
	line-height: 1.5em;
	color: #7c7c7c;
	margin: 0px 0px 15px 0px;
}

h3.video {
	font-size: 22px;
	margin-bottom: 8px;
}

@media (max-width: 1198px) {
	
#store .text-left {
	text-align: center;
}

ul.bullets {
	font-size: 16px;
	color: #515151;
	line-height: 1.8em;
	list-style: none;
}

h4.disclaimer {
	font-size: 13px;
	color: #239de2;
	padding: 12px 20% 20px 20%;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.bottom-push {
	padding-bottom: 60px;
}

}

/* ==== 11) Contact ==== */

#contact {
	background: #fff;
}

@media (min-width: 768px) {
	
.form-group {
	display: inline-block;
}

}

.honeypot {
	display: none !important;
}

form .btn, form .btn:hover, form .btn:focus, form .btn:active:focus {
	margin-top: 30px;
}

.flowuplabels .fl_wrap {
	position: relative;
	margin-top: 30px;
	height: 45px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.flowuplabels .fl_label {
	position: absolute;
	background: #fff;
	color: #111;
	font-weight: 300;
	line-height: 1.2;
	padding: 8px;
	left: 30px;
	top: 5px;
	z-index: 3;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	transition: all .1s linear;
}

.flowuplabels .fl_input {
	background: none;
	color: #111;
	padding: 0 0 0 20px;
	height: 43px;
	width: 100%;
	border: 1px solid #eee;
	border-radius: 25px;
	z-index: 2;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.flowuplabels .fl_wrap.focused .fl_label,
.flowuplabels .fl_wrap.populated .fl_label {
	font-size: 12px;
	color: #aaa;
	top: -15px;
}

.flowuplabels .fl_wrap.focused .fl_label {
	color: #00a0dc;
}

.message {
	display: none;
}

#form-alert {
	padding: 5px 15px 5px 15px;
	margin: 15px 0 0 0;
}

.alert li {
	list-style: none;
	display: inline-block;
}

.alert-danger {
	background: #ffaa00;
	border-width: 0;
	border-radius: 0;
	color: #fff;
}

.alert-success {
	background: #7dc800;
	border-width: 0;
	border-radius: 0;
	color: #fff;
}

/* ==== 12) Footer ==== */

#gmap {
	height: 400px;
	border-top: 2px solid #bde1f6;
	border-bottom: 20px solid #bde1f6;
}

@media (max-width: 568px) {
	
#gmap {
	height: 300px;
}
	
}

#promo {
	border-bottom: 20px solid #bde1f6;
}

#promo a:hover {
	background-color: transparent;
}

.footernav {
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
	text-rendering: optimizeLegibility;
}

footer a {
	color: #2c2c2c;
}

footer a:hover {
	color: #fff;
	background-color: #2c2c2c;
}

.alt p {
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #2c2c2c;
	/*letter-spacing: 1px;*/
	margin-bottom: 10px;
	text-rendering: optimizeLegibility;
}

footer .alt a {
	color: #2c2c2c;
}

footer .alt a:hover {
	color: #fff;
}

footer h4 {
	margin: 0;
}

footer h4.copyright {
	font-size: 15px;
	color: #fff;
	line-height: 24px;
	margin: 0px 0px 5px 0px;
	padding: 5px 0px;
	/*white-space: nowrap;*/
}

/*footer p.flux {
	font-size: 16px;
	color: #2c2c2c;
	font-weight: 400;
	text-rendering: optimizeLegibility;
}*/

.fluxlogo {
	display: inline;
	margin: -30px 0px -20px 0px;
}

.fluxlogocolophon {
	display: inline;
	margin-bottom: 20px;
}

#colophon ul {
	text-align: left;
	line-height: 36px;
}

p.colophon {
	line-height: 36px;
	letter-spacing: 0px;
}

p.colophonend {
	line-height: 36px;
	letter-spacing: 0px;
	margin-top: 25px;
	padding: 0px 40px;
}

/* ==== 13) Navigation ==== */

.navbar-default {
	background-color: #fff;
	padding: 5px 0px;
}

.navbar-default .navbar-collapse {
	border-color: #f8f8f8;
}

.navbar-fixed-top {
	position: fixed;
}

.navbar-brand {
	line-height: 0;
}

.nav li:first-child {
	display: none;
}

.nav a {
	color: #111;
}

.nav a:hover {
	color: #aaa !important;
}

.nav .active a {
	color: #57afe1 !important;
}

.navbar li a {
	font-size: 14px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	padding: 33px 12px !important;
}

/*Toggling the Menubar*/

@media (max-width: 475px) { 
	.navbar-big {
		display: none;
	}
	.navbar-sm {
		display: block;
	}
}

@media (min-width: 475px) {
	.navbar-sm {
		display: none;
	}
}

@media (max-width: 767px) {
	.navbar li a {
		padding: 10px 13px !important;
	}
}

.navbar a, .navbar .active a:hover, .navbar .active a:focus {
	background-color: transparent !important;
}

.navbar-brand {
	position: relative;
	padding: 15px 15px !important;
	height: auto;
	line-height: 0;
}

.navbar-brand img:nth-child(2) {
	position: absolute;
	top: 10px;
}

@media (max-width: 1024px) {
	
.navbar-brand img:nth-child(1) {
	opacity: 0 !important;
}
.navbar-brand img:nth-child(2) {
	opacity: 1 !important;
}
.navbar-default {
	background-color: rgba(255, 255, 255, 0.95) !important;
}
.nav a {
	color: #111 !important;
}

}

.navbar-toggle {
	margin-top: 15px;
	margin-bottom: 12px;
	border: 0px solid transparent;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #111;
	width: 30px;
	height: 8px;
	border-radius: 4px;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: transparent;
}

/* ==== 14) Responsive Tables ==== */

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 992px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr { 
	display: block; 
}

/* Hide table headers (but not display: none;, for accessibility) */
thead tr { 
	position: absolute;
	top: -9999px;
	left: -9999px;
}

tr { border: 1px solid #ccc; }

td { 
	/* Behave  like a "row" */
	border: none;
	border-bottom: 1px solid #eee; 
	position: relative;
	padding-left: 50%; 
}

td:before { 
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	top: 6px;
	left: 6px;
	width: 85%; 
	padding-right: 10px; 
	white-space: nowrap;
}

/*
Label the data
*/
/*
td:nth-of-type(1):before { content: "Event/Class"; font-weight: bold; padding: 0px 0px 30px 100px; color: #239de2; }
td:nth-of-type(2):before { content: "Date & Time"; font-weight: bold; padding: 0px 0px 30px 100px; color: #239de2; }
td:nth-of-type(3):before { content: "Location"; font-weight: bold; padding: 0px 0px 30px 100px; color: #239de2; }
td:nth-of-type(4):before { content: "Price/Signup"; font-weight: bold; padding: 0px 0px 30px 100px; color: #239de2; }
	
}
*/

table.respo { 
	width: 100%; 
	border-collapse: collapse;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height:24px;
	color: #000;
	background: #bbd5e3;
}

table.button {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
}

/* Zebra striping */
/*tr:nth-of-type(odd) { 
	background: #fff;
	color: #000;
}*/
th { 
	background: #239de2; 
	color: white; 
	font-weight: bold;
	text-transform: uppercase;
}
td, th { 
	padding: 25px; 
	border: 0px solid #000; 
	text-align: center; 
}

span.bold {
	font-weight: bold;
	margin-bottom: 20px;
}

td.hold {
	max-width: 160px;
	position: relative;
	text-align: center;
	
}

tr.stripe {
	background: #dfe9ee;
}

th.headers {
font-family: 'Montserrat', sans-serif;
text-align: center;
vertical-align: middle;
/*padding-bottom: 20px;*/
font-weight: 400;
font-size: 1.1em;
}

/* ==== 15) Preloader ==== */

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	z-index: 9999;
}

.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	right: 0;
	width: 70px;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.spinner > div {
	width: 18px;
	height: 18px;
	background-color: #aaa;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
	animation: bouncedelay 1.4s infinite ease-in-out;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
	0%, 80%, 100% { -webkit-transform: scale(0.0) }
	40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
	0%, 80%, 100% { 
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	} 40% { 
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}

/* ==== 16) Colophon Modal Styles ==== */

.modal-header {
	border-bottom: 0px solid #e5e5e5
	}
