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: 600;
    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: 15px 0 0;
    font-size: 15px;
    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 .timer-block {
    display: -moz-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
    margin: 0px 0px 25px 0px; }
    @media (max-width: 480px) {
  .sample-popup .timer-block {
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-direction: normal;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; } }
    .sample-popup .timer-block .title-text-time {
      -webkit-box-flex: 0;
      -webkit-flex: 0 1 100%;
      -moz-box-flex: 0;
      -moz-flex: 0 1 100%;
      -ms-flex: 0 1 100%;
      flex: 0 1 100%;
      padding: 0px 10px 0px 0px;
      font-weight: bold;
      font-size: 20px; }
      @media (max-width: 480px) {
  .sample-popup .timer-block .title-text-time {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -moz-box-flex: 0;
    -moz-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding-bottom: 15px;
    text-align: center; } }
    .sample-popup .timer-block .timer {
      padding: 0;
      margin: 0;
      list-style: none;
      display: -moz-box;
      display: -webkit-box;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-direction: normal;
      -webkit-box-orient: horizontal;
      -webkit-flex-direction: row;
      -moz-flex-direction: row;
      -ms-flex-direction: row;
      flex-direction: row;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      -moz-align-items: center;
      align-items: center; }
      .sample-popup .timer-block .timer li {
        padding: 10px 0px 10px 0px;
        margin: 0px 5px 0px 5px;
        display: -moz-box;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-direction: normal;
        -webkit-box-orient: horizontal;
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
        justify-content: center;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        background: #fff;
        color: #1f84a0;
        width: 50px;
        text-align: center; }
        .sample-popup .timer-block .timer li span {
          display: block;
          -webkit-box-flex: 0;
          -webkit-flex: 0 0 auto;
          -moz-box-flex: 0;
          -moz-flex: 0 0 auto;
          -ms-flex: 0 0 auto;
          flex: 0 0 auto;
          font-weight: 700;
          font-size: 19px; }
        .sample-popup .timer-block .timer li div {
          -webkit-box-flex: 0;
          -webkit-flex: 0 0 100%;
          -moz-box-flex: 0;
          -moz-flex: 0 0 100%;
          -ms-flex: 0 0 100%;
          flex: 0 0 100%;
          font-weight: 500;
          font-size: 14px; }
    .sample-popup .timer-block .text-after {
      padding: 0px 0px 0px 0px;
      display: none;
      font-size: 18px;
      color: #ef7f1a; }
  .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; }
    @media (max-width: 768px) {
  .sample-popup-form form .tpl-field-button div {
    width: 50%; } }
    .sample-popup-form form .tpl-field {
      padding-bottom: 15px;
      width: 50%;
      padding: 0 10px 10px 0;
      font-size: 14px; }
      @media (max-width: 768px) {
  .sample-popup-form form .tpl-field {
    width: 100%;
    padding-right: 0; } }
      .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: #00acff;
        outline: none;
        padding: 12px 20px;
        cursor: pointer;
        border-radius: 5px; }

@media (max-width: 360px) {
  .sample-popup {
    padding-left: 10px;
    padding-right: 10px; } }
