/*
Theme Name: earlgonzales
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
*/

/**
 * FONTS
 * font-family: 'Playfair Display', serif;
 * font-family: 'Montserrat', sans-serif;
 * font-family: 'Source Sans Pro', sans-serif;
 */

/*========================================================================
			Base
========================================================================*/
html, body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #686969;
    line-height: 2;
    font-style: normal;
    font-weight: 400;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: #21567b;
    transition: all .2s ease-out;
}

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

#appointment .et_pb_text .btn.btn-custom,
.btn.btn-custom {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: .8em 2em;
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: border-color 0.5s, color 0.5s;
    transition: border-color 0.5s, color 0.5s;
    min-width: 150px;
    line-height: 1.5;
    border: 2px solid #21567b;
    background-color: transparent;
    vertical-align: middle;
    z-index: 1;
    color: #21567b;
    border-radius: 4px;
    text-transform: uppercase;
    text-align: center;
}

@media only screen and (max-width: 767.98px) {
    #appointment .et_pb_text .btn.btn-custom,
    .btn.btn-custom {
        padding: .6em 1.5em;
    }
}

#appointment .et_pb_text .btn.btn-custom:before,
.btn.btn-custom:before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 100%;
    margin: -15px 0 0 1px;
    width: 30px;
    height: 30px;;
    background: #21567b;
    color: #fff;
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transform: scale3d(1, 2, 1);
    transform: scale3d(1, 2, 1);
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
}

#appointment .et_pb_text .btn.btn-custom:hover,
.btn.btn-custom:hover {
    color: #fff;
}

#appointment .et_pb_text .btn.btn-custom:hover:before,
.btn.btn-custom:hover:before {
    -webkit-transform: scale3d(15, 15, 1);
    transform: scale3d(15, 15, 1);
    color: #fff;
}

/* section title */
.section-heading {
    border-top: 1px solid #d9d8d8 !important;
    border-bottom: 1px solid #d9d8d8 !important;
    text-align: center !important;
    padding: 15px !important;
}

.section-heading h2 {
    font-size: 47px !important;
    color: #21567b !important;
    line-height: 1 !important;
}

@media only screen and (max-width: 992px) {
    .section-heading h2 {
        font-size: 36px !important;
    }
}

@media only screen and (max-width: 767.98px) {
    .section-heading h2 {
        font-size: 28px !important;
    }
}

/*========================================================================
			Modules
========================================================================*/
/*
|------------------------------------------------------------------|
|                           HEADER                                 |
|------------------------------------------------------------------|
*/

#headerbar {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

#headerbar #google_translate_element {
    position: relative;
    z-index: 9999999999;
}

#headerbar .goog-te-gadget-simple span {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #5f5f5f;
}

#headerbar .goog-te-gadget-simple span,
#headerbar .goog-te-gadget-simple {
    border: none !important;
}

#headerbar .goog-te-gadget img {
    display: none;
}

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

#headerbar .btn.btn-custom {
    padding: .5em 1.5em;
}

#headerbar .phone {
    font-weight: 400;
    color: #21567b;
    font-size: 18px;
}

#headerbar .phone:hover {
    color: #1c1c1c;
}

#headerbar [class*=col]:last-child a,
#headerbar [class*=col]:last-child div {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.286;
    margin: 5px 10px;
}

#headerbar [class*=col]:last-child .btn.btn-custom {
    margin-right: 0;
}

#headerbar [class*=col]:last-child div {
    margin-left: 0;
    margin-right: 0;
}

#headerbar .business-address {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: rgb(95, 95, 95);
    padding-right: 10px;
}

#headerbar .business-address:after {
    position: absolute;
    content: '';
    right: -7px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #dfdfdf;
    height: 100%;
    width: 1px;
}

#headerbar .business-address:hover {
    color: #1c1c1c;
}

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

@media only screen and (max-width: 919.98px) {
    #headerbar .logo {
        display: inline-block;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767.98px) {
    #headerbar [class*=col] {
        text-align: center !important;
    }

    #headerbar .btn.btn-custom {
        padding: .5em 1em;
    }
}

@media only screen and (max-width: 363px) {
    #headerbar .business-address{
        padding-right: 0;
    }
    #headerbar .business-address:after {
        display: none;
    }
}

/*
|------------------------------------------------------------------|
|                           NAVBAR                                 |
|------------------------------------------------------------------|
*/
#navbar {
    position: relative;
    z-index: 999999;
}

.navbar {
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: #21567b;
}

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

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

.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;
    background: transparent;
    letter-spacing: inherit;
}

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

/* Dropdown Menu Item */
.dropdown-menu > li > a {
    padding: 12px;
    font-size: 15px;
    color: #1c1c1c;
    line-height: 1.389;
}

/* 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: #21567b !important;
    color: #fff !important;
}

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

/* Mobile Menu Toggle Button Border */
.navbar .navbar-toggle {
    position: relative;
    float: none;
    height: 50px;
    padding: 10px 15px;
    width: 100%;
    border-radius: 0;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
    background-color: #21567b !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-color: #21567b;
}

/* 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-collapse {
        text-align: center;
    }
}

@media only screen and (max-width: 767.98px) {
    .navbar-toggle::after {
        color: #fff;
        content: "Menu";
        font-weight: 700;
        font-size: 20px;
        left: 17px;
        position: absolute;
        top: 6px;
        text-transform: uppercase;
    }

    .navbar-collapse {
        overflow: hidden !important;
    }

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

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

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

}

/*
|------------------------------------------------------------------|
|                          HERO HOME                               |
|------------------------------------------------------------------|
*/

#hero-home {
    position: relative;
    overflow: hidden;
}

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

#hero-home .et_pb_slide_content {
    text-shadow: none !important;
}

#hero-home .et_pb_container {
    width: 100% !important;
    max-width: calc(100% - 30px) !important;
}

#hero-home .et_pb_slide_description {
    display: inline-block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    -webkit-transform: translateX(-50%) !important;
    -moz-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    -o-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
    animation: none !important;
    width: 100% !important;
    max-width: 810px !important;
    background-color: rgba(25, 25, 25, 0.6);
    padding: 40px !important;
}

#hero-home .et_pb_slide_1 .et_pb_slide_description {
    max-width: 500px !important;
}

#hero-home .et_pb_slide_content h2 {
    font-size: 50px;
    line-height: 1 !important;
    color: #fff !important;
    margin: 0 !important;
}
#hero-home .et_pb_slide_0 h2 {
    font-size: 46px !important;}

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

    #hero-home .et_pb_slide {
        min-height: 500px;
    }

    #hero-home .et_pb_slide_description {
        padding: 30px !important;
    }

    #hero-home .et_pb_slide_content h2 {
        font-size: 42px !important;
    }
}

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

    #hero-home .et_pb_slide {
        min-height: 400px;
    }

    #hero-home .et_pb_slide_description {
        padding: 30px 15px !important;
    }

    #hero-home .et_pb_slide_content h2 {
        font-size: 32px !important;
    }
}

@media only screen and (max-width: 480px) {
    #hero-home .et_pb_slide {
        min-height: 188px;
    }

    #hero-home .et_pb_slide_content h2 {
        font-size: 24px !important;
	padding-bottom: 0 !important;
    }
   #hero-home .et_pb_slide {
	background-size: contain!important;
}
    #hero-home .et_pb_slide_description {
        padding: 5px 10px !important;
}
    #hero-home .et_pb_slide_content h2 {
        font-size: 17px !important;
    }
   .home #main-content {
        padding-top: 10px !important;
}

}

/*
|------------------------------------------------------------------|
|                          HERO INNER                              |
|------------------------------------------------------------------|
*/

#hero-inner {
    position: relative;
    overflow: hidden;
    background: url("assets/images/footer.jpg") no-repeat center center;
    background-size: cover;
    min-height: 300px;
}

@media only screen and (max-width: 1024px) {
    #hero-inner {
        min-height: 250px;
    }
}

@media only screen and (max-width: 767.98px) {
    #hero-inner {
        min-height: 200px;
    }
}

@media only screen and (max-width: 480px) {
    #hero-inner {
        min-height: 150px;
    }
}

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

.home #main-content {
    position: relative;
    overflow: hidden;
    padding-top: 75px;
}

.home #main-content h1 {
    display: none !important;
}

.home #main-content h2 {
    font-size: 47px !important;
    color: #21567b !important;
    line-height: 1 !important;
    margin-bottom: 15px !important;
}

@media only screen and (max-width: 992px) {
    .home #main-content h2 {
        font-size: 36px !important;
    }
}

@media only screen and (max-width: 767.98px) {
    .home #main-content h2 {
        font-size: 28px !important;
    }
}

/*
|------------------------------------------------------------------|
|                            SERVICES                              |
|------------------------------------------------------------------|
*/

#services {
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

#services .et_pb_module {
    margin: 0 !important;
}

#services .et_pb_blurb {
    position: relative;
    overflow: hidden;
    display: inline-block;
    float: left;
    width: 33.33%;
    border: 15px solid #fff;
    transition: all .3s;
}

@media only screen and (max-width: 992px) {
    #services .et_pb_blurb {
        width: 50%;
    }
}

#services .et_pb_blurb .et_pb_blurb_container {
    min-height: 364px;
}

#services .et_pb_blurb .et_pb_blurb_container .et_pb_module_header {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.871);
    padding: 20px 15px;
    text-align: center;
    transition: all .3s;
}

#services .et_pb_blurb:hover .et_pb_blurb_container .et_pb_module_header {
    background-color: rgba(33, 86, 123, .941);
}

#services .et_pb_blurb .et_pb_blurb_container .et_pb_module_header a {
    color: #1c1c1c;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-size: 20px !important;
}

#services .et_pb_blurb:hover .et_pb_blurb_container .et_pb_module_header a {
    color: #fff !important;
}

@media only screen and (min-width: 979px) and (max-width: 1200px) {
    #services .et_pb_blurb .et_pb_blurb_container {
        min-height: 300px;
    }

    #services .et_pb_blurb .et_pb_blurb_container .et_pb_module_header a {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 979px) {
    #services .et_pb_blurb .et_pb_blurb_container {
        min-height: 320px;
    }
}

@media only screen and (max-width: 767.98px) {
    #services .et_pb_blurb .et_pb_blurb_container .et_pb_module_header a {
        font-size: 16px !important;
    }

    #services .et_pb_blurb {
        max-width: 441px;
        display: block;
        margin: 0 auto !important;
        width: 100%;
        float: none;
    }

    #services .et_pb_blurb .et_pb_blurb_container {
        min-height: 364px;
    }
}

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

    #services .et_pb_blurb .et_pb_blurb_container {
        min-height: 300px;
    }
}

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

    #services .et_pb_blurb .et_pb_blurb_container {
        min-height: 240px;
    }
}

/*
|------------------------------------------------------------------|
|                           APPOINTMENT                            |
|------------------------------------------------------------------|
*/

#appointment {
    position: relative;
    overflow: hidden;
}

#appointment .et_pb_text .btn.btn-custom {
    border: 2px solid #fff;
    color: #fff;
}

#appointment .et_pb_text .btn.btn-custom:before {
    background-color: #fff;
}

#appointment .et_pb_text .btn.btn-custom:hover {
    color: #21567b;
}

@media only screen and (max-width: 980px) {
    #appointment .et_pb_text {
        text-align: center !important;
    }
}

/*
|------------------------------------------------------------------|
|                             DOCTORS                              |
|------------------------------------------------------------------|
*/

#doctors {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
}

#doctors .et_pb_module {
    margin: 0 !important;
}

#doctors .et_pb_blurb {
    max-width: 260px;
    display: inline-block;
   
    width: 20%;
    border: 6px solid #fff;
    transition: all .3s;
}

#doctors .et_pb_blurb:hover {
    position: relative;
    z-index: 10;
    -webkit-box-shadow: 1px 1px 20px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 20px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 20px 1px rgba(0, 0, 0, 0.75);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

#doctors .et_pb_main_blurb_image {
    margin-bottom: 0 !important;
}

#doctors .et_pb_blurb .et_pb_blurb_container {
    background-color: #21567b;
    text-align: center !important;
    padding: 20px 10px;
    margin-top: -11px;
}

#doctors .et_pb_blurb .et_pb_blurb_container .et_pb_module_header {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
}

#doctors .et_pb_blurb .et_pb_blurb_container .et_pb_module_header a {
    font-family: 'Montserrat', sans-serif;
    color: #fff !important;
    font-size: 19px !important;
}

#doctors .et_pb_blurb .et_pb_blurb_container .et_pb_blurb_description {
    font-family: 'Montserrat', sans-serif;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

@media only screen and (max-width: 1300px) {
    #doctors .et_pb_blurb .et_pb_blurb_container .et_pb_module_header a {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 1024px) {
    #doctors .et_pb_blurb {
        width: 33.33%;
        margin: 0 auto !important;
        float: none !important;
    }

}

@media only screen and (max-width: 767.98px) {
    #doctors .et_pb_blurb {
        width: 50%;
    }
}

@media only screen and (max-width: 480px) {
    #doctors .et_pb_blurb {
        width: 100%;
    }
}

/*
|------------------------------------------------------------------|
|                           TESTIMONIALS                           |
|------------------------------------------------------------------|
*/

#testimonials {
    position: relative;
    overflow: hidden;
}

#testimonials .et_pb_slide_description {
    padding: 20px 0 !important;
}

#testimonials .et_pb_slide_content {
    text-shadow: none !important;
}

#testimonials .et_pb_slide_content .star {
    color: #21567b !important;
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

#testimonials .et_pb_slide_content .review {
    position: relative;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px !important;
    color: rgba(104, 105, 105, 0.941) !important;
    line-height: 1.5;
    padding: 0 30px !important;
    max-width: 908px;
    margin: 0 auto;
}

#testimonials .et_pb_slide_content .review:before,
#testimonials .et_pb_slide_content .review:after {
    position: absolute;
    content: '';
    background-repeat: no-repeat;
    width: 37px;
    height: 31px;
}

#testimonials .et_pb_slide_content .review:before {
    background: url("assets/images/quote-left.png");
    top: 0;
    left: 0;
}

#testimonials .et_pb_slide_content .review:after {
    background: url("assets/images/quote-right.png");
    right: 0;
    top: 0;
}

#testimonials .et_pb_slide_content .reviewer {
    position: relative;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px !important;
    color: rgba(104, 105, 105, 0.941) !important;
    line-height: 1.2;
    padding-top: 25px !important;
    margin-top: 25px !important;
}

@media only screen and (max-width: 767.98px) {
    #testimonials .et_pb_slide_content .star {
        font-size: 20px !important;
    }

    #testimonials .et_pb_slide_content .review,
    #testimonials .et_pb_slide_content .reviewer {
        font-size: 18px !important;
    }
}

#testimonials .et_pb_slide_content .reviewer:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #21567b;
    width: 25px;
    height: 1px;
}

#testimonials .et-pb-slider-arrows a:before {
    color: #b6c7d4 !important;
}

/*
|------------------------------------------------------------------|
|                            FOOTER TOP                            |
|------------------------------------------------------------------|
*/

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

#footer-top .grids {
    position: relative;
    overflow: hidden;
    display: block;
}

#footer-top .grids .box {
    position: relative;
    display: inline-block;
    float: left;
    width: 50%;
}

#footer-top .wrapper {
    width: 100%;
    max-width: 700px;
    padding: 0 30px;
}

#footer-top h2 {
    font-size: 47px;
    color: #21567b;
    line-height: 1;
    margin: 0 0 90px;
    text-align: center;
}

#footer-top .assoc {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

#footer-top .map-info {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px -12px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 30px;
    position: absolute;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
}

#footer-top .map-info .logo {
    margin: 0 auto 15px;
    max-width: 160px;
    width: 100%;
}

#footer-top .map-info ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: block;
}

#footer-top .map-info ul li {
    display: inline-block;
    float: left;
    width: 50%;
}

#footer-top .map-info ul li a {
    font-size: 16px;
    font-weight: 400;
    color: #4a4a4a;
}

#footer-top .map-info ul li:last-child {
    padding-left: 30px;
}

#footer-top .map-info ul li a:hover {
    color: #21567b;
}

#footer-top .map-info ul li a,
#footer-top .map-info ul li img {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.24;
}

#footer-top .map-info ul li img {
    margin-right: 10px;
}

@media only screen and (min-width: 768px) {
    #footer-top .assoc li img {
        float: right;
    }

    #footer-top .assoc li {
        display: inline-block;
        float: left;
        width: 50%;
        min-height: 120px;
        border-right: 20px solid #fff;
        border-left: 20px solid #fff;
    }
}

@media only screen and (max-width: 992px) {
    #footer-top h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    #footer-top .grids .box {
        display: block;
        float: none;
        width: 100%;
    }

    #footer-top .wrapper {
        margin: 0 auto;
        padding: 0 30px 45px;
    }

    #footer-top .assoc li img {
        float: none;
    }
}

@media only screen and (max-width: 767.98px) {
    #footer-top h2 {
        font-size: 28px;
    }

    #footer-top .assoc {
        text-align: center;
    }

    #footer-top .assoc li {
        display: inline-block;
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    #footer-top .assoc li img {
        margin: 0 auto;
    }
}

@media only screen and (max-width: 480px) {
    #footer-top .map-info ul {
        text-align: center;
    }

    #footer-top iframe {
        height: 350px !important;
    }

    #footer-top .map-info {
        position: static;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    #footer-top .map-info ul li {
        display: block;
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

}

/*
|------------------------------------------------------------------|
|                              FOOTER                              |
|------------------------------------------------------------------|
*/

#footer-main {
    position: relative;
    overflow: hidden;
    background: url("assets/images/footer.jpg") no-repeat top center;
    background-size: cover;
    padding: 120px 0;
}

#footer-main .wrapper {
    background-color: rgba(8, 48, 77, 0.922);
    padding: 75px 0 45px;
}

#footer-main h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 30px;
    text-transform: uppercase;
    color: #fff;
}

#footer-main .footer-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 360px;
}

#footer-main .footer-menu li {
    display: inline-block;
    width: 48%;
}

#footer-main .footer-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

#footer-main .footer-menu li:hover a {
    color: #ccc;
}

#footer-main table {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}

#footer-main table tr td span {
    padding: 0 30px;
}

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

#footer-main .social li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

#footer-main .social li a {
    font-size: 15px;
    color: #fff;
}

#footer-main .social li:hover a {
    color: #ccc;
}

#footer-main .social li i {
    font-size: 20px;
    width: 40px;
}

#footer-main .social li i,
#footer-main .social li span {
    display: inline-block;
    vertical-align: middle;
}

#footer-main .legal {
    margin-top: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

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

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

@media only screen and (max-width: 992px) {
    #footer-main table tr td span {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 767.98px) {
    #footer-main h4 {
        text-align: center;
    }

    #footer-main .wrapper {
        padding-bottom: 15px;
    }

    #footer-main .footer-menu {
        text-align: center;
        margin: 0 auto;
    }

    #footer-main .footer-menu li {
        width: 100%;
        display: block;
    }

    #footer-main table {
        max-width: 240px;
        margin: 0 auto;
    }

    #footer-main [class*=col-] {
        margin-bottom: 45px;
    }

    #footer-main .social {
        max-width: 136px;
        margin: 0 auto;
    }

    #footer-main .legal {
        margin-top: 15px;
    }
}

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

#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: #21567b;
    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: #1c1c1c;
    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 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    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;
    font-weight: 300;
}

.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: #21567b !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: #1c1c1c !important;
}

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

/*-- archive more link style */
.archive #main-content .container .col-md-8 a:nth-child(3) {
    padding: 8px 20px;
    display: inline-block;
    border: 2px solid #21567b;
    color: #21567b !important;
    margin-top: 15px;
    font-weight: 500;
    border-radius: 4px;
}

.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: #21567b;
    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) {
    .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: #21567b;
    color: #fff !important;
}

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

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

/* magnific popup */
.mfp-close {
    margin-top: 10px !important;
    margin-right: 10px !important;
}

/* divi break point : adjust archive list spacing */
@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;
    }
}
