:root {
    --hiperpbx-green: #A7C71D;
    --hiperpbx-dark-green: #019D4A;
    --hiperpbx-grey: #5A5B5B;

    --blue: #409EFF;
    --light-blue: #D1EBFC;
    --blue-grey: #91A0A5;
    --dark-blue: #333645;
    --other-blue: #535564;
    --dark-grey: #7A7A7A;
    --green: rgb(138,204,63);
    --light-green: #e1f3d8;
    --red: rgb(188,1,1);
    --yellow: #EEFF5A;
    --orange: #ffb25a;
    --column: 1em;
    --radius: 3px;
    --shadow: 0 3px 6px 0 rgba(0,0,0,0.1);
    --menu-color : var(--blue-grey);
    --menu-color-active : white;
    --bubble-self-background-color: #D1EBFC;
    --bubble-text-color: #5b656b;
    --whatsapp-green:#25D366;
    --shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
    --menu-color: var(--blue-grey);
    --menu-color-active: white;
    --bubble-background-color:white;
    --bubble-text-color: rgb(18,18,19);
    --bubble-self-background-color: rgb(43,172,239);
    --bubble-self-text-color: white;
    --whatsapp-green: #25D366;
    --light-menu-color: rgb(227, 229, 232);
    --light-menu-links-color: #606266;
    --light-menu-chat: rgb(242, 243, 245);
    --calls: #FF577F;
    --chats: #409EFF;
    --tickets: #FFDA77;

    --softphone-widget-normal-font-size: 12px;
    --softphone-widget-title-font-size: 13px;

    --green-status: rgb(138,204,63);
    --green-button: rgb(138,204,63);
    --red-status: rgb(232,65,65);
    --red-button: rgb(188,1,1);
    --blue-new-message: rgb(43,172,239);
    --grey-status: rgb(221,221,221);

    --softphone-width: "400px";

    --green-500: #80D631;
    --green-400: #A7E661;
    --green-300: #C3F282;
    --green-200: #DEFAAD;
    --green-100: #F0FCD5;
    --green-50: #EDFCEC;
  
    --violet-500: #6D3499;
    --violet-400: #9D61C1;
    --violet-300: #C387E0;
    --violet-200: #E3B4F4;
    --violet-100: #F2D8F9;
  
    --blue-500: #1C78EF;
    --blue-400: #52A0F5;
    --blue-300: #75BBFA;
    --blue-200: #A3D6FD;
    --blue-100: #D1ECFE;
  
    --red-500: #ff4f38;
    --red-400: #ff8669;
    --red-300: #fea887;
    --red-200: #fecbae;
    --red-100: #ffe8d8;

    --grey-neutral-900: #1C1C1C;
    --grey-neutral-800: #2B2B2B;
    --grey-neutral-700: #444444;
    --grey-neutral-600: #575757;
    --grey-neutral-500: #757575;
    --grey-neutral-400: #A5A5A5;
    --grey-neutral-300: #D6D6D6;
    --grey-neutral-200: #E8E8E8;
    --grey-neutral-100: #F5F5F5;
    --grey-neutral-50: #FAFAFA;

    --yellow-500: #cce100;
}

::-webkit-scrollbar {
    width: 4px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #67747A
}

.list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2)
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    background-color: #F9F9F9;
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    width: 100vw;
}

h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    color: #5A5B5B;
}

h3, h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;
    color: #5A5B5B;
}

.the-left-menu h2 {
    color: white;
}

.light .the-left-menu h2 {
    color: #5A5B5B;
}

#app>div:first-child.main-view {
    display: inline-flex;
    height: 100vh;
    width: 100vw;
}

main {
    flex: 1;
    overflow-y: auto;
}

main>div:first-child {
    padding: var(--column);
}

.box-content {
    background-color: #ffffff;
    border-radius: 10px;
    height: 100%;
}

.status-text.connected {
    color: var(--green-status);
}

.status-text.away {
    color: var(--red-status);
}

.status-text.busy {
    color: var(--orange);
}

.crud-content {
    height: 100%;
}

.crud-content .header {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.crud-content .buttons {
    align-items: center;
    display: inline-flex;
}

.crud-content .buttons .el-button {
    margin-left: 10px;
}

.crud-content .crud-table .table {
    border-collapse: separate;
    border-spacing: 0 10px;
    color: var(--blue-grey);
    text-align: left;
    width: 100%;
}

.crud-content .crud-table .table .actions {
    text-align: right;
}

.crud-content .crud-table .table thead {
    color: var(--dark-grey)
}

.crud-content .crud-table .table>tbody>tr>td:first-child {
    border-radius: 10px 0 0 10px;
}

.crud-content .crud-table .table>tbody>tr>td:last-child {
    border-radius: 0 10px 10px 0;
}

.crud-content .crud-table .table tbody tr {
    background-color: white;
    border: 50px;
    font-size: 14px;
    margin-bottom: var(--column)
}

.crud-content .crud-table .table tbody tr.checked {
    background-color: #E9F6FC;
}

.crud-content .crud-table .table td, .crud-content .crud-table .table th, .crud-content .crud-table .table thead th {
    border-color: transparent;
    color: #90a0a5;
    vertical-align: middle;
    padding: var(--column);
}

.crud-content .crud-table .table .user-with-profile {
    display: inline-flex;
}

.crud-content .crud-table .table .user-with-profile .user {
    margin-right: var(--column);
}

.crud-table-footer {
    align-items: center;
    color: #595959;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.crud-table-pagination {
    margin-top: var(--column);
    display: inline-flex;
    list-style: none;
}

.crud-table-pagination .page {
    margin-right: var(--column);
}

.crud-table-pagination .page:hover {
    border-bottom: 1px solid var(--blue);
}

.crud-table-pagination .page a.active {
    background-color: var(--blue);
    border-radius: 3px;
    color: white;
    padding: calc(var(--column) / 2);
}

.crud-table-pagination .page a {
    color: var(--dark-grey);
    text-decoration: none;
}

/** 
  * Estilos de los estados
  
  */

.user-status.connected, .status.connected {
    background-color: var(--green-status);
}

.user-status.away, .status.away {
    background-color: var(--red-status);
}

.user-status.busy, .status.busy {
    background-color: var(--orange);
}

.user-status.disconnected,
.status.disconnected {
    background-color: grey;
}

.user-status.connected {
    background-color: var(--green-status)!important;
}

.user-status.away {
    background-color: var(--red-status)!important;
}

.user-status.busy {
    background-color: var(--orange)!important;
}

.status-text.connected {
    color: var(--green-status);
}

.status-text.away {
    color: var(--red-status);
}

.status-text.busy {
    color: var(--orange);
}

/**
  * Estilos de las tablas
  */

.custom-table thead tr th {
    background: #F9F9F9;
    border-bottom: none!important;
}

.custom-table tbody tr td {
    border-bottom: 10px solid #f9f9f9!important;
    margin-bottom: var(--column);
}

.custom-table table {
    border-collapse: separate;
}

.custom-table thead .el-icon-arrow-down {
    font-size: 20px;
    font-weight: 600;
}

.custom-table table .action-buttons button.custom {
    color: var(--blue-grey)!important;
    border: none;
}

.custom-table table .action-buttons button.custom:hover {
    color: var(--blue)!important;
}

.custom-table table .action-buttons button.custom.danger:hover {
    color: var(--red-status)!important;
}

.custom-table.el-table::before {
    height: 0px!important;
}

.form .el-select {
    width: 100%;
}

.form .el-form-item__label {
    padding-bottom: 0px!important;
}

.form label {
    margin-bottom: 0px;
}

.custom-pagination .btn-next, .custom-pagination .btn-prev, .custom-pagination .el-pager li {
    background-color: initial!important;
}

.thread-item .body img {
    margin-bottom: 10px;
    max-width: 500px;
}

.ticket-option {
    align-items: center;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.ticket-tag {
    text-transform: uppercase;
}

button.info {
    outline: none;
    border: none;
    background-color: #f7f7f7;
    border-radius: 50%;
    color: var(--blue-grey);
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    transition: all 0.2s ease-in-out;
    margin-top: 0!important;
}

button.info:hover {
    background-color: var(--blue-grey);
    color: #f7f7f7;
}

button.info.active {
    background-color: var(--blue-grey);
    color: white;
}

button.info.text {
    background-color: white;
    border-radius: 0;
    text-align: center;
    width: 100%;
}

button.info.text:hover{
    color: var(--blue)
}

.transfer.el-menu--horizontal>.el-submenu.is-active .el-submenu__title {
    color: red!important;
    border-bottom: none!important;
}

.transfer.el-menu.el-menu--horizontal {
    border-bottom: none!important;
}

.transfer .el-submenu__title {
    padding: 0px!important
}

.transfer .el-menu-item, .el-submenu__title {
    line-height: normal!important;
}

.transfer .el-submenu__title i:hover {
    color: #f7f7f7;
}

.transfer .el-submenu__icon-arrow {
    display: none!important;
}

.dark sup {
    border: 1px solid var(--other-blue)
}

.light sup {

    border: 1px solid var(--light-menu-chat);
}


.main-content {
    background-color: white;
    margin: var(--column);
    border-radius: var(--radius);
  }
.crud {
    background: white;
    margin: var(--column);
    border-radius: var(--radius);
}

.help-padding {
    padding : var(--column);
}

.crud.help-padding {
    margin : 0;
}