.lightmode #site-footer {
    background-color: #03080b;
    box-shadow: 0 0 5px #777;
}

.lightmode #site-footer,
.lightmode #site-footer .footer-resources .resource-list .list-header,
.lightmode #site-footer .footer-resources .resource-list ul li a,
.lightmode #site-footer .footer-resources .privacy,
.lightmode #site-footer .footer-resources .privacy a {
    color: #fff;
}

.darkmode #site-footer {
    background-color: #fff;
    box-shadow: 0 0 5px #ccc;
}

.darkmode #site-footer,
.darkmode #site-footer .footer-resources .resource-list .list-header,
.darkmode #site-footer .footer-resources .resource-list ul li a,
.darkmode #site-footer .footer-resources .privacy,
.darkmode #site-footer .footer-resources .privacy a {
    color: #03080b;
}

#site-footer {
    display: flex;
    position: relative;
    justify-content: space-between;
    min-height: 50px;
    padding: 16px 48px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    z-index: 500;
}

#site-footer .footer-resources,
#site-footer .footer-controls {
    display: flex;
    flex-direction: column;
}

#site-footer .footer-resources .resource-list {
    margin: 0 0 2em 0;
}

#site-footer .footer-resources .resource-list .list-header {
    text-decoration: underline;
}

#site-footer .footer-resources .resource-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-footer .footer-resources .resource-list a:hover {
    text-decoration: underline !important;
}

#site-footer .footer-controls {
    align-items: flex-end;
}

#site-footer .footer-controls #lang-wrapper {
    margin-top: 24px;
}

#site-footer .footer-controls #lang-wrapper #flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#site-footer .footer-controls #lang-wrapper #flags a.flag {
    box-sizing: border-box;
    width: 40px;
    height: 26px;
    background-size: 40px 40px !important;
    margin: 0 0 8px 8px;
}

.darkmode #site-footer .footer-controls #lang-wrapper #flags a.flag {
    box-shadow: 1px 1px 3px #aaa;
}

/* .darkmode #site-footer .footer-controls #lang-wrapper #flags a.flag:hover {
    box-shadow: 1px 1px 5px #555;
} */

/* .lightmode #site-footer .footer-controls #lang-wrapper #flags a.flag {
    box-shadow: 1px 1px 3px #aaa;
} */

/* .lightmode #site-footer .footer-controls #lang-wrapper #flags a.flag:hover {
    box-shadow: 1px 1px 5px #555;
} */

/* MODE TOGGLER */
#site-footer .footer-controls #ui-mode label {
	width: 118px;
	height: 42px;
	position: relative;
	display: flex;
    justify-content: space-around;
    background: #03080b;
	border-radius: 15px;
	box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4), inset 0px -5px 15px rgba(255,255,255,0.4);
	cursor: pointer;
	transition: 0.3s;
}

#site-footer .footer-controls #ui-mode label:after {
	content: "";
	width: 55px;
	height: 36px;
	position: absolute;
	top: 3px;
	left: 3px;
	background: linear-gradient(180deg,#3EBC61,#71CF25);
	border-radius: 12px;
	box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
	transition: 0.3s;
}

#site-footer .footer-controls #ui-mode input#lightmode-toggle {
	width: 0;
	height: 0;
	visibility: hidden;
}

#site-footer .footer-controls #ui-mode input#lightmode-toggle:checked + label {
	background: #fff;
}

#site-footer .footer-controls #ui-mode input#lightmode-toggle:checked + label:after {
	left: 115px;
	transform: translateX(-100%);
    background: linear-gradient(180deg,#3EBC61,#71CF25);
}

#site-footer .footer-controls #ui-mode label:active:after{
	width: 60px;
}

#site-footer .footer-controls #ui-mode label span {
	width: fit-content;
    height: fit-content;
    position: relative;
	top: 10px;
	z-index: 100;
}

#site-footer .footer-controls #ui-mode label span.lightmode-symbol {
    color: #fff;
	transition: 0.3s;
}

#site-footer .footer-controls #ui-mode label span.darkmode-symbol {
	transition: 0.3s;
}

@media screen and (max-width: 600px) {
    
    #site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    #site-footer .footer-controls {
        align-items: flex-start;
    }

    #site-footer .footer-resources {
        margin: 32px 0 8px 0;
    }

    #site-footer .footer-controls {
        margin: 0 0 32px 0;
    }

    #site-footer .footer-controls #lang-wrapper #flags a.flag {
        margin: 0 8px 8px 0;
    }
}

@media screen and (max-width: 450px) {
    
    #site-footer {
        padding: 32px 16px;
    }

    #site-footer .footer-controls,
    #site-footer .footer-resources {
        margin: 0 0 16px 0;
    }
}

/* Footer search... */
#footer-search {
background-color: #5fa624 !important;
background-image: url("/assets/bg/header-bga.png") !important;
margin: 0 auto;
width: 100%;
display: block;
padding: 0;
}

#footer-search h1 {
background-color: transparent;
display: block;
text-align: left;
color: white;
font-size: 32px;
font-weight: 400;
}

.black-button {
background-color: #03080b !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
text-transform: capitalize;
}

.black-button:hover {
background-color: #0d212d !important;
}

#footer-search span {
background-color: transparent;
display: block;
text-align: left;
color: white;
font-size: 16px;
line-height: 28px;
font-weight: 500;
margin-left: 3px;
}

.footer-content {
border: none;
margin: 0 auto !important;
max-width: calc(1264px - 2%);
}

@media screen and (max-width: 1300px) {
.footer-content {
    max-width: calc(100% - 4%);
}
}

.footer-content-inner {
padding-top: 32px;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}

#footer-landing-search {
background-color: #5fa624;
background-image: url("/assets/bg/header-bga.png");
padding: 12px 0 32px;
max-width: none;
}

#footer-landing-search-inner {
display: block;
}