@charset "UTF-8";
/* CSS Document */


/* GERAL */
html {
    font-size: 15px;
}

@media screen and (min-width: 320px) {
    html {
        font-size: calc(15px + 9 * ((100vw - 320px) / 680));
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 24px;
    }
}

#app {
    display: flex;
    flex-direction: column;
}

header, .header {
    flex: 1 100%;
}

nav.menu {
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 6;
    -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
}

/* CABEÇALHO */
ul.logos {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 90vw;
    z-index: 5;
    padding: 1vw 5vw 0 5vw;
}

.logo a {
    overflow: hidden;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: 100%;
    color: transparent;
    display: inline-block;
}

.projeto a {
    width: 25vw;
    height: 25vw;
}

.cncfs a {
    width: 16vw;
    height: 8vw;
    background-image: url(../ims/cncfs.png);
    margin-top: 2vw;
}

.inclinada {
    position: fixed;
    right: -3vw;
    top: -5.5vw;
    width: 106vw;
    height: 33vw;
    background-color: #FFF;
    -ms-transform: skew(0deg, -6deg);
    -webkit-transform: skew(0deg, -6deg);
    transform: skew(0deg, -6deg);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

/* base superior usa border para formar triângulo ;) */
.vinco {
    position: fixed;
    width: 0;
    height: 0;
    left: -50vw;
    border-left: 100vw solid transparent;
    border-right: 100vw solid transparent;
    border-top: 28vw solid #FFF;
    background-color: transparent;
    z-index: 4;
}

/* PROVISORIO */
.slideshow {
    width: 100vw;
    height: 75vw;
    background-color: #CCC;
    background-size: cover;
    background-image: url(../ims/amendoa.jpg);
}

.imagemtopo {
    width: 100vw;
    height: 37vw;
    background-color: #CCC;
    background-size: cover;
    background-image: url(../ims/amendoa.jpg);
}


/* CORES */
.data, address, address h2, h4, .anexos ul a {
    color: #999;
}

.menu ul li a:hover, .menu ul li.activo a {
    color: #FFF;
}

.noticia h2 {
    color: #6CF !important;
}

h1, .parceiros ul li a {
    color: #333;
}

/* BIOPEST */
.biopest .projeto a {
    background-image: url(../ims/biopest.png);
}

.biopest .imagemtopo {
    background-image: url(../ims/galhas-do-castanheiro.jpg);
}

.biopest .menu {
    background-color: #906;
}

.biopest h2, .biopest h3 {
    color: #906;
}

.biopest .menu ul li a:link, .biopest .menu ul li a:visited, .biopest .menu ul li a:active {
    color: #C9C;
}

/* VALNUTS */
.valnuts .projeto a {
    background-image: url(../ims/valnuts.png);
}

.valnuts .imagemtopo {
    background-image: url(../ims/valnuts-avela.jpg);
}

.valnuts .menu {
    background-color: #89642b;
}

.valnuts h2, .valnuts h3 {
    color: #89642b;
}

.valnuts .menu ul li a:link, .valnuts .menu ul li a:visited, .valnuts .menu ul li a:active {
    color: #C93;
}

/* EGIS */
.egis .projeto a {
    background-image: url(../ims/egis.png);
}

.egis .menu {
    background-color: #393;
}

.egis h2, .egis h3 {
    color: #393;
}

.egis .menu ul li a:link, .egis .menu ul li a:visited, .egis .menu ul li a:active {
    color: #84f6bb;
}

/* BIOCHESTNUT */
.biochestnut .projeto a {
    background-size: cover;
    width: 40vw;
    background-image: url(../ims/biochestnut.png);
}

.biochestnut .menu {
    background-color: #060;
}

.biochestnut h2, .biochestnut h3 {
    color: #060;
}

.biochestnut .menu ul li a:link, .biochestnut .menu ul li a:visited, .biochestnut .menu ul li a:active {
    color: #C90;
}

/* VALOR+ */
.valormais .projeto a {
    background-image: url(../ims/valormais.png);
}

.valormais .menu {
    background-color: #690;
}

.valormais h2, .valormais h3 {
    color: #690;
}

.valormais .menu ul li a:link, .valormais .menu ul li a:visited, .valormais .menu ul li a:active {
    color: #CF6;
}

/* Portal VALOR+ */
body.portal {
    background-color: #cccc99;
}

.portal .projeto a {
    background-image: url(../ims/valormais.png);
}

.portal .imagemtopo {
    width: 88vw;
    height: 30vh;
    background-size: cover;
    background-image: url(../ims/portal-inicio.jpg);
    padding: 22vw 6vw;
}

.portal .imagemtopo h1 {
    font-size: 2rem;
    color: goldenrod;
    line-height: 2.3rem;
    text-transform: uppercase;
}

.portal .imagemtopo h1 b {
    font-weight: 600;
}

.portal .imagemtopo h2 {
    font-size: 1rem;
    line-height: 1.4rem;
    color: goldenrod;
    font-weight: 400;
}

.anuncio h2, .anuncio h3 {
    color: #060;
}

.cria-edita {
    background-color: white;
    margin: 10vw 18vw;
    width: 60vw;
    padding: 2vw;
}

.userlogin a {
    margin-top: 2vw;
    width: 10vw;
    height: 10vw;
    background-position: top center;
    background-image: url(../ims/login.png);
    background-size: 8vw;
    text-indent: 0;
    color: #aaa;
    text-align: center;
    padding-top: 8vw;
    text-decoration: none;
    font-size: 0.8rem;
}

.esconde {
    display: none;
}

/* TIPOGRAFIA */
.menu, h2, h3, h4, .anexos ul a {
    font-size: 0.9rem;
    text-transform: uppercase;
}

h2, .menu ul li a:hover, .menu ul li.activo a, .evento h1 {
    font-weight: 700;
}

.menu, h3, .data, article h1, address h2, h4 {
    font-weight: 400;
}

article h1 {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

.destaques, .anuncios, h4 {
    line-height: 1.4rem;
}

.anuncio h3, .anuncio h4 {
    display: inline-block;
}

address, .conteudos {
    line-height: 1.2rem;
}

i, em {
    font-style: italic;
}

.evento h1 {
    font-size: 1.4rem;
    line-height: 1.8rem;
}

/* MENU */
.menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    width: 100vw;
}

.menu ul li {
    padding: 4vw 1vw;
}

.menu ul li a {
    text-decoration: none;
}

nav.voltar {
    position: relative;
    width: 6vw;
    z-index: 3;
    align-self: stretch;
    align-items: center;
}

nav.voltar a {
    display: block;
    width: 6vw;
    height: 100%;
    text-indent: 100%;
    color: transparent;
    background-image: url(../ims/seta.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 6vw;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.usermenu {
    height: 4.5vw;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
}

.submenu-portal {
    position: fixed;
    z-index: 3;
    height: 12vw;
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-around;
}

.submenu-portal div {
    width: 50%;
    text-align: center;
    letter-spacing: 0.05rem;
    color: #060;
    font-weight: 600;
    text-transform: uppercase;
    height: 6vw;
    padding-top: 27vw;
    background-color: #ffcc00;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-around;
}

.submenu-portal .comprar {
    background-color: #9c3;
    color: #060;
}

.comprar:hover {
    opacity: 0.8;
    cursor: pointer;
}

.filtros-portal div, .usermenu div {
    text-align: center;
    color: #693;
    text-transform: uppercase;
    flex: 1 1 auto;
    font-size: 0.8rem;
}

.usermenu div a {
    color: #693;
}

.filtros-portal {
    position: fixed;
    z-index: 6;
    padding: 0;
    width: 100vw;
    bottom: 0;
    background-color: #cccc99;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    -webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.3);
}

.filtros-portal div {
    padding: 2vw 4vw;
}

/* CONTEUDO */
main {
    margin-top: 22vw;
}

.portal main {
    margin-top: 14vw;
    margin-left: 0;
    flex: 1 0 0;
}

.cobre {
    position: relative;
    margin-top: -3vw;
    height: 6vw;
    background-color: #FFF;
    -ms-transform: skew(0deg, -3deg);
    -webkit-transform: skew(0deg, -3deg);
    transform: skew(0deg, -3deg);
    -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.destaques, .conteudos, .anuncios {
    position: relative;
    z-index: 3;
}

.anuncios {
    padding: 6vw 0;
    margin-top: 20vw;
}

.portal .conteudos {
    margin: 10vw 5vw;

}

.destaques a, .anuncios a {
    text-decoration: none;
}

article {
    padding: 4vw 8vw 4vw 4vw;
    border-bottom: thin #DDD solid;
    background-image: url(../ims/seta.png);
    background-position: center right 2vw;
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-size: 6vw;
}

.single article, .single .anexos {
    padding: 0;
    border-bottom: none;
    background-image: none;
    width: 78vw;
}

.single .anexos {
    width: 82vw;
}

.imagemcard {
    display: none;
}

.conteudos section {
    padding: 4vw;
}

.parceiros ul li, .conteudos p {
    margin: 0 0 2vw;
}

blockquote {
    margin: 0 2vw 2vw 4vw;
}

.conteudos {
    display: flex;
    flex-direction: column;
}

.conteudos section:first-child, .parceiros {
    order: -1;
}

.single {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 92vw;
    z-index: 5;
    padding: 8vw 4vw;
}

.conteudos .anexos {
    padding: 0;
    border-top: thin #DDD solid;
}

.conteudos .anexos li {
    padding: 4vw 0;
    border-bottom: thin #DDD solid;
    background-image: url(../ims/download.png);
    background-position: center right 3vw;
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-size: 6vw;
}

.anuncios article h3 {
    padding: 0 1vw 0 0;
}

.anexos ul a {
    text-decoration: none;
}


/* RODAPE */
.contactos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 92vw;
    z-index: 4;
    padding: 8vw 4vw;
}

.portal address, .portal address h2 {
    color: white;
    font-size: 0.9rem;
    line-height: 1.1rem;
}

.apoios {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 90vw;
    z-index: 5;
    padding: 8vw 4vw;
    margin-bottom: 10vw;
}

.portal .apoios {
    background-color: white;
}

.apoios a {
    overflow: hidden;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 7vw;
    text-indent: 100%;
    color: transparent;
}

.pdr {
    width: 28vw;
    background-image: url(../ims/pdr2020.png);
}

.ue {
    width: 22vw;
    background-image: url(../ims/ue.png);
}

.p2020 {
    width: 22vw;
    background-image: url(../ims/p2020.png);
}


/* Formularios */

form {

    margin: 1rem 0;

    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    width: 100%;
    justify-content: center;

}

.mostra {

    display: block;
}

.sobeedesce, .sobedesce {

    width: 100vw;

    position: fixed;

    z-index: 5;

}

.barralogin {

    padding: 1rem 5%;

    width: 90%;

    background-color: lightgray;

    height: 4.2rem;

    transition-duration: 0.5s;

    position: fixed;

    top: -4.2rem;

}

.barramenu {
    padding: 0 5%;

    width: 90%;

    background-color: white;
    border-bottom: solid thin darkolivegreen;

    height: 5vw;

    transition-duration: 0.5s;

    position: fixed;

    top: 0;
}


.sobeedesce {

    transition-duration: 0.5s;

    position: fixed;

    top: 0;

}

.sobeedesce.down {

    top: 6.2rem;

}

.sobedesce.down, .sobedesce {
    position: fixed;
    top: 5vw;
}

.barralogin.on, .barramenu.on {

    top: 0;

}

.login {

    display: grid;

    grid-template-columns: 30% 30% 30%;

    grid-gap: 5%;

}

.login button {

    margin: 0;

}

button, .butao {

    padding: 0.5rem 0.7rem;

    margin: 0.5rem 0.5rem 1rem 0;

    text-transform: uppercase;

    font-size: 1rem;

    background-color: #FC0;

    color: #222;

    border-radius: 0.3rem;

    border: none;

    font-family: 'Roboto Condensed', sans-serif;

    font-weight: 700;

    text-decoration: none;

    display: inline-block;

}


.label {

    font-family: 'Roboto Condensed', sans-serif;

    font-size: 1rem;

    line-height: 1.6rem;

    font-weight: 700;

    color: #222;

}

.fileiras label {
    margin: 1rem;
}

.control .input {

    padding: 0.5rem;

    font-size: 1rem;

    background-color: #ddd;

    width: calc(100% - 1rem);

    border-radius: 0.25rem;

    border: none;

    font-family: 'Roboto Condensed', sans-serif;

}


.campo {

    margin: 0.5rem 0;

}

.campo.fileiras {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

input[type='checkbox'] {

    -webkit-appearance: none;

    -moz-appearance: none;

    appearance: none;

    display: inline-block;

    position: relative;

    background-color: #ddd;

    color: #0F0;

    top: 10px;

    height: 30px;

    width: 30px;

    border: 0;

    border-radius: 50px;

    cursor: pointer;

    outline: none;

    margin: 0 0.5rem 0 0;

}

input[type="checkbox"]:checked::before {


    position: absolute;

    font: 1rem/1 'Roboto Condensed', sans-serif;

    left: 0.35rem;

    top: 0.1rem;

    content: '\02143';

    -webkit-transform: rotate(40deg);

    transform: rotate(40deg);


}

button:focus, input:focus, button:active {

    -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);

}


form button {

    background-color: #FC6;

    color: darkolivegreen;

}


button.aceso {

    background-color: #FC0;

    color: #222;

}

.sucesso {
    visibility: hidden;

    width: 100vw;

    height: 100vh;

    background-color: darkolivegreen;

    color: #111;

    z-index: 20000;

    text-align: center;

    position: fixed;

    top: 0;

    left: 0;

    transition-duration: 0.5s;

}

.sucesso.aceso {
    visibility: visible;
}

.sucesso p {

    padding: 20vw;

}


/*Acrescentado*/

.third-level-menu {
    position: fixed;
    bottom: 6vh;
    left: 50vw;
    width: 50vw;
    list-style: none;
    padding-left: 1px;
    display: none;
}

.third-level-menu > li {
    background-color: #cccc99;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.third-level-menu > li:hover {
    background: #CCCCCC;
}

.second-level-menu {
    position: fixed;
    bottom: 6vh;
    left: 0;
    width: 50vw;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.second-level-menu span {
    padding: 15px 10px !important;
}

.second-level-menu span:hover {
    background-color: #9c3;
}

.second-level-menu > li {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: relative;
    background-color: #cccc99;
}


.top-level-menu {
    text-transform: uppercase;
    list-style: none;
}

.top-level-menu > li {
    position: relative;
    float: left;
    width: 100%;
}


.top-level-menu li:hover > ul {
    /* On hover, display the next level's menu */
    display: inline;
}


/* Menu Link Styles */

.top-level-menu span /* Apply to all links inside the multi-level menu */
{
    color: #FFFFFF;
    padding: 10px 0;

    /* Make the link cover the entire list item-container */
    display: block;
    cursor: pointer;
    text-align: left;
}

.top-level-menu span:hover {
    color: #FFFFFF;
}


.submenu-portal div {
    cursor: pointer;
}

.errors {
    display: grid;
    grid-template-columns: 30% 30%;
    grid-gap: 5%;
    color: red;
    font-size: 10px;
    padding: 4px;
}

.usermenu a {
    text-decoration: none;
    text-align: center;
    color: #693;
    text-transform: uppercase;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    font-size: 0.8rem;
}


.usermenu .active a {
    text-decoration: underline;
}


button.desactivo {

    background-color: #FC6;

    color: darkolivegreen;

}

.filtros-portal .center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    text-align: center;
}

.filtros-portal .center > span {

}



