.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.overlay.open {
  display: block;
}
.popup * {
  font-family: 'Roboto';
}
.popup {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 1008px;
  box-shadow: 0px 24px 24px rgba(0, 0, 0, 0.24);
  background: #FFF;
  display: flex;
}
.popup input{
    width: 100%;
    background: #F9F9F9;
    border: 1px solid #E7E7E7;
    box-sizing: border-box;
    border-radius: 4px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    margin-top: 3px;
    color: #A7A7A7;
    padding: 10px 16px;

}

.popup_left {
  max-width: 456px;
  width: 100%;
  padding: 40px 32px;
  background: #0076A3;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.popup_left h3 {
  font-family: NotoSans, sans-serif;
  font-weight: bold;
font-size: 18px;
line-height: 24px;
/* or 133% */

text-transform: uppercase;

color: #FFFFFF;
    margin-left:18px;
    margin-top:0;
}
.popup_left h3 span {
    margin-bottom:9px;
  display: block;
  text-transform: uppercase;
  font-size: 36px;
line-height: 49px;
/* identical to box height */



color: #FFFFFF;
}
.popup_left img{
    position: relative;
    left:-32px;
    top:40px;
}
.popup_pack {
  position: absolute;
width: 501.61px;
height: 376.71px;
left: -21.01px;
top: 183px;
}
.popup_right {
  width: 100%;
  padding: 30px 0;
}
button {
  cursor: pointer;
}
.popup_right .form_wrap {
    position: relative;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin: auto;
  max-width: 352px;
  background: transparent;
  padding: 0;
}
.old_price_inner{
    text-decoration: line-through;
}
.popup_right .form_wrap .name_phone {
    padding-left: 8px;
    text-align: left;
  margin-top: 14px;
}
.popup_right .btnOrder {
  margin-top: 25px;
    margin-bottom: 18px;
    font-size: 14px;
line-height: 20px;
}
.timer_wrap {
  
  margin: auto;
}
.timer_title {
    margin-top: 8px;
  text-align: center;
  font-size: 24px;
  line-height: 20px;
  color: #585858;
  margin-bottom: 22px;
}
.timer_wrap .timer_section {
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  font-size: 48px;
  line-height: 76px;
  font-weight: bold;
  color: #FFF;
  text-align: center;
}
.timer_mobile{
    max-width: 352px;
    margin:0 auto;
}
.timer_wrap .timer_mobile {
  -webkit-justify-content: space-between;
  justify-content: space-between;
      display: flex !important;
      float: none;
}
.popup .timer{
    margin-top:22px;
    margin-bottom: 5px;
}
.popup .old_price {
    position: absolute;
    color:#585858;
     top: -10px;
     left: -30px;
}
.timer_wrap .time {
  width: 96px;
  height: 96px;
  background: #F6630F;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
}
.timer_wrap .timer_inner:not(:last-child) .time:before {
  content: ":";
  position: absolute;
  font-weight: bold;
  font-size: 50px;
  color: #585858;
  right: -22px;
  top: 28px;
}
.timer_wrap .timer_inner p {
    text-align: center;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  position: relative;
  top: -30px;
    color:#ffffff;
}
.hurry {
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  margin-bottom: 22px;
  color: #DC0515;
}
.popup_right .form_wrap p {
    
    text-align: center;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 2px;
  color: #585858;
}
.popup_right .new_price {
    text-align: center;
    margin-top:11px;
    margin-bottom: 23px;
    line-height: 26px;
  font-size: 36px;
    font-weight: bold;
  color: #F6630F;
}

.popup_right .new_price span {
  padding: 0 !important;
}
.popup_right .new_price:after, .popup_right .new_price:before, .popup_right .new_price:after, .popup_right .new_price:before {
  display: none;
}
.popup_right .form_wrap form p {
  color: #131313;
  font-size: 14px;
  line-height: 20px;
}
.popup_right .form_wrap .pieces_left {
  color: #585858;
  margin-top: 0;
}
.popup_close {
  width: 40px;
  height: 40px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  background: #0076A3;
  color: #FFCA00;
  position: absolute;
  top: -20px;
  right: -18px;
  cursor: pointer;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.3);
}
.popup_close img {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.popup_close:hover img {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

@media all and (max-width:1200px) {
    

    .popup {
        max-width: 900px;
    }
}

@media all and (max-width:959px) {

.popup_left {
    display: none;
}

.popup_right .form_wrap:before,
.popup_right .form_wrap:after {
    display: none;
}

.popup {
    max-width: 290px;
}

.timer_title {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 10px;
}

.timer_wrap .time {
    width: 80px;
    height: 80px;
    
}
.timer_wrap {
    max-width: 290px;
}

.timer_wrap .timer_section {
        font-size: 40px;
    line-height: 62px;
}

.timer_wrap .timer_inner:not(:last-child) .time:before {
    font-size: 42px;
    right: -19px;
}

.popup_right .new_price {
       font-size: 22px;
    line-height: 22px;
    margin-top: 0;
}

.popup_right .form_wrap p {
        font-size: 15px;
    line-height: 15px;
    margin-bottom: 5px;
}

.popup_right .form_wrap {
    padding: 0 8px;
}

.popup_right .old_price {
    top: 0;
    left: 10px;
}

.popup_right {
        padding: 25px 0 5px;
}

.hurry {
    margin-bottom: 18px;
}

}