/* ********************************  ANIMATIONS */

@keyframes fall_cookies_down {
    0% {
      transform: translateY(-200%);
    }
    100% {
      transform: translateY(-50%);
    }
  }
  /*
  @keyframes fall_cookies_down_mobile {
    0% {
      transform: translateY(-92vh);
    }
    60% {
      transform: translateY(5vh);
    }
    80% {
      transform: translateY(3vh);
    }
    100% {
      transform: translateY(5vh);
    }
  } */
  
  html[lang=en] .modal-cookies-container .txt-de  { display: none; }
  html:not([lang=en]) .modal-cookies-container .txt-en  { display: none; }

  .modal-cookies-window {
    display: none;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: white;
   /* height: 500px; */
    opacity: 0.9;
    box-shadow: 0px 10px 13px -7px #000000, 0px -2px 12px 3px rgba(0, 0, 0, 0.1);
    animation-name: fall_cookies_down;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-fill-mode: both;
  }
  .modal-cookies-window.active  {
    display: block;
  }
  .modal-cookies-window h3 {
    text-transform: uppercase;
    font-weight: 600;
    color: #aa2c3f;
  }
  .modal-cookies-window input {
    outline: none;
  }
  .modal-cookies-container {
    padding: 50px 350px;
  }
  @media (max-width: 1366px) {
    .modal-cookies-container {
      padding: 50px 250px;
    }
    .cookies-checkboxes label {
      font-size: 18px;
    }
  }
  @media (max-width: 1140px) {
    .modal-cookies-container {
      padding: 50px 200px;
    }
  }
  @media (max-width: 1024px) {
    .modal-cookies-container {
      padding: 50px 100px;
    }
    .cookies-checkboxes label {
      font-size: 16px;
    }
  }
  @media screen and (max-width: 810px) {
    .modal-cookies-container {
      padding: 30px 30px;
    }
  }
  @media (max-width: 767.9px) {
    .modal-cookies-window {
      height: 90vh;
      animation-name: fall_cookies_down_mobile;
      animation-duration: 1s;
      animation-delay: 0.5s;
      animation-iteration-count: 1;
      animation-direction: alternate;
      animation-fill-mode: both;
      overflow-y: auto;
    }
    .modal-cookies-container {
      padding: 50px 15px;
    }
    .modal-cookies-container h3 {
      font-size: 1.1em;
    }
    .modal-cookies-container p {
      margin-top: 1.1em;
      font-size: 16px;
      line-height: 20px;
    }
    .cookies-checkboxes label {
      font-size: 14px;
    }
    .cookies-buttons {
      flex-direction: column;
      height: 120px;
    }
  }
  a {
    color: #000000;
  }
  .cookies-checkboxes {
    margin: 30px 0 0 0;
  }
  .cookies-checkboxes,
  .cookies-buttons {
    display: flex;
    justify-content: space-evenly;
  }
  .cookies-checkboxes label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .cookies-checkboxes label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  .cookies-checkboxes label span.cookies-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
    border: #aa2c3f 1px solid;
    border-radius: 3px;
  }
  .cookies-checkboxes label:hover input ~ span.cookies-checkmark {
    background-color: #aa2c3f;
    border-color: #aa2c3f;
  }
  .cookies-checkboxes label input:checked ~ span.cookies-checkmark {
    background-color: #aa2c3f;
    transition: all 0.4s ease;
  }
  span.cookies-checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  .cookies-checkboxes label input:checked ~ span.cookies-checkmark:after {
    display: block;
  }
  .cookies-checkboxes label span.cookies-checkmark:after {
    left: 7px;
    top: 1px;
    width: 6px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: all 0.4s ease;
  }
  .cookies-buttons input {
    flex: 0;
    padding: 5px 40px;
    border: #aa2c3f 1px solid;
    border-radius: 3px;
    background-color: #fff;
  }
  .cookies-buttons {
    margin-top: 1.5625em;
  }
  .cookies-buttons input {
    color: #aa2c3f;
    position: relative;
  }
  .cookies-buttons input:hover {
    background-color: #ffffff;
    color: #aa2c3f;
    border-color: #aa2c3f;
    transition: all 0.4s ease;
  }
  .cookies-buttons input:focus {
    color: #fff;
    background-color: #aa2c3f;
    border-color: #aa2c3f;
    transition: all 0.4s ease;
  }
  