/**
 * Place your custom styles here.
 */
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /*padding-top: 3rem;*/
  margin-top: 0px;
  
  color: #5a5a5a;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 1rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
  
  background: url(/sites/default/files/rellenotransparente.png);
  /*
  background: black;
  opacity: 0.5;*/
  
  padding: 15px;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  /* height: 32rem;*/
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 4rem;
  }
}

.navbar .form-group{
    margin-bottom : 0px;
}

.navbar #search-block-form{
    padding-top: 5px;
}

.navbar.container {
    max-width: none;
}
.ctnefactura{
    padding-top: 5rem;
}
.contact{
    padding: 40px 0px;
}
.contact .info i {
    font-size: 20px;
    color: #004d94;
    float: left;
}
.contact .info p {
    padding: 0 0 10px 30px;
    /* margin-bottom: 20px;*/
    line-height: 22px;
    font-size: 14px;
}
.contact .social-links a {
    font-size: 30px;
    display: inline-block;
    background: #444;
    color: #fff;
    line-height: 1;
    padding: 10px 0;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    transition: 0.3s;
    /* padding: 0px 5px;  3d91c4*/
    margin: 0px 5px;
}
.contact .social-links a:hover{
    background: #004d94;
    color: #fff;
}
#logoUNPA{
    float:right;
    padding-right: 10px;
    
}


.footer-copyright {
    overflow: hidden;
    height: 50px;
    line-height: 50px;
    
    background-color: rgba(51, 51, 51, 0.08);
}
.cntlogo{
    padding-top: 10px;
}
.cntlogo h5{
    padding: 5px;
}

.footer{
    margin-top: 0px;
    border-top: none;
}
.btn-primary {
    color: #fff;
    background-color: #3d91c4;
    border-color: #3d91c4;
}
.news-container{
    padding: 20px 0px;
}

.cntImagenNoticiaFull{
    padding:15px 0px;
    text-align: center;
}

.footer {
    padding-top: 15px;
    padding-bottom: 15px;
}

.main-container, #ctn_region_slide{
    margin-top: 86px;
    padding-top: 10px;
}

#ctn_region_slide{
    margin-bottom: -60px;
}

#listPersonas img{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);	
}

#listPersonas img:hover{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);	
}


#ctn_region_slide{
    margin-right: 0px;
}
#ctn_region_slide .region-region-slide{
    width: 100%;
}
.galeria-de-fotos .author, .video .author, .article .author{
    flex-wrap: wrap;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #eeeeee;
    border-radius: 0.25rem;
}

.video .field--name-body{
        padding: 0px 15px 15px 15px;
}

.galeria-de-fotos .blazy--grid{
    background: #eeeeee;
    padding-top: 10px;
}

.galeria-de-fotos .blazy__caption{
    padding: 5px;
    background: white;
}

.mask{
    opacity: 0;
    background-color: rgba(0,0,0,.5);
    transition: all .4s ease-out;
    color: white;
}
.mask a{
    
    color: white;
}

.mask:hover{
    opacity: 1;
    transition: all .4s ease-out;
}

.flex-center{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center; 
    -webkit-justify-content: center; 
    -ms-flex-pack: center;
    justify-content: center; 
    -webkit-box-align: center; 
    -webkit-align-items: center; 
    -ms-flex-align: center;
    align-items: center; 
}

.zoom:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.zoom {
    overflow: hidden;
}
.zoom img {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    
}

#field_acta_sede, #field_instrumento_legal_sede{
    padding: 10px 0px;
}

.acta .file-link{
    padding: 15px 0px;
}

.instrumento-legal .file-link{
    padding: 15px 0px;
}

.instrumento-legal .field--name-field-archivo-instrumento{
    padding-top: 15px;
}
.tipo_contenido{
    display:block;
    width:100%;
    color:white;
    padding:3px 5px;
    
}

.tipo_galeria{
    background: rgba(164,3,111,1);
    background: -moz-linear-gradient(left, rgba(164,3,111,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(164,3,111,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(164,3,111,1) 0%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(164,3,111,1) 0%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(164,3,111,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(164,3,111,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4036f', endColorstr='#ffffff', GradientType=1 );
}

.tipo_video{
    background: rgba(22,219,147,1);
    background: -moz-linear-gradient(left, rgba(22,219,147,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(22,219,147,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(22,219,147,1) 0%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(22,219,147,1) 0%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(22,219,147,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(22,219,147,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#16db93', endColorstr='#ffffff', GradientType=1 );

}

.tipo_noticia{
    background: rgba(50,13,109,1);
    background: -moz-linear-gradient(left, rgba(50,13,109,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(50,13,109,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(50,13,109,1) 0%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(50,13,109,1) 0%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(50,13,109,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(50,13,109,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#320d6d', endColorstr='#ffffff', GradientType=1 );
}

.tipo_contenido_teaser{
    padding:0px 5px 0px 0px;
}

.tipo_noticia_teaser{
    color: #320d6d;
}

.tipo_galeria_teaser{
    color: #a4036f;
}

.tipo_video_teaser{
    color: #16db93;
}

.tipo_acta_teaser,.tipo_reglamento_teaser{
    color: #5a5a5a;
}

article.teaser{
    padding: 15px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.teaser h2{
    text-align: justify;
}
.teaser .author{
    font-size: .95em;
    text-align: right;
}
.feed-icons{
    margin-top: 20px;
}

.pager-nav ul.pagination{
    display: block;
}

.pager-nav ul.pagination li.pager__item{
    display: inline-block;
    padding: 0 0.4em;
}

.pager-nav ul.pagination .pager__item.is-active a {
    border-bottom-width: 3px;
    border-bottom-color: #2a678c;
    
    font-weight: 700;
}

.pager__item a {
    border-bottom: 2px solid transparent;
    line-height: 1.55em;
    padding: 0 5px 2px;
    font-weight: 600;
    text-decoration: none;
    transition: border-bottom-color 0.2s;
    -webkit-font-smoothing: antialiased;
}
