/*
handler: ndmais-footer
version: 1.0.5
deps: bootstrap-5 , bootstrap-icons
*/

#site-footer {
	overflow: hidden;
    background-color: #F9F9F9;
}

#site-footer .brand{
    background-color: #EAEEEF;
    margin-bottom: 30px;
}

#site-footer .brand .marca {
	height: 50px;
    width: auto;
}

#site-footer .brand p {
	font-size: 12px;
	font-weight: 500;
	color: #333;
	line-height: 18px;
}

#site-footer .social {
    background-color: #F9F9F9;
    gap: 10px;
}

#site-footer .social a {
    position: relative;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    background-color:  var(--blue-light);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex: 1 1 0%;
}

#site-footer .social a::before{
    padding-top: 100%;
    content: " ";
    display: block;
}

#site-footer .social a i {
    height: 20px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

#site-footer .social a:hover {
	opacity: 0.75;
}

#site-footer .social a:last-of-type{
    padding-right: 0;
}

#site-footer .navFooter{
    margin-bottom: 30px;
}

#site-footer .navFooter ul li {
    margin-bottom: 20px;
}

#site-footer .navFooter ul>li.menu-item-has-children{
    margin-bottom: 20px;
    padding: 0   0 20px 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

#site-footer .navFooter ul>li.menu-item-has-children:last-of-type{
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

#site-footer .navFooter ul>li.menu-item-has-children>a{
    position: relative;
}

#site-footer .navFooter ul>li.menu-item-has-children>a::after{
    content: "\F118";
    position: absolute;
    right: 0;
    color: #91A4AE;
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
}

#site-footer .navFooter ul>li.menu-item-has-children.submenu-open>a::after {
    content: "\F139";
}

#site-footer .navFooter ul li ul.sub-menu{
    overflow: hidden;
    visibility: hidden;
    height: 0;
    opacity: 0;
    max-height: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

#site-footer .navFooter ul>li.menu-item-has-children.submenu-open ul.sub-menu{
    visibility: visible;
    height: auto;
    max-height: 700px;
    opacity: 1;
    margin-top: 20px;
}


#site-footer .navFooter ul li ul.sub-menu li:last-of-type {
    margin-bottom: 0;
}

#site-footer .navFooter ul li a {
	font-size: 14px;
    display: block;
	font-weight: 400;
	color: #333;
	text-decoration: none;
}

#site-footer .navFooter ul li a:hover {
	color: var(--blue-light);
}

#site-footer .navFooter ul>li.menu-item-has-children>a{
    font-weight: 700;
    font-size: 17px;    
}

#site-footer .navFooter ul li.submenu-back-link a {
    font-weight: 700;
}

#site-footer .copyright {
	background-color: var(--blue);
	font-size: 14px;
	font-weight: 500;
	color: var(--bs-white);
}

#site-footer .copyright .footer-institutional-menu {
    border-bottom: 0.5px solid rgba(255, 2555, 255, 0.2);
}

#site-footer .copyright ul li{
    width: 100%;
    margin-bottom: 30px;
}

#site-footer .copyright ul li a{
    display: block;
    width: 100%;
    line-height: 1;
    color: var(--bs-white);
    font-weight: 400;
    font-size: 16px;
}

#site-footer .copyright ul li:last-of-type{
    margin-bottom: 0;
}



#site-footer .copyright a:hover {
	color: var(--gray-light);
}

@media only screen and (min-width : 768px) {	

    
    #site-footer .social {
        background-color: transparent;
    }

    #site-footer .social a {
        max-width: 40px;
    }

    #site-footer .copyright ul li{
        margin-bottom: 0;
        margin-right: 20px;
        width: auto;
    }

    #site-footer .copyright ul li:last-of-type{
        margin-right: 0;
    }
}


@media only screen and (min-width : 992px) {	

    #site-footer .navFooter .navFooterItems{
        margin-left: -20px;
        margin-right: -20px;
    }

    #site-footer .navFooter ul>li.menu-item-has-children {
        margin: 0;
		width: 16.66666667%;
        flex: 0 0 auto;
        box-sizing: border-box;
        border-right: 1px solid #ddd;
        padding: 0 20px;
        border-bottom: none;
	}

    #site-footer .navFooter ul>li.menu-item-has-children>a {
        margin-bottom: 20px;
    }

    #site-footer .navFooter ul>li.menu-item-has-children>a::after {
        content: "";
    }

    #site-footer .navFooter ul>li.menu-item-has-children:last-child{
        border: none;
    }
    
    
    #site-footer .navFooter ul li ul.sub-menu{
        visibility: visible;
        height: auto;
        opacity: 1;
        max-height: inherit;
    }

    #site-footer .copyright .footer-institutional-menu {
        border-bottom: none;
    }
    

}