/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Styles for the modal */
#myModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

/* Styles for the modal content */
.modal-content {
    background-color: #fefefe !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #888 !important;
    width: 80%;
    max-width: 800px; /* Adjust the maximum width as needed */
    overflow: hidden; /* Hide scrollbars by default */
}

/* Styles for the close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

/* Styles for the close button on hover */
.close:hover {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile-responsive styles */
@media (max-width: 600px) {
    .modal-content {
        overflow: auto; /* Display scrollbars on mobile */
    }
}

/* Styles for the form */
.gform_wrapper ul li.gfield {
    margin-top: 10px !important;
}
.gform_wrapper li.hidden_label input {
    margin-top: 0px !important;
    padding: 5px 10px !important;
}

.gform_wrapper textarea {
    padding: 5px 10px !important;
}