/**************************\
  Basic Modal Styles
\**************************/

.modal {
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:9999;
}

.modal__container {
  background-color: #fff;
  padding: 20px 0;
  margin-left:20px;
  margin-right:20px;
  max-width: 800px;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0 20px;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0!important;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #123a58;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
  cursor:pointer;
  padding:0 10px;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
  background:#f7f7f7;
  padding:20px;
  text-align:center;
}

.modal__footer {
  padding:0 20px;
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #b7dbf6;
  color: #0e2c43;
  border-radius: 0;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:hover, .modal__btn:focus {
  background-color: #8abfe8;
  color: #0e2c43;
}

.modal__btn-primary {
  background-color: #b7dbf6;
  color: #0e2c43;
}

#modal_disclaimer {
  font-size:.8rem;
  line-height:1.25rem;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}



/**************************\
Product Page Styles
\**************************/

select {
  cursor:pointer;
}

#approve {
  background:#fafafa;
  border:1px solid #ddd;
  color:#666;
  margin:20px 0;
}


#dynamo {
  position:absolute; 
  top:0; 
  left:0; 
  z-index:99; 
  opacity:0;
}

.placeholder-item {
    box-shadow: 0 4px 10px 0 rgba(33, 33, 33, 0.15);
    border-radius: 2px;
    display:inline-block;
    position: relative;
    overflow: hidden;
}

.placeholder-loading {
  position:relative;
  z-index:2;
}

.placeholder-loading:before {
    content: "";
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 200px;
    background: linear-gradient(to right, transparent 0%, #E8E8E8 75%, transparent 100%);
    animation: load 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    z-index:1;
}

@keyframes load {
    from {
        left: -150px;
    }
    to   {
        left: 100%;
    }
}

#precart-alert {
  border-radius:2px;
  display:flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  margin:20px 0;
}

#precart-alert #precart-image {
}

#precart-alert img {
  display:block;
  height:45px;
  margin-right:20px;
}

#precart-alert .btn {
  margin:0 0 20px 0;
}

#precart-alert span {
  display:block;
  font-size:.85rem;
  line-height:1.25rem;
}




.pewc-group-heading-wrapper h3 {
  margin:0 0 10px 0;
}

.pewc-item-field-wrapper {
  margin-bottom:10px;
}

.pewc-field-label {
  font-weight:bold;
}

.pewc-description {
  color:#888;
  font-size:.8rem;
  line-height:1.25rem;
  margin-top:10px;
  margin-bottom:0px!important;
}

/* Checkbox specific  */
#pewc_group_35_91 {
  margin-right:5px;
}
/* Layout select box specific  */
#pewc_group_35_95 {
  margin-left:5px;
}

/**************************\
Stats boxes
\**************************/

.stats strong {
  font-size:.9rem;
}

.stats ul {
  padding:0; margin:0 0 1em 0; list-style:none;
}

.stats p {
  display:none;
}

.stats li {
  background:#EDF5FB;
  border-radius:6px;
  font-size:.95rem;
  align-items:center;
  padding:5px;
  display:flex;
  width:100%;
}

.stats li + li {
  margin-top:5px;
}

.stats u {
  font-weight:bold;
}

.stats img {
  width:32px;
  margin-right:5px;
}


/**************************\
Add to Cart
\**************************/


.woocommerce div.product form.cart .button.single_add_to_cart_button {
  display:block;
  width:100%;
  padding:20px 40px!important;
  height:auto;
}

button.add_to_cart_button.loading:after{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  font-family:"Glyphicons Halflings";
  content: "\e031";
  background: rgba( 255, 255, 255, 0.7 );
  text-align:center;
  line-height:34px;
}




/* */