

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}



:root {
    --primary-color: rgb(30, 30, 30);
    --accent-color: #278fff;
    --accent-dark-color: #1c64b2;
    --accent-light-color: #91dbf5;
    --grey-color: #4f4f4f;
    --primary-bg: rgb(246, 246, 246);
    --secondary-bg: rgb(234, 234, 234);
    --transparent-dark-bg: rgba(0,0,0,0.333);
    --transparent-red-bg: rgb(255 77 77 / 33%);


    --default-radius: 8px;
}

* {
    background-color: inherit;
    color: inherit;
    font-family: inherit;
}

body, html, main {
    background-color: var(--primary-bg);
    color: var(--primary-color);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    /* font-family: sans-serif; */
}



body {
    height: 100vh;
}
main {
    /* border: 1px solid red; */
    height: 100%;
}

.top_bar {
    height: 64px;
    padding: 8px 0;
    background-color: var(--secondary-bg);
    box-shadow: 0 0 18px -11px black;
    z-index: 1;
    position: relative;
}

.top_bar-paciente {

}

.main_container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
}

.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--transparent-dark-bg);
    padding: 20px;
    display: flex;
}

.modal-content {
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    border-radius: var(--default-radius);
    position: relative;
    overflow: auto;
}

.modal-cerrar_btn {
    position: absolute;
    top: 0;
    right: 5px;
}

.modal-titulo {
    margin: 10px 15px;
}

h4.modal-titulo {
    color: var(--grey-color);
}

.modal-highlight {
    background-color: var(--transparent-red-bg);
    margin: 20px;
    margin-top: 5px;
    border-radius: var(--default-radius);
    padding: 10px;
}

.modal-highlight * {
    background-color: transparent;
}

.modal-highlight_item {
    font-size: 13px;
    font-weight: 600;
    color: var(--grey-color);
}

.modal-indent {
    margin-left: 20px;
}

.modal-data,
.modal-horarios {
    margin: 10px;
}

.btn-icon {
    font-size: 35px;
    padding: 0;
    color: var(--accent-color);
}

.btn-icon-sm {
    font-size: 25px;
}

.btn-icon:hover {
    color: var(--accent-dark-color);
}

.btn-icon-red {
    color: #e50000;
}


select:invalid { color: grey; }

.timeline_container {
    height: calc(100% - 64px);
}

.timeline {
    height: 100%;
    position: relative;
    width: 100%;
    overflow: auto;
    margin: 0;
    padding: 0;
    user-select: none;
}

.timeline * {
    user-select: inherit;
}

.timeline_frames {
    /* height: 100%; */
    /* width: 2000px; */
    display: flex;
    flex-wrap: no-wrap;
    justify-content: start;
    align-items: center;
}

.timeline_frame {
    position: relative;
    max-width: 60px;
    min-width: 60px;
    width: 60px;
    height: 100%;
    /* padding-top: 40px; */
    /* border-right: 1px solid red */
}

.timeline_frame:first-child {
    width: 180px;
    max-width: 180px;
    min-width: 180px;
    position: sticky;
    left: 0;
    z-index: 11;
}

.timeline_frame:first-child .timeline_frame_row {
    border-right: 1px solid var(--grey-color);
    justify-content: start;
    padding-left: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-color);
}

.timeline_frame:nth-child(even) {
    background-color: var(--secondary-bg);
}

.timeline_frame.active_now {
    background-color: var(--accent-light-color);
}

.timeline_frame_time {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--grey-color);
    font-size: 15px;
    font-weight: 500;


    width: 100%;
    display: flex;
    justify-content: center;
    position: sticky;
    left: 0;
    top: 0;
    height: 40px;
    z-index: 9;
    transform: translateX(0);
    border-bottom: 1px solid var(--grey-color);
}

.timeline_frame_time_remaining {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
}

.timeline_frame_rows {
    position: relative;

}

.timeline_frame_row {
    position: relative;
    border-top: 1px solid var(--grey-color);
    width: 100%;
    height: 60px;
    transition: background-color .05s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-weight: 500;
    overflow: hidden;
    line-height: 1;
}

.timeline_frame_row:last-child {
    border-bottom: 1px solid var(--grey-color);
}

.timeline_frame_row:hover {
    cursor: pointer;
    /* background-color: var(--transparent-dark-bg); */
}

.timeline_frame_row_unidad {
    position: absolute;
    top: 1px;
    right: 1px;
    font-size: 14px;
}

.timeline_frame_row_valor {
    position: relative;
    top: 10px;
    font-size: 18px;
}

.timeline_frame_row_label {
    position: absolute;
    z-index: 1;
    left: 0;
    line-height: 28px;
    width: 23px;
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--grey-color);
    background-color: var(--bs-border-color);
    overflow: hidden;
    white-space: nowrap;
}



.cell_val__value_container {
    height: 40px;
}


#modal-operaciones_nuevo label,
#modal-datos_operacion_actual label {
    font-weight: 500;
}


#modal-operaciones_nuevo textarea {
    height: 200px;
}



.btn_editar_categoria {
    left: -15px;
}

.subcat-header {
    font-weight: 600;
    border-bottom: 1px solid grey;
    margin-right: 30px;
    margin-bottom: 10px;
    margin-top: 20px;
}


/* .numpad_container {
    left: 44px;
} */



/* 
NUMPAD

*/
#keyboard {  
    margin: 0;  
    padding: 0;  
    list-style: none;  
    }  
        #keyboard li {  
            float: left;
            margin: 0 5px 5px 0;
            width: 80px;
            height: 70px;
            font-size: 24px;
            line-height: 60px;
            text-align: center;
            display: flex;
            background: #fff;
            justify-content: center;
            border: 1px solid #f9f9f9;
            border-radius: 5px;
            align-items: center;
        }  
            .capslock, .tab, .left-shift, .clearl, .switch {  
            clear: left;  
            }  
                #keyboard .tab, #keyboard .delete {  
                width: 70px;  
                }  
                #keyboard .capslock {  
                width: 80px;  
                }  
                #keyboard .return {  
                width: 90px;  
                }  
                #keyboard .left-shift{  
                width: 70px;  
                }  
    
                #keyboard .switch {
                width: 90px;
                }
                #keyboard .rightright-shift {  
                width: 109px;  
                }  
            .lastitem {  
            margin-right: 0;  
            }  
            .uppercase {  
            text-transform: uppercase;  
            }  
            #keyboard .space {  
            float: left;
            width: 556px;  
            }  
            #keyboard .switch, #keyboard .space, #keyboard .return{
            font-size: 16px;
            }
            .on {  
            display: none;  
            }  
            #keyboard li:hover {  
            position: relative;  
            top: 1px;  
            left: 1px;  
            border-color: #e5e5e5;  
            cursor: pointer;  
            }  




