/*
*
* NOTICIA
*
*/
:root {
    --bg-color: #15284c;
}

#noticia {
    width: 80%;
    color: #090909;
    font-size: 1rem;
    position: relative;
    margin-left: 13%;
}

.imgCursoFull {
    pointer-events: none;
}

#noticia h2 {
    color: rgba(0,0,0,0.3);
    font-size: 1.8rem;
}

#noticia i {
    color: rgba(21, 40, 76, 1);
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

#noticia h2 b {
    font-size: 0.8rem;
    color: black;
    font-weight: lighter;
}

#noticia p {
    width: 90%;
    display: inline-block;
    vertical-align: top;
    margin-left: 0;
    margin-right: 4%;
    margin-top: 1rem;
}

#descCurso .newsDate {
    position: absolute;
    top: 20rem;
    text-align: right;
    width: 100%;
    padding-right: 1.5rem;
    left: 0;
}

.descNew {
    position: relative;
}

#sectoresNoticia {
    display: grid;
    grid-template-columns: 42% 58%;
}

#sectoresNoticia div:first-child {
    width: 100%;
}
#sectoresNoticia div img {
    border-radius: 0.2rem;
}
#sectoresNoticia i {
    color: inherit;
    font-size: 1rem;
}

#subImgCarousel {
    width: 100%;
    display: flex;
}

#subImgCarousel:first-child {
    margin-left: 0;
}

#subImgCarousel:last-child {
    margin-right: 0;
}

#noticia #subImgCarousel img, #noticia #subImgCarousel video, #aulas #subImgCarousel img, #aulas #subImgCarousel video {
    max-width: 500px;
    height: 8rem;
    margin-right: 2rem;
    width: 30%;
    background-color: #adadad;
    cursor: pointer;
}

#noticia #subImgCarousel video, #aulas #subImgCarousel video {
    background-color: #adadad;
    width: 100%;
    margin-top: 2rem;
    min-height: 6rem;
}

.bb-item progress {
    -webkit-appearance: none;
    appearance: none;
    background-color: #008acf;
    opacity: 0;
    position: fixed;
    bottom: 12%;
    z-index: 3;
    width: 60%;
    left: 20%;
    transition: 0.5s;
}

.bb-item:hover progress {
    opacity: 1;
}

.bb-item progress[value]::-webkit-progress-bar {
    background-color: #adadad;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
    border-radius: 2px;
}

.bb-item progress[value]::-webkit-progress-value {
    background-color: #008acf;
}

#noticia #sectoresNoticia img:hover, #noticia #subImgCarousel video:hover {
    cursor: pointer;
}

.spanVideo {
    position: relative;
    margin: 0 2rem 0 0;
}

#noticia .spanVideo i {
    position: absolute;
    top: 47%;
    left: calc((100% - 2.5rem)/2);
    padding:1rem;
    border-radius:50%;
    background-color: #008acf;
    color: white;
    font-size: 0.5rem;
}

#noticia img, #aulas img {
    width: 100%;
    max-height: 40rem;
    display: inline-block;
    object-fit: cover;
}

#sectoresNoticia > div:nth-child(2){
    width: 100%;
    padding-left: 2rem;
}

#newsArrows {
    margin-top: 4rem;
    padding: 0 10% 2rem 10%;
    color: #008acf;
}

#leftArrow, #rightArrow {
    display: inline-block;
    width: 50%;
}

#leftArrow i, #rightArrow i {
    font-size: 2rem;
    vertical-align:middle;
}

#newsArrows div:hover p {
    text-decoration: underline;
}

#leftArrow p {
    margin-left: 1rem;
}

#rightArrow p {
    margin-left: calc(100% - 22rem);
    text-align: right;
}

#leftArrow p, #rightArrow p {
    font-size: 1.5rem;
    width: 20rem;
    display: inline-block;
    vertical-align: middle;
}

#otherNews {
    margin-top: 5rem;
    width: 74%;
}

#otherNews .new {
    width: 100%;
    margin: 5rem 0 5rem 0;
}

#otherNews .new img {
    /*opacity: 1;*/
    width: 30%;
    height: 26rem;
}

#otherNews .new  {
    height: 26rem;
}

#otherNews .new:hover {
    box-shadow:  0 2px 10px 3px rgba(0,0,0,0.15);
    background-color: transparent;
}

#otherNews .new:hover:after {
    background: transparent;
}

#otherNews .new .rightNew {
    position: static;
    width: 70%;
    margin-left: 30%;
    padding: 1.5rem 4rem;
}

#otherNews .new:hover .leftNew h1,#otherNews .new:hover .rightNew h1 {
    color: var(--bg-color);
}

#partsBox {
    text-align: center;
    padding: 3rem;
}

#partsBox span {
    border: 2px solid var(--bg-color);
    color: var(--bg-color);
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    margin-right: 1rem;
    border-radius: 0.2rem;
    cursor: pointer;
}

#partsBox .selected {
    background-color: var(--bg-color);
    color: white;
}

#otherNews [class*="part"] {
    display: none;
}

#otherNews .part1 {
    display: block;
}

#textoAulas img {
    cursor: pointer;
}

#otherNews h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--bg-color);
}

#otherNews > div {
    max-width: 100%;
}

#otherNews .cursoEffect {
    margin-right: 2rem;
}

#otherNews .invisibleBox {
    opacity: 0;
    box-shadow: none;
    pointer-events: none;
}

#otherNews .cursoEffect:hover {
    box-shadow: 0 1px  10px 4px rgba(0,0,0,0.3);
}

#otherNews a:last-child .cursoEffect{
    margin-right: 0;
}

#otherNews .cursoEffect .overBox p, #otherNews .cursoEffect p {
    display: inline-block;
    width: auto;
    max-height: 7rem;
    overflow: hidden;
    vertical-align: middle;
}

#otherNews .cursoEffect .overBox p {
    width: 45%;
    max-width: 45%;
    margin-right: 20%;
}

#otherNews .cursoEffect .overBox div {
    display: inline-block;
    width: 30%;
}

#otherNews .cursoEffect .overBox div span {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.arrowIcon {
    width: 1rem;
    display: inline-block;
    margin-right: 1rem;
}

/*
*
* NOTICIA FIN
*
*/

/*
*
* FullSizeImg
*
*/

#bb-bookblock {
    position: fixed;
    left: 10%;
    top: 10%;
    width: 80%;
    max-height: 80%;
    object-fit: cover;
    z-index: 100000;
}

.bb-bookblock {
    height: 80%;
}

#bb-bookblock img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.bb-item {
    position: fixed;
    top: 10%;
    left: 10%;
    pointer-events: none;
    width: 80%;
    min-width: 80%;
    max-width: 80%;
    height: 80%;
    overflow: hidden;
    opacity: 0;
    transition: 1s;
}

.bb-item video {
    object-fit: scale-down;
    height: 90%;
}

.greyLayer {
    opacity: 0;
    background-color: #090909;
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    transition: 0.5s;
}

.videoButton {
    line-height:0;
    padding:1rem;
    border-radius:50%;
    background-color: #008acf;
    color: white;
    font-size: 1rem;
    position: fixed;
    bottom: calc(10% + 0.5rem);
    left: calc(20% - 5rem);
    z-index: 2;
    opacity: 0;
    transition: 0.5s;
}

.soundButton {
    line-height:0;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius:50%;
    background-color: #008acf;
    position: fixed;
    bottom: calc(10% + 0.5rem);
    right: calc(20% - 5rem);
    z-index: 2;
    opacity: 0;
    transition: 0.5s;
    box-shadow: 0 1px  10px 4px rgba(0,0,0,0.1);
}

.bb-item:hover .soundButton {
    opacity: 1;
    cursor: pointer;
}

.bb-item:hover .videoButton {
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 1px  10px 4px rgba(0,0,0,0.3);
}

.bb-item:hover .greyLayer {
    opacity: 0;
}

#left-side, #right-side {
    position: fixed;
    top: 45%;
    z-index: 100000;
    font-size: 4rem;
    color: white;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

#left-side {
    left: 5rem;
}

#right-side {
    right: 5rem;
}

#left-side:hover, #right-side:hover {
    font-size: 6rem;
    top: calc(45% - 1rem);
}

#left-side:hover {
    left: 3rem;
}

#right-side:hover {
    right: 3rem;
}

/*
*
* Fin FullSizeImg
*
*/

/*
*
* MAIN NEWS
*
*/

/*#otherNews > div {
    display: inline-grid;
    grid-template-columns: 33.3% 33.3% 33.3%;
    grid-column-gap: 1%;
    overflow: visible;
}*/

#otherNews > div .cursoEffect {
    width: 100%;
    transition: 0.5s;
}

#mainNew .overBox p {
    font-size: 1.4rem;
    font-weight: bold;
}

#otherNews .cursoEffect:hover {
    z-index: 1;
}

/*
*
* MAIN NEWS
*
*/
/********** RESPONSIVE ***********/
@media screen and (max-width: 1280px){
    #otherNews {
        width: 80%;
    }
    #otherNews .cursoEffect p {
        width: 70%;
    }
    #otherNews .cursoEffect .overBox div {
        margin-left: calc(40% - 7rem);
    }
    #newsArrows {
        padding: 0 5% 2rem  5%;
    }
    #right-side {
        right: 0.5rem;
    }
    #left-side {
        left: 0.5rem;
    }
}
@media screen and (max-width: 800px){
    #otherNews .cursoEffect p {
        width: 70%;
    }
    #otherNews .cursoEffect .overBox div {
        margin-left: 0;
        width: 30%;
        text-align: right;
    }
    #noticia #subImgCarousel img, #noticia #subImgCarousel video, #aulas #subImgCarousel img, #aulas #subImgCarousel video {
        margin-right: 1rem;
    }
}
@media screen and (max-width: 680px){
    #otherNews > div {
        display: block;
    }
    #bb-bookblock {
        height: auto;
    }
    #sectoresNoticia {
        grid-template-columns: 100%;
    }
    #sectoresNoticia > div {
        width: 100%;
    }
    #noticia {
        width: 90%;
    }
    #noticia p {
        width: 100%;
    }

    #noticia .spanVideo {
        margin: 0;
        width: 100%;
    }

    #noticia .spanVideo i {
        z-index:1;
    }

    #noticia .spanVideo video {
        position: absolute;
    }

    #sectoresNoticia #subImgCarousel {
        display: grid;
        grid-template-columns: 45% 45%;
        grid-column-gap: 10%;
    }

    #sectoresNoticia #subImgCarousel img {
        width: 100%;
        margin-left: 0;
    }

    .bb-item video {
        height: 100%;
        width: 80%;
        object-fit: scale-down;
        margin-left: 10%;
    }

    #leftArrow, #rightArrow {
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }

    #leftArrow p, #rightArrow p {
        text-align: center;
        width: auto;
    }
    .videoButton {
        padding: 1.5rem;
        font-size: 1rem;
        left: calc((100% - 10rem)/2);
        top: auto;
        bottom: 15%;
    }

    .soundButton {
        padding: 1.2rem;
        left: calc((100% + 5rem)/2);
        bottom: calc(15%);
        min-width: 4rem;
        right: auto;
    }
}

@media screen and (min-width: 680px) and (max-width: 1280px) and (orientation: landscape){
    #mobileNewsView{
        display: none !important;
    }

    #otherNews .new .rightNew {
        margin-left: 40%;
    }

    #otherNews .new img {
        opacity: 1;
        pointer-events: all;
        width: 45%;
    }

    #otherNews .new .rightNew {
        width: 60%;
    }

    #otherNews .new {
        height: 20rem;
    }

    #otherNews .new .rightNew{
        padding-top: 0;
    }

    #otherNews{
        width: 100% !important;
        margin-left: 0 !important;
    }

    .rightNew h1{
        margin-top: 0 !important;
        white-space: initial !important;
    }
}