/*
Theme Name: Internet Diffusion
Description: Thème enfant pour Divi
Version: 1.0.1
Author: Le nom de l'auteur
Template: Divi
*/

@import url("../Divi/style.css");


/* HEADER */

body:not(.home) #main-header {
    box-shadow: none;
    position: relative;
}

body:not(.home) #main-header:before {
    background-color: rgba( 0, 0, 0, 0.6 );
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: "";
}

body:not(.home) #main-header .et_menu_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

body:not(.home) #main-header #et-top-navigation {
    max-width: 80%;
    margin: 0 auto;
}

body:not(.home) #top-menu li:not(.current-menu-item) a {
    color: #ffffff;
}

#main-header .image-header {
    height: 400px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.home #main-header {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    background-color: transparent;
}

.admin-bar.home #main-header {
    top: 32px;
}

.home #top-menu a {
    color: #fff;
}

.et_header_style_split .mobile_nav .select_page {
    display: none;
}

.entry-content .entry-title {
    font-size: 30px;
}

.widget-title {
    font-size: 18px;
}

h4 {
	font-size: 16px;
	margin: 0;
	font-weight: 700;
}

h3 {
	font-size: 16px;
	font-weight: 700;
}

@media (max-width: 980px) {
    .home.et_header_style_split #main-header .mobile_nav {
        background-color: rgb(196 196 196 / 26%);
    }

    .et_header_style_split #main-header .mobile_nav {
        padding: 0;
        border-radius: 0;
    }

    .et_header_style_split #et_mobile_nav_menu  {
        margin: 0;
    }

    .et_header_style_split #et-top-navigation {
        position: absolute;
        top: 12px;
        right: 0;
    }

    body:not(.home) #main-header .et_menu_container {
        position: absolute;
        top: 20px;
        left: 10%;
        width: 80%;
    }

    body:not(.home) #main-header #et-top-navigation {
        max-width: 100%;
    }

    body:not(.home).et_header_style_split #main-header {
        padding: 0;
    }
}