﻿header { position: relative; }
.navbar { background-color: #fff; border-bottom: solid 0px #000; z-index: 400; font-family: 'Open Sans', sans-serif; }
.navbar-brand, .navbar-brand img { transition: ease-in-out .30s; }
.navbar-light .navbar-nav .nav-link { color: #000; }
.navbar-light .navbar-toggler { border: 0; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: var(--maincolor); }
.mainmenu { padding: 8px 0; transition: ease-in-out 0.3s all; }
	.mainmenu .nav-item { font-size: 18px; line-height: 1.2; font-weight: 400; }
	.mainmenu a.nav-link { }
	.mainmenu a.nav-link:hover, .mainmenu a.active { color: var(--maincolor) !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 .nav-item .nav-link, .nav-item .nav-link.nav-lang { border: solid 1px #808080 !important; display: inline-block; padding: 4px 10px !important; border-radius: 20px; margin-left: 4px; color: #808080; min-width: 40px; text-align: center; }
		.topmenu .nav-item .nav-link:hover { background-color: #808080; color:#fff !important; }
	.topmenu a.nav-link:hover, .topmenu a.active { color: var(--maincolor) !important; }
	.topmenu .nav-item .nav-link.nav-button { background-color: var(--maincolor); border: solid 2px var(--maincolor) !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: var(--maincolor); border: solid 2px var(--maincolor) !important; color: #fff !important; }

.navfixed {box-shadow:#000 0 0 10px;}

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

@media(min-width:1400px) {
	.navbar-brand { max-width: 290px; padding: 10px 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) {
	.navbar-brand { max-width: 250px; padding: 10px 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: 161px; }
	.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: var(--maincolor) !important; background-color: #231f20; }
	.navbar .nav-item:hover .nav-link { color: var(--maincolor); }
	.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 5px; }
	.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: var(--maincolor); }
	.navbar-collapse { margin-top: -30px; }
	.nav-button {margin-left:0;}
}

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

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