html{
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
}

#scrollUpBtn {
    /* DEBE EMPEZAR OCULTO*/
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 50px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #2e658b;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

.tippy-box[data-theme~='copiado'] {
    background-color: #00857c;
    color: white;
}

/*  SEARCH BAR HOME   */

/*Insert this style in your css*/
.fontAwesome {
    font-family: 'Montserrat', 'FontAwesome', sans-serif;
}

/* END SEARCH BAR HOME   */

header>.container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 2px #c9baba3d;
    color: whitesmoke;
}

header>.container h1 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
}

header>.container h1>span {
    display: block;
    font-weight: 700;
}

/*Compartir*/

#share-widget {
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

#share-widget hr {

    margin: 1rem;

}

#share-widget:hover .share-open {
    display: block;
}

#share-widget:hover .share-closed {
    display: none;
}

.share-open {
    display: none;
    background-color: rgba(0, 0, 0, 0.605);
    border-radius: 1.5rem;
    text-align: center;
    padding: 1.4rem 0.7rem;
    font-size: 0.8rem;
}

.share-circle {

    border: 2px solid whitesmoke;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/**/

/**/
.btn-dl {
    text-decoration: none;
    width: fit-content;
    position: absolute;
    top: 20px;
    left: 20px;
}

.bg-download {
    background-color: #FFF5C3;
    color: rgb(48, 48, 48);
}


.bg-download:hover() {
    background-color: #f0d7b9;
    color: rgb(48, 48, 48) !important;
}

/**/
/**/

.carousel-caption {
    background-color: #2e658b;
    color: whitesmoke !important;
    margin-bottom: 1rem;
    padding: 1rem;
}

.carousel-caption>p {

    margin: 0;
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #2e658b;
    height: 5px;
}

.carousel-indicators {
    margin-bottom: 0;
}



.faq-menu li>div {
    cursor: pointer;

}


.faq-menu svg {
    fill: black;
}

.faq-menu li>div:hover {
    background-color: #1983BB;
    color: whitesmoke;

}

.faq-menu li>div:hover svg {
    fill: white;

}


.faq-menu li>div.active {
    background-color: #184270;
    color: whitesmoke;
}

.faq-menu li>div.active svg {
    fill: white;

}


.campus-shadow {
    box-shadow: 18px 6px 1rem 0px rgb(0 0 0 / 5%);
}

.campus-border {
    border-left: 6px solid lightblue;
}

.campus-node-bg {
    background-color: #184270;
    background-image: url('../images/icons/campus-node-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-header,
.modal-footer {
    background-color: #2e658b;
    color: white;
}

.bg-tutoriales {
    background-color: #003956 !important;
}

.text-shadow {
    text-shadow: 2px 2px 2px #0000003d;
}

.full-height {
    height: 100%;
}

.bg-header {
    background-color: #2e658b;
    background-image: url('../images/banner_home.png');
    background-size: cover;
    background-position: center;
}

.header-title {
    font-size: 2rem;
}

.bg-header-campus,
.bg-header-documentos,
.bg-header-otros {
    background-color: #2e658b;
    background-size: cover;
    background-position: top;
}

.bg-header-campus {
    background-image: url('../images/banner_moodle.png');

}

.bg-header-documentos {
    background-image: url('../images/banner_doc.png');
}

.bg-header-otros {
    background-image: url('../images/banner_otrasherra.png');
}

.bg-form {
    background: linear-gradient(rgb(89, 155, 246),
            rgb(53, 125, 226));
}

.bg-brujula {
    background: linear-gradient(115deg,
            #9ce2ee,
            #00a4c0);
}

.bg-campus {
    background-color: #FF7131;
}

.bg-docs {
    background-color: #004EB0;
}

.bg-otros {
    background-color: #00C627;
}

.bg-arenero {
    /* background-image: url('../images/bg-arenero.png'); */


    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7962535355939251) 30%, rgba(255, 255, 255, 0) 100%), url('../images/bg-arenero.png');
    background-size: 70%;
    background-position: right;
    background-repeat: no-repeat;
}

.filter-navbar {
    background-color: #f5f5f5;
    font-size: smaller;
    width: fit-content;

}


.filter-item {
    color: grey;
    padding-bottom: 3px;
    border-bottom: solid transparent 2px;
}

.filter-item img {
    max-width: 20px;
    filter: grayscale(100%);
}

.filter-item:hover img {
    filter: grayscale(0%);
}

.filter-item.active img {
    filter: grayscale(0%);
}

.filter-item-moodle:hover {
    color: #FF7131;
    border-bottom: solid #FF7131 2px;
}

.filter-item-documentos:hover {
    color: #004EB0;
    border-bottom: solid #004EB0 2px;
}

.filter-item-otros:hover {
    color: #00C627;
    border-bottom: solid #00C627 2px;
}

.filter-item-moodle.active {
    color: #FF7131;
    border-bottom: solid #FF7131 2px;
}

.filter-item-documentos.active {
    color: #004EB0;
    border-bottom: solid #004EB0 2px;
}

.filter-item-otros.active {
    color: #00C627;
    border-bottom: solid #00C627 2px;
}


.btn-tutorials {
    background-color: #9CE2EE;
    min-width: 45%;
    font-weight: bold;
}

.a-campus,
.a-documentos,
.a-otros {
    text-decoration: none;
}

.a-campus,
.bg-campus {
    background-color: #c96d10;
}

.a-documentos,
.bg-documentos {
    background-color: #004EB0;
}

.a-otros,
.bg-otros {
    background-color: #00C627;
}

.titHeaderListador {
    margin: auto;
    padding: 5px 20px;
    width: fit-content;
}

.tutorial-card {
    min-height: 500px;
    background-size: cover;
}

.play-icon {
    font-size: 5rem;
}



.card-title {
    min-height: 3rem;
}

.card-title a {
    font-weight: 700;
}

.boton-descarga {
    color: black;
    background-color: #f2ebbe;
    font-size: 12px;
    padding: 8px;
}

.tag-cloud a {
    text-decoration: none;
    color: rgb(243, 116, 31);
}

.tag-cloud a:hover {
    text-decoration: none;
    color: rgb(204, 90, 14);
}


.tag-cloud a:not(:last-child)::after {
    content: " |";
    color: rgb(151, 151, 151);
}

.video-thumb {
    background-position-y: center;
    background-size: cover;
}

/* .card-gradient {
    background: linear-gradient(180deg, rgba(224, 224, 224, 0.6477941518404237) 20%, rgba(0, 90, 160, 0) 60%, #002c47 100%);
} */

.background-card {
    background-color: #2B78A7;
    /* background-position-y: center;
    background-size: contain; */
}


.home-card {
    color: whitesmoke;
    padding: 2rem 2rem 2rem 2rem;


}

/* .home-card-campus {
    background-image: url('../../assets/images/banner_moodle.png');
    background-size: cover;
    background-repeat: no-repeat;


}

.home-card-docs {
    background-image: url('../images/banner_doc.png');
    background-size: cover;
    background-repeat: no-repeat;

}

.home-card-otros {
    background-image: url('../images/banner_otrasherra.png');
    background-size: cover;
    background-repeat: no-repeat;

} */

.banner-wrapper {
    height: 330px;
    overflow: hidden;
}

.banner-form-title {
    font-size: 1.2rem;
    font-weight: bolder;
    color: whitesmoke;
}

.banner-form-subtitle {
    font-size: 1rem;
    font-weight: light;
    color: whitesmoke;
}

.brujula-imagen {}

.font-form-button {
    width: fit-content;
    font-size: small;
}


footer img,
nav img {
    display: block;
    max-width: 180px;
}

footer {
    background-color: black;
}


.event-video {

    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 3px 3px 8px 1px #00000042;
}

/*GUIAS*/
html {
    scroll-behavior: smooth;
}


.container:has(.lic-floating) {
    position: relative;
}
.lic-floating{
background-color: #f5f5f5db;
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: grey;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;

    a{
        color: #2B78A7;
        text-decoration: none;
    }
}

.lic-index{
    margin-top: 2rem;
    color: grey;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;

    a{
        color: #2B78A7;
        text-decoration: none;
    }
}


.article-row {

    #side {

        position: -webkit-sticky;
        position: sticky;
        top: 105px;
        z-index: 99;
        height: calc(100vh - 125px);
        overflow: hidden;

        background-color: rgb(243, 243, 243);



        #scrollNav {

            /* background-color: rgba(184, 3, 3, 0.399); */

            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            transition: top 0.3s ease;
            /* smooth movement */

            padding: 1rem;

            .nav-link {
                color: black;
                font-weight: 600;
            }

            .subnav>.nav-link {
                color: rgba(0, 0, 0, 0.65);
                font-weight: 400;
            }


            .nav-link:hover {
                border-radius: 0;

                color: #ba312a;
                border-bottom: 1px #c7311085 solid;
                background-color: transparent;
            }

            .nav-link.active {
                border-radius: 0;
                color: #367DA6;
                border-bottom: 1px #367da685 solid;
                background-color: transparent;
            }

        }



    }


    margin-top: 1rem;


    #guideContent {

        .highlighted::before {

            /* content: '>>'; */
        }



        h2 {
            font-size: 2rem;
            margin-bottom: 1rem;

        }

        section {
            margin-bottom: 3rem;
        }

        section,
        section>div {
            scroll-margin-top: 95px;
        }

        section>div {
            margin-bottom: 3rem;
        }


        h3 {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            font-weight: bolder;
            color: #4688b8;
        }

        h4 {

            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            font-weight: 400;
            color: #58a6db;
        }

        h5 {

            font-size: 1rem;
            margin-bottom: 1rem;
            font-weight: 600;
            color: #556871;
        }

        h6 {
            font-size: 1rem;
            margin-bottom: 1rem;
            font-weight: 700;
            color: #041f32;
        }
    }

    p {
        font-size: 1.1rem;
        font-weight: 300;
    }

    ul {
        font-size: 1.1rem;
        font-weight: 300;

        li {
            margin-bottom: 1rem;

            span {
                font-weight: bolder;
                color: #2e658b;
            }
        }
    }



}

.guide-gallery {

    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;

    img {

        aspect-ratio: 16 / 9;
        object-fit: cover;
        flex: 100%;
        width: 0px;
        border-radius: 0.25rem;
        filter: drop-shadow(1px 1px 3px lightgray);

    }

    &.screenshots {
        img {

            aspect-ratio: initial;
            object-fit:contain;
            flex: 1 0;

        }
    }

    &.fourbyfour {
        img {

            flex: 100%;

        }
    }
}

.guide-gallery-homo {
    img {

        aspect-ratio: initial;
        object-fit: none;
        flex: auto;

    }
}

.single-image {
    margin: 2rem 0;

    img {

        max-width: 100%;
        display: block;
        margin: auto;
        filter: drop-shadow(1px 1px 3px lightgray);

    }
}

.guide-highlight-block {

    background-color: rgb(240, 240, 240);
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    border-radius: 0.5rem;

    .icon {

        flex: 1 0 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3.5rem;
        margin-right: 2rem;
        align-self: flex-start;
        margin-top: 0.5rem;

    }

    >div {
        flex: 100%;
    }

    p:last-child {
        margin: 0;
    }

}

.hb-sm {
    .icon {
        font-size: 2.5rem;
    }
}

.g-color-info {

    color: #004EB0;
}

.g-color-warning {

    color: rgb(229, 166, 30);
}

.g-color-success {

    color: rgb(59, 163, 33);
}

.guide-btn {
    width: fit-content;
    background-color: #003956;
    border: #003956;

    &:hover {
        background-color: #184270;
        border: #184270;
    }
}

.icon-btn {
    width: fit-content;
    background-color: #003956;
    border: 0;
    padding: 0;
    display: flex !important;
    align-items: center;
    overflow: hidden;

    i {
        background-color: #ffffff27;

        display: flex;
        justify-content: center;
        align-items: center;
        align-self: stretch;
        padding: 0 0.5rem 0 0.75rem;
        font-size: 1.25rem;
        margin-right: 0.5rem;
        min-width: 3rem;
    }

    div {
        padding: 0.5rem 1rem 0.5rem 0;
    }

    &:hover {
        background-color: #184270;
        border: #184270;
    }
}

.multipleChoiceBlock {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid gainsboro;

    .caseTitle {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
        font-weight: bolder;

        & span {
            font-weight: 400;
            color: black;
            display: block;
            margin-top: 0.5rem;

            &::after,
            &::before {
                content: '"';
            }
        }
    }

    .caseText {
        font-size: 1.1rem;
        line-height: 1.5;
        font-style: italic;
        margin-bottom: 1.5rem;
        font-weight: 300;
    }

    .question {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }


    .answerBlock {
        list-style-type: lower-alpha;




        .answer {
            margin-bottom: 0.5rem;
            padding: 0.1rem;

            &::marker {
                font-weight: 900;
                /* Makes the bullet bold */
            }

            .text {
                font-weight: 500;
                margin-bottom: 0.5rem;
            }

            .explanation {

                div {
                    padding: 1rem;
                    border-radius: 0.25rem;
                    background-color: #f5f5f5;
                }

            }

            .correct {
                border-left: 5px solid #4CAF50;
            }

            .incorrect {
                border-left: 5px solid #F44336;
            }
        }
    }

    .answerToggle {
        text-align: start;
        &::after {
            content: 'Ocultar respuesta';
        }

        &.collapsed::after {
            content: 'Ver respuesta';
        }
    }
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    >li {
        flex: 1;
        text-align: center;
        border: 1px solid #e3e3e3;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: top;
        align-items: center;
        margin: 0 !important;

        strong {
            color: #2e658b;
            display: block
        }
    }

}

[data-ordinal] {
    &::before {
        content: attr(data-ordinal)". ";
        font-weight: bolder;
    }
}

.flush-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 2rem;
}

.offset-list {
    list-style: none;
    margin: 0;
    margin-top: 2rem;
}

.sm-list {
    margin-bottom: 1rem;
    list-style: disc;

    &.li-circ {
        list-style-type: circle;
    }

    li {
        margin-bottom: 0.25rem !important;

        span{
            display: block;
            font-style: italic;
            color: #365360!important;
            font-size: 0.9rem;
            margin-top: 0.25rem;
            font-weight: thin;
        }
    }
}

.acc-examples {
    margin: 2rem 0 3rem;

    h3 {
        margin: 0 !important;
        background-color: #2e658b;

        .accordion-button {
            color: whitesmoke;

            &::after {
                /* Change the default (collapsed state) icon to white */
                filter: invert(100%) brightness(100%);
            }

            &:not(.collapsed) {
                background-color: #184270;

                &::after {
                    /* Change the default (collapsed state) icon to white */
                    filter: contrast(0%) brightness(200%);
                }
            }

            &:focus {

                border-color: transparent;
                outline: 0;
                box-shadow: none;
            }
        }
    }

    ul {
        list-style: disc;

        li {
            font-size: 1rem;
            margin-bottom: 0rem;
        }
    }
}



.exampleBlock {

    td {
        >input {
            margin: auto;
        }

    }

    .exampleHeader {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;

        >* {
            margin: 0 !important;
        }

        i {
            font-size: 2rem;
            margin-right: 0.5rem;
            color: #2e658b;
        }
    }

    .answerToggle {
        text-align: start;
        margin-bottom: 1rem;
    }

    .explanation {

        div {
            padding: 1rem;
            border-radius: 0.25rem;
            background-color: #f5f5f5;
        }

    }

    .correct {
        border-left: 5px solid #4CAF50;
    }

    .incorrect {
        border-left: 5px solid #F44336;
    }
}

p:has(+.tf-collapse) {
    margin-bottom: 0.0rem;
}

.tf-collapse {

    margin-bottom: 3rem;

    .tf-answers,
    .tf-buttons {
        display: flex;
        gap: 1rem;

        >div {
            flex: 1 0 45%;
            display: flex;
        }
    }


    .tf-true,
    .tf-false {
        margin-top: 1rem;

        >a:focus {
            box-shadow: none;
            outline: none;
        }
    }

    .tf-true {
        >a:not(.collapsed) {
            background-color: #4CAF50;
            border-color: #4CAF50;
        }
    }

    .tf-false {
        >a:not(.collapsed) {
            background-color: #F44336;
            border-color: #F44336;
        }
    }


    .tf-block {

        div {
            padding: 1rem;
            border-radius: 0.25rem;
            background-color: #f5f5f5;
            height: 100%;


            justify-content: flex-start;
            align-items: flex-start;
        }

    }

    .correct {
        border-left: 5px solid #4CAF50;
    }

    .incorrect {
        border-left: 5px solid #F44336;
    }
}

/*GUIAS*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    header>.container h1 {
        font-size: 3rem;
    }

    footer img,
    nav img {
        display: inline-block;
        max-width: 220px;
    }

}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

    .guide-highlight-block {
        flex-direction: row;
    }


    .guide-gallery {
        img {
            flex: 20%;
        }

        &.fourbyfour {
            img {

                flex: 40%;

            }
        }
    }



    .timeline {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.5rem;

        >li {
            strong {}
        }
    }

    header>.container p {
        max-width: 60%;
        font-size: 1.5rem;
        margin-top: 1em;
    }

    header>.container {
        height: 350px;
    }


    .nav-link-line {
        border-bottom: 2px solid transparent;
        line-height: 0.8rem;
    }


    .nav-link-line:hover,
    .nav-link-line-selected {
        border-bottom: 2px solid whitesmoke;
    }

    .header-title {
        font-size: 3.5rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 1);
    }

    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link:hover {
        color: rgba(255, 255, 255, .75);
    }

    .filter-navbar {
        font-size: medium;
    }


    .font-form-button {
        width: 50%;
        font-size: medium;
    }

    .background-card {
        max-height: 300px;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: bolder;
    }

    .home-card {
        min-height: 200px;
    }

    .card-text {
        font-size: 0.9rem;
    }

    footer img,
    nav img {
        width: 40%;
        max-width: 250px;
    }


}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {}

/*X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {


    .navbar-brand {
        width: 40%;
    }

    .nav-item {
        font-size: 10px;
    }

    #headerNavbar .nav-pill-l a,
    #headerNavbar .nav-pill-r a,
    #headerNavbar .nav-pill-m a {
        color: black !important;
    }



    #headerNavbar .nav-pill-l {
        border-radius: 15px 0px 0px 15px;
        padding: 0px 0px 0px 10px;
        margin: 0px 0px 0px 10px;
    }

    #headerNavbar .nav-pill-m {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
    }

    #headerNavbar .nav-pill-l.nav-item,
    #headerNavbar .nav-pill-m.nav-item {
        position: relative;
    }

    #headerNavbar .nav-pill-l::after,
    #headerNavbar .nav-pill-m::after {

        content: '';
        width: 2px;
        background-color: #7c7c7c;
        display: block;
        height: 20px;
        position: absolute;
        top: 4px;
        right: 0;

    }

    #headerNavbar .nav-pill-r {
        border-radius: 0px 15px 15px 0px;
        padding: 0px 10px 0px 0px;
        border-color: white;
    }


    #headerNavbar .nav-pill-l,
    #headerNavbar .nav-pill-r,
    #headerNavbar .nav-pill-m {
        background-color: whitesmoke;
        line-height: 0.7rem;
        align-self: center;
    }

    .filter-navbar {
        font-size: large;
    }



}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {



    .navbar-brand {
        width: auto;
    }

    .nav-item {
        font-size: 12px;
    }

    footer .footer-text {
        font-size: 10px;
    }

    footer .borde-xxl-r {
        border-right: 1px solid;
    }

    footer .borde-xxl-l {
        border-left: 1px solid;
        border-top: 0px;
    }
}