
:root {
    --blue: #1a56db;
    --blue-dark: #1340b0;
    --blue-light: #e8f0fd;
    --teal: #00b8c8;
    --teal-light: #e0f7fa;
    --purple: #7B3FE4;
    --purple-light: #f0e8ff;
    --orange: #f97316;
    --orange-light: #fff3e8;
    --grad: linear-gradient(135deg,#7B3FE4 0%,#1a56db 45%,#00b8c8 100%);
    --grad-soft: linear-gradient(135deg,#f0e8ff 0%,#e8f0fd 50%,#e0f7fa 100%);
    --white: #fff;
    --off: #f4f7fe;
    --text-main: #111827;
    --text-mid: #374151;
    --text-soft: #6b7280;
    --border: #e5e7eb;
}

html {
    font-size: 14px;
    font-family: Arial !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  /*  overflow-x: hidden;*/ /* Esto evita el desbordamiento horizontal */
}

body {
    /*margin-bottom: 5em;*/
    color: #311B92 !important;
}


/*inicio landing menu*/

/*fin landing menu*/


.header {
    background-color: #ffffff !important;
}

.content {
    flex: 1 0 auto;
    padding-left: 15px; /* Reduced padding on left */
    padding-right: 15px; /* Reduced padding on right */
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    margin-right: 15px;
}

.container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

/*footer {
    background-color: #ECF0F1 !important;
    color: #311B92 !important
}
*/
.form-text {
    color: #311B92 !important;
    font-size: 1rem;
}

.form-caja {
    margin-top: 1em;
}

.form-caja-separada {
    margin-top: 2em;
}

.form-control-est {
    color: #311B92 !important;
    background-color: #ECF0F1 !important;
}

    .form-control-est:focus {
        background-color: #b2acbd;
    }

    .form-control-est .valid {
        color: #311B92 !important;
        background-color: #ECF0F1 !important;
    }

.table-agendaz {
    background-color: #ECF0F1 !important;
    border-bottom-width: 0px !important;
}

.table-agendaz thead {
    background-color: #0b5394;
    color: white;
    font-weight: normal !important;
}

.table-agendaz tbody {
    border-color: transparent !important;
    color: #311B92 !important;
}



.btn-formulario {
    color: #fff;
    background-color: #339933;
    border-color: #339933;
    width: fit-content !important;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-top: 1em;
    float: right;
    /*  transition: 0.3s;
    opacity: 0.9*/
}

    .btn-formulario:hover {
        color: #fff;
        background-color: #339933;
        border-color: #339933;
        border: 1px solid;
        width: fit-content !important;
        padding-left: 1.5em;
        padding-right: 1.5em;
        margin-top: 1em;
        float: right;
        /*  opacity: 1*/
    }

.btn-tabla {
    color: #fff;
    background-color: #339933;
    border-color: #339933;
    width: fit-content !important;
    padding-left: 1.5em;
    padding-right: 1.5em;
    /*  transition: 0.3s;
    opacity: 0.9*/
}

    .btn-tabla:hover {
        color: #fff;
        background-color: #339933;
        border-color: #339933;
        border: 1px solid;
        width: fit-content !important;
        padding-left: 1.5em;
        padding-right: 1.5em;
        /*  opacity: 1*/
    }

.btn-claro {
    color: #38204c;
    background-color: #ebd3cb;
    border-color: #ebd3cb !important;
    border: none;
    padding-left: 1.5em;
    padding-right: 1.5em;
    width: fit-content !important;
}

    .btn-claro:hover {
        color: #38204c;
        background-color: #ebd3cb !important;
        border-color: #ebd3cb !important;
        border: 1px solid;
        padding-left: 1.5em;
        padding-right: 1.5em;
        width: fit-content !important;
    }

.btn-descargar {
    color: #fff;
    background-color: #339933;
    border-color: #339933;
    width: fit-content !important;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-top: 1em;
    float: left;
    border-radius: 2em;
    /*  transition: 0.3s;
    opacity: 0.9*/
}

    .btn-descargar:hover {
        color: #fff;
        background-color: #339933;
        border-color: #339933;
        border: 1px solid;
        width: fit-content !important;
        padding-left: 1.5em;
        padding-right: 1.5em;
        margin-top: 1em;
        float: left;
        border-radius: 2em;
        /*  opacity: 1*/
    }

.btn-claro-tabla {
    color: #38204c;
    background-color: #ebd3cb;
    border-color: #ebd3cb !important;
    border: none;
    padding-left: 1.5em;
    padding-right: 1.5em;
    width: fit-content !important;
}

    .btn-claro-tabla:hover {
        color: #38204c;
        background-color: #ebd3cb !important;
        border-color: #ebd3cb !important;
        padding-left: 1.5em;
        padding-right: 1.5em;
        width: fit-content !important;
    }


.casillaTextoLectura {
    border: 1px solid;
    border-color: #b2acbd;
    padding: 5px;
    padding-left: 10px;
    background-color: #b2acbd;
    border-radius: 4px;
    color: white;
}

.texto-pequeno {
    font-size: 0.8em;
}

.btn-user {
    color: #fff;
    background-color: #339933;
    border-color: #339933 !important;
    border: none;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.15em;
    width: fit-content !important;
    margin-top: 1.5em;
}

.btn-desactivar {
    float: right;
    border-radius: 2em;
    font-size: 0.8em;
    margin-top: 2.3em !important;
}

.btn-redondo {
    border-radius: 2em;
    font-size: 0.8em;
    color: #311B92;
    background-color: white;
    font-weight: bold;
    border-color: #311B92;
    width: fit-content !important;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

    .btn-redondo:hover {
        color: #38204c;
        font-weight: bold;
        background-color: white;
    }


.btn-disponibilidad {
    float: right;
}

#logout-button {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.8em;
    border-radius: 0em !important;
    width: 100%;
    text-align: left;
}

    #logout-button:hover {
        background-color: #b2acbd !important;
    }

.dropdown-menu > li > a:hover {
    background-color: #b2acbd;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #ECF0F1;
}

.nav-link {
    color: #311B92 !important;
}


.nav-tabs {
    border-bottom: none;
}


hr {
    color: #38204c !important;
}

.user-icon-div {
    position: relative;
    width: 4.3em;
    height: 4.3em;
    overflow: hidden;
    border-radius: 50%;
    margin-top: 1em;
    margin-bottom: 1em;
}

.caja-icon {
    position: relative;
    width: 6em;
    height: 6em;
    overflow: hidden;
}

.caja-texto-pequeno {
    font-size: 0.8em;
}

.user-icon {
    width: 100%;
    height: auto;
}

.user-icon-rating {
    position: absolute;
    margin-right: -1.5em;
    width: 1.5em;
    height: 1.5em;
    top: 0;
    right: 0;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.titulo {
    margin-top: 1em;
    margin-bottom: 0.8em;
}

.titulo-usuario {
    color: #38204c !important;
    font-size: 1.3em;
}

.img-perfil {
    width: 10em;
    margin-top: 1em;
}

select {
    background-color: #b2acbd !important;
}

    select option:hover {
        background-color: #b2acbd !important;
    }


.elementos-seleccionados {
    margin: 0.5em;
    white-space: nowrap;
}

.caja-info-esq-derecha {
    float: right;
}


/*tooltips formularios*/
.tooltip-form {
    margin-top: 3em;
    font-size: 0.8em
}

    .tooltip-form .tooltiptext-form {
        visibility: hidden;
        width: 25em;
        background-color: #38204c;
        color: #fff;
        text-align: left;
        border-radius: 0.6em;
        padding: 5px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
    }

    .tooltip-form:hover .tooltiptext-form {
        visibility: visible;
    }


/* Style the tab */
.tab {
    overflow: hidden;
    background-color: white;
    border: none;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: white;
        float: left;
        /*border: none;*/
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        /*transition: 0.3s;*/
        border-radius: 0.25rem;
        color: #311B92;
        border-color: #ECF0F1;
    }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ECF0F1;
            color: #311B92;
        }

.tab-40 {
    width: 40%;
}

.tab-30 {
    width: 30%;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.table-responsive-no-overflow {
    display: block;
    width: 100%;
}


#errormsg {
    color: red;
}

.link-detalle {
    color: #339933 !important;
    text-decoration: none;
}

    .link-detalle:visited {
        color: #339933 !important;
    }

.link {
    color: #311B92 !important;
    text-decoration: none;
}

.link-underline {
    color: #311B92 !important;
    text-decoration: none;
}

.link:visited {
    color: #0b5394 !important;
}

/* mouse over link */
.link:hover {
    color: #0b5394 !important;
}

.link-underline:hover {
    color: #0b5394 !important;
    text-decoration: underline;
}

/* selected link */
.link:active {
    color: #0b5394 !important;
}


.tr-panel-sin-registro {
    background-color: white;
}

.perfil-img {
    border: 5px solid;
    border-color: #ebd3cb;
    padding: 5px;
    border-style: ridge;
}

.header-landing {
    background-image: url("../images/cabecera_landing aqb.PNG") !important;
    height: 100vh;
    background-size: 100% 100%;
    display: inherit !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.text-dark:hover {
    background-color: #ECF0F1;
    border-radius: .25rem;
}

.dropbtn {
    background-color: #339933;
    color: white;
    padding: 10px;
    /* font-size: 16px;*/
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        /*  color: black;*/
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.
:hover .dropbtn {
    background-color: #3e8e41;
}



@media (min-width: 768px) {
    .perfil-img {
        width: 75%;
    }

    .header-landing {
        height: 66em;
    }
}

@media (min-width: 1124px) {
    .perfil-img {
        width: 55%;
    }

    .header-landing {
        height: 56em;
    }
}


@media (min-width: 550px) {

    .header-landing {
        height: 75em;
    }
}

@media (min-width: 451px) {

    .header-landing {
        height: 82em;
    }
}


.item-cuenta {
    display: none;
}


/*Classes de dropdown*/
.dropdown-title {
    margin-top: 5px;
    color: #0b5394 !important;
    font-weight: 500;
    cursor: pointer
}

.d-item-highlight {
    background-color: #ECF0F1;
    border-radius: 0.25rem
}

.d-item-cliente, .d-item-proveedor, .d-item-cuenta, .d-item-profesional {
    margin-left: 15px;
    display: none;
}

.d-item-display {
    display: block
}

/*Clase param los modals defs ver funiones center subscripcion*/
.info-sub-modal {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    border-radius: .25rem;
    padding: .375rem 1rem;
    cursor: pointer;
    display: inline-block;
}


/* TOOLTIP HTML Y CSS*/

.tooltip_i {
    position: relative;
    display: inline-block;
    cursor: help;
}

    .tooltip_i .tooltiptext_i {
        visibility: hidden;
        width: 120px;
        font-size: 10px;
        background-color: #ECF0F1;
        color: #0b5394;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip_i .tooltiptext_i::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip_i:hover .tooltiptext_i {
        visibility: visible;
        opacity: 1;
    }



/* Responsive Design */


@media (max-width: 1199px) {

}

@media (max-width: 930px) {

    .mob-pad-left {
        padding-left:30px;
    }
}
    /*tablets*/
    @media (max-width: 768px) {
        footer .footer-links, footer .footer-icons {
            flex-direction: column;
            align-items: left;
        }

        footer .footer-icons-left,
        footer .footer-icons-right {
            justify-content: center;
            margin-bottom: 10px;
        }

        .img-perfil {
            width: 9em;
            margin-top: 2.5em;
            font-size: 1em;
        }

        .titulo-usuario {
            margin: auto;
            width: 50%;
        }

        /*menus landing movil*/
        .menu {
            display: none !important
        }

        .menu-m {
            display: flex !important;
            justify-content: flex-end;
        }


        .menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 50px;
            right: 0;
            width: 100%;
            z-index: 1000;
        }

            .menu ul {
                flex-direction: column;
            }

        .menu-toggle {
            display: block; /* Show the menu toggle button on mobile devices */
        }


        .titulo-mobil {
            margin-top: 2rem;
            font-size: 1.2em;
        }

        .separacion-mobil {
            margin-top: 3rem!important;
        }
        /*.dia-columna {
            min-width: 18% !important;*/ /* Ancho mínimo en escritorio y móviles */
        /*}*/
    }


    /*mobiles*/
    @media (max-width: 576px) {
        .btn-desactivar {
            margin-top: 1.7em !important;
        }

        .img-perfil {
            width: 7em;
            margin-top: 2em;
        }

        .caja-info-esq-derecha {
            float: right;
        }

        .cal-table {
            table-layout: auto !important;
        }

        /*menus landing movil*/
        .menu {
            display: none !important
        }

        .menu-m {
            display: flex !important
        }

        .dropbtn {
            margin-bottom: 12px;
        }

        .margin-mob {
            margin-top: 35px;
        }


        .titulo-mobil {
            margin-top: 2rem;
            font-size: 1.2em;
        }

        .separacion-mobil {
            margin-top: 3rem !important;
        }
        /*.dia-columna {
            min-width: 24% !important;*/ /* Ancho mínimo en escritorio y móviles */
        /*}*/
    }


    @media (max-width: 450px) {
        /* .text {
        font-size: 0.8rem;
    }*/

        .header-landing {
            height: 98em;
        }
        /*menus landing movil*/
        .menu {
            display: none !important
        }

        .menu-m {
            display: flex !important
        }

        .titulo-mobil {
            margin-top: 2rem;
            font-size: 1.2em;
        }

        .separacion-mobil {
            margin-top: 3rem !important;
        }

    }

.close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
.rango-adicional {
    display: none;
}


