﻿html {
    /*height: 100%;*/
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Calibri, Arial, Helvetica, sans-serif !important;
    font-size: 17px;
    font-weight: 300;
}

h1 {
    font-size: 24px;
    margin: 15px 10px 5px;
    border-left: 5px solid rgb(255, 87, 0);
    padding: 0 15px;
    color: rgb(52, 53, 57);
    font-weight: bold;
    line-height: 32px;
}

h2 {
    margin: 10px px 0;
    padding: 0;

    font-size: 20px;
    font-weight: 300;
    line-height: 25px;

    width: 200px;
}

a, a:hover {
    color: #EC730B;
}

@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/titilliumweb/v15/NaPDcZTIAOhVxoMyOr9n_E7ffBzCGItzYw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.PanelBox h2 {
    float: left;

}

label {

    font-weight: 300;
    line-height: 25px;
    margin: 0;
    padding: 0 0 10px 0;
}

#header {
    width: 100%;
    height: 64px;
    background-color: rgb(26, 31, 108);
    min-height: 64px;
}

    #header img {
        float: left;
        margin: 18px 10px 8px 10px;
        max-height: 50px;
    }

    #header .Logo {
        float: left;
        margin-top: 25px;
        padding-left: 20px;
        color: #EC730B !important;
        font-weight: bold;
        font-size: 28px;
        line-height: 16px;
        text-transform: uppercase;
    }

    #header .user {
        background-image: none !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        margin-top: 20px;
        margin-right: 15px;
        padding: 0 20px 0 10px !important;
        min-height: 35px;
        color: #EC730B !important;
        float: right;
    }

    #header .user span {
        color: #EC730B !important;
        margin-top: 6px;
        text-transform: lowercase;
        cursor: pointer;
    }

    #header a {
        color: rgb(255, 255, 255);
        margin-left: 15px;
        font-family: 'Titillium Web';
        font-size: 20px;
        margin-top: 10px;
        float: left;
    }

    #header .SubmenuUsuario a {
        color: #495463; 
        margin-left: 15px;
        font-family: 'Titillium Web';
        font-size: 14px;
        margin-top: 10px;
        float: left;
    }

    #header a:hover {
        color: rgb(255, 255, 255);
    }

    #header .SubmenuUsuario a:hover {
        color: #495463;
    } 

    .SubmenuUsuario {
        background-color: rgb(255, 255, 255);
        position: absolute;
        display: inline-block;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 8px 0px;
        z-index: 1;
        width: auto;
        right: 0px;
        top: 64px;
        border-radius: 8px;
        margin: 4px 24px;
    }

    .SubmenuUsuario ul {
        padding-left: 0;
        margin-bottom: 0;
    }

        .SubmenuUsuario ul li {
            cursor: pointer !important;
            border-bottom: 1px solid #e4eaec;
            white-space: normal;
            margin: 0;
            float: left;
            width: 100%;
            font-size: 14px;
            color: rgb(52, 53, 57) !important;
        }

        .SubmenuUsuario ul li:hover {
            background-color: #FAFBFC;
        }

            .SubmenuUsuario ul li a {
                padding: 10px 20px;
                margin-bottom: 10px;
                margin-right: 20px;
                display: block;
                font-size: 14px;
                font-family: 'Titillium Web';
                width: 100%;
            }

                .SubmenuUsuario ul li a:hover {
                    text-decoration: none;
                    color: inherit;
                    background-color: rgb(255, 238, 230);
                    width: 90%;
                }

#container {
    display: table;
    height: 100vh;
    width: 100%;
}

#menu {
    display: table-cell;
    width: 150px;
    height: 100%;
    background-color: white;
    font-family: 'Titillium Web';
    font-weight: normal;
    min-width: 160px;
}

@media only screen and (max-width: 900px) {
    #header div a span {
        display: none;
    }
    
    #menu {
        display: none;
    }
}

        #menu ul {
            margin: 0;
            padding: 0;
        }

            #menu ul li {
                align-items: center;
                min-height: 50px;
                border: none;
                border-left: none;
                border-right: none;
            }
                #menu ul li:first-child a {
                    margin-top: 20px;
                }

                #menu ul li a, #menu ul li a:visited {
                    text-decoration: none;
                    display: block;
                    font-size: 16px;
                }

                #menu ul li a:hover {
                    color: #EC730B;
                }

    #content {
        display: table-cell;
        padding-left: 10px;
        color: #495463;
    }

    #footer {
        float: left;
        margin-top: auto;
        background-color: #283248;
        width: 100%;
        height: 50px;
        margin-top: 20px;
    }

        #footer span {
            color: white;
            margin: 10px 10px;
        }

.PanelBox {
    color: rgba(0, 0, 0, 0.87);
    /*border: 1px solid #dddddd;*/
    margin: 10px 10px 25px;
    padding: 20px 10px;
    text-align: left;
    border-radius: 8px;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 0px 2px;
    background-color: rgb(255, 255, 255);
}

    .BotonedaAdmin {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: rgba(214,214,214,0.8);
        padding: 5px;
    }

    /**** MENU ****/
    ul li {
        margin: 5px 0;
    }

        ul li a, ul li a:visited {
            color: #495463;
        }



    .menuSelected {
        font-weight: bold;
    }
    /****************** Otros **************************************************/
    .rojo {
        color: red;
    }
.InputRequired {
    border-color: red;
}
    .verde {
        color: green;
    }

.azul {
    color: #007bff;
}
.fullWidth {
    width: 100%;
}

    .negrita {
        font-weight: bold;
    }

    .center {
        text-align: center;
    }

    .AreaSeccion {
        margin-bottom: 20px;
    }

    .btn {
        font-size: 17px;
    }

    .btn-cunef {
        color: #fff;
        background-color: #EC730B;
        border-color: #EC730B;
    }

        .btn-cunef:hover {
            color: #fff;
            background-color: #F89D4F;
            border-color: #F89D4F;
        }
.naranja {
    color: #EC730B;
}
    .izquierda {
        float: left;
    }

    .derecha {
        float: right;
    }

    .textCentro {
        text-align: center;
    }

    .textIzquierda {
        text-align: left;
    }

    .textDerecha {
        text-align: right;
    }


.modal { /* para arreglar el scroll de una modal sobre una modal **//
    overflow: auto !important;
}

    /***************** Listados **********************************************/
    ul.listadoNaranja {
        list-style-type: none;
    }

        ul.listadoNaranja a {
            text-transform: capitalize;
        }

        ul.listadoNaranja li:before {
            content: "\01F89D";
            color: #F58233;
            margin-right: 6px;
        }

        ul.listadoNaranja li.desp:before {
            content: "\27A5";
            font-size: 20px;
        }


        ul.listadoNaranja li.desp span, ul.listadoNaranja li span.desp {
            /* font-size: large;*/
            font-weight: bold;
            color: #495463;
            font-family: "Roboto", Calibri, Arial, Helvetica, sans-serif;
        }


    /* Remove default bullets */
    ul, #myUL {
        list-style-type: none;
    }

    /* Remove margins and padding from the parent ul */
    #myUL {
        margin: 0;
        padding: 0;
    }

    /* Style the caret/arrow */
    .caret {
        cursor: pointer;
        user-select: none; /* Prevent text selection */
    }

        /* Create the caret/arrow with a unicode, and style it */
        .caret::before {
            /*content: "\25B6";*/
            content: "\27A5";
            color: #F58233;
            display: inline-block;
            margin-right: 6px;
            transition: ease 0.8s;
        }

    .caretlink::before {
        content: "\01F89D";
        color: #F58233;
        display: inline-block;
        margin-right: 6px;
    }

    /* Rotate the caret/arrow icon when clicked on (using JavaScript) */
    .caret-down::before {
        transform: rotate(90deg);
        transition: ease 0.8s;
    }

    /* Hide the nested list */
    .nested {
        display: none;
        margin-bottom: 8px;
    }

    /* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
    .active {
        display: block;
    }

    .Desp {
        font-size: large;
        font-weight: bold;
    }

    .Desc {
        /* color:gray;*/
        font-size: medium;
    }


    /************ Calendario - FULL CALENDAR ****************/
    .fc-toolbar-title:first-letter {
        text-transform: capitalize;
    }


    .fc-daygrid-event {
        cursor: pointer;
    }

    .fc-daygrid-day-number {
        color: #707785;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
        padding: 0 1rem 1rem 1rem;
    }

    .fc-col-header-cell, .fc-theme-standard .fc-list-day-cushion {
        background-color: #707785;
    }

    .fc-col-header-cell-cushion, .fc-list-day-cushion a {
        color: white;
    }

    .fc-event th {
        color: #F58233;
    }

    .fc-event td {
        color: #007bff;
    }

    .fc-v-event {
        background-color: #F4F6F9 !important;
    }

    .table-event {
        border: 0;
        margin-bottom: 5px;
    }

        .table-event tr th {
            border: 0;
            color: #F58233;
            text-align: left;
            background-color: #F4F6F9;
            border: 1px solid #3788d8;
        }

        .table-event tr td:first-child {
            min-width: 50%;
        }

        .table-event tr td {
            border: 0;
            text-align: left;
        }

    .fc-daygrid-event {
        color: #707785;
    }

    .fc-daygrid-event-dot {
        border-color: #707785 !important;
        color: #707785;
    }

.EventoSeleccionado {
    background-color: #EC730B;
    color: white;
    border: 1px solid #EC730B;
}

    .EventoSeleccionado:hover {
        background-color:white;
        color: #EC730B;
    }
/**********FULL CALENDAR -  Version para impresion ***************/
.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
    padding: 0 0 1rem 0;
}

    .paginaPrint {
        position: fixed;
        width: 100%;
        height: auto;
        display: block;
        z-index: 9999999999;
        background-color: white;
        overflow-y: auto;
    }

    #calendar.print {
        max-height: none !important;
    }

    .fc-scroller.fc-scroller-liquid-absolute.print {
        overflow: auto !important;
    }

    .print.fc-view-harness.fc-view-harness-active,
    .fc-col-header.print,
    .print.fc-daygrid-body.fc-daygrid-body-unbalanced,
    .print.fc-scrollgrid-sync-table {
        width: 100% !important;
    }

    .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr.print div:first-child *, .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr.print div:nth-child(3) * {
        display: none;
    }
    /******* SELECT2 - combos ******************/
.custom-select {
    font-size: 17px;
}
    
    .select2-selection {
        /*font-size: 20px;*/
    }



/*************** FULLCALENDAR - ControlPersencia *****************/

.eventoCalendario {
    border: 1px solid #CCC;
    padding: 5px;
    width: 100%;
    border-radius: 5px;
    color: white;
    text-align: center;
    font-weight: bold;
}

    .eventoCalendario.presencia.validadoUsuario {
        border-color: #28a745;
        background-color: #28a745;
    }

    .eventoCalendario.presencia.autoValidado {
        border-color: #007E33;
        background-color: #007E33;
    }

    .eventoCalendario.presencia.pendienteValidar {
        border-color: #ffc107;
        background-color: #ffc107;
    }


    .eventoCalendario.vacacion {
        border-color: #007bff;
        background-color: #007bff;
    }

    .eventoCalendario.abstencion {
        border-color: #707785;
        background-color: #707785;
    }

    .eventoCalendario.festivo {
        border-color: #dc3545;
        background-color: #dc3545;
    }

.btn.eventoCalendario {
    padding: 5px 10px;
}