:root{
    --default-trasition-duration: 0.5s;
}

*{box-sizing: border-box !important;}

body{
    font-family: sans-serif;
    font-size: 13px;
    /* max-width: 1800px;
    margin: auto; */
}
body.limitar{min-width: 1140px;}

main{
    max-width: 2000px;
    margin: auto;
}

h1, h2, h3, h4, h5, h6{margin: 0px;}
a{color: black;}

#navbar-top{
    background-color: rgb(65, 65, 65);
}

#navbar-top a{
    color: white;
    transition-duration: var(--default-trasition-duration);
    font-size: 13px;
    padding: 12px 20px;
}
#navbar-top a.active, #navbar-top a:hover{
    background-color: rgb(45, 45, 45)
}
#navbar-top .dropdown-menu{
    border-radius: 0px;
    background-color: rgb(65, 65, 65);
    transition-duration: var(--default-trasition-duration);
    text-align: center;
}
#navbar-top .dropdown-item:hover, #navbar-top .dropdown-item:active{background-color: rgb(45, 45, 45)}

footer a{
    font-weight: bold;
    color: black;
}

.separator{border-top: 1px dashed rgb(200, 200, 200);}

.login-main input[type="text"], .login-main input[type="password"]{
    width: 225px;
    border-radius: 0px;
    border: 1px solid rgb(200, 200, 200);
}

.titulo{font-weight: bold;}

.button-green{
    color: white;
    background-color: #558b2f;
    border: none;
    padding: 3px 10px;
}

.table-main{
    border: 2px solid rgb(200, 200, 200);
    border-collapse: collapse;
    text-align: center;
    width: 100%;
}
.table-main tbody{
    border: 2px solid rgb(200, 200, 200);
}
.table-main tbody tr:nth-child(odd){
    background-color: rgb(238, 238, 238);
}
.table-main tbody tr.nao-activo{background-color: rgba(255, 0, 0, 20%);}
.table-main th, .table-main td{
    padding: 10px 10px;
    border: 2px solid rgb(200, 200, 200);
}
.table-main .up,.table-main .down{color: red;}
.table-main .up::after{content: "↑";}
.table-main .down::after{content: "↓";}
.table-main .outras-acoes:hover{color: red;}

.projeto-azul{background-color: rgba(0, 0, 255, 20%) !important;}
.projeto-amarelo{background-color: rgba(255, 255, 0, 20%) !important;}
.projeto-vermelho{background-color: rgba(255, 0, 0, 20%) !important;}

.caixa-legenda{
    border: 1px solid black;
    width: 15px;
    height: 15px;
}

/* .projetos.main .table-main th{width: 10%; text-transform: uppercase;}
.projetos.main .table-main th:nth-child(1),
.projetos.main .table-main th:nth-child(2),
.projetos.main .table-main th:nth-child(3),
.projetos.main .table-main th:nth-child(4),
.projetos.main .table-main th:nth-child(7),
.projetos.main .table-main th:nth-child(8),
.projetos.main .table-main th:nth-child(9),
.projetos.main .table-main th:nth-child(11){
    width: 1% !important;
} */

input:not(input[type="submit"]), select{
    border-radius: 0px;
    border: 1px solid rgb(200, 200, 200);
    padding: 2.5px;
}

.pagination a{
    text-decoration: none;
    border: 1px solid gray;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2.5px;
    transition-duration: 0.5s;
}
.pagination a:hover{background-color: rgba(255, 255, 0, 0.419);} 
.pagination a.active{color: red;} 

.caixa{
    border: 1px solid #c9ccd0;
    border-radius: 5px;
    padding: 7.5px;
    margin: 20px auto;
}
.caixa input, .caixa select{text-align: center;}

.projeto-print p{margin: 0.25rem 0px !important;}
.projeto-print table{
    width: 100%;
    border-collapse: collapse;
    /* font-size: 16px; */
    text-align: justify;
}
.projeto-print th{text-transform: uppercase;}
.projeto-print th, .projeto-print td{
    border: 2px solid rgb(214, 214, 214);
    padding: 10px;
    width: 50%;
}

.cursor-pointer{cursor: pointer;}

option.nao-activo{color: red;}

@media print{
    /* @page{size: a4 landscape;} */
    header, footer, .projeto-print .cancelar{display: none !important;}
    .pesquisa-main table tr th:last-of-type,
    .pesquisa-main table tr td:last-of-type{display: none;}
}