/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,700,700italic);

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxko2lTMeWA_kmIyWrkNCwPc.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2) format('woff2');
}

html,
body {
    height: 100%;
}


body {
    /*padding-top: 50px;  Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif!important;
}


a {
  outline: none!important;
  color:#000;
}

a:focus, a:hover {
  color:#5db4a0;
}

article.contextual-region a, div.justificado a, div.articulodetalle a{
  text-decoration: underline;
}




.botonHome a{
  text-transform: uppercase;
}

.no-padding-left{
  padding-left: 0
}
.no-padding-right{
  padding-right: 0
}
.panel-body p{
  margin: 0;
}
.proyecto {
    margin-bottom: 15px;
}

.proyecto a, .panel-body div>a{
  overflow: hidden;
  display: block;
}
.proyecto > a {
  border: 1px solid #C9C9C9;
  border-bottom: 2px solid #5db4a0;
}
.proyecto.galeria {
    margin-bottom: 30px;
}
.img-proyecto {
    margin-bottom: 0!important;
    transition: transform 0.55s ease 0s;
    width: 100%;
}
.img-proyecto:hover{
  transform: scale(1.2);

}
.body-proyecto{
  min-height: 50px;
  padding: 10px;
  border: 1px solid #C9C9C9;
  border-top: 2px solid #5db4a0;
  background-color: #fff;
}
.body-proyecto a, .panel-body a{
  font-weight: 700;
  font-size: 14px;
  color:#000;
  display: block;
  text-decoration: none;
}

.panel-body:hover a, .panel-body a:hover, .body-proyecto:hover a{
  text-decoration: none;
  color:#7e7e7e!important;
}
.panel-body {
    padding: 8px;
}

.panel-body .fecha {
  font-size: 11px;
  color: #505050;
  margin-bottom: 2px;
}
.botonNaranja {
  border:none;
  padding-left: 0;
}

.botonNaranja .panel-body{
  border:none;
  border-top: 4px solid #5db4a0;
  padding: 0px;
}
.botonNaranja .cuerpo a{
  text-transform: uppercase;
  font-size:14px;
  font-weight: 300!important;
  text-align: left;
}

.botonNaranja .cuerpo {
    display: table;
    height: 63px;
}
.botonNaranja .cuerpo p {
    display: table-cell;
    vertical-align: middle;
}

.conSubmenu:hover .dropdown-menu{
  display: block
}
.container > .navbar-collapse, .container > .navbar-header {
    padding: 0px;
}

/*.img-hover:hover {
    opacity: 0.8;
}*/

h1 {
  margin: 0px 0px 24px 0;
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  color: #000;
  text-shadow: none;
}
h2 {
   color: #000;
   font-size: 21px;
   line-height: 30px;
   margin: 15px 0 20px;
}
h2.titulo {
  font-size: 30px;
  text-align: center;
}

h2.sinmargen {
  margin: 5px 0;
}

.cuadroDatos h2{
    color: #c9c9c9;
    margin-top: 0;
}

.articulodetalle h2{
    font-size: 24px;
}

/* añadido MAD solucion listas */

.articulodetalle ul {
    padding-left: 10px
}
.articulodetalle ul li {
    list-style-position: inside;
    margin: 2px;
}

.articulodetalle ul li ul {
    list-style-position: inside;
    margin: 5px 0;
}

/*FIN añadido MAD solucion listas*/

p {
    margin: 0px 0px 10px;
}
.proyectosRelacionados{
  background: #EFEFEF none repeat scroll 0% 0%;
  padding: 24px 0;

}
.actualidad {
    background: #FFF none repeat scroll 0% 0%;
    padding: 24px 0px;
}

.botoneraHome {
/*  background: #EFEFEF none repeat scroll 0% 0%; */
  padding: 24px 0px;
  padding-top: 25px;
}

.mapaHome {
  background: #EFEFEF none repeat scroll 0% 0%;
  padding: 24px 0px;
  text-align: center;
}

.hechosRelevantes {
    background: #FFF none repeat scroll 0% 0%;
    padding: 24px 0px;
}

.mapaHome p {
  text-align: justify;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
  font-size:15px;
}
.mapaHome li a {
    color: #000 !important;
    font-size: 17px;
}
.mapaHome li a:hover {
    text-decoration: none;
    color:#ccc!important;
}

.mapaHome li a img{
    width: 31px;
    height: auto;
}

.mapaHome ul {
    margin: 0;
    padding: 0;
    padding-left: 4%;

}

.mapaHome li {
    list-style: none;
    text-align: left;
    line-height: 30px;
}

.mapaHome figure img {
/*    width: 100%; */
    height: auto;
    max-width: 100%;
}


.mapaHome div.col-md-6 figure img {
    width: 100%;
}



/* Home Page Carousel */

header.carousel {
    height: 260px ;

}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;

}

.logo {
    z-index:+1000;
    position: relative;
    padding: 10px 0 5px 0;
    height: auto;
}

a.logo img{
  height: 80px;
}

.navbar-brand > img {
    display: block;
  /*  height: 76px; */
}

.sobreMenu {
    background-color: #000;
    line-height: 35px;
    font-size: 14px;
    font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    color: #fff;
    text-align: right;
}
.sobreMenu ul {
    margin: 0;
    display: inline;
    padding: 0;
}
.sobreMenu li{
    display: inline-block;
    margin: 0 6px
}
.sobreMenu a {
    color: #fff;
}

.sobreMenu li.active a, .sobreMenu li.is-active a {
    text-decoration: underline;
}

.element-invisible {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}
.container-inline div, .container-inline label, .container-inline {
    display: inline;
    color:#999;
}
.form-item-search-block-form input {
    width:200px;
    line-height: 35px;
    border:none;
    padding:0 10px;
    color:#505050;
    height: 35px;
}
.form-item-search-block-form{
    margin-left: 20px;
    display: inline-block;
}
.form-submit {
    background: url("../images/lupa.png") no-repeat scroll 3px 7px #fff;
    color:#fff;
    width: 25px;
    line-height: 35px;
    border:none;
    margin-left: -5px;
}

.sobreMenu #edit-actions .form-submit {
    height: 100%!important;
    border: none!important;
    width: 24px!important;
    margin-left: 0px;
}

.sobreMenu #edit-actions {
    height: 35px;
    float: right;
}

.navbar {
    min-height: 70px;
    padding-bottom: 5px;
    margin-bottom: 0px;
    border-bottom: 3px solid #5db4a0 ;
}

.navbar-right .dropdown-menu {
    left: 0;
}

.dropdown-menu {
    min-width: 375px;
}
#menuPrincipal a{
    font-size: 14px;
    line-height: 14px;
    padding: 40px 10px !important;
    color:#000;
    text-transform: uppercase;
}
#menuPrincipal a.last{
    padding-right: 0px!important;
}
#menuPrincipal li li a{
    padding: 12px 15px!important;
}
#menuPrincipal a:hover, #menuPrincipal a.active {
    color:#5db4a0;
}
.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: #fff!important;
}
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: #fff!important;
    border-color: #fff!important;
}
 .nav.lateral > li > a{
  padding: 5px 15px;
}
.dropdown-menu {
    top: 75%;
    box-shadow: none;
    border-radius: 0;
    border-color: #000;
}

.icon-prev, .icon-next {
    margin-top: -37px!important;
    font-size: 82px!important;
    color: #5db4a0;
}
.carousel-indicators {
    bottom: -40px;
}
.carousel-indicators .active {
    background-color: #000;
}
.carousel-indicators li {
    border: 1px solid #000;

}
.carruselFijo img {
  width: 100%;
  height:100%;
}
.carruselFijo{
  overflow: hidden;
  width: 100%;
}
.breadcrumb{
  width: 100%;

  background-color:#F0F0F0;
  color:#505050;
  font-size: 12px;
  text-transform: uppercase;

}
.breadcrumb ul{
  padding: 0px;
  margin:0px;
  line-height:14px;
}

.breadcrumb li {
  display: inline-block;
  padding: 5px 0!important;
  color:#505050;
}
.breadcrumb li a {
  color:#505050;
}
.breadcrumb li a:hover{
  color:#999;
  text-decoration: none;
}
.breadcrumb li a::after {
    content: "/";
    display: block;
    float: right;
    margin: 0 8px;
    color: #505050;
}

.page-header {
    padding-bottom: 9px;
    margin: 0px 0px 20px;
    border-bottom: none;
}



/*Acordeon con cambio de estado con base de Bootstrap */

.accordion-group .accordion-heading:after {
        /*background: #EFEFEF;*/
    }

.accordion-group {
        background: #EFEFEF;

    }

.accordion{margin-bottom:20px; padding: 0;}
.accordion-group{padding: 0.9375rem; margin-top: 0.3125rem; color: #000; position: relative; font-weight: 700; width: 100%;}
.accordion-heading{border-bottom:0;}
.accordion-heading .accordion-toggle{display:block;padding:8px 15px;}
.accordion-toggle{cursor:pointer;}
.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5; /*background-color: #fff */}

.accordion-body{-webkit-transition:"height .4s linear";-moz-transition:"height .4s linear";-o-transition:"height .4s linear";transition:"height .4s linear";}
.accordion-group{border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;margin-bottom:5px;}
.accordion-group .accordion-heading{position:relative;}

/*Control del cambio de estado */
.accordion-group .accordion-heading:after{pointer-events:none;color:#999;content:"+";font-size:18px;padding:3px 13px;position:absolute;top:0;right:0;bottom:auto auto;left:auto;}
.accordion-group .accordion-heading.accordion-opened:after{content:"-";pointer-events: none;color: #999;font-size: 18px;padding: 3px 13px;position: absolute;top: 0;right: 0;bottom: auto auto;left: auto;}

.accordion-group a{color:#000;text-decoration:none!important}
.accordion-group a:hover{text-decoration:none!important;}
.accordion-group .accordion-inner{
  margin: 0px 0px 16px;
  padding: 15px;
  color: #353535;
  font-weight: normal;
  font-size: 14px;
  text-align: justify;
}

/*slider*/

.diapo {
  height: 21.8125rem;
  padding:0 1.25rem 4.6875rem;
  margin: 0px;
  width: 460px;
    max-width: 460px;
  text-align: left;
}
.carousel-caption {
  background: rgba(28,85,90,0.6);
    width: 460px;
   height: 100%;
   bottom: 0px!important;
     max-width: 460px;
     padding-top: 10px;
}

.diapo h2 {
  font-weight: 700!important;
  font-size: 28px!important;
  color: #fff!important;
  text-shadow:none;

}

.diapoButtom a{
    font-size: 13px;
  display: inline-block;
  width: auto;
  font-weight: 700;
  color: #FFF;
  background: #000 none repeat scroll 0% 0%;
  padding: 7px 10px;
}
.diapoButtom a:hover{
    text-decoration: none;
    background-color: #000;

}

/*botoneraHome*/
.botonHome {
  padding: 5px;
  margin-bottom: 30px;
  max-height: 100px;
  cursor: pointer;
}
.botonHome .iconoBoton {
  width:25%;
  display: inline-block;
}
.botonHome h3 {
  width: 70%;
  display: inline-block;
  font-size: 15px;
  vertical-align: middle;
  padding: 0px 0px 0px 25px;
  margin: 0;
}

.botonHome:hover {
  background: #FFF none repeat scroll 0% 0%;
  border-radius: 50px;
  border: 1px solid #5db4a0;
  padding: 4px;
}




.botonHome a{
  text-decoration: none;
  color:#000000!important;
  font-weight: bold;
}
.botonHome a:hover, .botonHome:hover a{
  text-decoration: none;
  color:#72757a!important;
}
.botonHome img {
  max-height: 76px;
  width: auto;
}




/* Footer Styles */

footer {
    background-color: #353535;
}



footer ul {
  padding: 0;
  color:#fff;
  font-size: 14px;
}
footer ul a {
  color:#c9c9c9;
  text-decoration: none;
}
footer ul a:hover {
  color:#fff;
}
footer ul li{
  list-style: none;
  font-weight: bold;
  line-height: 30px;

}


footer .menu>li {
margin-top: 30px
}

footer .menu>li>a {
    text-transform: uppercase;
    font-size: 15px;
}

footer ul li li{
  list-style: none;
  font-weight: normal;
}
footer .title {
  margin: 0px 0px 0.75rem;
  line-height: 1;
  color: #C9C9C9;
  font-size: 16px;
  font-weight: 600;

}
footer .cuadroDatos{
  background-color: #303030;
  padding: 15px;
  font-size: 12px!important;
  font-weight: 300!important;
  line-height: 24px;

}

footer

.subfooter {
  margin-top: 30px;
  background-color: #303030;
  font-size: 12px;
  text-align: left;
  line-height: 50px;
  color: #fff;
  font-weight: 400!important;
}
.subfooter ul li {
  display: inline-block;
  margin-left: 7px;
  font-weight: 400!important;
  font-size: 12px;
}
.subfooter nav a:hover{
  color:#fff;
}

.subfooter .copyright {
  float:left;
}
.subfooter nav {
  float:right;
}

.ajustaColumna{
  clear:both;
}

/*estilos paneles en cuerpo*/
.Cuerpo .panel.panel-default {
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 20px;
}
.Cuerpo .panel-image {
    max-height: 150px;
    overflow: hidden;
}

.Cuerpo .panel-body h2 a {
  font-size: 21px!important;
}

/*cuadro archivos*/

.bloque-archivos {
  background-color: #efefef;
  margin-bottom: 30px;
  padding: 20px 15px 1px;
}
.bloque-archivos .title {
  font-weight: bold;
  margin-bottom: 10px;
}
.bloque-archivos ul {
  padding: 0;
}

.bloque-archivos li {
  background: url(../images/application-pdf.png) no-repeat 5px #efefef;
  padding-left: 30px;
  line-height: 30px;
  list-style: none;
  margin-bottom: 5px;

}


.archivos-documentacion{
  background-color: #fff;
}
  .archivos-documentacion li {
      background: #fff url("../images/application-pdf.png") no-repeat scroll 5px center;
      border: 1px solid #efefef;
      line-height: 36px;
      list-style: outside none none;
      margin-bottom: 12px;
      padding-left: 30px;
  }





/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }

    .mapaHome ul {
      padding-left: 0;
      display: table !important;
      width: 100%;
  }

  .mapaHome ul li {
    list-style: none;
    text-align: left;
    line-height: 30px;
    margin-left: 41%;
  }

  .mapaHome .carousel-inner {
    margin: auto 21%;
  }
/*  .carousel-inner {
    margin: auto 21%;
  }*/

  .mapaHome .glyphicon.glyphicon-chevron-left, .mapaHome .glyphicon.glyphicon-chevron-right {
    display: block!important;
  }
}

@media(max-width:767px) {
    .img-proyecto {
        margin-bottom: 15px;
    }

  .mapaHome .carousel-inner {
    margin: auto 4.2%;
  }


    header.carousel .carousel {
        height: 70%;
    }
    .sobreMenu {
      margin-top: 0;
    }
    .navbar-brand > img {
    height: 50px;
    /*! top: -13px !important; */
    position: relative;
    max-width: auto !important;
  }

  footer .subfooter {
    padding: 0 15px;
  }

}

@media(max-width:650px) {
  .carousel-caption {
    width: 80%;
    left: inherit;
    margin: 0px 11%;
    max-width: 100%;
  }
  .diapo {
    margin: 0px;
    width: 100%;
  }
  .diapoText {
    display: none;
  }

  .carousel-caption {
    padding-top: 22px;
  }


}

@media(max-width:500px) {
  .articulo-img {
    width: 100%;
  }
}

@media(max-width:550px) {
  .mapaHome ul li {
      margin-left: 35%;
    }
}

@media(max-width:350px) {
  .mapaHome ul li {
      margin-left: 25%;
    }
}


table#ofertas th{
    background-color: #000;
    color: #fff;
    font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    font-size: 14px;
    line-height: 35px;
    }

#formOfertas{width:100%;}

@media only screen and (max-width: 800px) {
  table#ofertas td:nth-child(3),
  table#ofertas th:nth-child(3) {display: none;}
}

.btn_buscar {
  background: #000 none repeat scroll 0 0;
  border: medium none;
  color: white;
  font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
  line-height:26px;
  text-transform: uppercase;
  width: 150px !important;
}

.btn_buscar:hover{
  background-color: #5db4a0;
}

.bloque_financiacion img{width: 100%;}

ul.lateral li a.marcado {font-weight: bold;}
#listaLineasNegocio div{display:none;}
#listaLineasNegocio {display:inline;}

a.region-sede{
  color: #000;
  font-size: 16px;
}




/*MODIFICACIONES MAD*/

/*adaptar los iconos de la home*/
.botonHome img {
    max-height: 76px;
    width: auto;
    max-width: 76px;
}

/*adaptar imagen en detalles interiores*/

.articulo-img img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 10px;
}

@media(max-width:650px) {
  .articulo-img img {
    width: 100%;
    height: auto;
    max-width:none!important;
    }
}

/*estilos de formulario*/
#contact-message-contacto-form, #user-login-form {
    padding: 1.5625rem;
    border: 1px solid #c9c9c9;
    margin: 23px 0 !important;
}

#contact-message-contacto-form label, #user-login-form label {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    float: left;
    padding-right: 0.9375rem;
    width: 25%;
    line-height: 1.3;
    display: block;
    margin: 0 0 0.375rem 0;
    font-weight: normal;
    color: #505050;
}

#contact-message-contacto-form input, #contact-message-contacto-form select, #contact-message-contacto-form textarea,
#user-login-form input, #user-login-form select, #user-login-form textarea, #filtro-regiones {
    float: left;
    display: block;
    width: 65%;
    margin-bottom: 1.5rem;
}

#contact-message-contacto-form input[type="text"], #contact-message-contacto-form input[type="email"], #contact-message-contacto-form input[type="password"], #contact-message-contacto-form input[type="number"], #contact-message-contacto-form input[type="search"], #contact-message-contacto-form select, #contact-message-contacto-form textarea,
#user-login-form input[type="text"], #user-login-form input[type="email"], #user-login-form input[type="password"], #user-login-form input[type="number"], #user-login-form input[type="search"], #user-login-form select, #user-login-form textarea, #filtro-regiones {
    display: block;
    padding: 0.5rem;
    margin: 0 0 1rem 0;
    border: 1px solid #c9c9c9;
    border-radius: none;
    font-size: 100%;
    font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    font-weight: 300;
    background: white;
    color: #505050;
    vertical-align: baseline;
}

 #filtro-regiones {
  width: 100%;
 }

.captcha {
    padding: 1.25rem 1.25rem 0.9375rem;
    margin: 0 0 1.625rem 0;
    border: 1px solid #c0c0c0;
    box-sizing: border-box;
    display: inline-block;
    width: 90%
}

.captcha img {
    float: left;
    margin: 0.1875rem 0.75rem 0.75rem 0;
}

.captcha label, .captcha #edit-captcha-response--description {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    float: left;
    padding-right: 0.9375rem;
    width: ;
    font-size: 0.875rem;
    line-height: 1.3;
    font-weight: bold;
}

.captcha label {
    display:none!important;
}

#contact-message-contacto-form input[type="submit"], #contact-message-contacto-form input[type="button"], #contact-message-contacto-form input[type="reset"], #contact-message-contacto-form input[type="submit"], #contact-message-contacto-form button,
#user-login-form input[type="submit"], #user-login-form input[type="button"], #user-login-form input[type="reset"], #user-login-form input[type="submit"], #user-login-form button {
    display: inline-block;
    padding: 0!important;
    width: 200px!important;
    background: #000;
    border: none;
    color: white;
    font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    margin-right: 20px!important
}

#contact-message-contacto-form input[type="submit"]:hover, #contact-message-contacto-form input[type="button"]:hover, #contact-message-contacto-form input[type="reset"]:hover, #contact-message-contacto-form input[type="submit"]:hover, #contact-message-contacto-form button:hover,
#user-login-form input[type="submit"]:hover, #user-login-form input[type="button"]:hover, #user-login-form input[type="reset"]:hover, #user-login-form input[type="submit"]:hover, #user-login-form button:hover {
  background-color: #5db4a0;
}

#edit-actions {
display: inline-block;

}

.description {
    display: inline;
    margin-left: 25%;
    top: -10px;
    position: relative;
    font-size: 9px;
}

@media(max-width:650px) {
    #contact-message-contacto-form input, #user-login-form input {
        width:100%!important
    }
    .description {
        display: block;
        margin-left: 0;
        font-size: 9px;
        float: right;
    }

     #contact-message-contacto-form label, #user-login-form label {
        width: 100%!important
    }


}

/*iconos de documentos*/

.bloque-archivos li.pdf {
    background: url(/themes/sice/images/iconosDocs/pdf.gif) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}

.bloque-archivos li.doc {
    background: url(/themes/sice/images/iconosDocs/doc.gif) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}

.bloque-archivos li.docx {
    background: url(/themes/sice/images/iconosDocs/docx.png) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}

.bloque-archivos li.xls {
    background: url(/themes/sice/images/iconosDocs/xls.png) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}

.bloque-archivos li.zip {
    background: url(/themes/sice/images/iconosDocs/zip.gif) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}

.bloque-archivos li.rar {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACBklEQVR4nLWTQUhUURSGvyfjOIYUkwuLFibVuBgayJEQczFhGGiJgm2Eti1t1SJQiiDElUQthRZBaKjowo1jVAtHstEcysBENGmSESnNee/O3PfevS3U2Uw2tejCz3+4i59zvnOv0XGsSpcWS7woCh1JEXZpkqefhXFwV9T65CFCuZR5Swg/2KDr5Qahng3KvCX4KcfnHM15BX7Kd6u5eapKHwQYQgg9v7BIf8s1AtthKvoniERgehpSt5soVqVY2uGI4cHSDiUUY/lSrPhWeZZcNYyR0XHdcr2VDx8/0dfYSFOmGa/Xi5TyULeVy45Ms3I8hhEIBPTg0DCh0Hnezs7x5lIvd91heLUDSRN+Zvdk2eAo2JWYwiItTO5M3sLT3XOfmgshlpbXqK8L8+LEHLFYJXNXGv4I1CbLrkriudHRzpmzcarPnWZpeY3v0iYaTbKgnhfcCgAjo+M6Y2v97v2iDgaDGvhrCSHyGVweSJEdaGY8CekspCWY8vc+cq89n4F8NEgsVknb4769FrUN2t3v1wUl92sF82P5DDC/EI2uw9fXheevafsPDBqmelHdw0xZ6yTkFt8cky2VwdaKlGux6Qo2993f2YUnkUgYtbW1enRsgvq6MHrIZHLS4GqiE9QhH0xrDMfhxyx4AOLxeC4EIZmZgZPzhd9B5iIghMgpEon8M4Nfpz1Vu68yXz4AAAAASUVORK5CYII=) no-repeat 5px #efefef !important;
    padding-left: 30px;
    line-height: 30px;
    list-style: none;
    margin-bottom: 5px;
}



.modal-dialog{
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

ol, ul {
    margin-top: 0;
    margin-bottom: 20px;
}




/* añadido Tomás */

.modal-dialog { width: 50%; }
footer li.destacadoFooter > a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 30px;
}


label.form-required:after {
    color: #e32;
    content: ' *';
    display:inline;
}

/* .slide{margin-bottom: 20px;} */

/*estilos de imagenes*/

.img_left33{
  display: block;
  float:left;
  width: 33%;
  height: auto;
  max-width: 100%;
  padding-right: 20px;
  padding-bottom: 20px;
}

.img_left50{
  display: block;
  float:left;
  width: 50%;
  height: auto;
  max-width: 100%;
  padding-right: 20px;
  padding-bottom: 20px;
}

.img_right33{
  display: block;
  float:right;
  width: 33%;
  height: auto;
  max-width: 100%;
  padding-left: 20px;
  padding-bottom: 20px;
}

.img_right50{
  display: block;
  float:right;
  width: 50%;
  height: auto;
  max-width: 100%;
  padding-left: 20px;
  padding-bottom: 20px;
}

.img_full{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  padding-bottom: 20px;
}

.img_left33 img, .img_left50 img, .img_right33 img, .img_right50 img, .img_right50 img, .img_full img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media(max-width:550px) {
  .img_left33, .img_left50, .img_right33, .img_right50, .img_right50, .img_full {
      width: 100%!important;
  }
}


div.justificado p{
  text-align: justify;
}

/* CSS para la animación y localización de los DIV de cookies */

    @keyframes desaparecer
    {
    0%      {bottom: 0px;}
    80%     {bottom: 0px;}
    100%        {bottom: 0px;}
    }

    @-webkit-keyframes desaparecer /* Safari and Chrome */
    {
    0%      {bottom: 0px;}
    80%     {bottom: 0px;}
    100%        {bottom: 0px;}
    }

    @keyframes aparecer
    {
    0%      {bottom: 0px;}
    10%     {bottom: 0px;}
    90%     {bottom: 0px;}
    100%        {bottom: 0px;}
    }

    @-webkit-keyframes aparecer /* Safari and Chrome */
    {
    0%      {bottom: 0px;}
    10%     {bottom: 0px;}
    90%     {bottom: 0px;}
    100%        {bottom: 0px;}
    }
    #cookiesms1:target {
        display: none;
    }
    .cookiesms{
        width:100%;
        height:auto;
        margin:0 auto;
        padding-left:1%;
        padding-top:5px;
            /* font-size: 1.2em; */
        clear:both;
            font-weight: strong;
    color: #fff;
    bottom:0px;
    position:fixed;
    left: 0px;
    background-color: #000;
    opacity:0.95;
    filter:alpha(opacity=95); /* For IE8 and earlier */
    transition: bottom 1s;
    -webkit-transition:bottom 1s; /* Safari */
    -webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    -moz-box-shadow:    3px -3px 1px rgba(50, 50, 50, 0.56);
    box-shadow:         3px -3px 1px rgba(50, 50, 50, 0.56);
    z-index:999999999;
    text-align: center;
    }

  .cookiesms p{
    margin-bottom: 20px;
  }

    .cookiesms:hover{
    bottom:0px;
    }
    .cookies2{
    background-color: #FFF;
    display:inline;
/*    opacity:0.95;
    filter:alpha(opacity=95);*/
    position:absolute;
    left:1%;
    top:-30px;
    font-size:15px;
    height:30px;
    padding-left:25px;
    padding-right:25px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-topleft: 15px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    -webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    -moz-box-shadow:    3px -3px 1px rgba(50, 50, 50, 0.56);
    box-shadow:         3px -3px 1px rgba(50, 50, 50, 0.56);
    }

    .cookiesms a{
      color:#5db4a0;
    }

    .cookiesms a:hover{
      color:#ccc;
    }

    .cookiesms .btn-primary {
      color: #fff;
      background-color: #5db4a0;
      border-color: #5db4a0;
    }

    .cookiesms .btn-primary:hover {
      color: #fff;
      background-color: #1c555a;
      border-color: #1c555a;
    }


    /* Fin del CSS para cookies */


    /*estilos pagins 404*/

.error404 h2 {
  font-size: 300px;
  line-height: 300px;
  color: #5db4a0;
}

.error404 ul {
    list-style: none;
}

.error404 {
    margin: 50px 0;
}


@media(max-width:991px) {

  .error404 ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    }

    .error404 h2, .error404 h4 {
      text-align: center;
    }

    .error404 .fa {
      display: none;
    }
}

@media(max-width:559px) {
  .error404 h2 {
      font-size: 152px;
      line-height: 122px;
      color: #5db4a0;
  }
}

/*estilos resultados busqueda*/

.resultadosBusqueda h3 {
    font-size: 19px!important;
    line-height: 30px!important;
}

.resultadosBusqueda h3 a {
  color:#6e6e6e;
}

.resultadosBusqueda li {
  /*
      list-style: none;
    padding: 0 33px !important;
    background: url("../images/lupaNaranja.png") no-repeat scroll 3px 7px;
    border-bottom: 1px solid #f8ebe5;
    */
}

#search-form{ display:none;}


#edit-help-link {
    font-size: 12px;
  display: block;
  padding: 19px 0 0 20px;
  background: url("../images/ayuda.png") no-repeat scroll 0px 20px;
}

/*stilos menu responsive*/

@media(max-width:767px) {
  .navbar-toggle .icon-bar {
      background-color: #5db4a0;
  }

  #menuPrincipal {
      width: 200px;
      float: right;
      border: 1px solid #5db4a0;
      margin-right: 11px;
      position: absolute;
    background: #fff;
    z-index: 10000;
    right: 15px;
    top: 68px;
    box-shadow: 1px 3px 3px;
  }
  #menuPrincipal ul {
      margin: 0;
      padding: 0;
      margin-bottom: 10px;
  }

  #menuPrincipal li {
      line-height: 16px !important;
        }
  #menuPrincipal li a{
      padding: 10px!important;
  }
  .dropdown-menu {
      /*min-width: 100%;
      position: relative;
      border-top-color: #f4ae8e;
    border-bottom-color: #f4ae8e;
    border-left: none;
    border-right: none;*/
    display: none !important;
  }

  .dropdown-menu > li > a {
      white-space: normal!important;
  }


}
@media(max-width:400px) {

  #menuPrincipal{
    width: 100%;
    right: auto;
  }
  .form-item-search-block-form input {
    width: 94px;
    line-height: 35px;
    border: none;
    padding: 0 10px;
    color: #505050;
    height: 35px;
  }
  .sobreMenu ul:not(.links) {
    display: none;
}

}


/*boton bottom*/

#back-top a:hover span#button, #back-top-prev a:hover span#button-prev {
    opacity: 1;
    filter: alpha(opacity = 100);
}
#back-top span#button:hover {
    opacity: 1;
    filter: alpha(opacity = 1);
    background-color: #5db4a0;
}
#back-top span#button {
    background-color: #000;
}
#back-top span#button, #back-top-prev span#button-prev {
    width: 50px;
    height: 50px;
    display: block;
    margin-bottom: 7px;
    background-color: #000;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(/sites/Sice/files/2016-04/up-arrow.png);
    opacity: 0.8;
    filter: alpha(opacity = 80);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top a, #back-top-prev a {
    width: 50px;
    display: block;
    text-align: center;
    font: 11px/100% Arial,Helvetica,sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}

#back-top {
    right: 40px;
    display: none;
}
#back-top {
    position: fixed;
    bottom: 10px;
    margin-left: 20px;
    z-index: 499;
    _position: absolute;
    _top: expression(documentElement.scrollTop+body.scrollTop);
    _margin-top: 500px;
}

span#link {
    display: none;
}

.separacion {
    border: 3px solid #5db4a0;
    margin: 30px 0;
}

.articulo-img {
    float: left;
    padding-right: 24px !important;
}

.articulodetalle {
    padding-bottom: 20px;
}


/* añadido Tomás */
.diapoText p, #menuPrincipal a, .sobreMenu{font-size: 14px;}
.seccion-lineas .botonHome:hover {
  border-color: #fff;
}
.seccion-lineas .botonHome img {
    max-width: 65px;
    max-height: 65px;
}
.seccion-lineas .botonHome h3 {
    font-size: 14px;
    padding-left: 8px;
}

.botoneraHome .panel{
  background-color: #efefef;
  box-shadow:none;
}

div.justificado .botonNaranja a{
  text-decoration: none;
}

.cookiesms .btn-gris {
    background-color: #949494;
    border-color: #949494;
    color: #fff;
}

.cookiesms ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.cookiesms ul li{
  text-align: left;
}


.dropdown-menu > li > a{
  white-space: normal;
}

/*.noticiashome { height: 105px; }*/
@media only screen and (max-device-width : 1024px)  {
  /*.noticiashome { height: 140px; }*/
  .igualaColumnas { margin-bottom: 15px;}
  #issues img{ padding-top: 5%!important}
}
@media only screen and (max-device-width : 365px)  {
  .form-item-search-block-form input{width: 75px;}
  #formOfertas input{width: 49%!important;}

}



.lineaNoSice {height: 90px; padding-right: 0;}
.lineaNoSice a{font-size: 20px!important;}
.lineaNoSice .img-proyecto{width: auto; height: 85px}

.btn-primary {
    background-color: #000;
    border-color: #000;
    color: #fff;
    text-decoration: none!important;
}
.btn-primary:hover {
    background-color: #5db4a0;
    border-color: #5db4a0;
    color: #fff;
}

.listadoDocumentacionAmpliable, .archivos-documentacion {overflow: hidden;}


#form404search input[type=text]{
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
}

.btn_rrss{   float: right; list-style: outside none none; margin-left: 15px;}
.btn_rrss li{float:right; padding-right: 5px;}

.resultadosBusqueda h3 a{ color: #000; text-decoration: none; }
.resultadosBusqueda li { padding-bottom: 10px; color: #000; font-size: 18px;}
.resultadosBusqueda li p{ color: #333; font-size: 14px;}
.pager li > a, .pager li > span{text-decoration: none!important; font-size: 14px;}



/* añadido MAD para sice 2.0*/

.carousel-control.right, .carousel-control.left {
    background-image: none;
}

.mapaHome .glyphicon.glyphicon-chevron-left, .mapaHome .glyphicon.glyphicon-chevron-right {
    display: none;
}

#ActualidadCarousel .body-proyecto a, .panel-body a {
    font-size: 0.75em;
}

#ActualidadCarousel p {
  font-size: 1em
}


/* añadido MAD para timeline */
@media screen and (min-width: 801px) {

    #timeline * {
  margin: 0;
  padding: 0;
}



#timeline {
  background: #fff;
  color: #ccc;
  font-size: 14px;
  padding: 0;
  width: 800px;
    overflow: hidden;
    margin: 10px auto;
    position: relative;
    background: url('../images/dot.gif') left 45px repeat-x;
}



  #timeline a {
  color: #000;
}


    #timeline #dates {
      width: 800px;
      height: 60px;
      overflow: hidden;
    }
      #timeline #dates li {
        list-style: none;
        float: left;
        width: 100px;
        height: 50px;
        font-size: 24px;
        text-align: center;
        background: url('../images/biggerdot.png') center bottom no-repeat;
      }
        #timeline #dates a {
          line-height: 38px;
          padding-bottom: 10px;
          text-decoration: none;
        }
        #timeline #dates a:hover{
          color:#5db4a0;
        }
        #timeline #dates .selected {
              font-size: 38px;
        }

    #timeline #issues {
      width: 800px;
      height: 350px;
      overflow: hidden;
      margin-top: 20px;
    }
      #timeline #issues li {
        width: 800px;
        height: 350px!important;
        list-style: none;
        float: left;
      }
        #timeline #issues li.selected img {
          -webkit-transform: scale(1.1,1.1);
          -moz-transform: scale(1.1,1.1);
            -o-transform: scale(1.1,1.1);
            -ms-transform: scale(1.1,1.1);
            transform: scale(1.1,1.1);
        }
        #timeline #issues li img {
          float: left;
          margin: 10px 30px 10px 50px;
          background: transparent;
          -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
          zoom: 1;
          -webkit-transition: all 2s ease-in-out;
          -moz-transition: all 2s ease-in-out;
          -o-transition: all 2s ease-in-out;
          -ms-transition: all 2s ease-in-out;
          transition: all 2s ease-in-out;
          /*
          -webkit-transform: scale(0.7,0.7);
          -moz-transform: scale(0.7,0.7);
            -o-transform: scale(0.7,0.7);
            -ms-transform: scale(0.7,0.7);
            transform: scale(0.7,0.7);
          */
        }
        #timeline #issues li h1 {
          font-size: 14px;
          line-height: 1.1;
          color: #000;
          text-transform: uppercase;
          margin-right: 15px;
          margin-top: 10px;
        }
        #timeline #issues li p {
          font-size: 14px;
          margin-right: 70px;
          font-weight: normal;
          line-height: 22px;
          color: #505050;
          font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
        }

    #timeline #grad_left,
    #timeline #grad_right {
      width: 100px;
      height: 350px;
      position: absolute;
      top: 0;
    }
      #timeline #grad_left {
            left: 0;
            background: url('../images/grad_left.png') repeat-y;
      }
      #timeline #grad_right {
            right: 0;
            background: url('../images/grad_right.png') repeat-y;
      }

    #timeline #next,
    #timeline #prev {
      position: absolute;
      top: 0;
      font-size: 70px;
      top: 170px;
      width: 22px;
      height: 38px;
      background-position: 0 -76px;
      background-repeat: no-repeat;
      text-indent: -9999px;
      overflow: hidden;
    }
      #timeline #next:hover,
      #timeline #prev:hover {
        background-position: 0 0;
      }
      #timeline #next {
        right: 0;
        background-image: url('../images/next.png');
      }
      #timeline #prev {
        left: 0;
        background-image: url('../images/prev.png');
      }
        #timeline #next.disabled,
        #timeline #prev.disabled {
          opacity: 0.2;
        }

}

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

  #timeline * {
  margin: 0;
  padding: 0;
}


#timeline {
  background: #fff;
  color: #ccc;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

#timeline a {
  color: #000;
  text-decoration: none;
}

#timeline h1,#timeline h2,#timeline h4,#timeline h5,#timeline h6 {
  text-align: center;
  color: #ccc;
  margin-bottom: 5px;
}
  #timeline h1 {
    font-size: 18px;
  }
  #timeline h2 {
    font-size: 14px;
  }
.sociales {
  text-align: center;
  margin-bottom: 20px;
}

  #timeline {
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 40px auto;
    position: relative;
    background: url('../images/dot.gif') 3px top repeat-y;
  }
    #timeline #dates {
      width: 20%;
      height: 600px;
      overflow: hidden;
      float: left;
    }
      #timeline #dates li {
        list-style: none;
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 15px;
        padding-left: 10px;
        background: url('../images/biggerdot.png') left center no-repeat;
      }
        #timeline #dates a {
          line-height: 38px;
          padding-bottom: 10px;
          text-decoration: none;
        }

        #timeline #dates a:hover{
          color:#5db4a0;
        }

        #timeline #dates .selected {
              font-size: 21px;
        }

    #timeline #issues {
      width: 80%;
      height: 600px!important;
      overflow: hidden;
      float: left;

    }
      #timeline #issues li {
        width: 90%;
        height: 600px;
        list-style: none;

      }
        #timeline #issues li.selected img {
          -webkit-transform: scale(1.1,1.1);
          -moz-transform: scale(1.1,1.1);
            -o-transform: scale(1.1,1.1);
            -ms-transform: scale(1.1,1.1);
            transform: scale(1.1,1.1);
        }
        #timeline #issues li img {
          width: 100%;
          height: auto;
          float: left;
          padding: 15%;
          -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
          zoom: 1;
          -webkit-transition: all 2s ease-in-out;
          -moz-transition: all 2s ease-in-out;
          -o-transition: all 2s ease-in-out;
          -ms-transition: all 2s ease-in-out;
          transition: all 2s ease-in-out;
          -webkit-transform: scale(0.7,0.7);
          -moz-transform: scale(0.7,0.7);
            -o-transform: scale(0.7,0.7);
            -ms-transform: scale(0.7,0.7);
            transform: scale(0.7,0.7);
        }
        #timeline #issues li h1 {
          font-size: 14px;
          line-height: 1.1;
          color: #000;
          text-transform: uppercase;
          margin-right: 15px;
          width: 100%

        }
        #timeline #issues li p {
          font-size: 13px;
          margin: 10px 15px;
          font-weight: normal;
          line-height: 22px;
          color: #505050;
          font-family: "Trebuchet MS","Open Sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;

        }

    #timeline #grad_top,
    #timeline #grad_bottom {
      width: 500px;
      height: 80px;
      position: absolute;
    }
      #timeline #grad_top {
            top: -40px;
            background: url('../images/grad_top.png') repeat-x;
      }
      #timeline #grad_bottom {
            bottom: -40px;
            background: url('../images/grad_bottom.png') repeat-x;
      }

    #timeline #next,
    #timeline #prev {
      position: absolute;
      left: 53%;
      font-size: 70px;
      width: 38px;
      height: 22px;
      background-position: 0 -44px;
      background-repeat: no-repeat;
      text-indent: -9999px;
      overflow: hidden;
    }
      #timeline #next:hover,
      #timeline #prev:hover {
        background-position:  0 0;
      }
      #timeline #next {
        bottom: 0;
        background-image: url('../images/next_v.png');
      }
      #timeline #prev {
        top: 0;
        background-image: url('../images/prev_v.png');
      }
        #timeline #next.disabled,
        #timeline #prev.disabled {
          opacity: 0.2;
        }

}

/* añadido MAD para grupo de empresas */

.panel-pane {
    position: relative;
}
.pane-node-field-parrafos, .entity-paragraphs-item {
    overflow: hidden;
    *zoom: 1;
}

.paragraphs-item-organigrama .group-second-level {
    background: none !important;
    border: 1px solid #5db4a0 !important;
    padding: 12px !important;
    margin-top: 5px !important;
}

  .paragraphs-item-organigrama .group-first-level {
      background: url(../images/vert-line-bg.png) top center repeat-y;
  }
  .paragraphs-item-organigrama .group-first-level, .paragraphs-item-organigrama .group-second-level {
      overflow: hidden;
      *zoom: 1;
      display: table;
      margin: 0 auto;
      width: 100%;
      position: relative;
  }

  .paragraphs-item-organigrama .field--name-field-first-level-image {
      display: table;
      margin: 0 auto 1.875rem;
      width: auto;
      background: white;
  }

    .paragraphs-item-organigrama .field--name-field-second-level-image {
        display: table-cell;
        vertical-align: middle;
        width: auto;
        margin: 0;
    }

  .paragraphs-item-organigrama .field--name-field-first-level-image, .paragraphs-item-organigrama .field--name-field-second-level-image {
      padding: 0.3125rem;
  }

  .paragraphs-item-organigrama .field--name-field-second-level-image img {
      margin: 0 auto;
      background: white;
      max-width: 100%;
      height: auto;
  }
  .paragraphs-item-organigrama .field--name-field-first-level-image img, .paragraphs-item-organigrama .field--name-field-second-level-image img {
      display: block;
  }

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

  .paragraphs-item-organigrama .field--name-field-second-level-image {
    display: block;
  }
  .paragraphs-item-organigrama .group-first-level, .paragraphs-item-organigrama .group-second-level {
      width:auto;
  }
}



