/*
    Project Accent Color #4040c8
    Project Background Color #f3f4f6
*/
:root {
    --accent-color: #4040c8;
    --bg-color: #f3f4f6;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(iconfont/MaterialIcons-Regular.woff2) format('woff2'),
    url(iconfont/MaterialIcons-Regular.woff) format('woff'),
    url(iconfont/MaterialIcons-Regular.ttf) format('truetype');
}

.fontawe-icons {
    font-family: 'fontawesome';
    font-weight: normal;
    font-style: normal;
    font-size: 20px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
    vertical-align: text-bottom;
}

body,
.wrapper {
    min-height: 100vh;
    position: relative;
}

.wrapper {
    position: relative;
    top: 0;
    height: 100vh;
}

.header {
    position: fixed;
    min-height: 75px;
    display: block;
    z-index: 1;
    width: 85%;
}

.sidebar {
    position: fixed;
    height: 100%;
    width: 300px;
    display: block;
    z-index: 1;
    color: #111827;
    background-color: var(--bg-color);
    background-size: cover;
    background-position: center center;
    /* scrollbar on IE */
    -ms-scrollbar-base-color: var(--accent-color);
    -ms-scrollbar-track-color: transparent;
    -ms-scrollbar-arrow: none;
    /* scrollbar on firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

/* scrollbar on chrome/safari */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

.main-panel {
    background: var(--bg-color);
    position: relative;
    float: right;
    width: calc(100% - 300px);
    min-height: 100%;
    /*background: linear-gradient(90deg, rgba(243,244,246,1) 0%, rgba(237,237,237,1) 40%, rgba(208,208,208,1) 100%);*/
}

.main-panel > .content {
    padding: 30px 15px;
    min-height: calc(100% - 123px);
}

.main-panel .navbar {
    margin-bottom: 0;
}

.text-dark {
    color: #111827 !important;
}

.text-primary {
    color: var(--accent-color) !important;
}

.nav-item .active {
    border-left: 4px solid var(--accent-color);
    border-radius: 0 .357rem .357rem 0;
}

.nav .parent-active {
    border-left: 4px solid var(--accent-color);
    border-radius: 0 .357rem .357rem 0;
}

.menu_icon {
    position: relative;
    margin-right: 4px;
}

.pl-30 {
    padding-left: 30px;
}

.active {
    color: var(--accent-color) !important;
}

.nav-item > .active {
    background-color: #fff;
}

.nav_menu > .active {
    background-color: #fff;
}

.admin-content {
    height: 100%;
    padding: 20px 20px 10px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0;
    border-radius: .375rem;
}

.admin-content:hover {
    -webkit-filter: brightness(75%);
    -moz-filter: brightness(75%);
    -o-filter: brightness(75%);
    -ms-filter: brightness(75%);
    filter: brightness(75%);
}

.admin-icon {
    font-size: 4rem;
}

.no-results {
    background: #fff;
    color: #111827;
    padding: 1rem;
    border-radius: .375rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0;
}

.link-unstyled, .link-unstyled:link, .link-unstyled:hover {
    color: inherit !important;
    text-decoration: inherit !important;
}

.float-right {
    float: right;
}

#per_page {
    width: 120px;
    margin-left: 10px !important;
}

#search {
    width: 300px;
}

.transparent-btn {
    background-color: transparent;
    border-color: transparent;
    cursor: pointer;
}

.content-textarea {
    height: 14rem !important;
    resize: none;
    border: 1px solid #ced4da;
    box-shadow: 1px !important;
}

.debug {
    font-family: monospace;
    word-wrap: break-word;
}

.text-red {
    color: #f00;
}

.max-width-100 {
    max-width: 100px;
}

.max-width-200 {
    max-width: 200px;
}

.max-width-300 {
    max-width: 300px;
}

.max-width-400 {
    max-width: 400px;
}

.width-400 {
    width: 400px !important;
}

.max-width-500 {
    max-width: 500px;
}

.short_description {
    height: 5rem !important;
}

.collapse-arrow-down {
    background-image: url('../images/elements/arrow.svg');
    background-size: 5rem 1.5rem;
    background-position: center right;
    background-repeat: no-repeat;
    color: #111827;
}

.collapse-arrow-up {
    background-image: url('../images/elements/arrow_up.svg');
    background-size: 5rem 1.5rem;
    background-position: center right;
    background-repeat: no-repeat;
    color: #111827;
}

.disable-select {
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.breadcrumb {
    background-color: #fff;
    border-radius: .375rem;
    box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0;
}

li.breadcrumb-item > a {
    color: #111827 !important;
    text-decoration: none !important;
}

.text-right {
    text-align: right;
}

.display-contents {
    display: contents !important;
}

.grey-border {
    border: 1px solid #ccc;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

.icon {
    width: 80px;
    text-align: center;
}

td:not(.icon):not(.action-holder) a {
    color: #111827;
    border-bottom: 1px #6b7280 dashed;
    text-decoration: none !important;
}

td a {
    color: #111827;
}

td a:hover {
    color: #111827;
}

/* new tabs */
a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.tab .nav-tabs {
    border-bottom: 2px solid var(--accent-color);
}

.tab li {
    border-left: 0 !important;
}

.tab .nav-tabs li a {
    padding: 6px 24px;
    margin: 0 5px -1px 0;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: all 0.3s ease 0s;
    color: #111827;
}

.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a {
    background: #fff;
    padding-top: .45rem !important;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
}

.tab .nav-tabs li a:before {
    content: '';
    display: block;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
    transform: scaleX(1);
}

.tab .tab-content {
    padding: 10px;
}

@media only screen and (max-width: 767px) {
    .tab .nav-tabs {
        border: none;
    }

    .tab .nav-tabs li {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .tab .nav-tabs li a {
        margin: 0;
        border: 2px solid #dee2e6;
    }

    .tab .nav-tabs li a:before {
        content: '';
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        bottom: -2px;
        left: 0;
    }
}

/* new tabs */

.card {
    box-shadow: rgba(0, 0, 0, 0.15) 0 3px 3px 0;
}

.card a {
    text-decoration: none !important;
}

.card-header {
    color: #111827;
    border-bottom: none !important;

}

.card-body {
    border-top: 1px solid var(--bg-color);
}

.card-footer {
    background-color: #fff;
    border-top: none;
    padding-top: 0px;
}

.card-footer .btn-search {
    background: var(--bg-color);
    border: 1px solid #ccc;
}

.required {
    color: #f00;
}

.form-group {
    margin-bottom: 1rem;
}

input {
    background-color: #fff;
}

.form-control {
    background-color: #fff;
}

.pointer {
    cursor: pointer;
}

.table {
    margin-bottom: 0 !important;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #e5e7eb;
}

.card-header {
    background-color: #fff;
}

.bg-dark {
    background-color: #111827 !important;
}

.select2-container--bootstrap-5 .select2-selection,
.select2-container--bootstrap-5 .select2-dropdown,
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    background-color: #fff !important;
}

.gradient-gb {
    /*background: linear-gradient(90deg, rgba(243,244,246,1) 0%, rgba(237,237,237,1) 40%, rgba(208,208,208,1) 100%);*/
}

.mce-content-body {
    background-color: #fff;
    padding-left: .5rem;
}

.tox {
    border-radius: .357rem !important;
}

.filters-panel {
    border-radius: 25px;
    width: 40% !important;
}

.p-right-20 {
    padding-right: 20px !important;
}

.p-right-12 {
    padding-right: 12px !important;
}

.total-statistics {
    background-color: #f5f6fa;
    color: #818388;
    font-weight: 600;
}

.queue {
    font-weight: 700;
    padding: 2.5px 10px;
    color: #fff !important;
}

.queue-try-0 {
    background-color: #f00 !important;
}

.queue-try-1 {
    background-color: #8bc34a !important;
}

.connection {
    font-weight: 700;
    padding: 2.5px 10px;
    display: block;
    text-align: center;
    color: #fff;
}

.connection_online {
    background-color: #8bc34a;
}

.connection_reconnecting {
    background-color: #fef7cb;
}

.connection_dead {
    background-color: #8bc34a;
}

.connection_no_smsc {
    background-color: #dbb502;
}

.smpp_client {
    font-weight: 700;
    padding: 2.5px 10px;
    display: block;
    text-align: center;
    color: #fff;
}
.smpp_client_error {
    background-color: #e33;
}
.smpp_client_running {
    background: #8bc34a;
}

.listed-sms {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    border-radius: 0.375rem;
}

.mo {
    background-color: #5154c2;
}

.mt {
    background-color: #2196f3;
}

.object-status {
    display: inline-block;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    border-radius: 0.375rem;
}

.object-active {
    background-color: #8bc34a;
}

.object-inactive {
    background-color: #e33;
}

.service-switcher {
    border: none !important;
    font-size: calc(1.305rem + 0.66vw) !important;
    background-color: transparent;
    padding: unset !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.switcher-arrow {
    top: -8px;
    position: relative;
    left: -30px;
    font-size: calc(1.305rem + 0.66vw) !important;
}

.action-holder {
    width: 100px;
    text-align: center;
}

.action {
    display: inline-block;
    width: 80px;
    padding: 2px;
    background: #ddd;
    color: #fff;
    font-weight: 700;
    border: 0px solid #333;
    text-align: center;
    text-decoration: none;
}

.action:hover {
    text-decoration: none;
    color: #fff;
}

.action-start {
    background: #8bc34a;
}

.action-stop {
    background: #f99;
}

.action-kill {
    background: #f00;
}

.action-reload {
    background: #7477dc;
}

.status {
    font-weight: 700;
    color: #fff;
}

.status_stopped {
    background-color: #f00;
}

.status_running {
    background-color: #8bc34a;
}

.status_reconnecting {
    background-color: #fdd835;
}

.queue {
    font-weight: 700;
    padding: 2.5px 10px;
    display: block;
    color: #fff;
}

.queue-try-0 {
    background-color: #f00;
}

.queue-try-1 {
    background-color: #8bc34a;
}

.queue-try-1 a{
    color: #fff;
}

.word-break {
    word-break: break-all;
}
