#popup-message-background {
  display: none;
  position: fixed;
  _position: absolute; /* hack for internet explorer 6*/
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #3a3a41;
  z-index: 9998;
}

#popup-message-wrapper {
  height: 100vh;
  width: 96vw;
  position: absolute;
  top: 0;
  left: 2%;
  display: none;
}

#popup-message-window {
  display: block;
  position: fixed;
  _position: absolute; /* hack for internet explorer 6*/
  overflow: auto;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px 10px 10px 10px;
  z-index: 9999;
  padding: 20px 30px;
  font-size: 16px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  color: #333333;
  height: fit-content !important;
}

#popup-message-window h1.popup-message-title {
  text-align: left;
  font-size: 18px;
  padding-bottom: 2px;
  margin-bottom: 20px;
  color: var(--grey-01);
  font-family: 'RocheSans-Medium';
  font-weight: 500;
}

#popup-message-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") no-repeat top left;
  text-indent: -1000px;
  width: 10px;
  height: 10px;
  font-size: 0px;
  right: 30px;
  top: 18px;
  position: absolute;
  display: block;
  cursor: pointer;
  color:#000;
  opacity: 0.5;
}

#popup-message-close:hover {
  opacity: 1;
}

.btn-popup-anouncement a, .btn-popup-anouncement a:hover {
  background-color: #1a818d;
  float: right;
  color: #fff;
  text-decoration: none;
}

#popup-message-content p {
  margin-bottom: 12px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #popup-message-window {
    min-width: 80%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #popup-message-window {
      min-width: 70%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #popup-message-window {
      min-width: 500px;
    }
}
