/*
Theme Name: roxiebenatar
Version: 1.0.0
Theme URI: http://optimized360.com
Template: rogue
Author: Optimized360
Author URI: http://optimized360.com/about-us
License: Copyright Optimized360 LLC - All Rights Reserved © 2013-2016
*/

/*
font-family: 'Playfair Display', serif;
font-family: 'Muli', sans-serif;
 */

/*
|------------------------------------------------------------------|
|                          BASE                                    |
|------------------------------------------------------------------|
*/
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html, body {
    font-family: 'Muli', sans-serif;
    font-size: 1.125rem;
    font-weight: normal;
    font-style: normal;
    color: #5a5a5a;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #035287;
}

body:not(.home) #main-content h1, body:not(.home) #main-content h2, body:not(.home) #main-content h3, body:not(.home) #main-content h4, body:not(.home) #main-content h5, body:not(.home) #main-content h6 {
    font-family: 'Playfair Display', serif !important;
    color: #035287 !important;
}


a {
    color: #035287;
    transition: all .3s ease-out;
}


a:hover,
a:active,
a:focus {
    color: #343434;
    text-decoration: none;
}

#testimonials .grids .grid.grid-2 .btn.btn-custom,
.home #main-content .et_pb_text.content .btn.btn-custom,
.btn.btn-custom {
    position: relative;
    overflow: hidden;
    font-family: 'Muli', sans-serif;
    font-weight: 600;
    background-color: rgba(225, 225, 225, 0.2);
    text-decoration: none;
    display: inline-block;
    padding: .7em 2.5em;
    font-size: 16px;
    transition: all .3s;
    line-height: 1.5;
    border: 0;
    vertical-align: middle;
    z-index: 1;
    color: #fff;
    border-radius: 0;
    text-align: center;
}

@media (max-width: 767.98px) {
    .home #main-content .et_pb_text.content .btn.btn-custom,
    #testimonials .grids .grid.grid-2 .btn.btn-custom,
    .btn.btn-custom {
        padding: .6em 2em !important;
        font-size: 14px !important;
    }
}

.home #main-content .et_pb_text.content .btn.btn-custom:hover,
#testimonials .grids .grid.grid-2 .btn.btn-custom:hover,
.btn.btn-custom:hover {
    color: #fff;
    background-color: #4090cd;
}

/*
|------------------------------------------------------------------|
|                          HERO HOME                               |
|------------------------------------------------------------------|
*/
#hero-home {
    position: relative;
    overflow: hidden;
    border-bottom: 12px solid #035287;
}

#hero-home .et_pb_slide {
    min-height: 720px !important;
}

#hero-home .overlay {
    position: absolute;
    left: 50%;
    bottom: 80px;
    width: calc(100% - 30px);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 10;
}

#hero-home .overlay .wrapper {
    background-color: rgba(3, 82, 135, 0.902);
    max-width: 650px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 30px 50px 0;
}

#hero-home .overlay .wrapper h2 {
    color: #fefefe;
    font-size: 56px;
    line-height: 1;
    margin: 0 0 30px;
}

#hero-home .overlay .wrapper h3 {
color: #fefefe;
    font-size: 20px;
    line-height: 1;
    margin: 0 0 10px;
}

#hero-home .overlay .wrapper p {
color: #fefefe;
    font-size: 16px;
    line-height: 1;
    margin: 0 0 30px;
}

#hero-home .overlay .wrapper .btn.btn-custom {
    margin-bottom: -100px;
    background-color: #ebebeb;
    color: #343434;
}

#hero-home .overlay .wrapper .btn.btn-custom:hover {
    background-color: #343434;
    color: #fff;
}

@media (max-width: 1024px) {
    #hero-home .et_pb_slide {
        min-height: 600px !important;
    }
}

@media (max-width: 991.98px) {
    #hero-home .et_pb_slide {
        min-height: 550px !important;
    }

    #hero-home .overlay {
        bottom: 60px;
    }

    #hero-home .overlay .wrapper {
        max-width: 500px;
    }

    #hero-home .overlay .wrapper h2 {
        font-size: 36px;
    }

}

@media (max-width: 767.98px) {
    #hero-home .et_pb_slide {
        min-height: 250px !important;
    }

    #hero-home .overlay {
        bottom: 0;
        position: static;
        width: 100%;
        left: 0;
        top: 0;
        right: 0;
        margin: 0;
        padding: 30px 0;
        background: #035287;
        display: block;
        max-width: 100% !important;
        transform: translate(0,0) !important;
    }

    #hero-home .overlay .wrapper {
        max-width: 340px;
        padding: 0 15px;
        background-color: transparent;
    }

    #hero-home .overlay .wrapper h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

}


@media only screen and (max-width: 480px) {
     #hero-home .overlay .wrapper .btn.btn-custom {
    margin-bottom: -25px;
     }
}

/*
|------------------------------------------------------------------|
|                          HERO INNER                              |
|------------------------------------------------------------------|
*/
#hero-inner {
    position: relative;
    overflow: hidden;
}

#hero-inner .slide {
    background: url("assets/images/hero-inner.jpg") no-repeat center center;
    background-size: cover;
    min-height: 350px;
}

@media (min-width: 1920px) {
    #hero-inner .slide {
        min-height: 400px;
    }
}
@media (min-width: 2300px) {
    #hero-inner .slide {
        min-height: 500px;
    }
}
@media (max-width: 991.98px) {
    #hero-inner .slide {
        min-height: 250px;
    }
}

@media (max-width: 767.98px) {
    #hero-inner .slide {
        min-height: 200px;
    }
}

@media (max-width: 480.98px) {
    #hero-inner .slide {
        min-height: 160px;
    }
}

/*
|------------------------------------------------------------------|
|                            WELCOME                               |
|------------------------------------------------------------------|
*/

.home #main-content {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background-image: -moz-linear-gradient(92deg, rgb(225, 225, 225) 0%, rgb(255, 255, 255) 46%, rgb(225, 225, 225) 100%);
    background-image: -webkit-linear-gradient(92deg, rgb(225, 225, 225) 0%, rgb(255, 255, 255) 46%, rgb(225, 225, 225) 100%);
    background-image: -ms-linear-gradient(92deg, rgb(225, 225, 225) 0%, rgb(255, 255, 255) 46%, rgb(225, 225, 225) 100%);
}

.home #main-content .col-md-12 > h1 {
    display: none;
}

.home #main-content .et_pb_text.content {
    font-size: 18px;
    font-family: 'Muli', sans-serif;
    color: rgba(52, 52, 52, 0.851);
    line-height: 1.833;
    max-width: 560px;
}

.home #main-content .et_pb_text h4 {
    font-size: 16px;
    font-family: 'Muli', sans-serif;
    color: rgb(97, 97, 97);
    font-weight: 600;
    text-transform: uppercase;
}

.home #main-content .et_pb_text h2 {
    font-size: 37px;
    color: rgba(52, 52, 52, 0.851);
    font-weight: 400;;
    line-height: 1.351;
}

.home #main-content .et_pb_text h2 span {
    font-weight: 700;
    font-style: italic;
}

.home #main-content .et_pb_text.content .btn.btn-custom {
    background-color: #035287;
    color: #fff;
    margin: 60px 0 45px !important;
}

.home #main-content .et_pb_text.content .btn.btn-custom:hover {
    background-color: #3a3a3a;
}

.home #main-content .et_pb_text.content .assoc {
    max-width: 440px;
    width: 100%;
    height: auto;
}

.home #main-content .et_pb_image_wrap {
    position: relative;
}

.home #main-content .et_pb_image_wrap {
    padding-right: 60px;
}

.home #main-content .et_pb_image_wrap:before {
    position: absolute;
    content: '';
    top: 60px;
    right: 0;
    width: calc(100% - 60px);
    height: 100%;
    border: 1px solid #a1a1a1;
}

@media (max-width: 980px) {
    .home #main-content .et_pb_text h2 {
        font-size: 32px;
    }

    .home #main-content .et_pb_text.content .btn.btn-custom {
        margin: 45px 0 30px !important;
    }

    .home #main-content .et_pb_row {
        padding: 0 !important;
    }

    .home #main-content .et_pb_text.content {
        margin: 0 auto !important;
    }

    .home #main-content .et_pb_text {
        text-align: center !important;
    }

    .home #main-content .et_pb_image_wrap {
        padding-right: 30px;
    }

    .home #main-content .et_pb_image_wrap:before {
        position: absolute;
        content: '';
        top: 30px;
        right: 0;
        width: calc(100% - 30px);
        height: 100%;
        border: 1px solid #a1a1a1;
    }

}

/*
|------------------------------------------------------------------|
|                          SERVICES                                |
|------------------------------------------------------------------|
*/
#services {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: url("assets/images/services.jpg") no-repeat top center;
    background-size: cover;
}

#services .et_pb_text h2 {
    color: #fff;
}

@media (min-width: 768px) {
    #services {
        background-attachment: fixed;
    }

}

#services .et_pb_row {
    padding: 0 !important;
}

#services .et_pb_text h2 {
    font-size: 37px;
    color: #fff;
    font-weight: 400;
    line-height: 1.351;
    margin-top: 0;
    margin-bottom: 7px !important;
}


#services .et_pb_text h3 {
font-size: 27px;
    color: #fff !important;
    font-weight: 400 !important;
    line-height: 1.351 !important;
    margin-top: 0 !important;
 
}

#services .et_pb_text h4 {
font-size: 19px;
    color: #fff !important;
    font-weight: 400 !important;
    line-height: 1.351 !important;
    margin-top: 0 !important;
     margin-bottom: 100px !important;
 
}

#services .et_pb_blurb_description{
color: #fff !important;
    font-size: 18px;
     padding: 0px 14px !important;
 text-align: center !important;
}

#services .et_pb_module_header{

 text-align: center !important;
}


#services .et_pb_text h2 span {
    color: #fff;
    font-weight: 500;
}

#services .et_pb_blurb {
    position: relative;
    overflow: hidden;
    display: inline-block;
    float: left;
    width: 25%;
    border: 10px solid transparent;
}

#testimonials .grid-2 h3{
    text-align: center!important;
    margin-bottom: 0 !important;
    font-size: 50px;
    color: #ffffff !important;
    font-weight: 400;
    line-height: 1.351;
}

#testimonials .grid-2 h4{
    text-align: center!important;
    margin-bottom: 0 !important;
    font-size: 24px;
    color: #ffffff !important;
    font-weight: 400;
    line-height: 1.351;
    padding-bottom: 0px !important;
}


#testimonials .grid-2 .et_pb_text_inner{
text-align: center !important;
    margin-bottom: 40px !important;
    font-size: 18px;
    color: #ffffff !important;
    font-weight: 400;
    line-height: 1.351;
    padding: 0 55px;
}

@media (max-width: 980px) {
    #services .et_pb_text h2 {
        margin-bottom: 50px !important;
        font-size: 32px;
    }

    #services .et_pb_blurb {
        width: 50%;
    }
}

@media (max-width: 767.98px) {
    #services .et_pb_text h2 {
        margin-bottom: 45px !important;
        font-size: 28px;
    }
    
    #testimonials .grid-2 h4{
text-align: center !important;
    margin-bottom: 0 !important;
    font-size: 23px;
    color: #ffffff !important;
    font-weight: 400;
    line-height: 1.351 !important;
    padding-bottom: 0px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

}

@media (max-width: 420px) {
    #services .et_pb_blurb {
        width: 100%;
    }
}

#services .et_pb_blurb .et_pb_main_blurb_image {
    transition: all .3s;
    max-height: 120px;
}

#services .et_pb_blurb:hover .et_pb_main_blurb_image {
    -webkit-transform: scale(.9);
    -moz-transform: scale(.9);
    -ms-transform: scale(.9);
    -o-transform: scale(.9);
    transform: scale(.9);
}

#services .et_pb_blurb .et_pb_module_header {
    max-width: 160px;
    margin: 0 auto !important;
    transition: all .3s;
}

#services .et_pb_blurb:hover .et_pb_module_header {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

#services .et_pb_blurb .et_pb_module_header a {
    font-size: 30px;
    font-family: 'Playfair Display', serif;
    color: rgb(255, 255, 255) !important;
    line-height: 1.1;
}

/*
|------------------------------------------------------------------|
|                            QUOTE                                 |
|------------------------------------------------------------------|
*/
#quote {
    position: relative;
    overflow: hidden;
    background-color: #efefef;
    padding: 30px 0;
}

#quote .et_pb_text h2 {
    font-size: 37px;
    color: #575757;
    font-weight: 400;
    line-height: 1.351;
    margin: 0 !important;
}

#quote .et_pb_text h2 span {
    font-weight: 700;
    font-style: italic;
}

@media (max-width: 980px) {
    #quote .et_pb_text h2 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    #quote .et_pb_text h2 {
        font-size: 28px;
    }
}

/*
|------------------------------------------------------------------|
|                          TESTIMONIALS                            |
|------------------------------------------------------------------|
*/
#testimonials {
    position: relative;
    overflow: hidden;
}

#testimonials .grids {
    display: flex;
}

#testimonials .grids .grid {
    display: inline-block;
    float: left;
    width: 50%;
    min-height: 883px;
}

#testimonials .grids .grid.grid-1 {
    background: url("assets/images/testimonials.jpg") no-repeat top center;
    background-size: cover;
}

#testimonials .grids .grid.grid-2 {
    background: url("assets/images/testimonials-pattern.jpg") no-repeat center;
    background-size: cover;
}

#testimonials .grids .grid.grid-2 {
    position: relative;
}

#testimonials .grids .grid.grid-2 .wrapper {
    display: block;
    position: relative;
    padding-top: 135px;
}

#testimonials .grids .grid.grid-2:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    border: 1px solid #6897b7;
}

#testimonials .grids .grid.grid-2:after {
    position: absolute;
    content: '';
    bottom: 25px;
    right: 25px;
    background: url("assets/images/rect.svg") no-repeat center center;
    width: 48.5px;
    height: 48.5px;
}

#testimonials .grids .grid.grid-2 .wrapper:before {
    position: absolute;
    content: '';
    top: 25px;
    left: 25px;
    background: url("assets/images/rect.svg") no-repeat center center;
    width: 48.5px;
    height: 48.5px;
}

#testimonials .grids .grid.grid-2 h2 {
    font-size: 50px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.351;
    margin: 0 0 45px !important;
}

#testimonials .grids .grid.grid-2 .et_pb_slide_description {
    padding: 0 !important;
}

#testimonials .grids .grid.grid-2 .et_pb_slide_content .review {
    font-size: 23px;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.902);
    line-height: 1.739;
}

#testimonials .grids .grid.grid-2 .et_pb_slide_content .reviewer {
    font-size: 23px;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.902);
    line-height: 1.739;
    margin-top: 30px;
}

#testimonials .grids .grid.grid-2 .btn.btn-custom {
    background-color: #fff;
    color: #035287;
    margin-top: 60px;
}

#testimonials .grids .grid.grid-2 .btn.btn-custom:hover {
    background-color: #3a3a3a;
    color: #fff;
}
@media (max-width: 980px) {
    #testimonials .grids .grid.grid-2 h2 {
        font-size: 32px;
    }

    #testimonials .grids {
        display: block;
    }

    #testimonials .grids .grid {
        display: block;
        float: none;
        width: 100%;
        min-height: 350px;
    }

    #testimonials .grids .grid.grid-1 {
        min-height: 900px;
    }

    #testimonials .grids .grid.grid-2 .wrapper {
        padding: 90px 0 110px;
    }

}

@media (max-width: 767.98px) {
    #testimonials .grids .grid.grid-2 h2 {
        font-size: 28px;
    }

    #testimonials .grids .grid.grid-2 .et_pb_slide_content .review,
    #testimonials .grids .grid.grid-2 .et_pb_slide_content .reviewer {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    #testimonials .grids .grid.grid-1 {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    #testimonials .grids .grid.grid-1 {
        min-height: 400px;
    }
    #testimonials .grids .grid.grid-2 .et_pb_slide_content .review,
    #testimonials .grids .grid.grid-2 .et_pb_slide_content .reviewer {
        font-size: 16px;
    }
}
/*
|------------------------------------------------------------------|
|                            FOOTER                                |
|------------------------------------------------------------------|
*/

#footer-main {
    position: relative;
    overflow: hidden;
}

#footer-main .container-fluid {
    padding: 0;
}

#footer-main ul.social {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#footer-main .col-2 {
    background-color: #909090;
}

#footer-main .col-1,
#footer-main .col-3 {
    background-color: #cccccc;
}

#footer-main ul.social li {
    display: inline-block;
    font-size: 48px;
    margin: 2px 15px;
}

#footer-main ul.social li a {
    color: #343434;
    transition: all .3s;
    display: inline-block;
}

#footer-main ul.social li:hover a {
    color: #035287;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

#footer-main .col-1 .wrapper {
    padding: 70px 0;
    text-align: center;
}

#footer-main .wrapper {
    font-size: 12px;
    font-family: 'Muli', sans-serif;
    color: rgba(52, 52, 52, .8);
    text-transform: uppercase;
    line-height: 1.75;
    letter-spacing: 1px;
}

#footer-main .wrapper a {
    color: rgba(52, 52, 52, .8);
    display: inline-block;
}

#footer-main .wrapper a:hover {
    color: #fff;
}

#footer-main .wrapper img,
#footer-main .wrapper span {
    display: inline-block;
    vertical-align: top;
}

#footer-main .wrapper img {
    margin-right: 15px;
    margin-top: 4px;
}

#footer-main .wrapper .business-address {
    margin-bottom: 20px;
}

#footer-main .wrapper .phone {
    margin-bottom: 0;
}

#footer-main .wrapper .phone img {
    margin-right: 20px;
}

#footer-main .col-2,
#footer-main .col-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {

    #footer-main .row {
        display: flex;
    }
}

@media (max-width: 991.98px) {
    #footer-main ul.social li {
        font-size: 42px;
        margin: 2px 10px;
    }

    #footer-main .wrapper img {
        margin-right: 10px;
    }

    #footer-main .wrapper .phone img {
        margin-right: 15px;
    }

}

@media (max-width: 767.98px) {
    #footer-main .wrapper {
        padding: 45px 0 !important;
    }

}

/* ------ Legal ------ */
#footer-main footer {
    background-color: #035287;
    padding: 20px 0;
}

#footer-main .legal {
    font-size: 12px;
    font-family: 'Muli', sans-serif;
    color: rgba(255, 255, 255, 0.702);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#footer-main .legal a {
    color: rgba(255, 255, 255, 0.702);
}

/*
|------------------------------------------------------------------|
|                            HEADER                                |
|------------------------------------------------------------------|
*/
#headerbar {
    position: relative;
    background-color: #4e88af;
    z-index: 999999999;
    padding-top: 30px;
}

#headerbar .logo {
    position: relative;
    display: inline-block;
    z-index: 10;
}

#headerbar .logo img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

#headerbar header [class*=col]:last-child {
    padding-top: 10px;
}

#headerbar .phone {
    display: block;
    padding-bottom: 15px;
}

#headerbar .phone a {
    font-family: 'Muli', sans-serif;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

#headerbar .business-address {
    font-family: 'Muli', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    display: inline-block;
    line-height: 1.25;
}

#headerbar .phone a:hover,
#headerbar .business-address:hover {
    color: #08436B;
}


#headerbar .btn-custom {
    background-color: #035287;
    padding: 10px 20px;
    font-size: 16px;
    position: relative;
    top: 40px;
    z-index: 10;
}

#headerbar .btn.btn-custom:hover {
    background-color: #3a3a3a;
}

.navbar {
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

@media only screen and (max-width: 480px) {
    #headerbar .btn-custom {
background-color: #035287;
    top: 15px;
    right: 2%
    }

#headerbar .col-sm-2 {
    right: 0;
background: #fff;
}


}

@media only screen and (max-width: 1024px) and (min-width: 769px)  {
#headerbar {
    background: linear-gradient(to right, rgba(78,136,175,1) 0%, rgba(78,136,175,1) 47%, rgba(78,136,175,1) 84%, rgb(250, 252, 251) 84%, rgb(250, 252, 251) 100%) !important;
}
#headerbar .col-sm-2 {
    right: 0 !important;
}
#headerbar .pd-link {
    font-size: 12px !important;
    top: 70px !important;
}


}

@media only screen and (max-width: 1500px) and (min-width: 1025px){
#headerbar .col-sm-2 {
    right: 0 !important;
}
#headerbar .pd-link {
    top: 70px !important;
}
#headerbar .pd-link {
    font-size: 13px !important;
}


}
@media (min-width: 1750px)
#headerbar .col-sm-2 {
    right: -190px !important;
}


@media (min-width: 768px) {
#headerbar .col-sm-2 {
    position: relative;
    right: -140px;
}
#headerbar {
    background: linear-gradient(to right, rgba(78,136,175,1) 0%, rgba(78,136,175,1) 47%, rgba(78,136,175,1) 80%, rgb(250, 252, 251) 80%, rgb(250, 252, 251) 100%);
}
#headerbar .pd-link {
    color: #4e88af !important;
}

}
@media (max-width: 768px){

#headerbar .col-sm-2 {
    right: 0;
background: #fff;
}


#headerbar .col-sm-2 {
	padding: 0;
}
#headerbar .pd-link {
    font-size: 16px !important;
    top: 7px !important;
    color: #fff;
    z-index: 10;
}
#headerbar .col-sm-2 img {
    width: 250px !important;
}
}


.navbar li {
    font-family: 'Muli', sans-serif;
}

/* Main Menu Item */
.navbar .navbar-nav > li > a {
    margin: 5px 15px;
    font-size: 17px;
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    display: inline-block;
    outline: none;
    transition: all .5s;
    padding: 5px;
    text-transform: uppercase;
}

.navbar-default .navbar-nav>li>a {
    color: #fff !important;
}

#navbar-header #menu-main-menu ul li a {
   color: #fff;
}
#headerbar .navbar-nav>li>a {
    color: #fff !important;
    text-transform: uppercase;
}

.caret {
    margin-top: 5px;
    /* margin-left: 2px; */
    margin-left: 0 !important;
    font-size: 12px;
    vertical-align: top !important;
    border: 0 !important;
    /*content: '▼';*/
    /* border-top: 4px dashed; */
    /*border-top: 4px solid\9;*/
    /* border-right: 4px solid transparent; */
    /* border-left: 4px solid transparent; */
}

.navbar .navbar-nav > li > a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 0%;
    content: '.';
    color: transparent;
    background: #fff;
    height: 1px;
    text-align: left;
    margin: 0;
    opacity: 0;
}

.navbar .navbar-nav > li > a:hover {
    color: #fff;
    z-index: 1;
}

.navbar .navbar-nav > li > a:hover:after {
    z-index: -10;
    animation: fill .5s forwards;
    -webkit-animation: fill .5s forwards;
    -moz-animation: fill .5s forwards;
    opacity: 1;
}

/* Keyframes */
@-webkit-keyframes fill {
    0% {
        width: 0%;
        height: 5px;
    }
    100% {
        width: 100%;
        height: 5px;
    }
}

/* Main Menu Item Hover, Active, Focus, Open */
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:hover,
.navbar .navbar-nav > .active > a:focus,
.navbar .navbar-nav > .open > a,
.navbar .navbar-nav > .open > a:hover,
.navbar .navbar-nav > .open > a:focus {
    color: #fff !important;
    background: transparent;
    letter-spacing: inherit;
}

/* Dropdown Menu Wrap */
.dropdown-menu {
    padding: 0;
    background-color: #fff;
    border-radius: 0 !important;
}

.dropdown-menu > li > .dropdown-menu {
    top: 0;
    left: 100%;
}

/* Dropdown Menu Item */
.dropdown-menu > li > a {
    padding: 12px;
    font-size: 21px !important;
    color: #3a3a3a;
    font-weight: 400;
    line-height: 1.5;
}

/* Dropdown Menu Item Hover, Active, Focus */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #fff !important;
    background: transparent;
    letter-spacing: initial;
}

/* Dropdown Menu Item */
.dropdown-menu > li {
    display: block;
    background-color: transparent !important;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: #08436b !important;
    color: #fff !important;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    padding: 12px;
    background-color: #08436b !important;
    color: #fff !important;
}

/* Mobile Menu Toggle Button Border */
.navbar .navbar-toggle {
    position: relative;
    float: none;
    height: 48px;
    padding: 10px 15px;
    width: 100%;
    border-radius: 0;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
    background-color: #08436b !important;
}

.navbar .navbar-toggle .icon-bar {
    background-color: #fff !important;
    clear: both;
    display: block;
    float: right;
    width: 32px;
    transition: all .3s;
}

/* Mobile Dropdown Menu Box Border */
.navbar .navbar-collapse {
    border: none !important;
}

@media (max-width: 1199.98px) {
    .navbar .navbar-nav > li > a {
        font-size: 16px;
        padding: 5px;
        margin: 5px;
    }

    .dropdown-menu > li > a {
        font-size: 16px !important;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    /*Centering the nav */
    .navbar .nav,
    .navbar .nav > li {
        float: none;
        display: inline-block;
        *display: inline; /* ie7 fix */
        *zoom: 1; /* hasLayout ie7 trigger */
        vertical-align: top;
    }

    .navbar {
        min-height: 0 !important;
    }

    .navbar-collapse {
        text-align: left;
    }
}

@media only screen and (max-width: 767.98px) {

    #headerbar {
        padding-top: 15px;
        display: flex;
        flex-direction: row;
    }

   #headerbar nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        order: 1;
    }

    #headerbar header {
        width: 100%;
        order: 2;
        margin-top: 50px;
    }

    #headerbar .phone {
        margin-bottom: 0;
    }

    #headerbar header {
        padding-bottom: 15px;
    }

    #headerbar header [class*=col-] {
        text-align: center;
    }

    .navbar-toggle::after {
        color: #fff;
        content: "Menu";
        font-weight: 700;
        font-size: 20px;
        left: 17px;
        position: absolute;
        top: 6px;
        text-transform: uppercase;
    }

    .navbar-collapse {
        text-align: left !important;
        overflow: hidden !important;
        background-color: #4E88AF !important;
    }

    .dropdown-menu > li > a {
        color: #fff !important;
        padding: 10px !important;
        padding-left: 30px !important;
    }

    .navbar .navbar-nav > li > a {
        margin: 0 !important;
        padding: 10px 5px !important;
        padding-left: 15px !important;
    }

    .dropdown-menu > li:hover > a {
        color: #fff !important;
    }

    .navbar .navbar-toggle {
        height: 48px;
    }

    .navbar {
        min-height: 0 !important;
        margin-bottom: -1px;
    }

}

@media only screen and (max-width: 480px){
    #headerbar .navbar.navbar-default {
    margin-top: 0px !important;
   }
}

/*
|------------------------------------------------------------------|
|                         ADJUSTMENT                               |
|------------------------------------------------------------------|
*/

.page-id-366 #main-content .et_pb_text img{
    margin: 0 10px 0 0 !important;
}
.page-id-9806 #main-content .et_pb_text img{
    margin: 0 10px 0 0 !important;
}

#blog-sidebar input.search-field {
    border: 1px solid #ddd;
    min-height: 40px;
    padding: 5px 10px;
    font-weight: normal;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
}

#blog-sidebar input.search-submit {
    border: 0;
    background-color: #035287;
    color: #fff;
    text-transform: uppercase;
    min-height: 40px;
    margin-left: -5px;
    display: inline-block;
    vertical-align: middle;
    transition: all .2s ease-out;
    border-radius: 4px;
}

#blog-sidebar input.search-submit:hover {
    background-color: #343434;
    color: #fff;
}

.container {
    max-width: 1230px !important;
    width: 100% !important;
}

/*-- divi spacing with bootstrap */
.page .et_pb_section, .single .et_pb_section {
    padding: 0 !important;
}

.page .et_pb_section .et_pb_row, .single .et_pb_section .et_pb_row {
    max-width: 100% !important;
}

.single #main-content h1,
.page #main-content h1 {
    margin-bottom: 30px;
}

*:focus {
    outline: 0 !important
}

/*-- page/post/archive spacing & anchor color */
.page:not(.home) #main-content,
.single #main-content,
.archive #main-content {
    padding: 45px 0 15px;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post a:hover,
.page:not(.home) #main-content a,
.single #main-content a,
.archive #main-content a {
    color: #035287 !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post a,
.page:not(.home) #main-content a:hover, .page:not(.home) #main-content a:focus,
.single #main-content a:hover,
.single #main-content a:focus,
.archive #main-content a:hover,
.archive #main-content a:focus {
    color: #343434 !important;
}

.single .wp-post-image {
    margin: 30px auto;
}

/*-- archive more link style */
.archive #main-content .container .col-md-8 a:nth-child(3) {
    padding: .6em 2.5em;
    display: inline-block;
    background-color: transparent;
    border: 1px solid #035287;
    color: #035287 !important;
    margin-top: 15px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 14px;
}

.archive #main-content .container .col-md-8 a:nth-child(3):hover, .archive #main-content .container .col-md-8 a:nth-child(3):focus {
    background-color: #035287;
    color: #fff !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post {
    margin-bottom: 5px !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_1_4.et_pb_column_1 .et_pb_post .post-content,
.page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article p {
    display: none !important;
}

.page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article h2 {
    margin-top: 30px !important;
}

@media only screen and (min-width: 765px) {
    .page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 img {
        /*height: 260px !important;*/
        width: auto !important;
    }
}

@media only screen and (max-width: 765px) {

#headerbar .btn-custom {

    position: initial !important;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}


.desktop-address {
display:none !important;
}

.mobile-address {
display:block !important;
}


.pay {
margin-bottom: 10px !important;
}

    .page-id-255 #main-content .et_pb_column.et_pb_column_3_4.et_pb_column_0 article {
        max-width: 360px !important;
        margin: 30px 0 !important;
    }
}

.archive #main-content .container .navigation.pagination .nav-links .page-numbers,
.archive #main-content .container .navigation.pagination .nav-links a.page-numbers {
    padding: 5px 15px;
    display: inline-block;
    text-align: center;
    background-color: #035287;
    color: #fff !important;
}

.archive #main-content .container .navigation.pagination .nav-links a.page-numbers:hover {
    background-color: #343434 !important;
    color: #fff !important;
}

.archive #main-content .container .navigation.pagination .nav-links .page-numbers.current {
    background-color: #343434 !important;
    color: #fff !important;
}

/* divi break point */
@media only screen and (min-width: 979px) {
    .category-articles h2,
    .category-services h2 {
        margin-top: 0 !important;

    }

    .category-articles #main-content img,
    .category-services #main-content img {
        margin-top: 5px !important;
    }
.menu-item-has-children:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
 }
.dropdown-menu > li > .dropdown-menu {
    top: 0;
    left: 100%;
    display: none !important;
}


}

/**
 * Remove animation globally
 */
@media only screen and (max-width: 767.98px) {
    * {
        animation: none !important;
        opacity: 1 !important;
    }
}

@media only screen and (min-width: 1025px) {

#headerbar .col-sm-2 img {
    width: 250px !important;
}
.desktop-address {
display:block;

}

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

}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .navbar .navbar-nav > li > a {
    margin: 5px 8px !important;
} 

}