/**
 * Manex Footer Styles
 */

/* Footer Styles */
.manex-footer {
    background-color: #0f3074 !important;
    color: #ffffff;
    padding: 30px 0;
    margin-top: 40px;
}

.manex-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.manex-footer .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.manex-footer .columns {
    width: 100%;
    text-align: center;
}

.manex-footer .copyright-logo {
    margin-bottom: 15px;
}

.manex-footer .copyright-logo img {
    max-width: 200px;
    height: auto;
}

.manex-footer .copyright {
    font-size: 1rem;
    margin-bottom: 10px;
}

.manex-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.manex-footer a:hover {
    color: #f0f0f0; /* Different shade of white instead of opacity change */
    text-decoration: underline;
}

/* Modal Styles */
.manex-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 30px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.manex-modal-content {
    background-color: #ffffff;
    margin: 100px auto; /* Increased from 5% to 100px to position below navbar */
    padding: 30px;
    border-radius: 5px;
    max-width: 1000px; /* Increased from 800px for wider modals */
    width: 90%; /* Increased from 80% */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.manex-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.manex-modal-close:hover,
.manex-modal-close:focus {
    color: #0f3074;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .manex-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .manex-footer .copyright-logo img {
        max-width: 150px;
    }
}
footer a { color:#ffffff !important;}
footer a:hover { color:#ffffff !important;}

.manex-footer a { color:#ffffff !important; text-decoration:none;}
.manex-footer a:hover { color:#ffffff !important; text-decoration:none;}