body{
  max-width: 1282px;
  min-width: 360px;
  margin: auto;
  box-sizing: border-box;
}

/* ========== HEADER ========== */

#carousel-topo .carousel-indicators{
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 0;
  right: 80px;
  bottom: 40px;
  gap: 50px;
}
#carousel-topo .carousel-indicators button{
  width: 13px;
  height: 13px;
  background-image: url("../imagens/banner-por-selecionar.svg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 1;
}
#carousel-topo .carousel-indicators button.active{
  background-image: url("../imagens/banner-selecionado.svg");
  width: 28px;
  height: 28px;
}
#carousel-topo .carousel-item img{
  min-height: 640px;
  max-height: 735px;
  object-fit: cover;
  filter: brightness(70%);
}
#carousel-topo .carousel-caption{
  text-align: left;
  top: 330px;
  margin: auto;
  width: 55%;
}
#carousel-topo .carousel-caption h5{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 55px;
  text-transform: uppercase;
}
#carousel-topo .carousel-caption p{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}

#logo{
  position: absolute;
  width: 135px;;
  top: 30px;
  left: 100px;
  z-index: 100;
  cursor: pointer;
}

#botao-menu{
  position: absolute;
  top: 50px;
  right: 100px;
  z-index: 100;
  cursor: pointer;
}

#menu{
  font-family: 'Roboto Condensed';
  width: 100vw;
  height: 100vh;
  background-color: rgba(53, 53, 53, 0.9);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 50;
  display: flex;
}

#menu .esquerda{
  width: 30%;
}
#menu .esquerda a{
  width: 70%;
  font-size: 24px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 50%;
}
#menu .esquerda a.active, #menu .esquerda a:hover{opacity: 100%;}
#menu .esquerda a.submenu{
  display: flex;
  justify-content: space-between;
}
#menu .esquerda a.submenu::after{
  content: url("../imagens/seta-submenu.svg");
  display: inline-block;
  padding-right: 30px;
}

#menu .direita{
  background-color: rgb(196, 2, 2);
  width: 70%;
}
#menu .direita > div{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#menu .direita > div a{
  font-size: 24px;
  font-weight: 300;
  color: white;
  text-decoration: none;
  padding-left: 120px;
}
#menu .direita > div a:hover{
font-weight: bold;
}

/* ========== INDEX / MAIN ========== */

#benvindo {
  margin-right: 0 !important;
}
#benvindo img {
  width: 52vw;
}
#benvindo > .benvindo_texto{
  margin-top: 120px;
}
#benvindo h3{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 42px;
  text-align: left;
  line-height: 1;
  color: rgb(77, 77, 77);
  text-transform: uppercase;
}
#benvindo p{
  font-family: 'Roboto';
  font-weight: 300;
  text-align: left;
  font-size: 20px;
  margin: 0px;
  line-height: 1.5;
  color: rgb(51, 51, 51);
}
#benvindo span{
  color: rgb(206, 0, 15);
}
#benvindo button{
  background-image: url('../imagens/botao-vermais-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 112px;
  border: none;
  margin-top: 60px;
}
#benvindo button:hover{
  background-image: url('../imagens/botao-vermais-vermelho.svg');
}

.servicos h5{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 42px;
  color: white;
  text-transform: uppercase;
  line-height: 1;
}
.servicos .card-img{
  filter: brightness(60%);
  border-radius: 0;
  object-fit: cover;
}
.servicos .solar, .servicos .e_gas, .servicos .assist{
  width: 38%;
}
.servicos .assist{
  height: 35%;
}
.servicos .edp_saude{
  height: 30%;
}

#ajuda{
  font-family: 'Roboto Condensed';
  align-items: center;
  height: 465px;
  margin-left: 150px;
  margin-right: 0px;
}
#ajuda h1{
  text-transform: uppercase;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.5;
  color: rgb(77, 77, 77);
}
#ajuda span{
  color: rgb(206, 0, 15);
}

#ajuda p{
  font-weight: 300;
  font-size: 24px;
  color: rgb(51, 51, 51);
}
#ajuda .telefone h3{
  font-weight: 500;
  font-size: 30px;
  margin-left: 348px;
  line-height: 1.5;
  color: rgb(51, 51, 51);
}
#ajuda button{
  background-image: url('../imagens/fale-connosco-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 190px;
  height: 55px;
  border: none;
  object-fit: cover;
  margin-right: 182px;
  margin-top: 50px;
}
#ajuda button:hover{
  background-image: url('../imagens/fale-connosco-vermelho.svg');
}

#ajuda_mobile{
  font-family: 'Roboto Condensed';
  align-items: center;
  height: 570px;
  margin-right: 0px;
}
#ajuda_mobile h1{
  text-transform: uppercase;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.5;
  color: rgb(77, 77, 77);
  margin-top: 30px;
}
#ajuda_mobile span{
  color: rgb(206, 0, 15);
}
#ajuda_mobile p{
  font-weight: 300;
  font-size: 25px;
  line-height: 1.5;
  color: rgb(51, 51, 51);
}
#ajuda_mobile h3{
  font-weight: 500;
  font-size: 30px;
  color: rgb(51, 51, 51);
}
#ajuda_mobile button{
  background-image: url('../imagens/fale-connosco-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 200px;
  height: 55px;
  border: none;
  object-fit: cover;
}
#ajuda_mobile button:hover{
  background-image: url('../imagens/fale-connosco-vermelho.svg');
}

@media all and (width < 1200px) and (width > 576px){

  #ajuda_mobile{
    margin-right: 15%;
    margin-left: 15%;
  }
}

@media all and (width < 768px) and (width > 576px){

  #ajuda_mobile{
    margin-right: 5%;
    margin-left: 5%;
  }
}

/* ========== EMPRESA (QUEM SOMOS / SERVIÇOS / PRODUTOS) | MAIN ========== */

.empresa{
  font-family: 'Roboto Condensed';
  text-transform: uppercase;
}
.empresa h1{
  font-weight: 800;
  font-size: 42px;
  line-height: 0.8;
  color: rgb(77, 77, 77);
}
.empresa h3{
  font-weight: 800;
  font-size: 42px;
  line-height: 0.8;
  color: rgb(206, 0, 15);
}
.empresa span{
  color:rgb(77, 77, 77)
}

.empresa_texto p{
  font-size: 14px;
}
.empresa_texto button{
  background-image: url('../imagens/voltar-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 112px;
  border: none;
  margin-top: 20px;
}
.empresa_texto button:hover{
  background-image: url('../imagens/voltar-vermelho.svg');
}

/* ========== BENVINDO | MAIN ========== */

.benvindo_page{
  font-family: 'Roboto Condensed';
  text-transform: uppercase;
}
.benvindo_page h1{
  font-weight: 900;
  font-size: 42px;
  line-height: 0.8;
  color: rgb(77, 77, 77);
}
.benvindo_page h3{
  font-weight: 900;
  font-size: 42px;
  line-height: 0.85;
  color: rgb(206, 0, 15);
}

.benvindo_page span{
  color:rgb(77, 77, 77)
}

.benvindo_page_texto p{
  font-family: 'Roboto';
  font-size: 20px;
  font-weight: 400;
}
.benvindo_page_texto button{
  background-image: url('../imagens/voltar-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 112px;
  border: none;
  margin-top: 20px;
}
.benvindo_page_texto button:hover{
  background-image: url('../imagens/voltar-vermelho.svg');
}

/* ========== COOKIES | MAIN ========== */

.cookies{
  font-family: 'Roboto';
}

#cookies_title h3{
  font-weight: 300;
  margin-right: 0px;
}

#cookies_info p{
  margin-left: 110px;
  margin-right: 0px;
}

#cookies_faq ol{
  margin-left: 120px;
  line-height: 1.5;
}
#cookies_faq h5{
  font-size: 16px;
  font-weight: bolder;
  line-height: 0.5;
}

#cookies_table h5{
  margin-left: 110px;
  font-size: 16px;
  font-weight: bolder;
}
#cookies_table table{
  margin-left: 110px;
  padding: 0px;
}
#cookies_table table th, #cookies_table table td {
  padding: 0px;
  padding-right: 55px;
}

#cookies_links p{
  margin-left: 110px !important;
  margin: 0px;
}
#cookies_links p a{
  text-decoration: none;
}

/* ========== RALC | MAIN ========== */

#ralc h3{
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 28px;
}

#ralc h4{
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
}
#ralc h5{
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 16px;
  line-height: 3;
}
#ralc p{
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 16px;
  margin: 0px;
  margin-top: 10px;
}
#ralc h6{
  font-family: 'Roboto';
  font-weight: 600;
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 0px;
}

#ralc div hr{
  width: 80%;
  margin: 50px auto;
}

.ralc-imagem {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* ========== CONTACTOS | MAIN ========== */

#contactos_header h1{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 42px;
  text-transform: uppercase;
  line-height: 0.8;
  color: rgb(206, 0, 15);
}

#contactos h5{
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 14px;
}
#contactos p{
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 14px;
  color: rgb(77, 77, 77);
}

#formulario_contacto h1{
  font-family: 'Roboto Condensed';
  font-weight: 900;
  font-size: 25px;
  text-transform: uppercase;
}
#formulario_contacto input{
  font-family: 'Roboto';
  font-size: 14px;
  color: rgb(77, 77, 77);
  height: 35px;
  border: none;  
  background-color: rgba(212, 212, 212, 0.692);
  padding-left: 30px;
  margin-bottom: 8px;
}
#formulario_contacto input:nth-of-type(1), #formulario_contacto input:nth-of-type(2), #formulario_contacto input:nth-of-type(3){width: 100%;}
#formulario_contacto input:nth-of-type(4){width: 35%;}
#formulario_contacto input:nth-of-type(5){
  width: 60%;
  float: right;
}
#formulario_contacto input:nth-of-type(6){width: 55%;}
#formulario_contacto input:nth-of-type(7){
  width: 40%;
  float: right;
}
#formulario_contacto textarea{
  font-family: 'Roboto';
  font-size: 14px;
  color: rgb(77, 77, 77);
  border: none;  
  background-color: rgba(212, 212, 212, 0.692);
  width: 100%;
  height: 150px;
  padding: 10px 30px;
  box-sizing: border-box;
  resize: none;
}
#formulario_contacto p{
  font-family: 'Roboto';
  font-size: 14px;
}
#formulario_contacto img{
  height: 60px;
  float: right;
}
#formulario_contacto input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
#formulario_contacto label{
  font-family: 'Roboto';
  font-size: 14px;
}
#formulario_contacto button{
  background-image: url('../imagens/enviar-cinza.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 125px;
  border: none;
  margin-top: 30px;
  float: right;
}
#formulario_contacto button:hover{
  background-image: url('../imagens/enviar-vermelho.svg');
}

/* ========== AGENTE / AJUDA | MAIN ========== */

#agente_ajuda_header h1{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 42px;
  text-transform: uppercase;
  line-height: 0.8;
  color: rgb(206, 0, 15);
}
#agente_ajuda_header p{
  font-family: 'Roboto';
  font-size: 14px;
}

#contactos_agente_ajuda_header h1{
  font-family: 'Roboto Condensed';
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 0.8;
}

/* ========== FOOTER ========== */

#agente{
  font-family: 'Roboto Condensed';
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../imagens/banner-torne-se-um-agente.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
}
#agente h1{
  font-size: 42px;
  font-weight: 800;
  padding-bottom: 10px;
  text-transform: uppercase;
}
#agente span{
  color: rgb(206, 0, 15)
}
#agente p{
  font-size: 25px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 40px;
}
#agente button{
  background-image: url('../imagens/botao-saber-\ mais-vermelho.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  object-fit: cover;  
  width: 154px;
  height: 48px;
}
#agente button:hover{
  background-image: url('../imagens/saber-mais-cinza.svg');
}

footer{
  background-color: black;
  font-family: 'Roboto Condensed';
  color: white;
}

#nav_rodape{
  background-color: rgb(35, 35, 35);
}
#nav_rodape nav{
  gap: 60px;
  height: 40px;
  align-items: center;
}
#nav_rodape nav a{
  font-family: 'Roboto Condensed';
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
}
#nav_rodape a.active {
  color: rgb(206, 0, 15);
}
#nav_rodape a:hover{
  color: rgb(206, 0, 15);
}
#nav_rodape a:visited{
  text-decoration: none;
}
#nav_rodape a:focus{
  color: rgb(206, 0, 15);
}

#rodape{
  background-color: black;
  font-family: 'Roboto Condensed';
  color: white;
}
#rodape h3{
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
#rodape .facebook{
  background-image: url('../imagens/facebook.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape .facebook:hover{
  background-image: url('../imagens/facebook-vermelho.svg');
}
#rodape .instagram{
  background-image: url('../imagens/insta-branco.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape .instagram:hover{
  background-image: url('../imagens/insta-vermelho.svg');
}
#rodape .linkedin{
  background-image: url('../imagens/linkedin.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape .linkedin:hover{
  background-image: url('../imagens/linkedin-vermelho.svg');
}
#rodape .ralc_img {
  width: 150px;
}
#linha_vertical span {
  display: inline-block;
  height: 80px;
}
#rodape p{
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}
.cookies_link{
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  text-decoration: none;
  color: white;
}

#rodape_2_redes_sociais h3{
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}
#rodape_2_redes_sociais .facebook_2{
  background-image: url('../imagens/facebook.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape_2_redes_sociais .facebook_2:hover{
  background-image: url('../imagens/facebook-vermelho.svg');
}
#rodape_2_redes_sociais .instagram_2{
  background-image: url('../imagens/insta-branco.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape_2_redes_sociais .instagram_2:hover{
  background-image: url('../imagens/insta-vermelho.svg');
}
#rodape_2_redes_sociais .linkedin_2{
  background-image: url('../imagens/linkedin.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border: none;
  object-fit: cover;
}
#rodape_2_redes_sociais .linkedin_2:hover{
  background-image: url('../imagens/linkedin-vermelho.svg');
}
#rodape_2_entidades .ralc_img_2{
  width: 150px;
}
#linha_horizontal span {
  display: inline-block;
  width: 90%;
}
#rodape_2_copyright p{
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

/* ========== MEDIA QUERY ========== */

/* @media all and (width > 1600px){
  #logo{
    left: 400px !important;
  }
  
  #botao-menu{
    right: 400px !important;
  }
}

@media all and (width > 1400px){
  #logo{
    left: 200px;
  }
  
  #botao-menu{
    right: 200px;
  }
} */

@media all and (width < 992px){

  #menu .esquerda{width: 40%;}
  #menu .esquerda a{font-size: 20px;}
  #menu .esquerda a.submenu::after{
    transform: scale(0.9);
  }

  #menu .direita{width: 60%;}
  #menu .direita > div a{font-size: 15px;}

  #logo{width: 120px;}

  #carousel-topo .carousel-caption{top: 25vh;}

  #agente h1{font-size: 36px;} 
  #agente p{font-size: 22px;}

  .empresa_texto button{
    margin: 40px auto !important;
    display: block;
  }

  #cookies_links p{
    margin-left: 20px !important;
    overflow-wrap: break-word;
  }

  #cookies_info p{margin-left: 20px;}

  #cookies_faq ol{margin-left: 20px;}  
  #cookies_faq h5{line-height: 1.5;}
  
  #cookies_table h5{
    margin-left: 12px;
    font-weight: bolder;
  }  
  #cookies_table table{margin-left: 12px;}

}

@media all and (width < 768px){

  #logo{
    width: 100px;
    left: 8vw;
    top: 4vh;
  }

  #menu .esquerda a{font-size: 16px;}
  #menu .esquerda a.submenu::after{transform: scale(0.75);}

  #carousel-topo .carousel-caption h5{font-size: 48px;}
  #carousel-topo .carousel-caption p{font-size: 28px;}

  #agente h1{font-size: 30px;} 
  #agente p{font-size: 20px;}

  .servicos h5{font-size: 38px;}

  #cookies_info p{margin-left: 20px;}

  #cookies_faq ol{margin-left: 20px;}  
  #cookies_faq h5{
    line-height: 1.5;
  }
  
  #cookies_table h5{
    margin-left: 12px;
    font-weight: bolder;
  }  
  #cookies_table table{margin-left: 12px;}

  .benvindo_page_texto div button{
    margin: 40px auto !important;
    display: block;
  }

}

@media all and (width < 576px){

  #botao-menu{right: 30px;}

  #logo{
    width: 90px;
    left: 6vw;
    top: 4vh;
  }

  #menu .direita > div{gap: 10px;}
  #menu .direita{width: 50%;}
  #menu .direita > div a{
    font-size: 19px;
    padding-left: 20px;
    padding-bottom: 20px;
    line-height: 1;
  }

  #menu .esquerda{width: 50%;}
  #menu .esquerda a{
    position: relative;
    font-size: 20px;
    padding-bottom: 24px;
    line-height: 1.5;
    left: 6vw;
    top: 18vh;
  }

  #menu .esquerda a.submenu{
    white-space: nowrap;
    align-items: flex-start;
  }
  #menu .esquerda a.submenu::after{
    transform: scale(1);
    position: absolute;
    left: 95%;
  }

  #carousel-topo .carousel-caption{
    top: 28vh;
    left: 9vw;
    width: 80%;
  }
  #carousel-topo .carousel-caption h5{font-size: 31px;}
  #carousel-topo .carousel-caption p{font-size: 21px;}
  #carousel-topo .carousel-indicators button{transform: translateX(15px);}

  #benvindo img{width: 80vw;}
  #benvindo .benvindo_texto{
    margin-top: 80px;
    width: 100%;
    padding-left: 40px !important;
    line-height: 1.5;
  }
  #benvindo .benvindo_texto h3{
    font-size: 26px;
    width: 100%;
    line-height: 1.5;
  }
  #benvindo .benvindo_texto p{
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
  }

  .servicos h5{font-size: 28px;}
  .servicos .card > img{min-height: 32vh;}

  .edp_saude{width: 25%;}

  #agente h1{
    font-size: 29px;
    line-height: 0.9;
  } 
  #agente p{font-size: 20px;}

  .empresa h1, .empresa h3{font-size: 30px;}

  .empresa_texto p{font-size: 15px;}

  #ralc h5{line-height: 1.8;}

  #cniacc, #ca_ual, #cimpas{width: 70%;}
  
  #cimaal, #caccl, #ciab{width: 40%;}
  
  #cacc_vale_ave{width: 60%;}
  
  #ca_automovel{
    width: 100%;
    margin-top: 0px;
    height: 80px;
    object-fit: cover;
  }

  #cookies_title h3{
    font-size: 28px;
    font-weight: 300;
  }

  #cookies_info p{margin-left: 20px;}

  #cookies_faq ol{margin-left: 20px;}  
  #cookies_faq h5{line-height: 1.5;}
  
  #cookies_table h5{
    margin-left: 12px;
    font-weight: bolder;
  }  
  #cookies_table table{margin-left: 12px;}  
  #cookies_table table th, #cookies_table table td {padding-right: 0px;}
  
  #cookies_links p{margin-left: 12px !important;}

  .benvindo_page h1, .benvindo_page h3{
    font-size: 28px;
    padding: 5px 0px;
  }

  .benvindo_page_texto p{margin-top: 10px;}

  #agente_ajuda_header h1{
    font-size: 28px;
    padding: 0px 30px;
  }
  #agente_ajuda_header p{
    padding-left: 30px;
    padding-right: 80px;
    line-height: 1.6;
  }

  #contactos_agente_ajuda_header h1{padding: 0px 30px;}

  #contactos h5, #contactos p{padding: 0px 30px;}

  #contactos_header h1{
    font-size: 26px;
    margin-left: 30px;
  }

  #formulario_contacto input:nth-of-type(4){width: 100%;}
  #formulario_contacto input:nth-of-type(5){width: 100%;}
  #formulario_contacto input:nth-of-type(6){width: 100%;}
  #formulario_contacto input:nth-of-type(7){width: 100%;}
  #formulario_contacto input[type="checkbox"] {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin: 0;
  }
  #formulario_contacto label {
    font-size: 14px;
    width: 80%;
  }
  
}