@media screen and (min-width: 768px) {
    .modal .modal-dialog {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
    }
}

@media screen and (max-width: 767px) {
    .modal .modal-dialog .modal-content {
        margin: -50px 0 50px 0;
    }
    .fix-header .sidebar {
        width: 100vw;
        height: auto;
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
        top: 58px;
    }

    .sidebar .sidebar-nav {
        max-height: 0;
        overflow-y: auto !important;
    }
    .sidebar .sidebar-nav.navbar-collapse {
        max-height: calc(100vh - 58px);
        overflow-y: auto !important;
    }

    .dropdown .dropdown-tasks, .dropdown .mailbox {
        left: initial;
        right: -50px;
    }
    .login-box.login-sidebar {
        position: relative;
    }

    .modal .modal-dialog {
        min-width: initial;
    }

    .mobile-text-center {
        text-align: center;
    }

    .mobile-text-center .pull-left {
        float: initial !important;
    }
    .mobile-text-center .pull-right {
        float: initial !important;
    }

    .modal .modal-dialog {
        /* top: 50px; */
        /* left: 50%; */
        /* transform: translateX(-50%) !important; */
    }

    table.table {
        display: flex;
        flex-direction: column;
    }

    table.table:not(.rrhh-table) thead {
        display: none;
    }

    table.table.rrhh-table thead tr:not(:first-child) {
        display: none;
    }

    table.table thead tr,
    table.table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #e4e7ea;
        border-radius: 10px;
        margin: 0 0 1.5em 0;
    }

    table.table thead tr,
    table.table thead th
    {
        border: none;
        padding: 0 !important;
    }

    table.table:not(.rrhh-table) th {
        flex: 1;
        display: none;
    }

    table.table th,
    table.table td {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border: none !important;
        word-break: break-all;
        text-align: left;
    }

    table.table td:first-child {
        font-weight: bold;
    }

    table.table td:not(:last-child) {
        padding-bottom: 0;
    }

    table.table td:not(:first-child):not(:last-child) {
        padding-top: 0;
        padding-bottom: 0;
    }

    table.table td:last-child {
        justify-content: space-around;
    }

    .circlebutton {
        top: -2px;
    }

    .alerttopsuccess {
        z-index: 9999;
    }

    .alerttopdanger {
        z-index: 9999;
    }
}
