/*
 *  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 necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}
.remodal input {
    width: 285px;
    height: 46px;
    padding-left: 15px;
    border-radius: 4px;
    border: none;
	color: #000;
    font-size: 16px;
    margin-bottom: 15px;}
.remodal {
background: url(../img/bg_form.png) no-repeat !important;
    width: 400px;

background-size: 100% 100% !important;}

.remodal p {
text-align: center;
padding-top: 5px;
padding-bottom: 0px;
font-size: 24px;
color:#000;}

.remodal div {
text-align: center;
padding-top: 20px;
padding-bottom: 20px;
font-size: 22px;
color:#fff;}

.remodal input[type='submit'] {
    background: red;
  
    height: 50px;
    padding-bottom: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    padding-left: 0px;
    font-size: 20px;
    color:#000;
    line-height: 50px;
}

.remodal.reaf_more {
width: 700px !important;
max-width: 700px !important;
background: #fff !important;
position: relative;
border-radius: 10px;
height: 565px;}

.remodal.reaf_more.sne {
    background-image: url(http://v.vseelkitop.fun/img/sneshinki.html) !important;
background-color: #fff;}

.remodal div.block_w1 {
background: rgba(255,255,255,0.6);
border-radius: 10px;
color:red;
font-size: 15px;
    margin: 0 auto;
margin-top: -60px;
width: 90%;
}

.remodal div.block_w1 h3 {
color: #000;
    font-size: 25px;
    margin-top: 15px;
    position: relative;
    width: 70%;
    text-align: left;
    top: 40px;
    margin-left: 25px;}

.remodal div.block_w1 input {
width: 190px;}

.remodal div.block_w1 input[type='submit'] {
width: 180px;}



.remodal.reaf_more.sne {
font-size: 15px;
color:red;
text-align: center;
font-weight: 700;}

.remodal.reaf_more input {
border: 1px solid #999;}

.remodal.reaf_more h2 {
border-bottom: 1px solid #f2f2f2;
padding-top: 15px;
padding-bottom: 15px;}

.remodal.reaf_more h2 span{
color:red;
position: relative;
left:20px;}.remodal.payment_form {
    width: 500px !important;
    max-width: 700px !important;
    background: #fff !important;
    position: relative;
    border-radius: 10px;
    height: 570px;
    padding: 20px;
}

.remodal.payment_form h2 {
    margin: 20px 0;
}

.remodal.payment_form h2 span {
    color: #08581e;
    display: block;
    font-size: 42px;
    padding: 8px;
}

.remodal.payment_form input {
    display: block;
    width: 100%;
    border: 1px solid #999;
    box-sizing: border-box;
}

.remodal.payment_form p {
    color: #111;
    font-size: 18px;
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

a.btns {
    display: inline-block;
    padding: 12px 8px;
    border-radius: 4px;
    text-align: center;
    width: 46%;
    cursor: pointer;
    text-transform: uppercase;
    background: #338a4a;
    color: #fff;
}

.mod_modal {
    position: absolute;
    bottom: 116px;
    width: 160%;
    left: -30%;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 0 1px #333;
    text-align: center;
    background: #fff;
}

.mod_modal .field {
    display: inline-block;
    width: 24%;
    padding-bottom: 0;
}

.mod_modal .calculate_delivery {
    display: inline-block;
    width: 20%;
}

.field label {
    color: #222;
    font-size: 16px;
    text-align: left;
    display: block;
    margin-bottom: 4px;
}

.delivery_block {
    width: 100%;
    height: 150px;
}

.remodal div.rem_content, .remodal div.pr_content, .remodal div.pay_online {
    padding: 0;
    color: #000;
    font-size: inherit;
}

.prch {
    cursor: pointer;
}

.remodal div.delivery_block {
    color: #444;
}

.js-form-address {
    transition: all 200ms ease-in;
}

.mod_delivery {
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.delivery_block span.db_comment {
    font-size: 14px;
    background: #f0f0f0;
    padding: 8px;
}

.delivery_block span {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
}

a.recalc_delivery {
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.remodal.payment_form input.err_inp {
    border-color: red;
}
@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 400px;
	
  }
  .remodal input[type='submit'] {
    background: red;
    width: 313px;
    height: 50px;
    padding-bottom: 8px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    padding-left: 0px;
    font-size: 20px;
    color: #000;
    line-height: 50px;
}
  }