﻿header { position: fixed; z-index: 9999; }

.navbar { padding-top: 0; padding-bottom: 0; }
.navbar-light { z-index: 1000; background-color: transparent; font-family: 'PT Sans', sans-serif; }
	.navbar-light .navbar-toggler { border: 0; }
.navbar-nav .nav-item { font-size: 18px; line-height: 1; text-transform: none; font-weight: 400; transition: ease-in-out all 0.3s; }
.mainnav .navbar-nav .nav-item {font-size:16px;}
.navbar-nav .nav-item.extra a { border: solid 1px #233e5f; border-radius: 6px; }
	.navbar-nav .nav-item.extra a:hover { background-color: #233e5f; color: #fff !important; }
.navbar-nav .nav-item a.active { color: #548cd3 !important; }
.social a {margin-right:16px;color:#233e5f;}
.social a:last-child { margin-right: 0px; }
.social a i { color: #548cd3; }
.social a i.fa-brands {font-size:20px;}
	.social a:hover span { color: #548cd3; }
	.social a:hover i.fa-brands { color:#233e5f; }

.navbar-brand img, header, .social a span, .social a i.fa-brands .mainnav a { transition: ease-in-out all 0.3s; }

/*.brandnav { background-color: #fff; border-radius: 6px; border: solid 3px #548cd3; box-shadow: #548cd3 0 0 20px; }
	.brandnav .nav-link { padding: 7px 20px; transition: ease-in-out all 0.3s; background-color: #548cd3; border-radius: 4px; color:#fff; }
	.brandnav .nav-link.extra { background-color: #c00000;  }
	.brandnav .navbar-nav .nav-item a:hover, .brandnav .navbar-nav .nav-item a.active { background-color:#233e5f;color:#fff !important; }*/

.brandnav { background-color: #fff; border-radius: 6px; border: solid 1px #548cd3; box-shadow: #548cd3 0 0 20px; }
	.brandnav .nav-link { padding: 7px 20px 6px 20px; transition: ease-in-out all 0.3s; color: #233e5f; border-bottom:solid 1px #fff; }
		.brandnav .nav-link.extra { color: #233e5f; }
	.brandnav .navbar-nav .nav-item a:hover, .brandnav .navbar-nav .nav-item a.active { border-color: #233e5f; color:#233e5f !important; }

@media (min-width: 992px) {
	header { background-color: #4f81bc; border-bottom: inset 6px #bfd3ef; background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' preserveAspectRatio='none'> <path d='M0,0 A50,50 0 0,0 100,0 Z' fill='rgba(238,243,251,1)' stroke='none' /> <path d='M0,0 A50,50 0 0,0 100,0' fill='none' stroke='rgba(84,140,211,0.3)' stroke-width='1'/> </svg>"); background-repeat: no-repeat; background-size: 100% 100%; /* stretch to fit div */ background-position: bottom; }

	.navbar .dropdown-menu-end { right: 0; left: auto; }
	.navbar .nav-item .dropdown-menu { display: block; opacity: 0; visibility: hidden; transition: .3s; padding-top: 0px; padding-bottom: 0; margin-left: 20px; border-radius: 0; background-color: #000; font-size: 18px; line-height: 1.8; border: 0; }
	.navbar .dropdown-menu .dropdown-item { color: #fff !important; }
		.navbar .dropdown-menu .dropdown-item:hover { color: #fff !important; background-color: #548cd3; }
	.navbar-light .navbar-nav .nav-link { color: #233e5f; }
		.navbar-light .navbar-nav .nav-link:hover { color:#548cd3; }
	.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); }
}

.navbarcontainer, .navbarcontainer .navbar { transition: all ease-in-out 0.3s; }

@media(min-width:1400px) {
	.navfixed .navbar-brand img { max-width: 150px; }
	header.headerfixed { height: 145px; }
	.contraheader {height:195px;}
}

@media(min-width:1200px) and (max-width:1399px) {
	.social a { margin-right:6px; }
}

@media(min-width:1200px) {
	.navbar-brand img { max-width: 250px; }
	.navfixed .navbar-brand img { max-width: 110px; }

	header, header.headerfloat { height: 195px; width: 100%; }
		header.headerfixed { position: fixed; height: 125px; }
	.contraheader { height: 195px; }

	.navbarcontainer { height: 173px; position: fixed; }
		.navbarcontainer.navfixed { margin-top: -10px; height: 146px; }
		.navbarcontainer.navfixed .navbar { padding-top: 0; }
		.navbarcontainer.navfixed .navbar-brand img { padding-top: 10px !important; }
	.navbar-brand img { padding: 10px 0; }
	.navbar-expand-xl .navbar-nav .nav-link { padding-right: 10px; padding-left: 10px; margin-left: 10px; }
	.brandnav .nav-item { padding: 6px 0px 6px 8px; }
}

@media(min-width:992px) and (max-width:1199px) {
	header, header.headerfloat { height: 180px; width: 100%; }
		header.headerfixed { position: fixed; height: 105px; }
	.brandnav .nav-item { font-size: 18px; padding: 6px 0px 6px 8px; }
	.mainmenu .nav-link.extra {color:#c00000;}
	.mainmenu .nav-link.nav-lang { margin-left:8px; }
	.contraheader { height: 180px; }
	.navbar-brand img { max-width: 200px; padding: 10px 0; }
	.navfixed .navbar-brand img { max-width: 110px; padding: 2px 0; }
	.navbarcontainer { height: 186px; position: fixed; }
		.navbarcontainer.navfixed { margin-top: 0px; height: 146px; }
	.searchform input.form-control { width: 160px; }
}

@media(max-width:991px) {
	.navbar-brand img { max-width: 200px; padding: 10px 0; }
	.navfixed .navbar-brand img { max-width: 110px; padding: 2px 0; }
	.navbarcontainer { height: 170px; position: fixed; }
		.navbarcontainer.navfixed { margin-top: 0px; height: 106px; }
	header, header.headerfloat { height: 180px; width: 100%; background-color: #bfd3ef; border-bottom: solid 6px #bfd3ef; }
		header.headerfixed { position: fixed; height: 105px; }
	.contraheader { height: 170px; }

	.navbar-toggler { width: 50px; height: 50px; background-color: transparent; box-shadow: none !important; }
		.navbar-toggler span { transform: none; background-color: #000; 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-collapse { margin-top: -30px; }
	.navbar-nav.mainmenu { background-color: #4f81bc; margin-top: 32px;border-radius:6px;margin-bottom:2px; }
	.brandnav .navbar-nav { padding: 6px 14px; display:none; }
	.navbar-light .navbar-nav .nav-link { color: #fff; text-align: center; }
	.navbar-light .navbar-nav .nav-item a.active { color: #fff !important; font-weight:700; }
	.navbar-light .navbar-nav .nav-item a:hover { color: #000 !important; }
	.navbar-light .navbar-nav .nav-item.extra a { border: solid 1px #fff; border-radius: 6px; padding:6px 12px; margin:0 4px 10px 4px; }
	.searchform {width:100%;padding-left:4px;}
}
/*
@media (max-width: 767px) {
	.navbar-brand img { max-width: 230px; padding: 20px 0; }
	.toolbar a span { display: none; }
}

@media (min-width: 576px) and (max-width: 767px) {
}

@media (max-width: 575px) {
	header { height: 216px; }
	.navbarcontainer { height: 170px; position: fixed; }
		.navbarcontainer.navfixed { margin-top: -65px; height: 136px; }
	.toolbarcontainer a { font-size: 14px; line-height: 1.6; border-radius: 50px; width: 26px; text-align: center; margin-right: 4px; transition: ease-in-out all 0.3s; }
	.navbar-brand img { max-width: 200px; padding: 15px 0; }
	.navbarcontainer { height: 76px; position: fixed; }
	.navbarcontainer { background-image: none; }
	.navbar-toggler span { background-color: #1087C9; }
}
*/
@media(max-width:430px) {
	.navbar-brand img { max-width: 150px; }
	header, header.headerfloat { height: 140px; }
		header.headerfixed { height: 100px; }
	.contraheader { height: 140px; }
}
