/* GENERAL
---------------------------------------- */
::selection {
    color: #fff;
}

/* changer surlignage Mozilla Firefox */
::-moz-selection {
    color: #fff;
    background: #0d7f8e;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    margin: 15px 0;
    color: #2f2f2f;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.1;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    font-weight: 300;
}

h1,
.h1 {
    font-size: 29px;
    text-transform: uppercase;
}

h2,
.h2 {
    font-size: 27px;
}

h3,
.h3 {
    font-size: 24px;
}

h4,
.h4 {
    font-size: 20px;
    font-weight: 300;
}

a {
    color: #054953;
}

a:hover {
    color: #0b7280;
}

/* =======================
   SLIDER
========================== */
video {
    object-fit: cover;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 650px;
}

.fond-slider {
    background-color: #ffffff;
    display: flex;
    justify-content: center;

    /* clip-path: polygon(0% 0%, 100% 0, 100% 85%, 50% 100%, 0 85%) */
}

@media (max-width:991px) {
    .fond-slider {
        position: relative;
        background-position: right bottom;
        background-size: cover;
        background-attachment: scroll;
    }
}

.slider {
    height: 650px;
}

@media (max-width:991px) {
    .slider {
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
        height: 480px;
        background-image: url('../images/Expert-d-assur%C3%A9-batiment.jpg');
    }
}

/* ==========================
   TOP TELEPHONE / DEVIS
============================= */
.top-menu {
    padding: 0;
    display: flex;
    position: fixed;
    right: 0;
    top: 250px;
    z-index: 999;
}

@media (max-width:991px) {
    .top-menu {
        padding: 0;
        position: fixed;
        top: 0;
        width: 100%;
    }
}

.top-menu ul {
    display: flex;
    color: #5c9152;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
    flex-direction: column;
}

@media (max-width:991px) {
    .top-menu ul {
        display: flex;
        margin: 0;
        padding: 0;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}

.top-menu ul li {
    padding: 10px 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width:991px) {
    .top-menu ul li {
        text-align: center;
        margin: 0;
        border: none;
        padding: 12px;
    }
}

.top-menu a {
    text-align: center;
    width: 100%;
    margin-top: 5px;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.19);
}

.color-tel {
    background-color: #0d7f8e;
    color: #ffffff;
}

.color-devis {
    background-color: #054953;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
}

@media (max-width:991px) {
    .top-menu a {
        margin-top: 0;
        box-shadow: none;
    }
}

.color-devis:hover {
    color: #ffffff;
    background-color: #075763;
    text-decoration: none;
}

.color-tel:hover {
    color: #fff;
    background-color: #0f8d9d;
    text-decoration: none;
}

