/*
 General styles, load on all pages
 */
.my-modal {
    display: none;
    position: fixed;
    z-index: 850;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.my-modal-content {
    background: #fff;
    margin: 5% auto;
    width: 680px;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.my-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 25px;
    background-color: #3d3d3d;
    border-bottom: 1px solid #ddd;
}

.my-modal-header h2 {
    margin: 0;
    font-size: 18px;
    flex: 1;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}

.my-close {
    cursor: pointer;
    font-size: 40px;
    margin-left: auto;
    color: #fff;
}

.my-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.my-modal-body .gform_heading {
    display: none;
}

.my-modal-body .gform-theme--foundation .gform_fields {
    column-gap: 20px;
    row-gap: 25px;
}

.my-modal-body .gform-datepicker {
    width: 100% !important;
}

.my-modal-body .gform-theme--foundation label {
    font-weight: bold;
}

.my-modal-body .gform-theme--framework input:focus,
.my-modal-body .gform-theme--framework textarea:focus,
.my-modal-body .gform-theme--framework select:focus {
    border-color: #111 !important;
}

.my-modal-body input[type="submit"] {
    background-color: transparent !important;
    border: 1px solid #111 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    animation: .1s ease all;
}

.my-modal-body input[type="submit"]:hover {
    background-color: #111 !important;
    color: #fff !important;
}
