/*
===========================================================
Custom CSS styles
===========================================================
*/


/*----------------------------------------
Set Font stack
----------------------------------------*/

body {
    font-family: 'Roboto', sans-serif;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.navbar .navbar-nav,
.feature-box--block,
.call-to-action,
.footer-content .title,
dt {
    font-family: 'Titillium Web', sans-serif;
}

/*----------------------------------------
Base styles
----------------------------------------*/

body {
    background-color: #fff;
}
.nav-pills.nav-stacked:not(.list-style-icons) > li > a::after {
    display: none;
}
a[href^="tel"]:hover,
a[href^="tel"]:focus {
    text-decoration: none;
    cursor: pointer;
}
.alt-bg {
    background-color: #f3f3f3;
}
a:focus,
a:hover {
    color: #000;
    text-decoration: none;
}

abbr[data-original-title], abbr[title] {
    border-bottom: none;
}

.navbar.navbar-default {
    background: none;
    border: none;
}
.navbar-toggle {
    margin: 0;
}
/*
.dropdown-menu .menu > .active > a,
.dropdown-menu .menu > .active > a:focus,
.dropdown-menu .menu > .active > a:hover,
.main-navigation .navbar-nav > .open > a,
.main-navigation .navbar-nav > .open > a:focus,
.main-navigation .navbar-nav > .open > a:hover {
    background-color: #da3931;
    color: #fff;
    border-bottom-color: #da3931;
    border-right: 1px solid #da3931;
    border-left: 1px solid #da3931;
}
*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
h5,
h6,
.heading,
a,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a.active,
.header:not(.dark) .active.dropdown > a:before,
.header.centered:not(.dark) .active.dropdown > a:before,
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover,
.btn-default-transparent,
.feature-box--block-item:nth-of-type(2n+1) .feature-box--title,
.btn-footer,
.footer-content .title,
.footer-panel-heading a,
.footer-panel-heading.panel-heading a:not(.collapsed) {
    color: #da3931;
}

.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,

.dropdown-menu .menu > .active > a:focus,
.dropdown-menu .menu > .active > a:hover,
.header--secondary a[href^="tel"],
.call-to-action,
.btn-primary {
    color: #fff;
}
.btn-default-transparent,
.btn-primary {
    text-transform: uppercase;
}
.btn-default-transparent,
.btn-footer,
.btn-footer:hover,
.btn-footer:focus {
    border-color: #da3931;
}
.btn-primary {
    border-color: #232020;
    background-color: #232020;
}
.btn-default-transparent:focus,
.btn-default-transparent:hover,
.btn-primary:hover,
.btn-primary:focus {
    background-color: #da3931;
    border-color: #da3931;
    color: #fff;
}
.header,
.content-header {
    background: rgb(26, 109, 160);
    background: -moz-linear-gradient(top, rgba(26, 109, 160, 1) 0%, rgba(26, 149, 203, 1) 36%, rgba(54, 195, 237, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(26, 109, 160, 1) 0%, rgba(26, 149, 203, 1) 36%, rgba(54, 195, 237, 1) 100%);
    background: linear-gradient(to bottom, rgba(26, 109, 160, 1) 0%, rgba(26, 149, 203, 1) 36%, rgba(54, 195, 237, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#1a6da0', endColorstr='#36c3ed', GradientType=0);
    border-bottom: none;
}
.header--secondary li {
    vertical-align: middle;
}
.header--secondary a[href^="tel"] {
    font-weight: 400;
    white-space: nowrap;
}
h1,
.h1 {
    font-size: 2.5em;
    font-style: italic;
    font-weight: 300;
}
h1,
.h1,
.content-primary h2,
.content-primary .h2 {
    text-transform: none;
}
h2 {
    text-transform: none;
}
.text-empasis {
    font-style: italic;
}
.text--header-sub {
    color: #5c5c5c;
    display: block;
    padding: 0 0 0.2em 0;
    font-weight: 300;
}
.feature-title {
    font-size: 1.8em;
}
.content-primary dd + dt {
    margin-top: 0.5em;
}
.content-primary li {
    padding-bottom: 0.3em;
}
.call-to-action {
    background-color: #da3931;
    font-style: italic;
    font-size: 1.2em;
}
.call-to-action--body {
    line-height: 1.3em;
    font-size: 2.2em;
    display: inline-block;
    margin: 0.25em 0.5em;
    vertical-align: middle;
}
.call-to-action .btn {
    font-size: 1.8em;
    border-color: #fff;
}
.btn-text,
.feature-block {
    color: #000;
}
.content-header {
    padding: 0 0 1em 0;
}
.pg-title {
    color: #000;
    font-size: 2em;
}
label.error {
    margin-bottom: 1em;
    display: table;
    margin-top: 0.2em;
}
.req::after, label.error {
    color: #F00;
}

textarea.form-control{
    min-height: 9em;
}
.badge-custom {
    min-width: 2em;
    padding: 0.5em;
    background-color: #da3931;
    border-radius: 50%;
    font-size: 1em;
}


/*----------------------------------------
Feature box section
----------------------------------------*/

.feature-box--container {
    padding: 0;
}
.feature-box--block {
    margin: 0;
}
.feature-box--block-item {
    padding: 0;
}
.feature-box--container .feature-box {
    margin: 0;
    padding: 0.8em 0.8em 1.6em 0.8em;
}
.list-group a,
.icon-list--all a {
    color: #000;
}
.feature-box--container,
.feature-box .icon-list--all a {
    color: #333333;
}
.list-group small {
    color: #7D7D7D;
}
.feature-box .list-group {
    margin: 0 1em;
    list-style: none;
}

/*.feature-box .list-group-item, */

.feature-box .list-group li {
    /*    position: relative;*/
    display: block;
    padding: 0.25em 0.75em;
    background-color: transparent;
    border: none;
    border-top: 1px solid #bababa;
    border-radius: 0;
    font-size: 1.2em;
}
.feature-box .list-group li:last-child {
    border-bottom: none;
}
.feature-box--title {
    font-style: italic;
    font-weight: 400;
    font-size: 1.4em;
    margin: 0 0 0.2em;
}
.col-lg-2_5 .feature-box--title {
    font-size: 1.2em;
}
.col-lg-2_5 p:not(.feature-box--title) {
    color: #777;
}
.graphic-primary {
    margin: 0 auto 1em 0;
}

/*----------------------------------------
Nav elements
----------------------------------------*/

.nav-pills.nav-stacked:not(.list-style-icons) > li > a::after {
    right: 0;
}
.nav-pills.nav-stacked:not(.list-style-icons) > li.active > a:hover::after,
.nav-pills.nav-stacked:not(.list-style-icons) > li.active > a:focus::after,
.nav-pills.nav-stacked:not(.list-style-icons) > li > a:hover::after,
.nav-pills.nav-stacked:not(.list-style-icons) > li > a:focus::after {
    right: 5px;
}

/*----------------------------------------
Custom icon styles
----------------------------------------*/

.collapse-contextual .panel-heading a::after,
.collapse-style-1 .panel-heading a::after,
.collapse-style-2 .panel-heading a::after,
.collapse-style-3 .panel-heading a::after,
.fa,
.fa:before,
.header--secondary a[href^="tel"]:before,
.dropdown > a:before,
.icon-list--all li:before,
.has-icon:before {
    font-family: 'Glyphicons Halflings';
    font-size: 1em;
    line-height: 1;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
}
.collapse-style-1 .panel-heading a:after {
    content: "\e082";
}
.collapse-style-1 .panel-heading a.collapsed:after {
    content: "\e081";
}
.fa-chevron-up:before {
    content: "\e113";
    margin-left: 2px;
}
.fa-youtube-play::before {
    content: "\e072";
}
.icon-list--all {
    list-style: none;
    padding-left: 2em;
}
.icon-list--all a {
    color: #777;
}
.icon-list--all li:before,
.header--secondary a[href^="tel"]:before,
.has-icon:before {
    display: inline-block;
    font-size: inherit;
    margin-right: 0.5em;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.has-icon:before,
.icon-list--all li:before {
    margin-left: -1.5em;
}
.icon-list--all-checked li:before {
    color: #da3931;
    content: "\e013";
}
.icon-list--all small {
    display: block;
    margin-left: 2em;
    color: #666;
}
.dropdown > a:before {
    content: "\e252";
    font-size: 0.7em;
    top: 0.25em;
    color: #000;
    right: 0;
}
.header--secondary a[href^="tel"]:before {
    content: "\e182";
}

/*----------------------------------------
Styles for individual icons
----------------------------------------*/

.has-icon {
    padding-left: 2em;
}
.has-icon small {
    white-space: nowrap;
}
.has-icon:before {
    /*
    display: inline-block;
    font-size: inherit;
    margin-right: 0.5em;
    margin-left: -1.5em;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
*/
    vertical-align: middle;
}
.has-icon--download {
    white-space: normal;
}
.has-icon--download:before {
    content: "\e166";
}
.has-icon--map-marker:before {
    content: "\e062";
}

/*-------------------------
Custom list group styles
--------------------------*/

.list-group--custom li {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/*-------------------------
Custom panel styles
--------------------------*/

.panel-custom {
    background: #fff;
    padding: 1em;
    margin: 0 auto;
}
.panel-custom .heading {
    margin-top: 0;
}
.panel-custom:last-of-type {
    margin-bottom: 1em;
}
.panel-custom+.panel-custom {
    margin-top: 0.25em;
}

/*----------------------------------------
Footer
----------------------------------------*/

.footer {
    background-color: #F3F3F3;
}
.footer,
.footer a:not(.btn-footer),
.footer-content .nav-pills li a,
{
    color: #ADADAD;
}
.footer-panel,
.footer-panel-heading,
.footer-panel-body {
    background-color: transparent !important;
    border: none;
}
.footer-panel,
.footer-panel + .footer-panel {
    margin-top: 0;
    padding-top: 4px;
}
.footer-panel-heading a,
.footer-panel-heading a:not(.collapsed) {
    font-size: 13px;
    padding: 4px 0;
}
.footer-panel-heading a:after {
    right: 0 !important;
}
.footer-panel-body {
    padding: 0 1em;
}
.footer-panel-body li {
    padding: 0.5em 0;
}
.footer-content .nav-pills > li > a:focus,
.footer-content .nav-pills > li > a:hover,
.footer a:not(.btn):hover,
.footer a:not(.btn):focus,
.footer-panel-heading a:hover,
.footer-panel-heading a:focus,
.footer-panel-heading a:not(.collapsed):hover,
.footer-panel-heading a:not(.collapsed):focus {
    color: #000;
    text-decoration: none;
}
.footer-content .nav-pills li a {
    text-transform: none;
}
.btn-footer {
    background-color: transparent;
    text-transform: uppercase;
}
.btn-footer:hover,
.btn-footer:focus {
    background-color: #fff;
    color: #da3931;
}
.footer-content .title {
    font-style: normal;
    font-weight: 400;
    font-size: 1.2em !important;
    margin-top: 0;
}
.footer-content .title-sub {
    font-size: 1.1em;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 0.5em;
}
.footer-content .title-sub + ul {
    margin-bottom: 1.5em;
}
.subfooter,
.subfooter a {
    border: none;
    color: #7b7b7b;
    padding: 0;
}
.subfooter {
    background-color: #D5D5D5;
}
.subfooter a {
    text-decoration: underline;
}
.subfooter a:hover,
.subfooter a:focus {
    color: #000;
}
.subfooter .container {
    padding-top: 1.5em;
    padding-bottom: 1.3em;
}


.collapse-style-1 {
	margin-top:25px;
	margin-bottom:25px;
}
.collapse-style-1 .panel {
    border-color: #000;
    overflow: hidden;
}
.collapse-style-1 .panel-heading a {
    background-color: #000;
	color: #fff;
}
.collapse-style-1 .panel-heading a.collapsed {
    background-color: #000;
    color: #fff;
}
.collapse-style-1 .panel-heading a.collapsed:hover {
    background-color: #E7E7E7;
    color: #000;   
}
.collapse-style-1 .panel-body {
	padding-top:20px;
}

label2.error {
  font-size: 1.2rem;
  color: #F00;
  padding-left: 5px;
  margin-top: 0;
  display:block;
} 

.grecaptcha-badge {
  display: none !important;
}


/*
===========================================================
Media Queries
===========================================================
*/

@media (min-width: 480px) {
    .graphic-primary.pull-right {
        margin-left: 1.5em;
        max-width: 50%;
    }
    
    .has-badge {
        padding-left: 2.5em;
        margin-bottom: 1em;
        padding-top: 0.5em;
    }
    
    .has-badge .badge-custom {
        margin-left: -2.5em;
        position: absolute;
        margin-top: -0.25em;
    }

    
}
@media (min-width: 768px) {
    .navbar {
        min-height: auto;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 0;
    }
    .navbar-default .navbar-nav > li > a.dropdown-toggle {
        padding-right: 1em;
    }
    .header--secondary .list-inline li:last-of-type {
        padding-right: 0;
    }
    .header-mast .navbar-nav,
    .header--secondary-links {
        float: none;
        margin-right: -0.75em;
    }
    .navbar-nav {
        margin: 0 auto;
        display: table;
    }
    .navbar-default .navbar-nav > li > a {
        font-size: 0.9em;
        text-transform: uppercase;
        font-weight: 600;
        font-style: italic;
    }
    a[href^="tel"],
    a[href^="tel"]:hover,
    a[href^="tel"]:focus {
        text-decoration: none;
        cursor: text;
    }
    .header--secondary a[href^="tel"] {
        font-size: 1.7em;
    }
    .header--secondary-links {
        text-align: right;
    }
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:focus,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > li > a.active,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > li > a:hover,
    .header--secondary li {
        color: #fff;
    }
    .header--secondary li {
        font-weight: 300;
    }
    .header--secondary a[href^="tel"],
    .header--secondary a[href^="tel"]:before {
        vertical-align: middle;
    }
    .main-navigation .navbar-nav > .dropdown > a:focus,
    .main-navigation .navbar-nav > .open > a,
    .main-navigation .navbar-nav > .open > a:focus,
    .main-navigation .navbar-nav > .open > a:hover {
        background-color: transparent;
        border-color: transparent;
        color: #fff;
    }
    .feature-box--container a[href^="tel"],
    .feature-box--container a[href^="tel"]:hover,
    .feature-box--container a[href^="tel"]:focus,
    .feature-box--container a.btn[href^="tel"],
    .feature-box--container a.btn[href^="tel"]:hover,
    .feature-box--container a.btn[href^="tel"]:focus {
        color: #000;
    }
    .content-primary a[href^="tel"],
    .content-primary a[href^="tel"]:hover,
    .content-primary a[href^="tel"]:focus,
    .content-primary a.btn[href^="tel"],
    .content-primary a.btn[href^="tel"]:hover,
    .content-primary a.btn[href^="tel"]:focus {
        color: rgb(119, 119, 119);
    }
    .content-primary a.btn[href^="tel"],
    .content-primary a.btn[href^="tel"]:hover,
    .content-primary a.btn[href^="tel"]:focus {
        background-color: transparent;
        border-color: transparent;
    }
    .content-primary a.btn[href^="tel"] {
        margin: 0;
        padding: 0;
    }
    .content-primary a.lead[href^="tel"] {
        font-size: 1.6em;
    }
    .feature-box--container .feature-box {
        padding: 1.6em;
    }
    .footer a[href^="tel"],
    .footer a[href^="tel"]:hover,
    .footer a[href^="tel"]:focus {
        color: #777777;
    }
    .content-body {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    body:not(.pg-home) .call-to-action:after {
        background: url(/images/layout-assets/feature-graphic--default-sm.jpg) no-repeat center bottom/cover;
        content: "";
        display: block;
        height: 167px;
        overflow: hidden;
        margin: 40px 0 0 0;
        width: 100%;
    }
    body:not(.pg-home) .call-to-action {
        padding-bottom: 0;
    }
    

    .navbar-nav > li > a.active,
    .navbar-nav > li.active {
        border-bottom: 2px solid #DA3936;
        padding-bottom: 0.2em;
    }
    
    .pg-title {
        font-size: 2.5em;
    }
}

/*----------------------------------------
(min-width: 768px) and (max-width:991px)
----------------------------------------*/


/*----------------------------------------
SM-MD mid point
----------------------------------------*/

@media (min-width: 768px) and (max-width:991px) {
    body:not(.fixed-header-on) .header:not(.dark) .navbar-default .navbar-nav > li > a {
        border-color: transparent !important;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 0;
        margin: 0;
    }
    .header .navbar-nav {
        text-align: center;
    }
    .pg-home .feature-block {
        text-align: center;
    }
    #logo {
        margin: 1em auto;
    }
    .nav-feature li {
        font-size: 0.9em;
        white-space: nowrap;
    }
    .header-left {
        padding-top: 1.2em;
    }
    .image-box--title {
        font-size: 0.9em;
    }
    .text-center-sm {
        text-align: center;
    }
    .navbar-nav > li {
        float: none;
        margin: 0 0.25em 0.5em 0.25em;
        display: inline-block;
    }
}

/*----------------------------------------
min-width: 992px
----------------------------------------*/

@media (min-width: 992px) {
    body:not(.pg-home) .call-to-action:after {
        background: url(/images/layout-assets/feature-graphic--default-lg.jpg) no-repeat center bottom/auto;
        height: 400px;
    }
    .pg-home .feature-block {
        background: url(/images/layout-assets/feature-graphic--main-lg.jpg) no-repeat right bottom;
        min-height: 480px;
        position: relative;
        overflow: hidden;
    }
    .header-mast {
        padding-top: 1.4em;
        padding-bottom: 1.2em;
    }
    .header-left {
        padding-top: 0;
    }
    .navbar-nav {
        margin-top: 1em;
    }
    .navbar-nav > li {
        margin-left: 1.5em;
    }
    .header--secondary .btn {
        margin: 0;
    }
    .feature-block--title {
        margin-top: 3em;
    }
    .banner.feature-block::before {
        display: block;
        width: 100%;
        height: 100%;
        content: "";
        background: -moz-radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 40%);
        background: -webkit-radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 40%);
        background: radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 40%);
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
        position: absolute;
    }
    .feature-box--block {
        background-color: #dadada;
    }
    /*
    .feature-box--block-item {
        min-height: 360px;
    }
*/
    .col-lg-2_5 .feature-box--block-item {
        min-height: 420px;
        background-color: #f5f5f5;
    }
    .feature-box--block-item:nth-of-type(2n) {
        background-color: #e6e6e6;
    }
    .feature-box--title {
        font-size: 1.6em;
    }
    .md-h-margin-clear {
        margin-right: 0;
        margin-left: 0;
    }
    .md-half-width {
        max-width: 50%;
    }
    .content-body {
        padding: 2em;
    }
}

/*----------------------------------------
(min-width: 992px) and (max-width:1199px)
----------------------------------------*/


/*
@media (min-width: 992px) and (max-width:1199px) {
    .navbar-nav > li > a {
        font-size: 0.8em;
        padding-left: 0.9em;
        padding-right: 0.9em;
    }
}
*/


/*----------------------------------------
min-width:1200px
----------------------------------------*/

@media (min-width:1200px) {
    .banner {
        background-size: cover;
    }
    .navbar-default .navbar-nav > li > a {
        font-size: 1em;
        padding: 0;
    }
    .pg-home .feature-block {
        background-size: cover;
    }
    .col-lg-2_5 {
        width: 20%;
        margin-left: 0;
    }
    .col-lg-2_5 .feature-box {
        min-height: 270px;
    }
    .main-navigation .navbar-nav > li {
        margin: 0 0 0 1.5em;
    }
}

/*----------------------------------------
(min-width 992px + max-width 1199px
----------------------------------------*/

@media (min-width: 992px) and (max-width:1199px) {
    .image-box--title {
        font-size: 1.2em;
    }
}

/*----------------------------------------
max-width 1199px
----------------------------------------*/

@media (max-width: 1199px) {
    .md-bg-none,
    .md-bg-none .feature-box--block-item,
    .md-bg-none .feature-box--block-item:nth-of-type(2n) {
        background: none;
    }
}

/*----------------------------------------
max-width: 991px - point where the main nav
switches to collapsed mode.
----------------------------------------*/

@media (max-width: 991px) {
    /*----------------------------------------
    Custom main nav styles. Sets nav breakpoint to 991px
    ----------------------------------------*/
    .navbar {
        min-height: auto;
    }
    .navbar .title-navbar {
        float: left;
        text-transform: uppercase;
        font-size: 1.2em;
        margin-right: 0.5em;
        color: #fff;
    }
    .navbar .navbar-icon {
        float: right;
        padding-top: 5px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        width: 1.7em;
        height: 3px;
        border-radius: 1px;
        background-color: #fff;
    }
    .navbar-default .navbar-toggle {
        border-color: #fff;
    }
    .navbar-default .navbar-toggle:focus,
    .navbar-default .navbar-toggle:hover {
        background-color: #fff;
        border-color: #fff;
    }
    .navbar-default .navbar-toggle:focus .icon-bar,
    .navbar-default .navbar-toggle:hover .icon-bar {
        background-color: #000;
    }
    .navbar-default .navbar-toggle:focus .title-navbar,
    .navbar-default .navbar-toggle:hover .title-navbar {
        color: #000;
    }
    .navbar-default .navbar-nav > .dropdown.open > a::before {
        color: #fff;
    }
    .header .navbar-collapse {
        padding-right: 0;
        padding-left: 0;
    }
    .header .navbar-collapse.collapse.in {
        display: block !important;
        overflow-y: auto !important;
        padding-right: 0;
        padding-left: 0;
    }
    /*Pull Right*/
    .header .dropdown-menu.pull-right {
        float: none !important;
    }

    .header .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
    .header .dropdown-menu.no-bottom-space {
        padding-bottom: 0;
    }
    /*Pull Right*/
    .header .dropdown-menu.pull-right {
        float: none !important;
    }
    .header .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
    .header .navbar-nav .open .dropdown-menu > li > a:hover,
    .header .navbar-nav .open .dropdown-menu > li > a:focus {
        background-image: none;
    }
    .header .dropdown-menu.no-bottom-space {
        padding-bottom: 0;
    }
    .pg-home .feature-block {
        padding-top: 28%;
        padding-bottom: 2em;
    }
    .pg-home .feature-block {
        background: url(/images/layout-assets/feature-graphic--main-sm.jpg) no-repeat right top/contain;
        min-height: 250px;
        position: relative;
        overflow: hidden;
    }
    /*----------------------------------------
    Banner body styles when banner element has text content
    ----------------------------------------*/
    .banner-body {
        text-align: center;
        margin-bottom: 2em;
    }
    .main-container.content-primary {
        padding-top: 0;
    }
}
@media (max-width:767px) {
    .navbar-collapse {
        box-shadow: none;
    }
    .navbar-default .navbar-collapse,
    .navbar-collapse {
        border: none;
    }
    .xs-full-width {
        width: 100%;
    }
    .header-mast {
        padding-top: 0.75em;
        padding-bottom: 0.25em;
    }
    .header--secondary a[href^="tel"] {
        border: 1px solid #fff;
        color: #fff;
        transition: all .2s ease-in-out;
        padding: 0.75em 20px;
        margin: 0 auto;
        display: block;
    }
    .header--secondary a[href^="tel"]:hover,
    .header--secondary a[href^="tel"]:focus {
        background-color: #da3931;
        border-color: #da3931;
    }
    #logo {
        margin-top: 0.35em;
    }
    .header-logo--link {
        position: absolute;
        z-index: 10000;
        max-width: 150px;
    }
    .header--secondary-links {
        margin-top: 0;
        margin-bottom: 0;
        position: absolute;
        z-index: 1000;
    }
    .header .navbar-nav {
        margin: 1em 0;
        float: none !important;
        background-color: #fafafa;
        border-top: none;
    }
    .header .navbar-nav > li {
        float: none;
    }
    .header .navbar-nav > li > a {
        padding: 9px 25px;
    }
    .header .navbar-nav > li a {
        border-bottom: solid 1px #eee;
    }
    .header .navbar-nav > li > a:focus {
        background: none;
    }
    .header .dropdown .dropdown-submenu > a {
        font-size: 13px;
        color: #555 !important;
        text-transform: uppercase;
    }
    /* Mobile menu
	------------------------------ */
    .navbar.navbar-default {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin: 10px 0 15px;
        font-weight: 400;
    }
    /* active item */
    .navbar-default .navbar-nav > li > a.active,
    .navbar-default .navbar-nav > li > a.active:hover,
    .navbar-default .navbar-nav > li > a.active:focus,
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus,
    .navbar-default .navbar-nav .open a.dropdown-toggle,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #da3931;
        background-color: transparent;
    }
    

    
    /* first level item */
    .navbar-default .navbar-nav > li > a {
        border-bottom: 1px solid #f3f3f3;
    }
    .navbar-default .navbar-nav > li:last-child > a {
        border-bottom: 1px solid transparent;
    }
    /* second level menu */
    .navbar-default .navbar-nav .open .dropdown-menu {
        background-color: #ffffff;
    }
    /* second level item */
    
    .navbar-default .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 12px 15px 12px 40px;
        color: #333333;
        border-color: #f9f9f9;
    }
    /* second level item on hover/focus */
    .navbar-default .navbar-nav .open .dropdown-menu > li > a.active,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #da3931;
    }

    .dropdown > a:before,
    .header.centered .dropdown > a:before {
        color: #999999;
        top: 14px;
        right: 32px;
    }
    .dropdown .dropdown > a:before,
    .header.centered .dropdown .dropdown > a:before {
        right: 36px;
    }
    .alert-feature .alert-icon {
        padding-left: inherit;
    }

    .content-primary + .content-primary {
        margin-top: 2rem;
    }
}
@media (min-width:480px) and (max-width:991px) {
    /*Centre last item in a gallery grid IF the gallery has an odd number of images. Used when gallery is in 2 cols */
    .row.grid-block > div:nth-last-of-type(1):nth-of-type(2n+1),
    .col-lg-2_5:nth-last-of-type(1):nth-of-type(2n+1) {
        margin-left: 25%;
    }
}

/*----------------------------------------
max-width:480px
----------------------------------------*/

@media (max-width:479px) {
    .call-to-action .btn {
        font-size: 1.3em;
    }
    .xs-stack,
    .graphic-primary.pull-right {
        float: none !important;
        margin-left: 0;
        width: 100%;
        position: static;
    }
    .footer-content .logo {
        max-width: 100%;
    }
    .pull-left.xs-stack {
        margin-right: auto;
        margin-left: auto;
    }
    .text-center-xs {
        text-align: center;
    }
    .nav-feature li {
        font-size: 0.9em;
    }
    .nav-feature a:before {
        display: table;
        margin: 0 auto 0.6em;
    }
    .nav-feature a {
        padding: 0.5em;
        text-align: center;
    }
    .header--secondary .list-inline li {
        margin: 0 auto;
        /*        display: table;*/
    }
    #logo {
        margin-top: 1em;
        margin-bottom: 0.5em;
    }
    .header--secondary a[href^="tel"] {
        width: 2em;
        overflow: hidden;
        font-size: 1.5em;
        height: 2em;
        padding: 0.5em;
        vertical-align: middle;
        line-height: 1em;
        border-radius: 50%;
        border-width: 1px;
        margin: 0;
    }
    .content-primary h1,
    .content-primary h2 {
        text-align: center;
    }
    
    .badge-custom {
        display: table;
        margin: 0 auto;
    }
    
    .content-primary .btn {
        white-space: normal;
    }
}
