/*
 *  Remodal - v1.0.3
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

/* .remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
   -webkit-filter: blur(4px);
           filter: blur(4px); 
}
 */
/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(0,0,0, 0.8); 
  
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-fill-mode: forwards;
           animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation: remodal-overlay-opening-keyframes 0.3s;
  animation: remodal-overlay-opening-keyframes 0.3s;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation: remodal-overlay-closing-keyframes 0.3s;
  animation: remodal-overlay-closing-keyframes 0.3s;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 0px 0px 0;
}

/* Default theme styles of the modal dialog */

.remodal {
  -webkit-box-sizing: border-box;
         box-sizing: border-box;
  width: 100%;
  margin-top: .65em;
  margin-bottom: 10px;
  padding: 2em 0;  
  -webkit-border-radius: 8px;
          border-radius: 8px;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background-color: #fffef6;
  box-shadow: 0 7px 12px rgba(0,0,0,.5);
}

.remodal.remodal-vid{

  background-color: #000;
  -webkit-border-radius: 0px;
          border-radius: 0px;

  background-color: rgba(0,0,0,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.85);
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  -webkit-animation: remodal-opening-keyframes 0.3s;
  animation: remodal-opening-keyframes 0.3s;
}

.remodal.remodal-is-closing {
  -webkit-animation: remodal-closing-keyframes 0.3s;
  animation: remodal-closing-keyframes 0.3s;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
  vertical-align: middle;
}

/* Close button */

.remodal-close {
  
}

.remodal .modal-top{
  /* background-color: #232528; */
  border-bottom: 1px solid #d3d0d5;
}


.remodal-close{
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 8040;
  
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #ccc;
  cursor: pointer;
  opacity: .8;
  padding: 8px;
  position: absolute;
  
}

.remodal-close:hover {
    color: #fff;
    opacity: 1;
}


.remodal-close:hover,
.remodal-close:focus {
  color: #fff;
  background-color: #ee4266;
}


.remodal-close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important; 
  
  font-size: 1rem;
  line-height: 1;
  
  position: absolute;
  top: 1em;
  right: -1.5em;

  display: block;
  font-style: normal;
  
  content: "\2716";
  text-align: center;
  font-weight: 400;
  
  color: #666;
  display: none;
}

.remodal-close:hover:before{
  color: hsl( 0, 0%, 70%);
  -webkit-transition: 200ms color ease-in-out;
          transition: 200ms color ease-in-out;
}
.remodal-vid .remodal-close {
  /* font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important; */
 
  top: -1.75em;
  
  right: 1.25em;

}

.remodal-vid .remodal-close::before{
  font-size: 3rem;
  font-weight: 100;
}

.modal-body {
  padding: 2rem 2.5rem 2rem;
}

.remodal-vid .modal-body{
  background-color: transparent;
  -webkit-border-radius: 0px;
          border-radius: 0px;
} 
.remodal-vid .modal-body,
.subscribe-modal .modal-body{
  padding: 0
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm {
  color: #fff;
  background: #81c784;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
  background: #66bb6a;
}

.remodal-cancel {
  color: #fff;
  background: #e57373;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}


/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}
