  #modal-lead-form {
    width: 100%;
    min-height: auto;
    padding: 0;
    text-align: center;
    font-size: 18px;
    font-family: 'Tele-GroteskNor';
    background: #E4E8F8;
    margin: 0 auto;
  }

  #modal-lead-form * {
    vertical-align: middle;
    box-sizing: border-box;
  }

  body .fancybox-outer {
    padding: 0;
  }


  .modal-lead-form-shown .fancybox-inner {
    overflow-x: hidden !important;
  }

  .modal-lead-form-shown .fancybox-outer {
    padding: 0;
  }

  #modal-lead-form .grey-mod {
    background: #E4E8F8;
    padding: 20px 25px 15px;
    text-align: left;
  }

  #modal-lead-form .grey-mod .nag {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    align-content: center;
  }

  #modal-lead-form .grey-mod .nag .ico-desc {
    padding: 0 15px;
    font-family: 'teleneomedium'
  }

  #modal-lead-form .grey-mod .nag .bar {
    border-bottom: 1px solid #ccc;
    height: 1px;
    flex: auto;
  }

  #modal-lead-form .grey-mod .p1 {
    font-family: 'teleneoregular';
    font-size: 32px;
    margin-top: 15px;
    color: #111523;
  }

  #modal-lead-form .grey-mod .p2 {
    font-family: 'teleneoregular';
    font-size: 16px;
    line-height: 1.35em;
    margin-top: 15px;
    color: #111523;
  }


  #modal-lead-form .white-mod {
    padding: 15px 25px;
  }

  #modal-lead-form form {
    border: none;
  }

  #modal-lead-form form input[type="text"],
  #modal-lead-form form input[type="tel"] {
    background: #FFF;
    border-radius: 6px;
    border: none;
    font-family: inherit;
    font-size: 18px;
    height: 50px;
    padding: 0 8px;
    text-align: left;
    width: 100%;
    margin: 0px;
    -webkit-box-shadow: 0px 3px 0px 0px rgba(204, 204, 204, 1);
    -moz-box-shadow: 0px 3px 0px 0px rgba(204, 204, 204, 1);
    box-shadow: 0px 3px 0px 0px rgba(204, 204, 204, 1);
  }

  #modal-lead-form form input[type="text"].error,
  #modal-lead-form form input[type="tel"].error {
    border: 1px solid red;
  }

  #modal-lead-form form input[type="text"].error+label.error,
  #modal-lead-form form input[type="tel"].error+label.error {
    color: red;
    position: absolute;
    top: -13px;
    left: 0px;
    font-size: 12px;
    line-height: 12px;
  }

  #modal-lead-form form input[type="checkbox"]#zgoda {
    position: absolute;
    /*visibility: hidden;*/
    opacity: 0
  }

  #modal-lead-form form input[type="checkbox"]~.fake-chx {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #ccc;
    position: relative;
    top: 2px;
    padding: 0 !important;
    vertical-align: top;
  }

  #modal-lead-form form input[type="checkbox"]:checked~.fake-chx {
    background: rgba(0, 0, 0, 0) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxQTFRF////4gB08H+58YC6XjDrMQAAADpJREFUeNq0zzEOACAMAsAC//+zxjZa4lzGYyBETIX8BKB3WyDrnoRwrEmZSZpLmXxed74ZR74vAQYARXgAZ2g4RzgAAAAASUVORK5CYII=") no-repeat scroll 0 0;
  }

  #modal-lead-form form input[type="checkbox"].error~.fake-chx {
    border: 1px solid red;
  }

  #modal-lead-form form input[type="checkbox"].error+label.error {
    color: red;
    position: absolute;
    top: -12px;
    left: 0px;
    font-size: 12px;
    line-height: 12px;
  }

  #modal-lead-form form .item {
    display: block;
    margin: 10px auto;
    width: 100%;
    padding: 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
  }

  #modal-lead-form form .item-inline {
    display: inline-block;
    position: relative;
  }


  #modal-lead-form form #submit {
    font-family: 'teleneoextrabold';
    display: inline-block;
    background: #e20074;
    padding: 15px 0 15px 0;
    width: 100%;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    line-height: 25px;
    border: none;
    cursor: pointer;
  }

  #modal-lead-form form #submit:hover {
    background: #FF0083;
  }

  #modal-lead-form form .legal-cont {
    font-size: 16px;
    line-height: 1.1em;
    display: inline-block;
    text-align: left;
  }

  #modal-lead-form form .legal-cont .roz-hide {
    color: #e20074;
    font-family: 'teleneomedium'
  }


  #modal-lead-form #thx,
  #modal-lead-form #err {
    text-align: center;
    padding: 50px 15px;
  }

  #modal-lead-form #thx p,
  #modal-lead-form #err p {
    font-size: 1.8em;
    line-height: 1.2em;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
  }

  @media (min-width: 600px) {


    #modal-lead-form {
      width: auto;
      min-height: auto;
    }

    #modal-lead-form .grey-mod .content {
      max-width: 500px;
      padding: 0 50px;
      margin: 0 auto;
    }


    #modal-lead-form form {
      max-width: 500px;
      padding: 0 50px 35px;
      margin: 0 auto
    }
  }

  @media (min-width: 1200px) {


    #modal-lead-form {
      width: auto;
      min-height: auto;
      /* padding-right: 536px;
      background: #F3F3F3 url(../images/modal-background.png) calc(75% + 130px) center no-repeat;
      background-size: 470px auto */
    }

    #modal-lead-form .grey-mod {
      /* background: white; */
    }

    #modal-lead-form .white-mod {
      /* background: white; */
    }
  }
