@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }


    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
}

.separadorInf {
    margin-bottom: 1rem;
}

.separadorSup {
    margin-top: 1rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-primary {
    background-color: #013F45;
    border-color: none !important;
    
}

.btn-cancel {
    background-color: white;
    color: #013F45;
}

.btn-form {
    color: #14AABA;
    border-color: #D7DBEC;
}

.btn-new {
    color: #013F45;
    padding: 0;
}

.btn-white{
    color:white;
}

.separator {
    margin: 0 5px; /* Menos espacio entre la barra y el texto */
}

.a-filter {
    color: #5A607F;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 10px;
    background-color: #F4F6FB;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Inter", serif;
    /*height: 100%;*/
}

header {
    z-index: 9999 !important;
    background-color: #1F1D1D;
    position: fixed;
    top: 0;
    width: 100%;
}

.logo {
    color: white;
    font-family: Impact;
    font-style: italic;
    height: 68px;
    z-index: 1;
    font-size: 30px;
    padding: 10px;
}
.logout {
    padding: 10px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
}

.card-header {
    background-color: #013F45;
    color:white;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center
}

.mostrarEn {
    font-family: "Inter", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #5A607F;
}



.colorGris {
    color: #D9D9D9;
}

.table-formulario {
    text-align: center !important;
    align-content: center;
    color: #131523;
    vertical-align: middle;
    border-color: #D9D9D9;
    border-width: 1px;
}

.table th {
    font-family: "Inter", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #5A607F;
}

.table td {
    font-family: "Inter", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    align-content: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #131523;
    vertical-align: middle;
}

    .table td a {
        color: #5A607F;
    }






/* Barra lateral */
.sidebar {
    width: 250px; /* Ancho de la barra lateral */
    position: fixed; /* Fija la barra lateral */
    top: 68px;
    bottom: 0;
    left: 0;
    background-color: #013F45;
    color: white;
    padding-top: 10px;

    overflow-y: auto; /* ¡Permite el scroll interno! */
    transition: width 0.3s;
    z-index: 999; /* Asegura que esté por encima si es necesario */
}

.navbar-nav .nav-link {
    list-style: none;
    padding-left: 8px;
    padding-right: 8px;
}

.nav-item {
    display: flex; /* Hace que los li sean contenedores flex */
    justify-content: center; /* Centra los enlaces dentro del li */
    margin-bottom: 3px;
}



.nav-link {
    color: white;
    font-size: 16px;
    display: flex; /* Convertimos el enlace en un contenedor flex */
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido del enlace hacia la izquierda */
    width: 100%; /* Asegura que el enlace ocupe todo el ancho de su contenedor */
}

    .nav-link i {
        margin-right: 15px;
    }

    .nav-link:hover {
        background-color: white;
    }


.sidebar ul li a {
    color: white;
    width: 200px;
    text-decoration: none;
    display: block;
    border-radius: 4px;
}

.sidebar ul li div {
    margin-left: 10px;
    color: gray;
    text-align: left;
    padding: 5px;
}

.nav-link {
    color: #5A607F;
}

    .nav-link.active {
        color: #14AABA;
        border-bottom: 2px solid #14AABA
    }


#main {
    margin-left: 250px;
    padding: 40px;
    padding-top: 98px;
    transition: margin-left 0.3s;
}
/* Contenido principal */
#content {
    margin-top: 60px;
    margin-left: 200px;
    padding: 10px;
}

#main .info {
    background-color: #FFFEFE;
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

#headcontent {
    margin-bottom: 1rem; 
    padding-bottom: 0;
}

.title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}


#headcontent .title {
    font-family: Inter;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.formHeader {
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.form-group {
    font-family: inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.search {
    width: 200px;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.login-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

    .login-container h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .login-container p {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
    }

.form-login {
    margin-bottom: 15px;
    text-align: left;
}

    .form-login label {
        display: block;
        font-size: 14px;
        margin-bottom: 5px;
        color: #333;
    }

    .form-login input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }

        .form-login input:focus {
            border-color: #007bff;
            outline: none;
        }

    .form-login .checkbox {
        display: flex;
        align-items: center;
    }

        .form-login .checkbox input {
            margin-right: 10px;
        }

.login-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #004e4d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
}

.forgot-password {
    margin-top: 20px;
}

    .forgot-password a {
        color: #007bff;
        text-decoration: none;
    }

.body-login {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    height: 100vh;
    display: grid;
    place-items: center;
}

.accordion-button {
    padding: 0;
    background-color: transparent;
}

.accordion-button:focus {
        box-shadow: none;
        outline: none;
}

    .accordion-button:not(.collapsed) {
        background-color: transparent;
        color:inherit;
        box-shadow:none;
    }


        .accordion-button:not(.collapsed):focus {
            background-color: transparent; /* O el color que desees */
        }


.formularioBox {
    padding: 1rem;
    border: 1px solid #D9E1EC;
    border-radius: 10px;

    position: relative;
    overflow: auto;
}

.cursor-pointer {
    cursor: pointer !important;
}

.tag-bubble {
    
    color: black; /* Texto blanco por defecto */
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 12px;
    border:1px solid;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave para fondo y texto */
}

    

.bg-selected {
    background-color: #013F45 !important;
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
}

.bg-primary {
    background-color: white !important;
    color: black;
    padding: 8px 16px;
    border-radius: 12px;
}
    

/* Estilo para los tags seleccionados (debajo) */
.selected-tag {
    background-color: #013F45; 
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
}


.select2-selection__choice {
    background-color: #013F45 !important; /* color de fondo */
    color: white !important; /* color del texto */
}

.select2-selection__choice__remove {
    color: white !important;
}


/*ESTILO BOTON EDITOR HTML*/
.btn-ckeditor-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 75px;
    padding: 0;
    border: 1px solid #c1c1c1;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    color: #000;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    font-size: 18px; /* tamaño del icono */
}

    .btn-ckeditor-style:hover {
        background-color: #f3f3f3;
        border-color: #7b7b7b;
    }

    .btn-ckeditor-style:active {
        background-color: #e2e2e2;
        border-color: #5a5a5a;
    }

    /* Ajustes específicos para el icono <i> */
    .btn-ckeditor-style i {
        pointer-events: none; /* para que no interfiera el click */
        user-select: none;
        line-height: 1;
        font-size: 20px; /* ajusta el tamaño del icono */
    }


.table-banners th,
.table-banners td {
    vertical-align: middle; /* Centra verticalmente todo el contenido */
    text-align: center; /* Centra horizontalmente */
}

.table-banners img {
    display: block;
    margin: 0 auto; /* Centra las miniaturas */
}

.table-banners .bi-grid-3x2-gap-fill {
    cursor: grab;
}

.table-banners th {
    white-space: nowrap; /* Evita que los encabezados se partan en varias líneas */
}




@media screen and (max-width: 480px) {
    .sidebar {
        width: 150px;
    }

    #main {
        margin-left: 150px;
    }

    /* Ajustar el tamaño de los enlaces */
    .sidebar ul li a {
        font-size: 16px;
    }
}
