/* ==========================================================================
   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 =============== */

/* EX: @import url('http://example.com/example_style.css'); */
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
@import url('//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.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: 767px) {
    .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                                             
   ========================================================================== */

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

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
} 

body {
  background: #fff;
  color: #4f4f4f;
  font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
  font-size: 14px;
  line-height: 26px;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  max-width: 1000px;
  margin: 0 auto;
}

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


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

/* Basic text */


p {
    color: #4f4f4f;
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
    font-size: 1em;
    line-height: 26px;
} 

small {}
strong {}
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 {
    margin: 0 0 1.5rem; 
    color:#000000;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
    font-size: 1.75em;
    line-height: 1.75em;
    font-weight: bold;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    color: #000;
}
h2 {
    font-size: 1.5em;
    line-height: 1.5em;
    font-weight: 600;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    color: #000;
}
h3 {
    font-size: 16px;
    line-height: 26px;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    font-weight: normal;
    color: #000;
}
h4 {
    font-size: 16px;
    line-height: 26px;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    font-weight: normal;
    color: #000;
}

h5 {
    font-size: 1.333rem;
    line-height: 2.25rem;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
}
h6 {
    font-size: 140%;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    font-style: normal;
    font-weight: bold;
    color: #000000;
}

/* Anchor Links */
a { 
    color: #0071a9;
    text-decoration: none;
}
a:hover, a:focus { 
    color: #0071a9;
    text-decoration: underline;
}

/* Lists */
ul, ol {}
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 {}
.custom-top-header {
    padding: 20px 20px 20px 0px;
}
.custom-top-header .page-center {
    position: relative;
}
.custom-logo {
    margin: 27px 0 0;
}
.custom-logo a {
    width: 250px;
    height: 42px;
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/.UKResources/Shield-Cambridge.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
    display: block;
    direction: ltr;
    text-indent: -999em;
}
.custom-top-menu .hs-menu-wrapper > ul {
    display: block;
    float: right;
    padding-top: 4px;
}
.custom-top-menu .hs-menu-wrapper > ul > li{
    display: inline-block;
    float:none !important;
    margin: 0;
    padding: .5em 1.5em;
    padding-right: 1.40913em;
    padding-left: 1.77148em;
    border-bottom: 7px solid #fff;
}
.custom-top-menu .hs-menu-wrapper > ul > li.hs-item-has-children{
    padding-left: 2em;
    padding-right: .80522em;
}
.custom-top-menu .hs-menu-wrapper > ul > li.hs-item-has-children > a{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-down-padded.png?t=1517296421244);
    background-repeat: no-repeat;
    background-position: 100% 60%;
    padding-right: 1.5em;
}
.custom-top-menu .hs-menu-wrapper > ul > li > a{
    font-size: 1.227em;
    text-decoration: none;
    color: #000;
    font-family: 'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    position: relative;
    font-weight:400;
}
.custom-top-menu .hs-menu-wrapper > ul > li:last-child {
    padding-right: 8px;
}
.custom-top-menu .hs-menu-wrapper > ul > li > a:hover{
    text-decoration: underline;
}
.custom-top-menu .hs-menu-wrapper > ul > li > a:before{
    content: "";
    left: -1.7em;
    width: 25px;
    height: 25px;
    position: absolute;
    background-repeat: no-repeat;
    top: 2px;
    pointer-events: none;
    background-size: 1.15em;
    background-position: 4px 2px;
}
.custom-top-menu .hs-menu-wrapper > ul > li > a[href="http://www.ocr.org.uk/ocr-sites/"]:before{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/icon-otherlinks.png);
}
.custom-top-menu .hs-menu-wrapper > ul > li > a[href="http://www.ocr.org.uk/about/index.aspx"]:before{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/icon-info.png);
}
.custom-top-menu .hs-menu-wrapper > ul > li > a[href="http://www.ocr.org.uk/contact-us/index.aspx"]:before{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/icon-contactus.png);
}
.custom-top-menu .hs-menu-wrapper > ul > li.hs-item-has-children > a:hover{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-up-padded.png);
}
.custom-top-menu .hs-menu-wrapper > ul ul:before {
    left: 262px;
    content: "";
    top: -11px;
    background: #fff;
    position: absolute;
    border: 1px solid rgba(0,63,94,.3);
    width: 20px;
    height: 20px;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right-width: 0;
    border-bottom-width: 0;
}
.custom-top-menu .hs-menu-wrapper > ul ul {
    display: none;
    width: 760px;
    clear: both;
    padding: 1.5em;
    border: 1px solid rgba(0,63,94,.3);
    background: #fff;
    top: 47px;
    left: -220px !important;
}
.custom-top-menu .hs-menu-wrapper > ul > li.hs-item-has-children:hover > ul {
    display:block;
}
.custom-top-menu .hs-menu-wrapper > ul ul > li{
    float: left;
    width: 31.333%;
    margin: 0 1%;
}
.custom-top-menu .hs-menu-wrapper > ul ul > li.hs-item-has-children > a{
    font-family: 'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 1.1em;
    line-height: 1.385em;
    text-decoration: none;
    color: #333;
    cursor: text;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul {
    left:0 !important;
    display: block !important;
    width: 100%;
    clear: both;
    padding: 0;
    visibility:visible !important;
    opacity:1 !important;
    border:0;
    position:static !important;
    background: #fff;
    z-index: 10;
    top: 47px;
    right: -220px;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul:before {
    left: 0;
    content: "";
    top: 0;
    background: #fff;
    position: static;
    border: 0;
    width: 0;
    height: 0;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right-width: 0;
    border-bottom-width: 0;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul li{
    line-height: 1.33;
    margin: 0;
    margin-bottom: .80522em;
    float: none;
    display: block;
    width: 100% !important;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul li a{
    color: rgb(0, 0, 0);
    font-size: 1.31em;
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
    text-decoration: none;
    line-height: 1.33;
    white-space: normal !important;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul li a:hover{
    text-decoration:underline;
}
.custom-search {
    margin-left: 0 !important;
    float: right !important;
}
.custom-search .gsc-search-box {
    width: 16.872em;
    float: right;
    position:relative;
    transition: width .3s ease;
}
.custom-search input#gsc-i-id1 {
    background: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/googlelogo_lightgrey_46x16dp.png?t=1517293240577) no-repeat 35px #F9F9F9!important;
    text-indent: 75px!important;
    height: 45px;
    padding: 0 10px;
    width: 100%;
    border: 1px solid #e1e1e1;
    margin-bottom: .2em;
    box-sizing: border-box;
    font-size: 15.86px;
    border-radius: 0;
    box-shadow: none;
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
    display: block;
    color: #333;
    outline: none;
    max-width: 100%;
}
.custom-search .gsc-search-button {
    background: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/search.png?t=1517296421244) no-repeat 11px #f9f9f9;
    position: absolute;
    top: 9px;
    left: 0;
    border: 0;
    width: 31px;
    height: 28px;
    background-color: transparent;
}
.custom-top-menu {
    width: auto !important;
    margin-left: 0 !important;
    float: right !important;
}
.custom-top-menu .hs-menu-wrapper > ul > li > ul {
    display: none;
    clear: both;
    padding: 1.5em;
    border: 1px solid rgba(0,63,94,.3);
    background: #fff;
    top: 43px;
    left: -258px !important;
    min-width: 804px !important;
}
.custom-top-menu .hs-menu-wrapper > ul ul ul {
    left: 0 !important;
    display: block !important;
    width: auto;
    clear: both;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0;
    position: static !important;
    background: #fff;
    min-width: 100% !important;
}
.custom-top-menu .hs-menu-wrapper > ul > li > ul:before {
    left: 300px;
    content: "";
    top: -11px;
    background: #fff;
    position: absolute;
    border: 1px solid rgba(0,63,94,.3);
    width: 20px;
    height: 20px;
    z-index: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-right-width: 0;
    border-bottom-width: 0;
}
.custom-search input#gsc-i-id1:focus::placeholder {
    color: transparent;
}

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

.body-container-wrapper {
    background-color: #fff;
    background-image: none;
}
.body-container .page-center{
    padding-top:2em;
    padding-bottom:2em;
    background-color:#fff;
    padding-left:1.5em;
    padding-right:1.5em;
}
.custom-banner-image .page-center {
    background-color: #ccd8ff;
    min-height: 0;
    padding: 1.5rem 1.5rem 0;
    color: #fff;
    background: #f8f2d9;
}
.custom-banner-image h1 {
    font-size: 1.778rem;
    line-height: 2.25rem;
    margin:0;
    padding: 0 0 1.5rem;
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
    font-weight: 700;
    color: #333;
}
.panel-hero-banner.page-center {
position: relative;
    background-size: cover;
    background-position: center center;
    padding: 10em 0;
    background-repeat: no-repeat;
}
.panel-hero-banner .panel-body-section {
    display: block;
    max-width: 75%;
    height: auto;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
    margin: 0 auto !important;
    border-radius: 3px;
    background: rgba(0,0,0,.4);
    box-sizing: border-box;
    float: none !important;
}
.panel-hero-banner .panel__header {
    font-size: 2rem;
    line-height: 5.5rem;
    font-weight: 600;
    color: #6d6e72;
}
.panel-hero-banner .panel__header h2 {
    margin: 0;
    font-size: 2.369rem;
    line-height: 2.25rem;
    margin: 0 0 1.5rem;
    font-weight: 400;
    color: #fff;
    font-family:Open Sans,Arial,Helvetica,sans-serif;
}
.panel-hero-banner .panel__body {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 0 1.5rem;
}
.panel-hero-banner .panel__body>*, .panel-hero-banner .panel__body>p {
    font-size: 1.333rem;
    line-height: 2.25rem;
    margin: 0 0 1.5rem;
    margin: 0 0 1em;
    color: #fff;
}
.panel-hero-banner a.panel-action {
    padding: .5rem .9375rem;
    background-color: #fff;
    text-decoration: none;
    border-radius: 3px;
    color: #6d6e72;
    border: none;
    display: inline-block;
    text-transform: none;
    font-weight: 700;
    transition: all .3s ease-in-out;
    font-size: 16px;
    line-height: 24px;
    font-family:Open Sans,Arial,sans-serif;
    margin: 0 auto;
    width: auto;
}
.body-container .main-content ul,.body-container .main-content ol,.body-container .sidebar ul,.body-container .sidebar ol{
    padding-left: 2em;
}
.body-container .main-content ul li,.body-container .sidebar ul li,.body-container .main-content ol li,.body-container .sidebar ol li{
    margin-bottom: 5px;
}
.content-wrapper {}
.main-content {}
.sidebar{}
.sidebar.right{}
.sidebar.left{}


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

.footer-container-wrapper {}
.footer-container {}
.custom-footer {
    padding: 0 20px 75px;
    background-color: #333;
    color: #fff;
    line-height: 1.61044em;
    padding-top: 2.2em;
}
.custom-footer .page-center {
    max-width: 960px !important;
}
.custom-footer-logo ul {
    list-style: none;
    margin: 0;
    padding: 34px 0 0 0;
}
.custom-social-icon-copyright ul li{
    margin-bottom: 5px;
}
.custom-social-icon-copyright ul li a{
    color: #fff;
    font-size: 1.16em;
    font-family: 'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    text-decoration: none;
    line-height: 1.61044em;
}
.custom-social-icon-copyright ul li a span:hover{
    text-decoration:underline;
}
.custom-social-icon-copyright ul li a img {
    height: 30px;
    width: 30px;
    vertical-align:top;
}
.custom-social-icon-copyright ul li a span {
    padding: 3px 2.5px 0;
    vertical-align: top;
    display: inline-block;
}
p.footer_utility-desktop {
    display: block;
    padding: .40261em .40261em 0;
    margin: 0;
}
.custom-footer-menu .hs-menu-wrapper ul {
    display: block;
}
.custom-footer-menu .hs-menu-wrapper ul > li {
    margin-bottom: 5px;
    display:block;
}
.custom-footer-menu .hs-menu-wrapper ul > li > a {
    color: #fff;
    font-size: 1.16em;
    line-height:21.0001px;
    font-family:'Open Sans',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
    text-decoration: none;
}
.custom-footer-menu .hs-menu-wrapper ul > li.hs-item-has-children > a {
    border-bottom: 10px solid transparent;
}
.custom-footer-menu .hs-menu-wrapper ul > li > a:hover {
   text-decoration:underline; 
}
.custom-footer-menu .hs-menu-wrapper ul ul > li > a {
    border-bottom: 10px solid transparent;
}
.custom-footer-menu .hs-menu-wrapper ul ul > li:last-child > a {
    border-bottom:0;
}
.custom-footer-logo {
    margin-bottom: 1.61044em;
    text-align: right;
}
.custom-social-icon-copyright .footer_container__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.custom-footer-logo ul li{
    display: inline-block;
    height: 100%;
    margin-bottom: 2.41566em;
    padding-right: 3.22088em;
    vertical-align: middle;
}
.custom-footer-logo ul li:last-child{
    padding-right: 0;
}
.custom-search input#gsc-i-id1:focus {
    background: url() no-repeat 10px #f9f9f9!important;
    text-indent: 28px !important;
    padding-right: 2.5em;
}
.custom-footer.custom-no-nav {
    padding: 24.75px 20px 20px;
}
/* ==========================================================================
   4. MAIN NAVIGATION                                            
   ========================================================================== */

@media screen and (min-width:768px) {
    
/* =============== Custom Menu Primary =============== */

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
    float: right;
    display:block;
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
    border-top: none;
    vertical-align: bottom;
    width: auto;
    margin: 0;
    display:inline-block;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-down-padded.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    position: relative;
    font-weight: 700;
    border-bottom: 7px solid #fff;
    font-size: 1.5em;
    display: block;
    text-decoration: none;
    padding: 7px;
    color: #000;
    padding-right: 25px;
    font-family:'Open Sans',sans-serif;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a:hover{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-up-padded.png);
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{
    background-color: #ededed;
    border-bottom-color: #ededed;
}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul > li > ul{
    padding-left: 1.55em;
    box-sizing: border-box;
    padding: 2.25em 1.55em 1.55em;
    background-color:#fff;
    width: 350px;
    left: 339.109px;
    border: 1px solid #ccc;
    top: 100%;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.25);
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children:hover > a:before,
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children:hover > a:after{
    bottom: -8px;
    left: 45%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index: 99;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children:hover > a:before{
    border-color: rgba(20,23,25,0);
    border-bottom-color: #ccc;
    border-width: 15px;
    margin-left: -8px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children:hover > a:after{
    border-color: hsla(0,5%,83%,0);
    border-bottom-color: #fff;
    border-width: 14px;
    margin-left: -7px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children:nth-child(3):hover > a:after{
    border-bottom-color: #cbf3df;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li{
    margin-bottom: .8em;
    line-height: 1.5;
    padding-left: .7em;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
    font-size: 1em;
    text-decoration: none;
    color: #333;
    letter-spacing: normal;
    word-spacing: normal;
    line-height:25.5004px;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
    text-decoration:underline;
}
/*.custom-menu-primary .hs-menu-wrapper > ul ul ul {
    padding-left: 0;
    box-sizing: border-box;
    padding: 0;
    background-color: #fff;
    width: 100%;
    left: 0 !important;
    border: 1px solid #ccc;
    top: 100%;
    position: static !important;
    box-shadow: none;
    display:block !important;
    opacity:1 !important;
    border:0;
    visibility:visible !important;
}*/
.custom-menu-primary .hs-menu-wrapper > ul ul ul li{
   padding-left:0; 
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > ul {
    left: auto !important;
    right: 0!important;
}
/* 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 */
    .custom-menu-primary .hs-menu-wrapper,
    .custom-menu-primary .hs-menu-wrapper > ul ul { 
        display:block !important;
    }
    .custom-menu-primary .hs-menu-wrapper>ul {
    float: right;
    display: block;
    margin-right: -4px;
}
.custom-menu-primary .hs-menu-wrapper>ul>li {
    border-top: 0;
    vertical-align: bottom;
    width: auto;
    margin: 0;
    display: inline-block;
}
.custom-menu-primary .hs-menu-wrapper> ul > li > ul {
    padding-left: 1.55em;
    box-sizing: border-box;
    padding: 2.25em 1.55em 1.55em;
    background-color: #fff;
    width: 352px;
    left: 339.109px;
    border: 1px solid #ccc;
    top: 100%;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.25);
    transform: translateX(-50%);
    left: 50% !important;
}
.custom-menu-primary .hs-menu-wrapper>ul > li > ul > li:last-child {
    padding: 0px;
    padding-top: .9em;
}
.custom-menu-primary .hs-menu-wrapper>ul > li > ul > li:last-child > a {
    background: #005580;
    color: #fff;
    border-radius: 0;
    padding: 1.05em;
    display: block;
    text-align: center;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    font-size: 1em;
    line-height: 1;
    text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper>ul > li > ul > li:last-child > a:hover {
    background-color: #327699;
}

.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul {
    width: 622px;
    padding: 0px;
    display: flex !important;
    left: auto !important;
    transform: translateX(0);
    right: -112px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children {
	display: inline-block;
	width: 50%;
	padding-left: 1.55em;
	box-sizing: border-box;
	padding: 2.25em 1.55em 1.55em;
	vertical-align: top;
	float: left;
	margin: 0px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:first-child {
    width: 54.1667%;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child {
    background: #cbf3df;
    width: 45.8333%;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child > a {
    background: transparent;
    padding: 0px;
    text-align: left;
    display: block;
    font-size: 1em;
    text-align: center;
    padding: 1.18em 0;
    border: 1px solid #abc0ca;
    background-color: #fff;
    color: #005580;
    font-weight: 700;
    margin-bottom: .77em;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child ul li {
    margin-bottom: .77em;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child ul li a {
    display: block;
    font-size: 1em;
    text-align: center;
    padding: 1.18em 0;
    border: 1px solid #abc0ca;
    background-color: #fff;
    color: #005580;
    font-weight: 700;
    text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child ul li a:hover {
    box-shadow: 0 0 5px 0 #9e999e;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:last-child > a:hover {
    box-shadow: 0 0 5px 0 #9e999e;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:first-child ul li:last-child a {
    background: #005580;
    color: #fff;
    border-radius: 0;
    padding: 1.05em;
    display: block;
    text-align: center;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    font-size: 1.3804em;
    line-height: 1;
    text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:first-child ul li:last-child a:hover {
    background-color: #327699;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) > ul > li.hs-item-has-children:first-child ul li:last-child {
    padding: 0px;
    padding-top: .9em;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > ul {
    left: auto !important;
    transform: translateX(0);
    right: 4px !important;
}

.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > ul > li:last-child {
    padding: 0px;
    margin-bottom: .8em;
    line-height: 1.5;
    padding-left: .7em;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > ul > li:last-child > a {
    background: transparent;
    padding: 0px;
    font-size: 1em;
    text-decoration: none;
    color: #333;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: 25.5004px;
    text-align: left;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > ul > li:last-child > a:hover {
    text-decoration: underline;
}
.custom-menu-primary .hs-menu-wrapper> ul > li > ul > li > ul {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: static !important;
}
.custom-menu-primary .hs-menu-wrapper> ul > li:hover > ul > li > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.custom-header.custom-nav {
    padding-bottom: 53px;
}
.custom-menu-primary .hs-menu-wrapper> ul > li:nth-child(3) > ul > li:first-child > a {
    margin-bottom: .8em;
}
img.panel-mobile {
    display: none;
}
}


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

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

@media (max-width: 767px){

  /* 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; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /**************************************/
    top: 0px;           /* Position Button at right of screen */
    right: 10px;        /**************************************/
    width: auto; /* Button width */
    height: 47px; /* Button height */      
    font-size: 1.625em;
    font-weight: 700;
    display: block;
    padding: 7px;
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-down-padded.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    line-height: 34px;
    padding-right: 25px;
    color: #000;
    font-family: 'Open Sans',Arial,sans-serif;
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    background: #fff;
    background-color: #ededed;
    color: #000;
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-down-padded.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding-right: 25px;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    background-image: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/arrow-black-up-padded.png);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    padding-right: 25px;
    color: #000;
  }

  /* Toggle Button Icon */
  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:before, .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after{
    width: 22px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: #000; /* Icon color */
    display: inline-block;
  }
  .mobile-trigger i:before{ top: -6px; } /* Position top line */
  .mobile-trigger i:after{ top: 6px; } /* Position bottom line */
  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after,  
  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
      background-color: #fff; /* Icon color */
  }

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

    .child-trigger {
    display: block !important;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 49px !important;
    min-width: 49px !important;
    height: 49px !important;
    padding: 0 !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: #000; /* 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: 47px;
    margin: 0px;
  }

  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-wrapper,
  .custom-menu-primary.js-enabled .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: 0;
    left: 0;
    padding: 0;
  }
  .custom-menu-primary .hs-menu-wrapper{
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
.custom-menu-primary .hs-menu-wrapper > ul {
}
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li a{
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
    display: block;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    text-align: left;
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
    font-weight: 700;
    font-size: 1.5em;
    display: block;
    padding: 7px 7px;
    font-weight: 700;
    color: #000;
    font-family:'Open Sans',Arial,sans-serif;
    line-height: 33.904px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a:hover{
    background: #fff;
    background-color: #ededed;
  }

  /* 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{

  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{

  }

  /* Level 4 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a{

  }
}


/* ==========================================================================
   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 .blog-sidebar h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 400;
}
#comment-form .hs-button.primary {
    margin-top: 10px;
}
/* =============== 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 {}
.post-header h2 a {
    text-decoration: none;
    color: #333;
}
#hubspot-author_data .hs-author-avatar {
    max-width: 100px;
    padding: 10px 0 10px 0;
}

#hubspot-author_data .hs-author-avatar img {
    height: auto !important;
    max-width: 100%;
}


/* 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: 100px;
  float: left;
  margin-right: 15px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 0;
}

/* Use this to set up different styling for your blog posts */
.blog-listing-wrapper .post-listing .post-item {
    border-bottom:1px solid #ccc;
    padding-bottom:20px;
    margin-bottom:20px;
}
.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:10px 0;
}

/* Blog Topics List */
#hubspot-topic_data {}
#hubspot-topic_data a.topic-link {}

/* Blog Social Sharing Icons */
.hs-blog-social-share {
    border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    height: auto;
    margin-top: 10px;
    padding: 10px 0 0;
}

/* Blog Commments */
.custom_listing_comments {
    border:1px solid #ccc;
    padding:15px;
    margin:0 0 20px 0;
}

#comments-listing {
    border: 1px solid #ccc;
    margin-bottom: 30px;
    margin-top: 30px;
}


.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;
    display: block;
    padding: 0;
}

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

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

.comment-date {
    display: block !important;
    text-align: left;
}
.blog-pagination a.all-posts-link{
    display:block;
}

.blog-pagination a.next-posts-link {
    display:block;
}

.hs-author-profile .hs-author-avatar {
    max-width: 70px;
    padding: 10px 10px 10px 0;
}

.hs-author-profile .hs-author-avatar img {
    height: auto !important;
    max-width: 100%;
}
#comments-listing.no-comments {
   border: none;
}
.comment-body { padding: 10px 0; }

/* Pagination */
.blog-pagination {}
.blog-pagination a {}
.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 {}


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

.hs-blog-listing .hs-author-profile {
    border-bottom: 0;
    padding: 0;
    margin: 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 {}


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


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

/* Form Field */
.hs-form-field {}

/* Descriptions */
.hs-field-desc {}
span.hs-form-required {
    color: red;
}
.form-title{
    font-size: 140%;
    font-family: Open sans,Arial,sans-serif;
    font-style: normal;
    font-weight: bold;
    color: #000000;
}
.hs-error-msgs label{
    padding: 7px 0 0 0;
    line-height: 10px;
    font-weight: bold;
    font-size: 11px;
    color: red ;
    clear: both;
    display: block;
    font-family: Open Sans,Arial,Helvetica,sans-serif;
}
.hs-form-field .hs-error-msgs label {
    color: red;
    line-height: 150%;
    display: block;
    font-size: 11px;
    font-family: Arial;
    font-style: normal;
}
form.hs-form .hs-form-field ul.inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.hs-error-msgs.inputs-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
}
/* Labels and Legends */
label {}
.hs-form-field label {
    font-size: 1em;
    font-style: normal;
    font-weight: 600;
    color: #000;
    padding: 0.5em 0 0 0;
    line-height: 1.5em;
    display: block;
    white-space: normal;
}

.hs-form .inputs-list label {
    font-weight: 400;
}

/* 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:100%;
    display:block;
    border: 1px solid #e1e1e1;
    margin-bottom: 1em;
    margin-top: .2em;
    font-size: 1em!important;
    border-radius: 0;
    box-shadow: none;
    font-family: Open Sans,Arial,sans-serif;
    font-style: normal;
    font-weight: normal;
    color: #333333;
    padding: .5em;
    font-size: 100%;
    background: #efefef;
}

.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 {}
select:focus {}

/* 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 */
.custom-search input#gsc-i-id1::-webkit-input-placeholder {
    font-size:14px;
} /* Webkit Browsers */
:-moz-placeholder {} /* Firefox 18- */
::-moz-placeholder {} /* Firefox 19+ */
:-ms-input-placeholder {} /* IE10 */


/* =============== 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) =============== */

.body-container .hs-button.primary,
.body-container input[type="submit"],
.body-container input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
      transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    background-color: #005580;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 120%;
    margin:0 0 20px;
    padding: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    font-family:arial,sans-serif;
}

.body-container .hs-button.primary:hover,
.body-container input[type="submit"]:hover,
.body-container input[type="button"]:hover {
    background-color: #005580;
}

.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 {}


/* ==========================================================================
   8. MISCELLANEOUS                                      
   ========================================================================== */


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


/* ==========================================================================
   9. MEDIA QUERIES                              
   ========================================================================== */


/* =============== Screen sizes smaller than .page-center =============== */


    
    
    @media (max-width: 1024px) {
        .custom-bottom-header {
            padding: 0 12px;
        }
        .custom-menu-primary .hs-menu-wrapper>ul {
            margin-right: 0;
        }
        .custom-top-menu {
            padding-right: 8px;
        }
    }
    
    @media (max-width: 990px){
        .custom-top-menu {
            padding-right: 15px;
        }
    }
    
    
    @media (max-width: 950px){
        .custom-top-menu {
            padding-right: 30px;
        }
    }
    
    @media (max-width: 900px){
        .custom-top-menu .hs-menu-wrapper > ul > li > ul:before {
           left: 238px;
        }
        .custom-top-menu .hs-menu-wrapper > ul > li > ul {
           left: -190px !important;
           min-width: 100% !important;
           max-width: 680px !important;
        }
    }
    
    @media (max-width: 890px){
        .custom-top-menu {
            padding-right: 38px;
        }
    }


    @media (max-width: 850px){
        .custom-top-menu {
            padding-right: 48px;
        }
    }
    
    @media (max-width: 820px){
        .custom-top-menu {
            padding-right: 60px;
        }
    }
    
    @media (max-width: 867px) and (min-width:768px){
		.custom-footer-logo {
			width: 57% !important;
			float: right !important;
			margin-left: 0 !important;
		}
		.custom-footer-menu, .custom-social-icon-copyright {
			width: 16% !important;
		}
    }

/* =============== 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%;
        } 
        .footer_utility-desktop {
            display: none;
        }
        .custom-social-icon-copyright .footer_container__list {
            margin-bottom: 1.61044em;
        }
        .custom-footer-logo {
            margin-bottom: 1.61044em;
            text-align: center;
        }
        .custom-footer {
            padding: 0 10px 100px;
        }
        .custom-footer-logo ul {
            padding: 27px 0 0 0;
        }
        .custom-footer-logo ul li {
            display: block;
            height: 100%;
            margin-bottom: 2.41566em;
            padding-right: 0;
            vertical-align: top;
        }
        p.footer_utility-desktop {
            display: none;
        }
        .custom-footer-menu .hs-menu-wrapper ul > li.hs-item-has-children > a {
            border-bottom: 10px solid transparent;
            margin-bottom: 4px;
        }
        .custom-footer-menu .hs-menu-wrapper ul {
            display: block;
            margin: 0 0 10px 0;
        }
        .custom-footer-menu .hs-menu-wrapper ul > li {
            margin-bottom: 4px;
            display: block;
        }
        .custom-footer-menu .hs-menu-wrapper ul > li > a {
            padding: 0 6.09004px;
        }
        .custom-social-icon-copyright .footer_container__list {
            margin-bottom: 1.61044em;
            padding-top: 2.2em;
            padding-bottom: 6px;
        }
        .custom-social-icon-copyright ul li a span {
            padding: 4px 2.5px 0;
        }
        .custom-top-header {
            padding: 10px;
        }
        .custom-logo {
            margin: 5px 0 0 0;
        }
        .custom-logo a {
            width: 120px;
            height: 49px;
        }
        .custom-search {
            margin-left: 0 !important;
            float: right !important;
            position: absolute;
            top: 0;
            right: 0;
            left: 0px;
        }
        .custom-bottom-header {
            padding: 0;
        }
        .custom-top-menu {
            display: none !important;
        }
        .custom-footer.custom-no-nav .footer_utility-desktop {
            display: block;
        }
        .custom-bottom-header {
            padding: 0;
            margin-bottom: -2px;
        }
        .panel-hero-banner.page-center {
            padding: 0;
        }
        .panel-hero-banner .panel-body-section {
            display: block;
            max-width: 100%;
        }
        .panel-hero-banner a.panel-action {
            max-width: 100%;
            margin: 0 auto;
            width: 100%;
        }

    }


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

    @media (max-width: 495px) {
        .custom-logo a {
            width: 100px;
            height: 40px;
        }
        .custom-search .gsc-search-box {
            float: right;
            position: relative;
            width: 13.6em;
            transition: width .3s ease;
        }
        .custom-menu-primary .hs-menu-wrapper > ul li a {
            padding: 7px 7px;
            font-size:13.04px;
            font-weight:700;
            line-height:20.864px;
        }
        .custom-menu-primary.js-enabled {
            position: relative;
            padding-top: 34px;
            margin: 0px;
        }
        .mobile-trigger{
            height: 34px; /* Button height */      
            font-size:13.04px;
            font-weight:700;
            line-height:20.864px;
            background-position: 100% 50%;
        }
        .mobile-trigger:hover {
            background-position: 100% 50%;
        }
        .mobile-open .mobile-trigger{
            background-position: 100% 50%;
        }
        .child-trigger {
            width: 34px !important;
            min-width: 34px !important;
            height: 34px !important;
        }
        .full-form .custom-search .gsc-search-box {
            width: 100%;
        }
        .custom-search input#gsc-i-id1 {
            background: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/googlelogo_lightgrey_46x16dp.png?t=1517307597501) no-repeat 24px #F9F9F9!important;
            text-indent: 65px!important;
            height: 35px;
            padding: 0 7px;
        }
        .custom-search {
            top: 6px;
        }
        .custom-search .gsc-search-button {
            background: url(//4123326.fs1.hubspotusercontent-na1.net/hubfs/4123326/Ocr%20Jan%202018/Images/search.png?t=1517307597501) no-repeat 11px #f9f9f9;
            position: absolute;
            top: 4px;
            left: -4px;
            border: 0;
            width: 31px;
            padding: 0;
            height: 28px;
            background-color: transparent;
        }
        div#captcha_wrapper {
            overflow: auto;
        }
        .subscribe-options label span {
            font-weight: normal;
            margin-left: 1px;
            font-size: 12px;
            font-weight: bold;
        }
        .custom-top-header.full-form .custom-logo {
            opacity: 0;
            visibility: hidden;
        }

    }
    
    
    
    
/*/=====================================================================================================================/*/
/*/================                                                                                     ================/*/  
/*/================     APRIL 2018  -  BTS Chris Stephenson  -  Hubspot Consultant -  Additional CSS    ================/*/    
/*/================                                                                                     ================/*/  
/*/=====================================================================================================================/*/
    


/*/===   GENERAL PAGE LAYOUT STYLING - These are currently overrides but can replace the CSS above once the elements are apporved  ===/*/

.body-container .page-center {
    background-color: #fff;
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.custom-header.custom-nav {
    padding-bottom:20px!important;
}

@media (max-width: 767px) {
    .custom-top-header {
        padding: 15px!important;
    }
    
    .custom-header.custom-nav {
       padding-bottom:10px!important;
    }
    
    .body-container .page-center {
        padding-left: 1em!important;
        padding-right: 1em!important;
    }
    
    .span12.widget-span.widget-type-cell.mob-no-top-pad.page-center.content-wrapper {
        padding-top: 0;
    }



    
}


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

.bot-pad {
    padding-bottom:1.5em;
}



/*/===    TYPOGRAPHY   ===/*/

.hs-form-field input {
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
}

label, input, span, div, ul, ol, li {
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
}

.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 {
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
}


/*/===   NAVIGATION    ===/*/
 
.custom-header {
  padding-bottom:1em;
}

/*/===   LP SPECIFICS   ===/*/


.text-hero-org-curv {
    background-color:#d0862a;
    border-radius: 0 0 300px 0;
    padding-top:1em;
    padding-bottom:1em;
}

.text-hero-org-curv h1 {
    color:#fff;
}

.text-hero {
    padding:20px 0;
}

 
.hero-title h1 {
    margin: 0!important;
    padding-right:20px;
    font-size: 2em!important;
    line-height: 2em!important;
}


@media (max-width:920px) {
    .hero-title h1 {
        font-size: 30px!important;
        line-height: 36px!important;
    }
}

@media (max-width:500px) {
    .hero-title h1 {
        font-size: 26px!important;
        line-height: 30px!important;
    }
    
    .text-hero-org-curv {
        border-radius: 0 0 150px 0;
    }
}




.hero-img img {
    width:100%!important;
}


.lp-form-outer {
    background: #f9f9f9; 
    padding: 1.5em; 
    border: 1px solid #e1e1e1;
    margin-bottom: 2em;
}

.lp-grey-outer {
    background: #f9f9f9; 
    padding: 1.5em; 
    border: 1px solid #e1e1e1;
    margin-bottom: 2em;
}

.lp-white-box {
    background: #fff; 
    padding: 1.5em; 
    border: 1px solid #e1e1e1;
    margin-bottom: 2em;
}
.lp-white-box-1 {
    background: #fff; 
    padding: 1.5em; 
    border: 1px solid #e1e1e1;
    margin-bottom: none;
}

.lp-box-pad {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.no-bord {
    border:none;
}

.lp-quote-outer {
    background-color: #d7f3fd;
    padding-top: 2em;
    padding-bottom: 2em; 
}

.lp-blue-head {
    background-color: #d7f3fd;
}

.lp-blue-head div .span12.widget-span.widget-type-cell.page-center.content-wrapper {
    background-color: #d7f3fd;
}

.lp-blue-head h1 {
    color:#005580!important;
    margin: 0 0 .5rem;
}

.lp-quote-inner {
    padding-top:1em!important;
    padding-bottom:1em!important;
    padding-left:1.5em!important;
    padding-right:1.5em!important;
    background-color:#fff!important;
}

.page-center.content-wrapper.lp-quote-inner {
    padding-top:1em!important;
    padding-bottom:1em!important;
    padding-left:1.5em!important;
    padding-right:1.5em!important;
    background-color:#fff!important;
}

.lp-quote-text p {
    font-style: italic;
    font-weight: 400!important;
    font-size: 16px;
    line-height: 1.5em;
    text-align:center;
}

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

.lp-quote-by {
    font-weight: bold;
    text-align:center;
    font-family: Open Sans, Arial, Verdana, Trebuchet MS, sans-serif;
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 1em;
}

.lp-quote-by p {
    -webkit-margin-before: none!important;
}

.bot-spacer {
    padding-bottom: 3em;
}

.bot-spacer-1 {
    padding-bottom: 1em;
}

.bot-mar-1em {
    margin-bottom:1em;
}
    
.form-lead h3 {
    margin: 0;
}

.form-disclaimer p  {
    position: relative;
    font-size: 0.75em;
    line-height: 0;
    vertical-align: baseline;
    top: -0.5em;
    line-height: 1.5em;
}


form.hs-form fieldset[class*="form-columns"] .input {
    margin-right: 0;
    margin-top: .6em;
}

label.hs-form-radio-display {
    padding-top: 0px;
}

.body-container .hs-button.primary, .body-container input[type="submit"], .body-container input[type="button"] {
    cursor: pointer;
    -webkit-appearance: none;
    text-decoration: none !important;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    background-color: #005580;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 1.25em;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}


.body-container .hs-button.primary:hover, .body-container input[type="submit"]:hover, .body-container input[type="button"]:hover {
    background-color: rgba(0,85,128,0.8);

}


.cta-margin {
    margin-bottom:30px;
}


.cta_button .cta-margin:hover {
    background-color:#FF5427!important;
}

.right-img {
    text-align:center; 
    padding-bottom:25px;
}


.title-top {
    font-size: 3em;
    line-height: 1.1em;
    font-weight: bold;
    font-family: Open Sans,Arial,sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.title-mid {
    font-size: 1.65em;
    line-height: 1.5em;
    font-weight: bold;
    font-family: Open Sans,Arial,sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.title-bot {
    font-size: 2.05em;
    line-height: 1em;
    font-family: Open Sans,Arial,sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.black-text p {
    color:#000000;
}

@media (max-width: 650px) {

	.title-top {
	    font-size: 1.5em!important;
    	line-height: 1em!important;
	}

	.title-mid {
	    font-size: 1.5em!important;
  	  line-height: 1em!important;
	}

	.title-bot {
	    font-size: 1.5em!important;
    	line-height: 1em!important;
	}

}



.assess-title p {
  margin-bottom:0!important;
}

.bot-bord {
  border-bottom: solid 1px black;
}



/*/===    MOBILE OPTIMISATION   ===/*/


@media (max-width: 1050px) {

    .body-container .page-center {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }  
    
}

@media (max-width: 1000px) {
    
    .lp-quote-outer {
        padding-left: 1em;
        padding-right: 1em;
    }
    
}

@media (max-width: 767px) {
    
    .body-container .page-center {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }  
  
    .hide-mob {
        display:none!important;
    }
  
    .display-mob {
        display:block!important;
    }

}
    
    
/*/===    PREFERENCE CENTRE    ===/*/

.pref-centre-form li.hs-form-checkbox, li.hs-form-radio {
    float: left;
    width: 50%; 
    list-style: none;
}

.hs-form-field .hs-error-msgs label {
    font-size: 1em;
}

input[id^="gdpr_opt_out_selected-"] {
    background-color:red!important;
    color:white!important;
    font-weight:bold!important;
    display: inline-block !important;
  }
  
input[id^=gdpr_opt_out_selected-] {
    background-color:red!important;
    color:white!important;
    font-weight:bold!important;
    display: inline-block !important;
  }
  
    
    
@media (max-width: 767px) {
    
    .pref-centre-form li.hs-form-checkbox, li.hs-form-radio {
        width: 100%;
    }

}

.hs-form-field .hs-error-msgs label a {
    color: red;
    line-height: 150%;
    display: block;
    font-size: 1em;
    font-family: Open Sans,Arial;
    font-weight: bold;
}




/*/===    SUBSCRIPTION SYSTEMS PAGES    ===/*/


p.header {
    margin-left: 0px; 
}
    

.subscribe-options label {
    font-size: 13px;
    margin-left: 0;
    margin-right: 0;
}
    
    
    
/*/===   BLOG EDITS   ===/*/
    
    
.span6.widget-span.widget-type-menu.custom-top-menu.hidden-phone {
    margin-right: 15px;
}
    
.page-center.blog-title h1 {
    margin: 0;
    font-size:1.85em;
}

.span12.widget-span.widget-type-cell.panel-hero-banner.page-center {
    max-width: 1000%;
    width: 100%;
}

.page-center.content-wrapper.extra-top-pad {
    padding-top:3em!important;
}

.blog .blog-sidebar h3 {
    font-size: 1.5em;
    line-height: 1.5em;
    font-weight: 600;
    margin: 0;
}
    
.blog .blog-sidebar .widget-span {
    background-color: #eaeaea;
    padding: 1em 1.5em;
    border-radius: 0 0 90px 0;
    margin-bottom: 2em;
}
    
.widget-type-post_listing ul, .widget-type-post_filter ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.blog-listing-wrapper .post-listing .post-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
    margin-bottom: 3em;
}

a.more-link {
    cursor: pointer;
    -webkit-appearance: none;
    text-decoration: none !important;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    background-color: #005580;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 1em;
    margin: 0 0 1.5em 0;
    padding: 0.5em 2em;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}


a.more-link:hover {
    background-color: rgba(0,85,128,0.8);
}


.blog-content h2 {
  margin:0px!important;
}
.blog-content h3 {
  margin:0px!important;
}

@media (max-width: 767px) {
.post-body img {
    float: none!important;
    display: block;
}
}
  



/*/===  CUSTOM STICKY FOOTER  ===/*/


/* 
* {
  margin: 0;
}
*/

html, body {
  height: 100%;
}

.body-container-wrapper {
  min-height: 100%;
  margin-bottom: -350px; 
}

.body-container-wrapper:after {
  content: "";
  display: block;
}

.site-footer, .body-container-wrapper:after {
  height: 350px; 
}

.site-footer {
  background: #333;
}

@media (max-width:767px) {
    
    .body-container-wrapper {
      min-height: 100%;
      margin-bottom: -700px; 
    }
    
    .site-footer, .body-container-wrapper:after {
      height: 700px; 
    }
        
        
}




    
/*/===    CAMBRIDGE NATIONALS ITT PAGE    ===/*/

  
label[id^=label-cohort_size-] {
    padding-top: 20px;
  }
  
label[id^=label-start_to_teach-] {
    padding-top: 20px;
  }

.typ-download-banner {
  background-image: url(https://teach.ocr.org.uk/hubfs/Landing%20Page/making-the-connection-Mulit_Promo_1000x340px_banner.png);
  background-size: cover;
}

.black-overlay {
  background-color: rgba(0,0,0,.6);
}

.typ-download-banner h1 {
  color:#ffffff!important;
}
.typ-download-banner h2 {
  color:#ffffff!important;
}
.typ-download-banner h3 {
  color:#ffffff!important;
}
.typ-download-banner p {
  color:#ffffff!important;
}
.typ-download-banner i {
  color:#ffffff!important;
}
.typ-download-banner li {
  color:#ffffff!important;
}
.typ-download-banner span {
  color:#ffffff!important;
}
.typ-download-banner a {
  color:#ffffff!important;
}

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

.fa-4x {
    font-size: 5em;
}