#ms-cookie-consent [hidden] {
    display: none !important;
}

.ms-cookie-banner,
.ms-cookie-dialog {
    box-sizing: border-box;
    color: #252525;
    font: 15px/1.5 Arial, sans-serif;
}

.ms-cookie-banner {
    align-items: center;
    background: #fff;
    border-top: 3px solid #9b7a3c;
    bottom: 0;
    box-shadow: 0 -3px 18px rgba(0, 0, 0, .2);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 18px max(20px, calc((100vw - 960px) / 2));
    position: fixed;
    right: 0;
    z-index: 2147483000;
}

.ms-cookie-copy {
    max-width: 720px;
}

.ms-cookie-copy strong {
    font-size: 18px;
}

.ms-cookie-copy p,
.ms-cookie-category p,
.ms-cookie-dialog > p {
    margin: 4px 0 0;
}

.ms-cookie-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ms-cookie-actions button,
.ms-cookie-embed-placeholder button {
    background: #fff;
    border: 1px solid #8a713f;
    border-radius: 3px;
    color: #3b3020;
    cursor: pointer;
    font: inherit;
    padding: 9px 12px;
}

.ms-cookie-actions button:first-child {
    background: #8a713f;
    color: #fff;
}

.ms-cookie-actions button:hover,
.ms-cookie-embed-placeholder button:hover {
    filter: brightness(.94);
}

.ms-cookie-dialog-backdrop {
    align-items: center;
    background: rgba(0, 0, 0, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 2147483001;
}

.ms-cookie-dialog {
    background: #fff;
    border-top: 4px solid #9b7a3c;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .28);
    max-height: calc(100vh - 36px);
    max-width: 620px;
    overflow: auto;
    padding: 24px;
    width: 100%;
}

.ms-cookie-dialog h2 {
    font-size: 22px;
    margin: 0;
}

.ms-cookie-category {
    align-items: center;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 0;
}

.ms-cookie-category input {
    accent-color: #8a713f;
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}

.ms-cookie-dialog .ms-cookie-actions {
    justify-content: flex-end;
    margin-top: 18px;
}

.ms-cookie-error {
    color: #a00;
    margin: 12px 0 0;
}

.ms-cookie-settings-button {
    background: #8a713f;
    border: 0;
    border-radius: 3px 3px 0 0;
    bottom: 0;
    color: #fff;
    cursor: pointer;
    font: 14px Arial, sans-serif;
    padding: 10px 14px;
    position: fixed;
    right: 18px;
    z-index: 2147482999;
}

@media (max-width: 700px) {
    .ms-cookie-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        max-height: 75vh;
        overflow: auto;
        padding: 16px;
    }

    .ms-cookie-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ms-cookie-actions button {
        width: 100%;
    }
}
