html.overflow {
  overflow: hidden;
}
.sample-popup {
  position: fixed;
  height: 100%;
  width: 100%;
  overflow: auto;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: flex-start;
  -ms-flex-align: start;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.sample-popup * {
  box-sizing: border-box;
}
.sample-popup.opened {
  opacity: 1;
  visibility: visible;
}
.sample-popup .sample-popup-in {
  text-align: left;
  position: relative;
  flex: 0 0 auto;
  margin: auto;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-block;
  width: 600px;
  padding: 0;
  background: #f5f5f5;
  position: relative;
  border-radius: 10px;
}
.sample-popup .sample-popup-top {
  padding: 30px;
}
.sample-popup .sample-popup-title {
  color: #000;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 0 0 15px;
}
.sample-popup .sample-popup-image {
  font-size: 0;
  text-align: center;
}
.sample-popup .sample-popup-image img {
  border-radius: 10px;
}
.sample-popup .sample-popup-text {
  color: #000;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.3;
}
.sample-popup .sample-popup-text p:first-child {
  margin-top: 0;
}
.sample-popup .sample-popup-text p:last-child {
  margin-bottom: 0;
}
.sample-popup .sample-close2 {
  z-index: 2;
  position: absolute;
  cursor: pointer;
  background: url(data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20baseProfile%3D%22full%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20xmlns%3Aev%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2Fxml-events%22%20xml%3Aspace%3D%22preserve%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2216px%22%20height%3D%2216px%22%20%20viewBox%3D%220%200%2016%2016%22%20preserveAspectRatio%3D%22none%22%20shape-rendering%3D%22geometricPrecision%22%3E%3Cpath%20fill%3D%22%23575757%22%20d%3D%22M15.985%2C14.571%20L14.571%2C15.985%20L8.000%2C9.414%20L1.429%2C15.985%20L0.015%2C14.571%20L6.586%2C8.000%20L0.015%2C1.429%20L1.429%2C0.015%20L8.000%2C6.586%20L14.571%2C0.015%20L15.985%2C1.429%20L9.414%2C8.000%20L15.985%2C14.571%20Z%22%2F%3E%3C%2Fsvg%3E) center center/15px no-repeat;
  width: 30px;
  height: 30px;
  top: 5px;
  right: 5px;
}
.sample-popup-form {
  padding: 30px;
  background: #e3e3e3;
  color: #000;
  border-radius: 0 0 10px 10px;
}
.sample-popup-form form {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
}
.sample-popup-form form .tpl-field {
  padding-bottom: 15px;
  width: 50%;
  padding: 0 10px 10px 0;
  font-size: 14px;
}
.sample-popup-form form .tpl-field p:first-child {
  margin-top: 0;
}
.sample-popup-form form .tpl-field p:last-child {
  margin-bottom: 0;
}
.sample-popup-form form .tpl-field.type-checkbox ul, .sample-popup-form form .tpl-field.type-radio_group ul, .sample-popup-form form .tpl-field.type-multi_checkbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sample-popup-form form .tpl-field.type-calendar .field-value span {
  position: relative;
}
.sample-popup-form form .tpl-field.type-calendar .field-value span img {
  position: absolute;
  right: 5px;
  top: 50%;
  margin-top: -8px;
}
.sample-popup-form form .tpl-field.type-calendar .field-value span img + img {
  display: none;
}
.sample-popup-form form .field-title {
  color: #555;
  padding-bottom: 4px;
}
.sample-popup-form form .field-title span {
  color: red;
}
.sample-popup-form form .error-message {
  padding: 0 0 5px;
}
.sample-popup-form form .tpl-field input[type=text], .sample-popup-form form .tpl-field input[type=email], .sample-popup-form form .tpl-field input[type=tel], .sample-popup-form form .tpl-field select, .sample-popup-form form .tpl-field textarea {
  outline: none;
  color: #4c4c4c;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.2);
  box-sizing: border-box;
  width: 100%;
  border-radius: 10px;
}
.sample-popup-form form .tpl-field-button {
  padding-bottom: 0;
  font-size: 14px;
  display: flex;
  text-align: center;
  width: 100%;
}
.sample-popup-form form .tpl-field-button div {
  cursor: pointer;
  width: 50%;
  margin: 0 10px 0 0;
  font-size: 15px;
  color: #666;
  background-color: #d1d1d1;
  padding: 10px;
  border-radius: 10px;
}
.sample-popup-form form .tpl-field-button button {
  width: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: none;
  background: #1d1e37;
  outline: none;
  padding: 12px 10px 13px;
  cursor: pointer;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .sample-popup {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sample-popup .sample-popup-top {
    padding: 30px 20px 20px;
  }
  .sample-popup-form {
    padding: 20px;
  }
  .sample-popup-form form .tpl-field {
    width: 100%;
  }
  .sample-popup-form form .tpl-field-button div {
    width: 100%;
    margin: 0 0 10px;
  }
  .sample-popup-form form .tpl-field-button button {
    width: 100%;
  }
  .sample-popup-form form .tpl-field-button {
    display: block;
  }
  .sample-popup .sample-popup-text {
    font-size: 15px;
  }
}
.msgrs {
  position: fixed;
  left: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: row;
  z-index: 8;
}
.msgrs.msgrs_mobile {
  color: #000;
}
.msgrs.msgrs_mobile .msgrs_item a span {
  display: none;
}
.msgrs_list {
  position: absolute;
  bottom: 25px;
  left: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: 0;
  line-height: 0;
  font-size: 0;
  overflow-y: clip;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all linear;
}
.msgrs_list.opened {
  max-height: 275px;
  bottom: 55px;
  opacity: 1;
  visibility: visible;
}
.msgrs_item.phone a {
  background: url(msgrs_sprite.png) 0 100% no-repeat;
}
.msgrs_item a {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  background-repeat: no-repeat;
  transition: 0.3s opacity linear;
  position: relative;
  font-size: 0;
}
.msgrs_item a img {
  border-radius: 50%;
  max-width: 100%;
  max-height: 100%;
}
.msgrs_item a span {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  position: absolute;
  left: 100%;
  margin-left: 5px;
  top: 50%;
  margin-top: -15px;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s all linear;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.5);
}
.msgrs_item a:hover {
  opacity: 0.9;
}
.msgrs_item a:hover span {
  visibility: visible;
  opacity: 1;
}
.msgrs_item:not(.phone) {
  margin-bottom: 5px;
}
.msgrs_item.phone a {
  background-position: bottom left;
}
.msgrs_item.telegram a {
  background-position: top right;
}
.msgrs_item.whatsapp a {
  background-position: top -55px right 0;
}
.msgrs_item.viber a {
  background-position: top -110px right 0;
}
.msgrs_item.form a {
  background-position: top -165px right 0;
}
.msgrs_but {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  background-image: url(msgrs_sprite.png);
  background-repeat: no-repeat;
  background-position: bottom -55px right 0;
  cursor: pointer;
  transition: 0.3s opacity linear;
}
.msgrs_but:hover {
  opacity: 0.9;
}
.msgrs_but.opened {
  background-position: bottom 0 right 0;
}
