/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/


/*********************************\
              GENERAL
\*********************************/
@import './css/slider-dicam.css';

.validate_email_against_bot {
  display: none;
}

:root{
  --azulFondo: #474782;
  --azulFondoClaro: #e8e8f2;
  --amarillo: #e5be00;
  --azulCorporativo: #1b18ab;

	--white: #fff;
  --black: #000;
}

a:hover {
    text-decoration: none;
}

.form-legal {
    font-size: 0.7em;
    line-height: 1.5em;
    opacity: .7;
    padding: 10px;
    text-align: justify;
}

input[name="politica"] + span {
    font-weight: 500;
}

#cmplz-document {
  max-width: 100%;
  padding: 40px 0;
  text-align: justify;
}

#cmplz-document h2,
#cmplz-document h3 {
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 0px;
  border: 0;
  padding: 0;
  margin-bottom: 15px;
  margin-top: 60px;
}

table tr:first-child td {
  box-shadow: none;
  border: none;
  line-height: 0;
}

table tr:nth-child(2n) td {
  background: #f2f2f2;
  font-size: 12px;
  line-height: 16px;
  padding: 25px 10px;
}

table tr td {
  border: none;
  padding: 0;
}

table tr td p {
  margin-top: 15px;
}

table tr:nth-child(2n) td p {
  margin: 0;
}

.single #Content .section_wrapper,
.single #Content .container {
  max-width: 850px;
  text-align: justify;
  word-wrap: break-word;
}

.single .section_wrapper img {
  max-width: 100%;
}

.txtTitular,
.txtResaltado {
  font-size: 30px;
  line-height: 36px;
  font-weight: bold;
  margin-top: 100px;
  display: block;
  color: var(--azulFondo);
}

.wp-block-image {
  line-height: 0;
  margin: 40px 0;
}

.wp-block-media-text {
  margin: 40px 0;
}

.wp-block-image figcaption {
  margin-top: 0;
  background: #f2f2f2;
  padding: 10px;
  text-align: center;
  line-height: normal;
}

.advgb-image-title {
  margin-bottom: 0px !important;
  font-size: 16px !important;
  line-height: 20px !important;
}

.advgb-image-subtitle {
  font-size: 12px !important;
  line-height: 16px !important;
}

div.advgb-image-block:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 15%;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7413165949973739) 100%);
}

.blocks-gallery-grid,
.wp-block-gallery {
  width: 100%;
  margin-left: 0 !important;
  margin: 40px 0;
}

.yellowLine {
  text-align: center;
  width: fit-content;
  margin: 0 auto 15px;
  position: relative;
}

.yellowLine:before,
.yellowLine:after {
  content: "";
  display: block;
  position: absolute;
  width: 50vw;
  height: 1px;
  background: var(--amarillo);
  top: 50%;
}

.yellowLine:before {
  right: calc( 100% + 30px);
}

.yellowLine:after {
  left: calc( 100% + 30px);
}

.yellowTitle {
  display: block;
  color: var(--amarillo);
  font-size: 20px!important;
  line-height: 1.5em;
  font-weight: 500!important;
}

/*********************************\
              HEADER
\*********************************/
#rev_slider_3_1_wrapper form {
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  padding: 8px;
  display: flex;
}

#rev_slider_3_1_wrapper input[type="text"] {
  margin: 0;
  border: 0;
  box-shadow: none;
  padding: 0 10px;
  flex-grow: 1;
  font-size: 17px;
  line-height: 17px;
}

#rev_slider_3_1_wrapper input[type="text"]:focus {
  background-color: var(--white) !important;
}

#rev_slider_3_1_wrapper input[type="submit"] {
  padding: 8px 12px;
  font-size: 17px;
  line-height: 17px !important;
  font-weight: 600;
}

.search #rev_slider_3_1_wrapper {
  margin-top: -100px !important;
}

/*********************************\
              FOOTER
\*********************************/
#Footer .footer_action {
  background: var(--white);
}

#Footer .footer_action .column.one div {
  width: 50%;
  float: left;
}

#Footer .footer_action .datos-contacto {
  text-align: left;
}

#Footer .footer_action .datos-contacto p {
  margin: 0;
  font-weight: 500;
}

#Footer .footer_action .datos-contacto p,
#Footer .footer_action .datos-contacto a {
  color: var(--black);
}

#Footer .footer_action .datos-contacto a:hover {
  color: var(--amarillo);
}

#Footer .footer_action .logos {
  text-align: right;
}

#Footer .footer_action .logos > img {
  max-height: 50px;
  margin: 0 10px;
}

#Footer .copyright {
  font-size: 13px;
  line-height: 1.5em;
  margin: 0;
}

/*********************************\
              PORTADA
\*********************************/
.proyecto-card {
  height: 0;
  padding-bottom: 30%;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  margin: 0 2% 40px;
  width: 46% !important;
}

.proyecto-card a {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  background: linear-gradient(0deg, var(--black), transparent 40%);
}

.proyecto-card a .text {
  padding: 0 5% 2%;
  position: absolute;
  bottom: 0;
  transition: linear .5s;
}

.proyecto-card a:hover .text {
  transform: translate(0, -10px);
}

.proyecto-card a .text > * {
  color: var(--white);
}

.proyecto-card a .text > p {
  font-size: 14px;
  line-height: 20px;
}

#proyecto h2 {
  font-size: 39px;
  line-height: 1.5em;
  font-weight: 700;
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
  .proyecto-card {
    padding-bottom: 40%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .proyecto-card {
    padding-bottom: 50%;
  }
}

/*********************************\
            PROYECTO
\*********************************/
#financiacion .align_right {
  text-align: right;
  font-size: 25px;
  line-height: 35px;
  font-weight: 500;
  padding-right: 40px;
}

/*********************************\
             ENLACES
\*********************************/
.enlace {
  margin-bottom: 40px;
}

.enlace > a {
  width: 100%;
  display: block;
  padding: 25px;
  border-radius: 10px;
  border: solid 2px var(--azulFondo);
  background: var(--azulFondoClaro);
  color: var(--azulFondo);
  font-size: 20px;
  font-weight: 700;
  transition: all .4s ease-in-out;
}

.enlace > a:hover {
  background: var(--azulFondo);
  color: var(--white);
}

/*********************************\
           MAPA GENERAL
\*********************************/
.full-width .google-map.leaflet-container {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  box-shadow: none;
}

/*********************************\
            CONTACTO
\*********************************/
.google-map.leaflet-container {
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, .2);
}

.icon_box .icon_wrapper {
  background-image: none;
}

#contacto .section_wrapper .one-second:last-child {
  padding: 0 0 0 5%;
}

/*********************************\
            DICCIONARIO
\*********************************/
.post-item {
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgb(0 0 0 / 20%);
  padding: 20px;
  background: #f7f7fa;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.post-item .image_frame {
  width: 200px;
}

.post-item .post-desc-wrapper {
  width: calc(100% - 200px);
}

.post-item .post-desc-wrapper .post-footer {
  display: none;
  background: transparent;
  padding: 15px 0;
}

.post-item .post-desc-wrapper .post-footer .post-more {
  color: var(--white);
  background: var(--amarillo);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: .04em;
}

.post-item .post-desc-wrapper .post-footer .post-more:hover {
  background: var(--azulFondo);
}

.search #Content {
  padding-top: 0;
}

.search #Content .sections_group > .section {
  padding-top: 80px;
}

.single .map-area .select2 {
  display: none;
}

#mapaVoz {
  width: 90vw;
  max-width: 90vw;
  background: transparent;
  padding: 0;
}

#mapaVoz .map-area {
  min-height: 80vh;
  height: 100%;
}

.mfp-close-btn-in #mapaVoz .mfp-close {
  font-size: 36px;
  padding: 0;
  color: white;
  background: var(--azulFondo) !important;
  opacity: 1;
  border-radius: 0 7px;
}

.mfp-close:active {
  top: 0;
}

.mfp-close-btn-in #mapaVoz .mfp-close:hover {
  background: var(--amarillo) !important;
}

.button_mapa {
  position: absolute;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  margin: 30px 0 0 !important;
}

/*********************************\
               VOCES
\*********************************/
.blog #Content .sections_group > .section {
  padding-top: 80px;
}

.single #Content {
  padding: 0;
}

.single #Content h1,
.single #Content h2,
.single #Content h3,
.single #Content h4,
.single #Content h5,
.single #Content h6 {
  margin-top: 100px;
}

.single #Content a {
  font-weight: 600;
  text-decoration: underline;
}

.single #Content .the_content p:empty,
.single #Content .the_content h4:empty {
  display: none;
}

.single #Content .the_content {
  background: var(--azulFondoClaro);
}

.single #Content .the_content .section_wrapper {
  background: var(--white);
  padding: 120px 80px;
}

.single #Content .the_content img {
  max-width: 833px;
  max-height: 833px;
  cursor: pointer;
}

.single #Content .the_content img[data-lazy-srcset] {
  width: auto;
  height: auto;
}

.single #Content .the_content .img-copy {
  margin-top: -30px;
  color: var(--white);
  font-size: 10px;
  text-align: right;
  padding-right: 10px;
}

figure.imagen > table,
table.imagen,
table.imagenIzd {
  width: max-content;
  max-width: 100%;
  margin: 50px auto;
  height: auto !important;
}

figure.imagen > table tr:last-child td,
table.imagen tr:last-child td,
table.imagenIzd tr:last-child td {
  max-width: 1px;
}

.single .section-gallery {
  background: rgba(83,83,153,1);
  padding: 15px 0 60px;
  z-index: 2;
}

.single .section-gallery:after {
  content: "";
  height: 3px;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  bottom: -3px;
  z-index: 1;
  box-shadow: inset 0px 4px 3px -2px rgb(0 0 0 / 6%);
}

.single .section-gallery .section_wrapper {
  max-width: 75vw !important;
  background: var(--white);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 50%);
}

/* .single .section-gallery .section_wrapper > .one:first-child {
  margin-bottom: 20px;
} */

.single .section-gallery .section_wrapper .one {
  margin: 50px 1% 30px;
}

.single #Content .section-gallery .yellowLine {
  margin-top: 40px;
}

.single .section-gallery .yellowLine:before,
.single .section-gallery .yellowLine:after {
  width: calc( 400px - 50%);
}

.slick-slider .slick-list {
  width: 90%;
  margin: 0 auto;
}

.slick-slider .slick-track {
  display: flex;
  align-items: center;
}

.slick-slider .slick-slide .foto {
  width: fit-content;
  display: block;
  margin: 0 auto;
  position: relative;
}

.slick-slider .slick-slide .foto .copy {
  color: var(--white);
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 10px;
  font-weight: 500;
  line-height: 22px;
}

.slick-dots {
  bottom: -35px;
}

.slick-dots li button {
  transition: ease-in-out .2s;
}

.slick-dots li button:hover {
  background-color: transparent;
  transform: scale(1.3);
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before {
  font-size: 15px;
  color: var(--azulFondo);
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

button.slick-arrow {
  color: var(--azulFondo);
  background: none;
  padding: 0;
  font-size: 30px;
  line-height: 1em;
  opacity: .25;
  transition: ease-in-out .2s;
  position: absolute;
  top: calc(50% - 15px);
  z-index: 10;
  margin: 0;
}

button.slick-arrow:hover {
  color: var(--azulFondo);
  background: none;
  opacity: 1;
  transform: scale(1.1);
}

button.slick-arrow.arrow-right {
  right: 0;
}

.lg-backdrop.in {
  opacity: .8;
}

.lg-outer.lg-thumb-open .lg-inner {
  height: calc( 100% - 100px );
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
  border-color: var(--amarillo);
}

.lg-progress-bar .lg-progress {
  background-color: var(--amarillo);
}

.admin-bar .lg-toolbar {
  top: 32px;
}

@media only screen and (max-width: 782px) {
  .admin-bar .lg-toolbar {
    top: 46px;
  }
}

@media only screen and (min-width: 768px) {
  .textoSobreImagen .one-second {
    position: absolute;
    top: 8%;
  }

  .textoSobreImagen .one-second .column_column {
    border-radius: 10px;
    box-shadow: 0 3px 19px rgb(0, 0, 0, .2);
    background: var(--azulFondoClaro);
    width: 100% !important;
    margin: 0;
    padding: 40px;
    text-align: justify;
  }
}

@media only screen and (max-width: 1239px) {
  .textoSobreImagen .one-second .column_column {
    font-size: 12px;
    line-height: 18px;
  }
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
  #Footer .footer_action .logos > img {
    max-height: 40px;
    margin-top: 5px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .textoSobreImagen .one-second {
    width: 58%;
  }

  .textoSobreImagen .one-second .column_column {
    padding: 30px;
  }

  .textoSobreImagen {
    padding-bottom: 130px !important;
  }
}

@media only screen and (max-width: 767px) {
  .proyecto-card {
    padding-bottom: 66.66%;
    margin-bottom: 30px !important;
  }

  #proyecto {
    padding-top: 25px !important;
  }

  #Footer .footer_action .column.one div {
    width: 100%;
  }

  #Footer .footer_action .datos-contacto {
    margin-bottom: 20px;
  }

  #Footer .footer_action .logos {
    text-align: center;
  }

  #financiacion {
    margin-top: -45px;
  }

  #financiacion .column_image {
    width: 50% !important;
    float: right;
    margin-bottom: 50px;
  }

  #financiacion .align_right {
    padding: 0;
  }

  .textoSobreImagen {
    padding-top: 0 !important;
  }

  .textoSobreImagen .wrap.one {
    width: 100vw !important;
    margin-left: calc( 50% - 50vw );
  }

  .textoSobreImagen .wrap.one .one-sixth {
    display: none;
  }

  .textoSobreImagen .one-second .column_column {
    font-size: 14px;
    line-height: 21px;
    padding-top: 40px;
    text-align: justify;
  }

  .post-item {
    padding: 20px 30px;
    margin-bottom: 40px;
  }

  .post-item .image_frame {
    margin: 0 auto;
  }

  .post-item .post-desc-wrapper {
    width: 100%;
  }

  .post-item .post-desc-wrapper .entry-title {
    text-align: center;
  }

  .post-item .post-desc-wrapper .post-excerpt {
    font-size: 12px;
    line-height: 18px;
  }

  #Subheader .title {
    font-size: 32px;
    line-height: 40px;
  }

  .single #Content .the_content img {
    max-width: 100%;
    max-height: 100%;
  }

  .single .section-gallery .section_wrapper {
    max-width: 85vw !important;
  }

  .single .section-gallery .section_wrapper .one {
    margin: 50px 0 30px;
  }

  button.slick-arrow.arrow-right {
    right: -30px;
  }

  button.slick-arrow.arrow-left {
    left: -30px;
  }

  .slick-dots li {
    position: initial;
  }

  .slick-dots > li:last-child:after {
    width: 100%;
    top: auto;
    left: 0;
    bottom: -19px;
  }
}

@media only screen and (max-width: 450px) {
  .proyecto-card {
    padding-bottom: 75%;
  }

  .proyecto-card a .text > p {
    font-size: 12px;
    line-height: 18px;
  }

  .proyecto-card a .text > h3 {
    font-size: 19px;
    line-height: 24px;
    margin-bottom: 5px;
  }

  #proyecto h2 {
    font-size: 28px;
  }

  .yellowTitle {
    font-size: 18px!important;
  }

  #financiacion .column_image {
    width: 80% !important;
    float: none;
    margin-left: 10%;
  }

  #financiacion .align_right {
    text-align: center;
    font-size: 20px;
    line-height: 26px;
  }
}
