/* Banner */
#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper {
    background: rgba(0, 0, 0, .7);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 40px;
    max-width: 80%;
    max-height: 80%;
    width: 750px;
    font-size: 15px;
    text-align: left;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 20px;
}

@media only screen and (max-width: 600px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box {
        min-width: auto;
        max-width: 95%;
        width: 95%;
        max-height: 77%;
        height: 77%;
        transform: translateX(-50%);
        bottom: 1.25%;
        top: auto;
        padding: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-box-header {
    line-height: 1;
    margin-bottom: 20px;
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content {
    display: block;
}

@media only screen and (max-width: 600px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content * {
        width: 100%;
    }
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-description {
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    hyphens: auto;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

@media only screen and (max-width: 600px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-description {
        flex: 1 1 auto;
        overflow-y: auto;
        height: 0;
    }
}

#SgCookieOptin .sg-cookie-optin-banner .sg-cookie-optin-banner-content .sg-cookie-optin-banner-description a:hover {
    color: #000;
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-button {
    justify-content: space-between;
    margin: 40px 0 0 0;
    flex-wrap: wrap;
    gap: 10px;
}

@media only screen and (max-width: 600px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-button {
        justify-content: space-evenly;
        margin: 20px 0 0 0;
    }
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-button button[class*="sg-cookie-optin-banner-button"] {
    border-radius: 4px;
    font-size: 14px;
    padding: 17px 50px;
    min-width: 200px;
    text-align: center;
    margin: 0;
    flex-grow: 1;
}

@media only screen and (max-width: 889px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-button {
        flex-direction: column-reverse;
    }
}

/* Config */
#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-banner-content button:not(.sg-cookie-optin-banner-button-accept) {
    background-color: #ebedef;
    color: #000000;
}

#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-banner-content button:not(.sg-cookie-optin-banner-button-accept):hover {
    background-color: #d1d1d1;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 50px;
    margin: 0;
    max-width: 80%;
    width: 500px;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 20px;
}

@media only screen and (max-width: 600px) {
    #SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered {
        max-width: 95%;
        padding: 25px;
    }
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-header {
    font-size: 18px;
    font-weight: 600;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-button {
    margin-top: 10px;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-button [class*="sg-cookie-optin-box-button-accept"] {
    border-radius: 4px;
    font-size: 14px;
    padding: 17px 50px;
    margin: 0 20px 0 0;
    min-width: 200px;
    text-align: center;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-description {
    line-height: 1.6;
    font-size: 18px;
}

#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-detail-list .sg-cookie-optin-box-cookie-detail-header {
    font-size: 14px;
    font-weight: 600;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-cookie-detail-list .sg-cookie-optin-box-cookie-detail-list-item {
    border-radius: 4px;
    padding: 20px;
}

#SgCookieOptin .sg-cookie-optin-box.sg-cookie-optin-box-centered .sg-cookie-optin-box-cookie-detail-sublist {
    font-size: 12px;
}

#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-open-more {
    padding: 20px 0 20px 0 !important;
}

#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-detail-sublist table th,
#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-detail-sublist table td {
    border-color: rgba(235, 237, 239, .6);
}

#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-detail-sublist table td {
    word-break: break-word;
}

@media (max-width: 420px) {
    #SgCookieOptin.sg-cookie-optin-banner-wrapper.sg-cookie-optin-banner-wrapper .sg-cookie-optin-banner.sg-cookie-optin-banner-centered .sg-cookie-optin-box .sg-cookie-optin-banner-content .sg-cookie-optin-banner-button button[class*="sg-cookie-optin-banner-button"] {
        width: 100%;
        margin-right: 0;
    }
}

/* Footer */
#SgCookieOptin.sg-cookie-optin-banner-wrapper .sg-cookie-optin-box-footer {
    margin-top: 20px;
    text-align: right;
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper .sg-cookie-optin-box-footer .sg-cookie-optin-box-footer-links .sg-cookie-optin-box-footer-link {
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #4d4d4d;
}

#SgCookieOptin.sg-cookie-optin-banner-wrapper .sg-cookie-optin-box-footer .sg-cookie-optin-box-footer-links .sg-cookie-optin-box-footer-link:hover,
#SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-footer .sg-cookie-optin-box-footer-links .sg-cookie-optin-box-footer-link:hover {
    color: #000;
}