.form-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: -moz-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -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;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow: auto; }
  .form-wrapper.opened {
    opacity: 1;
    visibility: visible; }
  .form-wrapper .form-wrapper-inner {
    max-width: 500px;
    background: #014586;
    background-image: linear-gradient(to right, rgba(0, 65, 133, 1) 0%, rgba(32, 216, 178, 1) 100%), linear-gradient(rgba(0, 65, 133, 1) 0%, rgba(0, 65, 133, 1) 100%);
    padding: 0;
    border-radius: 0;
    position: relative;
    margin: auto;
    padding-bottom: 20px;
    border-radius: 15px; }
  .form-wrapper .form-wrapper-pic {
    font-size: 0;
    border-radius: 15px 15px 0 0;
    overflow: hidden; }
  .form-wrapper .form-wrapper-title {
    padding: 20px 20px 0;
    color: #fff;
    font-size: 18px; }
  .form-wrapper .form-wrapper-text {
    padding: 20px 20px 0;
    color: #fff;
    font-size: 16px; }
  .form-wrapper .form-wrapper-form {
    padding: 20px 20px 0; }
  .form-wrapper .title {
    font-size: 20px;
    padding-bottom: 20px;
    text-align: center; }
  .form-wrapper .tpl-anketa-success-note {
    font-size: 20px;
    text-align: center; }
  .form-wrapper .tpl-field {
    padding-bottom: 10px; }
    .form-wrapper .tpl-field ul {
      margin: 0;
      padding: 0;
      list-style: 0; }
    .form-wrapper .tpl-field input[type=text], .form-wrapper .tpl-field input[type=phone], .form-wrapper .tpl-field input[type=email], .form-wrapper .tpl-field textarea {
      outline: none;
      border: none;
      padding: 0;
      border: 1px solid #ccc;
      border-radius: 4px;
      width: 100%;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      height: 45px;
      padding: 0 15px;
      font-size: 20px; }
      .form-wrapper .tpl-field input[type=text]:focus, .form-wrapper .tpl-field input[type=phone]:focus, .form-wrapper .tpl-field input[type=email]:focus, .form-wrapper .tpl-field textarea:focus {
        border-color: #000; }
    .form-wrapper .tpl-field input, .form-wrapper .tpl-field textarea {
      background-color: #fff;
      color: #000; }
      .form-wrapper .tpl-field input:placeholder, .form-wrapper .tpl-field textarea:placeholder {
        color: #000; }
    .form-wrapper .tpl-field textarea {
      resize: none;
      padding-top: 5px;
      padding-bottom: 5px;
      height: 76px; }
    .form-wrapper .tpl-field.field-error input, .form-wrapper .tpl-field.field-error textarea {
      border-color: #f00; }
    .form-wrapper .tpl-field.tpl-field-button {
      text-align: center; }
      .form-wrapper .tpl-field.tpl-field-button button {
        outline: none;
        border: none;
        background: none;
        padding: 13px 15px 14px;
        cursor: pointer;
        background: #2edab8;
        color: #fff;
        border-radius: 5px;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 16px;
        font-family: Montserrat, sans-serif;
        min-width: 200px;
        position: relative;
        overflow: hidden;
        box-shadow: inset 0px -4px 2px 0px rgba(0, 0, 0, 0.15), 0px 10px 20px -10px rgba(0, 65, 133, 0.5); }
        .form-wrapper .tpl-field.tpl-field-button button:before {
          content: "";
          width: 40px;
          height: 500px;
          position: absolute;
          top: -50%;
          right: -50%;
          bottom: -50%;
          left: -50%;
          background: linear-gradient(to bottom, rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.7) 50%, rgba(229, 172, 142, 0));
          transform: rotate(320deg) translateY(-50%);
          animation: name-of-animation 2.5s infinite; }
        .form-wrapper .tpl-field.tpl-field-button button:hover:before {
          left: 600px; }
  .form-wrapper .field-required-mark {
    color: #f00; }
  .form-wrapper .error-message {
    display: none; }
  .form-wrapper .icon-close {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0) url("/shared/highslide-4.1.13/graphics/close.png") repeat scroll 0 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: 0; }

@media (max-width: 450px) {
  .form-wrapper .form-wrapper-inner {
    width: 270px; } }

.tpl-field.type-checkbox li {
  color: #fff;
  list-style-type: none; }
  .tpl-field.type-checkbox li a {
    color: #effcfa; }
  @media (max-width: 640px) {
  .tpl-field.type-checkbox li {
    line-height: 2px; }
    .tpl-field.type-checkbox li label {
      font-size: 10px;
      line-height: 1; } }
