/*--------------------------------------------------------------
   Navigation
--------------------------------------------------------------*/
.toucan-header ul{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toucan-header li{
    position: relative;
}

.header-middle nav > ul > li > a{
    height: 40px;
    display: flex;
    align-items: center;
} 
.toucan-header a{
    transition: all .15s ease-in-out; 
    
}

//Sub menu
.toucan-header .sub-menu a{
    margin: 0 20px 0 20px;
    padding: 5px 15px 5px 15px;
    line-height: 1.45;
    position: relative;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.toucan-header .sub-menu {
    display: none;
    opacity: 0;
    border-radius: 4px;
    position: absolute;
    width: 270px;
    padding: 15px 0 15px 0;
    z-index: 2000;
    transform: translateY(10px);
    left: -20px;
	box-shadow: 0 0 10px 0 rgba(128,47,0,0.05), 0 10px 15px 0 rgba(128,47,0,0.15);
}
.toucan-header .sub-menu .sub-menu{
    left: 100%;
    top: -15px;
}

.toucan-header li:hover > .sub-menu {
    display: block;
    -webkit-animation: fadeInFromNone .15s ease-out;
    animation: fadeInFromNone .15s ease-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.toucan-header .toucan-menu>li>a,
.toucan-menu-action a{
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}



//Header icons

.toucan-header nav > ul > li.menu-item-has-children > a:after {
    content: "\e901";
    font-family: 'toucan-font';
    margin: 2px 0 0 1px;
    opacity: 1;
    width: 12px;
    font-size: 2.4rem;
    line-height: 1;
}
.toucan-header nav .sub-menu > li.menu-item-has-children >a:after {
    content: "\e90f";
    font-family: 'toucan-font';
    margin: 4px -10px 0 0;
    float: right;
    opacity: 1;
    font-size: 2.4rem;
    line-height: 1;
}
.toucan-header ul li.menu-item-has-children:hover > a:after{
    opacity: 1;
}

//Menu action font sizes
.toucan-menu-action .mf{
    font-size: 2.4rem;
    width: 20px;
    text-align: right;
}
.toucan-menu-action a{
    display: flex;
    align-items: center;
}
.toucan-menu-action .mf{
    margin-left: 5px;
}

// Header animation
@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translateY(0px);
    }
}



//To none
@-webkit-keyframes fadeInToNone {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-10px);
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@-moz-keyframes fadeInToNone {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-10px);
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@-o-keyframes fadeInToNone {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-10px);
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes fadeInToNone {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-10px);
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}


.toucan-header li .sub-menu.toucan-rev {
    left: auto!important;
    right: 0;
}
.toucan-header li .sub-menu .sub-menu.toucan-rev{
    left: auto!important;
    right: 100%;
}

.toucan-hamburger-hidden .toucan-hamburger{
    display: flex;
    @include mq('lg') {
        display: none;
    }
}


// Hot Label

.toucan-hot:before {
    border-radius: 2px;
    padding: 4px 6px;
    position: absolute;
    text-align: center;
    z-index: 4;
    top: 4px;
    left: 50%;
    transform: translate(-50%, -100%);

    font-size: 0.8rem;	
    font-weight: bold;	
    line-height: 1;
}
.toucan-hot:after{
    content: ' ';
    position: absolute;
    width: 6px;
    height: 6px;
    z-index: 3;
    top: 4px;
    left: 50%;
    transform: translate(-50%, calc(-100% + 3px)) rotate(45deg);
}