/**
 * Overlay
 * -- only show for tablet and up
 */
 @media only screen and (min-width: 40em) {
    .modal-overlay {
      display: flex;
      align-items: center;
      justify-content: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 5;
      background-color: rgba(0, 0, 0, 0.6);
      opacity: 0;
      visibility: hidden;
      -webkit-backface-visibility: hidden;
              backface-visibility: hidden;
      transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    }
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
  }
  /**
   * Modal
   */
  .modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    background-color: #fff;
    width: 600px;
    max-width: 75rem;
    min-height: 20rem;
    padding: 1rem;
    border-radius: 3px;
    opacity: 0;
    z-index: 10050;
    overflow-y: auto;
    visibility: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    transform: scale(1.2);
    transition: all 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  }
  .modal .close-modal {
    position: absolute;
    cursor: pointer;
    top: 5px;
    right: 15px;
    opacity: 0;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    transition-delay: 0.3s;
  }
  .modal .close-modal svg {
    width: 1.75em;
    height: 1.75em;
  }
  .modal .modal-content {
    opacity: 0;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    transition-delay: 0.3s;
  }
  .modal.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
  }
  .modal.active .modal-content {
    opacity: 1;
  }
  .modal.active .close-modal {
    transform: translateY(10px);
    opacity: 1;
  }
  /****forms****/
  .modal .modal-content h3{
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 22px!important;
  }
  .modal .modal-content form{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }
  .modal .modal-content .wrap-form-call{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
    padding: 10px 20px;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-name{
    width: 100%;
    height: 80px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-name label{
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    font-size: 18px;
    font-weight: 600;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-name input{
    width: 100%;
    height: 50px;
    display: block;
    position: relative;
    padding: 0 20px;
    border-radius: 10px;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-tell{
    width: 100%;
    height: 80px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-tell label{
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    font-size: 18px;
    font-weight: 600;
  }
  .modal .modal-content .wrap-form-call .wrap-form-call-tell input{
    width: 100%;
    height: 50px;
    display: block;
    position: relative;
    padding: 0 20px;
    border-radius: 10px;
  }
  .modal .modal-content .wrap-form-call .submit{
      width: 100%;
      height: 50px;
      display: block;
      position: relative;
      background-color: #000000;
      border: none;
      color: #FCEF00;
      border-radius: 10px;
      font-size: 22px;
    }
.modal .modal-content .wrap-form-call .submit:hover{
    color: #000000;
    background-color: #FCEF00;
}
  /****forms****/
  /**
   * Mobile styling
   */
  @media only screen and (max-width: 39.9375em) {
     .modal {
      position: fixed;
      /*top: 0;
      left: 0;
      width: 100%;
      height: 100%;*/
      top: 20%;
      left: 0;
      width: 100%;
      height: 50%;  
      -webkit-overflow-scrolling: touch;
      border-radius: 0;
      transform: scale(1.1);
      padding: 0 !important;
    }
  
    .close-modal {
      right: 20px !important;
    }
  }

  @media only screen and (max-width : 992px){

  }
  @media only screen and (max-width : 768px){
  
  }
  @media only screen and (max-width : 576px){
    .modal .modal-content h3 {
      font-size: 16px;
    }
  }
  @media only screen and (max-width : 480px){
  
  }
  @media only screen and (max-width : 375px){
  
  }