/* --------------- HEADER ------------------- */

header {
	position: sticky;
	width: 100%;
	top: 15px;
	z-index: 1000;
}

.logged-in header {
	top: 35px;
}

header #logo {
	height: 90px;
	transition: all 300ms;
	padding: 10px 0;
}

@media screen and (max-width: 768px) {
	header #logo {
		height: 70px;
	}
}

header #logo img {
	height: 100%;
}

header.sticky #logo {
	height: 60px;
}


header .container {
	border-radius: 16px;
	backdrop-filter: blur(20px);
}

header .innerrow {
	justify-content: space-between;
	flex-wrap: nowrap;
}

header .innerrow [class *='col-']{
	margin-bottom: 0;
}

#main_menu {
	display: flex;
	justify-content: center;
}

#calltoaction_menu {
	align-items: center;
	display: flex;
	justify-content: flex-end;
}

header .button {
	margin-top: 0;
	padding: 8px 16px 9px;
}

/* --------------- MENU ------------------- */

.menu {
	align-items: center;
	display: flex;
	height: 100%;
}

.menu ul {
	display: flex;
	margin: 0;
}

.menu li {
	list-style: none;
}

header .menu li a {
	font-weight: bolder;
	padding: 10px 25px;
	text-decoration: none;
}

header .menu li a:hover, header li.current_page_item > a {
	color: var(--secondary);
	text-decoration: underline;
}

header .button {
	font-size: 14px;
	padding: 6px 10px;
}

/* --------------- Submenu ------------------- */

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children > a:after {
	content: '\f078';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.8rem;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: var(--fa-display, inline-block);
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	margin-left: 5px;
	text-rendering: auto;
}

#menu-main-menu.menu ul.sub-menu {
	background: #fff;
	border: 1px solid rgba(230, 229, 235, 1);
	border-radius: 8px;
	display: none;
	position: absolute;
	padding: 10px 0;
	top: 30px;
	width: 265px;
}

#menu-main-menu.menu ul.sub-menu a {
	display: inline-block;
	padding: 8px 25px;
	width: 100%;
}

#menu-main-menu.menu ul.sub-menu a:before {
	content: '\f061';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 1rem;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: var(--fa-display, inline-block);
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	margin-right: 8px;
	text-rendering: auto;
}

#menu-main-menu.menu .menu-item-has-children:hover  ul.sub-menu {
	display: block;
}


/* --------------- SIDENAVIGATION ------------------- */

.sidenavigation li {
	list-style: none;
}

.sidenavigation li:last-child {
	margin-top: 25px;
}

.sidenavigation li a {
	display: flex;
}

.sidenavigation li a i {
	padding-top: 4px;
}

.sidenavigation ul {
	margin-bottom: 20px;
	margin-left: 0;
}

/* --------------- FOOTER ------------------- */
footer img {
	max-width: 180px;
}

footer .menu, footer .menu > ul {
	align-items: flex-start;
	flex-direction: column;
	justify-content: flex-start;
}

footer .menu li a {

	font-size: 1rem;
	font-weight: normal;
	display: inline-block;
	line-height: 1.2;
	padding: 8px 0;
	text-decoration: none;
}

footer .info i {
	color:var(--secondary);
	padding-right: 10px;
	padding-top: 5px;
}
footer .info a {
	color: var(--secondary);
	font-weight: bold;
}


footer .info div {
	display: flex;
	margin-bottom: 30px;
}

footer .info a:hover {
	color: var(--primary);
}

footer .description {
	font-size: 1rem;
	padding-right: 40px;
}

footer h6 {
	margin-top: 1rem;
}

@media screen and (max-width: 1024px) {

	footer row {
		flex-wrap: wrap;
	}
	footer .col-4, footer .col-2 {
		width: 50%;
	}

	footer .row > div:nth-child(2),footer .row > div:nth-child(3) {
		order: 2
	}
}

@media screen and (max-width: 768px) {

	footer .col-4, footer .col-2 {
		width: 100%;
	}

}


/*------------- RESPONSIVE --------------- */

#mobile_menu, #mobile_main_menu {
	display: none;
	align-items: center;
}

.menubar span {
	background-color: var(--primary);
	display: block;
	height: 4px;
	margin: 5px 0;
	width: 30px;
	transition: transform 300ms;
}

@media screen and (max-width: 960px) {
	#mobile_menu, #mobile_main_menu {
		display: flex;
	}
	#main_menu {
		display: none;
	}

	#mobile_main_menu {
		background-color: var(--primary);
		position: fixed;
		height: 100vh;
		width: 100%;
		left: 100%;
		top: 0;
		transition: all 500ms;
	}

	#mobile_main_menu .menu {
		align-items: center;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	#mobile_main_menu .menu a {
		color: #fff;
		font-size: 2rem;
		padding: 10px 0;
	}

	#mobile_main_menu .menu ul.sub-menu{
		flex-direction: column;
	}
	#mobile_main_menu .menu ul.sub-menu a{
		display: inline-block;
		font-size: 1.3rem;
		padding: 5px 0;
	}

	.menubar {
		z-index: 1111;
		position: relative;
	}

	.sticky .menubar {
		top: 5px;
	}

	.active .menubar span:nth-child(1) {
		color: var(--secondary);
		transform: rotate(45deg);
		transform-origin: center;
		margin-top: 15px;
	}
	.active .menubar span:nth-child(2) {
		display: none;
	}
	.active .menubar span:nth-child(3) {
		color: var(--secondary);
		transform: rotate(-45deg);
		transform-origin: center;
		margin-top: -8px;
	}

	.mobile .menubar span {
		background-color: var(--secondary);
	}

	.mobile.active + #mobile_main_menu{
		left: 0;
	}

	body, html {
		overflow-x: hidden;
	}
}