﻿@font-face {
    font-family: 'Kristen ITC';
    src: url('Fonts/KristenITC-Regular.eot');
    src: url('Fonts/KristenITC-Regular.eot?#iefix') format('embedded-opentype'), url('Fonts/KristenITC-Regular.woff') format('woff'), url('Fonts/KristenITC-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    font-family: 'Arial';
    font-size: 11pt;
    max-width: 100%;
    overflow-x: hidden;
}

:target {
    padding-top: 2rem;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sel {
    border: 1px solid;
    padding: 5px;
}

section {
    padding: 2rem;
    overflow: hidden;
    text-align: center;
}

.titulo {
    margin-top: 3rem;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/*#region HEADER */
.sel {
    border: solid 1px;
    -webkit-transition-timing-function: ease; /* Safari and Chrome */
    transition-timing-function: ease;
}

header {
    width: 100%;
   background: linear-gradient( #bbb, #d5d5d5);
    padding: 1rem;
    height: auto;
    color: #2F4391;
    border-bottom: solid #2F4391 5px;
    padding-bottom: 0;
    position: fixed;
    z-index: 1000;
       box-shadow:0 0 10rem rgba(0,0,0,0.5);
}

.fb {
    width: 2rem;
    height: 2rem;
}

    .fb:hover {
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

.logo {
    width: auto;
    height: 5rem;
    float: left;
}

.logo, .partner {
    display: inline-block;
    vertical-align: top;
}

header .partner {
    margin-left: 2rem;
    width: 4%;
    height: 5rem;
    width: auto;
}

.social {
    float: right;
}

    .social input {
        margin-right: 1rem;
    }

nav {
    clear: both;
    float: right;
    text-align: right;
    margin-top: -2rem;
}

    nav ul li {
        display: inline-block;
        margin-left: 1rem;
        padding: 2px;
        font-size: 0.8rem;
    }

        nav ul li:hover {
            font-weight: bold;
        }

.subMenu {
    display: none;
    position: absolute;
    right: 3rem;
    text-align: left;
}

    .subMenu li {
        display: block;
        padding: 1rem;
        cursor: pointer;
        background: #717171;
        color: white;
    }

        .subMenu li:nth-child(1) {
            margin-top: 1.1rem;
        }

        .subMenu li:hover {
            background: #bbb;
        }

nav ul li:hover > .subMenu {
    display: block;
}
/*#endregion */

/*#region HOME */

#home {
    background-color: #90B218;
}

    #home h1 {
        font-size: 2rem;
        color: white;
        font-family: 'Kristen ITC';
    }

    #home h2 {
        font-weight: normal;
        color: white;
    }

/*#region slider */
/* Slideshow container */
.slide {
    width: 80%;
    max-width: 1000px;
    position: relative;
    margin: auto;
    margin-top: 8rem;
}

.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #717171;
    }

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}


/*#endregion */

/*#endregion */

/*#region NOTICIAS */

#noticias {
    background: white;
    height: auto;
}

    #noticias .titulo {
        color: #2F4391;
        margin-bottom: 4rem;
    }

.noticia {
    display: inline-block;
    vertical-align: top;
    /*alterar*/
    width: 10%;
    min-width: 13rem;
    min-height: 16rem;
    background: rgba(47, 67, 145, 0.25);
    border: 1px solid #2F4391;
    padding: 2rem;
    margin: 2rem;
    color: #2F4391;
    border-radius: 3%;
    white-space: normal;
}

    .noticia:hover {
        background: rgba(255, 255, 255, 0.11);
    }

    .noticia img {
        width: 100%;
        margin: 0 auto;
    }


    .noticia h1 {
        font-size: 0.8rem;
        margin-top: 2rem;
    }

    .noticia p {
        font-size: 0.8rem;
    }

.box-noticias {
    width: 80%;
    min-width: 10rem;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    height: auto;
}

#noticias .box-noticias, #noticias .aside {
    display: inline-block;
    vertical-align: middle;
    color: #2F4391;
    margin: 0 1rem;
}

/*#region POPUP NOTICIA */

#noticias .popup {
    background: #2F4391;
    color: white;
}

    #noticias .popup .close {
        color: white;
    }

    #noticias .popup img {
        width: 20rem;
        display: inline-block;
        margin: 2rem;
    }

    #noticias .popup .Imgs {
        background: rgba(255, 255, 255, 0.60);
        margin: 2rem 0;
    }

.Imgs .aside {
    display: inline-block;
    vertical-align: middle;
    color: #2F4391;
}

div.aside {
    cursor: pointer;
    font-size: 2rem;
}

/*#endregion */

/*#endregion */

/*#region EQUIPA */

#equipa {
    text-align: center;
    color: #2F4391;
}

    #equipa article {
        width: 200px;
        height: auto;
        display: inline-block;
        margin: 2rem;
        text-align: center;
        overflow: hidden;
        vertical-align: top;
    }

        #equipa article img {
            border-radius: 50%;
            width: 10rem;
        }

    #equipa .nome {
        font-weight: bold;
        font-size: 1.25rem;
    }

    #equipa .titulo {
        color: #90B218;
    }

    #equipa > img {
        vertical-align: middle;
    }

/*#endregion */

/*#region SOBRE NOS */

#sobrenos {
    background: #2F4391;
    color: white;
}

    #sobrenos img {
        width: 15%;
        min-width: 5rem;
    }

    #sobrenos p {
        width: 70%;
        margin-left: 2rem;
    }

    #sobrenos img, #sobrenos p {
        display: inline-block;
        vertical-align: middle;
    }

    #sobrenos div {
        display: inline-block;
        width: 40%;
        min-width: 25rem;
        vertical-align: top;
        margin: 1.5rem;
        text-align: left;
        font-size: 1rem;
    }

#video {
    width: 100%;
    text-align: center;
    padding: 3rem 0;
    background: #333333;
    height: auto;
}


#slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: -5rem;
}

    #slider ul {
        position: relative;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        #slider ul li {
            position: relative;
            display: block;
            float: left;
            margin: 0;
            padding: 0;
            width: 50vw;
            min-width: 300px;
            text-align: center;
            line-height: 300px;
        }

            #slider ul li img {
                width: 100%;
            }

.control_prev, .control_next {
    position: absolute;
    top: 30%;
    z-index: 999;
    display: block;
    padding: 4%;
    width: auto;
    height: auto;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
    border-radius: 50%;
}

    .control_prev:hover, .control_next:hover {
        opacity: 1;
        -webkit-transition: all 0.2s ease;
    }

.control_prev {
    border-radius: 0 2px 2px 0;
}

.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

.accordion {
    cursor: pointer;
    color: white;
    background:#2F4391;
}

    .accordion:hover {
        background: rgba(47, 67, 145, 0.81);
    }

    .accordion img {
        width: 5rem;
        margin-right: 2rem;
        vertical-align: middle;
    }

    .accordion img, .accordion h1 {
        display: inline-block;
        margin-top: 0;
    }

.panel {
    display: none;
}
/*#endregion */

/*#region TESTEMUNHOS */

#testemunhos {
    background: #90B218;
    text-align: center;
    min-height: 35vh;
    padding-bottom: 5rem;
}

.testemunho p {
    font-size: 1rem;
    color: #2F4391;
    margin: 1rem auto;
    text-align: left;
}

.testemunho {
    border: solid #90B218;
    background: #ffffff;
    padding: 2rem;
    width: 70%;
    margin: 1rem auto;
    box-shadow:rgba(0,0,0,0.5) 0rem 0.5rem 2.5rem;
}

    .testemunho em {
        color: #90B218;
        font-weight: bold;
    }

#testemunhos article {
    display: inline-block;
    vertical-align: middle;
    margin: 1rem;
}

.testemunho img {
    margin: 2rem;
    width: 10%;
    min-width: 4rem;
}

.testemunho img, .testemunho div {
    display: inline-block;
    vertical-align: middle;
}

.testemunho div {
    width: 70%;
}

#testemunhos .aside {
    cursor: pointer;
}

    #testemunhos .aside:hover {
        color: white;
    }

#testemunhos .titulo {
    color: #fff;
    margin-bottom: 3rem;
}

#testemunhos .aside {
    color: white;
}
/*#endregion */



.koni {
    width:20%;
    min-width:8rem;
    padding:1rem;
    
}
/*#region PRODUTOS */

#produtos {
    color: #2F4391;
    background: #fff;
}

    .categorias {
        width: 80%;
        margin: 2rem auto;
        text-align: center;
        overflow: hidden;
    }

     .categoria {
        display: inline-block;
        padding: 1.2rem;
        margin: -2px;
    }

       .categoria h1 {
            font-weight: normal;
            font-size: 1rem;
        }

        .categoria:hover, .categoriaSel {
            background: rgba(47, 67, 145, 0.3);
            cursor: pointer;
            color: white;
        }

    #produtos .produtos {
        width: 70%;
        border-radius: 15px;
        float: right;
        text-align: left;
    }

    #produtos .produto {
        display: inline-block;
        width: 12rem;
        /*background: rgba(47, 67, 145, 0.47);*/
        margin: 1.5rem;
        padding: 1rem;
        overflow: hidden;
        vertical-align: top;
        color: #90B218;
        border-radius: 1rem;
        -webkit-transition: background-color 1.5s ease-out;
        -moz-transition: background-color 1.5s ease-out;
        -o-transition: background-color 1.5s ease-out;
        transition: background-color 1.5s ease-out;
        text-align: center;
    }

        #produtos .produto:hover {
            background: rgb(144, 178, 24);
            color: #fff;
        }

        #produtos .produto img {
            width: 100%;
        }

        #produtos .produto h1 {
            font-size: 1rem;
        }

        #produtos .produto h2 {
            font-size: 1rem;
            font-weight: normal;
        }

    /*#region POPUP PRODUTOS */

    #produtos .listImg img {
        height: 3rem;
        margin: 1rem 0;
        display: inline-block;
        opacity: 0.5;
    }

    #produtos .listImg {
        text-align: left;
    }




        #produtos .listImg img:hover, .imgSel {
            opacity: 1 !important;
            cursor: pointer;
        }





    #produtos .bigImg img, #produtos .bigImg iframe {
        width: 100%;
    }

    #produtos .bigImg iframe {
        height: 29rem;
    }
    /*#produtos .bigImg, #produtos .listImg {
        display: inline-block;
        vertical-align: middle;
        margin: 1rem;
    }*/
    #produtos .bigImg {
        border: solid 2px #d5d5d5;
        border-radius: 2rem;
        width: 50%;
        min-width: 20rem;
        max-height: 30rem;
        overflow: hidden;
    }

        #produtos .bigImg:hover {
            overflow-y: auto;
        }

    #produtos .bigImg, #produtos .wrap {
        display: inline-block;
        vertical-align: middle;
        margin: 1rem 2rem;
    }

#player {
    display: none;
}

#produtos .wrap {
    width: 30%
}


#produtos .descri {
    text-align: left;
    color: #fff;
    background: #2F4391;
    border-radius: 1rem;
    padding: 2rem;
}

    #produtos .descri h2 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: #90B218;
    }

#produtos .caract h2 {
    margin-bottom: 2rem;
}


#produtos .caract {
    text-align: left;
    width: 87%;
    min-width: 25rem;
    margin: 2rem auto;
    color: #333333;
    border: solid 1px #90B218;
    border-radius: 1rem;
    padding: 2rem;
}

#produtos .pdf {
    width: auto;
    background: #2F4391;
    color: white;
    padding: 1rem;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

    #produtos .pdf:hover {
        opacity: 0.8
    }

/*#endregion */
#produtos .produtos, #filtros {
}

/*#region FILTROS */
#filtros {
    float: left;
    top: 20rem;
    z-index: 1000;
    width: 10%;
    min-width: 15rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.66);
    cursor:pointer;
}



    #filtros div {
        overflow: visible;
        text-align: left;
    }

    #filtros .principal {
        padding: 0.2rem;
        margin-top: 1rem;
        background-color: #90B218;
        color: white;
        border-radius: 1rem;
        cursor:pointer;
    }

    #filtros .principal:hover {
        box-shadow:#717171 0.2rem 0.2rem 1rem;
    }

    #filtros .principal label,  #filtros .principal input, #filtros .escolha input, #filtros .escolha label{
        cursor:pointer;
    }

    #filtros .escolha {
        border-bottom: 1px solid #90B218;
        padding: 0.1rem;
        display: none;
        font-size: 0.8rem;
    }

/*#endregion */

/*#region LOADING */

.loader {
    margin: 5rem auto;
    border: 0.6rem solid rgba(144, 178, 24, 0.29); 
    border-top: 0.6rem solid #90B218; 
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#endregion */
/*#endregion */

/*#region POPUP */

.overlayComLoad {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    display: none;
}

    .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
    }

.popup {
    margin: 5rem auto;
    padding: 1.8rem 0;
    background: #fff;
    border-radius: 1rem;
    width: 80%;
    text-align: center;
    min-width: 30rem;
    position: relative;
    transition: all 5s ease-in-out;
}

    .popup h2 {
        margin-top: 0;
        color: #2F4391;
    }

    .popup .close {
        position: absolute;
        top: 1rem;
        right: 2rem;
        transition: all 200ms;
        font-size: 2rem;
        font-weight: bold;
        text-decoration: none;
        color: #2F4391;
    }

        .popup .close:hover {
            color: #90B218;
        }


/*#endregion */

/*#region CONTACTOS */

.inst {
    background:url(Content/instalacoes.jpg);
    height:50vh;
    background-attachment:fixed;
    background-size:cover;
    background-position:center;
}

#contactos {
    background: #2F4391;
    color: white;
}

    #contactos div {
        font-size: 1rem;
        width: 35%;
        display: inline-block;
        vertical-align: top;
        min-width: 250px;
        text-align: left;
        margin: 2rem;
    }

        #contactos div h2 {
            color: #90B218;
            font-weight: normal;
        }

    #contactos form input, #contactos form select, #contactos form textarea {
        margin: 1rem 0;
        border-radius: 1rem;
        border: none;
        width: 100%;
        padding: 0.3rem;
    }

#botao, .botao {
    width: 5rem;
    height: 3rem;
    background: #90B218;
    border: none;
    color: white;
    border-radius: 1rem;
    display: block;
    margin: 0 auto;
}

.but-info {
    border: 1px solid white;
    padding: 0.5rem;
}

    .but-info:hover {
        background: rgba(255, 255, 255, 0.30);
    }

.botao {
    width: auto;
    padding: 0 1rem;
    margin-top: 2rem;
}

    #botao:hover, .botao:hover {
        opacity: 0.8;
        cursor: pointer;
    }

.popup form .wrap-form {
    display: inline-block;
    vertical-align: top;
    width: 40%;
    text-align: left;
    overflow: hidden;
    padding: 2rem;
    min-width: 20rem;
}

.popup form div:last-of-type {
    margin: 1rem auto;
}

.popup form input, .popup form textarea {
    margin: 1rem 0;
    border-radius: 1rem;
    border: solid 1px;
    border-color: #90B218;
    padding: 0.3rem;
    width: 100%;
}

.popup form {
    width: 80%;
    margin: 0 auto;
}

#contactos .mapa {
    margin: 2rem 0;
    width: 100%;
}

#contactos .captcha {
    margin: 0;
    width: 100%;
    text-align: center;
}

.captcha > div {
    width: auto !important;
    height: auto !important;
}

    .captcha > div > div {
        margin: 0 !important;
    }
/*#endregion */

/*#region FOOTER */

footer {
    background: #333333;
    color: white;
    border-top: solid;
    font-size: 10pt;
    padding: 2rem;
    text-align: center;
}

    footer div img {
    
           display: inline-block;
        vertical-align: middle;
    }

    footer div img {
    width:49%;
    }
    footer div {
     display: inline-block;
        vertical-align: middle;
    }


        footer div:nth-child(1) {
            width:30%;
            text-align: right;
            margin-right: 2rem;
        }

        footer div:nth-child(2) {
            width:30%;
            text-align: left;
            border-left: solid 1px;
            padding-left: 2rem;
        }
/*#endregion */

@media only screen and (max-width: 793px) {
    section {
        padding: 1rem;
    }

    header {
        font-size: 0.8rem;
    }

        header .logo {
            margin-bottom: 2rem;
        }

    #contactos div {
        width: 80%;
    }

    #home h1 {
        font-size: 25pt;
        margin-top: 60%;
    }

    #sobrenos img, #sobrenos p {
        display: block;
    }

    #sobrenos img {
        width: 30%;
        margin: 0 auto;
        max-width: 100px;
    }

    #sobrenos p {
        width: 70%;
        margin-left: 0;
        margin: 1rem auto;
    }

    #sobrenos div {
        display: block;
        width: 100%;
        min-width: 250px;
        margin: 0;
        text-align: left;
        font-size: 1rem;
    }

    footer div:nth-child(1) {
        display: none;
    }

    footer div:nth-child(2) {
        width: 90%;
    }
}
