.consent-banner-button {
    text-decoration: none;
    background: none;
    border: 1px solid #000;
    text-wrap: nowrap;
    white-space: nowrap;
    color: rgb(232, 66, 59);
    border-color: rgb(232, 66, 59);
    background-color: transparent;
    border-width: 2px;
    padding: 6px 27px;
    border-radius: 0px;
    font-size: 18.89px;
    font-weight: 700;
    line-height: 1.44;
}

#consent-banner-main {
    position: relative;
    z-index: 2147483647;
    font-family: 'Maison Neue Extended';
    font-size: 15px;
}

#consent-banner-modal {
    background: #fff;
    padding: 25px 10px 30px !important;
    box-shadow: rgba(0, 0, 0, 0.4) 0 0 20px;
}

#consent-banner-modal .consent-banner-modal-wrapper {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    padding: 0 10px;
}

#consent-banner-settings h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid #ededed;
}

#consent-banner-modal .consent-banner-modal-wrapper p {
    margin-bottom: 0;
}

#consent-banner-modal .consent-banner-modal-buttons {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: flex-end;
}

#consent-banner-modal .consent-banner-modal-buttons [href="#settings"] {
    margin-left: 10px;
}

#consent-banner-settings .consent-banner-settings-buttons {
    margin-top: 15px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    grid-gap: 5px;
}

#consent-banner-modal .consent-banner-modal-buttons .consent-banner-button {
    margin-left: 10px;
}

#consent-banner-settings .consent-banner-settings-buttons [href="#close"] {
    margin-left: 10px;
}

#consent-banner-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.4) 0 0 20px;
    padding: 20px 30px 15px;
    overflow-x: hidden;
    min-width: 500px;
    max-height: none;
}

#consent-banner-settings ul {
    list-style: none;
    padding-left: 0;
}

#consent-banner-settings ul label {
    font-weight: bold;
    font-size: 1.1em;
    margin-left: 5px;
}

#consent-banner-settings ul li {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    margin-bottom: 15px;
}

#consent-banner-settings ul p {
    margin-left: 25px;
}

.consent-banner-button:hover {
    color: rgb(130, 38, 31);
    border-color: rgb(130, 38, 31);
}

#consent-banner-settings .consent-banner-settings-buttons .consent-banner-button {
    flex: 1;
}

#consent-banner-main h2 {
    font-size: 18px;
    font-weight: bold;
}

#consent-banner-settings,
#consent-banner-modal {
    border-radius: 6px;
}

.consent-banner-button[href="#accept"] {
        font-weight: 700;
        font-size: 18.89px;
        font-family: Maison Neue Extended, Helvetica, sans-serif;
        background: #e8423b !important;
        color: #fff;
        padding: 7px 27px;
        display: inline-block;
        border: 0;
        border-bottom: 2px solid #82261f !important;
        text-decoration: none;
        border-radius: 0px;
        line-height: 1.44;
}

.consent-banner-button[href="#accept"]:hover { 
    border-color: #561914 !important;
    background: #bc362f !important;
}

#consent-banner-modal .consent-banner-modal-wrapper h2 {
    display: block !important;
}

#consent-banner-settings>div>form div:nth-child(2) {
    max-height: 65vh;
    overflow-x: hidden;
}

@media (max-width:576px) {
    #consent-banner-settings>div>form div:nth-child(2) {
        max-height: none;
    }

    #consent-banner-main:not([data-mode="bar"]) #consent-banner-modal {
        width: auto;
        left: 5% !important;
        right: 5% !important;
        min-width: auto;
        transform: translate(0, -50%) !important;
    }

    #consent-banner-settings {
        width: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        max-height: 100%;
        min-width: auto;
    }

    #consent-banner-settings .consent-banner-settings-buttons {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        background-color: #fff;
        padding-top: 16px;
        padding-bottom: 30px;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center;
        display: block;
    }

    #consent-banner-settings .consent-banner-settings-buttons .button {
        width: 25%;
    }

    #consent-banner-modal .consent-banner-modal-buttons {
        margin: 0 !important;
    }

    #consent-banner-settings .consent-banner-settings-buttons .consent-banner-button {
        margin: 0;
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }

    #consent-banner-settings ul {
        padding-bottom: 100px;
    }
}

@media (max-width:768px) {
    #consent-banner-modal .consent-banner-modal-wrapper p {
        margin-bottom: 10px;
    }

    #consent-banner-modal .consent-banner-modal-buttons {
        display: block;
    }

    #consent-banner-modal .consent-banner-modal-wrapper {
        display: block;
    }

    #consent-banner-modal .consent-banner-modal-buttons .consent-banner-button {
        margin: 0;
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
}