html { font-size: 62.5%; }

body {
    color: #333;
    font: 400 1.3rem/1.5 'Open Sans', sans-serif;
    background: #abd8eb url(../_media/backgrounds/bg_wide.jpg) repeat-x center top;
}

/* --- Base Element Styles --- */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin: 0 0 .5em;
    line-height: 1.5em;
}

h1, .h1 {
    color: #0d90c6;
    font-size: 3em;
    font-weight: 300;
}

.home h1 {
    font-size: 2em;
    text-transform: uppercase;
    color: #333;
}

h2, .h2 { font-size: 1.5em; }

h3, .h3 { font-size: 1.3em; }

h4, .h4 { font-size: 1em; }

h5, .h5 { font-size: .9em; }

h6, .h6 { font-size: .8em; }

a { color: #008AC3; }
a:hover {}

p {
    text-align: justify;
    margin-bottom: 13px;
}

ul {}
ol {}
ul.unstyled, ol.unstyled { padding-left: 0; }
li { }

blockquote {}

.container {
    max-width: 1060px;
}

/* --- Background Colors --- */
.bg-white { background-color: #FFF; color: #333; }
.bg-white-alt { background-color: #FFF; color: #008ac3; }
.bg-white-fade {
    background: #FFF;
    background: -moz-linear-gradient(top,  #ffffff 0%, #f3f3f3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#f3f3f3 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#f3f3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 );
}
.bg-color { background-color: #008AC3; color: #FFF; }


/* --- Text Colors --- */
.text-white { color: #FFF; }
/* --- Text Colors LG Styles --- */
@media (min-width: 1200px) {
    .text-white-lg { color: #FFF; }
}
/* --- Text Colors MD Styles --- */
@media (max-width: 1199px) {
    .text-white-md { color: #FFF; }
}
/* --- Text Colors SM Styles --- */
@media (max-width: 991px) {
    .text-white-sm { color: #FFF; }
}
/* --- Text Colors XS Styles --- */
@media (max-width: 767px) {
    .text-white-xs { color: #FFF; }
}


/* --- Text Shadows --- */
.text-shadow { text-shadow: 0 0 10px rgba(0,0,0, 0.4); }


/* --- Royal Slider Addons --- */
.pbhs-slider-content { display:none; } /* Prevent slides from stacking down the page before slide has loaded */
.pbhs-slider-content:first-child { display:block; }

.slider {
    position: relative;
    z-index: 0;
    margin-left: 310px;
    margin-top: 3px;
    margin-bottom: 7px;
    border: 3px solid rgba(255,255,255,0.4);
    border-left: none;
}
.home .slider:before {
    content: "";
    position: absolute;
    z-index: 30;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    background: url(../_media/backgrounds/nav-shadow-home.png) center left no-repeat;
}
.slider .pbhs-slider-a-block {
    top: auto;
    right: 0;
    bottom: 0;
    left: 20%;
    margin: 0;
    text-align: center;
    line-height: 1.2em;
    background: rgba(0, 138, 195, 0.70);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3008ac3', endColorstr='#b3008ac3',GradientType=0 );
}
.slider .testimonial .pbhs-slider-a-block { top: 20%; }
.slider .pbhs-slider-content blockquote {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 50%;
}
.slider .pbhs-slider-content blockquote p { line-height: 1.5em; }
@media (max-width: 1199px) {
    .slider .pbhs-slider-content blockquote { right: 0; }
}
@media (max-width: 767px) {
    .no-mobile-banner .slider {
        display: none;
    }
    .slider {
        margin: 0;
        border: 3px solid rgba(255,255,255,0.4);
    }
    .slider .testimonial .pbhs-slider-a-block { top: 0; }
}
/* --- Page Gallery --- */
.pbhs-slider-gallery.pbhs-slider-default .pbhs-slider-overflow,
.pbhs-slider-gallery.pbhs-slider-default .pbhs-slider-slide,
.pbhs-slider-gallery.pbhs-slider-default .pbhs-slider-thumbs,
.pbhs-slider-gallery.pbhs-slider-default .pbhs-slider-video-frame-holder {
    background: #333;
}


/* --- Gravity Form Addons --- */
.gform_wrapper {
    max-width: 100%;
    margin-bottom: 0;
}
.gform_wrapper li.gfield_error,
.gform_wrapper .validation_error {
    background-color: #f2dede !important;
}
.full-width-errors .gform_wrapper li.gfield.gfield_error,
.full-width-errors .gform_wrapper .validation_error,
.gform_wrapper .full-width-errors li.gfield.gfield_error,
.gform_wrapper .full-width-errors .validation_error{
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.gform_title { width: auto !important; }
input.form-control,
textarea.form-control {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.gform_wrapper .gform_footer {
    margin-top: 0;
}
.gform_wrapper .btn-link {
    font-size: 1.6rem;
    color: #008AC3;
    padding: 5px
}


/* --- Header Styles --- */
.home .header-feature-wrap {
    padding-bottom: 45px;
}
.header-wrap { position: relative; z-index: 40; }
.header-wrap header {
    min-height: 130px;
}
@media(max-width: 767px) {
    .home .header-feature-wrap {
        padding-bottom: 0;
    }
    .header-wrap header {
        min-height: 0;
    }
    .header-wrap header > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

#client-logo { margin-right: 20px; }
#client-logo img { width: auto; height: auto; max-width: 100%; }
@media(max-width: 767px) {
    #client-logo img {
        margin-left: 0px !important;
        margin-top: 10px !important;
    }
}
.offset-client-logo {
    margin-right: 36%;
}
#interior .offset-client-logo {
    margin-right: 200px;
}
#practice {
    line-height: 1.4em;
    font-weight: 600;
}
#practice, #location {
    margin: 0;
    text-transform: uppercase;

    text-shadow: 1px 1px 0px #61bee6;
    -moz-text-shadow: 1px 1px 0px #61bee6;
    -webkit-text-shadow: 1px 1px 0px #61bee6;
    behavior: url(/PIE.htc);
}

.header-home-link {
    color: #FFF;
}
.header-home-link:hover {
    color: #FFF;
    text-decoration: none;
}

.phone-wrap {
    position: absolute;
    z-index: 20;
    right: -20px;
    bottom: -54px;
    width: 36%;
}
#phone {
    position: relative;
    padding: 20px 15px 25px;
    font-size: 1.8rem;
}
.home #phone {
    font-weight: 300;
}
#interior #phone {
    display: block;
    width: 200px;
    padding: 0;
    margin: 40px 0;
    color: #FFF;
    font-size: 3.1rem;
    text-align: right;

    text-shadow: 1px 1px 0px #008ac3;
    -moz-text-shadow: 1px 1px 0px #008ac3;
    -webkit-text-shadow: 1px 1px 0px #008ac3;
    behavior: url(/PIE.htc);
}
.phone-line {
    margin-bottom: 12px;
    position: relative;
    font-size: 2.6rem;
}
.phone-line:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 196px;
    height: 1px;
    margin-left: -88px;
    background-color: #e8e8e8;
}
.phone-line a {
    font-size: 120%;
}
.phone-shadow {
    position: absolute;
    z-index: -1;
    top: 65%;
    bottom: 10px;
    left: 12%;
    width: 76%;

    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;

    -moz-box-shadow: 0px 5px 35px 5px rgba(0,0,0, 0.8);
    -webkit-box-shadow: 0px 5px 35px 5px rgba(0,0,0, 0.8);
    box-shadow: 0px 5px 35px 5px rgba(0,0,0, 0.8);
}
@media(min-width: 768px) and (max-width: 991px) {
    .phone-wrap {
        top: 0;
        right: 0;
        bottom: auto;
    }
    .phone-shadow {
        display: none;
    }
    .phone-line {
        font-size: 1.8rem;
    }
}
@media(max-width: 767px) {
    #phone,
    #interior #phone {
        width: auto;
        text-align: center;
    }
    .phone-wrap,
    #interior #phone {
        position: static !important;
    }
    #interior #phone {
        margin: 10px 0;
    }
    .phone-wrap {
        width: auto;
        margin-top: 15px;
    }
    .phone-line a {
        display: block;
    }
    .phone-shadow {
        display: none;
    }
}

.home .nav-banner-wrap {
    z-index: 40;
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(11, 124, 171, 0.66);
}
.no-features.home .nav-banner-wrap {
    border-bottom: none;
}
.home .nav-banner-wrap .banner-wrap {
    position: relative;
    z-index: -10;
}
.home .nav-banner-wrap .sf-active .sf-menu ul {
    z-index: -5;
}
@media(max-width: 767px) {
    .home .nav-banner-wrap {
        padding-bottom: 0;
    }
}

/* --- Bucket Styles --- */
.bucket-wrap {
    border-top: 1px solid rgba(140, 217, 248, 0.30);
}
.bucket {
    position: relative;
    margin: 10px 0;
    padding: 0 5px;
}
.home .bucket {
    margin: 0;
    padding: 15px 5px;
}
#interior-buckets .bucket {
    visibility: hidden;
}
#interior-buckets.ready .bucket {
    visibility: visible;
}
#interior-buckets-footer .bucket {
    width: 32%;
    margin-top: 22px;
    margin-bottom: 0px;
    float: left;
}
#interior-buckets-footer #bucket1,
#interior-buckets-footer #bucket4 {
    margin-left: 2%;
    margin-right: 2%;
}
.side-wrap .bucket {
    float: none !important;
}
.bucket.first {
    padding-right: 5px;
    padding-left: 0;
}
.bucket.last {
    padding-right: 0;
    padding-left: 5px;
}
.bucket.first.last {
    padding-right: 0;
    padding-left: 0;
}
.bucket.last {
    padding-right: 0;
    padding-left: 5px;
}
.bucket-title {
    position: absolute;
    z-index: 10;
    right: 2.2603%;
    bottom: 5%;
    display: block;
    margin: 0;
    color: #008ac3;
    font-weight: 300;
    text-align: right;
    text-shadow: 1px 1px 0px #fff;
    -moz-text-shadow: 1px 1px 0px #fff;
    -webkit-text-shadow: 1px 1px 0px #fff;
    behavior: url(/PIE.htc);
}
.bucket-content-wrap {
    padding: 0 10px;
}
.bucket-img-wrap {
    position: relative;
    margin: 0;
    padding: 0;
    border: 3px solid #80c5e1;
}
.home .bucket-img-wrap {
    border: 3px solid rgba(255,255,255, 0.4);
}

.home .bucket-img-wrap {
    margin: 0 0 15px;
}
.bucket-img-wrap a {
    display: block;
}
.bucket-img-wrap a:before {
    content: "";
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../_media/backgrounds/features-overlay.png) center center no-repeat;
    background-size: 100% 100%;
}
.bucket-img {
    width: 100%;
    height: auto;
}
.bucket-text {}
.bucket-link {
    display: block;
    margin: 15px 0 0;
    text-decoration: underline;
}
.bucket-link:hover {
    text-decoration: none;
}
@media(max-width: 767px) {
    .bucket.first,
    .bucket.last {
        padding: 0;
    }
}
@media(max-width: 991px) and (min-width: 768px) {
    .bucket-content-wrap {
        padding: 0 5px;
    }
}

/* --- 1 Bucket Styles --- */
@media(min-width: 768px) {
    .features-count-1 .bucket-text {
        font-size: 1.2em;
    }
    .features-count-1 .bucket-content-wrap  {
        padding-right: 0;
        padding-left: 10px;
    }
}
/* --- 4 Bucket Styles --- */
@media(max-width: 991px) and (min-width: 768px) {
    .features-count-4 .bucket-title {
        font-size: 1.2em;
    }
    .features-count-4 .bucket-text {
        font-size: 0.9em;
    }
}

@media(max-width: 767px) {
    .no-mobile-features .bucket {
        display: none;
    }
    .bucket-wrap {
        padding: 0 15px;
        background: #8CD9F8;
    }
    .home .bucket {
        padding: 15px 0;
        border-top: 1px dotted #FFF;
    }
    .home .bucket:first-child {
        border-top: none;
    }
    #interior .bucket {
        float: none;
        margin-top: 22px;
        margin-bottom: 22px;
        padding: 0 15px;
    }
    #interior-buckets-footer .bucket {
        width: auto;
    }
    #interior-buckets-footer #bucket1,
    #interior-buckets-footer #bucket4 {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- Breadcrumb Styles --- */
.breadcrumb-wrap {}


/* --- Content Section Styles --- */
.content-wrap {
    margin-top: -17px;
    padding: 40px 0 30px;
    background: rgba(255,255,255, 0.38);
}
.home .content-wrap {
    position: relative;
    margin-top: 0;
    background: #DFECF1;
    padding-top: 0;

    -webkit-box-shadow: 0 14px 20px 10px #000000;
    box-shadow: 0 14px 20px 10px #000000;
}
.home .content-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 58px;

    background: -moz-linear-gradient(top,  rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.5)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 100%); /* W3C */
}
.home .content-wrap > .container {
    position: relative;
}
.home .content-wrap > .container:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    display: block;
    height: 2px;
    border-bottom: 1px solid #f5f9fc;
    background: #d4d8db;
}
@media(max-width: 767px) {
    .content-wrap {
        margin-top: 0;
        padding-top: 5px;
        padding-bottom: 0;
        border-bottom: 5px solid #8CD9F8;
    }
}

/* --- Page Content Styles (Specific to the main content area of the page editable by users) --- */
.page-content-wrap {
    padding-right: 0;
    padding-left: 17px;
}
.page-template-one-column-php .page-content-wrap {
    padding-left: 0px;
}
.page-template-form-php .page-content-wrap {
    padding-right: 17px;
}
.home .page-content-wrap {
    padding-left: 0;
}
.page-content-wrap li { text-align: justify; }
.page-content-wrap .container { width: auto; }

#content {
    min-height: 400px;
    padding: 33px 32px 60px 0;
}
#interior #content {
    background: #FFF;
    padding: 20px 32px 60px;

    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 12px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 12px rgba(0,0,0,0.1);
    behavior: url(/PIE.htc);
}
@media(max-width: 991px) {
    .page-content-wrap,
    .page-template-form-php .page-content-wrap {
        padding: 0;
    }
    #content,
    #interior #content {
        padding-right: 15px;
        padding-bottom: 0;
        padding-left: 15px;
    }
}


/* --- Sidebar Styles --- */
.side-wrap {}
.home .side-wrap {
    margin-top: 37px;
}
.side-wrap.bg-white {
    box-shadow: 0 0 10px #bbcfd7;
    -moz-box-shadow: 0 0 10px #bbcfd7;
    -webkit-box-shadow: 0 0 10px #bbcfd7;
    behavior: url(/PIE.htc);
}
.sidebar-single {
    margin: 15px 0;

    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;

}
@media(max-width: 991px) {
    .home .side-wrap {
        margin-top: 5px;
    }
    #interior .side-wrap {
        margin: 5px 0;
    }
}


/* --- Sidebar Navigation Styles --- */
.side-nav-wrap {
    min-height: 400px;
    padding: 20px 20px 60px;
}
.side-nav-title {
    margin-top: 0;
    font-size: 1.7rem;
}
.side-nav-title,
.side-nav h2 {
    color: #FFF;
}
.side-nav h2 a,
.side-nav h2 a:hover,
.side-nav-title a,
.side-nav-title a:hover {
    text-decoration: none;
    color: inherit;
}
.side-nav {
    margin-top: 15px;
}
.side-nav,
.side-nav ul {
    padding: 0;
    list-style: none;
}
.side-nav li {}
.side-nav > li:first-child {
    border-top: solid #22a0d5 1px;
}
.side-nav li a {
    display: block;
    padding: 5px 8px;
    color: #d2ecf6;
    border-bottom: dotted #7ed1f3 1px;

    transition: ease-in-out background .2s, ease-in-out color .2s;
    -moz-transition: ease-in-out background .2s, ease-in-out color .2s;
    -webkit-transition: ease-in-out background .2s, ease-in-out color .2s;
}
.side-nav li a:hover,
.side-nav .current_page_item > a {
    color: #FFF;
    text-decoration: none;
    border-bottom: solid #FFF 1px;
}
.side-nav li li a:hover,
.side-nav li .current_page_item > a {
    background: #22a0d5;
    border-bottom: dotted #7ed1f3 1px;
}
.side-nav li:first-child a {}
.side-nav li li {}
.side-nav li li a {
    padding-left: 20px;
}
.side-nav .current_page_item.page_item_has_children > a,
.side-nav .current_page_ancestor > a {
    border-bottom: 1px solid #FFF;
}
.side-nav .children { display: none; }  /* Hide Child Pages by Default */
.side-nav .current_page_ancestor > .children,
.side-nav .current_page_item > .children {
    display: block;
}
@media(max-width: 991px) {
    .side-nav-wrap {
        min-height: 0;
    }
}

/* --- Footer Styles --- */
.footer-wrap {
    background: #FFF;
    position: relative;
    z-index: 20;
    -webkit-box-shadow: 0 16px 15px 10px #000000;
    box-shadow: 0 16px 15px 10px #000000;

    color: #666;
}

.footer-wrap a {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px dotted #333333;
}
.footer-wrap a:hover {
    color: #008AC3;
    border-bottom: 1px solid #008AC3;
}
@media(max-width: 767px) {
    .footer-wrap,
    .footer-wrap p {
        text-align: center;
    }
}

/* --- Button Styles --- */
.btn-outline.btn-default:hover, .btn-outline.btn-default:hover, .btn-outline.btn-default:hover, .btn-outline.btn-default:hover, .pbhs-grid-footer .btn {
    color: #FFF;
    background: #428bca;
    border-color: #428bca;
}


/* --- Popovers --- */
.popover .popover-title {
    color: #333;
}


/* --- Wp Alignment Classes --- */
.alignleft, .alignright, .aligncenter, .alignnone {
    margin-bottom: 20px;
}
.alignleft, .alignright {
    width: 50%;
}
.alignleft {
    margin-right: 20px;
    float: left;
}
.alignright {
    margin-left: 20px;
    float: right;
}
.aligncenter {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    float: none;
    clear: both;
}
.alignnone {
    width: auto;
    float: none;
}
img.alignleft, img.alignright, img.aligncenter
.alignleft.flash-replaced, .alignright.flash-replaced, img.aligncenter {
    display: block;
    width: auto;
    margin-bottom: 15px;
}
@media (max-width: 767px) {
    .alignleft, .alignright, .aligncenter  {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        float: none;
    }
}

/* --- Module, Image, Highlight and Well Styles --- */
.image, .module, .highlight, .well {
    margin-bottom: 20px;
    color: #333;
    background-color: #FFFFFF;

    box-shadow: 0 0 10px #bbcfd7;
    -moz-box-shadow: 0 0 10px #bbcfd7;
    -webkit-box-shadow: 0 0 10px #bbcfd7;
    behavior: url(/PIE.htc);
}
.highlight.aligncenter, .highlight.alignnone,
.well.aligncenter, .well.alignnone,
.module.aligncenter, .module.alignnone,
.image.aligncenter, .image.alignnone {
    margin-top: 20px;
}
.image h2, .image .h2, .module h2, .module .h2, .highlight h2, .highlight .h2, .well h2, .well .h2,
.image h3, .image .h3, .module h3, .module .h3, .highlight h3, .highlight .h3, .well h3, .well .h3,
.image p, .module p, .highlight p, .well p,
.image label, .module label, .highlight label, .well label,
.image .btn, .module .btn, .highlight .btn, .well .btn {
    color: inherit;
}
.image, .module, .highlight,
.image h2, .image .h2, .module h2, .module .h2, .highlight h2, .highlight .h2,
.image h3, .image .h3, .module h3, .module .h3, .highlight h3, .highlight .h3,
.image p, .module p, .highlight p,
.image label, .module label, .highlight label,
.image .btn, .module .btn, .highlight .btn,
.image a, .module a, .highlight a {
    text-align: center;
}
.image label, .module label, .highlight label, .well label {
    display: block;
}
.image a, .module a, .highlight a, .well a {
    text-decoration: underline;
    font-weight: bold;
}
.image a:hover, .module a:hover, .highlight a:hover, .well a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.image .btn, .module .btn, .highlight .btn, .well .btn {
    text-decoration: none;
}
.image .btn:hover, .module .btn:hover, .highlight .btn:hover, .well .btn:hover {
    opacity: 1;
}
.image > :first-child, .module > :first-child, .highlight > :first-child, .well > :first-child {
    margin-top: 0;
}

.image {}

.module {
    border: none;
    padding: 0 15px 1px;
}
.module .ht-title {
    color: #455860;
    padding: 5px 10px;
    background: #EFF5F8;
    margin: 0 -15px 20px;
}
.ht-image { padding-top: 15px; padding-bottom: 15px; }
.ht-image img { border: 2px solid #EFF5F8; }
.ht-image a:hover img { border-color: #008AC3; }

.highlight .padding {
    padding: 15px !important;
}
.highlight small {
    font-size: 1.3rem;
}
.map {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}
.map iframe {
    max-width: 100%;
}
@media (max-width: 767px) {
    .module, .highlight  {}
}

/* --- Map Shortcode Styles --- */
.map { height: 400px; }
.mobile-phone .map { margin-bottom: 65px; }
.modal-map .map { height: 255px; }
.modal-map .highlight { margin-bottom: 12px; width: 95%;}
.modal-map .modal-body { max-height: 415px; }

/* --- scrollup button --- */
.scrollup {
    z-index: 200;
}