.modal {
  display: none;
  position: fixed;
  padding-top: 50vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.35);
  padding-bottom: 100px;
  z-index: 99999;
}

.modal-content {
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
}
.modal-content {
  border-radius: 20px !important;
  text-align: center;
}

.modal-content {
  border-radius: 10px;
  margin: auto;
  width: calc(100% - 240px);
  /*max-width: 960px;*/
  max-width: 612px;
  position: relative;
  transform: translateY(-50%);
}

.modal-inner {
  background: #fff url(img/business-popup/business-popup-bg.png) no-repeat center 20px;
  padding: 0 125px 45px;
  border-radius: 20px;
}

.close {
  color: #a1a1a1;
  float: right;
  font-size: 40px;
  font-weight: 100;
  display: block !important;
  margin-top: 5px;
  margin-right: -116px;
  cursor: pointer;
  background: transparent url(img/business-popup/business-popup-close.png) no-repeat center;
  width: 28px;
  height: 28px;
}
#bpm1 .close {
  margin-top: -53px;
}

.close:hover span,
.close:focus span{
  color: #000;
  text-decoration: none;
}

.video-modal .video-modal{
  position: relative;
}

.video-modal .video-modal img{
  width: 100%;
  position: relative;
}

.video-modal .video-modal span{
  position: absolute;
  font-size: 55px;
  text-align: center;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  top: calc(50% - 22.5px);
  left: calc(50% - 22px);
  cursor: pointer;
}

.video-modal .video-modal span:hover{
  color: #999999;
}

.video-modal .close{
  font-size: 15px;
  position: absolute;
  right: 30px;
  top: 30px;
  font-size: 30px;
}

.video-modal .close span{
  font-size: 20px;
}

.video-modal .text-modal{
  line-height: 1.2;

  font-size: 36px;
  font-weight: bold;
  text-align: left;
  color: #333333;
  margin-top: 30px;
  text-align: center;
}

.video-modal .sub{

  height: 26px;
  position: absolute;
  left: 105px;
  top: 56px;
}


#business-popup {
  /*font-family: Calibri;*/
}
#business-popup h2 {
  color: #990AE3;
  /*font-size: 36px;*/
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 158px;
  padding-bottom: 16px;
  position: relative;
  top: 130px;
  border-bottom: 1px solid #f1f3f4;
  box-shadow: #dadddf 0 1px 1px;
}

#business-popup h3 {
  color: #999;
  font-size: 32px;
  font-weight: 400;
  margin-top: 200px;
  margin-bottom: 12px;
}

#business-popup input.text {
  display: block;
  width: 80%;
  border: none;
  background: #e5e5e5;
  font-size: 15px;
  font-weight: lighter;
  color: #990AE3;
  padding: 5px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}
#business-popup input.text::placeholder {
  color: #990AE3;
}
#business-popup input.text.error,
#business-popup input.text.error::placeholder {
  color: #FF28B1;
}

#business-popup input.button {
  background: #fff;
  border: 2px solid #990AE3;
  color: #990AE3;
  padding: 5px 30px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  font-size: 16px;
}
#business-popup input.button:hover:not(.disabled) {
  background: #990AE3;
  color: #fff;
}
#business-popup div.msg.error {
  background: none;
  color: #FF28B1;
  font-size: 12px;
  margin-bottom: 16px;
}

#business-popup input#check {
  opacity: 0;
  position: absolute;
}
#business-popup label {
  display: block;
  margin-bottom: 16px;
  cursor: pointer;
  margin-left: -20px;
  margin-right: -20px;
  text-align: left;
}
#business-popup label a {
  color: #333;
}
#business-popup label span {
  color: #999;
  line-height: 1;
  font-size: 12px;
  font-weight: normal;
  display: block;
  margin-left: 20px;
  vertical-align: super;
  cursor: pointer;
}
#business-popup label.error span {
  color: #FF28B1;
}
#business-popup #check:not(checked)+label:before {
  width: 6px;
  height: 6px;
  border-radius: 13px;
  background: #fff;
  display: inline-block;
  /* content: ''; */
  border: 1px solid #999;
  content: '\f00c';
  font: 11px/0 FontAwesome;
  color: transparent;
  position: relative;
  top: 2px;
  padding: 6px 4px 0 2px;
  float: left;
}
#business-popup #check:checked+label:before {
  color: #990AE3;
}
#business-popup #check+label.error:before {
  border-color: #FF28B1;
}


#business-popup #bpm1 {
  background-image: url(img/business-popup/business-popup-bg.png);
  background-position-y: 100px;
  background-size: 10%;
  padding-bottom: 0;
}
#business-popup #bpm1 div.msg {
  color: #990AE3;
  font-size: 24px;
  font-weight: normal;
  margin: 60px 0;
}

#device-popup .modal-inner {
  background: #E5E5E5;
  border-radius: 10px;
  padding: 0;
}
#device-popup h2 {
  color: #fff;
  background: #642e86;
  border-radius: 10px 10px 0 0;
  padding: 25px 45px;
  text-align: left;
  font-family: 'Pragmatica';
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 24px;
}
#device-popup label {
  display: block;
  text-align: left;
  padding: 20px 45px;
  font-family: 'Pragmatica';
  font-weight: 400;
  font-size: 18px;
  color: #000;
}
#device-popup input.text {
  display: block;
  width: calc(100% - 50px);
  border: none;
  border-radius: 5px;
  padding: 15px 25px;
  margin-top: 20px;
  font-family: 'Pragmatica';
  font-size: 18px;
}
#device-popup .g-recaptcha {
  margin: 20px 45px;
}
#device-popup .buttons {
  padding: 20px 45px 45px;
  text-align: right;
}
#device-popup .button {
  background: transparent;
  border: 2px solid #b63079;
  color: #b63079;
  font-family: 'Pragmatica';
  font-size: 20px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 28px;
  margin-right: 20px;
  cursor: pointer;
}
#device-popup .button:hover {
  color: #fff;
  background: #b63079;
}
#device-popup .close {
  background: none;
  width: auto;
  height: auto;
  margin: 0;
  float: none;
  display: inline-block !important;
  border: 2px solid #632d83;
  color: #632d83;
  font-weight: 400;
}
#device-popup .close:hover {
  background: #632d83;
  color: #fff;
}
#device-popup .msg {
  font-family: 'Pragmatica';
  font-size: 18px;
  padding: 40px 45px 20px;
}

.modal .messages {
  margin-left: 45px !important;
  margin-right: 45px !important;
}
.modal .messages.error {
  border: 1px solid #FF28B1;
}

#b2b-popup .modal-content {
  background-image: url(img/b2b-popup/b2b-popup-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 519px;
  border: none;
}
#b2b-popup.ann23 .modal-content {
  height: 540px;
  background: #fff;
}
#b2b-popup .modal-content .close1 {
  float: right;
  display: inline-block;
  position: relative;
  right: 10px;
  top: 10px;
  background: #fff;
  width: 26px;
  border-radius: 26px;
  height: 19px;
  padding-top: 7px;
  cursor: pointer;
}
#b2b-popup .modal-content .close2 {
  display: none;
}
#b2b-popup .body {
  padding-top: 80px;
  color: #fff;
  margin-bottom: 50px;
}
#b2b-popup.ann23 .body {
  padding-top: 50px;
}
#b2b-popup .body h3 {
  font-family: 'PragmaticaMedium-Reg';
  font-size: 32px;
  font-weight: normal;
  color: #fff !important;
  margin: 0;
}
#b2b-popup .body h3 br {
  display: none;
}
#b2b-popup .body p {
  font-family: 'PragmaticaMedium-Reg';
  font-size: 28px;
  margin: 0;
}
#b2b-popup .body p br {
  display: none;
}
#b2b-popup .body p strong {
  color: #ffdd30;
  font-size: 30px;
}
#b2b-popup .body .price {
  font-family: 'PragmaticaMedium-Reg';
  color: #ffdd30;
}
#b2b-popup .body .price .v {
  font-size: 210px;
  line-height: 210px;
  font-weight: 900;
}
#b2b-popup .body .price .p {
  position: absolute;
  font-size: 140px;
  margin-top: -7px;
  font-weight: 900;
/* margin-left: 5px;*/
}
#b2b-popup .btn a {
  color: #990ae3;
  background: #ffdd30;
  border: 2px solid #ffdd30;
  text-transform: uppercase;
  font-family: 'PragmaticaMedium-Reg';
  font-size: 17px;
  padding: 8px 40px;
  border-radius: 30px;
  margin: 0 20px;
}
#b2b-popup .btn a:hover {
  background: transparent;
  color: #ffdd30;
}

@media (max-device-width: 820px) {
  #b2b-popup .modal-content {
    width: 820px;
    max-width: 820px;
    height: 820px;
  }
  #b2b-popup .body {
    margin-bottom: 90px;
  }
  #b2b-popup .body h3 {
    font-size: 50px;
    width: 550px;
    margin: 0 auto 20px;
  }
  #b2b-popup .body h3 br {
    display: inline-block;
  }
  #b2b-popup .body .price .v {
    font-size: 250px;
    line-height: 250px;
  }
  #b2b-popup .body .price .p {
    font-size: 170px;
  }
  #b2b-popup .body p {
    font-size: 44px;
    width: 780px;
    margin-left: auto;
    margin-right: auto;
  }
  #b2b-popup .body p br {
    display: inline-block;
  }
  #b2b-popup .body p strong {
    font-size: 55px;
    white-space: nowrap;
  }
  #b2b-popup .btn a {
    font-size: 30px;
    padding: 12px 50px;
    border-radius: 40px;
  }
  #b2b-popup .modal-content .close1 {
    display: none;
  }
  #b2b-popup .modal-content .close2 {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50px;
  }
}

@media (max-width: 700px){
  .modal-content {
    background-color: white;
    margin: auto;
    padding: 55px 15px 15px;
    border: 1px solid #888;
    width: calc(100% - 60px);
    max-width: 1500px;
    position: relative;
  }

  .sub{
    left: 15px;
    top: 15px;
  }

  .close{
    top: 15px;
    right: 15px;
  }

  .text-modal{
    font-size: 25px;
    margin-top: 15px;
  }

  .search-modal .search-block{
    width: 100%;
  }

  .search-modal .category-search{
    width: 100%;
    padding-left: 0px;
  }


  .search-modal .category-search:before{
    width: 100%;
    height: 1px;
    top: -20px;
  }

  .search-modal .modal-content{
    height: calc(100% + 159px);
  }

  .search-modal .item-search:after{
    display: none;
  }
}

@media (max-height: 500px){
  .modal-content {
    transform: translateY(0%);
  }
}


.modal.device {}
.modal.device .modal-content {
  width: 100%;
  max-width: 880px;
}
.modal.device .modal-title {
  font-family: 'Pragmatica';
  font-size: 38px;
  color: #333;
  margin-top: 75px;
  margin-bottom: 0;
}
.modal.device .modal-body {
  padding: 40px 90px;
  font-family: 'Pragmatica';
  font-size: 24px;
  font-weight: 300;
  color: #333;
}
.modal.device .close {
  background: transparent url(img/popup/close-device.svg) no-repeat center;
  background-size: 40px;
  margin-right: 45px;
  margin-top: -60px;
  width: 40px;
  height: 40px;
}
.modal.device .close span {
  display: none;
}
