/*
 Theme Name:     Restoration Therapy Training
 Theme URI:      
 Description:    Divi Child Theme
 Author:         Sketchfolio
 Author URI:     http://www.sketchfolio.com
 Template:       Divi
 Version:        1.0.0
*/

/* General styles */
body {
    color: #676767;
    font-family: "Merriweather",Georgia,"Times New Roman",serif;
}
h1, h2, h3, h4, h5, h6 {
    color: #5a5478;
    font-family: "Open Sans", Arial, sans-serif;
}
a {
    color: #847aae;
    font-family: "Trebuchet MS", sans-serif;
}

.et_pb_text ol {
    padding-bottom: 0;
}

#logo {
    max-height: 50px;
}

.sub-head {
    color: #8ebfc3 !important;
    font-family: "Merriweather",Georgia,"Times New Roman",serif !important;
}

/*---Left---*/
.ds-slider-left.et_pb_slider .et_pb_container {
    float: left !important;
}
.ds-slider-left .et_pb_slide_description  {
	text-align: left !important;
}
.ds-slider-left.et_pb_slider .et_pb_button {
    float: left !important;
}
#main-content {
    background-color: #1e1e1e !important;
}

.home #homepage-hero .et_pb_slide_content {
    max-width: 55% !important;
}


.blog #main-content {
    background-color: #fff !important;
}

.history-section .et_pb_container .et_pb_slide_description {
  text-align: center !important;
}

@media (max-width: 980px) {
  .et_header_style_left #logo {
    max-width: 80%;
  }

  .mobile_menu_bar:before {
    color: #847aae;
  }

  .home .et_pb_slide_content {
    max-width: 100% !important;
  }

  .history-section .et_pb_container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }
  
  .history-section .et_pb_container .et_pb_slide_description {
	padding-left: 16px;
    padding-right: 16px;
    text-align: left !important;
  }
}

/* Nav overrides */
@media (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .et_header_style_centered #top-menu>li>a {
        color: #ffffff;
        padding-bottom: 20px!important;
        padding-top: 24px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    #top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
        display: none;
    }

    #top-menu .menu-item-has-children>a:first-child, #et-secondary-nav .menu-item-has-children>a:first-child {
        padding-right: 0;
    }

    .et_header_style_centered #top-menu>li>a {
        padding-bottom: 0px;
    }

    #top-menu li.current-menu-ancestor>a, #top-menu li.current_page_item>a {
        color: #ffffff!important;
    }

    #top-menu li.current_page_item>a::after, #top-menu li.current-menu-ancestor>a::before {
        display: block;
        content: '';
        width: 100%;
        height: 6px;
        background: #ffffff;
        position: absolute;
        bottom: 0px;
        left: 0; 
    }

    #top-menu .sub-menu li.current_page_item>a::after, #top-menu .sub-menu li.current-menu-ancestor>a::before {
        display: none;
    }

    #top-menu li li a {
        padding: 6px 20px;
        width: 220px;
    }

    .et-menu li li a {
        padding: 6px 20px; 
        width: 220px;
    }

    .nav li ul {
        position: absolute;
        padding: 20px 0; 
        width: 260px;
    }

    .nav li li ul {
        z-index: 1000;
        top: -23px;
        left: 260px;
    }

    .nav li.et-reverse-direction-nav li ul {
        left: auto;
        right: 260px;
    }

    #top-menu .sub-menu li.current-menu-ancestor>a, #top-menu .sub-menu li.current_page_item>a {
        color: #676767!important;
    }

    .et-fixed-header #top-menu a, .et-fixed-header #et_search_icon:before, .et-fixed-header #et_top_search .et-search-form input, .et-fixed-header .et_search_form_container input, .et-fixed-header .et_close_search_field:after, .et-fixed-header #et-top-navigation .et-cart-info {
        color: #ffffff!important;
    }
}
.et_header_style_centered #main-header div#et-top-navigation {
    background-color: #3eb4b5;
    color: #ffffff;
}

.et_header_style_centered .mobile_nav .select_page {
    color: #ffffff!important;
}