/*! 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;
    font-family: 'Roboto Condensed', sans-serif;
}

body {
	background-color: #ebebeb;
}

h1, h2, h3 {
	font-family: 'Roboto Condensed', sans-serif;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none;
}

/*
 * 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 only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   Custom Styles
   ========================================================================== */

/*
 * Type
 */
 
 h1, h2 {
	 color: #cc262a;
 }
 
 h2 {
	 font-size: 2.5rem;
 }
 
 h3 {
	 font-size: 2.5rem;
	 color: #cc262a;
 }
 
 h4 {
	 font-size: 1.7rem;
	 color: #636363;
 }
 
 h5 {
	 font-size: 1.2rem;
	 color: #636363;
 }
 
 p, ul {
	 color: #898989;
	 font-family: 'Open Sans', sans-serif;
 }
 
 a {
	 color: #cc262a;
 }
 
a:hover, a:focus {
    color: #741215 !important;
}

a {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
 
.cat-list, #side-nav ul {
	margin-left: 0;
}
 
.cat-list li, #side-nav ul li {
	list-style: none;
	padding: 10px 0;
	border-bottom: 1px solid #bcbcbc;
}

.cat-list li:hover, #side-nav ul li:hover {
	background: #f5f4f4;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	cursor: pointer;
}

.cat-list li a, #side-nav ul li a {
	display: block;
	margin-left: 10px;
}

/*
 * General Elements
 */


.button, .wpcf7-submit {
	background-color: #cc262a;
	padding: 1.5em 2.3em;
	color: #fff;
	border: none;
}

.button.large {
	font-size: 1.1rem;
}

.button:hover, .wpcf7-submit:hover {
	background-color: #ad1f23;
}

.no-show{
     opacity:0;
}
.show{
     opacity:1no;
}

/* Individual button styles */

/* Winona */
.button--winona {
	overflow: hidden;
	padding: 0;
	-webkit-transition: border-color 0.3s, background-color 0.3s;
	transition: border-color 0.3s, background-color 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--winona::after {
	content: attr(data-text);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	color: #3f51b5;
	-webkit-transform: translate3d(0, 25%, 0);
	transform: translate3d(0, 25%, 0);
}
.button--winona > span {
	display: block;
}
.button--winona.button--inverted {
	color: #7986cb;
}
.button--winona.button--inverted:after {
	color: #fff;
}
.button--winona::after,
.button--winona > span {
	padding: 1em 2em;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--winona:hover {
	border-color: #3f51b5;
	background-color: rgba(63, 81, 181, 0.1);
}
.button--winona.button--inverted:hover {
	border-color: #21333C;
	background-color: #21333C;
}
.button--winona:hover::after {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.button--winona:hover > span {
	opacity: 0;
	-webkit-transform: translate3d(0, -25%, 0);
	transform: translate3d(0, -25%, 0);
}

/*
 * General Page Structure
 */
 
 #page-content {
	 margin: 80px auto;
 }
 
 .listing {
	 padding-bottom: 20px;
	 margin-bottom: 30px;
	 border-bottom: 1px solid #cacaca;
	 float: left;
 }
 
.unslider {
	position: relative;
	margin-bottom: 40px !important;
}

/*
 * Header
 */
 
 /* Nav Effect */
.cl-effect-1 a::before,
.cl-effect-1 a::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

.cl-effect-1 a::before {
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

.cl-effect-1 a::after {
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

.cl-effect-1 a:hover::before,
.cl-effect-1 a:hover::after,
.cl-effect-1 a:focus::before,
.cl-effect-1 a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}
 
 @media only screen and (min-width: 40em) {
 	.top-bar {
    	text-align: center; }

	ul.center-buttons {
    	display: inline-block; }

	.logo {
    	left: 5px;
		top: -2px;
		position: absolute; }
}

.logo {
	max-width: 2rem;
	margin-top: -3px;
	margin-left: 5px;
}

.top-bar.expanded {
  background: #333333; }

.top-bar {
	position: fixed;
	width: 100%;
	background-color: #ebebeb;
	z-index: 105;
	top: 0;
}
  
.top-bar ul {
	background-color: transparent;
	margin-top: 1rem;
}

.top-bar .menu a {
	color: #898989;
	font-size: 1.2rem;
	font-weight: 600;
}


.home .hero {
  height: 100vh !important;
 }
 

.no-video .video-container video,
.touch .video-container video {
  display: none;
}
.no-video .video-container .poster,
.touch .video-container .poster {
  display: block !important;
}
.video-container {
  position: relative;
  bottom: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.video-container .poster img {
  width: 100%;
  bottom: 0;
  position: absolute;
}
.video-container .filter {
  z-index: 100;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
}
.video-container .title-container {
  z-index: 1000;
  position: absolute;
  top: 35%;
  width: 100%;
  text-align: center;
  color: #fff;
}
.video-container .description .inner {
  font-size: 1em;
  width: 45%;
  margin: 0 auto;
}
.video-container .link {
  position: absolute;
  bottom: 3em;
  width: 100%;
  text-align: center;
  z-index: 1001;
  font-size: 2em;
  color: #fff;
}
.video-container .link a {
  color: #fff;
}
.video-container video {
  position: absolute;
  z-index: 0;
  bottom: 0;
}
.video-container video.fillWidth {
  width: 100%;
}
 .hero:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
}


 #home .hero::after {
	 content: '';
	 display: block;
	 width: 1px;
	 height: 400px;
	 background-color: #cc262a;
	 position: absolute;
	 bottom: -195px;
	 left: 50%;
 }
  
 .hero .intro {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	max-width: 580px;
	color: #707070;
	z-index: 100;
 }
 
 .hero .intro div {
	background-color: rgba(255, 255, 255, .8);
	padding: 3.2rem 4.3rem;
 }
 
.hero h1 {
	color: #fff;
	font-size: 1.5rem;
	line-height: 1.5em;
	letter-spacing: -0.025em;
	font-weight: 300;
	text-align: center;
}

.intro h2 {
	color: #636363;
}
 
 .hero p {
	color: #898989;
	line-height: 1.75em;
	font-weight: 200;
	text-align: left;
	margin-bottom: 2rem;
	font-size: 1.3rem;
 }
 
.fa-play {
	
}

.video-btn {
	float: right;
	height: 76px;
}

.play-icon {
	
}

@media only screen and (min-width: 40.063em) {
    .hero h1 {
      padding-top: 4.5rem;
      text-align: left;
      font-size: 2.5rem; }
    .hero p {
      text-align: left;
	}
}

#welcome {
	margin-top: 150px;
}

#welcome p {
	font-size: 1.3rem;
	line-height: 2.6rem;
}

#advantages::before {
	content: " ";
	width: 1px;
	height: 130px;
	background-color: #cc262a;
	margin-left: 0.9375rem;
}

#advantages p {
	width: 90%;
}

#advantages::after {
	content: " ";
	width: 1px;
	height: 130px;
	background-color: #cc262a;
	margin: auto;
}

#advantage-items {
	margin-top: 60px;
	margin-bottom: 100px;
}

#advantage-items div::before {
	text-align: center;
	border-bottom: solid #cc262a 1px;
	width: 80px;
	height: 100px;
	padding-bottom: 20px;
	margin-bottom: 40px;
	display: block;
}

.fire::before {
	content: url(../img/fire-icon.png);
}

.weather::before {
	content: url(../img/weather-icon.png);
}

.occupant::before {
	content: url(../img/occupant-icon.png);
}

.footer {
	background-color: #575757;
	text-align: center;
	font-size: 1.2rem;
	padding: 4rem;
}

.footer .inline-list a {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	background-color: #ebebeb;
	border-radius: 2px;
	font-size: 1.5rem;
	color: #cc262a;
	text-align: center;
	line-height: 35px;
	margin: 0 3px 0 0;
}

.footer .inline-list a:hover {
    color: #cc262a !important;
}

.footer .contact {
	list-style-type: none;
	margin: 0;
	text-align: left;
	color: #ebebeb;
}

.footer .contact li {
	margin-bottom: 2rem;
}

.footer .contact li p {
	padding-left: 5rem;
}

.footer .contact i {
	position: absolute;
	background-color: #ebebeb;
	color: #cc262a;
	font-size: 1.3rem;
	border-radius: 50%;
	line-height: 1;
	margin: 0 0 0 -4rem;
	vertical-align: middle;
	padding: .25em .45em;
}

.footer p {
	color: #ebebeb;
	font-size: 1rem;
}

.footer .copywrite {
	color: #8f9296;
	font-size: .875rem;
	margin: 0 0 1rem;
}

.footer .about {
	color: #ebebeb;
	font-size: .875rem;
	margin: 0 0 1rem;
}

.footer .footer-links a {
	list-style: none;
	font-weight: 400;
	color: #ebebeb;
	padding: 3rem 0 2rem;
	margin: 0;
	font-size: .875rem;
}

.footer .footer-links a:hover {
	color: #b8b8b8 !important;
}

.footer .footer-links a::after {
	content: "•";
	padding: 0 .2rem 0 .4rem;
}

.footer .footer-links a:last-child::after {
	content: "";
	padding: 0 .4rem 0 .8rem;
}

@media only screen and (min-width: 40.063em) {
	.footer p {
		text-align: left;
	}

	.footer .social {
		text-align: left;
		margin: 0;
	}

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

	.footer .contact > i {
		margin-right: 1rem;
	}
}

.logo {
	color: #ebebeb;
	font-size: 1.5rem;
}

.logo i {
	margin-right: .5rem;
}

 /*
 * Products Page
 */



/*
 * Contact Page
 */
 
.page-template-page-contact .hero {
  background: url(../img/contact-hero-image.jpg) no-repeat center center;
  background-size: cover;
  height: 60vh;
  margin-bottom: 100px;
 }
 
 #members {
	 margin-bottom: 100px;
 }
 
 .ind-contact {
	 margin-bottom: 30px;
	 padding-bottom: 10px;
	 border-bottom: 1px solid #bcbcbc;
 }
 
 .member-logo {
	 margin-bottom: 20px;
	 max-width: 200px;
 }
 

 
 /*
 * Gallery Page
 */
 
 #gallery-page .hero {
  background: url(../img/gallery-hero-image.jpg) no-repeat center center;
  background-size: cover;
  height: 60vh;
 }
 
 .gallery-header {
	 margin: 2rem 0;
 }
 
 #gallery-thumbs {
	 margin-bottom: 100px;
	 max-width: 100% !important;
 }
 
 #gallery-thumbs div {
	 padding: 0;
	 margin: 0;
 }
 
.image-wrapper {
	width: 100%;
	height: 100%;
	border: 1px solid rgba(0,0,0,0.04);
	overflow: hidden;
	position: relative;
	text-align: center;
	border-radius: 4px;
}

.image-overlay-content {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
}

.overlay-fade-in p {
	color: #f4f4f4;
	font-size: 28px;
	opacity: 0;
	transition: all .2s linear;
}

.overlay-fade-in img {
	transition: all .2s linear;
}

.overlay-fade-in .image-overlay-content {
	opacity: 0;
	background-color: rgba(173,173,173,0.4);
	transition: all .4s ease-in-out;
}

.overlay-fade-in h2 {
	text-transform: uppercase;
	color: #f2f2f2;
	font-size: 1.8rem;
	margin-top: 20%;
	padding: 20px 0;
	opacity: 0;
	transition: all .2s ease-in-out;
	background: rgba(173,173,173,0.9);
}

.overlay-fade-in .button {
	display: inline-block;
	text-decoration: none;
	padding: 7px 14px;
	background: #FFF;
	color: #222;
	text-transform: uppercase;
	box-shadow: 0 0 1px #000;
	position: relative;
	border: 1px solid #999;
	opacity: 0;
	transition: all .2s ease-in-out;
}

.overlay-fade-in .button:hover {
	box-shadow: 0 0 5px #000;
}

.overlay-fade-in:hover img {
	transform: scale(1.2);
}

.overlay-fade-in:hover .image-overlay-content {
	opacity: 1;
}

.overlay-fade-in:hover h2,.overlay-fade-in p,.overlay-fade-in .button {
	opacity: 1;
}

.overlay-fade-in:hover p {
	transition-delay: .1s;
}

.overlay-fade-in:hover .button {
	transition-delay: .2s;
}


/*
 * Coming Soon
 */
 
 .soon-hero {
  background: url(../img/soon-hero-image.jpg) no-repeat center center;
  background-size: cover;
  height: 75vh;
 }
 
 /*
 * Resources
 */
 
 
.page .hero, .single .hero  {
  height: 60vh;
  margin-top: 80px;
  background-size: cover;
  background-position-y: center;
  background-position-x: center;
 }
 
#gallery-thumbs .column:last-child:not(:first-child), .columns:last-child:not(:first-child) {
	float: left;
}
 
/*
* FAQ
*/
 
 #accordion {
	font-size: 18px;
}

.ui-widget-content a {
	color: #cc262a !important;
}

#accordion p {
	padding: 0 50px;
}

.ui-accordion .ui-accordion-header {
	padding: 30px 20px;
	
}

.ui-accordion .ui-accordion-header:focus {
	outline: none;
}

.ui-state-active {
	background: #cc262a;
	border: #ddac4a;
}