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

/*========================================================================
            Base
========================================================================*/
html, body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 2;
    color: #414141;
    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: 'Libre Baskerville', serif;
    color: #006ad4;
}

a {
    color: #006ad4;
    transition: all .2s ease-out;
}

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

.btn.btn-custom {
    font-family: 'Oxygen', sans-serif;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 1em 2em;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid #e0c671;
    -webkit-transition: border-color 0.4s, color 0.4s;
    transition: border-color 0.4s, color 0.4s;
    background-color: #006ad4;
    vertical-align: middle;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.btn.btn-custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    background: #e0c671;
    border-radius: 4px;
    -webkit-transform: scale3d(0.7, 1, 1);
    transform: scale3d(0.7, 1, 1);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
    transition: transform 0.4s, opacity 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

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

.btn.btn-custom:hover:before {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/*========================================================================
            Modules
========================================================================*/
/*------------------------------------------------------------------------*/
/*------------------------------  HEADER   -------------------------------*/
#headerbar {
    padding-top: 30px;
    background-image: -moz-linear-gradient(90deg, rgb(244, 244, 244) 0%, rgb(255, 255, 255) 19%);
    background-image: -webkit-linear-gradient(90deg, rgb(244, 244, 244) 0%, rgb(255, 255, 255) 19%);
    background-image: -ms-linear-gradient(90deg, rgb(244, 244, 244) 0%, rgb(255, 255, 255) 19%);
    box-shadow: 0px 0px 10px 0px rgba(35, 31, 32, 0.24);
}

#headerbar .row:first-child .col-sm-4:nth-child(2) {
    line-height: 1.25;
}

#headerbar .row:first-child .col-sm-4:nth-child(2) span {
    display: block;
    font-size: 15px;
    text-transform: uppercase;
}

#headerbar .row:first-child .col-sm-4:nth-child(2) .phone {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
}

#headerbar .row:first-child .col-sm-4:nth-child(2) .btn.btn-custom {
    background-color: transparent;
    color: #006ad4;
    border-color: #006ad4;
    border-width: 1px;
    margin-top: 15px;
    padding: 1em 2.5em;
}

#headerbar .row:first-child .col-sm-4:nth-child(2) .btn.btn-custom:hover {
    color: #fff;
    background-color: #006ad4;
}

#headerbar .row:first-child .col-sm-4:nth-child(2) .btn.btn-custom:before {
    background-color: #006ad4;
}

#headerbar .row:first-child .col-sm-4:nth-child(1) a img {
    max-height: 120px;
    margin: 0 auto;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) .contact {
    max-width: 240px;
    float: right;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) p {
    color: #828080;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.5;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) ul li {
    display: inline-block;
    font-size: 26px;
    margin: 5px;
    transition: all .2s ease-out;
    line-height: 1;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) ul li a {
    color: #d4af37;
}

#headerbar .row:first-child .col-sm-4:nth-child(3) ul li:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#headerbar .row:first-child .col-sm-4:nth-child(3) ul li:hover a {
    color: #006ad4;
}

/*------------------------------------------------------------------------*/
/*----------------------------  HERO - Home   ----------------------------*/

#hero-home {
    position: relative;
}

#hero-home .et_pb_slide {
    height: 100vh;
    max-height: 600px;
    min-height: 350px;
}

#hero-home .hero-overlay {
    padding: 15px 0;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    text-align: center;
    background-color: rgba(0, 106, 212, .57);
}

#hero-home .hero-overlay h2 {
    margin: 12px 0 0;
    font-size: 26px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;

}

#hero-home .hero-overlay .btn.btn-custom {
    background-color: transparent;
}

/*------------------------------------------------------------------------*/
/*----------------------------  HERO - Inner   ---------------------------*/
#hero-inner {
    position: relative;
}

#hero-inner > img {
    vertical-align: middle;
    width: 100%;
    height: auto;
}

/*------------------------------------------------------------------------*/
/*-----------------------------  WELCOME   -------------------------------*/
.home #main-content {
    background: url("assets/images/welcome.jpg") center center;
    background-size: cover;
    padding: 120px 0 105px;
}

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

.home #main-content .container h1:first-child {
    display: none;
}

.home #main-content h2 {
    font-size: 30px;
    margin-bottom: 30px !important;
    line-height: 1.25;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: bold;
}

.home #main-content .col-md-12 {
    max-width: 650px;
}

/*------------------------------------------------------------------------*/
/*-----------------------------  DOCTOR   --------------------------------*/

#doctor {
    background: url("/wp-content/uploads/sites/100/2025/05/hp-doctor-update-new.jpg") top center;
    background-size: cover;
    min-height: 530px;
    padding: 80px 0;
}

@media only screen and (min-width: 1600px) {
    #doctor {
        min-height: 650px;
    }
}

#doctor h2 {
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 1.25;
    margin-top: 0;
    text-transform: uppercase;
    font-weight: bold;
}

#doctor .btn.btn-custom {
    margin: 30px 0;
}

#doctor ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#doctor ul li {
    display: inline-block;
    margin: 10px 25px;
}

#doctor ul li:first-child {
    margin-left: 0;
}

#doctor ul li:last-child {
    margin-right: 0;
}

#doctor ul li img {
    max-height: 80px;
    mix-blend-mode: darken;
}

#doctor .img {
    display: none;
    margin-bottom: 30px;
}

/*------------------------------------------------------------------------*/
/*-----------------------------  SERVICES   ------------------------------*/
#services {
    padding: 60px 0 30px;
}

#services .col-sm-6 {
    margin-bottom: 30px;
}

#services .service {
    position: relative;
    overflow: hidden;
    border: 2px solid #006ad4;
    padding: 60px;
    background-color: #dde7f0;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

#services .service:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 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%);
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -ms-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, .3);
    opacity: 0;
    visibility: hidden;
}

#services .service:hover:before {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    opacity: 1;
    visibility: visible;
}

#services .service:hover {
    background-color: rgba(212, 175, 55, .1);
}

#services .service h3 {
    font-size: 20px;
    color: #1f2020;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 15px;
}

#services .service p {
    max-width: 400px;
    line-height: 1.5;
    margin: 0 auto 30px;
}

#services .btn.btn-custom {
    padding: .6em 2em;
}

/*------------------------------------------------------------------------*/
/*--------------------------------  ABOUT   ------------------------------*/
#about .col-sm-6 {
    padding: 0;
}

#about .row:nth-child(6),
#about .row:nth-child(1) {
    background-color: #e3e8ed;
}

#about .row:nth-child(6) h2:hover {
    color: #d4af37;
}

#about .row:nth-child(6) h2,
#about .row:nth-child(1) h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 30px 0;
    text-transform: uppercase;
    font-weight: bold;
    color: #262626;
    transition: all .2s ease-out;
}

#about h3 {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
    line-height: 1;
}

#about span {
    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 400;
    color: #000000;
    display: inline-block;
    margin-bottom: 20px;
}

#about p {
    font-size: 16px;
    color: #000;
    max-width: 650px;
}

#about .btn.btn-custom {
    padding: .6em 2em;
    margin-top: 30px;
}

#about .row .col-md-6:last-child {
    padding: 60px;
}

/* row 2 */
#about .row:nth-child(2) .col-md-6 {
    min-height: 400px;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_section,
#about .row:nth-child(2) .col-md-6:last-child .et_pb_container {
    width: 100% !important;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide {
    padding: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide_description {
    padding: 0 !important;
    float: left !important;
    position: relative;
    padding-bottom: 50px !important;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide_content {
    text-align: left !important;

}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide_content .review {
    position: relative;
    font-size: 16px;
    color: #000;
    max-width: 650px;
    padding-left: 45px;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide_content .review:before {
    position: absolute;
    content: '';
    background-image: url("assets/images/quote.png");
    width: 39px;
    height: 31px;
    margin-left: -45px;
}

#about .row:nth-child(2) .col-md-6:last-child .et_pb_slide_content .reviewer {
    font-size: 20px;
    color: #d4af37;
    text-transform: uppercase;
    margin: 15px 0 0 45px;
}

#about .row:nth-child(2) .col-md-6:last-child .btn.btn-custom {
    margin-left: 45px;
    margin-top: 15px;
}

#about .row:nth-child(2) .col-md-6:last-child .et-pb-controllers {
    margin-left: 45px;
}

#about .row:nth-child(2) .col-md-6:last-child .et-pb-controllers a {
    background-color: #ddd;
    border-radius: 10px !important;
    width: 10px !important;
    height: 10px !important;
    float: left;
}

#about .row:nth-child(2) .col-md-6:first-child {
    background: url("assets/images/review-section-top-left.jpg") top center;
    background-size: cover;
}

/* row 3 */
#about .row:nth-child(3) .col-md-6 {
    min-height: 500px;
}

#about .row:nth-child(3) .col-md-6:first-child {
    background: url("assets/images/review-section-top-right-updated.png") center center;
    background-size: cover;
}

#about .row:nth-child(3) .col-md-6:last-child {
    text-align: right;
}

#about .row:nth-child(3) .col-md-6:last-child p {
    margin: 0 0 15px auto;
}

/* row 4 */
#about .row:nth-child(4) .col-md-6 {
    min-height: 500px;
}

#about .row:nth-child(4) .col-md-6:first-child {
    background: url("assets/images/review-section-bottom-left.jpg") center center;
    background-size: cover;
}

/* row 5 */
#about .row:nth-child(5) .col-md-6 {
    min-height: 500px;
}

#about .row:nth-child(5) .col-md-6:first-child {
    background: url("assets/images/review-section-bottom-right.jpg") center center;
    background-size: cover;
}

#about .row:nth-child(5) .col-md-6:last-child {
    text-align: right;
}

#about .row:nth-child(5) .col-md-6:last-child p {
    margin: 0 0 15px auto;
}

/*------------------------------------------------------------------------*/
/*------------------------------  FOOTER   -------------------------------*/
#footer-main {
    background-color: #2a2a2a;
}

#footer-main a {
    color: rgba(255, 255, 255, 0.502);
}

#footer-main .col-md-4 {
    padding: 60px 15px;
    color: rgba(255, 255, 255, 0.502);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
}

#footer-main .col-md-4 .icon {
    margin-right: 20px;
}

#footer-main .col-md-4 p {
    display: inline-block;
    vertical-align: top;
    margin: 0;
}

#footer-main .col-md-4 p span {
    font-family: 'Libre Baskerville', serif;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}

#footer-main .col-md-4 p .phone {
    font-size: 28px;
    font-weight: 300;
}

#footer-main .col-md-4 .logo {
    margin-bottom: 25px;
}

#footer-main ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 400px;
}

#footer-main ul li {
    display: inline-block;
    width: 49%;
    margin-bottom: 3px;
}

#footer-main .legal {
    padding: 10px 15px;
}

#footer-main .legal a,
#footer-main .legal {
    background-color: #101010;
    font-size: 11px;
    color: rgba(253, 254, 254, 0.388);
    text-transform: uppercase;
    line-height: 2.429;
    text-align: center;
    -moz-transform: matrix(1.00022117947564, 0, 0, 0.9894755489705, 0, 0);
    -webkit-transform: matrix(1.00022117947564, 0, 0, 0.9894755489705, 0, 0);
    -ms-transform: matrix(1.00022117947564, 0, 0, 0.9894755489705, 0, 0);
}

#footer-main a:hover {
    color: #d4af37;
}

/*------------------------------------------------------------------------*/
/*---------------------------  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: #006ad4;
    color: #fff;
    text-transform: uppercase;
    min-height: 40px;
    margin-left: -5px;
    display: inline-block;
    vertical-align: middle;
    transition: all .2s ease-out;
}

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

/* adjust fixed menu spacing */
body.admin-bar {
    padding-top: 30px;
}

.container {
    max-width: 1200px !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: 60px 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: #006ad4 !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: #e0c671 !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: 1px solid #005483;
    margin-top: 15px;
}

.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: #005483;
    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: 250px !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;
    }
}

.wp-post-image {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

/*========================================================================
      Main Nav Style
========================================================================*/
.navbar {
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    z-index: 9999;
}

/*========================================================================
              Menu Level One
========================================================================*/
.navbar li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Main Menu Item */
.navbar .navbar-nav > li > a {
    padding: 0;
    font-size: 15px;
    text-transform: uppercase;
    color: #4d4c4c;
    position: relative;
    display: inline-block;
    outline: none;
    margin: 10px 15px;
}

.navbar .navbar-nav > li > a::before {
    content: '';
    position: absolute;
    padding: 15px 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    max-width: 0;
    border-bottom: 2px solid #006ad4;
    -webkit-transition: max-width 0.5s;
    -moz-transition: max-width 0.5s;
    transition: max-width 0.5s;
    margin: 0 auto;
    right: 0;
}

.navbar .navbar-nav > li > a:hover::before {
    max-width: 100%;
    width: 100%;
}

/* 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: #006ad4;
    background: transparent;
    outline: none;
    letter-spacing: inherit;
    outline: 0 !important;
}

/*========================================================================
              Menu Level Two (Dropdown)
========================================================================*/
/* Dropdown Menu Wrap */
.dropdown-menu {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

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

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

.dropdown-menu > li > a {
    font-size: 15px;
    font-weight: 600;
    padding: 12px;
    text-transform: uppercase;
    color: #4d4c4c !important;
}

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

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

/* Mobile Menu Toggle Button Icons (Hamburger Menu) */
.navbar .navbar-toggle .icon-bar {
    background-color: #fff !important;
    clear: both;
    display: block;
    float: right;
    width: 32px;
}

/* Mobile Dropdown Menu Box Border */
.navbar .navbar-collapse {
    border-color: rgba(26, 26, 26, 0.1);
}

/*========================================================================
            Bootstrap 3 Media Queries
========================================================================*/

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

    #footer-main .col-md-4 {
        min-height: 256px !important;
    }

    #footer-main .col-md-4:nth-child(2):after {
        position: absolute;
        content: '';
        height: 256px;
        width: 1px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        background-color: #353535;
        right: 60px;
    }

    #footer-main .col-md-4:nth-child(2) {
        position: relative;
    }

    #footer-main .col-md-4:nth-child(2):before {
        position: absolute;
        content: '';
        height: 256px;
        width: 1px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        background-color: #353535;
        left: -60px;
    }
}

/* Most used. Size of iPad Mini non-retina and iPhone 6 Plus */
@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;
    }

    #headerbar {
        padding-bottom: 10px;
    }

    #headerbar nav {
        margin-top: 10px;
    }
}

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

/*==========  Non-Mobile First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    #doctor {
        background-position: 37% 50%;
    }

    #doctor ul li img {
        max-height: 48px;
    }

    #doctor .col-sm-6 {
        padding-left: 45px;
    }

    #services .service {
        min-height: 291px;
    }

    #about .row .col-md-6:last-child {
        padding: 30px 60px;
    }

    #footer-main .col-md-4:nth-child(2):before {
        left: -45px;
    }

    #footer-main .col-md-4:nth-child(2):after {
        right: 45px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
    #hero-home .hero-overlay .btn.btn-custom {
        margin-top: 15px;
    }

    .home #main-content {
        background-position: top right;
        position: relative;
        text-align: center;
    }

    .home #main-content:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, .8);
    }

    .home #main-content .col-md-12 {
        max-width: 650px;
        margin: 0 auto;
    }

    #doctor ul li img {
        max-height: 32px;
    }

    #services .service {
        padding: 60px 30px;
        min-height: 320px;
    }

    #about .row .col-md-6 {
        min-height: 400px !important;
    }

    #about .row:nth-child(5) .col-md-6:last-child,
    #about .row:nth-child(3) .col-md-6:last-child {
        text-align: left;
    }

    #about .row:nth-child(5) .col-md-6:last-child p,
    #about .row:nth-child(3) .col-md-6:last-child p {
        margin: 0 0 15px 0;
    }

    #footer-main .col-sm-12 {
        padding-top: 0;
        padding-left: 68px;
    }
}

@media only screen and (max-width: 768px) {
    #doctor {
        background-image: none;
        background-color: #E3E8EC;
        padding-top: 0;
    }

    #doctor .img {
        display: block;
        margin: 0 auto;
        padding: 27px;
    }

    #doctor {
        min-height: 0;
    }

    #doctor .col-sm-6 {
        float: none;
        display: block;
        width: 100%;
        padding-left: 15px;
    }

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

    #headerbar .row:first-child .col-sm-4:nth-child(3) p {
        font-size: 15px;
    }
     #hero-home .et_pb_slide.et_pb_slide_2 {
        background-position: 25% 50% !important;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 767px) {
    #headerbar .row:last-child .col-sm-12 {
        padding: 0;
    }

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

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

    .navbar .navbar-nav > li > a {
        margin: 10px;
    }

    .navbar-header {
        border: 0 !important;
    }

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

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        background-color: transparent !important;
        color: #006ad4 !important;
    }

    .dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
        padding: 12px;
        background-color: transparent !important;
        color: #006ad4 !important;
    }

    #headerbar .row:first-child .col-sm-4:nth-child(2) {
        text-align: center;
        margin-top: 15px;
    }

    #headerbar .row:first-child .col-sm-4:nth-child(3) .contact {
        margin: 15px auto;
        float: none;
    }

    .home #main-content {
        background-position: 75% 50%;
    }

    #services .service {
        min-height: 333px;
    }

    #about .row .col-md-6 {
        min-height: 300px !important;
    }

    #about .row .col-md-6:last-child {
        padding: 30px;
    }

    #footer-main .col-md-4 {
        padding-bottom: 0;
    }

    #footer-main .col-md-4:nth-child(2) {
        padding-top: 45px;
    }

    #footer-main .col-sm-12 {
        padding-top: 45px;
        padding-bottom: 60px;
        padding-left: 68px;
    }
}

@media only screen and (max-width: 630px) {
    #services .col-xs-6 {
        float: none;
        width: 100%;
        display: block;
    }

    #services .service {
        min-height: 0;
    }

    #about .row:nth-child(6) h2,
    #about .row:nth-child(1) h2 {
        font-size: 18px;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    #footer-main .col-sm-12 ul li {
        width: 100%;
        display: block;
    }

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

    #hero-home .hero-overlay h2 {
        display: none;
    }

    #hero-home .hero-overlay .btn.btn-custom {
        margin-top: 0;
    }

    #about .row .col-md-6 {
        min-height: 250px !important;
    }

    #about .row .col-md-6:last-child {
        padding: 30px 15px;
    }

    #about h3,
    #about span {
        font-size: 24px;
    }
}