body{
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 30px;
}



#header{
    position:fixed;
    height:80px;
    top:0px;
    z-index:2;
    background-color: #fff;
    width: 100%;
    text-align: center;
}

#header_footer{
    background-color: #1F4864; 
    font-size: 12px; 
    color: #fff; 
    font-weight: bold;
    padding: 5px;
}

#nav{
    position: fixed; 
    z-index: 2; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px;
    font-weight: bold;
    margin-top: 150px;    
}

#menu{
    list-style-type: none;
}

#menu li{
    margin-top: 10px;
}

#menu li a{
    color: #989898;
    text-decoration: none;
}

#menu li a:hover{
    text-decoration: none;
    color: #474B4D;
}
#menu li.active a{
    text-decoration: none;
    color: #474B4D;
}


#btn_menu_mob{
    height: 60px; 
    line-height: 70px; 
    font-size: 32px; 
    padding-left: 10px;
}

.contactos_nav_mobile{
    border-top: 1px solid #CCC;
    padding-top: 20px;
    color:#666;
    font-size: 12px;
    padding-left: 20px;
    line-height: 20px;
}

.contactos_nav_mobile a{
    color:#666;
    text-decoration: underline;
}

#section0{
    background-color: #B6F1FF;
}

#section1{
    background-color: #EFEFEF;
}

.form_equipa{
    background: #efefef; /* Old browsers */
    background: -moz-linear-gradient(left, #efefef 0%, #ffffff 50%, #ffffff 51%, #efefef 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #efefef 0%,#ffffff 50%,#ffffff 51%,#efefef 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #efefef 0%,#ffffff 50%,#ffffff 51%,#efefef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#efefef',GradientType=1 ); /* IE6-9 */
    border-top: 1px solid #CBCBCB;
    border-bottom: 1px solid #CBCBCB;
   
    
}

.btn_inscricao{
    color: #BC2F37;
    font-size: 14px;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: 1px solid #BC2F37;
    padding: 5px 25px 5px 25px;
    display: inline-block;
    font-weight: 400;
}

.cursor_pointer{
    cursor: pointer;
}

.input_inscricao{
    font-size: 14px;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: none;
    border: 1px solid #B2B2B2;
    padding: 2px 15px 2px 15px;
    display: inline-block;
    font-weight: 400;
    width: 60%;
    background-color: #F1F1F1;
    margin: 10px;
    color: #a9a9a9;
}

.btn_enviar{
    color: #fff;
    background-color: #BC2F37;
    font-size: 14px;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: 1px solid #BC2F37;
    padding: 5px 25px 5px 25px;
    display: inline-block;
    font-weight: 400;
}

.titulo{
    font-size: 50px; 
    font-weight: 800;
    line-height: 50px;
}

.titulo1{
    font-size: 20px; 
    font-weight: 800;    
}

.section1_destaque{
    font-size: 16px; 
    font-family: Merriweather; 
    font-weight: 300; 
    color: #4D4D4D;
}

.section1_destaque > span{
    border-bottom: 1px solid #E5E5E5;
    line-height: 35px;
}

.form_inscricao_titulo{
    font-size: 26px; 
    font-weight: bold;
}

#form_inscricao{
    display: none;
}

#section2{
    background-image: url(../../assets/img/back_section_2.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.div_estudos{
    background-color: #FFF;
    border: 1px solid #CBCBCB;
    height: 100%;
    margin-top: 80px;
}

.div_estudos_icon{
    margin-top: -25px;
    text-align: center;
}

.div_estudos_conteudo{
    padding: 20px;
}

.div_estudos_hr{
    margin-top: 5px;
    margin-bottom:5px;
}

#section3{
    background-image: url(../../assets/img/img_section_3.png);
    background-repeat: repeat;
}
#section5{
    background-color: #EFEFEF;
}
.bx-pager {
    display: none;
    bottom: 0;
}
.bx-wrapper, .bx-viewport {
    padding-top: 50px;
    height: 250px !important;
}

#contactos_footer_separador{
    background-image: url(../../assets/img/img_contactos.png);
    background-repeat: repeat-x;
    height: 144px;
    background-position: bottom right;
}

#contactos_footer{
    background-color: #2a2b30;
    color: #F5F5F5;
    font-size: 10px;
    line-height: 20px;
    padding: 50px;
}

.copyright-footer {
    position: absolute;
    bottom:20px;
    width: 100%;
}

.btn_maps{
    border: 1px solid #F5F5F5;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    padding: 5px 25px 5px 25px;
    display: inline-block;
    margin-top: 10px;
}

.btn_maps:hover{
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5;
    color: #2a2b30;
    font-weight: bold;
}

.txt_contactos_destaque{
    font-size: 14px; 
    font-weight: 500;
}

.header_contactos{
    margin-top: 10px;
    padding-left: 15px;
    font-size: 12px;
    font-weight: 500;
}

.header_ERC{
    padding-right: 15px;
}

#section4{
    background-image: url(../../assets/img/img_section_3.png);
    background-repeat: repeat;
    padding-top:0px;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

#form_dimensao_amostra{
    display: none;
}

.back_simulador_erro_caixa_1{
    background-origin: content-box;
    background-image: url(../../assets/img/simulador_erro_caixa_1.png);
    background-size: 100% 226px;
    background-repeat: no-repeat;
    height: 226px;
    color: #fff;
}

.back_simulador_erro_caixa_2{
    background-origin: content-box;
    background-image: url(../../assets/img/simulador_erro_caixa_2.png);
    background-size: 100% 226px;
    background-repeat: no-repeat;
    height: 226px;
    color: #fff;
}

.back_simulador_erro_caixa_3{
    background-origin: content-box;
    background-image: url(../../assets/img/simulador_erro_caixa_3.png);
    background-size: 100% 125px;
    background-repeat: no-repeat;
    height: 125px;
    color: #fff;
}

.btn_cinza{
    background-color: #455A64;
    font-size: 14px;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: 1px solid #B455A64;
    padding: 5px 25px 5px 25px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    
}

.btn_cinza:hover{
    background-color: transparent;
    color: #455A64;
    border: 1px solid #455A64;
}

.input_dimensao_amostra{
    width: 100%; 
    min-height: 60px; 
    text-align: center;
}

.res_dimensao_amostra{
    width: 100%; 
    min-height: 60px; 
    text-align: center;
    background-color: #D47200;
    color: #fff;
    line-height: 60px;
    font-size: 24px;
    font-weight: bold;
}


.input_hondt{
    width: 100%; 
    margin-top: 2px;
    min-height: 40px; 
    text-align: center;

}

.div_res_hondt{
    width: 100%; 
    margin-top: 2px;
    min-height: 40px; 
    text-align: center;
    background-color: #176C88;
    color: #fff;
    font-weight: bold;
    line-height: 40px;
}

.bloco_lista_hondt{
    position: relative;
    color: #176C88; 
    border-radius: 15px 15px 15px 15px; 
    -moz-border-radius: 15px 15px 15px 15px; 
    -webkit-border-radius: 15px 15px 15px 15px; 
    border: 2px solid #176C88;
}

.bloco_lista_hondt_top{
    border-radius: 10px 10px 0 0; 
    -moz-border-radius: 10px 10px 0 0; 
    -webkit-border-radius: 10px 10px 0 0; 
    background-color: #176C88; 
    height: 15px;
}

.bloco_lista_hondt_header{    
    color: #fff; 
    background-image:  url(../../assets/img/simulador_hondt_caixa.png);
    background-size: 100% 100px; 
    background-repeat: no-repeat; 
    min-height: 100px;
}

.btn_fechar_bloco_hondt{
    color: #319FC4; 
    font-size: 24px; 
    position: absolute; 
    top:10px; 
    right: 10px;
    cursor: pointer;
}

.btn_fechar_bloco_hondt:hover{
    color: #fff;
}

.btn_add_bloco_hondt{
     color: #fff; 
     background-color: #176C88; 
     padding: 15px;
     cursor: pointer;
     display: none;
}

.btn_add_bloco_hondt > span{
    font-size: 20px; 
    line-height: 30px; 
    color: #319FC4;
}

.btn_add_bloco_hondt:hover > span{
    color: #fff;
}

#total_mandatos_hondt{
    width: 80px; 
    background-color: #BC2F37; 
    color: #fff; 
    font-weight: bold; 
    height: 40px; 
    line-height: 40px; 
    display: inline-block;
}

#form_hondt{
    display: none;
}
div[a]{
    float:left;
    width:100%;
}
div[b] {
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    border: 2px solid #176C88;
    color: #176C88;
    min-height: 40px;
    line-height: 40px;
    padding: 0 15px 0 15px;
}
@media (max-width: 768px) {
    div[b] {
        border: 0px solid #176C88;
    color: #176C88;
    padding: 0;
    font-weight: 900;
    font-size: 12px;
    }
    div[a]{
        float:left;
        width:100%;
        height: 90px;
    }
    h1 {
        font-size:18px !important;
    }
    hr{
        margin-top:10px;
        margin-bottom:10px;
    }
    input  {
        min-height:40px;
    }
    .back_simulador_erro_caixa_1, .back_simulador_erro_caixa_2, .back_simulador_erro_caixa_3 {
        height:125px;
        float:left;
        width:100%;
    }
    body{
        text-align: justify;
    }
    
    .section{
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #header{
        height: 60px;
        text-align: right;
    }
    
    #header_footer{
        font-size: 10px;
        
    }
    
    #header img{ 
        padding-right: 10px;
        height: 60px;
    }
    
    #nav{
        background-color: #FFF;
        z-index: 2;  
        font-size: 14px;
        width: 100%;
        margin-top: 60px;
        padding-top: 10px;
    }
    
    #menu li{
        margin-top: 0px;
    }
    
    #menu li a{
        color: #1F4864;
    }
    
    #menu{
        padding-left: 20px;
    }
    
    .titulo{
        font-size: 30px;
        text-align: left;
        line-height: 30px;
    }
    
    .form_inscricao_titulo{
        font-size: 22px; 
    }
    
    .input_inscricao{
        width: 90%;
    }
    
    .equalheight{
        overflow: auto;
    }

    .colheight{
        margin-bottom: 0px; 
        padding-bottom: 0px;
    }
    
    .bx-wrapper, .bx-viewport {
        padding-top: 25px;
        height: 200px !important;
    }
    
    .txt_contactos_destaque{
        font-size: 12px;
    }
    
    .header_ERC{
        padding-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .section{
        padding-left: 15px;
        padding-right: 15px;
    }
    #nav{
        background-color: #FFF;
        z-index: 2;  
        font-size: 14px;
        width: 100%;
        margin-top: 60px;
        padding-top: 10px;
    }
    
    #menu li{
        margin-top: 10px;
    }
    
    #menu li a{
        color: #1F4864;
    }
    
    #menu{
        padding-left: 20px;
    }
    
    
}

@media (min-width: 992px) and (max-width: 1200px) {
    
}

@media (min-width: 1200px) {
    
}