/* Imagen Avatar mas grande */
.layout-topbar .profile-menu-button {
    height: 58px !important;
}

.layout-topbar .profile-menu-button img {
    width: 55px !important;
    height: 55px !important;
}


.login-body {
    background-image: url("") !important;
}
.p-field>label {
    font-weight: bolder;
}
.ui-small-button {
    width: 2rem !important;
    height: 2rem !important;
}
.botonAccionTabla button {
    border-radius: 50% !important;
    width: 2rem !important;
    height: 2rem !important;
}
.botonAccionTabla button span {
    left: 1.3rem !important;
}
.tagLink {
    background-color:var(--primary-color) !important;
    color: var(--primary-color-text) !important;
}
.crud .ui-datatable {
    margin-top: 1rem;
}
.crud .ui-datatable-header {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    font-size: larger;
    padding: 4px 4px !important;
    background-color:var(--primary-color) !important;
    color: var(--primary-color-text) !important;
}

.crud .crud-table-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background-color:var(--primary-color) !important;
    color: var(--primary-color-text) !important;
}
.bg-footer-table {
    background-color:var(--primary-color) !important;
    color: var(--primary-color-text) !important;
    padding-right: 3px !important;
}

.timeline-clock {
    display: inline-block;
    margin-top: 0.5em;
    background-color: #eeeeee;
    color: #616161;
    padding: 0.5em;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
.timeline-clock em {
    margin-right: 7px;
    vertical-align: middle;
}
.timeline-clock label {
    vertical-align: middle;
    font-size: 13px;
}

.ui-inplace .ui-inplace-display {
    padding: 0 !important;
}
.inputNumber {
    text-align: right !important;
    width: 150px !important;
}
.ui-fieldset {
    padding: 0.0rem 0.0rem 0.0rem 0.75rem !important;
}

.schedule-orange, .schedule-orange .fc-event-skin, .schedule-orange a {
    background-color: orange !important;
    color: black !important;
    border-color: darkorange !important;
}

.schedule-yellow, .schedule-yellow .fc-event-skin, .schedule-yellow a {
    background-color: goldenrod !important;
    color: black !important;
    border-color: darkgoldenrod !important;
}

.schedule-blue, .schedule-bluee .fc-event-skin, .schedule-blue a {
    background-color: #0c72ea !important;
    color: white !important;
    border-color: darkblue !important;
}

.schedule-gray, .schedule-gray .fc-event-skin, .schedule-gray a {
    background-color: #d4d0c8 !important;
    color: black !important;
    border-color: darkgray !important;
}

.schedule-magenta, .schedule-magenta .fc-event-skin, .schedule-magenta a {
    background-color: magenta !important;
    color: black !important;
    border-color: darkmagenta !important;
}

.schedule-green, .schedule-green .fc-event-skin, .schedule-green a {
    background-color: green !important;
    color: black !important;
    border-color: darkgreen !important;
}

.schedule-red, .schedule-red .fc-event-skin, .schedule-red a {
    background-color: red !important;
    color: black !important;
    border-color: darkred !important;
}
.colorAutorizado {
    background-color:#9c27b0 !important;
    color:#fff!important;
    /*background: var(--primary-color) !important;
    color: var(--primary-color-text) !important;*/
}
.badgeAutorizado {
    right: -8px!important;
    min-width: 1.2rem!important;
    height: 1.2rem!important;
    line-height: 1.2rem!important;
}
/*Configuraciones para p:dialog */
.widthPanel {
    width: 100% !important;
}

@media screen and (min-width: 500px) {
    .widthPanel {
        width: 600px !important;
    }
}
.heigthScroll {
    height: 700px !important;
}
@media screen and (min-height: 500px) {
    .heigthScroll {
        height: 450px !important;
    }
}

/* Adecuar Logo en dispositivos pequeños */
@media screen and (max-width: 400px) {
    .layout-topbar .layout-logo {
        margin-left: 0.5em !important;
    }
    .layout-topbar .profile-menu-button {
        margin-left: -1em;
    }
}
.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.summary-box {
    position: relative;

    .card {
        min-height: 100px;
    }

    .summary-box-title {
        font-size: 16px;
        margin: 0;
        color: #ffffff;
    }

    p {
        margin: .25em 0;
        color: #ffffff;
    }

    .summary-box-icon {
        position: absolute;
        right: 24px;
        top: 32px;
    }

    .summary-box-graph {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    &.summary-box-messages {
        .card {
            border-top: 4px solid #0097a7;
            background-color: #00bcd4;
        }
    }

    &.summary-box-checkins {
        .card {
            border-top: 4px solid #ad1457;
            background-color: #e91e63;
        }

    }

    &.summary-box-filessynced {
        .card {
            border-top: 4px solid #f47b08;
            background-color: #ffb300;
        }

    }

    &.summary-box-usersonline {
        .card {
            border-top: 4px solid #455a64;
            background-color: #607d8b;
        }
    }
}