/*
  hosting; virtualyx.net
  theme addon modal cookies consent & QR Code contact info 
  CSS  with ❤️ by TMB 
*/

/* === Modal Top Styles === */

/* The Modal Top (background) */
.modal_top {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal_top-content {
  position: relative;
  background-color: var(--surface-2);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  width: 80%;
  text-align-last: center;

  box-shadow: var(--shadow-lg);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close_top {
  color: var(--text-1);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_top:hover,
.close_top:focus {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.modal_top-header {
  padding: 2px 16px;
  background-color: var(--accent);
  color: #fff;
}

.modal_top-body {
  padding: 20px 16px;
  color: var(--text-1);
}

.modal_top-footer {
  padding: 0px 16px;
  background-color: var(--accent);
  color: #fff;
}

/* === Modal Bottom Styles === */

/* The Modal bottom (background) */
.modal_bottom {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

/* Modal _bottom Content */
.modal_bottom-content {
  position: fixed;
  
  /* dodan pading */
  padding: 1px 1px;   
  
  bottom: 0;
  background-color: var(--surface-2);
  width: 100%;
  /* height: 10%; */
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}

/* The Close Button */
.close_bottom {
  color: var(--text-1);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_bottom:hover,
.close_bottom:focus {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.modal_bottom-header {
  padding: 2px 16px;
  background-color: var(--accent);
  color: #fff;
}

.modal_bottom-body {
  padding: 20px 16px;
  font-size: 80%;
  color: var(--text-1);
}

.modal_bottom-footer {
  padding: 0px 16px;
  background-color: var(--accent);
  color: #fff;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* === Modal Center Styles === */

/* The Modal Center (background) */
.modal_center {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Center Content */
.modal_center-content {
  position: relative;
  background-color: var(--surface-2);
  margin: 15% auto;
  padding: 0;
  border: 1px solid var(--border);
  width: 60%;
  text-align-last: center;
  box-shadow: var(--shadow-lg);
  -webkit-animation-name: animateCenter;
  -webkit-animation-duration: 0.4s;
  animation-name: animateCenter;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animateCenter {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes animateCenter {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* The Close Button */
.close_center {
  color: var(--text-1);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close_center:hover,
.close_center:focus {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.modal_center-header {
  padding: 2px 16px;
  background-color: var(--accent);
  color: #fff;
}

.modal_center-body {
  padding: 20px 16px;
  color: var(--text-1);
}

.modal_center-footer {
  padding: 0px 16px;
  background-color: var(--accent);
  color: #fff;
}