﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body
{
    margin-bottom: 60px;
    font-family: "SimplerPro_HLAR", sans-serif !important;
    font-size: 1.1em;
    -webkit-font-smoothing: antialiased;
}


.text-link {
    color: #04283E !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


.mandel-footer {
    background: linear-gradient(135deg, #2c4f7c 0%, #1e3a5f 100%);
    color: white;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: -62px;
}

   /* .mandel-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        pointer-events: none;
    }*/

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .footer-logo img {
        width: 60px;
        height: auto;
        margin-left: 15px;
    }

.logo-flags {
    display: flex;
    gap: 8px;
}

    .logo-flags span {
        width: 32px;
        height: 24px;
        border-radius: 3px;
        display: inline-block;
    }

.flag-israel {
    background: linear-gradient(to bottom, #0038b8 33%, white 33%, white 66%, #0038b8 66%);
    position: relative;
}

    .flag-israel::after {
        content: '✡';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #0038b8;
        font-size: 12px;
    }

.flag-usa {
    background: linear-gradient(to bottom, #b22234 0%, #b22234 7.7%, white 7.7%, white 15.4%, #b22234 15.4%);
    position: relative;
}

    .flag-usa::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40%;
        height: 53.8%;
        background: #3c3b6e;
    }

.mandel-logo {
    
    color: #2c4f7c;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}

.mandel-grid {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    margin-top: 33px;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-section h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: #fff;
                text-decoration: underline;
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .mandel-footer {
        padding: 30px 0 20px;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .footer-section {
        margin-bottom: 25px;
    }

        .footer-section h5 {
            font-size: 16px;
            margin-bottom: 15px;
            cursor: pointer;
            position: relative;
            padding-left: 20px;
        }

            .footer-section h5::before {
                content: '▼';
                position: absolute;
                right: 0;
                top: 0;
                font-size: 12px;
                transition: transform 0.3s ease;
            }

        .footer-section.collapsed h5::before {
            transform: rotate(-90deg);
        }

        .footer-section.collapsed ul {
            display: none;
        }

        .footer-section ul li {
            margin-bottom: 8px;
            padding-right: 10px;
        }

    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .mandel-logo {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-section h5 {
        font-size: 16px;
    }
}

/* Animation for mobile accordion */
.footer-section ul {
    transition: all 0.3s ease;
    overflow: hidden;
}


.rtl-jbox .jBox-title {
    direction: rtl;
    text-align: right !important;
}

.jBox-Confirm-button-submi {
    background: #0d4e70 !important;
}

.thankYouPage{
    margin-bottom: 120px;
}
.thankYouPage a{
    text-decoration: none;
}
.jBox-overlay
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .33);
}
.jBox-Modal .jBox-container
{
    border-radius: 16px;
}
.jBox-container{
    min-width: 400px;
    padding-top: 20px;
    padding-bottom: 40px;
}
.jBox-wrapper
{
    text-align: right;
    box-sizing: border-box;
}
.jBox-content
{
    padding: 8px 12px;
    overflow-x: auto; 
    overflow-y: auto;
    position: inherit;
    transition: opacity .2s;
    width: 100%;
    min-width: initial;
    min-height: initial;
    height: auto;
}
.jBox-Confirm .jBox-content{
    padding: 0 40px 20px 40px;
}
.jBox-Modal .jBox-title
{
    border-bottom: 0 !important;
    background-color: transparent !important;
    text-align: center;
}
.jBox-title{
    font-size: 1.15em;
    font-weight: 600;    
}

.jBox-Confirm-footer
{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.jBox-Confirm-button{
    width: 75px;
    border-radius: 16px;
    margin-right: 12px;
    margin-left: 12px;
    height: 38px;
    line-height: 38px;

}
.jBox-Confirm-button-submit
{   
    background: #2c4f7c;
    color: #fff;
}
    .jBox-Confirm-button-submit:active, .jBox-Confirm-button-submit:hover
    {
        background: #2c4f7c;
    }
