/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    /* padding-top: 100px; */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    
    position: relative;
}
.modal .contacts .form{
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 40px;
    box-sizing: border-box;
  }
  .modal .contacts .form .form__title{
      width: 100%;
      width: 100%;
    text-align: center;
    margin-bottom: 17px;
    }
    .modal .contacts .form form{
        width: 100%;
    }
    .modal .contacts .form form .row:first-child{
        flex-direction: column;
        gap: 17px;
    }
    .modal .contacts .form form .row:first-child .form-group{
        width: 100%;
    }
    .modal .contacts .form form .row:last-child{
        flex-direction: column;
    }
    .close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        position: absolute;
        left: auto;
        right: 0;
        z-index: 2;
        right: 25px;
        top: 25px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
