/* Topbar - CSS  */

#topbar {
	width: 100%;

	background: #3732af;

	grid-row: 1;
	grid-column: 1;
	z-index: 5;
	align-self: start;

	background-repeat: no-repeat;
	background-position: 50% 0;
	background-size: auto;
}

@media (max-width: 767px) {
	#topbar:before {
		content: " ";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 43px;
		opacity: 0.25;
		background-image: url("../img/slides/slide.jpg");
		background-repeat: no-repeat;
		background-position: 50% 0;
		background-size: auto;
	}
}

/* - */

@media (min-width: 768px) {
	#topbar {
		background-color: #0000005e;
	}
}

/* - */

#topbar-inner {
	position: relative;
	z-index: 1;
	display: grid;
	justify-self: center;
	/*padding: 4px 0;*/

	grid-gap: 16px;
	justify-content: center;
}

@media (min-width: 768px) {
	#topbar-inner {
		width: 768px;
	}
}

@media (min-width: 992px) {
	#topbar-inner {
		width: 992px;
	}
}

@media (min-width: 1200px) {
	#topbar-inner {
		width: 1200px;
	}
}

/* - */

/* - */

.topbar-element {
	display: grid;
	grid-gap: 8px;
	grid-row: 1;
}

@media (min-width: 992px) {
	.topbar-element {
		border-right: 1px #d7d7d7 solid;
		padding-right: 8px;
	}

	.topbar-element:last-of-type {
		border: none;
		padding-right: 0;
		margin: 8px 0;
	}
}

.topbar-element h3 {
	display: none;
	grid-row: 1;
	align-self: center;
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	align-self: center;
}

@media (min-width: 768px) {
	.topbar-element h3 {
		display: block;
	}
}

.topbar-element a {
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	transition: color ease 0.5s;
	grid-row: 1;
	align-self: center;
}

.topbar-element i {
	grid-row: 1;
	align-self: center;
	color: #fff;
	font-weight: 400;
	font-size: 16px;
}

.topbar-element a i {
	transition: color ease 0.5s;
}

.topbar-element a:hover,
.topbar-element a i:hover {
	color: #3732af !important;
}

/* - */

/* - Socials - */

.topbar-socials {
	display: grid;
	grid-row: 1;
	justify-content: center;
	grid-gap: 8px;
}

@media (max-width: 991px) {
	.topbar-socials .topbar-element {
		border-right: 1px #d7d7d7 solid;
		padding-right: 8px;
	}

	.topbar-socials .topbar-element:last-of-type {
		border: none;
		padding-right: 0;
		margin: 8px 0;
	}
}

@media (min-width: 992px) {
	.topbar-socials {
		grid-row: 1;
	}
}

.topbar-socials .topbar-element i {
	font-size: 30px;
}

.topbar-socials .topbar-element .imgicon {
	max-height: 30px;
}
