/****************************** HTML TYPES ******************************/


html {
    scroll-behavior: smooth;
    font-family: 'Open Sans Light', arial;

}

body {
    margin: 0;
    font-weight: 300;
    counter-reset: section;
    font-family: 'Open Sans Light', arial;
    counter-reset: my-sec-counter 5;

}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans Light', arial;
}


/****************************** HTML Classes ******************************/


/********** Imagem e Controlo de Fluxo **********/


.pageContent {
    width: 70%;
    margin-left: 15%;

}

.imagemCapitulo {
    text-align: center;
    display: block;
    margin-bottom: 5%;
}

.capituloImagemTamanho {
    height: auto;
    width: 450px;
}

.topButton {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    font-size: 2vw;
    border: none;
    outline: none;
    background-color: white;
    color: #3d5567;
    cursor: pointer;
    padding: 1% 1% 1% 1%;
    width: auto;
}

.topButton:hover {
    background-color: #edf4f5;
}


.linhaSeparadora {
    display: block;
    margin: 2vh auto 2vh auto;
    border-style: solid;
    border-color: #3d5567;
    color: #3d5567;
}

/********** Menu **********/

.grid-container {
    display: grid;
    grid-template-columns: 4fr 4fr 4fr 4fr 4fr;
    justify-content: space-evenly;
    padding-top: 5vh;
    background-color: white;
}

.grid-container > a {
    text-align: center;
    border-right: 0.07vw solid #3d5567;
}

.grid-container > a:last-child {
    border-right: none;
}

.botaoNavMenu {
    background-color: #ffffff;
    color: #3d5567;
    border: none;
    outline: none;
    text-align: center;
    font-family: 'Open Sans', arial;
    font-size: 1vw;
    padding: 0;
    margin: 0;
    width: 100%;
}

.botaoNavMenu:hover {
    background-color: #edf4f5;;
}

#botaoMeio{
    font-family: 'Open Sans Bold', arial;
}

/********** Texto Introdutório **********/


.tituloTextoDetalhado {
    font-size: 1.2vw;
    color: #3d5567;
    font-family: 'Open Sans Bold', arial;
    margin-top: 4vh;
    text-align: left;
}

.textoDetalhado {
    font-size: 1vw;
    color: #3d5567;
    text-align: left;
    font-family: 'Open Sans Light', arial;
}


/********** Tabela de Artigos e Fichas **********/

.tabela {
    text-align: left;
    overflow: hidden;
    margin: 0 auto 5% auto;
    display: table;
    border-spacing: 0.7vh 0;
    color: #3d5567;
    border-collapse: collapse;
}

.tabela td {
    font-weight: normal;
    font-size: 1vw;
    color: #a9c3cb;
    list-style-type: none;
    counter-reset: contador;
}

/* Background-color of the odd rows */
.tabela tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Background-color of the even rows */
.tabela tr:nth-child(even) {
    background-color: #edf4f5;
}

/***** Elementos da Tabela *****/


.tabelaTitulo {
    font-family: 'Open Sans Bold', arial;
    color: #3d5567;
    width: 91%;
    font-size: 1.2vw;
    margin-top: 4vh;
    text-align: left;
}

.tabelaTextoPrincipal {
    font-size: 1vw;
    margin-left: 1vw;
    color: #3d5567;
    width: 91%;
}

h4::before {
    /* Increment "my-sec-counter" by 1 */
    counter-increment: my-sec-counter;
    content: counter(my-sec-counter) " - ";

}

.tabelaTextoDetalhesSingle {
    font-size: 0.7vw;
    padding-left: 2.5vw;
    color: #3d5567;
}

.tabelaTextoDetalhesDouble {
    font-size: 0.7vw;
    padding-left: 3vw;
    color: #3d5567;
}

.tabelaDivisorColunaBotao {
    text-align: center;
    font-weight: normal;
    font-size: 1.5vw;
    width: 4.5%;
}


.fichaArtigoText {
    color: white;
    background-color: #8597a3;
    background-repeat: no-repeat;
    padding: 5% 16%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7vw;
    width: 100%;
}

.fichaArtigoText:hover {
    background-color: #3d5567;
}

.botaoFichaArtigo {
    position: relative;
    text-align: center;
    width: 3vw;
    color: #3d5567;
}


/********** Mapa **********/

.zonaMapa {
    text-align: center;
    display: block;
}

.mapaTexto {
    font-family: 'Open Sans Bold', arial;
    color: #3d5567;
}

.mapa {
    height: 50vh;
}


/********** Rodape **********/


.criador {
    color: #3d5567;
    background-color: #e4eced;
    padding: 1vh 0 1vh 0;
    text-align: center;
    display: block;
}


/******************************  Media Querys 700 ******************************/


@media only screen and (max-width: 700px) {

    .pageContent {
        width: 90%;
        margin-left: 5%;
    }

    .imagemCapitulo {
        text-align: center;
        display: block;
        margin-bottom: 5%;
    }

    .capituloImagemTamanho {
        height: auto;
        width: 300px;
    }

    .topButton {
        display: none;
        visibility: hidden;
    }

    .topButton:hover {
        display: none;
        visibility: hidden;
    }


    .linhaSeparadora {
        display: block;
        margin: 2vh auto 2vh auto;
        border: 0.1vh solid #3d5567;
        color: #3d5567;
    }

    /********** Menu **********/
    .grid-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        grid-row-gap: 33%;
        margin-bottom: 5vh;
    }

    .grid-container > a {
        text-align: center;
        border-right: 0.4vw solid #3d5567;
    }


    .grid-container > a:nth-child(3) {
        border-right: none;
    }


    .grid-container > a:last-child {
        border-right: none;
    }

    .botaoCimaDireita {
        width: 80%;
    }

    .botaoCentro {
        grid-column: 2/4;
    }

    .botaoBaixo1 {
        grid-column: 1/3;

    }

    .botaoBaixo2 {
        grid-column: 3/5;
    }

    .botaoNavMenu {
        font-size: 3.5vw;

    }


    /********** Texto Introdutório **********/
    .tituloTextoDetalhado {
        font-size: 5vw;

    }

    .textoDetalhado {
        font-size: 3.5vw;
    }


    /********** Tabela de Artigos e Fichas **********/
    .tabela {
        margin: 0;
        width: 100%;
    }

    /***** Elementos da Tabela *****/
    .tabelaTitulo {
        font-size: 5vw;
    }

    .tabelaTextoPrincipal {
        font-size: 3.5vw;
    }

    .tabelaTextoDetalhesSingle {
        font-size: 2.5vw;
        padding-left: 1.5vh;
    }

    .tabelaTextoDetalhesDouble {
        font-size: 2.5vw;
        padding-left: 1.5vh;
    }

    .tabelaDivisorColunaButao {
        width: 10vw;
    }


    .fichaArtigoText {
        font-size: 3vw;
        width: 100%;
    }

    .botaoFichaArtigo {
        width: 12vw;
    }


}


/******************************  Media Querys 500 ******************************/


@media (max-width: 500px) {


}


