.consent-banner-button {
    text-decoration: none;
    background: none;
    border: 1px solid #000;
    text-wrap: nowrap;
    white-space: nowrap;
    border-color: #003d7d;
    background-color: #003d7d;
    background-color: transparent;
    border-width: 2px;
    padding: 8px 27px;
    border-radius: 3px;
}

#consent-banner-main {
    position: relative;
    z-index: 2147483647;
}

#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;
    flex-direction: column;
    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: right;
    display: flex;
    align-items: flex-end;
}

#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 {
    background-color: #4e90bf;
    border-color: #4e90bf
}

#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"] {
    color: #fff !important;
    border-color: #003d7d;
    background-color: #003d7d;
}

#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:768px) {
    #consent-banner-settings>div>form div:nth-child(2) {
        max-height: none;
    }
    #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;
    }
}