:root {
    --color01: #002D55;
    --color02: #002D55;
    --color03: #002D55;
    --blanco: #fff;
    --blanco02: #f5f5f5;
    --negro: #000000;
    --negro02: #333333;
    --rgba01: rgba(0, 0, 0, 0.5);
    --rgba02: rgba(255, 255, 255, 0.4);
    --rgba03: rgb(119, 192, 67, 0.6);
    --sombra01: 0 1px 3px rgba(16, 21, 28, 0.12), 0 1px 2px rgba(35, 28, 33, 0.24);
    --sombra02: 0 3px 6px rgba(49, 47, 48, 0.16), 0 3px 6px rgba(34, 34, 34, 0.23);
    --transition: all 0.2s cubic-bezier(0.68, 0.12, 0.24, 0.91);
}

div#carousel-example-generic {
    background-image: url(/images/background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

body {
    background-color: transparent !important;
}

a.btn.btn-default {
    margin-top: -48px !important;
  }

#carousel-example-generic {
    width: 100%;
    margin: 0 auto;
    height: 264px;
}

.carousel-control {
    width: 0;
}

.banner-image {
    width: 200px;
    margin-top: 90px !important;
    margin-left: 90px !important;
    background-color: rgba(255,255,255,0.8);
    padding: 20px !important;
    opacity: 0.9;
}

a.left.carousel-control {
    background-color: transparent;
    background-image: none;
}

span.glyphicon.glyphicon-chevron-left {
    left: 10px;
    color: rgb(0, 45, 85);
}

span.glyphicon.glyphicon-chevron-right {
    right: 10px;
    color: #fff;
}

a.right.carousel-control {
    background-color: transparent;
    background-image: none;
}

.carousel-inner {
    border: 2px solid rgb(0, 45, 85);
    height: 265px;
}

.article-text {
    padding-top: 50px;
    padding-bottom: 150px;
    padding-right: 25px;
    background-image: -webkit-linear-gradient(
-0deg
,transparent 20%,rgba(0, 55, 85, 0.9) 0%);
}

span.article-title {
    text-align: justify;
}

.article-title {
    margin-top: 10px;
    font-family: 'Muli', sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    max-width: 75%;
    margin-left: 215px;
    margin-bottom: 20px;
    text-align: right;
}

.col-xs-7.text-left.article-text span.journal-title {
    margin-left: 190px;
    color: #fff;
}

.col-xs-7.text-left.article-text a.btn.btn-default {
    margin-left: 215px;
    border: 1px solid;
}



.journal-title {
    margin-top: 50px;
    font-family: 'Muli', sans-serif;
    color: var(--color01);
    font-weight: 700;
    font-size: 12px;
    margin-right: 20px;
}

.banner-image {
    margin-top: 30px;
    padding: 0;
    border-radius: 0;
    margin-left: 20px;
    max-height: 190px;
}

.banner-image-cover {
    position: relative;
    margin-left: 25% !important;
    max-width: 140px;
    height: auto;
    margin-top: 26px;
    padding: 0;
    border-radius: 3px;
}

.btn-default {
    background: #002D55;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    border-color: #002D55;
    margin-right: 20px;
}

.btn-default:hover {
    background: var(--blanco);
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    color: #002D55;
}

.btn-default:focus {
    background: var(--color01);
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--blanco);
}

@media (max-width: 767.98px) {
    #carousel-example-generic {
        width: 100%;
    }

    img.banner-image-cover {
        display: none;
    }

    .carousel-inner>.active {
        display: flex;
        flex-flow: column wrap;
    }

    .carousel-inner>.item div[class|=col] {
        width: 100%;
        display: flex;
        flex-flow: column wrap;
    }

    .banner-image-cover,
    .article-title,
    .journal-title,
    .article-text>.btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .banner-image-cover {
        height: auto;
    }

    .article-title {
        width: 100%;
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 10px;
    }

    html {
        --lh: 1.4rem;
        line-height: var(--lh);
    }

    .article-title {
        --max-lines: 6.6;
        position: relative;
        max-height: calc(var(--lh) * var(--max-lines));
        overflow: hidden;
    }

    .article-title::before {
        position: absolute;
        content: "...";
        inset-block-end: -3px;
        inset-inline-end: 0;
    }

    .article-title::after {
        content: "";
        position: absolute;
        inset-inline-end: 0;
        width: 1rem;
        height: 1rem;
        background: transparent;
    }

    .journal-title {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
    }
}

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

    .banner-image {
        width: 140px !important;
        margin-top: 10px !important;
        margin-left: 82px!important;
    }
    
    .article-text {
        padding-top: 50px !important;
        padding-bottom: 150px !important;
        padding-right: 80px !important;
        background-image: -webkit-linear-gradient( 
    0deg
     ,transparent 0%,rgba(0, 55, 85, 0.50) 0%) !important;
    }

    .element.piece.full.only-body.no-visual {
    display: block;
    justify-content: center;
    margin-top: 55px;
    }

}