html {
  font-size: 62.5%;
}
body {
  font-family: "Quicksand", sans-serif;
  font-size: 1.8rem;
}
hr {
  margin: 1rem 0;
}
a {
  color: #03425e;
}
p {
  line-height: 2.5rem;
}
.btn {
  font-family: "Quicksand", sans-serif;
}
.custom-row {
  margin-left: -15px;
  margin-right: -15px;
}
.navbar-custom {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* LANGUAGE SWITCHER */
.navbar-nav>li.wpml-ls-menu-item>.dropdown-menu {
  border-top: none;
  padding: 8px 0;
}
.navbar-nav>li.wpml-ls-menu-item>.dropdown-menu > li > a {
  padding: 5px 15px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.block-title,
.navbar-custom .navbar-nav > li > a {
  font-family: "Montserrat", sans-serif;
}
.navbar-custom .nav > .menu-item > a:hover,
.navbar-custom .nav > .menu-item > a.showing {
  color: #03425e !important;
}
.navbar-custom .navbar-nav > li.social-link > a {
  font-size: 1.8rem;
}
.color-corporatiu {
  color: #03425e;
}
.logo-container {
  flex: 1;
  padding-bottom: 1rem;
}
.navbar-brand.image-logo img {
  width: 100%;
  max-width: 200px;
}
.navbar-custom .navbar-nav > li > a {
  padding-top: 0;
  padding-bottom: 0;
}
.image-banner .flexslider .slides li {
  height: 500px;
  background-size: cover;
  background-position: center;
}
.image-banner .flexslider::before {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}
.frontpage-banner .inner {
  text-shadow: 0px 0px 1px #000000;
}
.frontpage-banner.image-banner .block-title {
  font-size: 6.5rem;
  text-transform: uppercase;
  font-family: "Quicksand", sans-serif;
}
.frontpage-banner.image-banner .description {
  font-size: 2.5rem;
  text-transform: uppercase;
}
.section {
  padding-top: 3.5rem;
}
.qui-som-container {
  margin-top: 4rem;
}
.qui-som-text p {
  line-height: 3rem;
}
.qui-som-img img {
  width: 100%;
  border-radius: 1rem;
}

.ubicacio-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}
.ubicacio-container > div {
  padding: 0 1.5rem;
}
.columna-ubicacio {
  width: 40%;
}
.ubicacio-list {
  list-style-type: none;
  padding-left: 0;
}
.ubicacio-list li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.ubicacio-list li:last-child {
  margin-bottom: 0;
}
.ubicacio-list li > * {
  font-size: 1.8rem;
}
.ubicacio-list li a {
  color: inherit;
}
.ubicacio-list li i {
  width: 2.5rem;
  font-size: 2.5rem;
  margin-right: 2rem;
}
.ubicacio-list .destacat {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.ubicacio-list .destacat-margin {
  margin-top: 1rem;
}
.columna-mapa {
  width: 60%;
}
#mapa {
  width: 100%;
  min-height: 450px;
  padding-bottom: 4.5rem;
}
.frontpage-contactar {
  background-color: #f4f4f4;
  padding-bottom: 4rem;
}
.contenidor-formulari {
  max-width: 850px;
  margin: 2.5rem auto 0px;
}
.wpcf7-form label,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  width: 100%;
}
.wpcf7-form-control-wrap textarea {
  resize: none;
  height: 170px;
}
.wpcf7-form .submit-row {
  margin-top: 4rem;
  text-align: center;
}
.wpcf7-form .submit-row input[type="submit"] {
  width: 150px;
  text-transform: uppercase;
}
.wpcf7-form .submit-row input[type="submit"]:hover {
  background-color: #2b89bf;
}
.nav-foot li {
  display: block;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 3rem;
  font-family: "Quicksand", sans-serif;
}
.nav-foot li,
.nav-foot li a {
  color: #fff;
}
.legal-foot {
  float: right;
}
.nav-foot.legal-foot li {
  display: inline-block;
  margin-right: 1.5rem;
}
.section.frontpage-marques {
  padding-bottom: 4rem;
}
.marques-container {
  width: 1050px;
  max-width: 95%;
  margin: auto;
}
.flexslider.carousel-marques .slides {
  display: flex;
  align-items: center;
}
.carousel-marques .slides li img {
  width: 100%;
}

.frontpage-4cols .serveis-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 4rem;
  margin-bottom: 6rem;
}

.frontpage-4cols .serveis-row .serveis-col-text {
  position: relative;
}

.frontpage-4cols .serveis-row:last-child {
  margin-bottom: 0;
}

.serveis-row .serveis-col-titol {
  position: relative;
  font-family: "Quicksand", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-top: 0;
}

.serveis-row .serveis-col-desc {
  margin-top: 3rem;
}

.serveis-row .serveis-col-text {
  padding: 0 6rem;
}

.serveis-row .serveis-col-desc ul {
  list-style-type: none;
  padding-left: 0;
}
.serveis-row .serveis-col-desc ul li {
  padding: 2.5px 0;
}
.frontpage-4cols .serveis-row p {
  margin-bottom: 2rem;
}
.serveis-row .serveis-img {
  width: 100%;
  border-radius: 1rem;
}
.footer {
  background-color: #03425e;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-bottom: 4rem;
}
.footer hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-color: #b5b5b5;
}
.nav-foot li a {
  display: inline;
}
.footer .footer-title {
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.footer .social-link i {
  font-size: 2rem;
  color: #fff;
  vertical-align: middle;
  margin-left: 5px;
}
.footer li a:hover,
.footer .social-link:hover i {
  color: #fff;
}
.footer .legal-foot li a {
  font-size: 1.1rem;
}
#cookie-law-info-bar {
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 10px;
}
.cli-tab-container p,
.cli-privacy-content-text {
  line-height: 2rem;
}

/* GENERAL RULES */
.image-banner .block-title {
  font-weight: 900;
  font-size: 6.5rem;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  text-shadow: 0px 0px 1px #000000;
}

/* ARCHIVE PAGE */
.blog-feed .entry {
  margin-bottom: 4rem;
}

.blog-feed .entry .entry-meta {
  font-size: 1.5rem;
  font-family: inherit;
  font-weight: 400;
}

.blog-feed .entry .entry-meta a {
  font-weight: 400;
  color: #03425e;
}

.blog-feed .entry .entry-meta a:hover {
  color: #2e93cd;
  text-decoration: underline;
}

.blog-feed .entry .entry-buttons .btn {
  min-width: 10rem;
  font-size: 1.5rem;
  padding: 8px 5px;
}

.blog-feed .entry .entry-image-left img {
  border-radius: 1rem;
}

.tagcloud {
  padding-top: 0;
}

.tagcloud a {
  font-size: 1.5rem !important;
  color: #03425e;
  background: none;
}

.tagcloud a:hover, .tagcloud a:focus{
  color: #2e93cd;
  background: none;
  text-decoration: underline;
}

/* POST PAGE */
.post-content .post .entry-title {
  font-size: 3.5rem;
  line-height: 5rem;
}

.post-content .post .entry-content h2{
	font-size: 2.5rem;
}

.post-content .post .entry-meta {
  font-family: inherit;
  font-size: 1.5rem;
}

.post-content .post .entry-tags {
  position: relative;
  margin-top: 1.5rem;
  padding-top: 1rem;
  margin-bottom: 0;
  font-size: 1.5rem;
}

.post-content .post .entry-tags::after {
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  content: "";
  border-bottom: 1px solid #2e93cd;
}

.post-content .post .entry-tags a {
  font-size: 1.4rem;
  color: #03425e;
  background: none;
}

.post-content .post .entry-tags a:hover {
  background: none;
  color: #2e93cd;
  text-decoration: underline;
}

.post-content .post .entry-tags a::after {
  content: unset;
}

/* NORMAL PAGES */
.page-content .page .page-title {
  font-size: 26px;
}

.page-content h3 {
  font-size: 22px;
}

.page-content p,
.post-content .type-post p {
  line-height: 2.5rem;
}
/* ---- */


/* CONTACT FORM */
.with_frm_style {
  --font: "Quicksand", sans-serif;
  --weight: bold;
  --label-padding: 0 0 10px 0;
  --text-color: black;
  --field-height: 40px;
  --line-height: 40px;
}
.with_frm_style .frm-show-form div.frm_description p {
  font-size: 1.8rem;
  font-family: "Quicksand", sans-serif;
  color: #212121;
}
.with_frm_style .frm_checkbox  label.privacy-label {
  font-size: 1.6rem;
  color: #212121;
}
.frm_style_formidable-style.with_frm_style .frm_submit button {
  background: #03425e;
  border-color: #03425e;
}

.privacy-link {
  font-weight: bold
}


/* --- */

@media (min-width: 1500px) {
  .container {
    width: 1450px;
  }
}
@media (max-width: 1140px) {
  #mapa {
    min-width: 420px;
  }
}
@media (max-width: 991px) {
  .qui-som-img {
    margin-top: 2.5rem;
  }
  .nav-foot {
    text-align: left;
  }
}
@media(min-width: 768px) {
  .navbar-custom {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .ubicacio-list li {
    justify-content: center;
    text-align: center;
  }
  .ubicacio-list li i {
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  .navbar-fixed-top .navbar-collapse {
    padding-left: 1.5rem;
  }
  .navbar-custom .navbar-nav > li > a {
    padding: 0.7rem 1.5rem;
  }
  .serveis-row {
    padding: 0 1.5rem;
  }
  .serveis-row > div {
    width: 100%;
  }
  .frontpage-4cols .serveis-row {
    margin-top: 2rem;
    margin-bottom: 4rem;
  }
  .serveis-row .serveis-col-desc {
    margin-top: 2rem;
    text-align: center;
  }
  .frontpage-4cols .serveis-row .serveis-col-img {
    order: 2;
  }
  .frontpage-4cols .serveis-row .serveis-col-text {
    order: 1;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
  }
  .serveis-row .serveis-col-titol {
    text-align: center;
  }
  .ubicacio-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .columna-ubicacio {
    width: 100%;
    margin-bottom: 2.5rem;
  }
  .ubicacio-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .ubicacio-list li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .ubicacio-list li i {
    margin-right: 0;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    width: 100%;
  }
  .columna-mapa {
    width: 100%;
  }
  #mapa {
    min-height: 300px;
    min-width: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
  #cta {
    display: none;
  }

  .post-content img.alignright, .post-content img.alignleft {
    float: none;
    display: block;
    margin: auto;
  }

  .legal-foot {
    float: left;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 0;
  }

  .nav-foot.legal-foot li {
    display: block;
    margin-right: 0
  }
}
@media (max-width: 330px) {
  .navbar-brand.image-logo img {
    max-width: 150px;
  }
}
