/*
 *  Remodal - v1.1.1
 *  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(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(43, 46, 56, 0.9);
}

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

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

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

/* Default theme styles of the wrapper */

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

/* Default theme styles of the modal dialog */

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 35px 35px 25px 35px;

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background: #fff;
  border-radius: 8px;

  background-clip: padding-box;

  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.05);
  border-image: initial;
  
  box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 2px 0px;
}

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

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

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

/* Vertical align of the modal dialog */

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

/* Link */

.remodal a {
    color: #1080f2;
    text-decoration: none;
    -webkit-transition: .1s ease-out;
    -o-transition: .1s ease-out;
    transition: .1s ease-out;
    border-bottom: dashed 1px #1080f2;
}
.remodal a:hover,
.remodal a:focus,
.remodal a:active,
.remodal a.active {
    color: #1080f2;
    border-bottom: dashed 1px #fff0;
}

/* Close button */

.remodal-close {
    position: absolute;
    z-index: 10;
    top: 18px;
    right: 18px;

    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;

    cursor: pointer;
    transition: opacity 200ms ease-in-out 0s;
    text-decoration: none;

    opacity: .5;
    border: 0;
    outline: 0;
    background: transparent;
    background-image: url(../img/icon/dialog-sprite_v6.png);
    background-repeat: no-repeat;
    background-position: -93px -4824px;
}


.remodal-close:hover,
.remodal-close:focus {
  opacity: 0.6;
}

/* 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;
}

/* Form buttons */

.remodal form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.remodal form button {
  margin-right: 25px !important;
}

.remodal .input-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
}

.remodal .mt-1 {
  font-size: 14px;
  font-weight: 400;

  position: relative;

  margin-bottom: 0;
  padding: .5rem 0 .5rem 2.7rem;

  cursor: pointer;

  color: #838383;
}

.input-checkbox + label:before,
.input-radio + label:before {
  position: absolute;
  top: .6rem;
  left: 0;

  display: block;

  width: 1.7rem;
  height: 1.7rem;

  content: '';

  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, .2) 0 0 0 1px;
}

.input-checkbox + label:after,
.input-radio + label:after {
  font-size: 11px;
  line-height: 1.8rem;

  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 100%;
  height: 100%;

  content: '';
  text-align: center;

  color: #fff;
  border-radius: 3px;
  background-image: url(../img/icon/top-login-sprite_v11.png);
  background-repeat: no-repeat;
  background-position: -34px -389px;
  box-shadow: none;
}

.input-checkbox:checked + label:after,
.input-radio:checked + label:after {
  background-position: -34px -439px;
}


/* Separator button */

.remodal .separator {
  width: 100%;
  height: 1px;
  margin-top: 22px;
  margin-bottom: 22px;

  background-color: rgba(0, 0, 0, .15);
}


/* 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;
}

#modal1Title {
  color: #333;
  font-size: 22px;
  text-align: left;
}

#modal1Title_two {
  font-size: 22px;

  margin-top: -8px;
  margin-bottom: 22px;

  text-align: left;

  color: #333;
}

#modal1Title_two span {
  font-size: 16px;
  color: #666;
}


#modal1Desc {
  text-align: left;
}

#modal1Desc_two {
  margin-top: -8px;
  text-align: left;
}

#modal1Desc ul {
  font-size: 1.4rem;

  position: relative;
  z-index: 2;

  overflow: hidden;

  box-sizing: border-box;
  margin-bottom: 22px;
  padding: 2rem;

  list-style: none;

  resize: none;

  color: #353535;
  border-radius: 10px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, .15) 0 0 0 1px;
}


#modal1Desc ul li {
  font-size: 16px;
  line-height: 25px;

  position: relative;

  padding-left: 2rem;

  color: #666;
}

#modal1Desc ul li.text-danger {
  color: rgb(240, 55, 59);
}


#modal1Desc ul li:before {
  position: absolute;
  top: 1.2rem;
  left: 0;

  width: .4rem;
  height: .4rem;

  content: '';
  transition: all 200ms ease-in-out 0s;

  border-radius: 100%;
  background-color: rgba(153, 153, 153, .68);
}

/* 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;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@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-filter: blur(0);
    filter: blur(0);
  }
}

@-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;

    -webkit-filter: blur(0);
    filter: blur(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-filter: blur(0);
    filter: blur(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;
  }
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 838px;
  }
}

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

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

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