/* LOGO TOP NAV */
.rui-topbar-logo {
    width: auto;
    height: auto;
    max-width: 320px;
    position: relative;
    left: 0 !important;
    top: 0;
    padding: 1rem;
    justify-content: flex-start;
    img {
        width: auto;
        height: auto;
    }
}
/* FIN LOGO TOP NAV */

/* DASHBOARD */
#page-my-index {
  #block-region-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    > section.card {
      flex: 1 1 calc(50% - 1rem );
      margin-bottom: 2rem;
      display: flex;
      align-items: flex-start;
      > .card-body {
        width: 100%;
      }
      @media (max-width: 768px) {
        flex-basis: 100%;
        margin-bottom: 0;
      }
      
      &.block_xp {
        .card-text {
          border: solid 1px black;
          padding: 1.5rem;
          border-radius: 8px;
          margin-top: 15px;
        }
      }
    }
    > span {
      position: absolute;
    }
  }
  [data-display="card"] .rui-course-card-deck {
    grid-template-columns: 1fr;
  }
  .user-name {
    @media (max-width: 767.98px) {
      font-size: 2rem;
    }
  }
  .rui-course-card {
    figure.rui-course-card-img-top {
        transition: all .2s ease-in;
        &:hover {
            transform: scale(1.1);
        }
    }
}
}
/* FIN DASHBOARD */


#page {
  overflow: inherit;  
}

#page-wrapper {
    #page {
        padding: 5px 70px 0;
        margin-top: 0;
        @media (max-width: 767.98px){
        padding: 7px 50px 0;
        }
        &.drawers {
            @media (max-width: 767.98px) {
            overflow: initial;
            }
        }
    }
}

/* CARD DEL CURSO */
div[data-region="filter"],
div[data-region="course-content"].rui-course-card .rui-coursemenu-btn {
    display: none !important;
}
.courses {
    #filtered-results {
        display: flex;
        .rui-course-card {
            width: 100%;
            max-width: 820px;
        }
    }
}
.rui-course-card {
    border: solid 1px black;
    overflow: hidden;
}
/* FIN CARD DEL CURSO */

.block-secretaria {
    margin-block: 6rem;
    h1 {
        margin-bottom: 1rem;
    }
    .card-contacto {
        max-width: 680px;
        margin: auto;
        background-color: #ffffff;
        box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
        border-radius: 10px;
        overflow: hidden;
        .card-header {
            background-color: var(--bs-primary);
            padding: 1rem;
            text-align: center;
        }
        .card-body {
            padding: 1rem;
        }
    }
}

/* PLUGIN roledashboard */
.local-roledashboard-badge,
.local-roledashboard-ruleslink {
  font-size: 12px;
  width: auto;
  display: inline-flex;
  flex-direction: column;
  background-color: #ebebeb;
  padding: .5rem;
  border-radius: .5rem;
    margin-bottom: .5rem;
}
.local-roledashboard-alerts {
    position: fixed;
    right: 0;
    padding: 1rem;
    top: 100px;
    z-index: 99;
    max-width: 50%;
    @media (max-width: 767.98px) {
        max-width: 80%;
    }
}
/* FIN PLUGIN roledashboard */

/* Boton Flotante cookies*/
.cookie-float {
    position: fixed !important;
    bottom: 12px;
    right: 12px; 
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: #2b3035; 
    color: white;
    padding: 6px 8px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    overflow: hidden;
    max-width: 40px;
    height: 40px;
    white-space: nowrap;
    
    i {
        font-size: 1.3rem;
        min-width: 24px;
        display: flex;
        justify-content: center;
    }
    .cookie-text {
        opacity: 0;
        margin-left: 0;
        font-weight: 500;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    &:hover {
        max-width: 220px; 
        padding-right: 20px;
        background-color: #495057;
        color: white;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        .cookie-text {
            opacity: 1;
            margin-left: 10px;
        }
    }
}
#back-to-top {
    @media (min-width: 768px) {
       right: 12px;
       bottom: 60px;
    }
}
/* FIN Boton Flotante cookies*/

/* TEXTOS LEGALES */
div.legales {
    margin-top: 1rem;
    > h1 {
        display: none;
    }
}
/* FIN TEXTOS LEGALES*/