body {
	font-family: Arial, Helvetica, "Liberation Sans";
	font-size: 16px;
}

.full-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    height: auto;
}

.container-logos {
    /* Color de fondo del encabezado principal */
    background: rgba(0,0,169,1);
    background: -moz-linear-gradient(top, rgba(0,0,169,1) 0%, rgba(1,12,176,1) 8%, rgba(0,53,188,1) 21%, rgba(0,62,197,1) 49%, rgba(0,53,188,1) 78%, rgba(1,12,176,1) 92%, rgba(0,0,169,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,169,1)), color-stop(8%, rgba(1,12,176,1)), color-stop(21%, rgba(0,53,188,1)), color-stop(49%, rgba(0,62,197,1)), color-stop(78%, rgba(0,53,188,1)), color-stop(92%, rgba(1,12,176,1)), color-stop(100%, rgba(0,0,169,1)));
    background: -webkit-linear-gradient(top, rgba(0,0,169,1) 0%, rgba(1,12,176,1) 8%, rgba(0,53,188,1) 21%, rgba(0,62,197,1) 49%, rgba(0,53,188,1) 78%, rgba(1,12,176,1) 92%, rgba(0,0,169,1) 100%);
    background: -o-linear-gradient(top, rgba(0,0,169,1) 0%, rgba(1,12,176,1) 8%, rgba(0,53,188,1) 21%, rgba(0,62,197,1) 49%, rgba(0,53,188,1) 78%, rgba(1,12,176,1) 92%, rgba(0,0,169,1) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,169,1) 0%, rgba(1,12,176,1) 8%, rgba(0,53,188,1) 21%, rgba(0,62,197,1) 49%, rgba(0,53,188,1) 78%, rgba(1,12,176,1) 92%, rgba(0,0,169,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,169,1) 0%, rgba(1,12,176,1) 8%, rgba(0,53,188,1) 21%, rgba(0,62,197,1) 49%, rgba(0,53,188,1) 78%, rgba(1,12,176,1) 92%, rgba(0,0,169,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000a9', endColorstr='#0000a9', GradientType=0 );
}

.container-logos #logo-boletin {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

.container-logos #logo-udb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-period {
    /* Old browsers */
    background: #0360ff; 
    /* FF3.6-15 */
    background: -moz-linear-gradient(top, #0360ff 0%, #0371ff 51%, #0360ff 100%); 
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(top, #0360ff 0%,#0371ff 51%,#0360ff 100%); 
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    background: linear-gradient(to bottom, #0360ff 0%,#0371ff 51%,#0360ff 100%); 
    /* IE6-9 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0360ff', endColorstr='#0360ff',GradientType=0); 
}

.publication-period h4 {
    line-height: 1.25em;
}

.publication-period h4 em {
    color: #fff;
    font-family: 'MyriadPro-Italic',Arial,Helvetica,"Liberation Sans";
    font-size: 0.85rem;
    font-style: Italic;
    font-weight: 300;
}

.publication-period h4 span {
    color: #fff;
    font-family: 'Montserrat-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.8rem;
    font-weight: 300;
}

.icons-socialnetworks {
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.icons-socialnetworks p {
    margin-right: 1em;
    text-align: right;
}

.social-network {
    display: inline-block;
    padding: 14px 2px 20px 2px;
}

/* Inicio de estilos de la noticia de portada */
.content-right {
    /* background-color: #99CCFF; */
    border-top: 2px solid #09F;
    border-bottom: 2px solid #09F;
    padding-top: 2.8em;
}

.content-right h2 {
    color: #231F20;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.1em;
    /*margin-bottom: 0.5em;*/
    text-align: center;
}

.content-right h3 {
    color: #003FC5;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.1em;
    text-align: center;
}

.content-right h4 {
    color: #003FC5;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
}

.content-right h5 {
    color: #231F20;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 1.75rem;
    font-weight: 300;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    line-height:0.8em;
    text-align: center;
}

.content-right h6 {
    color: #231F20;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 0.65em;
    line-height:1.1em;
    text-align: center;
}

.content-right p {
    color: #231F20;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 1.35rem;
    font-weight: 200;
    line-height:1.1em;
    text-align: center;
}

.content-right h5 em {
    background: #FFD700;
    font-style: normal !important;
}

.content-right p em {
    background: #FFD700;
    font-style: normal;
}

.content-right p strong {
    font-family: 'MyriadPro-Semibold',Arial,Helvetica,"Liberation Sans";
    font-style: normal;
    font-weight: 500;
}

.content-right p a {
    text-align: center;
}

.content-right p:last-child {
    margin-top: 1.2em;
    padding-bottom: 2.4em;
}

.content-right p:last-child a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

.content-right p:last-child a:hover {
    color: #22aaFF;
    text-decoration: underline;
}
/* Final de los estilos de la noticia de portada */

/* Inicio estilos de las noticias de segundo nivel de importancia */
.second-news {
    margin-top: 2em;
    font-size: 16px;
}

.second-news img {
    color: #231F20;
    width: 100%;
    height: 100%;
}

.second-news div div:last-child {
    margin-top: 0.75em;
}

.second-news div div:last-child a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

/*.second-news div:nth-child(2) div {
    margin-top: 12px;
}*/

.second-news h3 {
    color: #231F20;
    font-family: 'Montserrat-SemiBold',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.1em;
    text-align: left;
}

.second-news h4 {
    color: #231F20;
    /*font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";*/
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.1em;
    text-align: center;
}

.second-news h4 em {
    background: #FFD700;
	font-family: 'Montserrat-Semibold',Arial,Helvetica,"Liberation Sans";
    font-size: 1.2rem;
	font-style: normal;
    font-weight: 500;
    margin-top: 0.4em;
    text-align: left;
}

.second-news h3 {
    font-style: bold;
    text-align: center;
}

.second-news p {
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 1.1rem;
    line-height: 1.1em;
    font-weight: 300;
    margin-top: 0.4em;
    text-align: center;
}

/* Imagen en la esquina inferior derecha del contenedor .second-news */
.second-news .col:last-child {
    background: url(../img/esquina-cyan-peq.png) no-repeat 99% 100%;
}

/* Esquina triangular de color cyan */
.second-news div.col:nth-child(4) {
    background: url("../img/esquina-cyan-peq.png") no-repeat 100% 98%;
}
/* Final de los estilos de las noticias de segundo nivel de importancia */

/* Noticias laterales */
.aside-news h2 {
    color: #231F20;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.1em;
    /* text-align: center; */
}

.aside-news h3 {
    color: #404041;
    font-family: 'MyriadPro-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.1em;
    /* text-align: center; */
}

.aside-news h3 .bold {
    font-weight: 800;
}

.aside-news h3 .bold .bluee {
    color: #003FC5;
    font-style: normal;

}

.aside-news h4 {
    color: #404041;
    font-family: 'Montserrat-Bold',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.1em;
    /* text-align: center; */
}

.aside-news h5 {
    color: #003FC5;
    font-family: 'Montserrat-Semibold',Arial,Helvetica,"Liberation Sans";
    font-size: 1.25rem;
    font-weight: 600;
    /* margin-bottom: 0.6em; */
    line-height:1.1em;
}

.aside-news p {
    color: #231F20;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 1.15rem;
    font-weight: 200;
    line-height:1.1em;
    margin-top: 0.5em;
}

.aside-news .col .row {
    /* display: -webkit-flex;
    display: flex;
    -webkit-align-content: auto;
    align-content: auto; */
    display: flex;
    flex-direction: row;
    margin-bottom: 3em;
}

.aside-news .col .row .col:nth-child(2) {
    border-bottom: 1px solid #d3d3d3;
}

#bottom-link1 {
    /* margin-top: 3em; */
    bottom: -4em;
    display: block; 
    margin-right: 0.75em;
    text-align: right;
    position: relative; 
}

#bottom-link1 a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

#bottom-link1 a:hover {
    color: #22aaFF;
    text-decoration: underline;
}

#bottom-link2 {
    /* margin-top: 3em; */
    bottom: -6.2em;
    display: block; 
    margin-right: 0.75em;
    text-align: right;
    position: relative; 
}

#bottom-link2 a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

#bottom-link2 a:hover {
    color: #22aaFF;
    text-decoration: underline;
}
/* Final de los estilos de las noticias de segundo nivel */

/* Estilos de la sección noticias finales div class="end-news" */
.end-news {
    display: flex;
    margin-top: 0.5em;
}

.end-news .col {
    margin-top: 0.6em;
}

.end-news h3 {
    color: #404041;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.2em;
    text-align: left;
    margin-left: 0.5em;
}

.end-news h4 {
    color: #0099FF;
    font-family: 'Montserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.2em;
    margin-left: 0.5em;
    text-align: left;
}

.end-news h5 {
    color: #404041;
    font-family: 'MyriadPro-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2em;
    margin-left: 0.5em;
    text-align: left;
}

.end-news p {
    color: #0099FF;
    /* color: #404041; */
    font-family: 'Monserrat-Regular',Verdana,Helvetica,"Liberation Sans";
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2em;
    text-align: left;
	margin-top: 0.25em;
}

/*.end-news p em {
    font-style: normal;
    font-weight: 600;
}*/

.end-news:nth-child(2) p {
    margin-top: 0.6em;
}

.end-news .col:nth-child(2) {
    background: url("../img/esquina-superior-cyan-peq.png") no-repeat 0 0;
    z-index: 10000;
}

.end-news .col:last-child {
    background: url("../img/esquina-cyan-peq.png") no-repeat 99% 100%;
}

.third-news {
    background: url("../img/esquina-superior-cyan-peq.png") no-repeat 0 0;
    height: 100px;
    width: 100px;
    position: absolute;
}

/*.end-news #third-news {
    background: url("../img/esquina-superior-cyan-peq.png") no-repeat 0 0;
}*/

#textendnews1 {
    /*align-items: flex-end !important;*/
    align-self: flex-end;
}

#link-endnews1 {
    bottom: 0;
    display: block; 
    margin-right: 0.75em;
    margin-top: 2em;
    text-align: right;
    position: relative;
}

#link-endnews1 a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

#link-endnews1 a:hover {
    color: #22aaFF;
    text-decoration: underline;
}

#link-endnews2 {
    bottom: 0;
    display: block; 
    margin-right: 0.75em;
    margin-top: 13.5em;
    text-align: right;
    position: relative;
}

@media (max-width: 480px) {
    #link-endnews2 {
        margin-top: 2em;
    }
}

@media (min-width: 481px) and (max-width: 960px) {
    #link-endnews2 {
        margin-top: 3em;
    }   
}

/*@media (min-width: 301px) and (max-width: 600px) and (orientation: landscape) {
    #link-endnews2 {
        margin-top: 2em;
    }
}

@media (min-width: 0px) and (max-width: 300px) and (orientation: landscape) {
    #link-endnews2 {
        margin-top: 1em;
    }
}*/

#link-endnews2 a:link {
    color: #0099FF;
    font-family: 'MyriadPro-Regular',Arial,Helvetica,"Liberation Sans";
    font-size: 0.9em;
    font-weight: 600;
    line-height:1.1em;
    text-decoration: none;
}

#link-endnews2 a:hover {
    color: #22aaFF;
    text-decoration: underline;
}

/* Final de la sección noticias finales div class="end-news" */
footer .banners {
    background-color: #ddd;
    margin-top: 2%;
}

footer .banners img {
    display: block;
    margin: auto;
    max-width: 100%;
}

/* Media queries */
@media (max-width: 600px) {
    .container-logos {
        display: -webkit-flex; /* Safari */
        display: flex;
        -webkit-flex-direction: column-reverse; /* Safari 6.1+ */
        flex-direction: column-reverse; 
    }

    #logo-boletin {
        /* Alineación del contenido, específicamente los logos */
        display: -webkit-flex; /* Safari */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #logo-udb {
        /* Alineación del contenido, específicamente los logos */
        display: -webkit-flex; /* Safari */
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

}

/* Tratamiento de imágenes adaptables cuando su contenedor sobrepasa las dimensiones 
   tamaño natural de la imagen */
@media (min-width: 600px) and (max-width: 992px) {
    .responsive-img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Posicionamiento de los enlaces con clase .bottom-link para dimensiones de 660px o inferiores */
    #bottom-link1 {
        margin-right: 0.1em;
        position: relative; 
        display: block; 
        bottom: 0.2em;
    }

    #bottom-link2 {
        margin-right: 0.1em;
        position: relative; 
        display: block; 
        bottom: 0.2em;
    }

    #link-endnews1 {
        margin-right: 0.5em;
        position: relative; 
        display: block; 
        bottom: 0.1em;
    }

    #link-endnews2 {
        margin-right: 0.5em;
        position: relative; 
        display: block; 
        bottom: 0.1em;
    }
}

@media (min-width: 992px) {
    #bottom-link1 {
        position: relative; 
        display: block; 
        bottom: -6.2em;
    }
}

@media (max-width: 600px) {
    .responsive-img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Posicionamiento de los enlaces con clase .bottom-link para dimensiones de 660px o inferiores */
    #bottom-link1 {
        margin-right: 0.1em;
        position: relative; 
        display: block; 
        bottom: 0.2em;
    }

    #bottom-link2 {
        margin-right: 0.1em;
        position: relative; 
        display: block; 
        bottom: 0.2em;
    }

    #link-endnews1 {
        margin-right: 0.6em;
        position: relative; 
        display: block; 
        bottom: 0.1em;
    }

    #link-endnews2 {
        margin-right: 0.6em;
        position: relative; 
        display: block; 
        bottom: 0.1em;
    }
}