/* FOOTER */

.FOOTER {
	border-radius: var(--s4) var(--s4) 0 0;
	color: var(--white);
	background: var(--dark-blue-gradient);
}

.FOOTER .b-frame {
	padding-top: var(--s8);
	padding-bottom: var(--s4);
}

.FOOTER a:not(.b-button) {
	color: var(--white);
	text-decoration: none;
}

.FOOTER a:not(.b-button):hover {
	color: var(--white) !important;
	text-decoration: underline;
}

.FOOTER .logomark {
	width: 69rem;
	height: 67rem;
	background: url('../images/footer-logomark.svg') no-repeat center / 100%;
}

.FOOTER .sitemap {
	font-size: 16rem;
}

.FOOTER .sitemap .heading {
	display: block;
	text-transform: uppercase;
	font-size: 18rem;
	font-weight: 500;
	margin-bottom: var(--s2);
}

.FOOTER .sitemap > ul {
	display: flex;
	justify-content: space-between;
}

.FOOTER .sitemap > ul > li {
	margin: 0;
}

.FOOTER .sitemap > ul > li:last-child {
	padding-right: var(--s6);
}

.FOOTER .sitemap li {
	margin: var(--s2) 0;
}

.FOOTER .legal {
	border-top: 1rem solid rgba(255,255,255,0.5);
	margin: var(--s6) 0 0;
	padding: var(--s4) 0 0;
	font-size: 14rem;
	display: flex;
	justify-content: space-between;
	line-height: 1.8;
}

.FOOTER .copyright {
	opacity: 0.8;
	white-space: nowrap;
}

.FOOTER .links {
	opacity: 0.8;
	text-align: right;
}

.FOOTER .legal .links a {
	vertical-align: top;
	display: inline-block;
	padding-left: var(--s1);
	white-space: nowrap;
}

.FOOTER .social {
	position: absolute;
	top: 210rem;
	left: 23rem;
}

.FOOTER .social a {
	margin: 0 6rem;
	display: inline-block;
	vertical-align: top;
}

@media screen and (max-width: 1440px) {
	.FOOTER .b-column:first-child {width: 16.666666%;}
	.FOOTER .b-column:last-child {width: 83.333333%;}
	.FOOTER .sitemap {font-size: 14rem;}
	.FOOTER .sitemap > ul > li:last-child {padding-right: 0;}
	.FOOTER .links {max-width: 830rem;}
}

@media screen and (max-width: 960px) {
	.FOOTER {border-radius: 0;}
	.FOOTER .b-column:first-child {width: 100%;}
	.FOOTER .b-column:last-child {display: none;}
	.FOOTER .b-frame {padding-top: var(--s6); padding-bottom: var(--s6);}
	.FOOTER .logomark {margin: 0 auto;}
	.FOOTER .b-buttons {margin-top: var(--s6); margin-bottom: var(--s6);}
	.FOOTER .legal {border-top: none; flex-direction: column; margin-top: 0; padding-top: 0;}
	.FOOTER .copyright {text-align: center; order: 2; margin: var(--s5) 0 var(--s3); width: auto; opacity: 1;}
	.FOOTER .social {order: 3; position: static; text-align: center}
	.FOOTER .links {order: 1; text-align: center; width: auto; display: flex; flex-direction: column;}
	.FOOTER .legal .links a {padding: 0 0 var(--s2); text-decoration: none;}
}



/* NAV */

.NAV .b-frame {
	padding-top: 0;
	padding-bottom: var(--s5);
}

.NAV nav {
	position: relative;
    background: var(--white);
    border-radius: var(--s3);
    padding: var(--s3);
}

.NAV .b-buttons {
	display: flex;
	margin: var(--s5) 0 0;
	flex-wrap: wrap;
	justify-content: space-between;
}

.NAV .b-buttons .b-button {
	width: 100%;
	margin: 0 0 var(--s4);
}

.NAV .b-buttons a:not(.b-button){
	color: var(--white);
	font-size: 16rem;
	text-decoration: none;
}

.NAV nav input {
	display: none;
}

.NAV nav .a {
	display: block;
	font-size: 16rem;
	text-transform: uppercase;
	font-weight: 500;
	position: relative;
	color: black;
	cursor: pointer;
}

.NAV nav .a::after {
	content: "";
	display: block;
	position: absolute;
	top: 6rem;
	right: 0;
	width: 20rem;
	height: 10rem;
	background: url('../images/ui-expand-alt.svg') no-repeat center / 100%
}

.NAV nav a:not(.b-button) {color: var(--black); text-decoration: none;}
.NAV nav a:not(.b-button):hover {color: var(--blue);}

/* teir 1 */

.NAV nav > ul > li {
	position: relative;
	padding: var(--s2) 0;
}

/* teir 2 */

.NAV nav ul ul {
	max-height: var(--height);
	overflow: hidden;
	transition: max-height 0.25s;
}

.NAV nav ul ul > li:not(.heading) {
	border-left: 1rem solid var(--blue-500);
	font-size: 16rem;
	padding: 0 0 0 var(--s2);
}

.NAV nav ul ul > li a {
	display: block;
	padding: var(--s2);
	border-radius: var(--s1);
}

.NAV nav ul ul > li a:hover {
	background: var(--blue-50);
}

.NAV nav ul ul > li.heading {
	margin-bottom: var(--s1);
	font-size: 14rem;
	text-transform: uppercase;
	margin-top: var(--s4);
	font-weight: 500;
	color: var(--blue-700);
}

.NAV nav ul ul > li:first-child {margin-top: var(--s2) !important;}
.NAV nav ul ul > li.heading:first-child {margin-top: var(--s4) !important;}

/* teir 2 open */

.NAV nav input:not(:checked) ~ ul {max-height: 0 !important;}
.NAV nav input:checked ~ .a::after {transform: scaleY(-1);}
