/* ==========================================================================
HubSpot Migrations Services - COS Boilerplate v2.0.0                              
========================================================================== */


/* ==========================================================================
Table of Contents:

1. EXTERNAL RESOURCES
2. BASE STYLES
3. COS STRUCTURE
4. MAIN NAVIGATION
5. BLOG
6. FORMS
7. BUTTONS
8. MISCELLANEOUS
9. MOBILE MEDIA QUERIES
========================================================================== */


/* ==========================================================================
1. EXTERNAL RESOURCES                                            
========================================================================== */


/* =============== @import, @font-face, and CSS File Includes =============== */
@import url('//fonts.googleapis.com/css?family=Quicksand:300,400,500,700|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
  font-family: revicons;
  src: url('//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/font/revicons.eot');
  src: url('//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/font/revicons.eot?5510888#iefix') format('embedded-opentype'),
    url('//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/font/revicons.woff') format('woff'),
    url('//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/font/revicons.ttf') format('truetype'),
    url('//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/font/revicons.svg#revicons') format('svg');
  font-weight: 400;
}


/* EX: @import url('http://example.com/example_style.css'); */

/* HubSpot_Boilerplate-modules.css is required to address style issues with the default modules and responsive grid layout */
/* Images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}
img.alignRight, img.alignright{ margin: 0 0 5px 15px; }
img.alignLeft, img.alignleft{ margin: 0 15px 5px 0; }

/* Reduces min-height on bootstrap structure */
.row-fluid [class*="span"] { min-height: 1px; }

/* Blog Social Sharing */
.hs-blog-social-share .hs-blog-social-share-list {
    margin: 0;
    list-style: none !important;
}
.hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item {
    height: 30px;
    list-style: none !important;
}
@media (max-width: 479px){
    .hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item:nth-child(2) {
        float: none !important; /* Stack social icons into two rows on phones */
    }
}
.hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item .fb-like > span{
    vertical-align: top !important; /* Aligns Facebook icon with other social media icons */
}

/* Captcha */
#recaptcha_response_field {
    width: auto !important;
    display: inline-block !important;
}

/* line height fix for reCaptcha theme */
#recaptcha_table td {line-height: 0;}
.recaptchatable #recaptcha_response_field { min-height: 0;line-height: 12px; }

@media all and (max-width: 400px) {
/* beat recaptcha into being responsive, !importants and specificity are necessary */
    #captcha_wrapper,
    #recaptcha_area,
    #recaptcha_area table#recaptcha_table,
    #recaptcha_area table#recaptcha_table .recaptcha_r1_c1 {
        width: auto !important;
        overflow: hidden; 
    }
    #recaptcha_area table#recaptcha_table .recaptcha_r4_c4 { width: 67px !important; }
    #recaptcha_area table#recaptcha_table #recaptcha_image { width:280px !important; }
}

/* Videos */
video {
    max-width: 100%;
    height: auto;
}

/* Date Picker */
#calroot {
    width: 202px !important;
    line-height: normal;
}
#calroot,
#calroot *,
#calroot *:before,
#calroot *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
} 
#calroot select {
    min-height: 0 !important;
    padding: 1px 2px !important;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet MS", Verdana, sans-serif !important;
    font-size: 10px !important;
    line-height: 18px !important;
    font-weight: normal !important;
} 
#caldays {
    margin-bottom: 4px;
}

/* Responsive Embed Container (iFrame, Object, Embed) */
.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
}
.hs-responsive-embed iframe, 
.hs-responsive-embed object, 
.hs-responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hs-responsive-embed.hs-responsive-embed-instagram {
    padding-top: 0px;
    padding-bottom: 116.01%;
}
.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 0 0 0 0;
}
.hs-responsive-embed.hs-responsive-embed-pinterest iframe {
    position: static;
    width: auto;
    height: auto;
}
iframe[src^="http://www.slideshare.net/slideshow/embed_code/"] {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 568px) {
    iframe {
        max-width: 100%;
    }
}

/* Forms */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
select {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Fix radio button and check box fields in multi column forms*/
.hs-form fieldset[class*="form-columns"] input[type="checkbox"].hs-input,
.hs-form fieldset[class*="form-columns"] input[type="radio"].hs-input {
    width: auto;
}

/* System Template Forms */
#email-prefs-form .email-edit {
    width: 100% !important;
    max-width: 507px !important;
}
#hs-pwd-widget-password {
    height: auto !important;
}

/* Menus */
.hs-menu-wrapper ul {
    padding: 0; 
}

/* Horizontal Menu
   ========================================================================== */

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul:before {
    content: " ";
    display: table;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul:after {
    content: " ";
    display: table;
    clear: both;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: left;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    display: inline-block;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}
.row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch {
    position: relative;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children {
    position: static;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:before {
    content: " ";
    display: table;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:after {
    content: " ";
    display: table;
    clear: both;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li {
    float: left;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
    display: inline-block;
}

/* Vertical Menu
   ========================================================================== */ 

.hs-menu-wrapper.hs-menu-flow-vertical {
    width: 100%;
}
.hs-menu-wrapper.hs-menu-flow-vertical ul {
    list-style: none;
    margin: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical li a {
    display: block;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-menu-depth-1 > a {
    width: auto;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children {
    position: relative;
}

/* Flyouts */
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 959px) {
    .hs-menu-wrapper, .hs-menu-wrapper * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 100%;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal ul {
        list-style: none;
        margin: 0;
        display: block;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
        display: block;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
        float: none;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
        display: block;
    }

    /* Stacking Horizontal Nav for Mobile */
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal ul ul ul {
        padding: 0;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
        white-space: normal;
    }

    /* Stacking Vertical Nav for Mobile */
    .hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper  {
        position: static;
        opacity: 1;
        visibility: visible;
    }
}

.hs-menu-wrapper.hs-menu-flow-vertical.no-flyouts .hs-menu-children-wrapper {
    visibility: visible;
    opacity: 1;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Space Module */
.widget-type-space { visibility: hidden; }

/* Blog Author Section */
.hs-author-social-links { display: inline-block; }
.hs-author-social-links a.hs-author-social-link {
    width: 24px;
    height: 24px;
    border-width: 0px;
    border: 0px;
    line-height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: inline-block;
    text-indent: -99999px;
}
.hs-author-social-links a.hs-author-social-link.hs-social-facebook {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/facebook-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-linkedin {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/linkedin-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-twitter {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/twitter-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-google-plus {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/googleplus-24x24.png");
}

/* Fix for CTA border box issue */
.hs-cta-wrapper a {
box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/* Wrapper */
.hs_cos_wrapper_type_image_slider {
    display: block;
    overflow: hidden
}

/* Browser Resets */
.hs_cos_flex-container a:active,
.hs_cos_flex-slider a:active,
.hs_cos_flex-container a:focus,
.hs_cos_flex-slider a:focus  {outline: none;}
.hs_cos_flex-slides,
.hs_cos_flex-control-nav,
.hs_cos_flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */

/* FlexSlider Default Theme
*********************************/
.hs_cos_flex-slider {margin: 0 0 60px; padding: 0; background: #fff; border: 0; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; zoom: 1;}
.hs_cos_flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .hs_cos_flex-viewport {max-height: 300px;}
.hs_cos_flex-slider .hs_cos_flex-slides {zoom: 1;}

.carousel li {margin-right: 5px}

/* FlexSlider Necessary Styles
*********************************/
.hs_cos_flex-slider .hs_cos_flex-slides > li {display: none; -webkit-backface-visibility: hidden; position: relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.hs_cos_flex-slider .hs_cos_flex-slides img {width: 100%; display: block; border-radius: 0px;}
.hs_cos_flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .hs_cos_flex-slides element */
.hs_cos_flex-slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .hs_cos_flex-slides {display: block;}
* html .hs_cos_flex-slides {height: 1%;}


/* Direction Nav */
.hs_cos_flex-direction-nav {*height: 0;}
.hs_cos_flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/bg_direction_nav.png") no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.hs_cos_flex-direction-nav .hs_cos_flex-next {background-position: 100% 0; right: -36px; }
.hs_cos_flex-direction-nav .hs_cos_flex-prev {left: -36px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next {opacity: 0.8; right: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-prev {opacity: 0.8; left: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next:hover, .hs_cos_flex-slider:hover .hs_cos_flex-prev:hover {opacity: 1;}
.hs_cos_flex-direction-nav .hs_cos_flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Direction Nav for the Thumbnail Carousel */
.hs_cos_flex_thumbnavs-direction-nav {
    margin: 0px;
    padding: 0px;
    list-style: none;
    }
.hs_cos_flex_thumbnavs-direction-nav {*height: 0;}
.hs_cos_flex_thumbnavs-direction-nav a {width: 30px; height: 140px; margin: -60px 0 0; display: block; background: url("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/bg_direction_nav.png") no-repeat 0 40%; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 1; -webkit-transition: all .3s ease;}
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-next {background-position: 100% 40%; right: 0px; }
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-prev {left: 0px;}
.hs-cos-flex-slider-control-panel img { cursor: pointer; }
.hs-cos-flex-slider-control-panel img:hover { opacity:.8; }
.hs-cos-flex-slider-control-panel { margin-top: -30px; }



/* Control Nav */
.hs_cos_flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.hs_cos_flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.hs_cos_flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.hs_cos_flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.hs_cos_flex-control-paging li a.hs_cos_flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.hs_cos_flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.hs_cos_flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.hs_cos_flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.hs_cos_flex-control-thumbs img:hover {opacity: 1;}
.hs_cos_flex-control-thumbs .hs_cos_flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .hs_cos_flex-direction-nav .hs_cos_flex-prev {opacity: 1; left: 0;}
  .hs_cos_flex-direction-nav .hs_cos_flex-next {opacity: 1; right: 0;}
}

.hs_cos_flex-slider .caption {
    background-color: black;
    position: static;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    top: 40%;
    text-align: center;
}
.hs_cos_flex-slider .superimpose .caption {
    color: white;
    font-size: 3em;
    line-height: 1.1em;
    position: absolute;
    padding: 0px 5% 0px 5%;
    width: 90%;
    top: 40%;
    text-align: center;
    background-color: transparent;
}

@media all and (max-width: 400px) {
    .hs_cos_flex-slider .superimpose .caption {
        background-color: black;
        position: static;
        font-size: 2em;
        line-height: 1.1em;
        color: white;
        width: 90%;
        padding: 0px 5% 0px 5%;
        top: 40%;
        text-align: center;
    }
}

.hs_cos_flex-slider h1,
.hs_cos_flex-slider h2,
.hs_cos_flex-slider h3,
.hs_cos_flex-slider h4,
.hs_cos_flex-slider h5,
.hs_cos_flex-slider h6,
.hs_cos_flex-slider p {
    color: white;
}
/* Thumbnail only version of the gallery */
.hs-gallery-thumbnails li {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    margin-right:-4px;
}
.hs-gallery-thumbnails.fixed-height li img {
    max-height: 150px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
}

/* responsive pre elements */
pre { overflow-x: auto; }

/* responsive pre tables */
table pre { white-space: pre-wrap; }

/* Corrects width issues in table elements created via the wysiwyg editor */
table tr td img { max-width: initial; }

/* adding minimal spacing for blog comments */
.comment { margin: 10px 0 10px 0; }

/* make sure lines with no whitespace don't interefere with layout */
.hs_cos_wrapper_type_rich_text,
.hs_cos_wrapper_type_text,
.hs_cos_wrapper_type_header,
.hs_cos_wrapper_type_section_header,
.hs_cos_wrapper_type_raw_html,
.hs_cos_wrapper_type_raw_jinja,
.hs_cos_wrapper_type_page_footer {
    word-wrap: break-word;
}

/* HTML 5 Reset */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}
audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) {
    display: none;
}

/* Support migrations from wordpress */
.wp-float-left {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-float-right {
    float: right;
    margin: 0 0 20px 20px;
}

/* Responsive Google Maps */
#map_canvas img, .google-maps img { max-width: none; }




/* ==========================================================================
2. BASE STYLES                              html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}               
========================================================================== */

/* =============== Base =============== */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
} 

body {
  color: #34495e;
  font-family: "Roboto", "Sans-Serif";
  font-size: 17px;
  line-height: 1.42857143;
  background-image: url(//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/image/pattern.png);
  background-position: top left;
  background-repeat: repeat;
  background-color: #fff !important;
  background-attachment: fixed;
  background-size: inherit;
  -moz-background-size: inherit;
  -webkit-background-size: inherit;
  -o-background-size: inherit;
  -webkit-font-smoothing: antialiased;
}
#site-wrapper{
  /*max-width: 1200px;*/
  margin: 0 auto;
  position: relative;
  box-shadow:  0px 0px 0px 0px #fff;
  overflow: hidden;
}


/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* Highlighted Text */
::-moz-selection {
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  background: #3399FF;
}
::selection {
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  background: #3399FF;
}

/* Added 071020 by Rubix regarding PO 573 */
.csm-header-top, .csm-header-right ul li:nth-child(3) { display:none !important; }
.csm-logo img { max-width: 80% !important; }
.csm-footer-group .row-number-5 { width: 1200px; margin: 0 auto; }
.csm-home-page #hs_cos_wrapper_module_1554469590076942 .page-center { max-width:100% !important; padding:0 !important; }

/* ==========================================================================
Macros                                                  
========================================================================== */


/** 
* Create jinja macros for CSS3 properties that need browser prefixes.
*
* Apply the style as shown below on it's own CSS property line.  
* Ignore the jinja comment tags. 
*
* 
*/








/* =============== Typography =============== */

/* Basic text */
p {
  margin: 0 0 12px;
} 
small {}
strong {
  font-weight: 600 ;
  color: #354569 ;
}
em {}
cite {}
code {}
pre {}

sup, sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-family: inherit;
  color: inherit;
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 16px;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}


h1 {
  font-size: 41px;
}
h2 {
  font-size: 36px;
  color: #354569;
  margin-bottom: 0;
  font-family: Helvetica;
}
h3 {
  font-size: 24px;
  color: #354569;
}
h4 {
  font-family: Helvetica;
  font-size: 20px;
}
h5 {
}
h6 {
}

/* Anchor Links */
a { 
  color: #354569;
  text-decoration: none;
}
a:hover, a:focus { 
  outline: 0;
  color: #4f669c;
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: 12px;
}
ul ul, ul ol, ol ol, ol ul {}
li {}

/* Block Quotes */
blockquote {}
blockquote p {}
blockquote small {}

/* Horizontal Rules */
hr {
  color: #ccc;
  background-color: #ccc;
  height: 1px;
  border: none;
}


/* =============== EU Cookie Confirmation Bar =============== */

/* Confirmation Outer Wrapper*/
#hs-eu-cookie-confirmation {}

/* Confirmation Inner Wrapper*/
#hs-eu-cookie-confirmation-inner {}
#hs-eu-cookie-confirmation-inner p{}

/* Confirmation Button */
#hs-en-cookie-confirmation-buttons-area {}
a#hs-eu-confirmation-button {}


/* ==========================================================================
3. COS STRUCTURE                                            
========================================================================== */


/* =============== Structure =============== */

/* The outer wrappers of your website */
.header-container-wrapper, 
.body-container-wrapper, 
.footer-container-wrapper {}

/* The inner wrappers of your website */
.header-container, 
.body-container, 
.footer-container {}


/* =============== Header =============== */

.header-container-wrapper {}
.header-container {}

.csm-header-group{
  background-color: rgba(53,69,105,1);
}

.csm-header-group .page-center{}
.csm-header-top{
  background-color: rgba(33,42,68,1);
}
.csm-header-bottom{
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: #3d566f;
  margin-top: -2px;
  border-color: #517497;
  /*background-color: rgba(33,42,68,1);*/
  background-color: #354669;
  /*background-image: url(//cdn2.hubspot.net/hubfs/2773045/denleigh_april2019/image/denleigh-header.jpg);*/
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.csm-header-social {
  width: 24%;
  float: right;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 4px;
}
.csm-header-social ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
  float: right;
}
.csm-header-social ul li {
  padding: 0 1px 1px;
  position: relative;
  text-align: center;
  display: inline-block;
  list-style-type: none;
  list-style-position: outside;
  margin: 0;
  float: left;
}
.csm-header-social ul li a div {
  padding: 11.846211552888px 7.8769692423106px 3.9077269317329px;
  font-size: 21px;
  color: #ffffff;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  background-color: #3f4d70;
}
.csm-header-social ul li a div i {
  font-size: 26px;
  line-height: 20px;
  width: 27.3px;
  height: 27.3px;
  display: block;
}
.csm-header-social ul li a:hover div {
  background-color: #fff;
  color: #000;
}
.csm-header-bottom .page-center > .row-fluid-wrapper {
  padding-top: 40px;
  /*changed to 40 from 75 - 071020 */
  padding-right: 0px;
  padding-bottom: 32px;
  padding-left: 38px;
  margin-right: -10px;
  margin-left: -10px;
  position: relative;
}
.csm-header-bottom .csm-logo {
  padding-right: 10px;
  padding-left: 10px;
  width: 33.33333333%;
  margin-top: -8px;
}
.csm-header-bottom .csm-header-right {
  width: 26%;
  float: right;
  margin-left: 0px;
  padding-right: 10px;
  padding-left: 10px;
  /*margin-top: -37px;*/
}
.csm-header-bottom .csm-header-right a {
  color: #c0cbe7;
  font-size: 16px;
  line-height: 1.5;
}
.csm-header-bottom .csm-header-right ul {
  padding: 0px;
  margin: 0;
  list-style: none;
}
.csm-header-bottom .csm-header-right ul li p {
  margin: 0 0 14px;
  display: inline-block;
  padding: 0px 0px;
}
.csm-header-bottom .csm-header-right ul li span {
  display: inline-block;
  padding: 2.5px 10px;
  position: relative;
  text-align: center;
  vertical-align: middle;
}
.csm-header-bottom .csm-header-right ul li span i {
  font-size: 27px;
  color: #ffffff;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
        transition-property: opacity;
    position: absolute;
    z-index: 10;
    left: 0;
}
}
.csm-header-bottom .csm-header-right ul li span i.fa.fa-envelope {
  font-size: 24px;
}
.csm-header-bottom .csm-header-right ul li:last-child a {
  font-family: Quicksand;
  border-radius: 0px;
  padding-top: 9px;
  padding-right: 19px;
  padding-bottom: 7px;
  padding-left: 19px;
  font-size: 22px;
  line-height: 1.42857143;
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: -o-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#21ffffff', endColorstr='#14000000', GradientType=0);
  background-color: #fff !important;
  border-color: #fff !important;
  color: #354569 !important;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
.csm-header-bottom .csm-header-right ul li:last-child a:hover {
  background-color: #354569 !important;
  border-color: #354569 !important;
  color: #fff !important;
  text-decoration: none;
}
.csm-header-bottom .csm-header-right ul li:last-child {
  padding: 4px 11px 0px;
}
.csm-header-bottom .csm-header-right ul li span i:hover {
  color: #000;
}
.csm-menu-group {
  background-color: rgba(229,229,229,1);
  border-radius: 1px;
  -webkit-transition: top 500ms;
  -o-transition: top 500ms;
  transition: top 500ms;
}





/* =============== Content =============== */

.body-container-wrapper {}
.body-container {}

.body-container-wrapper {

}
.body-container {}

.body-container .page-center{
  padding:10px 10px;
}
.body-container p{
  margin: 0 0 20px;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #000203;
}
.csm-full-width-page .body-container h2{
  font-size: 26px;
  font-family: inherit;
  margin-bottom: 16px;
}
.csm-full-width-page .body-container h3{
  font-size: 19px;
}

.csm-full-width-page .page-center{
  padding-top:0px;
  padding-bottom:0px
}
.csm-full-width-page .body-container p img.size-full {
  max-width: 100%;
  height: auto;
  float: left !important;
  margin: 0 1em 1.2em 0 !important;
  width: 100%;
  padding: 0px 0px 30px;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #E0DEDE;
}
.content-wrapper {}
.main-content {}
.sidebar{}
.sidebar.right{}
.sidebar.left{}
.csm-two-col-right-page .main-content,
.csm-two-col-right-page .sidebar.right {
  padding: 0px 10px;
}
.csm-two-col-right-page .sidebar.right {
  width: 33.33333333%;
  margin-left: 0px;
}
.csm-about-page.csm-two-col-right-page .sidebar.right {
  margin-top: 20px;
}
.csm-two-col-right-page .main-content {
  width: 66.66666667%;
}
.csm-two-col-right-page .sidebar.right img {
  margin: 5px 20px 5px 0;
}
.csm-about-page.csm-two-col-right-page .sidebar.right {
  margin-bottom:20px;
}
img[align="left"] {
  float: left !important;
  margin: 0px 1em 1em 0 !important;
}
.csm-contact-page .main-content {
  padding: 10px;
}
.csm-contact-top-sec {
  padding: 10px;
}
.csm-contact-top-sec h2 {
  margin-bottom: 4px !important;
}
.csm-contact-left-form h3 {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 26px;
  padding-right: 0px;
  padding-bottom: 10px;
  padding-left: 0px;
  color: #fff;
  background-color: rgba(53,69,105,1);
  text-align: center;
  font-size: 26px !important;
  font-family: inherit;
}
.csm-contact-left-form {
  width: 66.66666667% !important;
  padding-right: 6px;
}
.csm-contact-space-sec {
  width: 8.33333333% !important;
  margin-left: 0px !important;
  padding: 0px 10px;
}
.csm-contact-right-sec {
  width: 25% !important;
  margin-left: 0px !important;
  padding: 0px 15px;
}
.csm-contact-left-form {
  padding-bottom: 30px;
}
.body-container .hs-form-field>.input>input,
.body-container .hs-form-field>.input>select,
.body-container .hs-form-field>.input>textarea {
  max-width: 100%;
}
.body-container .hs-form-field>.input>select {
  height: 38px;
}
blockquote {
  margin-top: 5px;
  margin-right: 0px;
  margin-bottom: 25px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
blockquote h2 {
  text-align: center;
  font-size: 30px;
  font-style: italic;
  font-weight: normal;
  color: #354569;
}
[class*=" revicon-"]:before,[class^=revicon-]:before {
  font-family: revicons;
  font-style: normal;
  font-weight: 400;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em
}




/* =============== Footer =============== */

.footer-container-wrapper {}
.footer-container {}

.csm-footer-group {
  background-color: rgba(53,69,105,1);
  border-top: 4px solid #c4bfbf;
  border-bottom: 4px solid #c4bfbf;
  color: #fff;
}

.custom-footer-group .page-center{}
.footer-container-wrapper .custom-js-import {
  min-height: 0;
}
.csm-footer-bottom {
  background-color: rgba(33,42,68,1);
}
.csm-footer-bottom .csm-copyright, .csm-footer-bottom .csm-footer-sitemap {
  padding-right: 10px;
  padding-left: 10px;
  width: 50%;
  margin-left: 0px !important;
}
.csm-footer-sitemap ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  float: right;
  margin-top: 5px;
  display: block;
  padding: 0px 10px;
}
.csm-footer-bottom .page-center > .row-fluid-wrapper > .row-fluid {
  margin: 0px -10px;
  width: auto;
}
.csm-copyright p {
  margin-top: 21px;
  font-size: 11pt;
}
.csm-footer-sitemap ul li {
  float: left;
}
.csm-footer-sitemap ul li a {
  font-family: 'Roboto',sans-serif;
  font-size: 14px;
  text-transform: capitalize;
  color: #fff;
  padding: 14px 20px 17px;
  display: block;
}
.csm-footer-sitemap ul li:first-child > a {
  padding-left: 0px;
}
.csm-footer-sitemap ul li a:hover {
  text-decoration: none;
}
.csm-footer-middle {
  padding-bottom: 8px;
}
.csm-footer-middle .csm-footer-menu-group {
  padding-right: 10px;
  padding-left: 10px;
  width: 66.66666667%;
}
.csm-footer-menu-group h4 {
  margin-left: 13px;
  border-width: 0px 0px 0px;
  font-family: Quicksand;
  font-size: 20px;
  margin-bottom: -11px;
  letter-spacing: -1px;
  padding-bottom: 10px;
  line-height: 24px;
}
.csm-footer-menu-group .hs-menu-flow-horizontal {
  margin: 0px -10px;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li {
  padding-right: 10px;
  padding-left: 10px;
  width: 25%;
  float: left;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li > a {
  color: #a8b1d1;
  font-family: 'Quicksand',sans-serif;
  font-weight: 700;
  display: block;
  text-decoration: none;
  position: relative;
  padding: 15px 20px 15px 13px;
  vertical-align: top;
  line-height: 1.3em;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li:first-child > a {
  /* padding-left: 0px; */
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul {
  padding-left: 13px;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul a {
  padding: 0px 0px 11px 0px;
  color: #a8b1d1;
  font-family: 'Quicksand',sans-serif;
  font-weight: 700;
  font-size: 12px;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul {
  width: 100%;
}
.csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul a:hover {
  color: #fff;
  text-decoration: none;
}
.csm-footer-middle .csm-footer-form-group {
  margin-left: 0px;
  padding-right: 10px;
  padding-left: 10px;
  width: 33.33333333%;
}
.csm-footer-form-inner {
  margin-left: -15px !important;
  border-width: 0px 0px 0px 1px;
  border-style: solid;
  border-color: #8ca0d3;
  padding-left: 10px;
  margin-top: 16px;
  width: auto !important;
}
.csm-footer-heading h4 {
  border-width: 0px 0px 0px;
  font-family: Quicksand;
  font-size: 20px;
  margin-bottom: -1px;
  letter-spacing: -1px;
  padding-bottom: 0;
  line-height: 24px;
  margin-top: 0px;
}
.csm-footer-heading p {
  padding: 0;
  font-family: Roboto;
  line-height: 17px;
  font-size: 14px!important;
  font-weight: 700;
  margin-top: 2px!important;
  padding-top: 15px!important;
  margin-bottom: 1px!important;
  color: #ecf0f1!important;
  padding-right: 60px!important;
}
.csm-footer-form fieldset label {
  font-size: 13px;
  padding-top: 3px;
  margin-top: -3px;
  margin-bottom: -1px;
}
.csm-footer-form fieldset {
  font-family: Quicksand;
  color: #aebbd1;
  font-size: 16px;
  line-height: 28.2857px;
  margin-top: -5px !important;
  margin-bottom: 0!important;
  padding-top: 7px!important;
  max-width: 500px;
}
.csm-footer-form fieldset .input {
  margin-right: 8px;
}
.csm-footer-form fieldset .input .hs-input {
  background-color: #162e47;
  border-color: #496595;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  opacity: 1;
  margin-right: 0px;
  float: left;
  box-sizing: content-box;
  display: block;
  border-width: 1px;
  border-style: solid;
}
.csm-footer-top {
  background-color: rgba(234,234,236,1);
}
.csm-footer-top h3 {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.1;
  font-family: inherit;
}
.csm-footer-accreditations ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  width: 100%;
}
.csm-footer-accreditations ul li {
  margin-top: 20px;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  width: 20%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}
.csm-footer-accreditations ul li:last-child {
  width: 33.666667%;
}
.csm-footer-info h3 +h6 {
  margin-top: 20px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}
.csm-footer-info h6 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 8px;
  line-height: 1.1;
  font-family: ABeeZee;
  color: #34495e;
}
.csm-footer-info h6 span:first-child {
  margin-right: 10px;
}
.csm-footer-info h6 i.fa {
  font-size: 28px;
  color: #354569;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.csm-footer-info h6 i.fa.fa-envelope {
  font-size: 22px;
}
.csm-footer-info h6 i.fa.fa-map-marker {
  font-size: 35px;
}

.csm-footer-info h6.map-marker {
  position: relative;
  padding: 10px 0 10px;
  padding-left: 30px;
  vertical-align: middle;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.csm-footer-info h6.map-marker span:first-child {
  position: absolute;
  left: 0;
}
.csm-footer-info ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  width: 100%;
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 20px;
}
.csm-footer-info ul li {
  padding: 0 1px 1px;
  list-style-type: none;
  list-style-position: outside;
  margin: 0;
  position: relative;
  text-align: center;
  display: inline-block;
  margin-right: -4px;
}
.csm-footer-info ul li a div {
  font-size: 20px;
  color: #ffffff;
  background-color: #354569;
  padding: 11.377344336084px 7.5018754688672px 3.6264066016504px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.csm-footer-info ul li a {
  display: block;
}
.csm-footer-info ul li a div i {
  width: 26px;
  height: 26px;
  font-size: 26px;
  line-height: 20px;
  display: block;
}
.csm-footer-info ul li a:hover div {
  color: #000;
  background-color: #fff;
}






/* ==========================================================================
4. MAIN NAVIGATION                                            
========================================================================== */
.fixed .body-container-wrapper {
  padding-top: 52px;
}
.fixed .csm-menu-group {
  position: absolute;
  top: -100%;
  left: 0px;
  right: 0px;
  z-index: 111;
  -webkit-transition: all 800ms;
  -o-transition: all 800ms;
  transition: all 800ms;
}
.fixed.sticky .csm-menu-group {
  position: fixed;
  top:0;
}

/* =============== Custom Menu Primary =============== */

.custom-menu-primary .hs-menu-wrapper > ul > li:hover ul li.hs-menu-depth-2 ul {
   position: absolute !important;
  background-color: #e5e5e5 !important;
  left: 248px !important;
}

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
  text-align:center;
  width: 100%;
  position:relative;
}
.custom-menu-primary .hs-menu-wrapper > ul > li {
  float:none !important;
  text-align: left;
  display: inline-block;
  vertical-align: bottom;
  margin: 0px 4px;
  position: static !important;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  background: #e5e5e5;
  color: #354569;
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  display: block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding: 16px 20px 14px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:first-child > a {
  padding-left: 0;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children >a{
  padding-right: 25px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children >a:after{
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -6px;
  content: "\f107";
  display: inline-block;
  font-family: FontAwesome;
  font-style: light;
  font-weight: 500;
  line-height: 1;
  color: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul > li > ul{
  background: #e5e5e5;
  margin-top: 20px;
  top: auto;
  opacity: 0;
  border: 1px solid #000;
  -webkit-transition-property: margin-top,opacity,visibility !important;
  -ms-transition-property: margin-top,opacity,visibility !important;
  transition-property: margin-top,opacity,visibility !important;
  /*width: calc(100% - 20px);*/
  width: 250px;
  border-top: 1px solid #e0e0e0;
  /*left: 0px;
  right: 0px;
  margin: 20px auto 0px;*/


}

.hs-menu-wrapper ul li:nth-child(1) ul{ left: 0px !important; }
.hs-menu-wrapper ul li:nth-child(2) ul{ left: 154px !important; }
.hs-menu-wrapper ul li:nth-child(3) ul{ left: 316px !important; }
.hs-menu-wrapper ul li:nth-child(4) ul{ left: 516px !important; }
.hs-menu-wrapper ul li:nth-child(6) ul{ left: 803px !important; }
.hs-menu-wrapper ul li:nth-child(7) ul{ left: 878px !important; }
.hs-menu-wrapper ul li:nth-child(8) ul{ left: 1000px !important; }


.custom-menu-primary .hs-menu-wrapper > ul > li:hover > ul {
  margin-top: 0;
  padding-top: 2px;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li{
  display: block;
  /*float: left;*/
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  font-family: 'Quicksand',sans-serif;
  font-weight: light;
  font-size: 16px;
  display: block;
  text-decoration: none;
  position: relative;
  padding: 6px 20px;
  line-height: 1.3em;
  color: #354569;
  font-weight: 500 !important;
}

.custom-menu-primary .hs-menu-wrapper > ul ul li:last-child a {
  padding: 6px 20px 12px 20px;
}

.hs-menu-children-wrapper {
  padding-bottom: 12px !important;
}

.custom-menu-primary .hs-menu-wrapper > ul ul li.hs-item-has-children > a{
  /*border-bottom: 1px solid #354569;*/
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  color: #222;
}
.custom-menu-primary .hs-menu-wrapper > ul ul ul{
  padding-top: 10px;
  padding-bottom: 10px;
}

.custom-menu-primary .hs-menu-wrapper>ul>li:hover ul li.hs-menu-depth-2 ul {
  display: none !important;
  visibility: none !important;  
}

.custom-menu-primary .hs-menu-wrapper>ul>li:hover ul li.hs-menu-depth-2:hover ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  /*position: static !important;*/
  border: 1px solid #000;
}
.custom-menu-primary .hs-menu-wrapper > ul ul ul li{
  float: none;
  padding: 1px 0;
}
.custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
  color: #354569;
  font-size: 15px;
  padding: 15px 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-family: 'Quicksand',sans-serif;
  font-weight: 500;
  line-height:1.3;
}
.custom-menu-primary .hs-menu-wrapper > ul ul ul li a:hover{
  color: #111;
}


/* Override max width on menu links */
.custom-menu-primary .hs-menu-wrapper > ul li a, 
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
}

/* Fix menu disappearing on desktop after toggling mobile menu */
@media screen and (min-width:960px) {
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-wrapper > ul ul { 
    display:block !important;
  }
  .footer-menu,
  .sitelink-menu{
    display: none;
  }
}
@media (max-width: 1199px){
  .custom-menu-primary .hs-menu-wrapper>ul>li>a{
    padding: 14px 5px 16px;
  }
  .csm-header-social {
    width: 27%;
  }
  .csm-footer-sitemap ul li a{
    line-height: 1.25;
  }



}
@media (max-width: 991px){
  .custom-menu-primary .hs-menu-wrapper>ul>li{
    margin: 0px 5px;
  }
  .custom-menu-primary .hs-menu-wrapper>ul>li>a{
    font-size: 12px;
  }
  .csm-header-social {
    width: 34%;
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul li a{
    padding: 15px 12px;
    font-size: 12px;
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul ul li a{
    font-size: 11px;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal>ul>li{
    width: 100%;
  }
}

@media (max-width: 991px) and (min-width: 960px){
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li > a {
    color: #fff;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul a {
    color: #d7e2f8;
    display: inline-block !important;
  }


}

/* =============== Mobile Toggle Menu =============== */

/* Hide button on Desktop */
.mobile-trigger, .child-trigger{ display: none; }

@media (max-width: 959px){

  /* Menu Reset */
  .custom-menu-primary,
  .custom-menu-primary .hs-menu-wrapper > ul,
  .custom-menu-primary .hs-menu-wrapper > ul li,
  .custom-menu-primary .hs-menu-wrapper > ul li a{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color:#fff;
  }

  /* ===== Mobile Toggle Button ===== */

  .mobile-trigger{
    display: inline-block !important;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: auto;
    padding: 15px 20px;
    background: #354569;
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    color: #fff;
    vertical-align: top;
    line-height: 1.3em;
  }
  .mobile-trigger:hover{
    background: #fff;
    color: #354569;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
  }




  /* ===== Mobile Child Toggle Buttons ===== */

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 55px !important; /* Button width */
    min-width: 55px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    color: #354569;
  }
  .child-trigger:after {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -6px;
    content: "\f107";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .custom-menu-primary .hs-menu-wrapper>ul>li.hs-item-has-children>a:after{
    display:none !important;
  }
  .child-trigger:hover{
    text-decoration: none;
  }
  .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .child-trigger i:after{
    position: absolute;
    content: '';
  }
  .child-trigger i, .child-trigger i:after{
    width: 10px; /* Icon line width */
    height: 1px; /* Icon line height */
    background-color: #fff; /* Icon color */
    display: block;
  }
  .child-trigger i:after{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }  
  .child-trigger.child-open i{}
  .child-trigger.child-open i:after{
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  /* ===== Mobile Menu Styles ===== */  

  .custom-menu-primary.js-enabled{
    position: relative;
    padding-top: 45px; /* Makes room for button */
    margin: 0px 0 20px 0;
  }

  /* Hide menu on mobile */
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-children-wrapper{
    display: none;
  }  

  /* Make child lists appear below parent items */
  .custom-menu-primary ul.hs-menu-children-wrapper{
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    display: none;
  }

  /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative;
    top: 20px;
    left: 0;
    padding: 0px 13px;
  }
  .custom-menu-primary .hs-menu-wrapper{
    background-color: transprent;
    width: 100%; /* Full screen width */
  }
  .custom-menu-primary .hs-menu-wrapper>ul {
    width: 100%;
  }
  .custom-menu-primary .hs-menu-wrapper>ul>li>ul{
    width: 100% !important;  
    margin: 0;
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul li {
    display: block;
    float: left;
    width: 50%;
  }
  .custom-menu-primary .hs-menu-wrapper>ul>li.hs-item-has-children>a {
    padding-right: 55px;
  }
  /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a{
    font-size: 16px; /* Font size of top level list items */
    line-height: 1.4em;
    overflow: visible;
    color:#354569;
    padding:15px 20px;
    font-family: 'Quicksand',sans-serif;
    font-weight: 700;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:first-child > a {
    padding-left:0px;
  }
  .custom-menu-primary .hs-menu-wrapper>ul>li ul li.hs-menu-depth-2 ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
  }
  /* Level 1 and Higher Menu List Styles */

  .custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{

  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    background-color: transparent;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    font-size: 16px; /* Font size of child lists */
    padding-left: 22px;
  }  

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
    text-indent: 0; /* Indent Child lists */
  }

  /* Level 4 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a{
    text-indent: 50px; /* Indent Child lists */
  }
}


/* ==========================================================================
5. BLOG                                        
========================================================================== */


/* =============== General Blog Styles =============== */

/* Blog Post and Listing Body Class */
.blog {}

/* Blog Post */
.hs-blog-post {}

/* Blog Listing */
.hs-blog-listing {}

/* Blog Columns Wrapper */
.blog .content-wrapper {}


/* =============== Blog Content Column =============== */

.blog .blog-content {}

/* Use this to style the main wrapper for the blog listing pages */
.blog-listing-wrapper {}

/* Use this to style the main wrapper for the blog post pages */
.blog-post-wrapper {}

/* Blog Title */
.hs-blog-header h1 {}
.hs-blog-header h1 a{}

/* Blog Post Title */


.post-header h2, h2.post-listing-simple {}
.post-header h2 a, h2.post-listing-simple a{
  text-decoration: none;
}
.post-header h2 a:hover, h2.post-listing-simple a:hover{
  text-decoration: none;
}
.section.post-header h1 {}

/* Blog Author and Avatar */
#hubspot-author_data {}
#hubspot-author_data:after {
  content: '';
  display: block;
  clear: both;
}
#hubspot-author_data a.author-link {}
#hubspot-author_data .hs-author-avatar {}
#hubspot-author_data .hs-author-avatar img {
  width: 50px;
  float: left;
  margin-right: 15px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

/* Use this to set up different styling for your blog posts */
.blog-listing-wrapper .post-listing .post-item {
  border-bottom: 1px solid #E2E2E2;
  margin-bottom: 20px;
  padding-bottom: 30px;
}
.blog-listing-wrapper .post-listing .post-item .post-body {}
.blog-post-wrapper .post-body {}

/* Post Featured Image on Listings Page */
.hs-featured-image-wrapper {}
.hs-featured-image-wrapper .hs-featured-image-link {}
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image{
  border-width: 0;
  max-height: 170px;
  max-width: 210px;
  height: auto;
  width: auto;
  display: inline-block !important;
  float: right;
  margin: 20px 0 20px 20px;
}

/* Read More Link */
a.more-link {
  display:block;
  margin:15px 0;
}

/* Blog Topics List */
#hubspot-topic_data {
  margin: 15px 0;
}
#hubspot-topic_data a.topic-link {}

/* Blog Social Sharing Icons */


/* Blog Commments */

.custom_listing_comments {
  border: 1px solid #e2e2e2;
  display: block;
  line-height: 165%;
  padding: 15px;
}

#comments-listing {
  border: 1px solid #ccc;
  margin-bottom: 30px;
  margin-top: 30px;
}
.comment {
  margin: 10px 0;
  border-top: 1px solid #ccc;
  padding: 15px 0;
}
.comment.depth-0 {
  border-bottom: 1px solid #000 !important;
  border-top: medium none !important;
  margin: 0 10px 10px !important;
  padding: 0 15px !important;
}

.comment-body {
  border-bottom: medium none;
  color: ;
  display: block;
  font-family: ;
  font-size: ;
  line-height: ;
  padding: 0;
}

.comment-reply-to{
  margin-bottom: 15px;
}

.comment-from h4 {
  margin: 0;
  padding-top: 15px;
}

#comments-listing.no-comments {
  border: none;
}

#comment-form {
  margin: 15px 0;
}

.comment-date { 
  font-size: 13px;
  text-align: left;
  display: block !important;
  padding-top: 5px;
}
.comment-from { font-weight: bold; }
.comment-body { padding: 10px 0; }

/* Pagination */
.blog-pagination {}
.blog-pagination a {
  display: inline-block;
  margin: 10px 10px 0 0;
}
.blog-pagination a.previous-posts-link {}
.blog-pagination a.all-posts-link {}
.blog-pagination a.next-posts-link {}

/* Blog All Posts Page */
.hs-content-path-blog-all {}
div.post-listing-simple {}
div.post-listing-simple .post-item {}
h2.post-listing-simple {}
h2.post-listing-simple a {}


/* =============== Blog Sidebar =============== */

.blog .blog-sidebar {}

/* Blog Modules */
.blog .blog-sidebar .widget-span {
  margin:0 0 20px;
}
.blog .blog-sidebar h1,
.blog .blog-sidebar h2,
.blog .blog-sidebar h3,
.blog .blog-sidebar h4,
.blog .blog-sidebar h5,
.blog .blog-sidebar h6,
.blog .blog-sidebar .from-title{}


.blog .blog-sidebar ul{}

.blog .blog-sidebar ul li{}

.blog .blog-sidebar ul li a{}

.blog .blog-sidebar ul li a:hover{}


.blog .blog-sidebar .widget-span {
  margin:0 0 20px;
}
.blog .blog-sidebar h1,
.blog .blog-sidebar h2,
.blog .blog-sidebar h3,
.blog .blog-sidebar h4,
.blog .blog-sidebar h5,
.blog .blog-sidebar h6,
.blog .blog-sidebar .from-title{}


.blog .blog-sidebar ul{}

.blog .blog-sidebar ul li{}

.blog .blog-sidebar ul li a{}

.blog .blog-sidebar ul li a:hover{}


/* =============== Blog Author Page and Author Bio =============== */

.hs-blog-listing .hs-author-profile {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
}
.hs-blog-post .hs-author-profile {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 20px 0 20px 0;
  margin: 20px 0 20px 0;
}
.hs-author-profile .hs-author-profile:after {
  content: '';
  display: block;
  clear: both;
}

/* Author Avatar */
.hs-author-profile .hs-author-avatar {
  float: left;
  margin-right: 15px;
  max-width: 100px;
}
.hs-author-profile .hs-author-avatar img{
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  max-width: 100%;
}

/* Author Bio Wrapper*/
.hs-author-profile .hs-author-bio {
  overflow: hidden;
}

/* Author Name */
.hs-author-profile h2.hs-author-name {
  margin: 0 0 10px 0;
}

/* Author Social Follow Me */
.hs-author-profile .hs-author-social-section {}
.hs-author-profile .hs-author-social-label {}
.hs-author-profile .hs-author-social-links {}
.hs-author-profile .hs-author-social-link {}
.hs-author-profile .hs-social-facebook {}
.hs-author-profile .hs-social-linkedin {}
.hs-author-profile .hs-social-twitter {}
.hs-author-profile .hs-social-google-plus {}

.hs-blog-social-share {
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  height: auto;
  margin-top: 10px;
  padding: 15px 0 9px;
  margin-bottom: 20px;
}


/* ==========================================================================
6. FORMS                                        
========================================================================== */


/* =============== Global Form Styles =============== */

/* Form Field */
.hs-form-field {}
.hs_recaptcha.hs-recaptcha.field.hs-form-field {
  margin-top: 15px;
}
/* Descriptions */
.hs-field-desc {}

/* Labels and Legends */
label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}
.hs-form-field > label {}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
/* One Line Inputs */
.body-container input[type="text"],
.body-container input[type="password"], 
.body-container input[type="datetime"], 
.body-container input[type="datetime-local"], 
.body-container input[type="date"], 
.body-container input[type="month"], 
.body-container input[type="time"], 
.body-container input[type="week"], 
.body-container input[type="number"], 
.body-container input[type="email"], 
.body-container input[type="url"], 
.body-container input[type="search"], 
.body-container input[type="tel"], 
.body-container input[type="color"],
.body-container input[type="file"],
.body-container textarea,
.body-container select {
  width: 100%;
  max-width:550px;
  display: block;
}

.body-container input[type="text"]:focus,
.body-container input[type="password"]:focus, 
.body-container input[type="datetime"]:focus, 
.body-container input[type="datetime-local"]:focus, 
.body-container input[type="date"]:focus, 
.body-container input[type="month"]:focus, 
.body-container input[type="time"]:focus, 
.body-container input[type="week"]:focus, 
.body-container input[type="number"]:focus, 
.body-container input[type="email"]:focus, 
.body-container input[type="url"]:focus, 
.body-container input[type="search"]:focus, 
.body-container input[type="tel"]:focus, 
.body-container input[type="color"]:focus,
.body-container input[type="file"]:focus,
.body-container textarea:focus,
.body-container select:focus {
}

/* Separate Styles for Multiple Line Inputs */
textarea {}
textarea:focus {}

/* Separate Styles for Drop Downs */
select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 6px 12px;
  font-size: 17px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-color: rgba(153,153,153,0.5);
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
select:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,0.6);
}
button, select {
  text-transform: none;
}
/* Multiple Selection Inputs */
form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}
form.hs-form .hs-form-field ul.inputs-list li input {}
input[type="radio"] {}
input[type="checkbox"] {}

/* Required */
input:focus:required:invalid, 
textarea:focus:required:invalid, 
select:focus:required:invalid {}

input:focus:required:invalid:focus, 
textarea:focus:required:invalid:focus, 
select:focus:required:invalid:focus {}

/* Error */
.hs-error-msgs label{}

/* Placeholder Text */
::-webkit-input-placeholder {} 
:-moz-placeholder {} 
::-moz-placeholder {}
:-ms-input-placeholder{}


/* =============== Multi Column Form =============== */

.hs-form fieldset.form-columns-1 {}
.hs-form fieldset.form-columns-1 .hs-form-field {}
.hs-form fieldset.form-columns-2 {}
.hs-form fieldset.form-columns-2 .hs-form-field {}
.hs-form fieldset.form-columns-3 {}
.hs-form fieldset.form-columns-3 .hs-form-field {}

/* Multiple Selection Inputs */
form.hs-form .hs-form-field ul.inputs-list li input {}
input[type="radio"] {}
input[type="checkbox"] {}
form.hs-form fieldset { max-width: none; }
form.hs-form fieldset .hs-form-field { padding: 0 10px 0 0; }
form.hs-form fieldset[class*="form-columns"] .input { margin-right: 0; }
form.hs-form fieldset[class*="form-columns"] .hs-input { width: 100%; }
form.hs-form fieldset[class*="form-columns"] .hs-input[type="checkbox"] { width: auto; }
form.hs-form fieldset.form-columns-3 .hs-form-field { width: 33.33%; }

@media (max-width: 400px) {
  form.hs-form fieldset .hs-form-field { padding: 0; }
  form.hs-form fieldset.form-columns-3 .hs-form-field,
  form.hs-form .form-columns-2 .hs-form-field .hs-input, 
  form.hs-form .form-columns-3 .hs-form-field .hs-input { width: 100%; }
  form.hs-form .form-columns-3 .hs-form-field .hs-input[type="checkbox"] { width: auto; }
}


/* =============== Blog Comment Form =============== */

/* Label */
#comment-form .hs-form-field > label {}
#comment-form label {}

/* Inputs */
#comment-form input[type="text"] {}
#comment-form input[type="text"]:focus {}

#comment-form textarea {}
#comment-form textarea:focus {}

#comment-form input[type="checkbox"] {}


/* =============== Blog Subscription Form =============== */

/* Label */
#hs_form_target_blog_subscription .hs-form-field > label {}
#hs_form_target_blog_subscription label {}

/* Inputs */
#hs_form_target_blog_subscription input[type="email"] {}
#hs_form_target_blog_subscription input[type="email"]:focus {}
#hs_form_target_blog_subscription input[type="radio"], #hs_form_target_blog_subscription input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

/* =============== Google Search Form =============== */

/* Label */
.widget-type-google_search label {}

/* Input */
.widget-type-google_search input[type="text"] {}
.widget-type-google_search input[type="focus"] {}


/* ==========================================================================
7. BUTTONS                                        
========================================================================== */


/* =============== All Global Buttons (Excluding CTAs) =============== */

.hs-button.primary,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
  display:inline-block;
  background-color: #ecf0f1;
  color: #34495e;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-top: 10px;
  font-family: Quicksand;
  border-radius: 0px;
  font-size: 17px;
  padding-right: 12px;
  padding-left: 14px;
  max-width: 500px;
  line-height: 1.42857143;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  border: 0 solid transparent;
  text-align: center;
  vertical-align: middle;
}

.hs-button.primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
}

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
}


/* =============== Form Module Button =============== */

.hs_cos_wrapper_type_form .hs-button.primary.large {}
.hs_cos_wrapper_type_form .hs-button.primary.large:hover {}
.hs_cos_wrapper_type_form .hs-button.primary.large:focus {}


/* =============== Blog Comment Button =============== */

#add-comment-button.hs-button.primary {}
#add-comment-button.hs-button.primary:hover {}
#add-comment-button.hs-button.primary:focus {}


/* =============== Blog Subscription Button =============== */

#hs_form_target_blog_subscription .hs-button.primary.large {}
#hs_form_target_blog_subscription .hs-button.primary.large:hover {}
#hs_form_target_blog_subscription .hs-button.primary.large:focus {}


/* =============== Google Search Button =============== */

.widget-type-google_search .hs-button.primary {}
.widget-type-google_search .hs-button.primary:hover {}
.widget-type-google_search .hs-button.primary:focus {}

/*=======================Home Slider*/
.csm-home-slider-section {
  padding: 0;
  position: relative;
}
.csm-home-main-slide {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 542px;
}
.slide-item.slick-slide {
  margin: 0 auto;
  height: 100%;
  max-height: 542px;
  margin-top: -1px;
}
.csm-home-main-slide img {
  width: 100% !important;
}
.csm-home-main-slide .csm-home-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  top: 40%;
  transform: translateY(-40%);
}
.csm-home-slide-content h1 {
  line-height: 54px;
  font-weight: 700;
  color: #fff;
  font-family: Quicksand;
  visibility: inherit;
  margin: 0px;
  padding: 9px 0px;
  letter-spacing: 0px;
  font-size: 54px;
  /*   transform: scale(0);
  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1) 0.4s; */
}
.slick-active .csm-home-slide-content h1 {
  transform: scale(1);
}
.csm-home-slide-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: Roboto;
  line-height: 18px;
  letter-spacing: 3px;
  margin: 0;
  padding: 10px 0 0;
}
.csm-home-slide-content a.hs_btn_red {
  outline: 0;
  text-decoration: none;
  position: relative;
  color: rgb(255, 255, 255);
  border-radius: 0px;
  line-height: 17px;
  padding: 14px 35px;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 700;
  font-family: Quicksand;
  text-transform: uppercase;
  background-color: rgb(163, 12, 9);
  display: inline-block;
  margin: 95px 0 20px;
  transition: all 0.3s ease 0s;
}
.csm-home-slide-content a.hs_btn_red:hover {
  background-color: #000;
}
a.hs_btn_red i {
  font-weight: 400;
  position: relative;
  top: 0;
  opacity: 0;
  width: 0;
  transition: all .3s ease-out;
  font-size: 15px;
  display: inline-block;
  margin-left: -10px;
}
a.hs_btn_red:hover i {
  opacity: 1;
  margin-left: 5px;
  width: auto;
} 
.col-slider-inner .slide-items {
  position: relative;
  z-index: 9;
}
.csm-home-slider-section button.slick-arrow {
  cursor: pointer;
  min-width: 70px;
  min-height: 70px;
  position: absolute;
  display: block;
  z-index: 100;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,0.1);
  opacity: 0;
}
.csm-home-slider-section:hover button.slick-arrow {
  opacity: 1;
}
.csm-home-slider-section button.slick-prev.slick-arrow {
  left: 30px;
}
.csm-home-slider-section button.slick-next.slick-arrow {
  right: 30px;
}
.csm-home-slider-section button.slick-arrow:before {
  font-family: "revicons";
  font-size: 20px;
  color: rgb(255, 255, 255);
  display: block;
  line-height: 70px;
  text-align: center;
  z-index: 2;
  position: relative;
}
.csm-home-slider-section button.slick-prev.slick-arrow:before {
  content: "\e824";
}
.csm-home-slider-section button.slick-next.slick-arrow:before {
  content: "\e825";
}

.csm-home-slider-section button.slick-arrow .tp-title-wrap {
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: absolute;
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  border-radius: 50%;
}
.csm-home-slider-section button.slick-arrow:hover .tp-title-wrap {
  transform: scale(1);
  -webkit-transform: scale(1);
  opacity: 1;
}
.csm-home-slider-section button.slick-arrow .tp-arr-imgholder {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-position: center center;
  background-size: cover;
  border-radius: 50%;
  transform: translatex(-100%);
  -webkit-transform: translatex(-100%);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
}
.csm-home-slider-section button.slick-next.slick-arrow .tp-arr-imgholder {
  transform: translatex(100%);
  -webkit-transform: translatex(100%);
}
.csm-home-slider-section button.slick-arrow:hover .tp-arr-imgholder {
  transform: translatex(0);
  -webkit-transform: translatex(0);
  opacity: 1;
}
.csm-home-slider-section button.slick-next.slick-arrow:hover .tp-arr-imgholder {
  transform: translatex(0);
  -webkit-transform: translatex(0);
}


.csm-home-main-slide .csm-home-slide-content.item_cont_3 {
  /*   max-width: 670px;
  margin: 52px 0 0;
  margin-left: auto;
  padding-right: 22px; */
}




/*-----------------------------*/
.csm-home-thumbnail-slide {
  margin: 0 auto;
  text-align: center;
  z-index: 90;
  opacity: 0;
}
.csm-home-slider-section:hover .csm-home-thumbnail-slide {
  opacity: 1;
}
.csm-home-thumbnail-slide .slick-track {
  transform: none !important;
}
.csm-home-thumbnail-slide .slick-list.draggable {
  padding: 0 !important;
  margin: -80px auto 30px;
  z-index: 91;
  overflow: visible !important;
}
.csm-home-thumbnail-slide .tp-bullet {
  opacity: 1;
  width: 50px !important;
  height: 50px;
  padding: 3px;
  background-color: rgba(0, 0, 0,0.25);
  margin: 0px 2.5px;
  box-sizing: border-box;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  border-radius: 50%;
  float: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  outline: none;
}
.csm-home-thumbnail-slide .tp-bullet.slick-current,
.csm-home-thumbnail-slide .tp-bullet:hover {
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(119, 119, 119, 1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(119, 119, 119, 1)));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(119, 119, 119, 1) 100%);
  background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(119, 119, 119, 1) 100%);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(119, 119, 119, 1) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(119, 119, 119, 1) 100%);
}
.csm-home-thumbnail-slide .tp-bullet-image {
  border-radius: 50%;
  display: block;
  box-sizing: border-box;
  position: relative;
  -webkit-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);
  box-shadow: inset 5px 5px 10px 0px rgba(0,0,0,0.25);
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}
.csm-home-thumbnail-slide .tp-bullet-title {
  position: absolute;
  bottom: 50px;
  margin-bottom: 10px;
  display: inline-block;
  left: 50%;
  background: #000;
  background: rgba(0, 0, 0,0.75);
  color: rgb(255, 255, 255);
  padding: 10px 30px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  opacity: 0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transform: translatez(0.001px) translatex(-50%) translatey(14px);
  transform-origin: 50% 100%;
  -webkit-transform: translatez(0.001px) translatex(-50%) translatey(14px);
  -webkit-transform-origin: 50% 100%;
  opacity: 0;
  white-space: nowrap;
  z-index: 9;
}
.csm-home-thumbnail-slide .tp-bullet:hover .tp-bullet-title {
  transform: rotatex(0deg) translatex(-50%);
  -webkit-transform: rotatex(0deg) translatex(-50%);
  opacity: 1;
}
.csm-home-thumbnail-slide .tp-bullet-title:after {
  content: " ";
  position: absolute;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: rgba(0, 0, 0,0.75) transparent transparent transparent;
  bottom: -8px;
}



/* ==========================================================================
8. MISCELLANEOUS                                      
========================================================================== */
.widget-type-email_subscriptions h1,
.widget-type-email_subscriptions_confirmation h1,
.widget-type-email_simple_subscription h1{}

.widget-type-email_subscriptions h2,
.widget-type-email_subscriptions_confirmation h2,
.widget-type-email_simple_subscription h2{}

.widget-type-email_subscriptions h3,
.widget-type-email_subscriptions_confirmation h3,
.widget-type-email_simple_subscription h3{}


.body-container ul li{}
.hs-blog-social-share ul li {
  background: none;
  padding-left: 0;
}
form ul li{
  background: none !important;
  padding-left: 0 !important;
}

/* .hs-form-required {
color: #ff0000;
} */

.landing-page.one-column .body-container form {
  width: 50%;
}
.error-template.one-column .body-container form,
.password-template.one-column .body-container form,
.subscription-template.one-column .body-container form #content{
  width: 50%;
}
.hs-error-msgs.inputs-list{
  margin: 0;
}
.hs-error-msgs.inputs-list label{
}
/* input.hs-input.error{
border-color: #c87872;
box-shadow: 0 0 3px rgba(171,41,32,0.25); 
}
input.hs-input.error:focus{
border-color: #b9554d;
box-shadow: 0 0 6px rgba(171,41,32,0.5);
} */
.hs_error_rollup .hs-error-msgs.inputs-list{
  padding:0px;
  list-style: none;
}
.subscription-template .subscribe-options {
  overflow: visible;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}
input[type="search"]{
  -webkit-appearance: none;
}
.body-container .hs-search-field--open .hs-search-field__suggestions {
  list-style: none;
  padding: 10px;
}

.body-container .hs-search-results .hs-search-results__listing {
  padding: 10px 0;
}

.body-container .hs-search-field--open .hs-search-field__suggestions li:before {
  display: none;
}

.body-container .hs-search-field--open .hs-search-field__suggestions li {
  margin-bottom: 6px;
}

.body-container .hs-search-field--open .hs-search-field__suggestions li#results-for {
  margin-bottom: 10px;
}



/* Styles that do not fit into any of the available sections above can go here. */

.csm-two-col-equal-page .main-content {
  padding-right: 10px;
  padding-left: 10px;
}
.csm-two-col-equal-page .main-content.left {
  width: 58.33333333%;
}
.csm-two-col-equal-page .main-content.right {
  width: 41.66666667%;
  margin-left: 0px;
  margin-top: 15px;
}
.csm-two-col-equal-page .main-content.right img {
  display: block;
  margin: 5px auto 5px auto;
}
.csm-two-col-equal-page .main-content img.size-full {
  margin: 5px auto 0px auto;
}
a.btn.btn-default {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 0 solid transparent;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 10px 26px;
  font-size: 15px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-default {
  color: #fff !important;
  background-color: #354569;
  border-color: #ccc;
}
a.btn.btn-red {
  background-color: #89182e;
  border-color: #89182e;
}
a.btn.btn-default {
  font-family: Quicksand;
  border-radius: 0px;
  padding-top: 9px;
  padding-right: 19px;
  padding-bottom: 7px;
  padding-left: 19px;
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: -o-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#21ffffff', endColorstr='#14000000', GradientType=0);
}
a.btn.btn-red:hover {
  background-color: #570e1c;
  border-color: #570e1c;
  text-decoration: none;
}
a.btn.btn-green {
  background-color: #456e46 ;
  border-color: #456e46 ;
}
a.btn.btn-green:hover {
  background-color: #2a452b;
  border-color: #2a452b ;
  text-decoration: none;
}
a.btn.btn-violet {
  background-color: #5a2c61 ;
  border-color: #5a2c61;
}
a.btn.btn-violet:hover {
  background-color: #311735 ;
  border-color: #311735 ;
  text-decoration: none;
}
a.btn.btn-orange {
  background-color: #c9672a  ;
  border-color: #c9672a ;
}
a.btn.btn-orange:hover {
  background-color: #b45d26 ;
  border-color: #b45d26 ;
  text-decoration: none;
}
a.btn.btn-brown {
  background-color: #99754d ;
  border-color: #99754d;
}
a.btn.btn-brown:hover {
  background-color: #a88054 ;
  border-color: #a88054 ;
  text-decoration: none;
}
.csm-sidebar-video {
  margin-top: 35px;
}
.csm-sidebar-video iframe {
  max-width: 100%;
}
.csm-technical-information-page .main-content {
  padding: 0px 10px;
}
.csm-video-sec {
  margin-bottom: 24px;
  text-align: center;
}
.csm-video-sec iframe {
  max-width: 100%;
}
.csm-two-column-equal .hs-col {
  padding: 0px 10px;
  width: 50%;
  float: left;
}
.csm-bespoke-internal-doors-page .body-container .page-center {
  padding: 0px;
}
.csm-two-column-equal {
  padding: 10px;
  margin-bottom:15px;
}
.csm-two-column-equal .hs-col h2 {
  margin-bottom: 25px;
  font-size: 34px;
}
.csm-two-column-equal .hs-col h2+p {
  font-family: Quicksand;
}
.csm-two-column-equal .hs-col h4 {
  font-size: 18px;
  margin-bottom: 0px;
}
.csm-two-column-equal .hs-col.csm-col2 {
  margin-top: 20px;
}
.csm-two-column-equal .hs-col img,
.csm-full-width-bottom-img .content img{
  margin: 5px 0 5px auto;
}
.csm-two-column-equal .hs-col ul li {
  font-size: 16.5px;
}
.csm-full-width-bottom-img {
  padding: 10px 10px 0px;
}
.csm-full-width-bottom-img .content {
  padding: 0 10px;
}
.csm-full-width-bottom-img .content h4{
  font-size: 18px;
  margin-bottom:15px;
}
.csm-ben-section {
  padding: 0px 10px 10px;
}
.csm-btn-group {
  text-align: center;
}
.csm-btn-group a.btn {
  margin-right: 5px;
  margin-bottom: 5px;
}
.csm-two-column-with-right {
  padding: 10px;
}
.csm-two-column-with-right .hs-col {
  padding: 0px 10px;
  float: left;
}
.csm-two-column-with-right .csm-col1 {
  width: 66.66666667%;
}
.csm-two-column-with-right .csm-col2 {
  width: 33.33333333%;
}
.csm-three-column-with-image {
  padding: 10px;
  margin-top: 66px;
}
.csm-two-column-with-right .csm-col2 img {
  margin: 5px 0 5px auto;
}
.csm-three-column-with-image .hs-col {
  width: 33.33333333%;
  float: left;
  padding: 0px 10px;
}
.csm-three-column-with-image .hs-col .image {
  text-align: center;
  margin-bottom: 22px;
}
.csm-three-column-with-image .csm-bottom-btn {
  text-align: center;
}
.btn-default:hover {
  background-color: #27334e;
  text-decoration: none;
}

/* ================== product page =============================== */

.csm-bespoke-inner-page .body-container .page-center {
  padding: 0px;
}

.csm-product-group {
  padding: 10px;
}

.csm-product-group ul {
  margin: 20px 0 20px;
  padding: 0 10px 0px 10px;
  list-style: none;
}

.csm-product-group ul li {
  margin-bottom: 15px;
  width: 24.5%;
  float: left;
  margin-left: -1px;
  margin-right:-1px;
  padding-left: 10px;
  padding-right: 10px;
}
.csm-product-group ul li a {
  display: block;
  text-align: center;
}
.cbb-portfolio .cbb-thumb-wrap {
  position: relative;
  display: inline-block;
  text-align: left;
  max-width: 100%;
}
.cbb-portfolio span.cbb-portfolio-caption {
  bottom: 5px;
  left: 5px;
  right: 5px;
  position: absolute;
  color: #fff;
  background-color: #303a5f;
}
.cbb-portfolio span.cbb-portfolio-caption p {
  color: #f7fafb;
  text-align: center;
  font-family: Quicksand;
  font-weight: 500;
  margin: 7px 10px;
}
.thumbnail {
  display: block;
  padding: 4px;
  margin-bottom: 24px;
  line-height: 1.42857143;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  -webkit-transition: border .2s ease-in-out;
  -o-transition: border .2s ease-in-out;
  transition: border .2s ease-in-out;
}
.cbb-portfolio img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  margin-bottom: 0 !important;
}
p.csm-btn-sec {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 50px;
  margin-left: 0px;
  padding-top: 30px;
  padding-right: 50px;
  padding-bottom: 30px;
  padding-left: 50px;
  text-align: center;
}
.csm-product-group h2 {
  padding: 0px 20px;
  font-size: 19px!important;
}
.csm-denleigh-range-page .body-container-wrapper h1 {
  font-family: Quicksand;
  font-size: 34px;
  text-align: center;
  margin-bottom: 25px;
  padding: 0px 10px;
}
.csm-three-column-equal .hs-col {
  padding-right: 10px;
  padding-left: 10px;
  width: 33.33333333%;
  float: left;
}
.csm-three-column-equal .hs-col h2 {
  font-size: 24px;
  margin-bottom: 25px;
}
.csm-two-col-eq-with-top-img .hs-col {
  color: #fff;
  border: 20px solid #ffffff;
  width: 50%;
  float: left;
}
.csm-two-col-eq-with-top-img .hs-col .image {
  margin-top: 15px;
  margin-right: 30px;
  margin-left: 30px;
}
.csm-two-col-eq-with-top-img .hs-col h3 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0px;
}
.csm-two-col-eq-with-top-img .hs-col .content {
  margin-top: 10px;
  margin-right: 25px;
  margin-bottom: 20px;
  margin-left: 25px;
}
.csm-two-col-eq-with-top-img .hs-col .content p {
  color: #fff;
}
.csm-two-col-eq-with-top-img .hs-col .csm-heading {
  margin-top: 25px;
  text-align: center;
}
.csm-two-col-eq-with-top-img .hs-col .csm-heading h2 {
  font-size: 32px;
  line-height: 52px;
}
.csm-denleigh-range-page .csm-two-column-equal {
  padding: 0;
  margin-bottom: 0;
}
.csm-denleigh-range-page .csm-two-column-equal .hs-col.csm-col2 {
  margin-top: 0px;
}
.csm-denleigh-range-page .body-container .page-center{
  padding-bottom: 60px;
}
.csm-full-width-page .page-header.section-header h1 {
  font-family: Quicksand;
  font-size: 38px;
  margin-bottom: 15px;
}
.csm-full-width-page .page-header.section-header p {
  margin-bottom: 0px;
}
.csm-catalog-wrapper {
  padding: 0px 0px 10px;
}
.csm-catalog-item {
  padding-right: 10px;
  padding-left: 10px;
  width: 33.33333333%;
  float: left;
}
.csm-catalog-item h2 {
  margin-top: 25px;
  font-size: 24px !important;
  font-family: Quicksand !important;
  margin-bottom: 10px !important;
}
.csm-catalog-item img {
  max-width: 100%;
  height: auto;
}
.csm-catalog-item:nth-child(3n+1) {
  clear: left;
}
.csm-product-group.csm-portfolio-wrapper {
  padding: 0px;
}
.csm-portfolio-wrapper > h2 {
  font-size: 34px !important;
  text-align: center;
  padding-bottom: 25px;
}
.csm-portfolio-sec {
  padding: 10px 20px 65px;
}
.csm-request-form fieldset {
  max-width: 500px !important;
}

.csm-request-form fieldset >.hs-form-field {
  margin-bottom: 18px;
}

.csm-request-form fieldset >.hs-form-field > label {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 13px;
  color: #414141;
  display: block;
  float: none;
  width: auto;
  font-weight: bold;
  text-align: left;
  line-height: 20px;
  padding-top: 0;
  margin-bottom: 4px;
}

.csm-request-form fieldset >.hs-form-field > label span.hs-form-required {
  color: red;
}

.csm-request-form fieldset >.hs-form-field .hs-input, .csm-request-form fieldset >.hs-form-field select {
  display: inline-block;
  padding: 4px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 18px;
  color: #666;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  transition: border 0.2s linear,box-shadow 0.2s linear;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  height: auto;
}
.csm-request-form fieldset >.hs-form-field select {
  height: 27px !important;
}

.csm-request-form fieldset >.hs-form-field legend.hs-field-desc {
  margin: 0px 0px 2px 0px;
  font-size: 11px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  color: #aaa;
  line-height: 1;
  border-bottom: 1px solid #e5e5e5;
}

.csm-request-form  .actions {
  background: transparent;
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 17px 20px 18px 0px;
  border-top: none;
  -webkit-border-radius: 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px;
  -ms-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}

.csm-request-form .actions input.hs-button.primary.large {
  text-shadow: 0 -1px 0 #3574e3;
  background-color: #3574e3;
  background-image: linear-gradient(to bottom, #7ec8f4,#3574e3);
  box-shadow: inset 0px 1px 0px rgba(255,255,255,0.5);
  border-top: 1px solid #64baf0;
  border-bottom: 1px solid #1c4ed5;
  border-right: 1px solid #468ee6;
  border-left: 1px solid #468ee6;
  border-radius: 4px;
  transition: opacity 0.15s linear;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  padding: 7px 18px 7px;
  position: relative;
  text-align: center;
}
.csm-request-form .actions input.hs-button.primary.large:hover {
  box-shadow: inset 0px 1px 0px rgba(255,255,255,0.5), 0 0 5px #3574e3;
  border-top: 1px solid #4db0ee;
  border-bottom: 1px solid #1946be;
  border-right: 1px solid #3080e3;
  border-left: 1px solid #3080e3;
}
.csm-request-form fieldset >.hs-form-field .hs-input:focus {
  outline: none;
  border-color: rgba(82,168,236,0.8);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 8px rgba(82,168,236,0.6);
}
.csm-request-form fieldset >.hs-form-field select:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,0.6);
}
.csm-request-form fieldset >.hs-form-field .hs-input.error {
  border-color: #c87872;
  box-shadow: 0 0 3px rgba(171,41,32,0.25);
}
.csm-request-form fieldset >.hs-form-field .hs-input.error:focus {
  border-color: #b9554d;
  box-shadow: 0 0 6px rgba(171,41,32,0.5);
}
.csm-request-form ul.hs-error-msgs>li label {
  display: block;
  float: none;
  width: auto;
  font-weight: bold;
  text-align: left;
  line-height: 20px;
  padding-top: 0;
  margin-bottom: 4px;
  font-size: 13px;
  color: #414141;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: normal;
  padding-top: 0;
}
.csm-request-form fieldset ul.hs-error-msgs {
  padding-left: 5px;
  list-style: none;
}

.csm-case-studies-sec1 .page-center {
  padding-top: 0px;
  padding-bottom: 0px;
}
.csm-case-studies-sec1 h2 {
  font-size: 30px;
  text-align: center;
}
.csm-case-studies-sec1 h3 {
  font-size: 19px;
  text-align: center;
  font-weight: bold;
  color: #666;
  font-family: ABeeZee;
  margin-bottom: 10px;
}
.csm-case-studies-sec2 .hs_cos_gallery_main,
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails,
.csm-case-studies-sec2 .hs_cos_gallery_lightbox {
  padding: 0 10px;
}

.csm-case-studies-sec2 .slick-slider {
  margin-bottom: 0;
}
.csm-case-studies-sec2 .hs_cos_gallery_main img {
  width: 100%;
  transition: all 5s ease-out !important;
  transform: scale(1);
}
.csm-case-studies-sec2 .hs_cos_gallery_main .slick-slide-inner-wrapper {
  display: block;
  margin-bottom: 5px !important;
  overflow: hidden;
  max-height: 670px;
}
.csm-case-studies-sec2 .hs_cos_gallery_main .slick-active img {
  transform: scale(1.2) !important;
}
.st-element-divider {
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 20px);
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #E0DEDE;
  margin-top: 20px;
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails {
  text-align: center;
  padding: 0 5px;
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before, 
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  background-color: white;
  z-index: 9;
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
  left: auto;
  right: 0;
}
@media(min-width: 992px) {
  /*   .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-track {
  transform: none !important;
  width: 100% !important; 
} */
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
  padding: 0;
  display: inline-block;
  float: none;
  max-width: 150px;
  margin: 0 2.5px;
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
  width: 150px;
  max-height: 75px;
  object-fit: cover;
}
.csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
  cursor: pointer;
}
.csm-case-studies-sec2 .slick-slide-inner-wrapper span.tp-thumb-title {
  font-size: 12px;
  position: absolute;
  margin-top: -10px;
  color: rgba(255, 255, 255, 1);
  display: block;
  z-index: 1000;
  background-color: rgba(0,0,0,0.85);
  padding: 5px 10px;
  bottom: 0px;
  left: 0px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transform: rotatex(90deg) translatez(0.001px);
  transform-origin: 50% 100%;
  -webkit-transform: rotatex(90deg) translatez(0.001px);
  -webkit-transform-origin: 50% 100%;
  opacity: 0;
}
.csm-case-studies-sec2 .slick-slide-inner-wrapper:hover .tp-thumb-title {
  transform: rotatex(0deg);
  -webkit-transform: rotatex(0deg);
  opacity: 1;
}



.csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-list {
  padding: 0px !important;
}
.csm-case-studies-sec2 .slick-prev, .csm-case-studies-sec2 .slick-next {
  z-index: 22;
  opacity: 0;
  transition: all .3s ease;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  position: absolute;
  display: block;
  border-radius: 50%;
  top: 43.5%;
}

.csm-case-studies-sec2:hover .slick-prev, .csm-case-studies-sec2:hover .slick-next {
  opacity: 1;
}
.csm-case-studies-sec2 .slick-prev {
  left: 30px;
}
.csm-case-studies-sec2 .slick-next {
  right: 30px;
}
.csm-case-studies-sec2 .slick-prev:before {
  font-family: "revicons";
  font-size: 20px;
  color: rgb(255, 255, 255);
  display: block;
  line-height: 40px;
  text-align: center;
  content: "\e82c";
  margin-left: -3px;
  opacity: 1;
}
.csm-case-studies-sec2 .slick-next:before {
  content: "\e82d";
  margin-right: -3px;
  font-family: "revicons";
  font-size: 20px;
  color: rgb(255, 255, 255);
  display: block;
  line-height: 40px;
  text-align: center;
  opacity: 1;
}
.csm-case-studies-sec2 .slick-next:hover {
  background: rgba(0, 0, 0, 1);
}
.csm-service-group {
  padding: 10px;
}
.csm-service-group .csm--item {
  padding-right: 10px;
  padding-left: 10px;
  width: 25%;
  float: left;
}
.csm-service-group .csm--item .st-img-container {
  text-align: center;
}
.csm-service-group .csm--item .st-element-heading {
  padding-top: 3px;
  padding-bottom: 15px;
  background-color: #354569;
  background-color: rgba(53,69,105,1);
}
.csm-service-group .csm--item .st-element-heading h2 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
.csm-service-wrapper {
  margin-bottom: 32px;
}
.csm-home-page .csm-service-wrapper.csm-sec4 {
  margin-bottom: 0px;
}
.csm-home-page .csm-service-wrapper.csm-sec4 .csm-service-group {
  /*padding: 0px;*/
}
.csm-home-page .csm-service-wrapper.csm-sec4 .csm-service-group .csm--item {
  /*padding: 0px;*/
  width: 25%;
}
.csm-home-page .csm-service-wrapper.csm-sec4 .st-element-heading {
  min-height: auto !important;
  padding-top: 7px;
  padding-bottom: 20px;
}
.csm-service-wrapper.csm-sec3 .csm--item {
  width: 25%;
}

.case-studiesresidential-luxury-houses-with-sea-views .main-content p {
  color: #626b75;
}
.csm-home-page .csm-service-wrapper {
  margin-bottom: 0;
}
.csm-home-page .csm-service-wrapper .csm-service-group {
  padding: 10px 0;
}
.csm-home-page .csm-two-column-with-right {
  padding: 10px 0;
}

/*===================Error Page=======================*/
body.hs_error_page {}
.hs_error_page .body-container .row-fluid .page-center {
  padding: 0;
  max-width: 1180px;
}
.hs_error_message {
  margin: -120px 0 130px;
  padding-right: 40px;
}
.hs_error_page .csm-footer-group {
  border-top: 0;
}
.hs_error_message p {
  text-align: center;
}
a.btn.hs_btn_default {
  text-decoration: none;
  border: 3px solid #000;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
  font-size: 22px;
  line-height: 1.42857143;
  font-family: Quicksand;
  border-radius: 0px;
  color: #000;
  padding: 9px 19px 7px;
}
a.btn.hs_btn_default:hover {
  background-color: #000;
  color: #fff;
}

/*==========================================*/
.csm-full-width-page .body-container p img.size-full[alt="Promotions"] {
  border-bottom: 0;
  padding-bottom: 0;
}
a.btn.btn-secondry {
  font-size: 15px;
  line-height: 1.42857143;
  border: 0 solid transparent;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;  
  display: inline-block;
  color: #fff !important;
  background-color: #354569;
  border-color: #ccc;
  background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: -o-linear-gradient(top, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.13) 0%, rgba(0,0,0,0.08) 100%);
  background-repeat: repeat-x;
  font-family: Quicksand;
  border-radius: 0px;
  padding: 9px 19px 7px;
  text-decoration: none;
}
a.btn.btn-secondry:hover {
  color: #fff;
  background-color: #27334e;
}
a.btn.btn-secondry i.fa {
  width: 0;
}
a.btn.btn-secondry i.fa:before {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  width: 40px;
  background: rgba(0,0,0,0.12);
  color: #FFF;
  z-index: 2;
  border-radius: 0;
  font-size: 120%;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  transition: all .2s;
  padding: 12px 0 0 2px;
}
a.btn.btn-secondry:hover i.fa:before {
  width: 45px;
}
a.btn.btn-secondry i.fa:after {
  content: '';
  width: 0;
  height: 0;
  border-bottom: 6px solid transparent;
  border-top: 6px solid transparent;
  border-left: 6px solid rgba(0,0,0,0.12);
  font-size: 0;
  line-height: 0;
  left: 40px;
  position: absolute;
  top: 50%;
  margin-top: -6px;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  transition: all .2s;
}
a.btn.btn-secondry:hover i.fa:after {
  left: 45px;
}

.case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-track,
.case-studieseducation-yate-academy .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-track {
  width: 100% !important;
  transform: none !important;
}
@media (max-width: 479px){
  .case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 26vw;
  }
}

@media (max-width: 429px){
  .case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img,
  .case-studieseducation-yate-academy .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 36vw;
  }
  .case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 23vw;
  }
  .case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before,
  .case-studiesresidential-portlock .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after,
  .case-studieseducation-yate-academy .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before,
  .case-studieseducation-yate-academy .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 0;
  }
}


/* ==========================================================================
9. MEDIA QUERIES                              
========================================================================== */
@media (max-width: 1199px){
  .csm-home-slide-content h1 {
    font-size: 45px !important;
    line-height: 45px !important;
  }
  .csm-home-slide-content h3 {
    font-size: 13px !important;
    line-height: 15px !important;
  } 
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before,
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 80px;
  }



}


@media (min-width: 830px){
  .container-fluid .row-fluid .page-center {
    max-width: 740px;
  }
}
@media (min-width: 992px){
  .container-fluid .row-fluid .page-center {
    max-width: 960px;
  }
}
@media (min-width: 1200px){
  .container-fluid .row-fluid .page-center {
    max-width: 1160px;
  }
}
/* =============== Screen sizes smaller than .page-center =============== */

@media (max-width: 1024px) {}
@media(max-width: 991px) {
  .csm-header-bottom .csm-header-right {
    width: 66%;
    margin-top: 0;
    padding: 0px;
  }
  .csm-header-bottom .csm-header-right ul li:last-child {
    width: 24%;
    float: left;
    position: absolute;
    right: 0px;
    top: 72px;
    text-align: center;
  }
  .csm-header-bottom .csm-header-right ul li {
    width: 60.666667%;
  }
  .csm-header-bottom .csm-header-right ul li p {
    padding-left: 20%;
  }
  .csm-product-group ul li {
    width: 48.5%;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails {
    padding: 0 10px;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 139px;
    max-height: 73px;
  }
  .hs_error_message {
    margin: -90px 0 100px;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before,
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 0;
  }

}

@media(min-width: 960px) {
  .custom-menu-primary .hs-menu-wrapper>ul ul li.ubermenu-retractor-mobile {
    display: none;
  }
}


@media (max-width: 959px) {
  .slide-item.slick-slide {
    max-height: 410px;
  }
  .csm-home-main-slide {
    min-height: 410px;
  }

  .csm-menu-group .page-center {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .csm-menu-group .mobile-trigger {
    max-width: 720px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding-left: 23px;
  }
  .csm-menu-group .mobile-trigger i.fa {
    margin-right: 7px;
  }
  .custom-menu-primary.js-enabled .hs-menu-wrapper {
    position: absolute;
    top: 65px;
    left: 0;
    background-color: rgba(229,229,229,1);
  }
  .custom-menu-primary .hs-menu-wrapper>ul {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 13px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:hover > ul {
    padding-top: 0;
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul li.ubermenu-retractor-mobile {
    float: none;
    width: 100%;
    clear: both;
    text-align: center;
    cursor: pointer;
    padding: 15px 20px;
    vertical-align: top;
    line-height: 1.3em;
    font-size: 12px;
    font-family: Quicksand, sans-serif;
    color: rgb(153, 153, 153);
    font-weight: 700;
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul li.ubermenu-retractor-mobile:hover {
    background: rgba(0,0,0,.1);
  }
  .custom-menu-primary .hs-menu-wrapper>ul ul li.ubermenu-retractor-mobile i.fa {
    display: inline-block;
    width: auto;
  }

  .csm-footer-menu-group h4 {
    font-family: Quicksand;
    font-size: 20px;
    margin: 16px 0 0;
    letter-spacing: -1px;
    padding: 0 0 57px 13px;
  }
  .sitelink-menu {
    padding: 0 0 0 30px;
    cursor: pointer;
  }
  .sitelink-menu i.fa {
    display: inline-block;
    font-size: 17px;
    width: 1.3em;
    text-align: center;
    margin-right: .6em;
  }
  .csm-footer-menu .hs-menu-wrapper>ul {
    display: none;
    padding: 15px 0 0px 7px;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li {
    width: 50%;
    float: left !important;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li:nth-child(2n+1) {
    clear: both;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li > a {
    color: #fff;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul {
    padding-left: 1.2em;
    padding-top: .4em;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul a {
    color: #d7e2f8;
    padding: 0 0px 10.5px;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li >ul >li:last-child>a {
    padding-bottom: 8px;
  }
  .csm-footer-heading p {
    padding-bottom: 25px;
  }

  .csm-footer-bottom {
    min-height: 67px !important;
  }
  .csm-footer-sitemap .footer-menu {
    text-decoration: none;
    cursor: pointer;
    padding: 15px 20px;
    border: 1px solid #000;
    background-color: #3d3d3d;
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    background: #354569;
    color: #fff;
    line-height: 1.3em;
  }
  .csm-footer-sitemap .footer-menu i.fa {
    width: 1.3em;
    text-align: center;
    margin-right: .6em;
  }

  .csm-footer-sitemap ul {
    display: none;
    padding: 17px 0 0;
  }
  .csm-footer-sitemap ul li {
    width: 50%;
  }
  .csm-footer-sitemap ul li:first-child > a {
    padding-left: 20px;
  }
  .csm-footer-middle {
    padding-bottom: 20px;
  }
  .csm-footer-form form {
    padding: 0 0 25px;
  }
  .header-container {
    position: relative;
    z-index: 91;
  }



}






@media (max-width: 829px) {
  .csm-two-col-right-page .main-content, .csm-two-col-right-page .sidebar.right {
    padding: 0;
    width: 100% !important;
  }
  .csm-contact-left-form {
    width: 100% !important;
    padding-right: 6px;
  }
  .csm-contact-space-sec {
    width: 100%% !important;
    margin-left: 0px !important;
    padding: 0px 10px;
  }
  .csm-contact-right-sec {
    width: 100% !important;
    margin-left: 0px !important;
    padding: 0px ;
  }
  .csm-contact-page .main-content,
  .csm-contact-top-sec{
    padding: 0;
  }
  .hs_recaptcha.hs-recaptcha.field.hs-form-field {
    margin: 10px 0px;
  }
  .csm-two-col-equal-page .main-content {
    padding-right: 0;
    padding-left: 0;
    width: 100% !important;
    margin: 0px !important;
  }
  .csm-two-col-equal-page .main-content.right img {
    margin-left: 0px;
  }
  .csm-technical-information-page .main-content {
    padding: 0px;
  }
  .csm-two-column-equal .hs-col.csm-col2 {
    margin-top: 30px;
  }
  .csm-two-column-equal {
    margin-bottom: 0;
  }
  .csm-full-width-bottom-img .content {
    padding: 0;
  }

  .csm-btn-group a.btn {
    margin-right: 0;
  }
  .csm-three-column-with-image .hs-col,
  .csm-two-column-equal .hs-col,
  .csm-two-column-with-right .hs-col  {
    width: 100%;
    float: none;
    padding: 0;
  }
  .csm-three-column-with-image {
    margin-top: 26px;
  }
  .csm-product-group ul li {
    width: 100%;
  }
  .csm-product-group h2 {
    padding: 0px 10px;
  }
  .csm-denleigh-range-page .body-container-wrapper h1{
    padding-right: 0;
    padding-left: 0;
  }
  .csm-three-column-equal .hs-col{
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
    padding-bottom: 1px;
  }
  .csm-denleigh-range-page .csm-two-column-equal {
    padding: 0;
    margin-bottom: 0;
    text-align: center;
  }
  .csm-catalog-item {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    float: none;
  }
  .csm-portfolio-sec {
    padding: 10px 10px 40px;
  }
  .csm-service-group .csm--item {
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    float: none;
  }
  .csm-service-group .csm--item .st-element-heading {
    min-height: auto !important;
    margin-bottom: 20px;
  }
  .csm-service-wrapper.csm-sec3 .csm--item {
    width: 100%;
    padding: 0;
  }
  .csm-service-group {
    padding: 10px 0;
  }
  .csm-home-page .main-content {
    width: 100%;
  }
  .csm-home-page .sidebar.right {
    width: 100%;
    margin-left: 0px;
  }
  .csm-footer-middle .csm-footer-menu-group,
  .csm-footer-middle .csm-footer-form-group,
  .csm-footer-bottom .csm-copyright,
  .csm-footer-bottom .csm-footer-sitemap {
    width: 100%;
  }
  .csm-footer-bottom .csm-footer-sitemap {
    margin-bottom: 21px;
    padding-top: 2px;
  }
  .csm-footer-form-inner {
    margin: 0 !important;
    border: 0;
    padding: 15px 0 0 1px;
  }
  .csm-footer-form form {
    padding: 0 0 5px;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal {
    margin: 0;
  }
  .sitelink-menu {
    padding: 0 0 0 10px;
  }
  .csm-footer-menu .hs-menu-wrapper>ul {
    padding-left: 0;
    margin-left: -3px;
    margin-bottom: -18px !important;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li {
    padding: 0;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li:nth-child(2n) {
    padding-left: 10px;
  }
  .csm-footer-sitemap ul {
    width: 100%;
    margin-bottom: -21px;
  }
  .csm-footer-heading h4 {
    margin-top: 18px;
  }
  .csm-footer-menu-group h4 {
    padding: 0 0 28px 3px;
  }
  .csm-footer-accreditations,
  .csm-footer-info {
    width: 100% !important;
    margin: 0 !important;
  }
  .csm-footer-accreditations ul li {
    width: 20% !important;
    
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails {
    padding: 0 20px;
  }
  .hs_error_message {
    margin: -30px 0 0;
    padding: 0 10px;
  }
  .csm-two-column-with-right {
    padding: 10px 0;
  }
  .csm-bespoke-internal-doors-page .body-container .page-center {
    padding: 0 10px;
  }



}


/* =============== Landscape tablet and smaller devices =============== */

@media (max-width: 767px) {
  .body-container input[type="text"],
  .body-container input[type="password"], 
  .body-container input[type="datetime"], 
  .body-container input[type="datetime-local"], 
  .body-container input[type="date"], 
  .body-container input[type="month"], 
  .body-container input[type="time"], 
  .body-container input[type="week"], 
  .body-container input[type="number"], 
  .body-container input[type="email"], 
  .body-container input[type="url"], 
  .body-container input[type="search"], 
  .body-container input[type="tel"], 
  .body-container input[type="color"],
  .body-container input[type="file"],
  .body-container textarea,
  .body-container select{
    max-width:100%;
    width:100% !important;
  }  
  .body-container-wrapper .main-content,
  .body-container-wrapper .sidebar{
    margin-bottom:20px;
  }
  .landing-page.one-column .body-container form {
    width: 100%;
  }
  .error-template.one-column .body-container form,
  .password-template.one-column .body-container form,
  .subscription-template.one-column .body-container form #content{
    width: 100%;
  } 
  .section.post-body img {
    float: none !important;
    display: block;
    margin: 0 auto !important;
  }
  .blog-post-wrapper .post-body img {
    float: none !important;
    display: block;
    margin: 0 auto 20px !important;
  }
  .csm-header-social {
    padding-right: 0px;
  }
  .csm-header-social i {
    display: block;
  }
  .csm-header-social {
    padding-right: 0px;
    padding-top: 1px;
  }
  .csm-header-bottom .page-center>.row-fluid-wrapper {
    padding: 10px;
  }
  .csm-header-bottom .csm-logo{
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    margin-top: 0;
  }
  .csm-header-bottom .page-center>.row-fluid-wrapper {
    padding: 10px;
  }
  .csm-header-bottom .csm-header-right ul li:last-child {
    position: static;
    width: 100%;
    float: none;
    text-align: left;
    padding-left: 0px;
    padding-top: 10px;
  }
  .csm-header-bottom .csm-header-right ul li {
    width: 100%;
  }
  .csm-header-bottom .csm-header-right {
    width: 100%;
  }
  .csm-header-bottom .csm-header-right ul li span {
    padding-left: 0px;
  }
  .csm-header-bottom .csm-header-right ul li p {
    padding-left: 0px;
  }
  .mobile-trigger i {
    width: 1.3em;
    text-align: center;
    margin-right: 4px;
  }
  .csm-footer-accreditations ul li {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  .csm-footer-middle .csm-footer-menu-group {
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
  }
  .csm-footer-middle .csm-footer-form-group {
    margin-left: 0px;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
  }
  .csm-footer-sitemap ul{
    float: none;
  }
  .csm-footer-bottom .csm-copyright, .csm-footer-bottom .csm-footer-sitemap {
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    margin-left: 0px !important;
  }
  .csm-footer-sitemap ul li {
    float: left;
    width: 50%;
  }
  .footer-menu {
    vertical-align: top;
    line-height: 1.3em;
    height: auto;
    width: auto;
    max-height: none;
    min-height: 0;
    text-decoration: none;
    cursor: pointer;
    max-width: 100%;
    padding: 15px 20px;
    border: 1px solid #000;
    background-color: #3d3d3d;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #3d3d3d), color-stop(50%, #3d3d3d), color-stop(50%, #212121));
    background: -webkit-linear-gradient(top, #3d3d3d, #212121);
    background: -moz-linear-gradient(top, #3d3d3d, #212121);
    background: -ms-linear-gradient(top, #3d3d3d, #212121);
    background: -o-linear-gradient(top, #3d3d3d, #212121);
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    background: #354569;
    color: #fff;
    margin-bottom:20px;
  }
  .footer-menu i {
    width: 1.3em;
    text-align: center;
    margin-right: .6em;
  }
  .csm-footer-sitemap ul,
  .csm-footer-menu-group .hs-menu-flow-horizontal>ul{
    display: none;
    float:none;
  }  
  .csm-two-col-eq-with-top-img {
    margin: 0px -10px;
  }
  .csm-two-col-eq-with-top-img .hs-col {
    width: 100%;
    min-height: auto !important;
    float: none;
  }
  .csm-denleigh-range-page .body-container .page-center {
    padding-bottom: 50px;
  }
  .csm-header-social {
    width: 100%;
    max-width: 230px;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 17vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 17vw;
  } 
  .csm-case-studies-sec2 .slick-slide-inner-wrapper span.tp-thumb-title {
    font-size: 10px;
    padding: 5px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li {
    width: 100%;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a {
    padding: 5px 20px;
    text-indent: 0;
    color: #354569;
    font-size: 15px;
  }
  .csm-footer-accreditations ul li:last-child {
    width: 100%;
  }




}  

@media(max-width: 750px) {
  .csm-menu-group .mobile-trigger {
    width: 97%;
  }
}


@media(max-width: 640px) {
  .csm-home-slider-section button.slick-arrow,
  .csm-home-thumbnail-slide {
    display: none !important;
  }
  .csm-home-slider-section {
    padding: 20px 0 0;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 135px;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 139px;
    max-height: 50px;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before, 
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 60px;
  }




}

@media(max-width: 545px) {
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 25vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 25vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before, 
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 40px;
  }
}

@media(max-width: 520px) {
  .custom-menu-primary .hs-menu-wrapper > ul ul li {
    width: 100%;
  }
}


/* =============== Landscape phones and smaller devices =============== */

@media (max-width: 479px) {
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    border-width: 0;
    max-height: 100%;
    max-width: 100%;
    height: 100%;
    width: 100%;
    float: none;
    margin: 20px 0 20px 0px;
  }
  .checkbox-row span.fakelabel span {
    float: none;
  }
  .hs_recaptcha.field.hs-form-field {
    overflow: auto;
    overflow-y: hidden;
  }
  .subscribe-options label{
    font-size: 13px;
    margin-left: 0;
    margin-right: 0;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal>ul>li {
    width: 100% !important;
    float: none !important;
  }
  .csm-home-main-slide .csm-home-slide-content>div {
    padding: 0 10px;
  }
  .csm-home-slide-content h1 {
    font-size: 35px !important;
    line-height: 35px !important;
  }
  .csm-footer-menu-group .hs-menu-flow-horizontal >ul >li:nth-child(2n) {
    padding-left: 0;
  }
  .csm-footer-sitemap ul li {
    width: 100%;
  }
  .csm-footer-sitemap ul {
    padding: 0;
  }  
  .csm-footer-form fieldset .input .hs-input {
    width: 100% !important;
  }
  img[align="right"],
  img[align="left"] {
    float: none !important;
    margin: 0 0 1em !important;
    display: block;
  }
  a.btn.hs_btn_default {
    padding: 9px 15px 7px;
  }
  .csm-menu-group .mobile-trigger {
    width: 95%;
  }
  .csm-product-group ul {
    padding: 0;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 28vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 28vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before, 
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 0;
  }

}

@media (max-width: 430px) {
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide {
    max-width: 50vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails .slick-slide img {
    width: 50vw;
  }
  .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:before, .csm-case-studies-sec2 .hs_cos_gallery_thumbnails:after {
    width: 20vw;
  }


}