/*
==================================================================
Theme Name: GIE
Version: 1.0
Author: Neobrand Estrategia
Author URI: https://neobrand.com
==================================================================
*/


*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  
}

body {
  width: 100%;
  float:left;
  color: #000000;
  background-color: #fff;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  position: relative !important;
}

p {
  color: #000000;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 0.8em;
  font-weight: normal;
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;
}

a {
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a:hover, .current-menu-item a{
  color: #cc1517;
}

h1, h2, h3, h4, h5{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

ul, ol{
  padding: 0;
  margin: 0;
}

li{
  list-style: none;
}

ul.owl-carousel .owl-stage{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: start;
}

.alignleft{
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.alignright{
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.aligncenter{
  float: none;
  margin: 20px auto;
  display: block;
}

img, iframe, object, embed{
  max-width: 100%;
  height: auto;
}

input:not([type="checkbox"]), textarea, select, option {
  background-color: #d9dadb;
  border: medium none;
  color: #000000;
  float: left;
  font-size: 17px;
  margin-bottom: 1px;
  max-width: 100%;
  padding: 10px 12px;
  width: 100%;
}

input[type="submit"]{
  width: auto;
}

body span.wpcf7-list-item {
  margin-left: 0;
}
body span.wpcf7-list-item a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
body span.wpcf7-list-item label {
  cursor: pointer;
}

#all{
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 120px;
}

.centrar{
  max-width: 1500px;
  padding: 0 50px;
  width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}

.centrar .content{
  float: left;
  width: 100%;
}

header {
  display: flex;
  height: 120px;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-top: 5px solid #cc1517;
  position: fixed;
  background-color: #fff;
  z-index: 9999;
  top: 0;
  left: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header #menu{
  display: none;
}

header.fixed {
  height: 80px;
}

header .centrar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

header #logo img {
  width: 120px;
  transition: all 0.2s ease;
  margin-top: -6px;
}

header.fixed #logo img{
  width: 80px;
}

header nav {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0;
  height: 100%;
  transition: all 0.2s ease;
}

header.fixed nav{
  gap: 5px;
  padding: 12px 0;
}

header .menu-principal-container{
  display: flex;
  width: 100%;
  align-content: center;
  justify-content: end;
  gap: 10px;
}

header #menu-principal{
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 20px;
}

header .menu-secundario-container{
  display: flex;
  width: 100%;
  align-content: center;
  justify-content: end;
  gap: 10px;
}

.menu{
  margin: 0;
  padding: 0;
}

.menu li{
  list-style: none;
  display: inline-block;
}

.menu li a{
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
}

header.fixed .menu-principal-container li a {
  font-size: 16px;
}

.menu li a:hover,
.menu li.current-menu-item a{
  color: #cc1517;
}

.menu-principal-container select {
  background-color: #fff;
  border: 1px solid #ccc;
  text-align: center;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance:  none;
  display: none;
}

.menu-principal-container select:focus {
  outline: none;
  border-color: #cc1517;
}

.menu-principal-container .menu-select-wrapper {
  width: 100%;
  min-width: 160px;
  float: left;
  position: relative;
  display: none;
}

.menu-principal-container .menu-select-wrapper .caret {
  font-size: 8px;
  color: #ccc;
  transform: translateY(-50%);
  position: absolute;
  right: 10px;
  top: 50%;
}

header .menu-secundario-container .menu{
  display: flex;
  gap: 15px;
}

header .menu-secundario-container .menu li a{
  color: #000000;
  font-size: 16px;
}

header.fixed .menu-secundario-container .menu li a{
  font-size: 14px;
}

header .menu-secundario-container .menu li a:hover{
  color: #cc1517;
}

header .menu-secundario-container .menu li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
}

header .menu-secundario-container .menu li.telefono a::before {
  content: '\f095';
}

header .menu-secundario-container .menu li.contacta a::before {
  content: '\f0e0';
}

header .menu-secundario-container .menu li.descarga a::before {
  content: '\f56d';
}

header .menu-secundario-container .menu li.facebook a::before {
  content: '\f082';
}


#banner{
  float: left;
  width: 100%;
  overflow: hidden;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #cc1517;
  background-color: #D5D6D4;
  margin-bottom: 50px;
}

#banner img{
  float: left;
  width: 100%;
}

#slider{
  float: left;
  width: 100%;
  border-bottom: 3px solid #cc1517;
  background-color: #D5D6D4;
  max-height: 450px;
  overflow: hidden;
}

#slider span > span {
  bottom: 0;
  left: 50px;
  margin: 0;
  padding: 30px 25px 50px;
  position: absolute;
  width: 33%;
}

#slider span h1 {
  color: #fff;
  float: left;
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  width: 100%;
  margin-top: 0;
}

#slider span p {
  color: #fff;
  float: left;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 0;
  width: 100%;
}

#slider a {
  width: 100%;
  height: 450px;
  float: left;
}

#slider .centrar {
  height: 450px;
}

#slider .bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

#slider .owl-controls {
  margin: 0 auto;
  max-width: 1400px;
  position: relative;
  top: auto;
  width: 100%; 
}

#slider .owl-dots {
  bottom: 15px;
  left: 25px;
  position: absolute;
  z-index: 999;
}

#slider .owl-dot  {
  float: left;
  margin-right: 10px;
}

#slider .owl-dot > span {
  background-color: #cc1517;
  border: 1px solid #fff;
  float: left;
  height: 20px;
  width: 20px;
}

#slider .owl-dot.active > span {
  background-color: #fff;
  border: 1px solid #cc1517;
}

#listaProyectos .owl-dots {
  width: 100%;
  text-align: center;
  float: left;
}

#listaProyectos .owl-dot  {
  display: inline-block;
  margin-right: 10px;
}

#listaProyectos .owl-dot > span {
  background-color: #cc1517;
  border: 1px solid #fff;
  display: inline-block;
  height: 20px;
  width: 20px;
}

#listaProyectos .owl-dot.active > span {
  background-color: #fff;
  border: 1px solid #cc1517;
}

span.seccion {
  background: transparent url("images/bgTitulo.png") repeat-x scroll center center;
  float: left;
  margin-bottom: 50px;
  margin-top: 50px;
  text-align: center;
  width: 100%;
}

span.seccion h4 {
  background-color: #fff;
  color: #000000;
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  margin: 1px 0 0;
  padding: 0 25px;
  width: auto;
}

span.bgVerde {
  background-color: rgb(204 21 23 / 80%);
}

span.bgBlanco {
  background: transparent url("images/bgBlancoTransparente.png") no-repeat scroll center bottom;
}

/*Lista de Items*/

#listaProyectos.portada {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.owl-controls .owl-nav div {
  height: 85px;
  position: absolute;
  top: 35%;
  width: 18px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.owl-controls .owl-nav div.owl-prev{
  background: url('images/flechaLeft.png') no-repeat scroll left center transparent;
  left: -40px;
}

.owl-controls .owl-nav div.owl-next{
  background: url('images/flechaRight.png') no-repeat scroll right center transparent;
  right: -40px;
}

.owl-controls .owl-nav div.owl-prev:hover{
  background: url('images/flechaLeft.png') no-repeat scroll right center transparent;
  left: -40px;
}

.owl-controls .owl-nav div.owl-next:hover{
  background: url('images/flechaRight.png') no-repeat scroll left center transparent;
  right: -40px;
}

/*Clientes*/

#clientes {
  background-color: #ccc;
  float: left;
  overflow: hidden;
  width: 100%;
  margin-bottom: 50px;
  padding: 25px 0;
}

#clientes ul.owl-carousel .owl-stage{
  align-items: center;
}

#clientes li {
  text-align: center;º
  float: left;
}
#clientes .owl-controls .owl-nav div.owl-prev{
  margin-top: -20px;
  background: url('images/flechaLeftBlanca.png') no-repeat scroll left center transparent;
  left: -40px;
}

#clientes .owl-controls .owl-nav div.owl-next{
  margin-top: -20px;
  background: url('images/flechaRightBlanca.png') no-repeat scroll right center transparent;
  right: -40px;
}

#clientes .owl-controls .owl-nav div.owl-prev:hover{
  background: url('images/flechaLeftBlanca.png') no-repeat scroll right center transparent;
  left: -40px;
}

#clientes .owl-controls .owl-nav div.owl-next:hover{
  background: url('images/flechaRightBlanca.png') no-repeat scroll left center transparent;
  right: -40px;
}

.listaItems a span.bgVerde {
  height: 400px;
  left: 0;
  position: absolute;
  bottom: -400px;
  width: 100%;
  z-index: 9;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.listaItems a:hover span.bgVerde {
  bottom: -220px;
}

.listaItems.portada li {
  float: left;
  width: 100%;
}

#listaPosts{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#listaPosts li{
  display: flex;
  align-items: center;
  gap: 20px;
}

.listaItems li img.attachment-thumbnail{
  float: left;
  width: 100%;
  border-bottom: 3px solid #d9dadb;
  transition: all 0.2s ease;
}

.listaItems li a:hover img.attachment-thumbnail{
  border-color: #cc1517;
}

.listaItems li h3 {
  float: left;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
  height: fit-content;
  z-index: 99;
}

#listaPosts.listaItems li h3 {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
}

.listaItems li p {
  float: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  width: 100%;
  line-height: 22px;
  padding: 0;
  position: relative;
  z-index: 99;
}

#listaPosts.listaItems li p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  text-align: left;
}

.listaItems li p strong{
  color: #a6a7a8;
  font-weight: 400;
}

.listaItems li a{
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  padding-bottom: 25px;
  position: relative;
  overflow: hidden;
}

#listaPosts.listaItems li a{
  padding-bottom: 10px;
}

#listaProyectos.listaItems li a{
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
}

#listaProyectos.listaItems li a:hover{
  border-color: #cc1517;
}

#listaPosts.listaItems li a:hover p,
#listaPosts.listaItems li a:hover h3,
#listaProyectos.listaItems li a:hover p,
#listaProyectos.listaItems li a:hover h3{
  color: #cc1517;
}

#listaServicios{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px 0;
}

#listaServicios.listaItems a{
  padding-bottom: 0;
}

#listaServicios.listaItems a .bgBlanco {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  height: 100%;
  left: 0;
  padding: 0 20px;
  background: rgba(255,255,255,0.9);
  position: absolute;
  width: 100%;
  z-index: 999;
  transition: all 0.2s ease;

}

#listaServicios.listaItems a:hover .bgBlanco {
  top: -100%;
}

#listaServicios.listaItems a .bgVerde {
  color: #fff;
  font-size: 15px;
  padding-top: 22px;
  text-align: center;
  z-index: 999;
}

#listaServicios.listaItems a:hover .bgVerde {
  bottom: -342px;
}

#listaServicios.listaItems a h3 {
  color: #cc1517;
}

.interior{
  width: 66%;
  float: right;
}

.contenido.interior.left{
  float: left;
}

#listaPosts{
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 100px;
}

#listaPosts li{
  align-items: start;
}

#listaPosts li a {
  justify-content: start;
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contProyecto{
  float: left;
  width: 60%;
}

#ficha {
  background-color: #fdfdfd;
  border-top: 3px solid #cc1517;
  float: right;
  margin: 0;
  padding: 20px;
  width: 37%;
}

#ficha li {
  list-style: outside none none;
}

#ficha h5 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
}

#ficha p {
  margin-bottom: 20px;
}

.listaItems.interior{
  width: 66%;
  float: right;
}

#listaProyectos{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#listaProyectos li a{
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  padding: 0;
}

.paginacion{
  width: 66%;
  text-align: center;
  float: right;
}

.paginacion a,
.paginacion span{
  width: 30px;
  height: 40px;
  align-items: center;
  border: 2px solid #000000;
  font-size: 18px;
  justify-content: center;
  display: inline-flex;
}
.paginacion a:hover,
.paginacion span{
  border-color: #cc1517;
  color: #cc1517;
}

/*Galería del proyecto*/

#galeriaProyecto{
  float: left;
  width: 100%;
}

#galeriaProyecto ul {
  float: left;
  width: 100%;
  position: relative;
  padding: 0;
}

#galeriaProyecto li {
  display: inline-block;
  float: left;
  list-style: outside none none;
}

#galeriaProyecto .owl-controls {
  top: 20px;
}

#galeriaProyecto .owl-controls .owl-nav div.owl-next{
  right: -35px;
}

.owl-controls .owl-nav div.owl-prev {
  left: -35px;
}

/*Sidebar*/

.sidebar {
  float: left;
  width: 30%;
}

.sidebar li{
  width: 100%;
  float: left;
}

.sidebar li a {
  border-top: 1px solid #000000;
  color: #000000;
  float: left;
  font-size: 18px;
  padding: 15px 0;
  width: 100%;
}

.sidebar li a.active{
  color: #cc1517;
}

.sidebar .menu li:last-child a{
  border-bottom: 1px solid #000000;
}

/*Div flotante*/

.flotanteActiva {
  opacity: 0.1;
}

#contFlotante {
  background-color: rgba(000, 000, 000, 0.6);
  display: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999999;
}

#divFlotante{
  background-color: #fff;
  padding: 20px;
  position: absolute;
  width: 500px;
  z-index: 9999;
}

#divFlotante input:not([type="checkbox"]), #divFlotante textarea{
  width: 100%;
  float: left;
  max-width: 100%;
  margin-bottom: 5px;
}

#divFlotante input#enviar {
  margin-bottom: 0;
  background-color: #000000;
  color: #fff;
  float: right;
  padding: 10px 20px;
  width: auto;
}

#divFlotante input#enviar:not(:disabled):hover{
  cursor: pointer;
  background-color: #cc1517;
}

#divFlotante h3 {
  color: #cc1517;
  float: left;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  width: 100%;
}

#divFlotante h4 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
}

#divFlotante p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

#divFlotante #cerrarForm {
  background: transparent url("images/icoCerrar.png") no-repeat scroll center center;
  cursor: pointer;
  float: right;
  height: 30px;
  margin-top: -20px;
  overflow: hidden;
  text-indent: -300em;
  width: 30px;
}

#divFlotante #cerrarForm:hover{
  color: #FF0010;
  cursor: pointer;
}

.wpcf7-form .wpcf7-not-valid {
    border-left: 3px solid #ed0200;
}

.wpcf7-form .wpcf7-not-valid-tip, div.wpcf7-validation-errors {
    display: none !important;
}

.rs{
  float: left;
  width: 100%;
  margin-top: 25px;
  float: left;
  text-align: right;
}

.rs li a {
  border: medium none;
  margin-right: 0;
  padding: 0;
  font-size: 18px;
  line-height: 30px;
}

.rs li a:hover {
  color: #cc1517;
}

/*Contenido*/

.contenido{
  font-size: 16px;
  margin-bottom: 25px;
}

.contenido p {
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 0.8em;
}

.contenido ul, .contenido ol {
  margin-bottom: 1.2em;
  padding-left: 15px;
}

.contenido li{
  line-height: 28px;
  list-style: disc;
  list-style-position: inside;
}

.contenido h1 {
  color: #cc1517;
  font-weight: 500;
  text-align: center;
}

.contenido h1.tituloSingle {
  color: #cc1517;
  font-weight: 500;
  text-align: left;
  margin-top: 0;
}

.contenido h3 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}

.contenido .left{
  float: left;
  width: 49%;
}

.contenido .right{
  float: right;
  width: 49%;
}

.contenido hr {
  border-color: #000000 -moz-use-text-color -moz-use-text-color;
  border-style: dotted none none;
  border-width: 1px medium medium;
  float: left;
  margin-bottom: 50px;
  margin-top: 25px;
  width: 100%;
}

.contenido .mapa{
  width: 100%;
  height: 400px;
  border: 3px solid #cc1517;
  pointer-events: none;
}

/*Footer*/

#claim {
  width: 100%;
  margin-top: 50px;
  padding: 100px 20px;
  background-color: #cc1517;
  border-top: 3px solid white;
  text-align: center;
  float: left;
  position: relative;
}

#claim::after {
  content: '';
  width: 100%;
  height: 100%;
  background-image: url('images/GIE-main-bg.jpg');
  filter: invert(100%) grayscale(100%);
  mix-blend-mode: multiply;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}

#claim p {
  width: 100%;
  margin: 0;
  font-size: 32px;
  line-height: 28px;
  color: #fff;
  float: left;
  position: relative;
  z-index: 3;
}

#kit-digital{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 25px;
}


#kit-digital img{
  width: 300px;
}

footer{
  width: 100%;
  float: left;
  background-color: whitesmoke;
  border-top: 3px solid #cc1517;
  padding: 20px 0;
}

footer .footer-logo {
  width: auto;
  float: left;
}

footer .footer-logo img {
  width: 120px;
}

footer .left{
  float: left;
}

footer .right{
  width: calc(100% - 120px);
  margin-top: 15px;
  float: right;
  text-align: right;
}

footer .right span p,
footer .right span a{
  width: auto;
  margin-bottom: 0;
  font-size: 16px;
  display: inline-block;
  float: none;
}

footer .right span span::after,
footer .right span a::after{
  content: '-';
  display: inline-block;
  margin: 0 5px 0 10px;
  pointer-events: none;
}
footer .right span a[target]::after{
  display: none;
}
footer .right span span:hover::after,
footer .right span a:hover::after{
  color: #000000;
}

footer .right span a:nth-last-child(3)::after{
  display: none;
}
footer .right span p{
  margin-top: 10px;
}

footer .menu-principal-container {
  float: right;
  width: 100%;
}

footer .menu-principal-container .menu {
  border-bottom: 2px solid #000000;
  float: right;
  margin-bottom: 10px;
  padding-bottom: 10px;
  width: auto;
}

footer .menu-principal-container .menu li{
  margin-left: 15px;
}

footer .menu-principal-container .menu li:first-child{
  margin-left: 0;
}

footer .menu-principal-container a{
  color: #000000;
}

footer .menu-principal-container a:hover{
  color: #cc1517;
}

header .sgs-banner {
  top: 36px;
  position: absolute;
  left: 20%;
  transition: 0.28s;
}

header.fixed .sgs-banner {
  top: -15px;
}

.sgs-banner .banner-content {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    align-items: flex-end;
    margin-right: 20px;
}

.sgs-banner .banner-content p {
    margin: 0 0 3px;
    font-size: 0.85em;
}

.sgs-banner .banner-content img {
    margin-left: 10px;
}

.wpcf7-acceptance {
  float: left;
  padding-bottom: 20px;
}


/*Responsive*/

@media screen and (max-width:1400px){
  #slider span > span{
    left: 0;
  }
}

@media screen and (max-width:1150px){

  #slider span > span{
    width: 44%;
  }

  .centrar{
    padding: 0 20px;
  }

  #listaServicios.listaItems li h3 {
    font-size: 17px;
  }

  .sgs-banner .banner-content img  {
    height: 35px;
    left: 24%;
  }

}

@media screen and (max-width:900px){

  #slider span > span {
    width: 50%;
  }

  #slider span h1 {
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }

  #slider span p {
    font-size: 16px;
    line-height: 22px;
  }

  #listaProyectos{
    grid-template-columns: repeat(2, 1fr);
  }

  #listaPosts{
    grid-template-columns: repeat(1, 1fr);
  }

  footer .menu-principal-container,
  footer .left p,
  #listaPosts.listaItems.carousel li:nth-child(4n+4) {
    display: none;
  }

  #listaServicios.listaItems li h3 {
    font-size: 14px;
  }

  .sidebar,
  .interior {
    width: 100%;
  }

  .listaItems li h3 {
    font-size: 16px;
    margin: 0;
  }

  .listaItems li a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  #ficha,
  .contProyecto{
    width: 100%;
    margin-bottom: 20px;
  }

  #galeriaProyecto .owl-controls .owl-nav div.owl-next{
    right: -18px;
  }

  .owl-controls .owl-nav div.owl-prev {
    left: -18px;
  }

}

@media screen and (max-width:720px){

  header nav, header.fixed nav {
    position: absolute;
    right: -100%;
    top: 0;
    background-color: #ffffff;
    height: 100vh;
    justify-content: start;
    padding: 80px 50px;
    gap: 100px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }

  body.active_menu{
    overflow: hidden;
  }

  body.active_menu header nav {
    right: 0;
  }

  body.active_menu header #menu span {
    transform: translateX(0%);
  }

  header #menu {
    width: 40px;
    height: 38px;
    padding: 0;
    border: 0;
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -6px;
    background-color: #ffffff;
  }

  header #menu span,
  header #menu::before,
  header #menu::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 280ms ease;
    position: absolute;
    right: 0;
  }

  body.active_menu header #menu::before,
  body.active_menu header #menu::after {
    width: 25px;
  }

  body.active_menu header #menu span {
    width: 0;
  }
  
  body.active_menu header #menu::before {
    transform: rotate(-45deg);
    top: 50%;
  }

  body.active_menu header #menu::after {
    transform: rotate(45deg);
    top: 50%;
  }

  header #menu::before,
  header #menu::after {
    background-color: #000000;
  }

  header #menu span {
    margin-top: -1px;
    transition: all 280ms ease;
    top: 50%;
  }

  header #menu::before {
    top: 9px;
  }

  header #menu::after {
    bottom: 9px;
  }

  header.open nav {
    right: 0;
  }

  header #menu-principal,
  header #menu-secundario {
    flex-direction: column;
  }

  #slider span > span{
    width: 100%;
    left: 0;
    background-image: none;
    background-color: rgba(204, 21, 23, 0.9);
    padding-top: 25px;
  }

  header .menu-secundario-container {
    order: 2;
    width: 100%;
  }

  header .menu-secundario-container .menu li {
    display: block;
    margin-bottom: 5px;
    margin-left: 0;
    text-align: right;
    width: 100%;
  }

  header .menu-secundario-container .menu li a{
    float: right;
  }

  #listaServicios {
    grid-template-columns: repeat(2, 1fr);
  }

  #listaProyectos .owl-dots {
    margin-top: 15px;
  }
  
  footer .left,
  footer .right {
    width: 100%;
    text-align: center;
  }
  footer .footer-logo {
    float: none;
    display: inline-block;
  }

  .sgs-banner .sgs-container p {
    font-size: 10px;
  }

  #banner img{
    min-height: 150px;
    object-fit: cover;
  }

}

@media screen and (max-width:550px){

  header {
    height: 80px;
  }

  header #logo img {
    width: 80px;
  }

  #all{
    margin-top: 80px;
  }

  #slider,  
  #slider a,
  #slider .centrar {
    height: 250px;
  }

  #listaProyectos,
  #listaServicios {
    grid-template-columns: repeat(1, 1fr);
  }

  #listaPosts.listaItems.carousel li:nth-child(3n+3),
  .owl-controls,
  #slider span p,
  footer #logoAntiguo {
    display: none;
  }

  #listaProyectos .owl-controls {
    display: block;
  }

  .centrar{
    padding: 0 20px;
  }

  #slider span > span {
    padding: 20px;
  }

  #slider span h1 {
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
  }

  #menu-secundario.menu li a{
    font-size: 14px;
  }

  h1{
    font-size: 1.5em;
  }

  .contenido h3 {
    font-size: 19px;
    line-height: 26px;
  }

  .contenido hr {
    margin-bottom: 25px;
    margin-top: 5px;
  }

  .contenido .left,
  .contenido .right{
    float: left;
    width: 100%;
    margin-bottom: 20px;
  }

  .contenido .mapa {
    height: 200px;
  }

  span.seccion {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  footer .left a {
    font-size: 12px;
    width: 100%;
  }

  .rs {
    text-align: center;
    border-bottom: 1px solid #000000;
    padding-bottom: 20px;
  }

  .rs li{
    display: inline-block;
    width: auto;
    margin: 0 10px;
  }

  .rs li{
    float: none;
  }

  #divFlotante{
    width: 100%;
    max-width: 100%;
    position: absolute !important;
    top: 0 !important;
  }

  #claim p{
    font-size: 26px;
  }

}

@media screen and (max-width:400px){

  footer .right span p, footer .right span a{
    margin-bottom: 5px;
  }

  footer .right span p{
    line-height: 1.4;
  }

}


.lg-backdrop {
  z-index: 99999 !important;
}
.lg-outer {
  z-index: 99999 !important;
}
.grecaptcha-badge {
  opacity: 0;
}
