.new_hidden {
  overflow: hidden
}

.new_modal {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
  top: -1000px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  overflow-y: scroll;
  padding: 60px 15px;
}

.new_modal_active {
  position: fixed;
  top: 0;
  visibility: visible;
  opacity: 1;
  -webkit-transition: .3s;
  transition: .3s;
}

.modal__content {
  width: 100%;
  max-width: 600px;
  padding: 30px;
  background: #f9f9f9;
  -webkit-box-shadow: 0 5px 15px black;
          box-shadow: 0 5px 15px black;
  border-radius: 20px;
  position: relative;
}

.modal__close-button {
  background: #c22719;
  height: 30px;
  width: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  position: absolute;
  right: -15px;
  top: 10px;
  background: none;
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  outline: none;
}

.modal__close-button:hover {
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

h1.modal__title__h1 {
  font-size: 2.4rem;
  text-transform: uppercase;
  margin: 0 0 35px;
  text-align: center;
  color: #c22719;
  font-weight:600;
  font-family:Verdana;
}

h2.modal__title__h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 25px;
  color: #333;
  font-weight:500;
  font-family:Verdana;
}

h2.modal__title__h2_2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: -10px 0 25px;
  color: #333;
  font-weight:500;
  font-family:Verdana;
  text-align: center
}

p {
  font-size: 1rem;
  color: #666;
/*  font-family:Verdana;*/
}

p.modal__description {
  font-size: 1.125rem;
  color: #000;
  font-family:Verdana;
}

.new_modal input {
  border:2px solid #c22719;
  width:100%;
  margin-bottom:20px;
  border-radius:5px;
  height:45px;
  line-height:45px
}

.new_modal input[type=text]::placeholder {
	font-family:Verdana;
	color: #aaa;
}
.new_modal input[type=text]::-webkit-input-placeholder {
	font-family:Verdana;
	color: #aaa;
}
.new_modal input[type=text]::-moz-placeholder {
	font-family:Verdana;
	color: #aaa;
}
.new_modal input[type=text]:-moz-placeholder {
	font-family:Verdana;
	color: #aaa;
}
.new_modal input[type=text]:-ms-input-placeholder {
	font-family:Verdana;
	color: #aaa;
}


#modal-1 .modal__content {
  background: #fff url(../imgs/new_modal/fon_1.png);
  background-repeat: no-repeat;
  background-position: bottom center;
}

#modal-1 .dop_1 {
 position: absolute;
 left:-120px;
 top:-10px
}

#modal-1 .dop_2 {
  position: absolute;
  right:-120px;
  top:450px
}

#modal-1 input {
  border:2px solid #ac7a28;
}


#modal-2 .modal__content {
  background: #fff url(../imgs/new_modal/fon_2.png);
  background-repeat: no-repeat;
  background-position: bottom center;
}


#modal-3 .modal__content {
  background: #fff url(../imgs/new_modal/fon_3.png);
  background-repeat: no-repeat;
  background-position: bottom center;
}

#modal-3 .dop_3 {
  position: absolute;
  left:-120px;
  top:-10px
 }
 
 #modal-3 .dop_4 {
   position: absolute;
   right:-100px;
   top:450px
 }


#modal-4 .modal__content {
  background: #fff url(../imgs/new_modal/fon_2.png);
  background-repeat: no-repeat;
  background-position: bottom center;
}


@media (max-width: 767px) {

  .modal__content {
    width: 95%;
    max-width: 95%;
  }

  h1.modal__title__h1 {
    font-size: 1.8rem
  }
  
  h2.modal__title__h2 {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
  }

  h2.modal__title__h2_2 {
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.5;
  }

  p {
    font-size: 0.8rem
  }

  p.modal__description {
    font-size: 0.8rem;
    text-align: center
  }

  .new_modal .zapros_butt img {max-width:100%}

}

/**
* @author Suslov Igor <suslovigor@psw.su>
* special Offer Super Discount 1990
 */
:root {
  --color: #ad8d60;
  --margin-title: 10px 0 0 0;
}

.specialOfferSuperDiscount1990 .modal__content {
  background: #fff url("/imgs/new_modal/special.offer.super.discount.1990.fon.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: bottom center !important;
}
.specialOfferSuperDiscount1990 .modal__title__h1 {
  margin: var(--margin-title);
  text-align: center;
  color: var(--color);
  font-size: 2.4rem;
  line-height: 2.4rem;
  text-transform: uppercase;
  font-weight: 600;
  font-family: Verdana;
}
.specialOfferSuperDiscount1990 .modal__title__h2 {
  margin: var(--margin-title);
  text-align: center;
}
.specialOfferSuperDiscount1990 .modal__description {
  margin: 30px 0 0 0;
}
.specialOfferSuperDiscount1990 input {
  border: 2px solid var(--color) !important;
}
/*special Offer Super Discount 1990*/