@font-face {
    font-family: 'signikabold';
    src: url('../fonts/signika-bold-webfont.woff2') format('woff2'),
        url('../fonts/signika-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'signikaregular';
    src: url('../fonts/signika-regular-webfont.woff2') format('woff2'),
        url('../fonts/signika-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'remachine_script_personal_uRg';
    src: url('../fonts/remachinescript_personal_use-webfont.woff2') format('woff2'),
        url('../fonts/remachinescript_personal_use-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@media screen and (min-device-width : 1000px) and (max-device-width : 2000px) and (orientation : portrait) {
    /* body {
        font-size:2em;
        line-height:1.5em;
    } */
}

@media screen and (max-width: 992px) {
    /* #notificacionesMenu {
        position: fixed !important;
        left: 50% !important;
        top: 60px !important;
        transform: translateX(-50%) !important;
        width: 90vw !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
        z-index: 1055 !important;
    } */

    #notificacionesMenu,
    #usuarioMenu {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        top: 60px !important;
        transform: translateX(-50%) !important;

        width: 90vw !important;
        min-width: 90vw !important;
        max-width: 90vw !important;

        z-index: 1055 !important;
    }
}

:root {
    --primary-color: #136e94;
    --secondary-color: #e9e9e9;
    --menu-color: #136e94;
    --barra-color: #e9e9e9;
}

body {
    background: -webkit-linear-gradient(100deg, #e9e9e9 70%, white 100%);
    background: -moz-linear-gradient(100deg, #e9e9e9 70%, white 100%);
    background: -ms-linear-gradient(100deg, #e9e9e9 70%, white 100%);
    background: -o-linear-gradient(100deg, #e9e9e9 70%, white 100%);
    background: linear-gradient(100deg, #e9e9e9 70%, white 100%);
    font-size: 0.8em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: signikabold;
    color: #246593;
}

h1 {
    font-size: 1.5rem
}

h2 {
    font-size: 1.3rem
}

h3 {
    font-size: 1.1rem
}

h4, h5, h6 {
    font-size: 1.0rem
}

.navbar {
    font-family: signikaregular;
    font-size: 1.1rem;
}

.navbar-brand {
    font-family: remachine_script_personal_uRg;
    font-size: 1.9rem;
    color: #fff !important;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

.primary-background {
    background-color: var(--primary-color) !important;
}

.secondary-background {
    background-color: var(--secondary-color) !important;
}

.checkerboard-background {
    background-color: #f8f9fa;
    background-image:
        linear-gradient(45deg, #dee2e6 25%, transparent 25%),
        linear-gradient(-45deg, #dee2e6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dee2e6 75%),
        linear-gradient(-45deg, transparent 75%, #dee2e6 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}

.tr-inactivo td:not(.col-acciones) {
    opacity: 0.55;
    filter: grayscale(20%);
}

.col-acciones {
    opacity: 1 !important;
    filter: none !important;
}

.cursor:hover {
    cursor: pointer;
}

.observacionesPaciente {
    font-size: smaller;
    font-family: fantasy;
}

.my-card {
    position:absolute;
    left:40%;
    top:-20px;
    border-radius:50%;
}

.jumbotron {
    padding-top: 1.2rem;
}

.dropdown-item {
    color: #136e94;
}

#notificacionesCount {
    transform: translate(-25%, -25%) !important;
    font-size: 0.65rem;
    line-height: 1;
    min-width: 1rem;
    min-height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

#notificacionesMenu {
    /* width: auto; */
    min-width: 28rem;
    max-width: min(90vw, 28rem);
    max-height: 60vh;
    overflow: auto;
    overflow-x: hidden !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

#notificacionesMenu .dropdown-item-text,
#notificacionesMenu .dropdown-item {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

#notificacionesMenu hr {
    border: none;
    border-top: 1px solid #AAA;
    margin: 0.25rem 0;
    opacity: 0.8;
}

.notif-item {
    transition: background-color 0.2s ease;
}

.notif-item.unread {
    background-color: #fff3cd;
}

.notif-item.unread.dropdown-item:hover,
.notif-item.unread.dropdown-item:focus,
.notif-item.unread.dropdown-item:active {
    color: inherit !important;
    background-color: #fff3cd !important;
}

#usuarioMenu {
    min-width: 28rem;
    max-width: min(90vw, 28rem);
    max-height: 60vh;
    overflow: auto;
    overflow-x: hidden !important;
}