header {
    z-index: 9999;
    position: fixed;
    width: 100%;
	border-bottom: 1px solid var(--gold);
}
.header-spacing .nav-link {
	font-weight: 500;
}
@media (min-width: 992px) {
    .header-spacing {
        margin: auto;
        height: 86px;
    }

    .header-spacing div {
        height: 100%;
    }

    .header-spacing .nav-link, .header-spacing .nav-link span{
        font-size: var(--nav-font)
    }
	.header-spacing .nav-link{
        padding: 0 15px;
    }

    .header-spacing .nav-pills {
        height: 100%;
        align-content: center;
		justify-content: flex-end;
    }

    .logo-regular {
        height: 100%;
    }
}

header .main-navigation {
    background: var(--white);
   /* padding: 20px 0px 20px 0;*/
}

header .header-top {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: var(--white);
}

.nav-link {
    text-transform: uppercase;
}

.search-form label {
    padding: 0;
}

.search-form {
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
}

header .brand {
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-content: flex-end;
    flex-wrap: wrap;
}

header .brand img {
    max-width: unset;
}

@media (min-width: 600px) and (max-width: 991px) {
    header .brand img {
        width: auto;
        max-height: 80px;
    }
}

@media (min-width: 992px) {
    header .brand img {
        height: 100%;
        width: auto;
    }
}

@media (max-width: 599px) {
    header .brand img {
        height: auto;
        width: 120%;
    }
}

header .header-top a.link {
    color: var(--blue);
    line-height: 23px;
    font-size: var(--nav-font);
    letter-spacing: 1.4px;
}

header .header-top a.link > object {
    padding-right: 15px;
}

header .header-top a.mobile {
    margin-right: 60px;
}

header .header-middle {
    background-color: var(--blue);
    color: var(--white);
    padding-top: 36px;
    padding-bottom: 36px;
}

header .desktop-menu {
    padding-left: 30px
}

header .header-middle .desktop-menu > .nav {
    justify-content: flex-end;
}

header .header-middle .desktop-menu > .nav a.nav-link {
    color: var(--white);
    font-size: var(--nav-font);
    letter-spacing: 1.4px;
    line-height: 23px;
    padding-left: 28px;
    padding-right: 28px;
}

header .header-middle .desktop-menu > .nav .nav-btn {
    margin-left: 28px;
}

header .header-middle .desktop-menu > .nav .nav-btn > a.nav-link {
    background-color: var(--orange);
    color: var(--white);
    border-radius: 0;
    padding: 16px 35px;
}

header .header-middle .desktop-menu > .nav > .nav-item {
    align-items: center;
    display: flex;
}

header .main-navigation .desktop-menu > .nav > .dropdown > ul.dropdown-menu > li.dropdown > ul {
    left: 100%;
    top: 0;
}

@media screen and (max-width: 991px) {
    header .header-top a {
        color: var(--blue);
    }

    header .main-navigation {
        padding: 5px 0px;
    }

    header .header-middle {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    header .header-middle .brand img {
        /*max-width: 86px;*/
        max-width: 100%;
    }

    header .header-middle .link.profile svg > path {
        fill: var(--white);
    }

    .header-mobile-menu {
        visibility: hidden;
        opacity: 0;
        height: 0;
        transition: visibility 0s, opacity 0.3s linear;
    }

    .header-mobile-menu .dropdown-item:focus {
        background-color: transparent;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        align-content: stretch;
    }

    header .toggle-btn {
        width: 24px;
        position: relative;
        /*top: 2px;*/
        background: none;
        border: 0;
        padding: 0;
    }
	#toggleMobileMenu{
		margin-right: 16px;
	}

    header .toggle-btn:focus {
        outline: none;
    }

    header .toggle-btn > .jdd-line {
        height: 2px;
        width: 100%;
        background-color: var(--black);
        line-height: 0;
        display: block;
        transition: all 0.5s ease-in-out;
        border-radius: 2px;
    }

    header .toggle-btn > .top-bar {
        -webkit-transform: translateY(-5px) rotate(0deg);
        transform: translateY(-5px) rotate(0deg);
    }

    header .toggle-btn > .bottom-bar {
        -webkit-transform: translateY(5px) rotate(0deg);
        transform: translateY(5px) rotate(0deg);
    }

    header .toggle-btn > .middle-bar {
        transform-origin: left center;
    }

    body.show-mobile-menu header {
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2)

    }

    body.show-mobile-menu header .toggle-btn > .jdd-icon {
        webkit-transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
        transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    }

    body.show-mobile-menu header .toggle-btn > .top-bar {
        -webkit-transform: translateY(1px) rotate(45deg);
        transform: translateY(1px) rotate(45deg);
    }

    body.show-mobile-menu header .toggle-btn > .middle-bar {
        opacity: 0;
        width: 0;
    }

    body.show-mobile-menu header .toggle-btn > .bottom-bar {
        -webkit-transform: translateY(-3px) rotate(-45deg);
        transform: translateY(-3px) rotate(-45deg);
    }

    body.show-mobile-menu header .header-mobile-menu {
		background-color: var(--white);
		visibility: visible;
		opacity: 1;
		height: auto;
		transition: visibility 0s, opacity 0.3s linear;
		color: var(--black);
		padding: 30px 0px;
	}

    header .header-mobile-menu .nav {
        flex-direction: column;
        text-align: center;
    }
	
	header .header-mobile-menu{
		transition: visibility 0s, opacity 0.3s linear;
	}

	header .header-mobile-menu .nav .nav-link {
		color: var(--black);
		font-size: var(--nav-font);
		line-height: 40px;
		text-align: left;
		font-family: var(--font);
		font-weight: 500;
	}

    .mobile-menu .dropdown-menu {
        padding: 0;
        position: relative !important;
            line-height: 1;
            margin-top: -35px;
            margin-bottom: 10px;

    }

    .mobile-menu .dropdown-menu .dropdown-submenu {
        text-align: left;
        padding-left: 20px;
    }

}

@media screen and (min-width: 992px) {
    header .header-mobile-menu {
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1360px) {
    .header-spacing .nav-link {
        padding: 0 10px;
    }
}

.dropdown-menu {
	padding: 0 0;
    border-radius: 0;
    background: var(--white);
    border: none;
    top: 23px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    font-size: 16px;
}

.header-search {
    padding: 60px;
    text-align: center;
    background: var(--orange);
    color: var(--white);
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 0px;
    top: -5px;
    cursor: pointer;
}

.search-icon svg {
    width: 21px;
}

#searchForm label {
    margin: 0 !important;
}

.search-form .form-control::placeholder {
    color: #6c757d;
    opacity: .5;
    font-weight: 700;
}

.header-search {
    display: none;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--blue);
    text-decoration: none;
    background: top;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: transparent;
}

#search {
    background: transparent;
    padding: 0;
    border-bottom: 1px solid #6f838a;
    width: 80%;
    color: var(--white);
}

@media (min-width: 992px) {
    #search {
        background: transparent;
        padding: 0;
        max-width: 90%;
        font-family: var(--h-font);

    }
}

@media (min-width: 1500px) {
    #search {
        width: 300px;
    }

}

.search-input-wrapper svg path {
    fill: var(--white);
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        margin: 0;
        background: transparent;
        transform: none !important;
    }

    header .header-mobile-menu .nav {
        width: 100%;
    }

    .dropdown-menu.show {
        width: 100% !important;
    }

    .dropdown-item {
        padding: 15px 0px;
        width: 97%;
        margin: auto;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .search-icon {
        right: 5px;
    }

}

.dropdown-menu a {
    padding: 10px 15px;
    font-family: var(--txt-font);
    color: var(--black);
	text-transform: uppercase;
	font-size: 12px;
}

.mobile-menu .dropdown-menu a {
    color: var(--white);
}

@media (max-width: 767px) {
    .dropdown-menu.show {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .show-mobile-menu {
        overflow: auto;
        max-height: unset !important;
    }
}

.header {
    transition: 1s ease top;
    perspective: 1000;
}

.header.scrolled {
    transition: 1s ease top;
    backface-visibility: hidden;
    perspective: 1000;
}

.header.header-hidden {
    top: -200px;
    background: transparent !important;
    transition: 1s ease top;
    backface-visibility: hidden;
    perspective: 1000;

}

.current-menu-item .menu-item-gold-underline{
	border-bottom: 1px solid var(--gold);	
}

.menu-item-gold-underline{
	padding-bottom: 2px;
}

@media(max-width: 991px){
	.dropdown-menu{
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.mobile-menu .dropdown-menu a {
		color: var(--black);
		text-align: left;
		padding-left: 20px;
	}
	.dropdown-menu .dropdown-menu a{
		padding-left: 40px;
	}
	.dropdown-menu .dropdown-menu{
		margin-top: -28px;
		margin-bottom: 21px;
	}
	.dropdown-item{
		font-weight: 500;
	}
	.dropdown-item:focus, .dropdown-item:hover {
		color: var(--black);
		background-color: #f8f9fa;
	}
	.dropdown-toggle{
		position: relative;
	}
	
	.dropdown-toggle::after {
		display: inline-block;
		margin-left: .255em;
		vertical-align: .255em;
		content: "";
		position: absolute;
		right: 18px;
		border: none;
		background: url(/wp-content/themes/cc-coaching/assets/img/arrow_left.svg);
		width: 20px;
		height: 20px;
		background-size: cover;
		transform: rotate(-90deg);
		top: 18px;
		transition: all 0.3s linear;
	}
	.dropdown-active::after{
		transform: rotate(90deg);
		transition: all 0.3s linear;
	}
	
	.dropdown-menu .dropdown-toggle::after{
		right: 12px;
		top: 7px;
	}
}