.cookie-banner {
    position: fixed;
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    color: #000;
    padding: 30px;
    text-align: left;
    z-index: 999999999;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #000;
}

.cookie-banner.top-right {
  top: 100px;
  right: 50px;
}

.cookie-banner.top-left {
  top: 100px;
  left: 50px;
}

.cookie-banner.bottom-right {
  bottom: 50px;
  right: 50px;
}

.cookie-banner.bottom-left {
  bottom: 50px;
  left: 50px;
}

/* make cookie_banner responsive */
@media (max-width: 768px) {
    .cookie-banner {
      padding: 20px;
      left: 50% !important;
      transform: translateX(-50%);
      max-width: 80%;
    }
}

.cookie-message {
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    padding: 20px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;

    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    transition: background-color 0.5s ease-out;
}

.cookie-banner:not([class*="banner-style-"]) .cookie-buttons button:hover {
    /*padding: 20px;*/
    background: #f1f1f1 !important;
    border: 1px solid #0033;
    color: #000;
}

#allow-necessary-cookies {
    background-color: #fff;
    color: #000;
    margin: 0;
}
.cookie-banner:not([class*="banner-style-"]) #allow-necessary-cookies:hover {
    color: #000;
}

.cookie-info-section {
    margin-top: 15px;
    text-align: center;
}

.cookie-info-link {
    color: #000 !important;
    text-decoration: underline !important;
    font-size: 14px;
    display: inline-block;
    
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.cookie-info-link:hover {
    color: #333 !important;
    text-decoration: underline !important;
}

li.allow {
    background: rgba(75, 192, 192, 0.7) !important;
}
li.necessary {
    background: rgba(255, 99, 132, 0.7) !important;
}

/************************************** COOKIES TABLE **************************************/

/* Table Responsive */
#cookies-table {
  float: left;
  width: 100%;
}

#cookies-table caption {
  text-align: left;
  padding-bottom: 15px;
  text-transform: uppercase;
}

#cookies-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

#cookies-table tr:nth-of-type(odd) {
  background: #f1f1f1;
}

#cookies-table tr {
  border-bottom: 1px solid var(--txt);
}

#cookies-table th {
  background: #333;
  border-bottom: 3px solid var(--txt);
  color: #fff;
  font-weight: 500;
}

#cookies-table td, #cookies-table th {
  padding: 25px;
  text-align: left;
}

@media all and (max-width: 767px) {
  #cookies-table table, #cookies-table thead, #cookies-table tbody, #cookies-table th, #cookies-table td, #cookies-table tr {
    display: block;
  }
  #cookies-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #cookies-table td {
    position: relative;
    padding-left: 50%;
  }
  #cookies-table td:before {
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }
  #cookies-table td:nth-of-type(1):before {
    content: 'Cookie name';
  }
  #cookies-table td:nth-of-type(2):before {
    content: 'Duration';
  }
  #cookies-table td:nth-of-type(3):before {
    content: 'Category';
  }
  #cookies-table td:nth-of-type(4):before {
    content: 'Description';
  }
}
