/*
* Contents Cookie css
*
* 1. Cookie banner
* 2. Shortcode cookie table
* 3. Media querys
*
*/

/*-----------------------  Cookie banner ------------------------*/

.cookie-banner {
  max-width: 400px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  box-shadow: 5px 0 20px rgb(0 0 0 / 20%);
  z-index: 999;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-banner .cookie-banner-container {
  background-color: #fff;
  padding: 30px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.cookie-banner-header img {
  height: 50px;
  margin-right: 30px;
}

.cookie-banner-header h4 {
  margin: 0;
}

.cb-information {
  padding-bottom: 20px;
  border-bottom: 1px solid #dadfe2;
}

.cb-information a {
  text-decoration: none;
  font-family: "Lineto Circular Bold", sans-serif;
}

.cb-checklist {
  display: none;
}

.cb-checklist .cb-list-item {
  padding: 20px 50px;
  font-family: "Lineto Circular Bold", sans-serif;
  font-size: 18px;
  margin-top: 10px;
  position: relative;
}

.cb-checklist .cb-list-item:first-child {
  margin-top: 20px;
}

.cb-checklist .cb-list-item .classification-toggle-btn {
  font-size: 16px;
  padding: 20px;
  top: 6px;
  cursor: pointer;
  right: 20px;
  position: absolute;
}

.cb-checklist .cb-list-item label {
  cursor: pointer;
}

.cb-checklist .cb-list-item.bg-color-green {
  color: #fff;
}

.cb-checklist .cb-list-item.bg-color-green input[type="checkbox"] {
  background: #314f38;
}

.cb-checklist .cb-list-item.bg-color-green input[type="checkbox"]:checked {
  background-color: #314F38;
}

#wordpress_nodvandiga-cookies input[type="checkbox"],
#wordpress_nodvandiga-cookies label {
  opacity: 60%;
  cursor: revert;
}

.cb-checklist .cb-list-description {
  padding: 20px;
  display: none;
}

.cb-buttons {
  margin-top: 20px;
}

.cb-buttons button {
  font-family: "Lineto Circular Bold", sans-serif;
  width: 100%;
  margin-bottom: 10px;
}

.cb-buttons .cb-step-two {
  display: none;
}

/*-----------------------  Shortcode cookie table ------------------------*/
table#cookie-table {
  margin: 20px 0 40px 0;
}

.cookie-table-container table tr:nth-child(odd) {
  background-color: #f7f7f7;
}

.cookie-table-container table tr th h5 {
  margin: 0;
}

.cookie-table-container table tr th,
.cookie-table-container table tr td {
  width: 25%;
  text-align: left;
  padding: 10px;
}

.cookie-table-container table tr th:nth-child(2),
.cookie-table-container table tr td:nth-child(2) {
  width: 50%;
}

.ct-cookie-title {
  word-break: break-all;
}

/*-----------------------  Media querys ------------------------*/

@media screen and (max-width: 500px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    margin: 20px;
  }
}