@charset "utf-8";

#cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 1.0);
  transition: bottom 1.5s ease-in-out;
  z-index: 30;
  border-top: 1px solid #cccccc;
}

#cookie-banner p {
  padding: 4.5% 8% 3% 5%;
  color: #333333;
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
}

#cookie-banner p a {
  font-size: 12px;
  color: #333333;
  text-decoration: underline;
}

#cookie-banner button#cookie-banner__accept {
  border: none;
  position: relative;
  top: 0;
  left: 0;
  display: block;
  max-width: 277px;
  width: 90%;
  margin: auto auto 3% auto;
  padding: 10px 0;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
  background: #005288;
  /* background: linear-gradient(135deg, #005288 95%, transparent 95%); */
}

/* #cookie-banner button#cookie-banner__accept:before {
  content: '';
  position: absolute;
  display: block;
  transition: .4s ease-out;
  z-index: -1;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #f4f4f4;
  transform: rotate(45deg);
} */

/* #cookie-banner button#cookie-banner__accept:after {
  content: '';
  position: absolute;
  opacity: 1;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 1px;
  margin: 0 0 2.8% 0;
  background: #ffffff;
} */

#cookie-banner button#cookie-banner__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: #005288;
  padding: 0;
  /* margin: 1.5% 1.5% 0 0; */
  margin: 0;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media print,
screen and (min-width: 768px) {
  #cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1.0);
    transition: bottom 1.0s ease-in-out;
    z-index: 30;
    border-top: 1px solid #cccccc;
  }

  #cookie-banner p {
    padding: 15px min(35%, 255px) 15px 30px;
    color: #333333;
    text-align: left;
    max-width: 1130px;
    font-size: 13px;
  }

  #cookie-banner button#cookie-banner__accept {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: unset;
    width: 150px;
    margin: auto 70px auto 0;
    height: 50px;
    background: #005288;
    color: #ffffff;
    border: none;
    padding: 10px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    overflow: hidden;
    transition: opacity .23s ease-out;
    /* background: linear-gradient(135deg, #005288 90%, transparent 90%); */
  }

  #cookie-banner button#cookie-banner__accept:hover {
    opacity: 0.7;
  }

  /* #cookie-banner button#cookie-banner__accept:before {
    content: '';
    position: absolute;
    display: block;
    transition: .4s ease-out;
    z-index: -1;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #005288;
    transform: rotate(45deg);
  } */

  /* #cookie-banner button#cookie-banner__accept:hover:before {
    bottom: -15px;
    right: -30px;
    width: 50px;
    height: 50px;
    opacity: 1;
  } */

  /* #cookie-banner button#cookie-banner__accept:after {
    content: '';
    position: absolute;
    opacity: 1;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 1px;
    margin: 0 0 10px 0;
    background: #ffffff;
    transition: .4s ease-out;
  } */

  /* #cookie-banner button#cookie-banner__accept:hover:after {
    right: -30px;
    opacity: 0;
    transition: .3s ease-out;
  } */

  #cookie-banner button#cookie-banner__close {
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 23px;
    height: 23px;
    background: #005288;
    padding: 0;
    margin: 0;
    margin: auto 10px auto 0;
    cursor: pointer;
    border-radius: 2px;
    transition: opacity .23s ease-out;
  }

  #cookie-banner button#cookie-banner__close:hover {
    opacity: 0.7;
  }
}
