/* The Modal (background) */

.pop-cookie {
  transition: 0.5s ease all;
  z-index: 2147483647;
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 5px;
  background-color: purple;
}

.pop-cookie:not(.is_read) {
  min-width: 300px;
  padding: 15px;
  background-color: white;
  border: 1px #eee solid;
  font-size: 0.9em;
  color: #333333;
  border-radius: 0;
}

@media (max-width: 768px) {
  .pop-cookie:not(.is_read) {
    min-width: auto;
    width: calc(100% - 10px);
  }
}

@media (min-width: 768px) {
  .pop-cookie:not(.is_read) {
    width: 600px;
  }
}

.is_read {
  background-color: white;
  border: 1px #eee solid;
  border-radius: 50%;
  background-color: #ffffff99;
  transition: ease all 0.5s;
}

.is_read:hover {
  background-color: #fff;
}

.pop-cookie__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.pop-cookie__buttons {
  padding-right: 30px;
  font-size: 0.8em;
  align-self: flex-end;
}

.pop-cookie__reopen {
  cursor: pointer;
}

.pop-cookie__buttons .btn__cookie {
  display: block;
  padding: 5px 15px;
  text-align: center;
  transition: ease all 0.3s;
  cursor: pointer;
}

.pop-cookie__buttons .btn__cookie+.btn__cookie {
  margin-top: 10px;
}

.pop-cookie__buttons .pop-cookie__accept {
  display: block;
  background-color: #6b796b;
  color: white;
}

.pop-cookie__buttons .pop-cookie__accept:hover {
  background-color: #596559;
}

.pop-cookie__buttons .pop-cookie__deny {
  display: block;
  background-color: #8c555d;
  color: white;
}

.pop-cookie__buttons .pop-cookie__deny:hover {
  background-color: #7b4b52;
}

.pop-cookie__buttons .pop-cookie__open {
  display: block;
  background-color: white;
  border: 1px solid #eee;
}

.pop-cookie__buttons .pop-cookie__open:hover {
  background-color: #eee;
}

.pop-cookie__intro {
  flex: 1;
}

.pop-cookie__open {
  cursor: pointer;
}

.is_read .pop-cookie__wrapper,
.is_read .pop-cookie__modal {
  display: none;
}

.is_read .pop-cookie__open--text {
  display: none;
}

.pop-cookie__open--icon {
  display: none;
}

.is_read .pop-cookie__open--icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.pop-cookie__modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */

.pop-cookie__modal--content {
  position: relative;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  padding: 20px;
  border: 1px solid #888;
  width: -webkit-calc(100% - 3rem);
  width: calc(100% - 3rem);
  background-color: #fff;
  max-height: 80%;
  overflow-y: auto;
}

.pop-cookie__modal--content p {
  padding-top: .5rem;
  margin-bottom: 1rem;
}

.pop-cookie__modal--content,
.pop-cookie__modal--content h1,
.pop-cookie__modal--content h2,
.pop-cookie__modal--content h3,
.pop-cookie__modal--content h4,
.pop-cookie__modal--content h5,
.pop-cookie__modal--content h6 {
  color: #333;
}

.pop-cookie__icon {
  width: 2rem;
  height: auto;
}

@media (min-width: 768px) {
  .pop-cookie__modal--content {
    width: 60%;
  }
}

.modal-tiny {
  color: #716566;
}

/* The Close Button */

.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: 5px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}