@media (min-width: 1100px) and (max-width: 1400px) {
    body {
        zoom: 0.9;
    }
}

body {
    /*overflow-y: auto!important;*/
    height: 100%;
}

body>.md-input-wrapper+* {
    margin-top: 0px;
}

#page_content {
    height: 100%;
}

#page_content_inner {
    height: calc(100% - 48px);
}

#sidebar_main .sidebar_main_header {
    height: 53px;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#sidebar_main .menu_section>.menu_sub-section>ul>li>a .menu_title {
    display: inline-block;
    vertical-align: middle;
}

.menu_title,
.menu_icon>i,
.sub_menu {
    color: #fff;
}

.sub_menu:hover,
.sub_menu:active {
    color: #fff;
}

.sub_menu {
    padding-left: 60px !important;
}

#sidebar_main .menu_section>.menu_sub-section>ul>li>a>.menu_icon {
    width: 28px !important;
    vertical-align: sub;
}

#opciones_tarea>button {
    z-index: 2000;
}

#sidebar_main {
    color: #fff !important;
    background: #444 !important;
}

#header_main {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23) !important;
}

#sidebar_secondary_toggle>i {
    -moz-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

#sidebar_secondary_toggle>i.message {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

#alerta_mensajes {
    position: absolute;
    top: 7px;
    right: 7px;
}

.separator-span {
    margin-left: 20px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: bold;
}

.menu_icon>i {
    margin-top: 3px;
    font-size: 18px !important;
}

.menu_title {
    font-size: 14px !important;
}

.separator-hr {
    opacity: 0.1;
    border-width: 2px;
    margin-top: 3px;
    margin-bottom: 15px;
}

#user_image {
    height: 34px;
}

#user_name {
    font-weight: bolder;
}

.user_actions>li+li {
    width: 40px;
}

.unit_card_content {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.unit_card_content>* {
    float: right
}

.unit_card_content>img {
    margin-bottom: 8px;
}

#units_grid>div {
    cursor: pointer;
    position: relative;
}

#elejir_unidad .md-card-toolbar {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23) !important;
}

#header_main,
#top_bar {
    z-index: 1213;
}

@keyframes slideOutUp {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0);
    }
}

@keyframes slideInUp {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@media (min-width: 1219px) {
    .ng-enter {
        animation: slideInUp 0.5s both ease-in;
        z-index: 9999;
    }

    .ng-leave {
        animation: slideOutUp 0.5s both ease-in;
        z-index: 8888;
    }
}

@keyframes loading {
    from {
        width: 0%
    }

    to {
        width: 100%
    }
}

@keyframes loaded {
    0% {
        width: 75%
    }

    99% {
        width: 100%
    }

    100% {
        width: 0%
    }
}

#progress_bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 5px;
}

#progress_bar.loading {
    animation: loading 2s cubic-bezier(0, 0.9, 0.59, 0.06);
}

#progress_bar.loaded {
    animation: loaded 0.5 cubic-bezier(0, 0.9, 0.59, 0.06);
}


/**** preloader */

@keyframes indeterminate {
    0% {
        left: -35%;
        right: 100%;
    }

    60% {
        left: 100%;
        right: -90%;
    }

    100% {
        left: 100%;
        right: -90%;
    }
}

@-webkit-keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }

    60% {
        left: 107%;
        right: -8%;
    }

    100% {
        left: 107%;
        right: -8%;
    }
}

@-moz-keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }

    60% {
        left: 107%;
        right: -8%;
    }

    100% {
        left: 107%;
        right: -8%;
    }
}

@keyframes indeterminate-short {
    0% {
        left: -200%;
        right: 100%;
    }

    60% {
        left: 107%;
        right: -8%;
    }

    100% {
        left: 107%;
        right: -8%;
    }
}

.progress .indeterminate:before {
    content: '';
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    -moz-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    -ms-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    -o-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    height: 2px;
}

.progress .indeterminate:after {
    content: '';
    position: absolute;
    background-color: inherit;
    top: 0;
    left: 0;
    bottom: 0;
    will-change: left, right;
    -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    -moz-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    -ms-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    -o-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
    -webkit-animation-delay: 1.15s;
    -moz-animation-delay: 1.15s;
    -ms-animation-delay: 1.15s;
    -o-animation-delay: 1.15s;
    animation-delay: 1.15s;
    height: 2px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 999999;
    text-align: center;
}

#preloader .preloader-position {
    width: 100%;
    margin: 0 auto;
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#preloader .progress {
    height: 2px;
    margin: 35px 0;
}

#preloader .progress .indeterminate {
    background: #ffbc40;
    position: relative;
}

.uk-modal {
    -webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}

#sidebar_main {
    z-index: 1213;
}

body>.content-preloader.preloader-active {
    margin-top: 48px;
    z-index: 2000;
}

.uk-modal-page,
.uk-modal-page body {
    overflow: unset !important;
}

body>.md-input-wrapper {
    display: none;
    visibility: hidden;
}


/*li.submenu_trigger>a:before {
    color: white!important;
}*/

.md-card-toolbar.md-bg-primary {
    /*box-shadow: 0 2px 2px rgba(0,0,0,.23)!important;*/
    border-bottom: 0px;
}

#no-contacts,
#no-chats {
    height: 200px;
    position: absolute;
    top: calc(50% - 100px);
    width: 100%;
    text-align: center;
    left: 0px;
}

li[aria-hidden="true"]>#no-contacts {
    position: absolute;
    top: 212px;
}

#partners-searcher-autocomplete .uk-dropdown {
    width: 98%;
    margin-left: 1%;
}

#partners-searcher-autocomplete .uk-dropdown li {
    padding: 0px 12px;
}

#partners-searcher-autocomplete .image-container {
    width: 44px;
}

#partners-searcher-autocomplete .text-container {
    width: calc(100% - 44px);
}

#partners-searcher-autocomplete.uk-open {
    height: 200px;
}

#sidebar_secondary .uk-switcher>li {
    padding-left: 10px;
    padding-right: 10px;
}

.actions-btn {
    position: absolute;
    top: 10px;
    right: 5px;
}

#sidebar_secondary .uk-switcher>li>ul.md-list>li>.md-list-content>.uk-text-truncate {
    max-width: calc(100% - 35px);
}

#chatbox_wrapper {
    z-index: 10;
    min-height: 80px;
    padding-bottom: 0px;
}

.chatbox_header {
    background: #444;
}

.chatbox_header * {
    color: #fff;
}

.chatbox.minimized {
    height: 0px;
    padding: 0;
    transform: translate3d(0, 100%, 0);
}

.chatbox.minimized>.chatbox_header {
    margin-top: 26px;
}

.chatbox.minimized>.chatbox_footer,
.chatbox.minimized>.chatbox_content {
    display: none;
    height: 0px;
}

.chatbox.minimized .chatbox_minimize {
    display: none;
}

#chatbox_wrapper.chatboxes_fab {
    padding-right: 100px;
}

#dashboard_sidebar_tabs .md-list>li {
    margin-left: 50px;
}

#sidebar_secondary .chat_sidebar_close {
    top: 10px !important;
    z-index: 5;
}

.chat_message_time {
    font-size: 9px !important;
}

.chat_box_wrapper.chat_box_small {
    margin-top: 14px;
}

#chat .chat_message>li {
    max-width: 100%;
    position: relative;
}

#chat .chat_message>li>p {
    max-width: 100%;
    word-wrap: break-word;
}

#chat .chat_message_wrapper span.message-status {
    position: absolute;
    left: -15px;
    bottom: 1px;
    right: auto;
}

#chat .chat_message_wrapper.chat_message_right span.message-status {
    right: -20px;
    left: auto;
}

#chat .chat_message_wrapper.chat_message_right span.message-status>i {
    color: rgba(0, 0, 0, 0.54);
}

.message-status>i:nth-child(2) {
    margin-left: -16px;
}

.message-status>i.material-icons {
    font-size: 12px;
}

#partners>li>div>span.uk-badge {
    position: absolute;
    top: 9px;
    right: 12px;
}

.chat_submit_box {
    z-index: 3000;
}

.chat_box_wrapper .chat_box {
    padding-bottom: 50px;
}

.chatbox_user {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.23);
    z-index: 4;
    position: relative;
}

.cnt_notificaciones>li:hover {
    cursor: pointer;
    background: #E6E6E6;
}

.files_upload {
    display: none;
    z-index: 1350;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: #ffffff;
}

.dataTables_filter {
    float: right;
}

.dataTables_filter input[type='search'] {
    margin-left: 5px;
}

.call-animation {
    background: rgb(130, 221, 233);
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: solid 5px rgb(252, 241, 241);
    animation: call 1.5s ease infinite;
    color: aliceblue;
    font-size: 35px;
    font-weight: bold;
    position: relative;
}

.caller-img {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 35px;
    left: 35px;
}

@keyframes call {
    15% {
        box-shadow: 0 0 0 4px rgba(235, 176, 33, 0.5);
    }

    25% {
        box-shadow: 0 0 0 8px rgba(235, 176, 33, 0.5),
            0 0 0 16px rgba(235, 176, 33, 0.3);
    }

    30% {
        box-shadow: 0 0 0 12px rgba(235, 176, 33, 0.5),
            0 0 0 24px rgba(235, 176, 33, 0.3);
    }
}

.dropDown-alerts.uk-dropdown-active {
    display: inline !important;
    top: 0px !important;
    left: -125px !important;
}

/* Fuente y ajustes generales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

/* Sidebar moderno */
#sidebar_main {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1 !important;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

#sidebar_main .menu_section>.menu_sub-section>ul>li>a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background 0.3s;
}

#sidebar_main .menu_section>.menu_sub-section>ul>li>a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu_title {
    font-size: 15px;
    font-weight: 600;
    color: #ecf0f1;
}

.menu_icon>i {
    font-size: 20px;
    margin-right: 10px;
}

/* Animaciones para la apertura del menú */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#sidebar_main {
    animation: fadeInLeft 0.5s ease-in-out;
}

/* Botón de alternar menú */
#sidebar_secondary_toggle {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

#sidebar_secondary_toggle:hover {
    transform: rotate(90deg);
}

/* Tarjetas más modernas */
.md-card-toolbar.md-bg-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

