.bannerQuemSomos h1.titulo{text-align: center; margin-bottom: 26px;}
.bannerQuemSomos h2{margin-top: 24px;}
.bannerQuemSomos *.mTop{margin-top: 14px;}
.quemSomosSection, #visao, #valores, #missao, #intervencao{ margin-top: 32px; }
#valoresSection h3:not(:first-of-type){margin-top: 8px;}
.bannerQuemSomos .quemSomosSection .rightHalf, .bannerQuemSomos .quemSomosSection .leftHalf{ direction: ltr; }

.bannerEquipa{ background-color: #E1F5FE; }
.bannerEquipa h1.titulo{text-align: center; margin-bottom: 26px;}
.bannerQuemSomos{ background-color: #E1F5FE; }
.equipaPessoa{ text-align: center;}
.equipaPessoa a svg{margin-top:8px;}
.pessoa{
    border-radius: 50%;
    background: #FF6B0B;
    background: -webkit-linear-gradient(45deg, #FF6B0B, #FFC7A4); 
    background: -o-linear-gradient(45deg, #FF6B0B, #FFC7A4);
    background: -moz-linear-gradient(45deg, #FF6B0B, #FFC7A4); 
    background: linear-gradient(45deg, #FF6B0B, #FFC7A4); 
    padding-top: 100%;
    width: 100%;
    position: relative;
    margin-bottom: 4px;
}
.pessoa img {
    position: absolute;
    width: calc(100% - 4px);
    top: 2px;
    left: 2px;
    border-radius: 50%;
}
.equipaTitle{
    height: 100%;
    display: table;
    width: 100%;
}
.equipaTitle h1{
    display: table-cell;
    vertical-align: middle;
    padding: 16px ;
}

.premio { width: calc(50% - 16px); margin: 24px 8px 0 8px; }
.premio p{line-height: 20px;}
.premio h3{word-break: break-word;}
.premio img { 
    width: 100%;
    border-bottom: 1px solid #CFD8DC;
    margin-bottom: 8px;
}
.premio .tinyIcon{margin-top: 8px;} 
#premios{
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-top: 8px;
}
#historyText{ position: relative; overflow: hidden; width: auto; }
#historyGraph{ position: relative; }
#historyGraphSlider{ position: relative; margin-top: 32px; }
#historyGraphBackground{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: calc(100% - 200px); /* dont increase*/
    left: 0;
    overflow: hidden;
    z-index: 0;
    background-color: #E1F5FE;
}
#historySlider{overflow-y: visible;}
.history p, #historySlider p{
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0;
    color: #607D8B;
}
.historyDot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0070CD;
    float: left;
    margin-right: 4px;
    margin-top: 3px;
    position: relative;
    z-index: 1;
    padding: 2px;
}
.historyDot svg{ width: 12px; height: 12px; fill:#F4FBFF;display: block;}
.historyDot svg:hover{ fill:#E1F5FE;}
#historyText{ padding: 0 16px; }
.history {
    width: calc((2 * ((100vw - (13 * 48px)) / 12)) + (2 * 48px));
    float: left;
    margin-right: 48px;
}
/*
@keyframes moveH {
    0% { padding-top:0; }
    100% { padding-top:48px; }
}
.swiper-slide{
    animation: moveH 2s linear; animation-fill-mode: forwards;
}
*/
.bannerHistory{
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 0 !important;
    background-color: #F4FBFF;
}
.bannerHistory h1:first-child{ margin: 0 16px; }
.bannerHistory + .banner{ background-color: #E1F5FE; padding-bottom: 0 !important; }
#historyGraph .slidePrev, #historyGraph .slidePrev + *.fade-side-left{ display: none; }
#historySlider{padding: 0 25%; }
#historySlider svg.line{
    overflow: visible;
    stroke-width: 2;
    stroke: #0070CD;
    fill-opacity: 0; 
    width:calc(100% + 16px); 
    position:absolute;
    z-index:-1;
    margin-top: 11px;
}
#historySlider svg.background{
    overflow: visible;
    fill: #E1F5FE; 
    width:calc(100% + 16px); 
    position:absolute;
    z-index:-2;
    margin-top: 11px;
}

.lineMenu {
    position: relative;
    width: 100%;
    box-shadow: inset 0px -1px 0px 0px #cfd8dc;
}

.lineMenu p.notas{
    text-transform: uppercase;
    font-weight: 600;
    color: #607d8b;
    padding: 6px;
    cursor: pointer;
}
.lineMenu p.notas.current{color: #0070CD;}
.lineMenu .bar{
    position: absolute;
    height: 2px;
    background-color: #0070CD;
    left: 0;
    bottom: 0;
    width: 0;
    transition: width 0.15s ease-in-out 0s, left 0.15s linear 0s;
}
#equipaSubmenu .swiper-slide, #equipaSubmenu .swiper-wrapper, #equipaSubmenu{
    width: auto; height: auto;
}
#equipaSubmenu .swiper-wrapper{float: left;}
.bannerEquipa .equipa{display: none;}
.bannerEquipa .equipaPessoa{
    background-color: #FFFFFF;
    padding: 12px 48px;
    margin-top: 16px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
        transition: box-shadow 0.25s ease-out 0s;
}
.bannerEquipa .equipaPessoa:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.equipaPessoa .pessoa{margin-bottom: 10px;}

#grafico_intervencao {
    width: 100%;
    position: relative;
}
#grafico_intervencao img{
    pointer-events: none;
    width: 100%;
    margin:40px 0 52px 0;
}
.bola {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background-color: #fafbfb;
    position: absolute;
    cursor: pointer;
}
.bola:hover{background-color: #cfd8dc;}
#bola_saude {
    left: 37%;
    top: 40vw;
}
#bola_agua{
    left: 59%;
    top: 40vw;
}
#bola_educacao{
    left: 48%;
    top: 59vw;
}
.sub {
    position: absolute;
}
#sub_saude{
    text-align: center;
    top: -24px;
    width: 100%;
    padding: 0;
}
#sub_agua{
    text-align: right;
    bottom: -24px;
    right: 0;
    padding: 0;
}
#sub_educacao{
    bottom: -24px;
    left: 0;
    padding: 0;
}
.cont {
    position: absolute;
    text-transform: uppercase;
    color: #fafbfb;
}
#cont_saude{
    text-align: center;
    top: 12vw;
    width: 100%;
    padding: 0;
}
#cont_agua{
    text-align: right;
    bottom: 12vw;
    right: 16px;
    padding: 0;
}
#cont_educacao{
    bottom: 12vw;
    left: 16px;
    width: 32%;
    padding: 0;
}
.tool {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    -ms-transform: translateY(32px);
    transform: translateY(32px);
    -ms-transition: opacity 0.15s linear 0s, transform 0.15s linear 0s;
    transition: opacity 0.15s linear 0s, transform 0.15s linear 0s;
    pointer-events: none;
    opacity: 0;
}
.tool:before {
    background-color: #FFFFFF;
    content: "";
    display: block;
    position: absolute;
    top: calc(100% - 8px);
    left: -2px;
    -ms-transform: rotate( -46deg ) skew( -45deg );
    transform: rotate( -46deg ) skew( -45deg );
    width: 13px;
    height: 10px;
    box-shadow: -3px 3px 6px -3px rgba(0,0,0,0.19), -2px 6px 6px -3px rgba(0,0,0,0.23);
    -ms-transition: box-shadow 0.25s ease-out 0s;
    transition: box-shadow 0.25s ease-out 0s;
    /*
    top: calc(100% - 6px);
    left: calc(50% - 6px);
    -ms-transform: rotate( -45deg );
    transform: rotate( -45deg );
    width: 12px;
    height: 12px;
    */
}

.tool.open{
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
}
#tool_saude{
    left: 36vw;
    bottom: 49vw;
}
#tool_agua{
    left: 56vw;
    bottom: 49vw;
}
#tool_educacao{
    left: 46vw;
    bottom: 30vw;
}
#tool_agua p, #tool_educacao p, #tool_saude p {padding: 0;}

@media(min-width:480px){
    .footer{background-color: #E1F5FE;}
    .bannerEquipa h1.titulo, .bannerQuemSomos h1.titulo{margin-bottom: 44px;}
    .bannerQuemSomos h2{margin-top: 32px;}
    .quemSomosSection, #visao, #valores, #missao, #historyGraphSlider, #intervencao{margin-top: 48px;}
    
    .premio { width: calc(33.33% - 24px); margin: 32px 12px 0 12px; }
    #premios{ width: calc(100% + 24px); margin-left: -12px; margin-top: 16px; }
    .equipaTitle h1{padding: 24px 0; text-align: left;}
    #historyText{padding: 0px 24px;}
    .historyDot {
        margin-right: 8px;
    }
    #historySlider{padding: 0 24px; }
    .bannerHistory h1:first-child{ margin: 0 24px; }
    #historySlider svg.line, #historySlider svg.background{ width: calc(100% + 24px); margin-top: 13px; }
    
    .lineMenu p.notas{ padding: 8px; }
    .bannerEquipa .equipa{
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        align-items: flex-start;
    }
    .bannerEquipa .equipaPessoa{ 
        padding: 16px 48px; 
        margin-top: 24px; 
        float: left;
        width: calc(50% - 12px);
        margin-right: 24px;
    }
    .bannerEquipa .equipaPessoa:nth-of-type(2n), .bannerEquipa .equipaPessoa:last-of-type{ margin-right: 0;} 
    .equipaPessoa .pessoa{margin-bottom: 14px;}
    #grafico_intervencao{width: 80%;margin-left: 10%;}
    #grafico_intervencao img{ margin:48px 0 68px 0; }
    #bola_saude { left: 37%; top: 32vw; }
    #bola_agua{ left: 59%; top: 32vw; }
    #bola_educacao{ left: 48%; top: 46vw; }
    #sub_saude{ top: -24px; }
    #sub_agua{ bottom: -24px;}
    #sub_educacao{ bottom: -24px; }
    #cont_saude{ top: 8vw; }
    #cont_agua{ bottom: 16vw; right: 24px; }
    #cont_educacao{ bottom: 10vw; left: 24px;}
    #tool_saude{ left: 30vw; bottom: 39vw; }
    #tool_agua{ left: 46vw; bottom: 39vw; }
    #tool_educacao{ left: 38vw; bottom: 25vw; }
}
@media(min-width:600px){
    /*
    .bannerQuemSomos .rightHalf{float: right; width: calc((6 * ((100vw - 216px) / 8)) + 120px);}
    .bannerQuemSomos .leftHalf{float: left; width: calc((6 * ((100vw - 216px) / 8)) + 120px);}
    */
    /*
    .leftHalf { float: left; }
    .rightHalf { float: right; }
    .leftHalf, .rightHalf{ width: calc(50% - 12px); }
    */
    .bannerQuemSomos div:nth-of-type(1):not(.middle):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao), .bannerQuemSomos div:nth-of-type(3):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao){padding-left:calc((1 * ((100vw - 216px) / 8)) + 48px);}
    .bannerQuemSomos div:nth-of-type(2):not(.middle):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao), .bannerQuemSomos div:nth-of-type(4):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao){padding-right: calc((1 * ((100vw - 216px) / 8)) + 48px);}    
    .bannerQuemSomos .quemSomosSection.middle{padding-right: 48px; padding-left: 48px;}    
    #grafico_intervencao{margin-left: 20%;}
    #bola_saude { left: 37%; top: 27.5vw; }
    #bola_agua{ left: 59%; top: 27.5vw; }
    #bola_educacao{ left: 48.5%; top: 39vw; }
    #tool_saude{ left: 25vw; bottom: 33vw; }
    #tool_agua{ left: 39vw; bottom: 33vw; }
    #tool_educacao{ left: 32vw; bottom: 21vw; }
}
@media(min-width:840px){
    .bannerQuemSomos div:nth-of-type(1):not(.middle):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao), .bannerQuemSomos div:nth-of-type(3):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao){padding-left:0;}
    .bannerQuemSomos div:nth-of-type(2):not(.middle):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao), .bannerQuemSomos div:nth-of-type(4):not(.rightHalf):not(.leftHalf):not(.soloImage):not(.bola):not(.tool):not(#grafico_intervencao){padding-right: 0;}
    .bannerQuemSomos .quemSomosSection.middle{padding-right: 0; padding-left: 0;}    
    .bannerEquipa h1.titulo, .bannerQuemSomos h1.titulo{margin-bottom: 64px;}
    /*.bannerQuemSomos h2, #missao, #valores, #intervencao{margin-top: 32px;}*/
    .bannerQuemSomos h2, #valores, #missao, #intervencao{margin-top: 0;}
    .quemSomosSection, #visao, #historyGraphSlider{margin-top: 64px;}
    #valoresSection h3:not(:first-of-type){margin-top: 16px;}
    
    .bannerQuemSomos .quemSomosSection{
        display: table;
    }
    .bannerQuemSomos .quemSomosSection .leftHalf{
        display: table-cell;
        float: none;
        width: 50%;
        padding-right: 16px;
    }
    .bannerQuemSomos .quemSomosSection .rightHalf{
        display: table-cell;
        float: none;
        width: 50%;
        padding-left: 16px;
    }
    
    .premio { width: calc(25% - 32px); margin: 48px 16px 0 16px; }
    #premios{ width: calc(100% + 32px); margin-left: -16px; }
    .premio img{ margin-bottom: 12px; }
    #historyText, #historySlider{padding: 0 32px;}
    #homeSlider, .helpBanner { height: 43.75vw; min-height: 43.75vw; }
    .bannerHistory h1:first-child{ margin: 0 32px; }
    #historySlider svg.line, #historySlider svg.background{ width: calc(100% + 32px); }
    .lineMenu p.notas{ padding: 12px; }
    .bannerEquipa .equipaPessoa{ 
        padding: 24px 48px; 
        margin-top: 32px; 
        width: calc(33.33% - 22px);
        margin-right: 32px;
    }
    .bannerEquipa .equipaPessoa:nth-of-type(2n){ margin-right: 32px;} 
    .bannerEquipa .equipaPessoa:nth-of-type(3n), .bannerEquipa .equipaPessoa:last-of-type{ margin-right: 0;} 
    .equipaPessoa .pessoa{margin-bottom: 20px;}
    #grafico_intervencao{margin-left: 10%;}
    #sub_saude{top:-32px;}
    #sub_agua, #sub_educacao{bottom:-32px;}
    #bola_saude,#bola_agua{ top: 16vw; }
    #bola_educacao{ top: 22.5vw; }
    #cont_saude{ top: 4vw; }
    #cont_agua{ bottom: 8.5vw; right: 32px; }
    #cont_educacao{ bottom: 4vw; left: 32px; }
    #tool_saude{ left: 15vw; bottom: 19vw; }
    #tool_agua{ left: 23vw; bottom: 19vw; }
    #tool_educacao{ left: 19vw; bottom: 12vw; }
}
@media(min-width:1024px){
    .premio{ width: calc(20% - 32px);}
    .history p, #historySlider p { font-size: 12px; line-height: 18px; }
    
    .equipaPessoa .pessoa{
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        -webkit-transition: transform 0.15s linear 0s;
        -ms-transition: transform 0.15s linear 0s;
        transition: transform 0.15s linear 0s;
    }
    .equipaPessoa .pessoa:hover{
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
}
@media(min-width:1280px){
    .bannerEquipa h1.titulo, .bannerQuemSomos h1.titulo{margin-bottom: 96px;}
    /*.bannerQuemSomos h2, #missao, #valores, #intervencao{margin-top: 48px;}*/
    .quemSomosSection, #visao, #historyGraphSlider{margin-top: 96px;}
    #valoresSection h3:not(:first-of-type), .bannerQuemSomos *.mTop{margin-top: 22px;}
    .bannerQuemSomos h2, .bannerQuemSomos h3, .bannerQuemSomos p, #missao, #missao + h3, #visao, #visao + h3, #valores, #valores ~ h3, #valores ~ p, #intervencao{ padding: 0 calc((1 * ((100vw - 624px) / 12)) + 48px); }
    
    .premio{ width:calc((2 * ((100vw - 624px) / 12)) + 48px); margin: 64px 24px 0 24px; }
    #premios{ width: calc(100% + 48px); margin-left: -24px; margin-top: 32px; }
    .premio img{ margin-bottom: 16px; }
    #historyText, #historySlider{padding: 0 48px;}
    .bannerHistory h1:first-child{ margin: 0 48px; }
    #historySlider svg.line, #historySlider svg.background{ width: calc(100% + 48px); }
    .lineMenu p.notas{ padding: 16px; }
    .bannerEquipa .equipaPessoa{ 
        padding: 32px 64px; 
        margin-top: 48px; 
        width: calc(25% - 36px);
        margin-right: 48px;
    }
    .bannerEquipa .equipaPessoa:nth-of-type(2n), .bannerEquipa .equipaPessoa:nth-of-type(3n){ margin-right: 48px;} 
    .bannerEquipa .equipaPessoa:nth-of-type(4n), .bannerEquipa .equipaPessoa:last-of-type{ margin-right: 0;} 
    .equipaPessoa .pessoa{margin-bottom: 28px;}
    #grafico_intervencao { width: 454px; margin-left: calc(50% - 227px); }
    #grafico_intervencao img{ margin:48px 0 68px 0; }
    #bola_saude,#bola_agua{ top: 204px; }
    #bola_educacao{  top: 292px; }
    #cont_saude{top:56px;}
    #cont_educacao{ bottom: 72px; }
    #cont_agua{ bottom:104px; }
    #tool_saude{ left: 41%; bottom: 238px; }
    #tool_agua{ left: 62%; bottom: 238px; }
    #tool_educacao{ left: 53%; bottom: 146px; }
}
@media(min-width:1632px){
    .bannerEquipa h1.titulo, .bannerQuemSomos h1.titulo{margin-bottom: 128px;}
    .quemSomosSection, #visao, #historyGraphSlider{margin-top: 128px;}
    .bannerQuemSomos *.mTop{margin-top: 50px;}
    .bannerQuemSomos h2, .bannerQuemSomos h3, .bannerQuemSomos p, #missao, #missao + h3, #visao, #visao + h3, #valores, #valores ~ h3, #valores ~ p, #intervencao{ padding: 0 calc((1 * (1008px / 12)) + 48px); }
    
    .premio { width: calc((2 * (1008px / 12)) + 48px); }
    .premio img{ margin-bottom: 32px; }
    #premios{ margin-top: 64px; }
    .historyDot {
        width: 24px;
        height: 24px;
        margin-right: 16px;
        margin-top: 4px;
        padding: 4px;
    }
    .historyDot svg{ width: 16px; height: 16px;}
    .history { width: calc((2 * (1008px / 12)) + 96px); }
    .bannerHistory h1:first-child{ margin: 0 calc((100vw - 1536px) / 2); }
    .history p, #historySlider p { font-size: 14px; line-height: 20px; }
    #historySlider svg.line, #historySlider svg.background{ margin-top: 16px; }
    #grafico_intervencao img{ margin:80px 0 68px 0; }
    #cont_educacao{ bottom: 60px; }
}