#ac_section_presentation #ac-button-choose {
    display: inline-flex;
    width: 28%;
    text-align: center;
    text-shadow: none;
}

.ac-mdl-dialog .button_custom,
#ac_section_presentation #ac-button-choose .button_custom {
    padding: 0px 12px !important;
    text-align: center !important;
    text-decoration: none;
    display: inline-block !important;
    font-size: 13px !important;
    margin: 4px 2px !important;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    background-image: none;
    line-height: 16px !important;
    height: 35px;
    font-weight:800px;
}

#ac_section_presentation {
    display: none !important;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


#ac_section_presentation.show {
    display: flex !important;
}



#ac_texte_bandeau {
    width: 70%;
    padding-left: 3%;
}

#ac_texte_bandeau p {
    font-weight: 300;
    margin: 0.5em !important;
    font-size: 12px;
    text-align: left;
}

#ac_texte_bandeau a {
    font-size: 14px;
}



/* Modal */

#ac-fond{
    display:none;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    background-color: black;
    opacity: 0.8;
    top: 0px;
    z-index: 99998;
    bottom: 0px;
}

.ac-mdl-dialog {
    border: none;
    box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2);
    width: 50%;
    padding: 0;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999999;
    display:none;
    background-color: white;
    max-height: 85vh;
    overflow: scroll;
    overflow-x: hidden;
}

@media screen and (max-width: 500px) {
    .ac-mdl-dialog {
        top: 2%;
    }
}

.ac-mdl-dialog__content header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2%;
    padding-top:10px;
}

.ac-mdl-dialog__content header {
    text-transform: uppercase;
}

.ac-mdl-dialog__content header button {
    outline: none;
    border: none !important;
    cursor: pointer;
    margin-right: 10px;
    font-size: 20px;
}

.ac-mdl-dialog__content header button:hover {
    color: white;
}

.ac-mdl-dialog .ac-mdl-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px 0px 10px;
    margin-top: 20px;
}

.ac-switch {
    margin-top: 20px;
}

#ac-modal #ac-content-modal {
    padding: 15px 20px;
}

.ac-mdl-dialog p {
    font-size: 15px;
    margin-bottom: auto;
    margin-top: 10px;
}

.ac-mdl-dialog footer {
    width: 98%;
    text-align: right;
    font-size: 1rem;
    padding-bottom: 5px;
    padding-right: 10px;
}

#ac-content-tab {
    border-bottom: solid 1px black;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}

#ac-content-tab p {
    width: 20%;
    padding: 5px;
    padding-bottom: 4px;
    margin: auto;
    text-align: center;
}

.ac_list_information h6 {
    margin: auto;
    font-size: 1.1rem;
}

#ac-content-tab p:hover {
    cursor: pointer;
    color: white !important;
    background-color: #737e87 !important;
}

.ac-switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.ac-switch label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.ac-switch label:after {
    content: '';
    position: absolute;
    left: 0px;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.ac-switch input:checked+label {
    background: #3eb060;
}

.ac-switch input:checked+label:after {
    left: calc(100% + 1px);
    transform: translateX(-100%);
}

.ac-switch label:active:after {
    width: 130px;
}

.type-cookies div:last-child {
    display: none;
    margin-bottom: 5px;
    opacity: 0;
    animation: opacity 0.5s ease forwards;
    max-height: 0%;
}

.type-cookies div a {
    font-size: 13px;
    text-decoration: underline;
}


.type-cookies {
    border-bottom: 1px solid #eef1f3 !important;
    font-size: 16px;
    margin-bottom: 5px;
}

.type-cookies .title_cookies {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}


.type-cookies .title_cookies p:last-child {
    color: black;
}


@keyframes opacity {
    from {
        opacity: 0;
        max-height: 0%;
    }

    to {
        opacity: 1;
        max-height: 100%;
    }
}

/* Bouton Cookie */

#ac_button_cookie {
    display: none;
    bottom: 1%;
    margin: 10px;
}

#ac_button_cookie button {
    border-radius: 30px;
    line-height: 0px;
    width: 100px;
    font-size: 0.9rem;
    padding: 15px 0px 15px 0px;
    border: solid 1px;
    cursor: pointer;
}



#ac-modal,
#ac_section_presentation{
    font-size: 14px;
    z-index: 99999;
}

@media screen and (min-width: 1000px) and (max-width: 1300px) {
    .ac-mdl-dialog {
        width: 80%;
    }
    #ac_section_presentation #ac-button-choose {
        width: 36%;
        justify-content: flex-end;
    }
    #ac_texte_bandeau {
        width: 63%;
    }
}

@media screen and (max-width: 999px) {
    .ac-mdl-dialog {
        width: 90%;
    }
    #ac_section_presentation {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    #ac_texte_bandeau {
        width: 95%;
        padding-left: 0%;
    }
    #ac_section_presentation #ac-button-choose {
        width: 95%;
    }
    #ac-content-tab p {
        width: 32%;
    }
}

@media screen and (max-width: 500px) {
    .ac-mdl-dialog .button_custom, #ac_section_presentation #ac-button-choose .button_custom {
        padding: 0px 5px !important;
        font-size: 12px !important;
    }
    #ac-content-tab p {
        width: 50%;
    }
}