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

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/****************************************/
/* HubSpot Style Boilerplate            */
/****************************************/

/* These includes are optional, but helpful. */
/* Images */

img {
    max-width: 100%;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}

/* Videos */

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

/* Embed Container (iFrame, Object, Embed) */

.hs-responsive-embed {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.hs-responsive-embed iframe, .hs-responsive-embed object, .hs-responsive-embed embed {
    width: 100%;
    height: 100%;
    border: 0;
}

.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    padding-bottom: 2%;
}

.hs-responsive-embed.hs-responsive-embed-instagram {
    padding-bottom: 116.01%;
}

.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 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 {
    padding: 6px;
    display: inline-block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Menus */

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

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
    margin-bottom: 20px;
}

.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;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > 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;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 180px;
    top: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > 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;
    margin-bottom: 20px;
    min-height: 7em;
}

.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;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.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;
    white-space: nowrap;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 20px;
}

.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 a {
    padding: 10px 20px;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-vertical > 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;
    top: 0;
    left: 180px;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li a {
    min-width: 140px;
    width: auto;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul {
    max-width: 100%;
    overflow: hidden;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper,
.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li.hs-item-has-children > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-2 > a {
    padding-left: 4em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-3 > a {
    padding-left: 6em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-4 > a {
    padding-left: 8em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-5 > a {
    padding-left: 140px;
}

.hs-menu-wrapper.hs-menu-not-show-active-branch li.hs-menu-depth-1 ul {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
}

@media (max-width: 568px) {
    .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;
        max-width: 100%;
        width: 100%;
    }
}

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

/* Space Module */

.widget-type-space {
    visibility: hidden;
}

/* Blog Author Section */

.hs-author-listing-header {
    margin: 0 0 .75em 0;
}

.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");
}

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

/* FlexSlider Necessary Styles
*********************************/
.hs_cos_flex-slider {margin: 0; padding: 0;}
.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%;}

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


/* 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(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/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(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/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: rgba(0,0,0,0.5);
    position: absolute;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    bottom: 0;
    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;
    }

    /* beat recaptcha into being responsive, !importants and specificity are necessary */
    #recaptcha_area table#recaptcha_table {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r1_c1 {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r4_c4 { width: 67px !important;}
    #recaptcha_area table#recaptcha_table #recaptcha_image {width:280px !important;}
}

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

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

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




/* Font Family and Colors */
    /*  */
    /*  */
    /*  */


/* Typography */
            /*  */
                          /*  */
                         /*  */
                          /*  */


/* Wrappers */
                          /*  */
                          /*  */
                          /*  */

/*****************************************/
/* Start your style declarations here    */
/*****************************************/


.hero-banner p span, .hero-banner p {
    font-weight: bold !important;
}

.row-fluid [class*="span"].call_now { 
    width: 28px !important;
    margin-right: 70px;
    margin-left: 0px;
    margin-top: 0px;
    float: right;    
}
 
body .header-container-wrapper .call_now .fa {
    color: #FFF;
}

.espanol_menu .hs-menu-wrapper{
  margin-right: 0px;
  float: none;
}

body .header-container-wrapper .row-fluid .pth-header{
    transition:all 0s ease 0s !important;
    -webkit-transition:all 0s ease 0s !important;
    position: fixed !important;
    padding-bottom: 12px !important;
}


/*ATTORNEYS*/
.attorney_image {
    margin-bottom: 12px;
    text-align: center;
}

.espanol_menu, .main-menu {
    display: none !important;
}

#hs_cos_wrapper_module_147324956471613861 {
    display: none !important;
}

.single-our-services .smiley_icon {
  background: url(https://cdn2.hubspot.net/hub/3267875/hubfs/smiley_icon_red.png?t=1499792965452&width=35&name=smiley_icon_red.png) no-repeat center center;
}

@media(min-width:768px) {
  
  .row-fluid [class*="span"].call_now {
      margin-right: 10px;
      margin-top: 10px;
  }
  
  div.widget-span.logo {
      width: 100%;
      text-align: center;
  }
  
  div.widget-span.logo img {
      max-width: 320px;
      margin-bottom: 8px;
  } 
  
  .row-fluid-wrapper .row-fluid .widget-span.widget-type-menu.custom-menu-primary {
      width: calc(100% - 290px) !important;
      margin-left: 0px !important;
  }
  
  .pth-header .hs-menu-wrapper {
    float: left;
  }

  .header-container .pth-header .widget-type-cta {
      width: 135px !important;
      margin-left: 15px !important;
      font-size: 12px !important; 
  }

  .espanol_menu { 
      float: right !important;
      width: auto !important;
      margin-right: 10px !important; 
      margin-left: 0px !important;
      display: block !important;
  }

  .main-menu {
      display: block !important;
  }

  .mobile-menu {
      display: none !important;
  }

  body .header-container-wrapper .pth-header ul>li>a{
      font-size: 12px !important;
  }

  #hs_cos_wrapper_module_147324956471613861 {
      display: block !important;
  }

  #hs_cos_wrapper_module_1502133250401278 {
        display: none !important;
  }
}

@media(min-width:980px) {
  div.widget-span.logo {
    width: 30%; 
  }

  div.widget-span.logo img {
    max-width: 100%;
    margin-bottom: 0px;
  } 

  .row-fluid-wrapper .row-fluid .widget-span.widget-type-menu.custom-menu-primary {
    width: calc(70% - 290px) !important;
    margin-left: .95% !important;
  }
  
  .pth-header .hs-menu-wrapper {
    float: right;
  }
}

@media(min-width:1024px) {
  .header-container .pth-header .widget-type-cta {
      margin-top: 0;
  }
}

@media(min-width:1150px) {    
  .row-fluid-wrapper .row-fluid .widget-span.widget-type-menu.custom-menu-primary {
      width: calc(70% - 300px) !important;
  }

  body .header-container-wrapper .pth-header ul>li>a{
      color: #fff;
      line-height: 1;
      font-size: 14px !important;
      font-weight: 600;
      padding: 10px 16px;
  }

  .row-fluid [class*="span"].wrapper {
      max-width:1450px !important;
  }

  .header-container .pth-header .widget-type-cta {
      margin-top: 0;
  }    
}

@media(min-width:1180px) {
  .row-fluid-wrapper .row-fluid .widget-span.widget-type-menu.custom-menu-primary {
      width: calc(70% - 315px) !important;
  }
  
  body .header-container-wrapper .pth-header ul>li>a{
      font-size: 16px !important;
  }  
}

/*footer subscribe form*/

.footer-container-wrapper input[type="email"] {
    width: 100%;
}

div.hs_email.field.hs-form-field {
    width: 80% !important;
}

.hs_cos_wrapper_type_blog_subscribe h3 {
    text-transform: uppercase !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
}

/*home page upper subscribe form */
.section-get-started div.hs_email.field.hs-form-field {
    width: 50% !important;
}

.section-get-started .row-fluid form .hs-button.primary {
    padding-left: 40px;
    padding-right: 40px;
    margin-left: 5%;
}

/*VIDEOS*/
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper:after {
	content: "";
	display: table;
	clear: both;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*for Andrew's page*/
.video-upper-right {
    top:0;
    width: 100%;
    margin:16px 0;
}

@media (min-width: 767px) {
.video-upper-right {
    position: absolute;
    right:0;
    width: 50%;
}
}

.videoWrapper video {
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 767px) {
.media_content .row-fluid .span4 {
    position:relative;
	padding-bottom: 56.25%; /* 16:9 */
}
}

.media_content .hs_cos_wrapper_type_custom_widget .row-fluid-wrapper {
    margin-bottom: 32px !important;
}


.footer-container span.hs_cos_wrapper_type_blog_subscribe {
    color: #FFF !important;
}

.footer-container span.hs_cos_wrapper_type_blog_subscribe div.actions {
    color: #000 !important;
}


/*copy-pasted*/
/*====================================================
            Testimonial Section
===================================================*/


.testimonial-cm {
    padding: 0 15px;
}

.testimonial-cm .text-container .fa{
    color: #fff;
    width: 54px;
    height: 26px;
    background: #a71111;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 6px 0;
    border-radius: 5px;
    font-size: 24px;
    margin-bottom:24px;
}

.testimonial-cm .text-container{
    position: relative;
    border: 1px solid #e7e7e7;
    padding: 25px 15px 5px;
}

.testimonial-cm .text-container:before{
    content: '';
    left: 25px;
    bottom: -9px;
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border: 1px solid #e7e7e7;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.testimonial-cm .designation h3{
    margin: 0;
}

.testimonial-cm .contact-details-container{
    margin-top:25px;
}

.testimonial-cm .contact-details-container .image{
    margin:0;
}

.testimonial-cm{
    margin:0;
}

body .owl-theme .owl-dots{
    margin-top:30px;
}

body .owl-theme .owl-dots .owl-dot span {
    width: 20px;
    height: 4px;
    margin: 5px 5px;
    background: #aeaeae;
    border-radius: 0;
}

body .owl-theme .owl-dots .owl-dot.active span,
body .owl-theme .owl-dots .owl-dot:hover span {
    background: #a71111;
}



@media ( max-width:767px ){
 

.testimonial-cm {
    padding: 0;
}

body .owl-theme .owl-dots {
    margin-top: 20px;
}

.testimonial-section{
    padding:50px 0;
}
 
  
}




/*=====================================================
            Our Team
====================================================*/

.section-our-team .cta{
    margin-top:50px;   
}


/*==== Team CM Styling =======*/

body .row-fluid .team-member-cm {
    width:25%;
    margin:0;
    padding:1%;
}

.team-member-cm .container{
    position: relative;
    z-index: 1;
    border: 1px solid #e7e7e7;
    padding: 25px 0 15px;
    box-shadow: 0px 0px 2px rgb(242, 242, 242);
    transition:all .3s ease-in;
    -webkit-transition:all .3s ease-in;
}

.team-member-cm .container:hover{
    box-shadow: 0px 0px 15px #e4e4e4;
}

.team-member-cm .container:before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    background: url('//cdn2.hubspot.net/hubfs/1598866/Assets_Legal_Pack/group-42x.png') no-repeat;
    height: 100px;
    background-size: contain;
}

body .row-fluid .team-member-cm .member-image{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;  
    margin-bottom: 10px;
    margin:0 auto;
    float:none;
}

.team-member-cm .member-image h3{
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    color: #fff;
}

.team-member-cm .description h3{
    font-size:18px;
}

.team-member-cm .description-container{
    padding: 13px 14px 0;
}



/**************************************************
*****************Singele Team Page*****************
**************************************************/

body .row-fluid .single-team .member-image {
    width: 150px;
    height: 150px;
    margin-bottom:15px;
}

.single-team .social-icons{
    margin:8px 0;
}

.single-team .social-icons .fa{
    color: #7f7f7f;
    font-size: 25px;
    margin: 0 5px;
}

.single-team-member .left-col{
    padding-right:7%;
}



@media ( min-width:768px ) and ( max-width:1024px ) {


body .row-fluid .team-member-cm {
    width:33.33332%;
    margin:0;
}

}

@media ( max-width:767px ){
 

body .row-fluid .team-member-cm {
    width:50%;
    float: left;
}

.single-team-member .left-col{
    padding-right:0;
}

body .single-team-member .row-fluid {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-direction: column;
    -webkit-flex-direction: column;
}

.single-team-member .left-col{
    order:2;
    -webkit-order:2;
    margin-top:30px;
}

.single-team-member .single-team{
    order:1;
    -webkit-order:1;
}

}


@media ( max-width:420px ){
 
body .row-fluid .team-member-cm {
    width:100%;
    padding:10px 0;
}

}

/*Pasted from Home page*/
@media (min-width:768px){

.our-team-three-col .single-our-team>span {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: stretch;
    -moz-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    -wevkit-flex-wrap: wrap;
    margin-right: -30px;
}

}

.our-team-three-col .single-our-team>span>.hs_cos_wrapper{
    margin: 0;
    width: 31.3333%;
    margin-bottom: 60px;
    margin-right: 2%;
}

.our-team-three-col .single-our-team .hs_cos_wrapper .service-group .row-fluid  a div.span12.container {
    margin-left:0 !important;
}


@media ( min-width:768px ) and ( max-width:1024px ) {

.our-team-three-col .team-group .fa {
    line-height: 28px;
    font-size: 22px;
}

.our-team-three-col .single-our-team>span>.hs_cos_wrapper{
    margin-bottom:30px;
}

}

@media ( max-width:767px ){
    
.our-team-three-col .single-our-team>span>.hs_cos_wrapper{
    text-align:center;
    width:100%;
    margin-bottom: 40px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;    
}        

.our-team-three-col .font-icon{
    margin:0 0 10px ;
    border:0;
}

.our-team-three-col .image {
    margin: 0;
}

.our-team-three-col .cta {
    margin-top: 0px;
}

}


/*Blog*/
.hs-blog-listing .blog-section h2 {
    font-size: 20px !important;
    line-height: 1.3em !important;
}

/*Download PDF form*/
div.download-ebook form div.hs_email.field.hs-form-field {
     width: 100% !important;
     margin-top:20px;
}

/*Search*/
#search_footer_wrapper input[type=text] {
    width: 80% !important;
}

#search_footer_wrapper .hs-button.primary {
    width: 56px;
    height: 46px;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 !important;
}

#search_footer_wrapper .hs-button.primary:before {
    position:absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    line-height: 46px;
    font-family:FontAwesome;
    content: '\f002';
    font-size: 20px;
    color: #FFF;
}

#search_footer_wrapper div.input {
    position: relative;
}






/*============================================
            About Four Column
============================================*/

.about-four-col{
    background:#333;
    padding:40px 0;
    max-width: 1920px;
    margin: 0px auto !important;
    float: none !important;
}

.about-four-col p{
    margin:0;
}

.about-four-col .border{
    position:relative;
}

.about-four-col .border:before{
    content:'';
    position:absolute;
    right:0;
    top:20px;
    bottom:20px;
    min-height: 98px;
    border-right: 1px solid rgb(129, 129, 129);
}


@media ( min-width:768px ) and ( max-width:1024px ) {

}

@media (min-width: 767px) {
    .about-four-col .row-fluid .span3 {
        width: 25%;
        margin-left: 0 !important;
    }
    
    .about-four-col .row-fluid .span3 .cell-wrapper {
        padding: 0 15px;
    }
    
}

@media ( max-width:767px ){

.about-four-col{
    padding:60px 0;
}

.about-four-col .border {
    margin-bottom: 40px;
}

.about-four-col .border:before {
    top: auto;
    bottom: -21px;
    border-right: 0;
    left: 0;
    border-bottom: 1px solid #818181;
    width: 56px;
    margin: 0 auto;
}

}





