/**
* Default TUSX-storechild modal CSS
* This file is merged with Grunt in 'product-all.css'
* Merged with - 'product.css'
**/
/* The Modal (background) */
.tusx_storechild_modal_wrapper {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* 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: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(24, 24, 27, 0.92);
  /* Black w/ opacity */
}

/* Modal Content */
.tusx_storechild_modal_content {
  position: relative;
  background-color: #fefefe;
  margin: 0 15px;
  padding: 0;
  width: initial;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  border: 1px solid #586066;
}

/* 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 */
.tusx_storechild_modal_close {
  font-size: 25px;
  font-weight: 700;
  position: absolute;
  right: 0;
  text-align: center;
  border-radius: 20px;
  height: 38px;
  width: 39px;
  z-index: 2000;
  background-color: #777;
  color: #fff;
  opacity: 0.3;
}

.tusx_storechild_modal_close:hover,
.tusx_storechild_modal_close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.tusx_storechild_modal_body {
  padding: 20px;
}

.tusx_storechild_modal_header {
  background-color: #2f3a40;
  color: #fff;
  padding: 20px;
  margin: -20px -20px 30px -20px;
  margin-block-start: -20px !important;
}

h3.tusx_storechild_modal_header.wp-block-heading {
  margin-left: -20px !important;
  margin-right: -20px !important;
  margin-block-start: -20px !important;
}

/** //////////////////////////////////////////////////////////////////////////////////////////////////
* 
*  Desktop CSS - over 768px
*/
@media (min-width: 768px) {
  .tusx_storechild_modal_content {
    margin: auto;
    max-width: 920px;
  }
}