/*
* handler: ndmais-header
* version: 1.0.16
* deps: bootstrap-5,bootstrap-icons,ndmais-menu-secundario,ndmais-menu-principal
*/

#site-header {
	width: 100%;
	height: 60px;
	z-index: 101;
	background-color: var(--bs-white);
}

#site-header .lkHome {
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    text-align: center;
}

#site-header .lkHome img{
    width: auto;
    display: block;
    position: relative;
    height: 35px;
}

#site-header .btnMenu,
#site-header .btnBusca {
    cursor: pointer;
	background: none;
	color: var(--blue-dark);
    transition: opacity 0.2s ease-in-out;
    font-size: 14px;
    line-height: 40px;
    padding: 0;
}

#site-header .btnMenu i {
    font-size: 20px;
}


#site-header .btnMenu:hover,
#site-header .btnBusca:hover {
	color: var(--purple);
}

#site-header .search-header {
	display: flex;
	flex-direction: column;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	bottom: 0;
	width: 300px;
	background-color: var(--bs-white);
	overflow-x: hidden;
	overflow-y: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    transform: translateX(-100%);
	-webkit-overflow-scrolling: touch;
}

#site-header .search-header .searchform {
	background-color: var(--gray-light);
	padding: 30px 15px;
	margin-bottom: 30px;
}

#site-header .mobile-header-searchform {
    width: calc( 100% - 80px );
    z-index: 10;
}

#site-header .search-header .searchform div {
	background-color: var(--bs-white);
	height: 54px;
	border-radius: 27px;
	padding: 0 15px;
}

#site-header .search-header .searchform input {
	color: var(--black);
	font-size: 14px;
	font-weight: 500;
	width: 200px;
}

#site-header .search-header .searchform button {
	color: var(--blue);
	width: 34px;
	height: 34px;
	padding: 0;
	background-color: var(--gray-light);
}

#site-header .search-header .searchform button:hover {
	color: var(--bs-white);
	background-color: var(--blue);
}

#site-header .search-header h3 {
	font-size: 18px;
	color: var(--blue);
	font-weight: 600;
	margin: 0 15px 15px;
}

#site-header .search-header ul {
	margin: 0 15px;
}

#site-header .search-header ul a {
	font-size: 14px;
	color: var(--black);
	font-weight: 500;
}

#site-header .search-header ul a:hover {
	color: var(--blue-dark);
}

#site-header .search-header ul li {
	margin-bottom: 15px;
	padding-left: 25px;
	line-height: 20px;
}

#site-header .search-header ul li:before {
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	left: 0;
	width: 15px;
	height: 16px;
	background-image: url(../images/arrow-related.png);
}


#header-inline-searchform{
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    position: relative;
}

#header-inline-searchform .search-submit{
    position: absolute;
    left: 0;
    line-height: 40px;
    height: 40px;
    padding: 0 10px;
}

#header-inline-searchform .search-input{
    background-color: #F5F7F8;
    line-height: 40px;
    padding: 0 10px 0 36px;
    border-radius: 4px;
    width: 100%;
}

.search-is-toggled #header-inline-searchform{
    opacity: 1;
    width: auto;
    height: auto;
}

.search-is-toggled .mobile-header-searchform #header-inline-searchform{
    height: 60px;
}

@media only screen and (min-width : 768px) {
	#site-header {
		height: 90px;
	}

    #site-header .lkHome img{
        height: 54px;
    }

    #site-header .btnMenu,
    #site-header .btnBusca {
        font-size: 16px;
        font-weight: 500;
    }


	#site-header .btnBusca span {
		margin-right: 8px;
	}

	#site-header .lkNDPlay {
		font-size: 16px;
		font-weight: 500;
		color: var(--blue-dark);
		margin-right: 34px;
	}

	#site-header .lkNDPlay:hover {
		color: var(--purple);
	}

	#site-header .lkNDPlay:after {
		content: "";
		display: block;
		position: absolute;
		right: -18px;
		top: -2px;
		width: 1px;
		height: 28px;
		background-color: var(--gray-light);
	}

    .search-is-toggled #site-header .btnBusca{
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }

}

@media only screen and (min-width : 992px) {
    #site-header-replace {
        height: 90px;
    }

    #site-header {
        position: relative;
        top: 0;
        max-height: 90px;
    }

    #site-header.header-sticky {
        position: fixed;
        max-height: 60px;
        padding-bottom: 5px; 
        box-sizing: border-box;
        transition: max-height 0.2s ease-out, opacity 0.2s ease-out;
    }

    .admin-bar #site-header.header-sticky {
        top: 32px;
    }

    #site-header.header-sticky .lkHome img{
        max-height: 35px;
        width: auto;
    }

    #site-header.header-sticky::after{
        content: '';
        position: absolute;
        bottom: 0; 
        left: 0;
        width: 100%; 
        height: 3px;
        background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    }
    
}