/*
Theme Name: Tecnic de capçalera
Description: Tema pel web del tècnic de capçalera · 2018
Author: Col·legi d'Aparelladors, Arquitectes Tècnics i Enginyers d'Edificació de Barcelona (CAATEEB)
Author URI: http://www.apabcn.cat.
Template: total
Version: 1.0.0
*/

@font-face {
  font-family: "Aeonik";
  src: url("./fonts/Aeonik-Regular.ttf");
  font-weight: normal;
}

@font-face {
  font-family: "Aeonik Light";
  src: url("./fonts/Aeonik-Light.otf");
  font-weight: normal;
}

@font-face {
  font-family: "Aeonik Bold";
  src: url("./fonts/Aeonik-Bold.otf");
  font-weight: normal;
}

body {
  color: #212529 !important;
  font-family: "Aeonik", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Aeonik Bold", Arial, sans-serif !important;
}

h2 {
  margin: 35px 0;
}
h3 {
  margin: 35px 0;
}
h4 {
  margin: 20px 0 !important;
}

p,
footer {
  font-family: "Aeonik", Arial, sans-serif !important;
}

a {
  font-family: "Aeonik", Arial, sans-serif !important;
}

blockquote {
  margin: 1.5em;
  padding-left: 1.5em;
  border-left: solid 3px #fcc000;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

figcaption {
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1;
  text-align: right !important;
}


.light{
	font-family: "Aeonik light", Arial, sans-serif !important;
}

.main-title {
  font-family: "Aeonik Bold", Arial, sans-serif !important;
  font-size: clamp(1.6rem, 2.5rem, 27px);
  color: #333;
  line-height: 0.8;
}

.main-title-slight {
  font-family: "Aeonik", Arial, sans-serif !important;
}

#ht-site-branding {
  margin-left: 40px !important;
}
#ht-site-branding a:hover {
  color: black !important;
}

/*Menu*/
.ht-site-header .ht-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#ht-site-navigation {
  width: auto;
  flex: 1;
}

#ht-site-branding {
  width: auto;
  margin-left: 10px;
}

.pll-parent-menu-item {
  margin-left: 30px !important;
}

.pll-parent-menu-item:before {
  content: "🌐";
  position: absolute;
  right: 50px;
  top: 5px;
}

/*End Menu*/

/* HOME */

.home #ht-site-branding {
  display: none;
}

/* HEADER TRANSPARENT I SOBRE EL SLIDER */
.home #ht-masthead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  border-bottom: none;
}

.home .ht-container {
  position: relative;
  z-index: 2;
}

/* AFEGIR ESPAI AL CONTINGUT SOTA EL HEADER */
.home .ht-site-header {
  padding-top: 30px;
}
.home .ht-main-navigation a {
  color: white !important;
  font-size: 16px;
}

.home .ht-main-navigation ul ul a {
  color: #444 !important;
}
.home .ht-main-navigation ul ul a:hover {
  color: white !important;
}
.home #ht-content {
  padding-top: 0px; /* Ajusta segons l'alçada del teu header */
}
.home #ht-home-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home #ht-bx-slider .ht-slide {
  height: 100vh;
  position: relative;
}

.home #ht-bx-slider .ht-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .ht-slide-cap-title {
  text-align: center;
  font-size: clamp(48px, 5vw, 48px);
  color: #fff;
  font-weight: 600;
  margin-bottom: 25px;
  padding: 0 10%;
  line-height: 1;
  font-family: "Aeonik Bold", Arial, sans-serif !important;
  text-transform: uppercase;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.portada {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ht-about-sec {
  width: 100%;
  font-size: 20px;
  width: 70%;
}

.ht-about-sec h2 {
  text-align: center;
  width: 60% !important;
}

.ht-about-sec p {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 80px;
}

.ht-about-sec {
  width: 100%;
}

.ht-about-image {
  width: 0%;
}

.ht-featured-post .ht-featured-link a {
  border: none;
  color: black;
}

.ht-featured-link a:hover {
  color: white !important;
}
#ht-featured-post-section {
  background-color: #e84428 !important;
}
.ht-featured-icon {
  background: #e84428 !important;
}

.ht-featured-post-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 50px;
}

.ht-featured-post {
  width: 30%;
  margin-bottom: 50px;
}

.ht-service-text a {
  color: black;
}

/* END HOME */

.claim{
	margin:40px 0;
	font-size: 1.2em;
    line-height: 1;
     font-family: "Aeonik Light", Arial, sans-serif !important;
	font-size:26px;
	
}

.claim h2{
	margin-bottom: 0;
    font-size: 30px;
    text-transform: uppercase;
	line-height:1
	margin-bottom:10vh;
	
	
}

.ht-main-title {
  font-family: "Aeonik Light", Arial, sans-serif !important;
  font-size: 2em;
  margin: 0 0 15px;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
}

.div-segell-final {
  max-width: 700px;
  margin: 80px auto;
}

.imatge-segell {
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.segell {
  max-width: 200px;
}

/*custom ul*/

.custom-ul {
  margin: 30px;
  padding: 0;
  list-style-type: none;
}

.custom-ul li::before {
  content: "•";
  margin-right: 15px;
  font-size: 80%;
  background-color: #e84428;
  color: white;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
}

/*end custom ul*/

/*custom ol*/

.custom-counter {
  margin-left: 25px;
  padding: 0;
  list-style-type: none;
}

.custom-counter li {
  counter-increment: step-counter;
  margin-bottom: 10px;
}

.custom-counter li::before {
  content: counter(step-counter);
  margin-right: 5px;
  font-size: 80%;
  background-color: #e84428;
  color: white;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
}

/*end custom ol*/

.caixa-aparellador {
  background-color: #fcc000;
  color: black;
  background-image: none;
  padding: 25px 45px;
  margin: 50px 4px;
}

.caixa-aparellador a {
  color: black;
  text-decoration: underline;
}

.caixa-aparellador a:hover {
  color: black;
}

.caixa-aparellador h3 {
  color: white;
  margin: 10px 0 20px 0;
}

.caixa-aparellador h3:before {
  content: "\f0eb";
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  padding-right: 8px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.recursos {
  flex: 1;
  padding: 0 25px;
  min-width: 300px;
  border: 1px solid #ccc;
  margin: 25px;
  max-width: 350px;
}

.recursos:last-of-type {
  margin-right: auto;
}

.recursos .ht-cta-buttons {
  margin: 30px auto;
}

.card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  border: 1px solid #ccc;
  padding: 10px;
  margin: 30px 20px;
}

.card:last-of-type {
  margin-right: auto;
}

.card p {
  margin-top: 20px;
}

.card:hover {
  transform: scale(1.1);
  -webkit-transition: transform 0.3s ease-in-out;
}

.faqs {
  margin-top: 50px;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.faq-imatge {
  width: 100%;
  max-width: 350px;
}

.faq-imatge img {
  width: 100%;
  height: auto;
}

.flex-column {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  flex: 1;
}

.div-logo {
  width: 100%;
  max-width: 350px;
  padding: 25px;
}

.div-logo img {
  width: 100%;
  height: auto;
}

.text-description {
  flex: 1;
}

.subvencions {
  border: 1px solid #ccc;
  margin: 10px 0;
  padding: 6px;
  align-items: center;
}

.align-left {
  text-align: left;
}

.contact {
  max-width: 550px;
  min-width: 350px;
  padding: 5px 15px;
}

.video {
  min-width: 350px;
  max-width: 450px;
  margin: 10px 0;
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  max-width: 350px;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 960px) {
  #ht-site-branding {
    margin-left: 10px !important;
  }

  .ht-slide-cap-desc {
    padding: 0;
    font-size: 16px;
  }

  .ht-about-sec h2 {
    width: 100% !important;
  }

  .ht-featured-post {
    width: 100%;
  }

  blockquote {
    margin-left: 5px;
  }

  .ht-main-title {
    font-size: 1.5em;
  }
}

/*old styles. To delete???*/

#total-breadcrumbs {
  display: none;
}

body,
input,
select,
textarea {
  color: #444;
  font-size: 18px;
  line-height: 1.6;
  font-family: "Pontano Sans", sans-serif;
  font-weight: 400;
}

/*translation*/

#menu-item-2953-ca {
  position: absolute;
  top: 5px;
  right: 50px;
  border-right: solid;
  border-color: grey;
  font-size: 0.7rem;
}

#menu-item-2953-ca a {
  font-size: 0.7rem;
  display: inline;
  font-weight: 100;
}

#menu-item-2953-es {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 0.7rem;
}

#menu-item-2953-es a {
  font-size: 0.7rem;
  display: inline;
  font-weight: 100;
}

#menu-item-2966-ca {
  position: absolute;
  top: 5px;
  right: 50px;
  border-right: solid;
  border-color: grey;
  font-size: 0.7rem;
}

#menu-item-2966-ca a {
  font-size: 0.7rem;
  display: inline;
  font-weight: 100;
}

#menu-item-2966-es {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 0.7rem;
}

#menu-item-2966-es a {
  font-size: 0.7rem;
  display: inline;
  font-weight: 100;
}

/* end translation*/

/* home page*/

.ht-content p a {
  display: inline-block;
  background: #e2063a;
  color: #fff;
  padding: 0 15px;
  line-height: 38px;
  text-align: center;
  font-size: 16px;
  border-radius: 1px;
}

.ht-content p a:hover {
  background: #333;
  color: #fff;
}
.ht-about-image img {
  max-width: 75%;
}

/* end home page*/

.page-list {
  margin-top: 50px;
}
.page-list-ext-image {
  margin-right: 5%;
}

.attachment-post-thumbnail {
  margin-bottom: 35px;
}

.frame {
  border-radius: 3px;
  border: 1px solid #dfddda;
  padding: 5px;
}

.temes-clau a {
  font-size: 28px;
}

.taula {
  padding: 50px;
}

.row {
  width: 100%;
  overflow: hidden;
  margin: 20px 0 60px 0;
}

.left-column {
  float: left;
  width: 20%;
}

.right-column {
  padding-left: 10px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #ccc;
  padding-bottom: 40px;
}

.breadcrumbs {
  display: none;
}

/*end old styles*/
