/* Font sizes */
p,
.widget.gsc-heading .title-desc,
.widget.gsc-call-to-action .content,
.widget.gsc-icon-box .desc,
.widget.gsc-icon-box.top-center .highlight_content .desc,
.widget.gsc-image .column-content {
  font-size: 16px;
}

/* Footer */
#footer .copyright-inner {
  text-align: center ;
}

#footer .copyright-inner p {
  font-size: 14px;
}

#footer .copyright-inner img {
  display: inline-block;
  margin: 5px 10px 15px;
  max-width: 150px;
  max-height: 150px;
  width: auto;
  height: auto;
}

#footer .footer-center {
  padding: 0;
}

/* Slider */
.block-gavias-slider .tp-caption {
  /*text-shadow: 0px 1px 3px #3D3D3D;*/
  background: #2a9e7b;
  max-width: 600px;
  padding: 20px;
}

.block-gavias-slider .caption-description[style="color:#000000"] + .slider-action .btn-slide:not(.btn-slide-flat) {
  /*color: #000000;
  border-color: #000000;*/
  /*box-shadow: 0px 0px 5px 0px #777;*/
  /*text-shadow: 0px 1px 3px #3D3D3D;*/
}

/* Misc styles */
#block-gaviasblockbuiderprimaveracasahome {
  margin-bottom: 0;
}

.white-text-icon-box h4,
.white-text-icon-box .desc {
  color: #fff !important;
}

.widget.gsc-heading.no-padding-bottom-heading {
  padding-bottom: 0;
}

/* News home */
.block.block-views-blockarticles-block-1 {
  background: #2a9e7b;
  color: #fff;
  padding: 40px;
  margin: 30px 0;
}

.block.block-views-blockarticles-block-1 a {
  text-decoration: underline;
}

.block.block-views-blockarticles-block-1 a:hover {
  color: #e0e0e0;
}

.block-views-blockarticles-block-1 .views-field-title h2 a {
  text-decoration: none;
}

.block-views-blockarticles-block-1 .block-title,
.block-views-blockarticles-block-1 .block-content {
  max-width: 1170px;
  margin: 0 auto;
}

.block-views-blockarticles-block-1 h2.block-title,
.block-views-blockarticles-block-1 h2.block-title span {
  color: #fff !important;
}

.block-views-blockarticles-block-1 h2.block-title span {
  display: inline-block;
  padding-left: 20px;
}

.block-views-blockarticles-block-1 .view-content-wrap {
  text-align: center;
}

.block-views-blockarticles-block-1 .view-content-wrap .item {
  text-align: left;
  padding: 30px 0;
}

@media (min-width: 992px) {
  .block-views-blockarticles-block-1 .view-content-wrap .item {
    display: inline-block;
    width: 33%;
    padding: 0 20px;
    vertical-align: top;
  }
}

.block-views-blockarticles-block-1 .view-content-wrap h2,
.block-views-blockarticles-block-1 .view-content-wrap a {
  color: inherit;
}

.block-views-blockarticles-block-1 .views-field-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.block-views-blockarticles-block-1 .views-field-view-node a {
  text-decoration: none;
  display: inline-block;
  background: #fff;
  padding: 2px 10px;
  border-radius: 5px;
  color: #2a9e7b;
  margin-top: 10px;
  border: 1px solid #2a9e7b;
}

.block-views-blockarticles-block-1 .views-field-view-node a:hover {
  color: #fff;
  background: #2a9e7b;
  border-color: #fff;
}

/* Structure */
.node--type-structure .node__content > .layout--twocol-section--50-50 {
  display: block;
  position: relative;
}

.node--type-structure .node__content > .layout--twocol-section--50-50 .layout__region--second {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 20px;
  background: #2a9e7b;
  color: #fff;
}

.node--type-structure .node__content > .layout--twocol-section--50-50 .layout__region--second h1 {
  color: inherit;
  font-size: 41px
}

.node--type-structure .node__content > .layout--twocol-section--50-50 .field--name-field-location {
  font-size: 32px;
}

.node--type-structure .node__content > .layout--twocol-section--50-50 .field--name-field-availability {
  font-size: 21px;
  font-weight: bold;
}

.node--type-structure .node__content > .layout--twocol-section--67-33 {
  margin: 20px 0;
}

.node--type-structure .node__content > .layout--twocol-section--67-33 .layout__region--first {
  padding-right: 10px;
}

.node--type-structure .node__content > .layout--twocol-section--67-33 .layout__region--second {
  padding-left: 10px;
}

.node--type-structure .node__content .field--name-field-services {
  text-align: center;
  margin-bottom: 20px;
}

.node--type-structure .node__content .field--name-field-services .field__item {
  display: inline-block;
  margin: 0 10px;
}

.node--type-structure .node__content .field--name-field-services h2 {
  font-size: 18px;
  margin: 0;
}

.node--type-structure .node__content .field--name-field-services .field--name-field-srv-icon {
  max-width: 50px;
  margin: 0 auto;
}
.node--type-structure .node__content .field--name-field-services .field--name-field-srv-icon img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Header social */

.topbar {

}

.topbar .block {
  margin: 0;
  padding: 0;
}

.header-social {
  text-align: right;
  padding: 1px 20px 1px 0; /* align to the menu, don't ask why the menu has 20px padding right */
}

.header-social > * {
  display: inline-block;
}

.header-social .social-label {
  margin-right: 10px;
}

@media (min-width: 992px) {
  .header-social {
    padding-right: 35px;
  }
}

.header-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-social ul li {
  display: inline-block;
}

.header-social a {
  font-size: 18px;
}

/* Responsive videos/iframe */
.responsive-iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.responsive-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Restore lists */
.widget ul,
.node__content ul {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

.widget ul li,
.node__content ul li {
  list-style: unset;
}

.white-buttons .widget.gsc-call-to-action .button-action a {
  background: #fff;
  color: #696969;
}

.white-buttons .widget.gsc-call-to-action .button-action a:hover {
  color: #000;
}

@media (min-width: 992px) and (max-width: 1199px) {
  header.header-v3 .main-menu .gva_menu > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
}

.post-block.post-teaser h3 {
  margin-top: 0;
  padding-top: 0;
}

.post-block.post-teaser img {
  min-width: 150px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .post-block.post-teaser:has(img) {
    display: flex;
    justify-content: space-between;
    align-items: start;
  }

  .post-block.post-teaser img {
    margin-right: 20px;
  }
}

.node-detail  .post-block.post-teaser .post-thumbnail.post-gallery {
  overflow: visible;
}

.articles-view-page {
  padding-top: 60px;
  margin-bottom: 40px;
}

.articles-view-page > h1 {
  margin-bottom: 100px;
}

.articles-view-page .item {
  padding-bottom: 40px;
  margin-bottom: 40px;
  position: relative;
}

.articles-view-page .item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  max-width: 100%;
  height: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.articles-view-wrapper {
  display: block;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .articles-view-wrapper {
    display: flex;
  }
}

.articles-view-wrapper .second-column {
  flex-grow: 1;
  padding-left: 50px;
}

.articles-view-wrapper .second-column .views-element-container li {
  display: block;
  width: 200px;
}

table th,
.field--name-body strong {
  color: #2a9e7b;
}
