@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');



/*Sidebar css*/
*{
    /*font-family: "Roboto Flex", sans-serif;*/
    font-family: "Rubik", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    /*background-color: #0c318d;*/
    background-image: url('Images/sidebar.jpg');
    background-size: cover;
    padding: 0.4rem 0.8rem;
    transition: all 0.2s ease;
    overflow-y: auto; /* Agregado para agregar un desplazamiento si el contenido excede la altura */
}
#toggleSidebar {
    display: none;
}
.sidebar #toggleSidebar{
    position: absolute;
    color: #fff;
    top: .4rem;
    left: 90%;
    font-size: 1.2rem;
    line-height: 50px;
    transform: translateX(-50%);
    cursor: pointer;
}
.sidebar .top .logo {
    color: #fff;
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    pointer-events: none;
    opacity: 1;
}
.top .logo i{
    font-size: 2rem;
    margin-right: 5px;
}
.user {
    display: flex;
    align-items: center;
    margin:  1rem 0;
}
.user p {
    color: #ffff;
    opacity: 1;
    margin-left: 1rem;
}
.sidebar ul li {
    position:relative;
    list-style-type: none;
    height: 50px;
    width: 90%;
    margin: 0.8rem auto;
    line-height: 50px;
}
.sidebar ul li a {
    color: #ffff;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 0.8rem;
}
.sidebar ul li a:hover {
    background-color: #ffff;
    color: #12171e;
}
.sidebar ul li a i{
    min-width: 50px;
    text-align: center;
    font-size: 1.5rem;
    height: 50px;
    border-radius: 12px;
    line-height: 50px;
}
.sidebar .nav-item {
    opacity: 1;
}

/*sidebar active*/
.sidebar.active ~ .main-content {
    left: 80px;
    width: calc(100% - 80px);
}
.sidebar.active .user p {
    opacity: 0;
}
.sidebar.active {
    width: 80px;
}
.sidebar.active #toggleSidebar {
    left: 50%;  
}
.sidebar.active .top .logo {
    opacity: 0;
    }
.sidebar.active .nav-item {
        opacity: 0;
    }
/*end sidebar active*/

.main-content {
    position: absolute;
    min-width: calc(100% - 250px); /* Resta el ancho del sidebar */
    background-color: #eee;
    min-height: 100vw;
    top: 0;
    left: 250px;
    transition: all 0.5s ease;
    padding: 1rem;
}
.container {
    display: block;
    justify-content: space-between;
}

/*Login css*/

.login {
    border-radius: 10%;
    width: 500px;
    /*border: 2px solid #9e9e9e;*/
    padding: 30px;
    background-color: #e6e6e6;
    border-radius: 15px;
}

.buttones {
    float: right;
    background-color: #2359be;
    font-size: 14px;
    padding: 10px 15px;
    color: #fff;
    border-radius: 5px;
    margin-right: 10px;
    text-decoration: none; /* Agregado para quitar el subrayado predeterminado de los enlaces */
}

.buttones:hover {
    opacity: .7;
}

p.footer_p {
    position: fixed;
    text-align: center;   
    background-color: #ffffff63;   
    padding: 1% 0% 1% 0%;   
    width: 20%;   
    float: right;
}

.body01{
    background-image: url('Images/parque-tec.jpg');
    background-repeat: no-repeat; /* Asegura que la imagen no se repita */
    margin: 0; /* Elimina los márgenes por defecto del body */
    padding: 0; /* Elimina el relleno por defecto del body */
    background-size: cover;
    background-position: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

h2{
    text-align: center;
    margin-bottom: 40px;
}
input{
    display: block;
    border: 2px solid #ccc;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    border-radius: 5px;
}
label{
    color: #888;
    font-size: 18px;
    padding: 10px;
}
button{
    float: right;
    background-color: #2d57c9;
    padding: 10px 15px;
    color: #fff;
    border-radius: 5px;
    margin-right: 10px;
    border: none;
}
button:hover{
    opacity: .7;
}
.error{
    background-color: #c45757;
    color: #ffff;
    padding: 10px;
    width: 95%;
    border-radius: 5px;
    margin: 20px auto;
}
.user-icon{
    width: 50px;
    border-radius: 100%;
}

/*Salas*/

.piso-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px; /* Ajusta según sea necesario */
}

.piso-identificador {
    width: 100%; 
    font-weight: bold;
    font-size: 25px;
    color: #ffff;
    background-color: #3333C0;
    padding: 10px;
    border-radius: 5px;
}

.salas-container {
    display: flex;
    flex-wrap: wrap;
}

.salas-all {
    position: relative;
    background-color: #eee;
    top: 0;
    height:fit-content;
    transition: all 0.5s ease;
    width: inherit;
    padding: 1rem;
}
.salas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content:left;
}


/* Estilos para el dropdown */
.salas-containerone {
    display: flex;
    flex-wrap: wrap;
    justify-content:left;
    width:100%;
}



.dropdown {
    position: relative;
    display:inline-flex;
    left: 90%; 
    
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.5rem;
    color: white;
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    min-width: 160px;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    text-align: left;
    background-color: #fff; /* Fondo del menú desplegable */
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #333; /* Color del texto de los elementos del menú */
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.1s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(0, 0, 0, 0.05); /* Color de fondo al pasar el cursor */
}


.salaA1 {
    color: #fff;
    font-size: 30px;
    width: 22%;
    height: 200px;
    border-radius: 5%;
    padding: 10px;
    margin: 10px;
    background-size: cover; 
    background-repeat: no-repeat;
    display: block; 
}

.salaA1:hover {
    opacity: .7;
}
/*calnedar*/

.calendar-form {
    height: 700px;
    width: 800px;
    border: 2px solid #9e9e9e;
    padding: 30px;
    background-color: #e6e6e6;
    border-radius: 15px;
}
.reservar {
    color:#fff;
    font-size: 30px;
    background-color: #e2e2e2;
    width: 350px;
    height: 500px;
    border-radius: 5%;
    border: 1px solid black;
    padding: 10px;
    margin: 10px;
}
.reserv {
    display: flex;
}
#calendar {
    width: 70%; /* Porcentaje del ancho del contenedor principal */
    height: 500px; /* Altura fija del calendario */
    /* Otros estilos para el calendario */
  }
/*Form Reserv*/
#event-form {
    position: absolute;
    height: 100vh;
    top: 0;
    right: 0;
    width: 30%; /* Porcentaje del ancho del contenedor principal */
    padding: 20px;
    background-color: white;
    /* Otros estilos para el formulario */
  }

.reserv_name {
    font-family: 'Franklin Gothic Medium';
    color: #000000;
    font-size: 17px;
    padding-left: 12px;
}
.event_descript {
    height: 75px;
    width: 100%;
    padding-left: 12px;
}

/*new user*/
.new_user {
    width: 550px;
    height: 400px;
    background-color: lightgray;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
}

/*New Demo*/

.wrapper{
    width: 90%;
    height: 650px;
    margin: 0 auto;
}
.swal2-input {
    width: 100% !important;
    margin-left: 0 !important;
    height: 2.5em !important;
    margin-right: 0 !important;
}
textarea.swal12-input{
    height: 5em !important;
    padding: 0.5em 0.5em !important;
}
.swa12-close{
    outline: none;
}
.crear-btn {
    background-color: #20b925;
    color: #ffff;
}
.crear-btn:hover {
    opacity: .7;
}

/* Estilo para los botones de acordeón */

.accordion-container {
    display: flex;
    flex-direction: column;
    width: 300px;
}

.accordion {
    background-color: #375dcf;
    color: #ffff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 25px;
    transition: background-color 0.3s ease;
}

/* Cambia el color del fondo del botón cuando está activo */
.accordion.active {
    background-color: #80b0f4;
}

/* Estilo para los paneles */
.panel {
    padding: 0 18px;
    display: none; /* Ocultar los paneles por defecto */
    overflow: hidden;
    background-color: #eee;
    width: 100%;
}

/* Agrega transiciones suaves para mostrar/ocultar los paneles */
.panel.show {
    display: block;
    transition: max-height 0.2s ease-out;
}

.panelText {
    font-size: 20px;
    color: rgb(71, 71, 71);
    width: 100%;
}

.panelTextBK {
    width: 100%;
    height: 100%;
    background-color: #c5c5c5;
    padding: 5px;
}

@media (min-width: 851px) {
    .accordion-container {
        display: none;
    }
}


/*Login responsive*/
@media (max-width: 850px){
    
    .mapa-container {
        display: none;
    }


    /* Estilos para el dropdown */
    .dropdown {
        position: relative;
        display: inline-flex;
        left: 75%; 
        
    }

    /*btones calendario*/
    #calendar .fc-next-button.fc-button.fc-button-primary{
        display: flex;
        width: 35px;
        align-items: right;

    }
    #calendar .fc-prev-button.fc-button.fc-button-primary {
        display: flex;
        width: 35px;
        align-items: left;
    }

    /*calendario responsive*/
    #calendar {
        width: 100%;
    }

    /*reserv form responsive*/
    #event-form {
        position: absolute;
        height: 100vh;
        top: 0;
        right: 0;
        width: 100%; /* Porcentaje del ancho del contenedor principal */
        padding: 20px;
        background-color: white;
        z-index: 9999;
      }

    /*Home salas responsive*/
    .salaA1 {
        color: #fff;
        font-size: 30px;
        width: 100%;
        height: 200px;
        border-radius: 5%;
        padding: 10px;
        margin: 10px;
        background-size: cover;
        background-repeat: no-repeat; 
        display:block;
    }


    /*end home salas responsive*/


    /*sidebar responsive*/

    #toggleSidebar {
        display: block;
    }
    .sidebar #toggleSidebar{
        position: absolute;
        color: #fff;
        top: .4rem;
        left: 90%;
        font-size: 2.2rem;
        line-height: 50px;
        transform: translateX(-50%);
        cursor: pointer;
    }
    .sidebar .top .logo {
        color: #fff;
        display: flex;
        height: 50px;
        width: 100%;
        align-items: center;
        pointer-events: none;
        opacity: 1;
    }
    .user .bold{
        font-size: 1.3rem;
    }
    .top .logo i{
        font-size: 2.5rem;
        margin-right: 5px;
    }
    .top .logo .tit{
        font-size: 1.5rem;
    }
    .user {
        display: flex;
        align-items: center;
        margin:  1rem 0;
    }
    .user p {
        color: #ffff;
        opacity: 1;
        margin-left: 1rem;
    }
    .sidebar ul li {
        position:relative;
        list-style-type: none;
        height: 50px;
        width: 90%;
        margin: 0.8rem auto;
        line-height: 50px;
    }
    .sidebar ul li a {
        color: #ffff;
        display: flex;
        align-items: center;
        text-decoration: none;
        border-radius: 0.8rem;
    }
    .sidebar ul li a:hover {
        background-color: #ffff;
        color: #12171e;
    }
    .sidebar ul li a i{
        min-width: 50px;
        font-size: 1.9rem;
        text-align: center;
        height: 50px;
        border-radius: 12px;
        line-height: 50px;
    }

    .sidebar ul li a .nav-item{
        font-size: 1.3rem;
    }

    /*end sidebar responsive*/
    
    /*Login responsive*/

    form.login {
        border-radius: 10%;
        width: 75%;
        /*border: 2px solid #9e9e9e;*/
        padding: 30px;
        background-color: #e6e6e6;
        border-radius: 5px;
    }

    .buttones {
        float: right;
        background-color: #2359be;
        font-size: 14px;
        padding: 10px 15px;
        color: #fff;
        border-radius: 5px;
        margin-right: 10px;
        text-decoration: none; /* Agregado para quitar el subrayado predeterminado de los enlaces */
    }

    .buttones:hover {
        opacity: .7;
    }

    .footer_p {
        text-align: center;   
        background-color: #ffffff63;   
        padding: 1% 0% 1% 0%;   
        width: 40%;   
        float: right;
    }

/*Login responsive end*/

/*Registro responsive*/
    .body02 {
        display: flex;
        align-items: center;
        width: 75%;
        justify-content: center;
        height: 100vh;
        margin: 0;
    }

    .registration-box {
        text-align: left;
        padding: 20px;
        width: 450px;
        height: 505px;
        border: 1px solid #ccc;
        border-radius: 8px;
        color: #f1f1f1;
    }

    .registration-box label {
        display: block;
        margin-top: 10px;
    }

    .registration-box input {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
        box-sizing: border-box;
    }

    .registration-box button {
        margin-top: 15px;
        padding: 10px;
        background-color: #2359be;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

/*registro responsive end*/

    p.footer_p {
        text-align: center;   
        background-color: #ffffff63;   
        padding: 1% 0% 1% 0%;   
        width: 60%;   
        float: right;
    }

}

