/*! HTML5 Boilerplate v6.1.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;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * 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;
    white-space: inherit;
}

/*
 * 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
body{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.9;
}
.header-menu-block {
    position: relative;
    display: table;
}

.header-menu-block ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-block ul.menu,
.header-menu-block .menu > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.header-menu-block ul.menu > li,
.header-menu-block .menu > ul > li {
    margin: 0 5px;
    /* Second Level*/
}

.header-menu-block ul.menu > li > a,
.header-menu-block .menu > ul > li > a {
    padding: 5px 15px;
    color: #fff;
    text-transform: uppercase;
}
.header-menu-block ul.menu > li > a:visited,
.header-menu-block .menu > ul > li > a:visited {
    color: #fff;
}
.header-menu-block ul.menu > li > a i,
.header-menu-block .menu > ul > li > a i {
    opacity: 0.7;
    margin-left: 7px;
}

.header-menu-block ul.menu > li:hover > ul,
.header-menu-block .menu > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.header-menu-block ul.menu > li ul,
.header-menu-block .menu > ul > li ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 45px;
    left: 0;
    width: 240px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-radius: 4px;
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    z-index: 200;
}

@media screen and (prefers-reduced-motion: reduce) {
    .header-menu-block ul.menu > li ul,
    .header-menu-block .menu > ul > li ul {
        -webkit-transition: none;
        transition: none;
    }
}

.header-menu-block ul.menu > li ul:after,
.header-menu-block .menu > ul > li ul:after {
    content: '';
    display: block;
    display: block;
    position: absolute;
    top: -15px;
    left: 0;
    width: 240px;
    height: 15px;
    background-color: transparent;
}

.header-menu-block ul.menu > li ul li,
.header-menu-block .menu > ul > li ul li {
    position: relative;
    width: 100%;
}

.header-menu-block ul.menu > li ul li.menu-item-has-children > a,
.header-menu-block .menu > ul > li ul li.menu-item-has-children > a {
    position: relative;
}

.header-menu-block ul.menu > li ul li.menu-item-has-children > a:after,
.header-menu-block .menu > ul > li ul li.menu-item-has-children > a:after {
    content: '';
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #dee2e6;
}

.header-menu-block ul.menu > li ul li:after,
.header-menu-block .menu > ul > li ul li:after {
    content: '';
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #e9ecef;
}

.header-menu-block ul.menu > li ul li:last-child:after,
.header-menu-block .menu > ul > li ul li:last-child:after {
    display: none;
}

.header-menu-block ul.menu > li ul li:hover > ul,
.header-menu-block .menu > ul > li ul li:hover > ul {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.header-menu-block ul.menu > li ul li > a,
.header-menu-block .menu > ul > li ul li > a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
}

.header-menu-block ul.menu > li ul li > ul,
.header-menu-block .menu > ul > li ul li > ul {
    top: 0;
    left: 100%;
    -webkit-transform: translate(10px, 0);
    transform: translate(10px, 0);
    z-index: 30;
}

.header-menu-block ul.menu li,
.header-menu-block .menu > ul li {
    position: relative;
}

.header-menu-block ul.menu li.current_page_item > a,
.header-menu-block ul.menu li.current-menu-ancestor > a,
.header-menu-block ul.menu li.current-menu-parent > a,
.header-menu-block ul.menu li.current-menu-item > a,
.header-menu-block .menu > ul li.current_page_item > a,
.header-menu-block .menu > ul li.current-menu-ancestor > a,
.header-menu-block .menu > ul li.current-menu-parent > a,
.header-menu-block .menu > ul li.current-menu-item > a {
    color: #fff;
}

@media (max-width: 640.98px) {
    .header-menu-block {
        display: none;
    }
}
@media (min-width: 640.98px) {
    .mobile-nav-toggle {
        display: none;
    }
}
/* Off Canvas Navigation */
.off-canvas-navigation {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 100%;
    overflow: auto;
    z-index: 160;
    visibility: hidden;
    will-change: transform;
    background-color: #cecca5;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform: translate(300px, 0);
    transform: translate(300px, 0);
}

.off-canvas-open .off-canvas-navigation {
    visibility: visible;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
/* Mobile Menu */
.off-canvas-main {
    padding: 12px 20px;
}

.off-canvas-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

.off-canvas-main .mobile-menu li {
    position: relative;
    display: block;

}
.off-canvas-main .mobile-menu > li{
    border-top: 1px solid #000;
}
.off-canvas-main .mobile-menu > li > a{
    font-size: 1.31579em;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
}
.off-canvas-main .mobile-menu li > a {
    font-size: 18px;
    padding: 10px 0;
}
.off-canvas-main .mobile-menu li > a:hover {
    text-decoration: none;
}
.off-canvas-main .mobile-menu a {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.off-canvas-main .mobile-menu ul {
    padding-left: 1em;
    border-left: 1px solid #333940;
}
.lore-wrapper {
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.off-canvas-open .lore-wrapper {
    -webkit-transform: translate(-300px, 0) !important;
    transform: translate(-300px, 0) !important;
}
/* Off Canvas Overay */
.off-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background-color: rgba(0,0,0, 0.6);
    -webkit-box-shadow: inset -37px 0px 72px -6px rgba(0, 0, 0, 0.1);
    box-shadow: inset -37px 0px 72px -6px rgba(0, 0, 0, 0.1);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.off-canvas-open .off-canvas-overlay {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(-300px, 0);
    transform: translate(-300px, 0);
}
.menu-close {
    color: #fff;
    margin-right: 15px;
    margin-top: 15px;
    font-size: 28px;
    position: relative;
    display: block;
    text-align: right;
}
.close-icon{
    display: inline-block;
    padding: 15px;
    cursor: pointer;
    font-size: 28px;
}
.hamburger-inner{
    width: 24px;
    height:2px;
}
.is-active .hamburger-inner{
    width: 28px;
    height:1px;
}
.hamburger{
    float: right;
}
/*End menu*/
.phone-icon{
    background: url("../img/phone-icon.png");
    width: 21px;
    height: 23px;
    display: inline-block;
    vertical-align: middle;
}
.rs-hero-block{
    background: url("../img/hero-image.jpg") top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
	padding-bottom: 100px;
}
.rs-hero-block::before{
    content: "";
    background: rgba(0,0,0,0.5);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.rs-header{
    padding: 25px 0;
}
.phone-btn a{
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}
.request-btn a{
    border: 2px solid #cecca5;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}
.request-btn a:hover{
    background: #383838;
    color: #fff;
    text-decoration: none;
}
.hero-title{
	font-family: 'Lora', serif;
	font-weight: 700;
	font-size: 24px;
	color: #cecca5;
}
.hero-sub-title{
	font-family: 'Lora', serif;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
}
.hero-section{
	padding-top: 50px;
}
/*features section*/
.features-section{
	margin-top: -50px;
}
.features-left{
	text-align: center;
	background: url("../img/left-features-bg.png");
	outline: 2px solid #b3b18a;
	outline-offset: -15px;
	padding: 45px !important;
	position: relative;
	z-index: 3;
}
.features-right{
    text-align: center;
    background: url("../img/right-features-bg.png");
    outline: 2px solid #b3b18a;
    outline-offset: -15px;
    padding: 45px !important;
    position: relative;
    z-index: 3;
}
.features-left::before, .features-right::before{
	content: "";
	background: rgba(255,255,255,.8);
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
}
.residential-features{
	list-style: none;
	padding: 0;
	margin: 0;
}
.residential-features li{display: inline-block; position: relative; margin-right: 30px; color: #000000; font-size: 18px; font-weight: 600;
	line-height: 1.3;}
.residential-features li::after{
	content: "";
	width: 5px;
	height: 5px;
	background: #b3b18a;
	position: absolute;
	vertical-align: middle;
	top: 10px;
	right: -20px;
}
.residential-features li:last-child::after{
	content: "";
	width: 0px;
	height: 0px;
	background: #b3b18a;
	position: absolute;
	vertical-align: middle;
	top: 0px;
	right: 0px;
}
.features-content-block h3{
	font-size: 24px;
	color: #383838;
	font-family: 'Lora', serif;
	font-weight: 700;
}
.icon-block{
	margin-bottom: 30px;
}
.features-right{
	text-align: center;
	background: url("../img/right-features-bg.png");
	outline: 2px solid #b3b18a;
	outline-offset: -15px;
	padding: 45px;
	position: relative;
	z-index: 3;
}
.features-right::before{
	content: "";
	background: rgba(255,255,255,.8);
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
}
/*cabinet-fit-section*/
.cabinet-fit-section{
	padding: 45px 0;
	font-size: 16px;
	color: #000;
}
.section-title{
	font-family: 'Lora', serif;
	font-size: 25px;
	color: #383838;
	font-weight: 700;
}
/*testimonials-section*/
.testimonials-section{
	padding: 0px 0 45px 0;
	text-align: center;
}
.divider-block{
	height: 2px;
	min-height: 2px;
	background: #cecca5;
	overflow: hidden;
	margin: 15px 0;
}
.testimonial-item{
	position: relative;
	padding: 0px 65px;
}
.testimonial-item::before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 37px;
	height: 34px;
	background: url("../img/left-quotation.png");
}
.testimonial-item::after{
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 37px;
	height: 34px;
	background: url("../img/right-quotation.png");
}
/*rs-footer*/
.rs-footer{
	background: #cecca5;
	color: #000;
	text-align: center;
	padding: 15px 0;
}
.copyright-text{
	margin: 0;
}
.rs-wrapper{
	background: url("../img/rs-bg.png");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
/*Contact form*/

#contact label { display: block; line-height: 1; font-size: 16px; margin: 0;}
#contact input, textarea, select { width: 100%; margin: 5px 0px 15px; padding: 5px; color: #666; background: #f5f5f5; border: 1px solid #ccc; webkit-border-radius:5px; }
#contact input:focus, textarea:focus, select:focus { border: 1px solid #999; background-color: #fff; color:#333; }
#contact input.submit { width: 85px; cursor: pointer; border: 1px solid #cecca5; background:#cecca5; color:#fff; }
#contact input.submit:hover { background:#444; }
#contact input[type="submit"][disabled] { background:#888; }
#contact fieldset { padding:20px; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; }
#contact legend { padding:7px 10px; font-weight:bold; color:#000; border:1px solid #eee; -webkit-border-radius:5px; -moz-border-radius:5px; margin-bottom:0 !important; margin-bottom:20px; }

#contact span.required{ font-size: 13px; color: #ff0000; } /* Select the colour of the * if the field is required. */

#message { margin: 10px 0; padding: 0; }

.error_message { display: block; height: 22px; line-height: 22px; background: #FBE3E4 url('../img/icons/error.gif') no-repeat 10px center; padding: 3px 10px 3px 35px; color:#8a1f11;border: 1px solid #FBC2C4; -webkit-border-radius:5px; }

.loader { padding: 0 10px; }

#contact #success_page h1 { background: url('../img/icons/success.gif') left no-repeat; padding-left:22px; }

acronym { border-bottom:1px dotted #ccc; }
#verify{
	width: 150px;
}
@media (max-width: 991.98px) {
    .residential-features li {
        display: block;
        list-style: square;
        margin-right: auto;
    }
    .residential-features li::after {
        content: "";
        width: 0px;
        height: 0px;
    }
}
@media (max-width: 575.98px) {
    .features-right {
        margin-top: 30px;
    }
}