/*  (c) 2024 LEXGEO - Diseño por Grupo Interactivo  */
#reso {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 32px;
  width: 95px;
  height: 25px;
  font-size: 0.7em;
  color: #ffffff;
  text-align: center;
  background-color: #305630;
  z-index: 2000;
  opacity: 0.8;
}
#reso:hover {
  background-color: #06A3E4;
}
#reso:after { content: "XXL"; }


/*-------------  XXL  ------------  */
@media(min-width: 1400px) {

  #gi-hero {
    height: calc(100vh - 87px);
    max-height: 44.5vw;
    position: relative;
    display: flex;
  }
  .index-cover {
    height: calc(100vh - 87px);
    max-height: 900px;
  }
  .post-list .card .card-img-top {
    max-width: 100%;
  }
}
    @media(min-height: 986px) {   /*--- limit the hero height --*/
      #reso:after { content: "XXL2"; }

      .index-cover {
        height: auto;
        background-position: top left;
      }
      /*.hero-content {
        top: 280px;
      }*/
    }


/*-------------  XL  ------------  */
@media(max-width: 1400px) {
  #reso:after { content: "XL"; }

    #mainNav .navbar-nav .nav-item .nav-link {
      font-size: 0.90em;
    }
    .hero-content {
      width: 50%;
    }
}
    @media(min-height: 886px) {   /*--- limit the hero height --*/
      #reso:after { content: "XL2"; }

      .index-cover {
        height: auto;
        background-position: top left;
      }
    }

/*-------------  LG  ------------  */
@media(max-width: 1200px) {
  #reso:after { content: "LG"; }

/*  #gi-hero {
    max-height: 720px;
  }*/

  #gi-hero .fixed-curve a, 
  #header-service .fixed-curve a {
    margin-top: 10px;
  }
  .side-blog h5 {
    font-size: 1.1em;
  }

/*  #productlist-grid .container{
    width: 90%;
    padding-top: 50px; 
  }
  #page-contents.onrecipes.with-dish #recipe-grid  {
    width: 85%;
  }
  .slider-content {
    left: 16%;
    top:38%;
  }
  .slider-content h2 {
    font-size: 3.1em;
    line-height: 1.0em;
    margin-bottom: 0.2em;
  }
  .slider-content p {
    font-size: 1.1em;
  }
  .slider-content a.btn-csj-cta {
      font-size: 1em;
      padding: 0.7em 1.8em;
      margin-top: 0.8em;
  }*/
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 0.80em;
    /*padding: 8px 0.7em 0 0.7em;*/
  }
  .bt_lang button.btn {
    font-size: 0.86em;
  }
  #mainNav .navbar-brand {
    width: 100%;
    max-width: 156px;
  }
  #mainNav .navbar-brand img {
    width: 100%;
  }
  #sideops {
    height: 40%;
    max-height: 305px;
    padding-top: 35px;
  }
  .block-is-article .bcol:first-of-type {
    padding-left: 4%;
  }
  #page-mainpic .pagetitle {
      max-width: 960px;
  }
  #page-mainpic .pagetitle h1 {
    font-size: 1.8em;
    width: 44%;
  }
  .block-content-text .col-12 {
    padding-right: 20px;
  }
  .sidemenu ul {
    width: 85%;
  }
  #news-header .in-wrapper {
    top: 65%;
  }
  .block-bienes .card .bienes-txt {
    display: none;
  }
  .block-bienes .card h4 {
    margin-bottom: 0;
  }
}
    @media(min-height: 796px) {   /*--- limit the hero height --*/
/*      #reso:after { content: "LG2"; }

      .index-cover {
        position: relative;
        height: auto;
        background-position: top left;
      }*/

    }

@media(max-width: 1081px) {
  #reso:after { content: "<=1080"; }

  #mainNav .navbar-nav {
    padding-right: 0;
  }
  .nav-iconsZone {
    padding: 5px 24px;
  }

}
/*-------------  MD  ------------  */
@media(max-width: 991.9px) {
  #reso:after { content: "MD"; }

  #header-service {
    margin-top: 70px;
  }
  #header-service .fixed-curve a h3 {
    font-size: 1.0em;
  }
  #header-service .fixed-curve {
    width: 40%;
    min-height: 54px;
  }
  #gi-hero .fixed-curve a, 
  #header-service .fixed-curve a {
    margin-top: 15px;
  }
  #block-cita .container {
    padding-left: 10vw;
    padding-right: 10vw;
  }
  #block-index-services .container .card-inner {
    height: 25vw;
  }
  #block-index-services .container .card-inner .box .icon {
    width: 5rem;
    height: 5rem;
  }

#gi-hero {
  /*height: 100vh;
  max-height: 700px;*/
  max-height: calc(100vw * 0.56);
  margin-top: 70px;
}
.index-cover {
  width: 100%;
  height: 100%;
  background-image: url('../img/coverpic-m.jpg');
}
  .hero-content {
    width: 60%;
  }
  .hero-content h2 {
    font-size: 1.8em;
  }

.block-home-services .card-pic::after {
  height: 14px;
}
.block-home-services .card h4 {
  line-height: 1.0em;
  margin-top: 0.3em;
}
.block-home-services .card h4 a {
  font-size: 0.76em;
  line-height: 0.9em;
}
#block-excellence {
  margin-top: 2em;
  padding-bottom: 6px;
}
#block-home-quote .quote-content h4 span {
  font-size: 1.2em;
}
.post-list {
  padding-bottom: 20px;
}
.ft-curve {
  height: 40px;
}
#block-post-list .learn-more.w14 {
  margin-top: 1em;
}

  .ic_search, .ic_ws {
    fill: var(--lexgeo-gold);
  }
  #mainNav {
    height: 70px;
    background-color: #ffffff;
    padding: 0;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,0.12);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,0.12);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.12);
  }
  #mainNav .container {
    min-width: 100%;
    padding: 0;
  }
  #mainNav .navbar-brand {
    width: 146px;
    padding-top: 4px;
    margin-left: 16px;
  }
  #mainNav .navbar-toggler,
  #mainNav .navbar-toggler:hover,
  #mainNav .navbar-toggler:focus,
  #mainNav .navbar-toggler:active {
    margin-right: 36px;
    border:none;
    outline: none;
  }
  /* Show right carte when have dropdown menu */
  .dropdown-toggle::after {
    display: inline-block;
  }
  .hamb .lineh{
    width: 30px;
    height: 4px;
    background-color: var(--lexgeo-red);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border: 0 solid #000000;
    display: block;
    margin: 7px auto;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  .hamb .lineh:nth-child(2) {
    background-color: var(--lexgeo-red);
  }
  .hamb .lineh:nth-child(3) {
    background-color: var(--lexgeo-red);
  }

  .hamb:hover{
    cursor: pointer;
  }
  .hamb.is-active{
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    transition-delay: 0.5s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .hamb.is-active .lineh{
    background-color: var(--lexgeo-grey);
    height: 3px;
  }
  .hamb.is-active .lineh:nth-child(2){
    width: 0;
  }
  .hamb.is-active .lineh:nth-child(1),
  .hamb.is-active .lineh:nth-child(3){
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  .hamb.is-active .lineh:nth-child(1){
    -webkit-transform: translateY(13px);
    -ms-transform: translateY(13px);
    -o-transform: translateY(13px);
    transform: translateY(13px);
  }
  .hamb.is-active .lineh:nth-child(3){
    -webkit-transform: translateY(-7px) rotate(90deg);
    -ms-transform: translateY(-7px) rotate(90deg);
    -o-transform: translateY(-7px) rotate(90deg);
    transform: translateY(-7px) rotate(90deg);
  }
  .navbar-collapse {
    position: absolute;
    top: 70px;
    width: 400px;
    right: -400px;
    max-width: 450px;
    max-width: 50%;
    height: auto;
    max-height: calc(100vh - 90px);
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 20px;
    background: var(--lexgeo-red);
    -moz-border-radius: 0 0 0 28px;
    -webkit-border-radius: 0 0 0 28px;
    border-radius: 0 0 0 28px;
    border: 0 solid #000000;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .navbar-collapse.show {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .navbar-collapse ul.navbar-nav {
    padding: 30px 30px 60px 6px;
    height: 89%;
    overflow: hidden;
  }
    #mainNav .navbar-nav {
      padding-top: 24px;
  
    }
  #mainNav .navbar-nav .nav-item  {
    line-height: 1.1em;
    padding-left: 1.5em;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.4em 0 0.5em 0;
    color: #ffffff;
    text-align: left;
    /*border-bottom: 1px #52BA1F solid;*/
  }
  #mainNav .navbar-nav .nav-item:last-of-type .nav-link {
     border-bottom: none;
  }
  #mainNav .navbar-nav .nav-item:last-of-type .nav-link:hover {
     border-bottom: none;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active, 
  #mainNav .navbar-nav .nav-item .nav-link:hover,
  #mainNav .navbar-nav .nav-item .nav-link:focus {
    color: var(--lexgeo-gold);
    border:none;
    outline: none;
    border-bottom: 1px #ffffff solid;
  }
  .nav-iconsZone {
    display: flex;
    background-color: transparent;
    /*padding: 0px 32px;*/
    /*padding: 0;*/
    height: auto;
  }
  .bt-cotiza {
    display: inline-block;
    align-self: center;
    width: 100%;
    height: 36px;
    /*margin-left: 1.2em;
    margin-right: 2.2em;*/
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: none;
    transition: all .2s;
  }
  .btn-bounce-right:before {
    display: none;
  }
/*  .dropdown-menu .portfolio-pic,
  .dropdown-menu .portfolio-pic img,
  .ic_close_portfolio {
    display: none;
  }
  #products-menu.dropdown-menu .row {
    align-items: start !important;
  }
    */
  #mainNav .dropdown-menu {
    border-radius: 12px;
  }
  #mainNav .dropdown-menu.submen-anim {
  -webkit-animation: none;
          animation: none;
  }
  #mainNav .dropdown-item {
    font-size: 1em;
    padding: 0.5em 1em;
    margin-bottom: 3px;
    margin-top: 4px;
	color: var(--white);
  }
  #mainNav a.dropdown-item {
    max-width: 90%;
	height: auto; 
	text-wrap: auto;
  }
  #mainNav .dropdown-menu {
    background-color: transparent;
    padding: 20px 8px;
  }
  #mainNav .dropdown-menu:before {
    display: none;
  }
  #mainNav .navbar-nav .nav-item .nav-link:before {
    display: none;
  }
/*  #mainNav .navbar-nav .nav-item.dropdown .nav-link::before {
      display: block;
      position: absolute;
      right: 32px;
      margin-top: 6px;
      content: '';
      width: 9px;
      height: 9px;
      background-color: red;
      background: url('../img/icons/caret-down.svg') top center no-repeat;
      background-size: cover;
  }*/
  #mainNav .dropdown-menu {
      padding-top: 0;
  }
	.mobile-lang ul li a {
		color: #ffffff;
	}
.post-grid {
    margin-top: 0;
    padding-top: 20px;
}
#block-news-wrap.onsingle h1 {
    font-size: 2.4em;
}
#block-excellence .excell-item {
  margin-bottom: 40px;
}
#header-plain {
  margin-top: 70px;
}
#main-page-pic {
  margin-top: 70px;
}

  .bt-search {
    position: fixed;
    top:18px;
    right:108px;
    z-index:1150;
  }
  .ic_search {
    width: 24px;
    height: 24px;
  }
  .ic_search:hover {
    /*fill: #005b9f;*/
  }
  .mobile-lang {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px #ffffff dotted;
  }
  .block-catalog {
    margin-top: 4em;
  }
  .block-catalog h3 {
    margin-bottom: 0.45em;
  }
  .block-catalog h4 {
    font-size: 1.2em;
  }
  .block-catalog .intro-txt p {
    font-size: 1.4em;
    line-height: 1.1em;
  }
  #recipe-grid .container {
    padding-top: 50px;
    padding-bottom: 70px;
  }
#recipe-grid .card-flyer {
    margin-top: 40px;
}
#recipe-grid .recipecol {
    padding-left: 12px;
    padding-right: 12px;
}
#recipe-grid .card-flyer .text-box h6 {
    font-size: 1.1em;
}
#recipe-grid .card-flyer .text-box .text-container {
    padding: 28px 15px 18px 15px;
    min-height: 126px;
}
#recipe-grid.more-recipes {
    margin-top: 2em;
}

  .btn-csj-cta.btn-onnav {
    font-size: 0.87em;
    line-height: 1.6em;
    padding: 0.68em 1.0em;
    height: 40px;
    margin-top: 24px;
    width: 70%;
    margin-left: 15%;
  }
  .btn-csj-cta.btn-onnav::before {
    border: none;
  }
  .bcol a.btn-app img {
    width: 160px;
  }
  .block-img-left h3, .block-img-right h3 {
      font-size: 2.2em;
  }
  .block-img-left p, .block-img-right p {
      width: 90%;
  }
  .block-is-article h3 {
      font-size: 1.6em;
  }
  .block-main-news .row {
    padding-left: 0;
    padding-right: 0;
  }
  .block-main-news .card {
    padding: 14px;
    max-width: 280px;
  }
  .block-main-news .card h4 {
    line-height: 0.87em;
  }
  .block-main-news .card h4 a {
    font-size: 0.78em;
  }
  .menu-col ul li.blinkit a {
    color:#ffffff !important;
  }
  #page-mainpic .pagetitle {
      max-width: 720px;
  }
  .block-intro h2[typeis="bigtitle"] {
      font-size: 1.6em;
  }
  .block-intro p {
    max-width: 70%;
  }
  .block-related .row.list-items {
      padding: 0;
  }
  #page-mainpic,
  #single-header {
    margin-top: 70px;
  }
  #page-mainpic .pic-wrapper {
    background-position: 0 70px;
  }
  #page-mainpic .pic-rcut {
    width: 130px;
    height: 130px;
  }
  .block-caract-benef {
    padding: 24px 6% 36px 6%;
  }
  #page-mainpic .pagetitle h1 {
    font-size: 1.6em;
    width: 45%;
  }
  .block-product-set {
    padding-bottom: 20px;
  }
  .block-product-set .card {
    min-height: 210px;
  }
  .block-product-set .card h3 {
    font-size: 1.0em;
  }
  .block-notific h3 {
    font-size: 1.5em;
  }
  .block-notific .row {
    width: 80%;
  }
  .block-notific img.aicon {
    width: 30px;
  }
  .block-content-text .col-12 {
    padding-right: 15px;
  }

  #news-header .in-wrapper {
    top: 150px;
    left: 0;
    -webkit-transform: translateX(0) translateY(0);
    -moz-transform: translateX(0) translateY(0);
    -ms-transform: translateX(0) translateY(0);
    -o-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  }
  #news-header .img-content {
      margin-top: 70px;
  }
  #news-header h1 {
      font-size: 1.75em;
      margin-top: 0;
      padding-left: 2%;
  }
  #news-header h3 {
      font-size: 1.0em;
      margin-top: 5em;
      margin-left: 2%;
      width: 98%;
  }
  #news-header .last-article .excerpt {
      font-size: 0.875em
  }
  .post-grid {
    margin-top: 0;
  }
  .post-content .table-responsive-sm {
    min-width: 85%;
  }
  #contactoModal h5 {
    font-size:0.9em;
  }
  #contactoModal h5 span {
    font-size:1.4em;
  }
  #avisoModal .modal-dialog {
    max-width: 80%;
    max-height: 90%;
  }
  #avisoModal h4 {
    font-size: 2.2em;
  }
  #avisoModal p {
    font-size: 0.938em;
  }

}

/*-------------  SM  ------------  */
@media(max-width: 767.9px) {
  #reso:after { content: "SM"; }

  #block-cita .container,
  #block-compromiso .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  #block-cita .col2 {
    padding-top: 0.2em;
  }
  #rotating-logo { display:none; }

  #header-service {
    height: 60.8vw;
    max-height: 60.8vw;
    overflow: visible;
  }
  .header-service-wrap {
    position: relative;
    width: 100%;
    height: 60.8vw;
  }

  #header-service .left-side {
    width: 66%;
    height: auto;
    min-height: 15%;
    top: 92%;
    background-color: var(--lexgeo-red);
    border-radius: 0 24px 0 0;
}
#header-service .left-side .title {
    padding-top:34px;
    padding-bottom:42px;
}
.header-service-wrap .left-side .title h1 {
  font-size: 1.5em;
}
#header-service .right-side {
  left: 0;
  width: 100%; 
  height: 60.8vw;
}
#header-service .right-side #anim-header-slide {
  transform: scale(1) !important; 
}

#gi-hero .fixed-curve,
#header-service .fixed-curve {
  display: none;
}
#float-button {   /* --- DISABLED --- */
  display: none;
}
#float-button .fixed-curve {
  display: block;
  align-items: center;
  position: fixed;
  right: 0;
  left: 20%;
  bottom: 24px;
  width: 60%;
  height: 48px;
  background-image: none;
  background-color: #973837EF;
  border-radius: 28px;
  z-index: 99000;
}
    #float-button .fixed-curve:hover {
      background-color: #c00f0cef;
    }
#float-button .fixed-curve a h3 {
  font-size: 1.3em;
  color: var(--white);
}
#float-button .fixed-curve a {
  width: 100%;
  margin-top: 0;
  margin-left: 0;
}
#flat-cta  {
  position: relative;
  display: block;
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-top: 64px;
  margin-bottom: 0;
}
#flat-cta .fixed-curve {
  position: relative;
  display: block;
  width: 60%;
  min-width: 262px;
  height: 48px;
  padding-left: 36px;
  padding-right: 12px;
  background-image: none;
  background-color: var(--white);
  border: 1px var(--body-text) solid;
  border-radius: 28px;
}
    #flat-cta .fixed-curve:hover {
      background-color: var(--lexgeo-red);
      border-color: var(--lexgeo-red);
    }
#flat-cta .fixed-curve a h3 {
  color: var(--body-text);
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
}
    #flat-cta .fixed-curve:hover a h3 {
      color: var(--white);
    }
#flat-cta .fixed-curve .rot-icon {
  display: inline-block;
  position: absolute;
    left: 8px;
}

.rot-icon {
  background: transparent url("../img/icons/ic_lexgeo-gold.svg") center center no-repeat;
  width: 1.8em;
  height: 1.8em;
  margin-right: 12px;
}
footer {
  position: unset;
}
.side-blog {
  margin-top: 67px;
}
#header-plain .title h1 {
  font-size: 2.0em;
}
#main-page-pic.on-article .pic-post-bigpic {
  width: 80%;
  margin-left: 10%;
}
#block-intro-about {
  margin-top: 4em;
}
#block-intro-about .button-on-text {
  text-align: center;
}
#block-index-services .container {
  max-width: 100%;
}
#block-index-services .container .card-inner .box .icon {
  width: 4rem;
  height: 4rem;
}

/*  #searchbox .overlaypic {
    display: none;
  }
*/
  #gi-hero {
      height: auto;
      max-height: 625px;
      margin-top: 70px;
  }
  .hero-content {
    width: 80%;
  }
  .hero-content h2 {
    font-size: 1.8em;
  }
  .index-cover {
    width: 100%;
    height: auto;
    background-image: none;
  }
  .index-cover .img-pos img {
    opacity: 1;
  }
  #block-intro-about .block-intro-img {
    margin-bottom:1em;
  }
  .block-home-services {
    margin-top: 3em;
    padding-bottom: 10px;
  }
  .block-home-services .card {
    padding: 0;
    margin: 0 12px 3.0em 12px;
    max-width: 42%;
  }
  #block-lista-sectores {
    background: var(--lexgeo-gold);
  }

  .ft-brand img {
    margin-top: 2em;
  }
  footer .ft-col h5.empty {
    margin-bottom: 0;
  }
  #block-excellence .behind-pic-deco {
    bottom: -10px;
    left: -12px;
  }
  .navbar-collapse {
    max-width: 70%;
  }
  .navbar-collapse ul.navbar-nav {
    padding-right: 42px;
  }
  #mainNav .navbar-brand {
    margin-left: 24px;
  }
  #mainNav .navbar-toggler,
  #mainNav .navbar-toggler:hover,
  #mainNav .navbar-toggler:focus,
  #mainNav .navbar-toggler:active {
    margin-right: 20px;
  }

  .bt-search {
    right:105px;
  }
  .picfocus-in {
    -webkit-animation: none;
            animation: none;
  }
  #searchbox form {
    top: 48%;
    left: 12%;
    width: 70%
  }
  #searchbox.opensearch form {
    opacity: 1;
    width: 70%;
  }
  #searchbox form input[type="text"] {
    width: 85%;
    max-width: 100%;
  }
  #searchbox img {
    width: 3.3em;
  }

/*  .social-links {
    margin-top: 78px;
  }
  .social-links ul li a {
    background-color: #B3C2BB;
    width: 36px;
    height: 36px;
    transition: transform 0.3s linear;
    -webkit-filter: none;
    filter: none;
  }
*/

.container.block-catalog {
    max-width: 90%;
}
  .block-catalog h4 {
    min-height: 76px;
  }
  .block-catalog h4 a {
    padding: 12px 10px;
  }

  .productshot img {
    max-width: 230px;
  }
  #page-contents.onproducts .block-intro p {
    max-width: 96%;
  }
  #page-contents.onproducts .block-intro .product-add img {
    max-width: 100%;
    height: auto;
  }
  .post-grid {
    margin-top: 1em;
    padding: 12px 12px 30px 12px;
  }
  #block-news-wrap.onsingle h1,
  #block-news-wrap .intro-txt h1 {
    margin-top: 0;
  }
  #block-team {
    padding: 0 18px 3em 18px;
  }
  #block-team .container {
    max-width: 98%;
  }
  #block-team .container .row.team-listing {
    padding-left: 0;
    padding-right: 0;
  }
  #block-team .item-wrapper {
    padding: 8px;
    text-align: center;
  }
  #block-team .item-wrapper img {
    width: 82%;
  }


  .pagination {
    margin-top: 1em;
    margin-bottom: 0em;
  }
  .page-link {
    font-size: 0.9em;
    min-width: 36px;
    min-height: 38px;
  }
  .post-content .table-responsive-sm {
    min-width: 98vw;
  }
  .gi-form-field:placeholder-shown ~ .gi-form-label {
    font-size: 0.96em;
  }
  #avisoModal {
    z-index: 1170;
  }
  #avisoModal h4 {
    text-align: center;
    font-size: 2.1em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
  }
  #avisoModal p {
    text-align: center;
    font-size: 1em;
  }
  #avisoModal .modal-body {
    position:relative;
    top: 0;
  }
}

/*-------------  XS  ------------  */
@media(max-width: 575px) {
  #reso:after { content: "XS"; }

  #gi-hero {
    overflow: visible;
  }
  .bg-slideshow-wrapper {
    width: 100%;
    height: 55.6vw;  /* exact ratio =  44.5vw  */
    overflow: hidden;
  }
  .hero-content {
    text-align: center;
    top: 100%;
    padding: 0.3em 2em 0.7em 9%;
    background-color: var(--lexgeo-red);
  }
  .hero-content h2 {
    margin-top: 0;
    font-size: 1.6em;
    text-align: center;
  }
  .hero-content h3 {
    font-size: 1.0em;
  }
  .header-service-wrap .left-side .title {
    left: 10%;
  }
  .header-service-wrap .left-side .title h1 {
    font-size: 1.2em;
  }
  #block-intro-about .block-intro-img {
    text-align: center;
  }
  #block-intro-about .block-intro-img h2 {
    margin-bottom: 1.2em;
    padding-left: 0;
    text-align: center;
  }
  #block-intro-about .col2 {
    padding-right: 32px;
    padding-left: 32px;
  }
  #block-intro-about .button-on-text {
    text-align: center;
    margin-top: 2.0em;
  }
  #block-lista-consultorias h3 {
    margin-bottom: 1.3em;
  }
  #block-lista-consultorias p:first-of-type {
    margin-bottom: 2.6em;
  }
  #block-lista-consultorias .container-fluid .col1 {
    padding-left: 5vw;
    margin-bottom: 4em;
  }
  #block-lista-consultorias .col2 img {
    width: 100%;
    border-radius: 0;
  }
  .navbar-collapse {
    max-width: 82%;
  }
  #mainNav .dropdown-menu {
    /* width: calc(98% - 24px); */
	width: 95%;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.12em 0 0.2em 0;
    border-bottom: 1px var(--lexgeo-red) solid;
  }
  .navbar-collapse ul.navbar-nav {
    padding: 20px 30px 20px 6px;
  }
  .nav-iconsZone {
    padding: 5px 30px;
    height: auto;
  }
  .mobile-lang {
    margin-top: 10px;
    padding-top: 10px;
  }
  .mobile-lang ul li {
    padding: 0.5em 0.5em 0.3em 3em;
  }
  #block-cita h3,
  #block-compromiso h3 {
    font-size: 2.2em;
    margin-bottom: 0.4em;
    text-align: center;
  }
  #block-cita .col2 {
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 0.5em;
    border-left: none;
    text-align: center;
  }
  #block-cita .col2 .button-on-text {
    text-align: center;
    margin-top: 2.6em;
  }
  #block-compromiso .col2 {
    padding-right: 32px;
    padding-left: 32px;
    padding-top: 1.4em;
    border-left: none;
  }
  #block-alcance-servicios .col2,
  #block-lista-sectores .col2 {
    padding-right: 32px;
    padding-left: 32px;
  }
  .ft-brand img {
    margin-top: 0;
  }
  #header-plain .title h1 {
    font-size: 1.9em;
  }
  #block-main-text,
  #block-sector-text {
    padding-left: 18px;
    padding-right: 18px;
  }
  #float-button .fixed-curve a h3 {
    font-size: 1.05em;
  }

  footer .ft-col {
    display: none;
  }
  footer a.social-icon svg {
    width: 24px;
  }
  #block-excellence .col-img .col-img-wrap {
    text-align: center;
    margin-bottom: 2.5em;
  }
  #block-excellence .col-img .col-img-wrap img {
    width: 90%;
    max-width: 300px;
  }
  #block-excellence .behind-pic-deco {
    bottom: -18px;
    left: -24px;
    width: 52%;
  }
  .post-list .card .card-img-top {
    max-width: 300px;
  }
  #block-news-wrap.on-article {
    padding-left: 4%;
    padding-right: 4%;
  }
  #block-news-wrap .post-detail h1 {
    font-size: 1.75em;
  }
  #blockServices {
    margin-top: 5em;
  }
  #block-index-services .container .card {
    width: 34vw;
  }
  #block-index-services .container .card-inner {
    background: var(--white);
    border-radius: 1.0rem;
    height: 34vw;
  }
  #block-index-services .container .card-inner .box .icon {
    width: 4rem;
    height: 4rem;
  }
  #block-index-services .container .card .content {
    padding: 0.5rem 0.05rem 0 0.05rem;
  }
  #block-index-services .container .card .content h3 {
    font-size: clamp(1.0rem, 1.3909rem + 0.4364vw, 1.2rem);
    line-height: 1.15em;
    text-align: center;
  }
  #searchbox form {
    top: 30%;
    left: 6%;
  }
  #searchbox form input[type="text"] {
    font-size: 1.6em;
    padding-bottom: 0.6em;
  }

  #searchbox.opensearch form {
    opacity: 1;
    width: 80%;
  }
  #searchbox form input[type="text"] {
    width: 80%;
    max-width: 100%;
  }
  #searchbox.opensearch .ic_close {
    margin-left: 15px;
  }
  #searchbox img {
    width: 3.0em;
  }
  .block-horizoffset-img .paral-content h4 {
      font-size: 2.4em;
  }
.post-grid {
    margin-top: 1.5em;
  }
.post-grid .card {
    width: 100%;
    margin: 1.0em auto 1.0em auto;
}
#block-news-wrap.onsingle {
    background-image: none;
}
  .page-link {
    font-size: 0.8em;
    min-width: 34px;
    min-height: 34px;
  }
  #block-de-interes .col-img .col-img-wrap {
    text-align: center;
  }
  #block-de-interes .col-img img {
    max-width: 65vw;
    border-radius: 16px;
    transition: none;
    margin-bottom:30px;
  }
      #block-de-interes .col-img:hover img {
        transform: none;
      }
      #block-de-interes .col-text h5 {
        font-size: 1.3rem;
        margin-bottom: 0.7em;
      }
      #block-de-interes .col-text {
        padding: 0 15vw;
      }
      .news-frame {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        padding-top: 10px;
      }
      .more-link .button-on-text {
        text-align: center;
      }
      .more-link .button-on-text .flatbutton {
        font-size: 0.88em;
        padding: 4px 26px
      }
      #block-team .item-wrapper h4 {
        font-size: 1.1em;
      }
      #block-team .item-wrapper h5 {
        font-size: 1.0em;
      }
}

/*-------------  XXS  ------------  */
@media(max-width: 470px) {
  #reso:after { content: "XXS"; }

  /* --- Adjust for long menus --- */
    #mainNav .navbar-nav .nav-item {
      line-height: 1.0em;
    }
    #mainNav .navbar-nav .nav-item .nav-link {
      padding: 0.2em 0 0.2em 0;
      border-bottom: 1px var(--lexgeo-red) solid;
    }

  #float-button .fixed-curve {
    left: 17%;
    width: 66%;
  }
  #float-button .fixed-curve a h3 {
    font-size: 1.0em;
  }
  .navbar-collapse {
    max-width: 86%;
  }
  #mainNav .navbar-nav .nav-item {
    padding-left: 1em;
  }
  #mainNav .navbar-brand img {
    margin-left: 0;
  }
  .bt-search {
    right: 77px;
  }
  .nav-iconsZone {
    padding: 5px 30px 5px 15px;
  }
  .hero-content h2 {
    font-size: 1.35em;
  }
  #header-service .left-side {
    width: 90%;
    min-height: 60px;
  }
  .header-service-wrap .left-side .title {
    width: 86%;
    left: 6%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #block-cita {
    margin-bottom: 8em;
  }
  #header-service.big-header {
    min-height: 320px;
  }
  #block-main-text, #block-sector-text {
    margin-top: 4em;
  }
  #block-post-list .post-list .post-col {
    width: 100%;
  }
  footer .container {
    padding-top: 55px;
    margin-bottom: 40px;
  }
  footer a.social-icon svg {
    width: 26px;
  }
  .d-xxs { display: block; }
  #productlist-grid .itembox { width: 100%; }
  #productlist-grid .card-flyer .image-box {
    max-width: 220px;
  }

  #searchbox form input[type="text"] {
    font-size: 1.3em;
  }
  #searchbox img {
    width: 2.5em;
  }
  footer a.social-icon {
    margin-left: 5%;
    margin-right: 5%;
  }
  footer a.social-icon svg {
    width: 20px;
  }
  footer .legal-txt p {
    line-height: 1.4em;
  }

  .post-grid {
    margin-top: 2em;
  }
  .page-link {
    display: none;
  }
  .page-count,
  .page-item:first-child .page-link,
  .page-item:last-child .page-link {
    display: block;
  }
}

/*-----------  Range 400px -361px  ----------  */
@media(max-width: 401px) {
  #reso:after { content: "400-360"; }

  .navbar-collapse {
    max-width: 94%;
  }
  .nav-iconsZone {
    padding: 5px 38px 5px 18px;
  }
  .hero-content {
    top: 68%;
  }
  .hero-content h2 {
    font-size: 1.2em;
  }
}

/*-----------  Below 375px  ----------  */
@media(max-width: 375px) {
  #reso:after { content: "XXXS"; }

  .navbar-collapse {
    max-width: 98%;
  }
.nav-iconsZone {
    padding: 5px 60px 5px 18px;
}

  footer .legal-txt p {
    display: none;
  }
  footer .social-row {
      margin-bottom: 16px;
  }
  .block-related h3 {
    font-size: 1.3em;
  }
  .gi-form-field:placeholder-shown ~ .gi-form-label {
    font-size: 0.8em;
  }
}
/*-----------  Fix for iPhone 13 Lexgeo ----------  */
@media only screen 
    and (width: 390px) 
    and (height: 659px) 
    and (-webkit-device-pixel-ratio: 3) {
	.hero-content {
      top: 102%;
    }
}
/*-----------  Fix for iPhone 12 Lexgeo ----------  */
@media only screen 
    and (max-width: 390px) 
    and (max-height: 663px) 
    and (-webkit-device-pixel-ratio: 3) {
	.hero-content {
      top: 102%;
    }
}
/*-----------  Fix for iPhone 11 Pro (NG) ----------  */
@media only screen 
    and (max-width: 375px) 
    and (max-height: 640px) 
    and (-webkit-device-pixel-ratio: 3) {
	.hero-content {
      top: 96%;
    }
}







/*-----------  Menu height fix on LG  ----------  */
@media screen and (min-width: 992px) and (max-width: 1250px) {
  .brand-corner {
      left: 4.7%;
      width: 19.2%;
  }

}

