

/************* main-bottom modules **************/
.container-bottom-a {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.container-bottom-a h3.card-header {
	margin-top:0; 
	font-size:1.2em;
}

@media (max-width: 768px) {
    .container-bottom-a {
        grid-template-columns: 1fr;
    }
}
/************* main-bottom modules **************/


   

div.page-header h1 {
	margin: 1em 0;
}

h1,h2,h3,h4,h5,h6{
	margin-top:1em;
}

/*************tabela***********/
table.tabela {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table.tabela th,
table.tabela td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

table.tabela th p,
table.tabela td p {
	text-align:left;
	margin:0;
}

table.tabela thead th {
    font-weight: 700;
    text-align: left;
}

table.tabela tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table.tabela tbody tr:hover {
    background-color: #f1f3f5;
}
/*************tabela***********/




/*************mainnav***********/
/* Desktop */
.desktop-menu {
    display: block;
}

/* Mobile */
.mobile-menu {
    display: none;
}

@media (max-width: 991.98px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

@media (min-width: 992px) {
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub.show-menu {
		border:1px solid grey;
	}
	
	
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub.show-menu {
		display: grid;
		grid-template-columns: repeat(1, max-content);
		gap: 0.5rem 2rem;
		padding:14px;
	}
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub.show-menu:has(> li.deeper) {
		display: grid;
		grid-template-columns: repeat(3, max-content);
		gap: 1rem 2rem;
		padding:14px;
	}
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub > li.nav-item.deeper.parent {
		flex:0 0 auto;
	}
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub > li.nav-item.deeper.parent > span {
		font-weight:bold;
	}
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub > li.nav-item.deeper.parent > ul {
		padding:0;
	}
	ul#mod-menu1 > li.nav-item.deeper.parent > ul.mod-menu__sub > li.nav-item.deeper.parent > ul > li{
		margin:0.5rem 0;
	}
	
	
	
    .container-header .mod-menu > .mega-menu {
        position: static;
    }

    .container-header .mod-menu > .mega-menu > .mod-menu__sub {
        display: none;
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        gap: 0.25rem 2rem;

        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: min(900px, calc(100vw - 3rem));

        padding: 1.25rem;
        background: white;
        box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 15%);
        z-index: 1000;
    }

    .container-header .mod-menu > .mega-menu:hover > .mod-menu__sub,
    .container-header .mod-menu > .mega-menu:focus-within > .mod-menu__sub {
        display: grid;
    }

    .container-header .mod-menu > .mega-menu > .mod-menu__sub > li {
        width: auto;
    }

    .container-header .mod-menu > .mega-menu > .mod-menu__sub a {
        display: block;
        padding: 0.5rem;
        color: #222;
    }
}



