﻿header { position: relative; }
.navbar { background-color: #fff; border-bottom: solid 0px #000; z-index: 400; font-family: 'Lexend', sans-serif; }
.navbar-brand, .navbar-brand img { transition: ease-in-out .30s; }
.navbar-light .navbar-nav .nav-link { color: #084d48; }
.navbar-light .navbar-toggler { border: 0; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: #79b426; }
.mainmenu { padding: 8px 0; transition: ease-in-out 0.3s all; }
	.mainmenu .nav-item { font-size: 20px; line-height: 1.2; font-weight: 700; }
	.mainmenu a.nav-link:hover, .mainmenu a.active { color: #79b426 !important; }

.topnav { margin: 0px 0px 0 0; transition: ease-in-out 0.3s all; }
.topmenu { margin: 10px 0; }
	.topmenu .nav-item { font-size: 16px; line-height: 1.2; text-transform: lowercase; font-weight: 400; padding: 4px 0 !important; }
		.topmenu .nav-item:last-child { border-right: solid 0px #231f20; }
	.topmenu a.nav-link:hover, .topmenu a.active { color: #79b426 !important; }
.nav-button { background-color: #084d48; border: solid 2px #084d48 !important; display: inline-block; padding: 4px 20px !important; text-transform: lowercase; color: #fff !important; border-radius: 20px; transition: ease-in-out all 0.3s; margin-left: 20px; }
.topmenu a.nav-link.nav-button:hover { background-color: #79b426; border: solid 2px #79b426 !important; color: #fff !important; }

hr { border-color: #231f20 !important; }

@media(min-width:1400px) {
	header { height: 142px; }
	.navbar-brand { max-width: 290px; padding: 30px 0; display: inline-block; }
		.navbar-brand img { width: 290px; }
	.navfixed .navbar-brand { max-width: 200px; padding: 15px 0; }
		.navfixed .navbar-brand img { width: 200px; }
}

@media(min-width:1200px) and (max-width:1399px) {
	header { height: 186px; }
	.navbar-brand { max-width: 250px; padding: 30px 0; display: inline-block; }
		.navbar-brand img { width: 250px; }
	.navfixed .navbar-brand { max-width: 200px; padding: 15px 0; }
		.navfixed .navbar-brand img { width: 200px; }
	.mainmenu .nav-item { font-size: 18px; }
}

@media(min-width:1200px) {
	header { height: 142px; }
	.mainmenu { margin-top: 20px; }
	.navfixed .mainmenu { margin-top: 0px; }
	.mainmenu .nav-item, .topmenu .nav-item { position: relative; }

	.navbar .dropdown-menu-end { right: 0; left: auto; }
	.navbar .nav-item .dropdown-menu { display: block; opacity: 0; visibility: hidden; transition: .3s; margin-top: 8px; padding-top: 5px; padding-bottom: 0; margin-left: 20px; border-radius: 0; background-color: #231f20; font-size: 18px; line-height: 1.8; border: 0; }
	.navbar .dropdown-menu .dropdown-item { color: #fff !important; }
		.navbar .dropdown-menu .dropdown-item:hover { color: #79b426 !important; background-color: #231f20; }
	.navbar .nav-item:hover .nav-link { color: #79b426; }
	.navbar .dropdown-menu.fade-down { top: 80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
	.navbar .dropdown-menu.fade-up { top: 180%; }
	.navbar .nav-item:hover .dropdown-menu { transition: .3s; opacity: 1; visibility: visible; top: 100%; transform: rotateX(0deg); }

	.navbar-expand-xl .navbar-nav .nav-link { padding: 6px 15px; }
	.navbar-expand-xl .navbar-nav.mainmenu .nav-link { padding: 0 15px; }
	.navbarspace { height: 180px; }
}

button:focus { outline: none; }

@media(max-width:1199px) {
	.container-nav { max-width: 100%; }
	.nav-item { text-align: center; font-size: 16px !important; line-height: 20px !important; font-weight: 700; }
	.mainmenu .nav-item { border-right: 0; }
		.mainmenu .nav-item:last-child { border-right: 0; }

	.navbar-toggler { width: 50px; height: 50px; background-color: transparent; box-shadow: none !important; }
		.navbar-toggler span { transform: none; background-color: #231f20; margin: 7px auto; width: 100%; height: 2px; transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375); opacity: 1; display: block; }
		.navbar-toggler[aria-expanded="true"] span:first-of-type { transform: rotate(45deg) translate(0px, 7px); }
		.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
		.navbar-toggler[aria-expanded="true"] span:last-of-type { transform: rotate(-45deg) translate(6px, -12px); }
		.navbar-toggler[aria-expanded="true"] span { background-color: #79b426; }
	.navbar-collapse { margin-top: -30px; }
	.nav-button {margin-left:0;}
}

@media (max-width:1199px) {
	header { height: 115px; }
	.navbar-brand img { max-width: 250px; padding: 15px 0; }
	.navfixed .navbar-brand img { max-width: 180px; }
}

@media(max-width:350px) {
	header { height: 99px; }
	.navbar-brand img { max-width: 220px; padding: 10px 0; }
	.navfixed .navbar-brand img { max-width: 160px; }
}
