/* =========================
   FOOTER
========================= */

:root{
    --footer-accent:#F59E0B;   /* vertical bar on headings (change to #2FA88A for green) */
    --footer-green:#2FA88A;
    --footer-text:#d6d6d6;
    --footer-line:rgba(255,255,255,.10);
}

.main-footer{
    background:linear-gradient(to right,#2E0E57,#1B0638);
    color:#fff;
    padding:60px 0 0;
    overflow:hidden;
}

/* CENTERED WIDTH */

.main-footer .container{
    max-width:1300px;
}

.main-footer .row{
    align-items:flex-start;
}

/* FOOTER BOX */

.footer-box h4{
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.3px;
    color:var(--footer-green);
    line-height:1.35;
    margin:0 0 26px;
    padding-left:12px;
    border-left:3px solid var(--footer-accent);
}

.footer-box p{
    color:var(--footer-text);
    line-height:1.6;
    margin-bottom:12px;
    font-size:15px;
}

/* LINKS */

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin:0;
    border-bottom:1px solid var(--footer-line);
}

.footer-links a{
    display:block;
    color:var(--footer-text);
    text-decoration:none;
    font-size:15px;
    line-height:1.5;
    padding:10px 0;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--footer-accent);
    padding-left:5px;
}

/* hide the old external-link icon, replace with chevron */

.footer-links li a i{
    display:none;
}

.footer-links li a::before{
    content:"";
    display:inline-block;
    width:6px;
    height:6px;
    border-top:2px solid var(--footer-green);
    border-right:2px solid var(--footer-green);
    transform:rotate(45deg);
    margin-right:14px;
    vertical-align:middle;
    position:relative;
    top:-1px;
    transition:.3s;
}

.footer-links li a:hover::before{
    transform:translateX(3px) rotate(45deg);
}

/* =========================
   MAP
========================= */

.footer-map{
    width:100%;
}

.footer-map iframe{
    display:block;
    width:100%;
    max-width:500px;
    height:280px;
    border:none;
    border-radius:4px;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
    border-top:1px solid var(--footer-line);
    margin-top:35px;
    padding:22px 0;
    clear:both;
    text-align:center;
}

/* stack both bottom columns and center them */

.footer-bottom .row{
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.footer-bottom [class*="col-"]{
    flex:0 0 auto;
    width:100%;
    text-align:center !important;
}

.footer-bottom .text-lg-end{
    margin-top:6px;
}

.footer-bottom p{
    margin:0;
    color:var(--footer-text);
    font-size:14px;
    line-height:1.8;
}

.footer-bottom a{
    color:var(--footer-green);
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.footer-bottom a:hover{
    color:var(--footer-accent);
}

/* =========================
   SITE MAINTAINED BAR
========================= */

.site-maintained{
    background:#021020;
    color:#fff;
    text-align:center;
    padding:14px 20px;
    margin-top:0;
    font-size:14px;
    letter-spacing:.3px;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.site-maintained span{
    color:var(--footer-accent);
    font-weight:600;
    margin-left:8px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .main-footer .container{
        max-width:960px;
    }

    .footer-map iframe{
        max-width:230px;
        height:250px;
    }

}

@media(max-width:992px){

    .main-footer{
        padding:50px 0 0;
    }

    .footer-box{
        margin-bottom:35px;
    }

    .footer-map iframe{
        max-width:280px;
        height:250px;
    }

}

@media(max-width:768px){

    .main-footer{
        padding:40px 0 0;
    }

    .footer-box{
        margin-bottom:30px;
    }

    .footer-box h4{
        font-size:15px;
        margin-bottom:20px;
    }

    .footer-map iframe{
        width:100%;
        max-width:100%;
        height:220px;
    }

    .footer-bottom{
        margin-top:10px;
        padding:18px 0;
    }

    .footer-bottom p{
        font-size:13px;
    }

    .site-maintained{
        font-size:12px;
        line-height:1.8;
        padding:12px 15px;
    }

    .site-maintained span{
        display:block;
        margin-top:5px;
        margin-left:0;
    }

}

@media(max-width:480px){

    .footer-box h4{
        font-size:14px;
    }

    .footer-links a,
    .footer-box p{
        font-size:14px;
    }

    .footer-map iframe{
        height:200px;
    }

}