/* ########## RESET CSS STYLES ########## */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

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

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/* ########## CORE STYLES ########## */

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

body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: 'Lato', sans-serif;
	background: rgba(162,148,144,1);
	background-image: url('../images/bg-main.jpg');
	background-repeat: repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	color: rgba(61,52,47,1);
	position: relative;
	min-height: 100%;
	height: 100%;	
} 

.shell {
	width: 100%;
	height: 100%;
	padding: 0 0 10em 0;
	box-sizing: border-box;
}

.wrapper {
	margin: 0 auto;
	width: 100%;
	vertical-align: middle;
	text-align: center;
	position: relative;
	box-sizing: border-box;	
}

.wrapper-inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

a img {
	border: none;
}

a {
	text-decoration: none;
	color: rgba(61,52,47,1);
}
a:hover {
	text-decoration: underline;
	color: rgba(162,148,144,1);
}

hr {
	background: rgba(162,148,144,0.5);	
	height: 1px;
	border: none;
	width: 100%;
	margin: 2em auto;
	padding: 0;
	clear: both;
}

.pull {
	display: block;
	text-align: center;
}

.pull img {
	max-width: 100%;	
}

.align-right {
	float: right;
}

.align-left {
	float: left;
}

.align-center {
	text-align: center;
	margin: 0 auto;
}

.clear {
	clear: both;
}

.responsive-block {
	display: block;
}

.shadow {
	box-shadow: 1px 1px 8px rgba(0,0,0,0.1);	
}

.box {
	padding: 1em;
	background: rgba(153,158,177,1);	
	border-radius: 0.25em;
}

.responsive-hide {
	display: none;
}

.invisible {
	display: none;	
}	
	
/* ########## TYPOGRAPHY STYLES ########## */

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0.5em 0;
	line-height: 1.2em;
}

h1 {
	font-size: 3em;
	font-weight: 300;
}

h2 {
	font-size: 2em;
	font-weight: 400;
}

h3 {
	font-size: 1.4em;
}

h4, h5, h6 {
	font-size: 1.2em;
}

p {
	margin:  0.5em 0;
	padding: 0;
}

.text-primary,a.text-primary {
	color: rgba(61,52,47,1);
}

.text-secondary,a.text-secondary {
	color: rgba(187,213,50,1);
}

.text-info,a.text-info {
	color: rgb(81,132,158);
}

.text-warning,a.text-warning {
	color: rgb(213,121,13);
}

.text-error,a.text-error {
	color: rgb(226,38,57);
}

.text-success,a.text-success {
	color: rgb(77,153,56);
}

.text-lead {
	font-size: 1.4em;
	line-height: 1.4em;
	font-weight: 100;
}

h2.text-lead {
    font-size: 2em;
}

.text-sm {
	font-size: 0.85em;
}

.text-lg {
	font-size: 1.15em;
}

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

.text-right {
	text-align: right;
}

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

.text-faded {
	color: rgba(162,148,144,1);
}

.text-shadow {
	text-shadow: 0 0 2px rgba(61,52,47,0.5);
}

.text-highlight {
	text-shadow: 0 0 5px rgba(255,255,255,1);
}

.italic {
	font-style: italic;
}

.text-lead.bold {
	font-weight: 400;	
}

.bold {
	font-weight: bold;
}


/* ########## BUTTON STYLES ########## */

button,
.button,
a.button {
	padding: 0 1em;
	color: rgb(255,255,255);	
	background: rgba(162,148,144,1);
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	line-height: 2.5em;
	font-size: 1rem;
}

button:hover,
.button:hover,
a.button:hover {
	text-decoration: none;
	background: rgba(162,148,144,0.85);
	color: rgb(255,255,255);	
}

button.responsive,
.button.responsive,
a.button.responsive {
	display: block;
}

button.xs,
.button.xs {	
	font-size: 0.7em;
}

button.sm,
.button.sm {	
	font-size: 0.85em;
}

button.lg,
.button.lg {	
	font-size: 1.15em;
}

button.primary,
.button.primary {		
	background: rgba(162,148,144,1);
	color: rgb(255,255,255);
}

button.primary:hover,
.button.primary:hover {
	background: rgba(162,148,144,0.85);
	color: rgb(255,255,255);	
}
button.secondary,
.button.secondary {		
	background: rgba(187,213,50,1);
	color: rgb(255,255,255);
}

button.secondary:hover,
.button.secondary:hover {		
	background: rgba(187,213,50,0.85);
	color: rgb(255,255,255);
}

button .icon.left,
.button .icon.left {
	margin-right: 0.5em;
}

button .icon.right,
.button .icon.right {
	margin-left: 0.5em;
}

.button.google,
.button.facebook {
	border-radius: 0.5rem;
	padding: 1rem 2rem;
	box-sizing: border-box;
	margin: 0.25rem 0;
}

.button.google {
	background: rgba(234,69,55,0.8);
}
.button.google:hover {
	background: rgba(234,69,55,1);
}

.button.facebook {
	background: rgba(8,102,255,0.8);
}
.button.facebook:hover {
	background: rgba(8,102,255,1);
}
	
/* ########## CAPTION STYLES ########## */

.slogan {
	font-size: 2.5em;
	width: 100%;
	margin: 0 auto;
    padding: 0.5em 0;
    background: rgba(255,255,255,0.4);
}

.caption {
	font-size: 1.2em;
	margin: 2em auto;
	width: 90%;
	position: relative;
}

.caption .text-lead {
	line-height: 1em;
}

.caption .text-sm {
	font-size: 0.75em;	
}

.caption span {
	display: block;
}

.caption .social {
	color: rgba(143,128,125,1);
	margin: 0.5em 0;
	font-size: 2rem;
}

.caption .button {
	margin: 0.5em 0;
	display: block;	
}


/* ########## BRAND BANNER STYLES ########## */

.brand {
	background: rgba(61,52,47,0.95);
	padding: 0.5em 1em;
	position: fixed;
	bottom: 0;
	width: 100%;
	box-sizing: border-box;
	text-align: right;
	z-index: 1005;
}

.brand .accent {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 50%;
	max-width: 600px;
	z-index: 1006;
}

.brand .accent img {
	width: 100%;	
}
	
.brand .info {
	width: 80%;
	left: 20%;
	position: relative;
	box-sizing: border-box;
}

.brand .info img {
	max-height: 60px;
	margin: 0.5em 0;
	display: inline-block;
	z-index: 1005;
}

.brand .phone {
	font-weight: 100;
	font-style: italic;
	display: none;
	padding: 0;
	z-index: 1007;
	font-size: 1.4em;
	color: rgba(255,255,255,1);
	text-align: right;
}

.brand .phone a {
	color: rgba(255,255,255,1);
	margin: 0.5rem 0;
	display: inline-block;
}

.brand .phone .text-sm {
	color:	rgba(162,148,144,1);
	display: block;
	font-size: 1.2rem;
	padding-top: 0.5em;
}

.brand .dev {
	font-size: 0.8em;
	opacity: 0.75;
	display: block;
	position: relative;
	right: 0.5em;
	margin-top: 0.5em;
	font-style: italic;
}

.brand a {
	color:	rgba(162,148,144,1);
}

.brand a:hover {
	color: rgba(187,213,50,1);
}


.brand .info img.assoc {
	max-width: 150px;
}

.brand .info .side {
	display: block;
	text-align: right;
	position: relative;
	top: 0;
}

/* ########## SIDE MENU STYLES ########## */


.menu a {
	color: rgba(162,148,144,1);	
}

.menu a:hover {
	color: rgba(187,213,50,1);
}

.menu ul {
	list-style: none;
	margin: 1em 0;
}

.menu .social {
	font-size: 1.6em;
}

.menu h5 {
	margin-top: 1em;
	font-weight: 400;
}

.menu em {
	font-size: 0.8em;	
}

.menu button {
	display: block;
	width: 100%;	
}

.siteOverlay {
	transition: all 0.5s ease;
}

.flyoutOpen .siteOverlay {
	background: rgba(0,0,0,0.25);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1003;
}

.menu .menuToggle {
	position: absolute;
	right: 1em;	
	top: 1em;
	font-size: 1.6em;
	cursor: pointer;
}

.menu form {
	margin-bottom: 15em;	
}

/* ########## REVIEW FLYOUT STYLES ########## */


.flyout {
	background: rgba(47,40,35,0.95);
	padding: 2em 2em 10em 2em;
	position: fixed;
	top: 0;
	height: 100%;
	box-sizing: border-box;
	text-align: left;
	z-index: 1004;	
	box-shadow: 0 0 1em rgba(61,52,47,0.75);
	color:	rgba(162,148,144,1);
	line-height: 1.5em;
	max-width: 600px;
	width: 90%;
	right: -90%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	transition: 0.5s;	
}

.flyout.open {
    right: 0;
}

.reviewContainer .reviewToggle {
	position: absolute;
	right: 1em;	
	top: 1em;
	font-size: 1.6em;
	cursor: pointer;
}

.flyout .button,
.flyout button {
	display: block;
	width: 100%;	
}

/* ########## NOTICE STYLES ########## */

.notice {
	border-radius: 0.5em;
	margin: 2em 0;
	padding: 1em;
	overflow: hidden;
	background: rgb(240,240,240);
	color: rgb(120,120,120);		
}

.notice.info {
	background: rgb(217,237,247);
	color: rgb(0,119,192);
}

.notice.warning {
	background: rgb(252,241,227);
	color: rgb(213,121,13);	
}

.notice.error {
	background: rgb(247,223,225);
	color: rgb(226,38,57);		
}

.notice.success {
	background: rgb(223,240,216);
	color: rgb(77,153,56);			
}
	
/* ########## MESSAGE BOX STYLES ########## */

.msg-box {
	border-radius: 0.5em;
	margin: 2em 0;
	padding: 1em;
	border: 1px solid rgb(240,240,240);
	border-left: 5px solid rgb(120,120,120);
	overflow: hidden;
}

.msg-box .title {
	margin: 0;
	font-weight: bold;
	line-height: 1.4em;
	font-size: 1.15em;
}

.msg-box .glyphicons {
	float: left;
	font-size: 2.5em;
	margin-right: 0.25em;
}

.msg-box.info {
	border-left: 5px solid rgb(0,119,192);
}
.msg-box.info .title {
	color: rgb(0,119,192);
}

.msg-box.warning {
	border-left: 5px solid rgb(213,121,13);
}
.info-box.warning .title {
	color: rgb(213,121,13);
}

.msg-box.error {
	border-left: 5px solid rgb(226,38,57);
}
.msg-box.error .title {
	color: rgb(226,38,57);
}

.msg-box.success {
	border-left: 5px solid rgb(77,153,56);
}
.msg-box.success .title {
	color: rgb(77,153,56);
}

.box {
	border-radius: 0.5em;
	background: rgb(240,240,240);
	padding: 2em;
}

/* ########## FORM STYLES ########## */

form label {
	display: block;
	vertical-align: middle;
	font-weight: 400;
	width: 100%;
	line-height: 2em;
}

form label em {
	display: block;
	font-size: 0.8em;
	opacity: 0.75;
	line-height: 1em;
	margin-bottom: 1em;
}

input,
select,
textarea {
	padding: 0.5em;
	border: 1px solid rgba(127,108,101,1);
	margin: 0.3em 0;
	width: 100%;
	box-sizing: border-box;
	box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background: rgba(127,108,101,1);
	outline: none;
	color: rgb(255,255,255);	
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-size: 1em;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
	color: rgb(255,255,255);	
}

textarea {
	height: 8em;	
}

input[type='checkbox'],
input[type='radio'] {
	padding: 0;
	margin: 0;
}
input[type='checkbox'] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

input.error,
select.error,
textarea.error,
.error input,
.error select,
.error textarea {
	border: 1px solid rgb(226,38,57);	
}

input.valid,
select.valid,
textarea.valid,
.valid input,
.valid select,
.valid textarea {
	border: 1px solid rgb(77,153,56);	
}

input:focus,
select:focus,
textarea:focus {
	border: 1px solid rgb(187,213,50);
}

button:disabled:hover,
button:disabled {
	background: rgb(100,100,100);
	cursor: not-allowed;
}

.grecaptcha-badge { 
	transform:scale(0.75); 
	-webkit-transform:scale(0.75);
	box-shadow: none !important;
}


/* ########## CONTENT SLIDER STYLES ########## */

.content-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.content-slider .slick-list
{
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.content-slider .slick-track
{
    position: relative;
	overflow: hidden;	
    top: 0;
    left: 0;
    display: flex;
    margin-left: auto;
    margin-right: auto;
	padding: 1.5em 0;
	
}

.content-slider .slick-track:after
{
    clear: both;
}

.content-slider .slick-slider .slick-track,
.content-slider .slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-slide {
    display: none;
    min-height: 1px;	
	max-width: 28rem;
	
}

.content-slider.slick-initialized .slick-slide
{
    display: block !important;
}

.content-slider .controls .slick-hidden {
    display: none;
}

.content-slider .control {
	position: absolute;
	z-index: 1002 !important;
	font-size: 2.8em;
	opacity: 0.25;
	cursor: pointer;
	top: 0;
}

.content-slider .control:hover {
	opacity: 1;
}

.content-slider .control.prev {
	position: absolute;
	left: 50%;
	margin-left: -1em;	
}

.content-slider .control.next {
	position: absolute;
	right: 50%;
	margin-right: -1em;	
}


/* ########## TESTIMONIALS STYLES ########## */

.reviews {
	position: relative;
	padding: 1em 0;
	width: 100%;
	max-width: 100%;	
}

.reviews .inner {
	margin: 0;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.reviews div.item {
	margin: 0;
	background: rgba(255,255,255,0.9);
	padding: 2em 5em;
	box-sizing: border-box;
	line-height: 1.4em;	
	font-style: italic;
	font-weight: 300;
	white-space: normal;
	display: none;
}

.reviews div.item span {
	display: block;
	margin: 0.5em 0;
}

.reviews div.item .rating {
	font-size: 1.4em;
}

.reviews div.item .author {
	margin-top: 1em;	
}

/* ########## RESPONSIVE STYLES ########## */

@media screen and (max-height: 600px) { 
	.brand .accent {
		width: 35%; /* Fix for corner accent on landscape views */
	}
}

@media screen and (min-height: 800px) and (min-width: 800px) { 
	html {height: 100%;}
}

@media screen and (min-height: 1024px) and (min-width: 800px) {  
	.shell {
		padding: 10em 0;
	}	
}

@media screen and (min-width: 640px) {
	.caption {
		font-size: 1.6em;	
	}
	.caption .button {
		display: inline-block;	
	}
	.slogan {
		font-size: 3em;
	}
	.brand .info img {
		max-height: 75px;
	}
	.brand .phone {	
		font-size: 1.8em;
	}
	.brand .info .side {
		display: inline-block;
	}
	.menu {
		width: 60%;
	}
	.flyout .button,
	.flyout button {
		display: inline-block;
		width: auto;	
	}
	.grecaptcha-badge { 
		position: absolute;
		right: 0;
		margin-top: -0.5em;
	}		
}

@media screen and (min-width: 800px) {
	.content-slider .slick-slide {	
		max-width: 33rem;	
	}
	.reviews div.item {
		margin: 0 1em;
		box-shadow: 0 0 1em rgba(61,52,47,0.75);
	}
	.brand .responsive-hide {
		display: block;
	}
	.brand .accent {	
		width: 40%;
	}
	.brand .phone {
		display: block;
	}
	.slogan {
		font-size: 3em;
        background: none;
	}
	.brand .info img.assoc {
		max-width: 250px;
	}
}

@media screen and (min-width: 1200px) {	
	.brand .phone {
	}
	.brand .info {
		width: 75%;
		left: 25%;	
	}
	.brand .info .side {
		text-align: right;
		margin: 0 2rem;
	}
}

@media screen and (min-width: 1400px) {
	.brand .info {
		width: 70%;
		left: 30%;	
	}
	.brand .phone {
		display: inline-block;
		text-align: center;
		max-width: 250px;
	}
	.brand .info img {
		max-height: 105px;
	}	
	.menu {
		width: 30%;
	}	
}