@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');

#dashboardheader {
	font-family: 'Barlow';
	position: relative;
	width: 100%;
	z-index: 100;
	background: #fff;
	-webkit-box-shadow: 0px 2px 5px -3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 2px 5px -3px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 2px 5px -3px rgba(0, 0, 0, 0.5);
}

#innerheader {
	position: relative;
	max-width: 1160px;
	margin: 0 auto;
	padding-right: 10px;
	padding-left: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;

	&::after {
		display: none;
	}

	h1,
	.header_title {
		color: #000;
		font-size: 1.2rem;
		font-weight: 700;
	}
}

#pull {
	color: #000;
	display: none;

	&:visited {
		color: #000;
	}
}

.header-block-right {
	display: flex;
	align-items: center;
	gap: 16px;

	.mosaic-title {
		position: relative;
		bottom: unset;
		left: unset;
		right: unset;
		margin-left: unset;
		margin-right: unset;
		max-width: unset;
	}
}

.header-block-left {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#logo {
	height: 60px;
	margin: 8px 0;
}

#custommenu {
	display: flex;
	gap: 8px;
	padding: 0 0 0 32px;
	margin: 0;
	list-style: none;


	>li {
		margin: 0;
	}

	a {
		position: relative;
		display: block;
		padding: 8px 1rem;
		color: #000;
		font-size: 16px;
		font-weight: 400;
		text-decoration: none;

		&:before {
			content: "";
			position: absolute;
			right: 51%;
			bottom: 0;
			left: 51%;
			height: 3px;
			background: #00a8a9;
			-webkit-transition-duration: .3s;
			transition-duration: .3s;
		}

		&:hover:before,
		&:focus:before,
		&:active:before,
		&.active:before,
		&[aria-current="page"]:before {
			right: calc(0px + 1rem);
			left: calc(0px + 1rem);
		}
	}
}

.themeview .mosaic-header {
	display: none !important;
}

/* Responsive */
@media only screen and (max-width: 1157px) and (min-width: 1px) {
	#UserInfo {
		padding: 0;
	}
}

@media all and (min-width: 1px) and (max-width: 1024px) {
	#custommenu {
		padding-left: 0;

		a {
			font-size: 2.2vw;
		}
	}
}

@media all and (min-width: 1px) and (max-width: 900px) {
	#innerheader {
		h1 {
			display: none;
		}
	}

	.header-block-left {
		width: 100%;
	}

	#logo {
		height: 50px;
		margin: 5px 10px 5px 0;
	}

	#pull {
		display: flex;
		gap: 8px;
		margin-left: 15px;
		text-decoration: none;

		&:before {
			content: "\f0c9";
			font-family: "Font Awesome 6 Pro";
			display: inline-block;
			vertical-align: middle;
			transition: transform 150ms ease;
		}

		&.menuopen:before {
			transform: rotate(-180deg);
			transition: transform 150ms ease;
		}
	}

	#custommenu {
		display: none;
		position: absolute;
		right: 0;
		left: 0;
		top: 61px;
		padding-bottom: 0;
		background: #fff;
		-webkit-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, .5);
		-moz-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, .5);
		box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, .5);
		transition: .3s;
		line-height: 3rem;
		z-index: 98;

		li.active a {
			background: #F4F4F4;
		}

		a {
			font-size: 1rem;
			padding: 10px 1rem;
			margin: 0;

			&:hover {
				background: #F4F4F4;
			}

			&:before {
				display: none;
			}
		}

		li {
			display: block;
			text-align: center;
			border-bottom: 1px solid #ededed;
		}
	}

	#custommenu.b_menu-open {
		display: block;
	}
}