body {
    padding: 0;
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: #464855;
}

a, a.spip_mail {
    text-decoration: none;
    color: #ec430f;
}

a:hover, a:focus, a:active {
    color: #044cd0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

#header {
    background-color: #919191;
    height: 98px;
    position: fixed;
    width: 100%;
    z-index: 50;
}

#header_menu {
    display: flex;
    flex-wrap: wrap;
    margin: 7px 0;
    padding: 0;
}

#header_menu li {
    list-style: none;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0;
}

#header_menu a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

#header_menu a:visited {
    color: #fff;
}

#header_nav {
    display: flex;
    height: 88px;
    align-items: flex-end;
    justify-content: center;
}

#header_nav img {
    display: block;
}

#header_socialnetworks {
    margin: 8px 0;
    flex-shrink: 0;
}

#header_socialnetworks a {
    display: inline-block;
    color: #d7dadd;
    border-color: #eff1f4;
    border-style: solid;
    border-width: 1px;
    padding: 8px 12px;
    white-space: pre-line;
    margin: 0 5px;
    vertical-align: middle;
    transition: all .15s ease-in-out;
}

#header_socialnetworks a:hover {
    color: #010101;
    background-color: #eff1f4;
    border-color: #eff1f4;
}

#header_nav_details {
    display: none;
}



#footer {
    background: #171717;
    color: #fff;
    font-size: 0.9rem;
    height: 82px;
}

#footer_links a {
    color: #fff;
}

#footer_links a:visited {
    color: #fff;
}

#footer_links a:hover {
    color: #a2a2a2;
}

#footer_nav {
    display: flex;
    height: 82px;
    margin: auto;
    max-width: 1100px;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
    justify-content: space-between;
}

#footer_socialnetworks {
    display: flex;
}

#footer_socialnetworks li {
    list-style: none;
    margin: 0 7px;
}

#footer_socialnetworks a {
    color: #a2a2a2;
    transition: color 400ms, background-color 400ms;
}

#footer_socialnetworks a:visited {
    color: #a2a2a2;
}

#footer_socialnetworks a:hover {
    color: #fff;
}

#main {
    padding-top: 98px;
    padding-left: 10px;
    padding-right: 10px;
    min-height: calc(100vh - 98px - 82px);
    margin: auto;
    max-width: 1100px;
    position: relative;
}

@media screen and (max-width: 799px) {
    
    #header {
        position: relative;
        height: auto;
        min-height: 98px;
    }
    
    #header_nav {
        height: auto;
        min-height: 88px;
        justify-content: space-between;
        padding-right: 80px;
    }
    
    #header_nav_details {
        display: block;
    }
    
    #header_nav_details summary {
        height: 45px;
        width: 50px;
        display: block;
        position: absolute;
        top: 20px;
        right: 10px;
        box-sizing: border-box;
        border-color: #eff1f4;
        border-style: solid;
        border-width: 1px;
        padding-left: 4px;
        padding-top: 1px;
    }
    
    #header_nav_details summary {
        list-style: none;
    }
    
    #header_nav_details summary::-webkit-details-marker {
        display: none;
    }
    
    #header_nav_details summary span {
        display: block;
        margin-top: 8px;
        width: 40px;
        height: 3px;
        background-color: #fff;
    }
    
    #header_nav_details nav {
        padding-bottom: 15px;
    }
    
    #header_nav_details li {
        list-style: none;
        padding: 10px 15px;
        margin: 0;
        text-align: center;
    }

    #header_nav_details a {
        color: #fff;
        text-transform: uppercase;
        font-weight: 600;
    }
    
    #header_menu {
		display: none;
	}
	
	#main {
        padding-top: 1px;
    }
}

@media screen and (max-width: 647px) {
    
    #footer {
        height: auto;
    }


    #footer_nav {
        height: auto;
        flex-direction: column;
        padding-top: 10px;
    }
    
    #footer_nav > * {
        margin-top: 10px;
        margin-bottom: 10px;
    }

}
