/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/**main header menu items reodering by flex model**/

@media only screen and (min-width: 980px) {
        ul#top-menu {
            display: flex;
            flex-direction: row;
        }
        ul#top-menu li:nth-of-type(3) {
            order: 1;
        } 
        ul#top-menu li.centered-inline-logo-wrap {
            top: 85px;
        }
        ul#top-menu li:nth-last-child(-n+3) {
            display: none;
        }
        #top-menu-nav {
            margin-left: 30px;
        }
}

/**Top menu links underlined on hover and when are active**/
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}

#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 70%;
 background: #FFFFFF; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}

#top-menu li.centered-inline-logo-wrap div.logo_container a:before {
    height: 0px; 
}

#top-menu li a:hover {
 opacity: 1 !important;
}

#top-menu li a:hover:before {
 right: 0;
}

#top-menu li li a:before {
 bottom: 10%;
}

#top-menu li.current-menu-item>a {
	color: #ffffff;
}


/**Page Jobs "here" email styling**/
#et-boc > div > div > div > 
div.et_pb_column.et_pb_column_1_2.et_pb_column_1.et_pb_css_mix_blend_mode_passthrough > {
    color: #000000;
    text-decoration: underline;
}

/**Press page slider arrows customizer**/

.owl-nav.arrow_size_large .owl-prev {
    left: -100px!important;
}
.owl-nav.arrow_size_large .owl-next {
    right: -100px!important;
}

/**Main top menu not fixed**/
.et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: absolute;
}

/**Footer restyling**/
#main-footer {
    background-color: #000000;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99999999;
}

#footer-bottom {
    padding: unset!important;
}

#footer-bottom p {
    margin-top: 1em!important;
}

#footer-bottom .et_pb_social_media_follow li {
    margin-top: 8px;
}

/**toggle footer links menu**/
.et_pb_toggle_open .et_pb_toggle_title:before {
   content: "\42";
}
.et_pb_toggle_close .et_pb_toggle_title:before {
    content: '\42';
}
.et_pb_toggle_title:before, 
.et_pb_toggle{
    right: auto;
    left: 0;
}
/**toggle above**/
.et_pb_toggle {
    position: relative;
    display: block;
    background-color: #f1f1f1;
}
.et_pb_toggle_content {
    position: fixed;
    padding: 40px;
    bottom: 50px;
    background-color: #000000;
}
/**toggle **/
.et_pb_toggle .et_pb_toggle_title {
  padding: 0 0px 0 0;
}
.et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_title:before {
    right: auto;
    left: 0;
}
.et_pb_column_1_3 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4, .et_pb_column_2_5 h4 {
    font-size: 13px;
    letter-spacing: 2px;
    color: #fff;
    font-family: 'Linux Libertine Simple',Helvetica,Arial,Lucida,sans-serif;
}
.et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2 {
    color: #fff;
}
.et_pb_column_1_3 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3, .et_pb_column_2_5 h3 {
    color: #fff;
}

/**mobile menu**/
.ds_mobile_side_dark .et_mobile_menu li a {
    color: #ffffff!important;
    font-size: 20px!important;
    text-transform: uppercase!important;
    letter-spacing: 3px!important;
    text-align: center!important;
    text-decoration: none;
}

.ot-dtp-picker {
    width: inherit!important;
}