
body{
  font-family: 'montserrat';
}

html {
  scroll-behavior: smooth;
}

/*-----------Menu principal topo----------*/

.navbar-brand img{
  display: block;
  height: 70px;
}


.extra .nav-item img {
  display: block;
  height: 40px;
  margin: 0 10px 0 10px;
}

.top_menu .nav-item a{
font-weight: 600;
color: black;
font-size: 16px;
margin: 0px 8px;
display: block;
width: 145px;
text-align: center;
height: 45px;
line-height: 25px;
}

.dropdown-menu.show {
  display: block;
  background-color: transparent;
  border: 0;
}

.collapse .navbar-collapse{
  margin:auto;
}

.dropdown-menu a {
  margin: 1px 0 0 20px !important;
  text-transform: uppercase;
  font-size: 13px !important;
  background-color: white;
  line-height: 22px !important;
  height: 30px !important;
  width: 277px !important;
  text-align: left !important;
}

.dropdown-menu a:hover{
  color: white;
  background-color: #ec5a24;
}

.dif{
  background-color: black !important;
  color: white !important;
}

.dif:hover{
  background-color: #ec5a24 !important;
}

select{
  background: url(../imagens/geral/arrow.svg) no-repeat;
    background-size: 22px;
    text-transform: none !important;
    cursor: pointer;
    background-position: 98% 16px;
}

/*-----------------Containers-------------*/

.container-fluid.servicos {
  background-image: url("../imagens/homepage/fundo_servicos.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
}

.servicos .container{
  padding-bottom: 170px;
}

.container-fluid.certificacoes {
  background-image: url("../imagens/homepage/fundo_certificacoes.jpg");
  background-size: cover;
  position: relative;
  height: 800px;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  position: relative;
}

.container.logos{
  margin-top: 150px;
}

.container.proj{
  margin-top: 50px;
}

.top.container-fluid{
  padding: 0;
}

.container-fluid.nav{
  width: 70% ;
  margin-top: 30px;
}

.servicos .container{
  margin-top: 100px;
  position: relative;
}

.container.action{
  height: 400px;
}

.container-fluid.action2{
  background-image: url("../imagens/homepage/fundo_certificacoes.jpg");
  background-size: cover;
  position: relative;
  height: 360px;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  position: relative;
}

.container-fluid.footer{
  height: 340px;
  margin-top: 80px;
}

.transparent{
  height: 175px;
  background-image: linear-gradient(to bottom, rgb(255 255 255), rgb(0, 0, 0, 0));
  background-color: transparent !important;
}

.transparent2{
  position: absolute;
  bottom:0;
  height: 170px;
  width: 100%;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0, 0), rgb(255 255 255) );
  background-color: transparent !important;
}

.s_patologias{
  position: relative;
  background-image: url("../imagens/servicos/levantamentos/levantamento-patologias.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}
.s_auditorias{
  position: relative;
  background-image: url("../imagens/servicos/auditorias/auditorias.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_avaliacao{
  position: relative;
  background-image: url("../imagens/servicos/avaliacoes/avaliacao_estrutural_2.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_estudos{
  position: relative;
  background-image: url("../imagens/servicos/estudos/estudos_geologicos.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_levantamento_topo{
  position: relative;
  background-image: url("../imagens/servicos/levantamentos/levantament_topografico.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_gestao_obra{
  position: relative;
  background-image: url("../imagens/servicos/gestao/gestao_obra.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_homeproject{
  position: relative;
  background-image: url("../imagens/servicos/homeproject/homeproject.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_medicoes{
  position: relative;
  background-image: url("../imagens/servicos/medicoes/medicoes_topo.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_peritagens{
  position: relative;
  background-image: url("../imagens/servicos/peritagens/peritagens.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_seguranca{
  position: relative;
  background-image: url("../imagens/servicos/seguranca/seguranca_topo.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_memoria{
  position: relative;
  background-image: url("../imagens/servicos/levantamentos/levantamento_memoria_futura.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_contactos{
  position: relative;
  background-image: url("../imagens/contactos/contactos_topo.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_orcamento{
  position: relative;
  background-image: url("../imagens/orcamento/orcamento_topo.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.s_ensaios{
  position: relative;
  background-image: url("../imagens/servicos/ensaios/ensaios_topo.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.portfolio{
  position: relative;
  background-image: url("../imagens/portfolio/portfolio.jpg");
  background-size: auto;
  position: relative;
  height: 500px;
  width: 100%;
  background-attachment: fixed;
  background-position: top;
  border-bottom: 4px solid #EC5A24;
}

.container-fluid.peq {
  background-image: url("../imagens/servicos/levantamentos/fissura.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
}

.container-fluid.peq1 {
  background-image: url("../imagens/servicos/auditorias/auditoria-acustica.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq2 {
  background-image: url("../imagens/servicos/auditorias/auditoria_imobiliaria.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq3 {
  background-image: url("../imagens/servicos/avaliacoes/avaliacao_estrutural.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq4 {
  background-image: url("../imagens/servicos/estudos/estudos_geologicos_fundo.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq5 {
  background-image: url("../imagens/servicos/levantamentos/topografico.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq6 {
  background-image: url("../imagens/servicos/gestao/gestao_fundo.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq7 {
  background-image: url("../imagens/servicos/homeproject/colaboration.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq8 {
  background-image: url("../imagens/servicos/medicoes/medicoes_fundo.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq9 {
  background-image: url("../imagens/servicos/peritagens/peritagens_fundo.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq10 {
  background-image: url("../imagens/servicos/seguranca/seguranca_fundo.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.container-fluid.peq11 {
  background-image: url("../imagens/servicos/levantamentos/digital.jpg");
  background-size: cover;
  position: relative;
  height: auto;
  width: 100%;
  background-attachment: fixed;
  background-position: bottom;
  margin-bottom: 100px;
}

.map .container-fluid{
  margin: 40px 0 200px 0;
  padding: 0;
}


/*-----------------Carousel-------------*/

.carousel{
  border-bottom: 4px solid #EC5A24;
}

.carousel-inner {
  height: 720px;
}

.carousel-inner .carousel-item > img {
  animation: zoom 10s infinite;
  -webkit-animation: zoom 10s infinite;
}

.carousel-caption {
  position: absolute;
  left: 20%;
  bottom: 1.25rem;
  top: 220px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left;
}

.carousel-caption h1{
  text-align: left;
  font-weight: 100;
  color: black;
  font-weight: 400;
  font-size: 35px;
}

.carousel-caption strong{
  color: #EC5A24;
}

.carousel-caption p{
  text-align: left;
}

.navbar-expand-lg .navbar-collapse {
  flex-direction: row-reverse;
}



/*-----------Menu principal topo - fundo e animação-------------*/

.bg-light{
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgb(201 201 201));
  background-color: transparent !important;
  animation: fadeIn ease 0.5s;
  -webkit-animation: fadeIn ease 0.5s;
  -moz-animation: fadeIn ease 0.5s;
  -o-animation: fadeIn ease 0.5s;
  -ms-animation: fadeIn ease 0.5s;
  /*--box-shadow: 1px 1px 6px 3px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);--*/
}

.bla_bac{
  display: block;
  height: 170px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

@keyframes fadeIn {
0% {
  opacity:0;
}
100% {
  opacity:1;
}
}

@-moz-keyframes fadeIn {
0% {
  opacity:0;
}
100% {
  opacity:1;
}
}

@-webkit-keyframes fadeIn {
0% {
  opacity:0;
}
100% {
  opacity:1;
}
}

@-o-keyframes fadeIn {
0% {
  opacity:0;
}
100% {
  opacity:1;
}
}

@-ms-keyframes fadeIn {
0% {
  opacity:0;
}
100% {
  opacity:1;
  }
}

@keyframes zoom {
0% {
  transform: scale(1, 1);
}
50% {
  transform: scale(1.1, 1.1);
}
100% {
  transform: scale(1, 1);
}
}

/*-----------Dimensionamento das imagens-------------*/


.quinze img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 120px;
  margin-top: 235px;
}

.certificacoes img{
  display: block;
  margin: auto;
}

.img1 img{
  height: 90px;
}

.img2 img{
  height: 85px;
}

.img3 img{
  height: 100px;
}

.img4 img{
  height: 95px;
}

.box_img{
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.legenda img{
  display: block;
  width: 100%;
}

.servicos a img {
  height: 50px;
  margin: 20px 30px 20px 80px
}

.num img{
  height: 40px;
  margin-left: 0;
  display: block;
}

.scroll img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  height: 60px;
  -webkit-animation: action 1s infinite  alternate;
  animation: action 1s infinite  alternate;
}

@-webkit-keyframes action {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes action {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.top_icon img{
  display: block;
  margin: auto;
  margin-top: 75px;
  height: 60px;
}


/*-----------Formatação do texto-------------*/

.box_serv.form h3{
  font-size: 17px;
  text-align: left;
  text-transform: uppercase;
  margin: 25px 0;
}

.box_serv.form2 h3{
  font-size: 17px;
  text-align: left;
  text-transform: uppercase;
  margin: 25px 0;
}


h1{
  text-align: center;
  margin: 45px 0;
  text-transform: uppercase;
  font-size: 27px;
  font-weight: 600;
}

h3{
  margin: 50px 0;
  text-transform: inherit;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

.orange h3{
  color: #ec5a24;
}

h4{
  font-size: 18px;
  text-transform: inherit;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.sub h4{
  margin-bottom: 50px;
}

p{
  font-size: 16px;
  font-weight: 500;
  color: slategray;
  text-align: center;
}

.excep{
  text-align: center !important;
}

.legenda h3{
  padding: 20px 0px 0px 20px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;    
  text-align: left;
  margin: 5px 0;
}

.legenda p{
  text-align: left;
  padding: 0 0 0 20px;
  font-size: 16px;
  padding-bottom: 40px
}


/*----------form---------------*/

.form .form-control {
  border: 1px solid  #f7bda7;
  margin: 5px 0;
  height: 45px;
  border-radius: 3px;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: black;
  background-color: #fff;
  background-clip: padding-box;
  border: 0;
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

textarea {
  min-height: 200px !important;
}

.submit button {
  width: 100%;
  height: 50px;
  background-color: #ec5a24;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  transition: all 0.3s;
  text-transform: uppercase;
  margin-top: 50px;
  margin-right: 0 !important;
}

.submit button:hover{
  background-color: black;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form .form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #ec9879 !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(247, 184, 147, 0.575);
}

/* The container */
.cont {
  display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 25px;
}

/* Hide the browser's default checkbox */
.cont input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color:  #f7bda7;
  border-radius: 3px;
}


/* On mouse-over, add a grey background color */
.cont:hover input ~ .checkmark {
  background-color: #ec5a24;
}

/* When the checkbox is checked, add a blue background */
.cont input:checked ~ .checkmark {
  background-color: #ec5a24;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cont input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.cont .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}




/*-----------botões-------------*/

.servico{
    display: block;
    height: 40px;
    width: 100%;
    margin: 10px 0;
    line-height: 40px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 15px;
    cursor: pointer;
    display: block;
    background-color: white;
    border-left: 7px solid #ec5a24;
    box-shadow: 1px 1px 6px 3px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
    transition: all 0.3s;
}

.servico:hover{
  background-color: #ec5a24;
  color: white;
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
}

.servico_inf{
  display: block;
  height: 40px;
  width: 100%;
  margin: 10px 0;
  line-height: 40px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  padding-left: 15px;
  cursor: pointer;
  display: block;
  background-color: white;
  box-shadow: 1px 1px 6px 3px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}


/* when div1 is hovered make div2 blue */
/*	Auditorias Imobiliárias Homesurvey*/
body:has(#diva:hover) #div1{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#diva:hover) #div2{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#diva:hover) #div6{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#diva:hover) #div7{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#diva:hover) #div9{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#diva:hover) #div12{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*Auditorias Imobiliárias Homeconsulting*/
body:has(#divb:hover) #div1{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divb:hover) #div8{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divb:hover) #div10{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divb:hover) #div11{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*Auditorias Imobiliárias Home OX*/
body:has(#divc:hover) #div12{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*Avaliação Estrutural*/
body:has(#divd:hover) #div2{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div6{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div8{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div10{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

body:has(#divd:hover) #div11{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div13{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div14{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divd:hover) #div15{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*Levantamento Topográfico e Monitorização ACDEFHQ*/
body:has(#dive:hover) #div1{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#dive:hover) #div3{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#dive:hover) #div4{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#dive:hover) #div5{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

body:has(#dive:hover) #div6{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#dive:hover) #div8{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#dive:hover) #div16{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*medições topografia*/
body:has(#divf:hover) #div1{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divf:hover) #div5{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divf:hover) #div8{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}

/*medições topografia*/
body:has(#divg:hover) #div1{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}
body:has(#divg:hover) #div3{
  box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 10%), 0 0px 0px 0 rgb(0 0 0 / 5%);
  background-color: rgb(63, 63, 63);
  color: white;
}



.servicos a{
  display: block;
    height: 90px;
    background-color: white;
    border-left: 7px solid #ec5a24;
    margin-top: 20px;
    box-shadow: 1px 1px 6px 3px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
    transition: all 0.3s;
}

.servicos a {
  display: block;
  height: 90px;
  background-color: white;
  border-left: 7px solid #ec5a24;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: black;
}

.servicos a:hover{
  background-color: #ec5a24;
  color: white;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
    transition: all 0.3s;
}

.action a{
  display: block;
  background-color: #ec5a24;
  height: 50px;
  width: 350px;
  font-weight: 600;
  color: white;
  margin: 50px auto;
  text-transform: uppercase;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}

.action a:hover{
  background-color: black;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}

.action2 a{
  display: block;
  background-color: #ec5a24;
  height: 50px;
  width: 350px;
  font-weight: 600;
  color: white;
  margin: 50px auto;
  text-transform: uppercase;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}

.action2 a:hover{
  background-color: black;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}

.bt:hover{
  background-color: black;
  color: white;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
  transition: all 0.3s;
}

.bt{
    position: absolute;
    display: block;
    background-color: #ec5a24;
    height: 50px;
    width: 350px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
    transition: all 0.3s;
}

.menu_lev .selected a{
  display: block;
    text-align: center;
    height: 70px;
    width: 100%;
    background-color: #ec5a24;
    line-height: 20px;
    border-radius: 5px;
    color: white;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    padding: 15px 0;
}

.menu_lev a{
  display: block;
    text-align: center;
    height: 70px;
    width: 100%;
    background-color: transparent;
    border: 1px solid #ec5a24;
    line-height: 20px;
    border-radius: 5px;
    color: #ec5a24;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    padding: 15px 0;
    transition: all 0.3s;
}

.menu_lev a:hover{
  background-color: #ec5a24;
  color: white;
}

.sub{
  
  border-bottom: 1px solid #ec5a24;
  margin-bottom: 50px;
}

.accordion-item:last-of-type{
  margin-bottom: 100px;
}

/*-----------accordion-------------*/

.accordion-body p{
  font-size: 14px;
    font-weight: 500;
    color: darkslategray;
}

.accordion-button:not(.collapsed){
background-color: #ec5a24;
color: white;
}

.accordion-button:focus{
  border-color: red;
}

.accordion-item:first-of-type .accordion-button {
  border-radius: 0 !important;
}

.accordion-button{
  background-color: #EDEDED;
  font-size: 16px;
  font-weight: 500;
  
}

.accordion-item{
  border-color: transparent;
  margin-bottom: 3px;
  
}

.accordion-button:focus{
  box-shadow: none;
}

.accordion{
  --bs-accordion-btn-active-icon:url("../imagens/geral/transferir.svg");
}


/*-----------footer-------------*/


.servicos a img{
  transition: all 0.3s;
}

.servicos a:hover img{
  -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}

.box2{
  width: 100%;
  height: 865px;
  background-color: white;
  display: block;
}

.box_serv{
  width: 100%;
  height: auto;
  background-color: white;
  display: block;
  margin-bottom: 100px;
}

.box_serv2{
  width: 100%;
  min-height: 340px;
  background-color: white;
  display: block;
  margin-bottom: 100px;
}

.box_serv p{
  text-align: justify;
}

.box_cont{
  width: 100%;
  min-height: 570px;
  background-color: white;
  display: block;
}

.box_cont{
  width: 100%;
  min-height: 340px;
  background-color: white;
  display: block;
}

.box_cont p{
  text-align: left;
}

.box_cont h3{
  text-align: left;
  text-transform: uppercase;
  font-size: 20px;
}

.legenda {
  background-color: white;
  width: 100%;
  box-shadow: 1px 1px 6px 3px rgb(0 0 0 / 10%), 0 6px 7px 0 rgb(0 0 0 / 5%);
}

.num{
  width: 245px;
    height: 100px;
}

.social{
  width: 40px;
  display: block;
  position: relative;
  display: inline-block;
  margin: 5px;
}

 .center p{
  text-align: center !important;
}

.center h3{
  text-align: center !important;
}

/*---------------------footer-----------------*/

.footer ul{
padding-left: 0;
}

.footer ul li{
list-style: none;
}

.footer ul li a{
  font-weight: 400;
  color: white;
  font-size: 13px;
  line-height: 25px;
  text-transform: uppercase;
}

footer{
  background-image: url("../imagens/geral/fundo_footer.jpg");
  background-attachment: fixed;
    background-position: left;
}

.footer a{
  text-decoration: none;
}

.tit {
  border-bottom: 1px solid white;
  margin: 10px 0;
  display: block;
  width: 53%;
}

.tit h3{
  font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 20px 0 10px 0;
    margin-top: 30px;
    margin-bottom: 0;
    text-align: left;
}

.signature{
  background-color: black;
}

.signature p {

  color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    padding: 15px 0;
    margin: 0;
    text-align: left;
}





@media (max-width: 1399.98px) { 

.top_menu .nav-item a {
  margin:0;
}

.container-fluid.nav {
  width: 90%;
}

.top_menu .nav-item a{
  width: 135px;
}

.container-fluid.peq, .container-fluid.peq1, .container-fluid.peq2, .container-fluid.peq3, .container-fluid.peq4, .container-fluid.peq5,
.container-fluid.peq6, .container-fluid.peq7, .container-fluid.peq8, .container-fluid.peq9, .container-fluid.peq10, .container-fluid.peq11,
.container-fluid.peq12, .container-fluid.peq13{
  height: 100px;
}
  
}


@media (max-width: 1199.98px) { 

.servicos a img {
  height: 50px;
  margin: 15px 20px 15px;
}

.servicos a{
  height: 80px;
}

.carousel-inner {
  height: 680px;
}

.carousel-item {
  width: 130%;
}

.carousel-caption {
  left: 10%;
}

.transparent{
  height: 55px;
}

.container-fluid.certificacoes {
  height: 900px;
}

.servico{
  height: 70px;
  line-height: normal;
  cursor: pointer;
  padding: 15px 15px;
}

.servico_inf {
  height: auto;
  line-height: normal;
  padding: 15px;
}



}


@media (max-width: 991.98px) { 

  

  .dif {
    background-color: transparent !important;
    color: #ec5a24 !important;
}

  br{
    display: none;
  }

  .carousel-caption {
  width:50%;
  }

  .tit{
    width: 100%;
  }

  .container-fluid.footer{
    height: auto;
  }

  .num{
    margin-top: 30px;
    height: 80px;
  }

  .social{
    margin: 0 5px 30px 5px;
  }

  span.navbar-toggler-icon-bg{
    background-color: rgba(233, 15, 15);
    background-image
  }
  
  .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2825, 0, 0, 0.80%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
  }

  .navbar-toogler{
    border: var(--bs-border-width) solid rgb(14 6 6 / 49%) !important;
  }

  .navbar-dark{
    --bs-navbar-toggler-border-color: rgba(0, 0, 0, 1);
  }

  .navbar-brand img{
    height: 55px;
  }

  .carousel-inner {
    height: 665px;
}

  @keyframes zoom {
    0% {
      transform: scale(1, 1);
    }
    50% {
      transform: scale(1, 1);
    }
    100% {
      transform: scale(1, 1);
    }

  }

  .navbar-expand-lg .navbar-collapse {
    flex-direction: row-reverse;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgb(0 0 0));
      background-color: transparent !important;
    /*background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(201 201 201));*/
    background-color: transparent !important;
  }
    
  .container-fluid.nav {
      margin-right: 0;
      padding-right: 0;
      width: 100%;
    }
    
  .navbar-brand {
      margin-left: 40px;
    }
    
  [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
      cursor: pointer;
      margin-right: 40px;
    }
    
  .navbar-nav {
      margin-top: 15px;
      margin-left: 40px;
      margin-bottom: 15px;
    }

  .top_menu .nav-item a {
    width: 135px;
    text-align: left;
    margin-left: 5px;
    color: white;
    font-size: 15px;
    padding-left: 10px !important;
    }

  .container-fluid.nav {
    margin-right: 0;
    padding-right: 0;
    width: 100%;
    }


    .dropdown-menu a {
      margin: 0px 0 0 20px !important;
      background-color: transparent;
      line-height: 20px !important;
  }

  .dropdown-menu a:active{
    background-color: transparent;
  }

  .dropdown-menu a:focus{
    background-color: transparent;
  }

  .dropdown-menu.show {
    margin-top: -5px;
  }

.img3 img, .img4 img{
margin-top: 50px;
}

.img4 img{
  margin-bottom: 50px;
  }


}


@media (max-width: 767.98px) { 


  .img4 img {
    height: 85px;
}

  h1{
    font-size: 25px;
  }

  .logos img{
    margin: 30px auto;
    display: block;
  }

  .container.logos {
    margin-top: 40px;
}

  .container.action {
    height: 620px;
}

  .carousel-caption{
    top: 260px;
}

.w-100 {
  width: auto !important;
}

.menu_lev .selected a{
  margin-bottom: 10px;
  height: 50px;
}

.menu_lev a{
  margin-bottom: 10px;
  height: 50px;
}

}


@media (max-width: 575.98px) { 

  .s_ensaios{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }

  .s_patologias{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  .s_auditorias{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_avaliacao{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }

  .s_orcamento{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_estudos{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_levantamento_topo{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_gestao_obra{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_homeproject{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
   
  }
  
  .s_medicoes{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }

  .portfolio{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_peritagens{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
   
  }
  
  .s_seguranca{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_memoria{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }
  
  .s_contactos{
    background-size: auto;
    height: 250px;
    background-attachment: unset;
    
  }



 

  .menu_lev{
    margin-top: 50px;
  }

  .servicos a img {
    height: 40px;
    margin: 10px 20px 10px;
}

.servicos a {
  height: 60px;
  font-size: 14px;
}

  .img2 img {
    height: 75px;
}

  .action2 a{
    width: 90%;
  }

  .action a{
    width: 90%;
  }

  h1{
    margin: 15px 0;
    font-size: 20px;
    text-align: center;
  }

  .container-fluid.nav{
    margin-top: 0;
  }

  .carousel-inner{
    height: 540px;
  }

  .carousel-item {
    width: 245%;
}

.carousel-caption h1{
  font-size: 26px;
  text-shadow: 0px 1px 2px #ffffff;
}

.carousel-caption {
  left: 5%;
  width: 26%;
  top: 240px;
}

.bt{
  width: 60%;
}

.quinze img {
  margin-top: 110px;
}

p{
  font-size: 15px;
  text-align: center;
}

.box2{
  height: 700px;
}

.servicos .container {
  padding-bottom: 60px;
  margin-top: 20px;
}

.transparent2{
  height: 80px;
}

.footer ul{
  margin-bottom: 0;
}

.num img{
  height: 35px;
}

.container.action{
  height: 365px;
}

.container.action2{
  margin-top: 65px;
}

.navbar-expand-lg .navbar-collapse {
  flex-direction: row-reverse;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgb(0 0 0));
    background-color: transparent !important;
  /*background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(201 201 201));*/
  background-color: transparent !important;
}

.top_menu .nav-item a {
  width: 135px;
  text-align: left;
  margin-left: -15px;
  color: white;
  font-size: 14px;
  
}

.container-fluid.nav {
  width: 100%;
}

.container-fluid.nav {
  margin-top: 0;
  margin-right: 0;
  padding-right: 0;
}

.navbar-brand {
  margin-left: 20px;
}

.navbar-toogler{
  margin-right: 20px;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  cursor: pointer;
  margin-right: 20px;
}

.top li .dropdown-item {
  width: 90%;

}

.top li .dropdown-item:hover {
  background-color: #ec5a24;
  color: white;
}

.dropdown-menu a {
  margin: 0 !important;
}

}







