body > header {
    background-color: var(--w3-body-bg);
}

body > header .custom-logo-link {
    display: inline-block;
}

body > header .custom-logo-link .custom-logo {
    transition: .5s;
}

/* sticky header */
body > header.sticky {
    position: sticky;
    z-index: 998;
    top: 0;
    left: 0;
    right: 0;
    transition: .5s;
    box-shadow: 0 8px 16px -6px rgba(var(--w3-primary-color-rgb), .3);
}

/* Header Main */
/* header container */
body > header .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
}


body > header .custom-logo {
	max-width: 180px;
}

/* Site info */

body > header .site-info {
    display: flex;
    flex-direction: column;
    align-items: end;
    max-width: max-content;
    margin: auto;
}

body > header .site-info .icon {
	max-width: 60px;
}

body > header .site-info .mail-box .icon img:not(.img-default) { display: none; }
body > header .site-info .mail-box:hover img.img-hover { display: block; }
body > header .site-info .mail-box:hover img.img-default { display: none; }
body > header .site-info .mail-box:active img.img-click { display: block; }
body > header .site-info .mail-box:active img.img-hover { display: none; }

body > header .site-info a {
	font-family: var(--w3-font-family-text);
	text-decoration: none;
	color: var(--w3-brown);
}

body > header .site-info .site-title {
	font-size: 60px;
	font-weight: 500;
	font-family: var(--w3-font-family-headings)
}

/* menu */
body > header .navbar .navbar-toggler {
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    line-height: 10px;
}

body > header .navbar .navbar-toggler:focus {
    box-shadow: none;
}

body > header .navbar .navbar-toggler .fa-bars {
    font-size: 1.5rem;
    color: var(--w3-blue);
}

body > header #main-menu .menu-item {
    text-align: center;
}

body > header #main-menu .menu-item .nav-link {
    color: var(--w3-link-color);
    font-weight: 300;
    display: inline-block;
}

body > header #main-menu .menu-item .nav-link:hover {
    color: var(--w3-link-color-hover);
}
body > header #main-menu .menu-item .nav-link.active {
    color: var(--w3-link-color-hover);
    position: relative;
	font-weight: 700;
}

body > header #main-menu .menu-item .nav-link.active::before {
    content: '';
    background-color: var(--w3-blue);
    position: absolute;
    bottom: 5px;
    display: block;
    width: 60%;
    margin: 0 auto;
    height: 1px;
    left: 0;
    right: 0;
}

body > header #main-menu .menu-item .dropdown-menu {
    background-color: var(--w3-body-bg);
    border-color: rgba(var(--w3-primary-color-rgb), .15);
}

body > header #main-menu .menu-item .dropdown-menu .menu-item {
    text-align: left;
}

body > header #main-menu .menu-item .dropdown-menu .menu-item .dropdown-item {
    color: var(--w3-link-color);
}

body > header #main-menu .menu-item .dropdown-menu .menu-item .dropdown-item.active {
	background-color: unset;
	color: var(--w3-white);
}

body > header #main-menu .menu-item .dropdown-menu .menu-item .dropdown-item:hover,
body > header #main-menu .menu-item .dropdown-menu .menu-item.current_page_item {
    background-color: var(--w3-brown);
    color: var(--w3-white);
}

/* menu on small screens */
@media (max-width: 992px) {
    body > header .custom-logo-link {
        margin-bottom: 1rem;
    }
	
	body > header #main-menu {
		margin-top: 1rem;
	}
	
	body > header .site-info .icon {
		max-width: 42px;
	}

    body > header .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}


@media (max-width: 1199px) {
	body > header .site-info {
		position: absolute;
		top: 10px;
		right: 1rem;
	}

	body > header .site-info a {
		font-size: 16px;
	}
}