#cookies-configuration-link{
    cursor: pointer;
}
.cookies-action-wrapper {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    /* margin-top: 1rem; */
    gap: 1rem;
    flex-shrink: 0;
}
.cookies_popup p {
    text-align: left;
    color: black;
}
.page-link{
    color: black;
}
.cookies_popup li {
    font-size: 1rem;
}
.cookies-container {
    flex-direction: column;
    color: black;
}
.cookies-modal {
    position: relative;
    z-index: 999999999999;
    background-color: #fff;
    padding: 32px;
    width: 100%;
    height: auto;
    max-width: 700px;
    box-shadow: 1px 2px 10px 3px rgba(0, 0, 0, 0.2);
    text-align: left;
}
.cookies-modal > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookies-modal > div h1{
    margin: 0; 
    font-size: 1.3rem
}
.cookies-modal .popup-title{
    color: black;
}
#cookies-modal-close-button{
    background-color: transparent;
    border: none;
    width: auto;
    cursor: pointer;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
#cookies-modal-configuration-list{
    margin-top: 30px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    color: black;
    height: 80%;
}
  
.cookies-modal-list-item {
    width: 100%;
    position: relative;
    column-gap: 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}
.cookies-modal-list-item:last-of-type {
    border-bottom: 0;
}
.cookies-toggle-heading {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: black;
}
.cookies-modal-list-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cookies-toggle-checkbox {
    display: none;
}
.cookies-toggle-label {
    flex-shrink: 0;
    width: 60px;
    height: 34px;
    background-color: #ccc;
    border-radius: 34px;
    display: block;
    cursor: pointer;
    position: relative;
    transition: background-color 0.4s;
    margin: 0 auto;
}
.cookies-toggle-checkbox:disabled ~ .cookies-toggle-label {
    cursor: not-allowed;
}
.cookies-toggle-checkbox:checked ~ .cookies-toggle-label {
    background-color: #ca0b0f;
}
.cookies-toggle-label::before {
    border-radius: 50%;
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: transform 0.4s;
}
.cookies-toggle-checkbox:checked ~ .cookies-toggle-label::before {
    transform: translateX(26px);
}
.cookies-toggle-text {
    display: block;
    color: black;
}

.cookies-modal > button{
    margin: 25px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #ca0b0f;
    border-radius: 24px;
    border: none;
    color: #fff;
    cursor: pointer;
}
  
.cookies-banner-close {
    transition: transform 500ms ease-in-out;
    transform: translateY(100%);
}
.cookies-configuration-modal {
    transition: opacity 500ms ease-in-out;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    opacity: 1;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: 9999999999;
}
.cookies-modal-animate-open {
    transition: opacity 500ms ease-in-out;
    opacity: 1;
}
.cookies-modal-animate-close {
    transition: opacity 500ms ease-in-out;
    opacity: 0;
}
#cookies-consent-banner{
    display: none;
    padding: 1rem 2rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-box-shadow: 1px 2px 10px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 2px 10px 3px rgba(0, 0, 0, 0.2);
    background-color: rgb(255, 255, 255);
    box-sizing: border-box;
    z-index: 999999999;
}
.cookies-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}
.cookies_popup button {
    border-radius: 20px;
}
  
#cookies-configuration-button{
    box-sizing: border-box;
    cursor: pointer;
    color: black;
    background-color: #fff;
    border: 2px solid black;
    padding: 12px 32px;
    min-width: 165px;
    cursor: pointer;
}
  
#cookies-decline-button{
    box-sizing: border-box;
    cursor: pointer;
    color: #ca0b0f;
    background-color: #fff;
    border: 2px solid #ca0b0f;
    padding: 12px 32px;
    min-width: 165px;
}
  
#cookies-accept-button{
    box-sizing: border-box;
    cursor: pointer;
    color: #fff; /* Text-color */
    background-color: #ca0b0f;
    padding: 12px 32px;
    min-width: 165px;
    border: 1px solid white;
}  

@media (min-width: 1024px) {
    .cookies-action-wrapper {
      flex-direction: row;
      align-items: center;
    }
    .cookies-container {
      align-items: center;
      flex-direction: row;
    }
}
@media (min-width: 640px) {
    .cookies_popup .cookies-modal {
      width: 70%;
    }
    .popup-title{
        font-size: 1.3rem;
    }
}
@media (min-width: 420px) {
    .cookies_popup .cookies-modal {
      width: 100%;
    }
}
@media (max-width: 470px) {
    .cookies_popup li {
      font-size: 90%;
    }
}