.hover-opacity {
    opacity: 1;
    cursor: pointer;

    -o-transition:opacity 0.3s ease-in;
    -ms-transition:opacity 0.3s ease-in;
    -moz-transition:opacity 0.3s ease-in;
    -webkit-transition:opacity 0.3s ease-in;
    transition:opacity 0.3s ease-in;
}

.hover-opacity:hover {
    opacity: 0.5;
}

li {

    transition:margin 0.3s ease-in, padding 0.3s ease-in;
}

.list_realisations li:hover,
.list_realisations li.active {
    color: #393F80;
    font-weight: bold;

    border-bottom: 1px solid #393F80;
    padding: 0 0 2% 0;
    margin: 7% 0!important;
    font-size: 22px!important;
}

.list_realisations {
    list-style-type: none;
    padding: 0;
    cursor: pointer;
    font-size: 18px;
}

.list_realisations li {
    margin: 3% 0;
}

.list_realisations li a {
    text-decoration: none;
}


/* test */

/* The Modal (background) */
.modal-avan {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-avan-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 60%;
}

/* Caption of Modal Image */
#caption-avan {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-avan-content, #caption-avan {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-avan-content {
        width: 100%;
    }
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white!important;
    background-color: #DA0000;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.container_realisation img {
    -o-transition:filter 0.3s ease-in;
    -ms-transition:filter 0.3s ease-in;
    -moz-transition:filter 0.3s ease-in;
    -webkit-transition:filter 0.3s ease-in;
    transition:filter 0.3s ease-in;
}

.container_realisation img:hover {
    filter: brightness(0.5);
    cursor: pointer;
}

.container_realisation img:hover ~ .text-equip {
    display: block;
}

.container_realisation .text-equip:hover + img {
    filter: brightness(0.5);
    cursor: pointer;
}

.container_realisation .text-equip:hover {
    display: block;
}

.control-realisations {
    width: 2%;
    height: 11%;
    background: #393F80;
    margin: auto;
}

#contact {
    background-color: #E9EAEA;
}

.btn-header {
    background: #000000;
    color: #ffffff!important;
    padding: 10px!important;
    text-transform: uppercase;
    -o-transition:background 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;
    -ms-transition:background 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;
    -moz-transition:background 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;
    -webkit-transition:background 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;
    transition:background 0.3s ease-in, color 0.3s ease-in, box-shadow 0.3s ease-in;

}

.btn-header:hover {
    background: #ffffff;
    color: #000000!important;
    box-shadow: 0 0 4px 0 #000000;
}
@media only screen and (max-width : 481px) {
    .border-mobile {
        border-bottom: 1px solid #dee2e6 !important;
    }
}

.nav-hover {
    -o-transition:background 0.2s ease-in, color 0.2s ease-in;
    -ms-transition:background 0.2s ease-in, color 0.2s ease-in;
    -moz-transition:background 0.2s ease-in, color 0.2s ease-in;
    -webkit-transition:background 0.2s ease-in, color 0.2s ease-in;
    transition:background 0.2s ease-in, color 0.2s ease-in;
}

i {
    -o-transition:background 0.2s ease-in, color 0.2s ease-in;
    -ms-transition:background 0.2s ease-in, color 0.2s ease-in;
    -moz-transition:background 0.2s ease-in, color 0.2s ease-in;
    -webkit-transition:background 0.2s ease-in, color 0.2s ease-in;
    transition:background 0.2s ease-in, color 0.2s ease-in;
}

.nav-hover:hover {
    color: #ffffff !important;
    background-color: #DA0000 !important;
}

.nav-hover:hover i {
    color: #ffffff !important;
}

.text-equip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    color: #FFFFFF;
    text-align: center;
    width: max-content;
}