html {
    background:#fff;
}

body, html {
    font-family: 'Roboto Condensed', sans-serif;
}

body {
/*     height: 100%; */
    background: transparent;

     min-height: 100vh;
     min-height: -webkit-fill-available;
}


body.open-menu {
    height: 100%;
    width:100%;
    overflow: hidden;
    position: fixed;

}

a {
    text-decoration: none;
    transition: all 0.5s ease;
    color: #f14639;
}

a:hover {
    color: #9f9f9f;
    text-decoration: none;
}

.bx-viewport {
    z-index:0;
}

.modal-content #header,.modal-content #footer{
    display:none;
}

.modal {
    top: 100px;
}

.modal-content #contenido, .modal-content #nivelPri {
    padding-top: 20px;
}


.modal-content #main {
    padding-bottom: 20px;
}


#header, #nav .header, #window-filtros .header {
    padding: 20px;
    position: fixed;
    width: 100%;
    top:0;
    background: #fff;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.15);
    z-index: 99999;
}

body.open-menu #header,body.open-menu #nav .header,body.open-menu #window-filtros .header {
    box-shadow: none;
    background: transparent;
}


#header .menu-link {
    padding: 10px 0 0 0;
}

#nav {
    width:100%;
    height: 100%;
    position:absolute;
    display: none;
    background: #fff url(../img/menu-texture.svg) no-repeat bottom right;
    overflow: hidden;
    z-index:99999;
}


#nav .header{
    padding: 20px 5px;
    z-index: 10;
}

/* #window-filtros .header { */
/*     padding: 20px 5px; */
/*     z-index: 10; */
/* } */

#nav .izq{
    padding-top: 90px;
    background: #575756 url(../img/bg-menu.svg) right bottom no-repeat;
    height:100%;
    padding-bottom: 40px;
}

#nav .copyright {
    position: absolute;
    bottom: 28px;
    font-size: 14px;
    color: #333;
    transition: all 2s ease;
}

#nav.hide .copyright {
    opacity: 0;
}

#nav .der {
    padding-top: 90px;
    height:100%;
    transform: translateX(+100%);
    -webkit-transform: translateX(+100%);
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 40px;
}

#nav > .content {
    height:100%;
}

#nav li {
    transform: translateX(+100%);
    transition: transform 0.5s, opacity 2s;
    opacity: 0;
    list-style: none;
    line-height: 32px;
    font-size: 24px;
    margin-bottom:20px;
}

#nav li.show {
  opacity: 1;
  transform: translateX(0%);
}

#nav li a{
    text-decoration: none;
    color :#333;
}

#nav li a:hover{
    color: #c2c2c2;
}

#menuInf {
    margin-top: 40px;
}

#menuInf li {
    line-height: 24px;
    font-size: 18px;
    margin-bottom: 12px;
}

#menuInf li a{
    color: #c2c2c2;
}

#menuInf li a:hover{
    color: #9f9f9f;
}

#rrss {
    position: absolute;
    bottom:28px;
    margin-bottom:0;
}

#rrss li {
    display: inline-block;
    margin: 0 12px 0 0;
}

#rrss li a{
    opacity: 0.4;
}

#rrss a {
    width: 34px;
    height: 34px;
    display: block;
}

#rrss a:hover {
    opacity: 1;
}

#rrss .twitter a{
    background: url(../img/rs-twitter.svg) no-repeat;
}

#rrss .facebook a{
    background: url(../img/rs-facebook.svg) no-repeat;
}

#rrss .linkedin a{
    background: url(../img/rs-linkedin.svg) no-repeat;
}


#rrss .twitter a:hover{
    background: url(../img/rs-twitter-h.svg) no-repeat;
}

#rrss .facebook a:hover{
    background: url(../img/rs-facebook-h.svg) no-repeat;
}

#rrss .linkedin a:hover{
    background: url(../img/rs-linkedin-h.svg) no-repeat;
}

.slide-in {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

@keyframes slide-in {
    100% { transform: translateX(0%); }
}

@-webkit-keyframes slide-in {
    100% { -webkit-transform: translateX(0%); }
}

@keyframes slide-out {
    0% { transform: translateX(0%); }
    100% { transform: translateX(+100%); }
}

@-webkit-keyframes slide-out {
    0% { -webkit-transform: translateX(0%); }
    100% { -webkit-transform: translateX(+100%); }
}

#main {
    padding-bottom: 120px;
    position: relative;
}

#main::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff url(../img/bg-texture.svg) right top no-repeat;
  pointer-events: none;
  z-index: -1;
  height: 600px;
/*   height: 500px; */
  width: 100%;
  opacity: 0.2;
}

.bx-wrapper {
    margin-bottom: 0px;
}

.bx-wrapper ul{
    padding-left:0;
    margin:0;
}

.bx-wrapper .bx-prev:hover, .bx-wrapper .bx-prev:focus {
    background-position: 0 0;
}
.bx-wrapper .bx-controls-direction a {

    position: absolute;
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 5;

}
.bx-wrapper .bx-prev {
    background: url(../img/left-arrow.svg) no-repeat;
    filter: brightness(250%);
}

.bx-wrapper .bx-next {
    background: url(../img/right-arrow.svg) no-repeat;
    filter: brightness(250%);
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 60%;
}

.bx-wrapper .bx-prev {
    left: 0;
}

.bx-wrapper .bx-next {
    right: 20px;
}

.bx-wrapper .bx-next:hover, .bx-wrapper .bx-next:focus, .bx-wrapper .bx-prev:hover, .bx-wrapper .bx-prev:focus {
    background-position: 0 0;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 0px;
    background: transparent url(../img/slider-bullet.svg) no-repeat;
    width:16px;
    height:16px;
    filter: brightness(250%);
    opacity: 0.4;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus {
    background-color: transparent !important;
}


.bx-wrapper .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: block;
    margin-bottom: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus {
    background: transparent url(../img/slider-bullet.svg) no-repeat;
    opacity: 1;
}




#contenido, #nivelPri {
    padding-top:180px;
}

h1, .titulo-h1 {
  font-size: 50px;
  font-weight: bold;
}

h1:after, .titulo-h1:after {
   content: " ";
   height: 2px;
   width: 20px;
   background-color: #f14639;
   display:block;
   margin-top: 18px;
   margin-bottom: 15px;
}

h2, .titulo-h2 {
    color: #333333;
    font-size: 24px;
    line-height: 1.33;
    font-weight: bold;
}

h2 a, .titulo-h2 a {
    color: #333333;
    font-weight: bold;
}

.card {
    border: none;
    border-radius: 0;
    color: #9f9f9f;
}

.card-footer {
    background-color: transparent;
    border-top: none;
}

.card-deck {
    margin-bottom: 30px;
}

.card-img-top {
    width: 100%;
    height: 200px !important;
/*     height: 200px; */
    object-fit: cover;
    border-radius: 0;
}

.volver {
    color: #9f9f9f;
}

.bx-wrapper {
    -moz-box-shadow:none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    background: #fff;
}

.bx-wrapper .arrows {
    position:relative;
    padding: 60px 0 0 0;
    width: 80px;
    bottom: 0;
}

.bx-wrapper .arrows a{
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
    position: absolute;
}

.social-sharing {
    padding-left: 20px;
    list-style: none;
}

.social-sharing li{
    margin-bottom: 10px;
}

.social-sharing i {
    color:#dadada;
    cursor: pointer;
    font-size: 34px;
}

.bloque-cms li{
    margin-bottom: 18px;
    line-height: 1.33;
}

.bloque-gris-oscuro {
    color:#fff;
}

.bloque-gris-oscuro a {
    text-decoration: none;
    color:#f14639;
    font-size:16px;
    font-weight: bold;
}

.bloque-gris-oscuro a:hover {
    color:#9f9f9f;
}

.bloque-gris-oscuro > div{
    background: #333333; padding: 50px 37px 50px 37px; box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);
}

#formulario .col {
    margin-bottom: 20px;
}

#formulario input, #formulario textarea {
    border-radius: 0;
}

#formulario input[type="text"], #formulario input[type="captcha"], #formulario textarea{
    background: #eaeaea;
    border: 2px solid #eaeaea;

}

#formulario input[type="checkbox"] {
    margin-right: 10px;
}

#formulario a{
    color: #575756;
    font-size: 16px;
}

#formulario .leoacepto {
  font-size: 16px;
}

/**************************************/
/* Customize the label (the container) */
#formulario .ib, #window-filtros .opcion {
 display: block;
 position: relative;
 padding-left: 27px;
 margin-bottom: 12px;
 cursor: pointer;
 font-size: 16px;
 -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
}

#formulario .ib {
  padding-top: 6px;
  margin-top: 35px;
  margin-bottom: 0;
}

#window-filtros .subs {
  margin-left: 0;
}

/* Hide the browser's default checkbox */
#formulario .ib input, #window-filtros .opcion input {
 position: absolute;
 left: 0;
 top:7px;
 opacity: 0;
 cursor: pointer;
 height: 20px;
 width: 20px;
 z-index: 10;
}

/* Create a custom checkbox */
#formulario .checkmark, #window-filtros .checkmark {
 position: absolute;
 top: 7px;
 left: 0;
 height: 20px;
 width: 20px;
 background-color: #eaeaea;
}

#window-filtros .checkmark, #window-filtros .opcion input {
  top: 2px;
}

/* On mouse-over, add a grey background color */
#formulario .ib:hover input ~ .checkmark, #window-filtros .opcion:hover input ~ .checkmark {
 background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
#formulario .ib input:checked ~ .checkmark, #window-filtros .opcion input:checked ~ .checkmark {
 background-color: #575756;
}

/* Create the checkmark/indicator (hidden when not checked) */
#formulario .checkmark:after, #window-filtros .checkmark:after {
 content: "";
 position: absolute;
 display: none;
}

/* Show the checkmark when checked */
#formulario .ib input:checked ~ .checkmark:after, #window-filtros .opcion input:checked ~ .checkmark:after {
 display: block;
}

/*************************************/


.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
/*     box-shadow: 0 0 0 .2rem rgba(241, 70, 57,.25); */
    box-shadow: none;
}

/* Real Person jQuery plugin styles v1.0.1. */
.realperson-challenge {
    display: block;
    color: #000;
    width:190px;
    float:left;
    margin:2px 8px 0 0px;
    _margin:2px 0px 0 0px;
}
.realperson-text {
    font-family: "Courier New",monospace;
    font-size: 6px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 3px;
    cursor:pointer;
    padding-bottom: 10px;
}
.realperson-regen {
    padding-top: 2px;
    font-size: 10px;
    text-align: left;
    cursor: pointer;
    color:#999;
    display:none;
}

.validation-advice, .formularioRes.error {
    font-size: 11px;
    color: #f14639;
    margin-top: 3px;
}

#formulario input.validation-failed {
    border: 2px solid #f14639;
}

#footer {
    padding-top: 196px;
    font-size: 14px;
    background: url(../img/footer-texture.svg) 95px top no-repeat;
    margin-top: -90px;
    line-height: 36px;
    padding-bottom: 14px;
    color: #c2c2c2;
}

#footer ul{
/*     float: right; */
    list-style: none;
    text-align: right;

/*     margin: 0; */
}

#footer li{
    display: inline-block;
}

#footer li::before{
    content: '-';
    padding: 0 5px;
}

#footer li.first::before{
    content:none;
}

#footer li.copyright::before {
    content: none;
}

#footer a {
    color: #c2c2c2;
}

#footer a:hover {
    color:#575756;
}

.drool a{
    color: #333333;
}

.drool a:hover{
    color: #9f9f9f;
}

.boton {
    padding: 15px;
    min-width: 170px;
    background: #f14639;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
}

a.boton {
    text-decoration: none;
    color:#fff;
}

.boton:hover {
    background: #9f9f9f;
}

.boton:hover span {
    background: #333;
}

.botones {
    margin-top: 60px;
}

.botones .boton {
    display: block;
    width: 280px;
    margin-top: 10px;
    margin-left: -100px;
    padding: 20px;
}

.boton span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin-top: 5px;
}

.boton.negro {
    background: #333;
}

.boton.negro:hover {
    background: #9f9f9f;
}

.slider-subseccion-wrapper .datos {
    min-height: 550px;
    color: #fff;
    padding: 30px;
}

.slider-subseccion-wrapper .bbody {
    min-height: 172px;
    font-size: 16px;
    font-weight: bold;
}

.slider-subseccion-wrapper h1,
.slider-subseccion-wrapper h2,
.slider-subseccion-wrapper h3,
.slider-subseccion-wrapper h4,
.slider-subseccion-wrapper h5 {
    color:#fff;
    font-size: 24px;
    font-weight: bold;
    max-width: 480px;
    line-height: 1.25;
}

.slider-subseccion-wrapper .bx-controls {
    right: 30px;
    position: absolute;
    top: 50%;
}

.slider-subseccion-wrapper .enlace {
    display: block;
}

#paginas a{
    color: #9f9f9f;
    margin:0 5px;
}

#paginas .paginaselected{
    color: #f14639;
    margin:0 5px;
}


#maps {
    margin-bottom: 80px;
    position: relative;
}

#maps .map {
    padding-top: 40px;
}

#maps .delegaciones {
    position: absolute;
    width: 300px;
    right: 60px;
    top: -20px;
}

#maps .delegacion {
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);
    background-color: #333;
    color:#c2c2c2;
    padding: 15px 20px 20px 20px;
    font-size: 16px;
    margin-bottom: 20px;
    min-height: 170px;
    cursor: pointer;
    position:relative;
}

#maps .selected {
    background-color: #f14639;
    color: #fff;
    box-shadow: 0 6px 12px 0 rgba(241, 70, 57, 0.3);
}

#maps .delegacion .titulo{
    font-size: 22px;
    font-weight: bold;
}

#maps .delegacion .direccion {
    margin-bottom: 0;
}


#maps .selected:before {
    content: " ";
    width: 21px;
    height: 21px;
    transform: rotate(-135deg);
    box-shadow: 0 6px 12px 0 rgba(241, 70, 57, 0.3);
    background-color:#f14639;
    position: absolute;
    bottom: 15px;
    left: -8px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #333;
}

.nav-pills .nav-link {
    border-radius: 0;
}

.open-filtro {
    display: block;
    padding: .5rem 1rem;
    display: inline-block;
}

.open-filtro.active {
    background: #333;
    color:#fff;

}

.cookieMsg {
    background: #333;
    color: #fff;
    padding: 5px 0;
    position: fixed;
    bottom:0;
    width:100%;
    z-index:99999;
}

.aceptarCookies {
    background: #fff;
    border: none;
}

.icon-row-componente-icon-right,.icon-row-componente-icon-left {
    vertical-align: middle;
}

#nuestra-empresa.bloque-gris-oscuro {
    margin-top: -70px;
}

.botones {
    position: absolute;
    right: -180px;
    bottom: 40px;
}

.img-botones img {
    max-width: 100%;
}

#next_generation {
    width: 100%;
}

#next_generation img {
    max-width: 780px;
    width: 100%;
}

@media (max-width: 1200px) {
  .botones {
    bottom: 15px;
  }
}

@media (max-width: 991px) {
    #nav .izq{
        background-image: none;
    }

    h1, .titulo-h1 {
        font-size: 42px;
    }

    #footer > div {
        padding-top: 60px;
    }

    .bloque-cms.bloque-gris-claro > div {
        margin: -40px auto 0 auto!important;

    }

    .img-botones {
        margin-top:20px!important;
    }

    .botones {
        right: 0px;
    }

    .img-botones .order-lg-2 {
        padding-left:0;
        margin-left: -15px;
    }

    #footer {
        background-position:15px 90px;
        padding-top: 286px;
    }


    #menuFoot {
        margin-top: -70px;
    }

    #menuFoot .copyright span {
        display: none;
    }

    #nav .copyright {
        bottom:5px;
    }

    #menu .copyright.drool {
        padding-top: 20px;
        color:#c2c2c2;
    }

    #menu .copyright.drool a{
        color:#c2c2c2;
        display:block;
    }

  #contenido, #nivelPri {
    padding-top: 150px;
  }
}

@media (max-width: 767px) {
    #formulario .ib {
      padding-top: 6px;
      margin-top: 5px;
      margin-bottom: 0;
    }

    #nav .der {
      padding-bottom: 0;
    }

    #nuestra-empresa .text-right {
      text-align: left !important;
    }

    #nav .izq{
        display: none;
    }
    #nav ul {
        padding-left: 5px;
    }

    #nav li {
        margin-bottom:10px;
    }

    .card-img-top {
        height: 40vw;
    }

    h1, .titulo-h1 {
        font-size: 36px;
    }

    .bloque-cms.bloque-gris-claro > div {
        margin: 0!important;
    }

    .botones .boton {
        margin-left: 0px;
        width:100%;
    }

    .botones {
      bottom: -100px;
      left: 20%;
      right: 20%;
    }

    #map, #maps .selected::before {
        display: none;
    }

    #maps .delegaciones {
        position: static;
    }

    #maps .selected {
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);
        background-color: #333;
        color:#c2c2c2;
    }

    #maps .delegacion a {
        margin-top: 15px;
    }

    #maps .delegacion a {
        text-decoration: none;
        color: #f14639;
    }

    #footer {
        background: none;
        padding-top: 40px;
    }

    #footer ul{
        padding-left: 0;
    }

    #menuFoot {
        margin-top: 0px;
    }

    #nav #rrss {
        padding-left:0;
        bottom: 48px;
    }

    #nav {
        background-position: calc(100% + 80px) bottom;
    }

    #nav .btn-link {
      padding: 10px 0 0 0;
    }

    #window-filtros .btn-link {
      padding: 10px 0 0 0;
    }

    #window-filtros .header {
      left: 15px;
    }

    #window-filtros .header > .col-6 {
      padding-left: 0;
    }

    #window-filtros .header .text-right {
      padding-right: 0;
    }

    #paginas {
      text-align: center;
    }

    #contenido, #nivelPri {
      padding-top: 130px;
    }

    #formulario .checkmark, #formulario .ib input {
      top: 0;
    }

    #formulario .ib {
      margin-bottom: 0;
    }

    .img-botones .order-lg-2 {
      margin-left: 0;
    }
}
