/*
 * FONT SIZES
 */
html, body {
    font-family: 'Roboto', 'Helvetica', sans-serif;
}
body {
    font-size: 85%!important;
    overflow: hidden;
}

.content-wrapper {
    overflow-y: auto;
    height: 100vh;
    padding-bottom: 150px;
}
@media (max-width: 768px) {
    .content-wrapper {
        padding-bottom: 250px;
    }
}

.bg-light {
    background-color: #e8e8e8 !important;
}
.bg-light-aqua {
    background-color: #BDF2F9!important;
}
.bg-light-red {
    background-color: #F8BCC5!important;
}

.cursor-pointer:hover {
    cursor: pointer;
    opacity: 0.7;
}


td.details-control {
    text-align: center;
    color: forestgreen;
    cursor: pointer;
}

tr.clickable:hover {
    cursor: pointer;
    background-color: #c3c3c3;
}

tr.shown td.details-control {
    text-align: center;
    color: red;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
    }
}

table.pretty {
    width: 100%;
    clear: both;
}

table.pretty td,
table.pretty th {
    padding: 5px;
    border: 1px solid #fff;
}

table.dataTable tr.group td {
    font-weight: bold;
    background-color: #e0e0e0;
    padding: 5px;
}

table.dataTable tr.group:hover {
    cursor: pointer;
}

table.dataTable tr.group:hover td {
    background-color: #c3c3c3;
}
table.dataTable td {
    padding: 3px 10px;
    width: 1px;
    white-space: nowrap;
}

table.table .wrap {
    white-space: pre-wrap!important;
    overflow-wrap: break-word;
}
tr.row-red {
    background-color: #ffc3bc;
}

.bulk-action-table tbody .selected {
    background-color: #bce3ff!important;
}
.bulk-action-table tr:hover {
    cursor: pointer;
    background-color: #bce3ff!important;
}

div.dataTables_wrapper {
    width: inherit !important;
}

.hover-cursor:hover {
    cursor: pointer;
    opacity: 90%;
}

.flatpickr.form-control:disabled, .flatpickr.form-control[readonly] {
    background-color: unset;
}

/* okn: dit zit om een of andere reden niet in de css material/dataTables */

.paginate_button {
    background: 0 0;
    border: 1px solid #eee;
    border-radius: 2px;
    color: #000;
    position: relative;
    height: 26px;
    margin: 0;
    min-width: 44px;
    padding: 0 16px;
    display: inline-block;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 12px;
    font-weight: 200;
    /* text-transform: uppercase; */
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 26px;
    vertical-align: middle;
}

.paginate_button.current {
    background: #3c8dbc;
    color: #fff;
    font-weight: bold;
}

tr.table-highlight {
    background-color: rgb(246, 250, 17);
}

td.table-highlight {
    background-color: rgb(246, 250, 17);
}

.highlight {
    background-color: #FFFF88;
}
.highlight-plus {
    background-color: #f38a32;
}

.dataTables_filter input {
    width: 300px
}

div.dataTables_filter input {
    width: 100%;
}

.dataTable_clickable {
    color: #3C8DBC;
}

.dataTable_clickable:hover {
    cursor: pointer;
    text-decoration: underline;
}
.subscription-row:hover {
    cursor: pointer;
    background-color: lightgrey;
}

/* FULL SCREEN MODAL */
.modal.fullscreen {
    padding: 0 !important;
}
.modal.fullscreen .modal-dialog {
    width: 80%;
    max-width: none;
    /*height: 80%;*/
}
.modal.fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal.fullscreen .modal-body {
    overflow-y: auto;
}

/*BUTTON STYLING*/
.btn-outline-primary {
    border: 1px solid #3C8DBC;
}
.btn-outline-success {
    border: 1px solid #28A745;
}
.btn-outline-danger {
    border: 1px solid #dd4b39;
}
.btn-outline-warning {
    border: 1px solid #ffc107;
}
.btn-outline-info {
    border: 1px solid #00c0ef;
}
.btn-outline-secondary {
    border: 1px solid #6c757d;
}
.btn-purple {
    color: #fff;
    background-color: #605ca8;
    border-color: #605ca8;
}
.btn-purple:hover {
    color: #fff;
    background-color: #4c46ab;
    border-color: #4c46ab;
}
.btn-outline-purple:hover {
    color: #fff;
    background-color: #605ca8;
    border-color: #605ca8;
}
.btn-outline-purple {
    border: 1px solid #605ca8;
}

.main-header, .main-header nav {
    max-height: 50px!important;
}
.main-header .sidebar-toggle:before {
    display: none;
}
.main-header .sidebar-toggle {
    max-height: 50px;
}
.main-header .logo img {
    max-height: 50px!important;
}
.main-header .left {
    max-height: 50px;
}
.main-header .left .navbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.main-header .left .flex-container {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
}
.main-header .high-prio-tasks {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    height: 30px;
    border-radius: 4px;
    color: white;
    background-color: #dc3545;
}

.main-sidebar {
    overflow-y: auto;
    max-height: 100vh;
}
.main-sidebar .user-panel {
    height: 180px;
}
.main-sidebar .user-panel .info {
    left: 0;
}

.nav {
    display: inline-block;
    padding: 0;
}
.nav li {
    display: inline-block;
    padding: 0 10px;
}
.nav li a:after {
    display: none;
}


.comments_box {
    max-height: 450px;
    overflow-y: auto;
}
.show-enters {
    white-space: pre-wrap;
}

.dashboard .table tbody+tbody {
    border-top: unset;
}
.dashboard .connection-box {
    padding: 10px 0;
}
.dashboard .circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}
.dashboard .circle.red {
    background-color: #dd4b39;
}
.dashboard .circle.yellow {
    background-color: #ffc107;
}
.dashboard .equal-height-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.dashboard .equal-height-wrapper > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.dashboard .equal-height-wrapper .box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.dashboard .box-header{
    padding-bottom: 12px!important;
}



.box-blue {
    border-top: 3px solid #3c8dbc;
}
.high-priority {
    border-left: 5px solid #DC3545!important;
}
header {
    position: relative;
    width: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.hide {
    display: none;
}

.tab-content {
    padding: 25px 0;
}
.ticket-show .tab-content {
    padding: unset;
}

.management-button a,
.management-button button {
    width: 150px;
}

.material-tabs {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.material-tabs > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #424f5a;
    transition: left .2s ease;
    -webkit-transition: left .2s ease;
    text-align: left;
    border-top: 1px solid grey;
}
.material-tabs > a:first-of-type {
    border-top: unset;
}
.material-tabs > a.active {
    font-weight: 700;
    outline: none;
    background-color: #ededed;
    border-left: #3C8DBC 4px solid;
}
.material-tabs > a:not(.active):hover {
    background-color: inherit;
    color: #7c848a;
}
.material-tabs > a span {
    position: relative;
    float: right;
    bottom: 1px;
}
@media (min-width: 768px) {
    .material-tabs {
        display: block;
        background-color: unset;
        box-shadow: unset;
    }
    .material-tabs > a {
        padding: 22px;
        text-align: center;
        font-weight: 700;
        border-top: unset;
        text-transform: uppercase;
    }
    .material-tabs > a.active {
        background-color: unset;
        border-left: unset;
        border-bottom: #3C8DBC 4px solid;
    }
    .material-tabs > a span {
        float: unset;
    }
}

.connection.information th {
    width: 300px;
}
/*phone override:*/
@media (max-width: 768px) {
    .connection.information th {
        width: 170px;
    }
}

.connection.tab-content th {
    width: 300px;
}

@media only screen and (max-width: 520px) {
    .nav-tabs.material-tabs > li > a {
        font-size: 11px;
    }
}

.yellow-bar {
    position: absolute;
    z-index: 10;
    bottom: 0;
    height: 3px;
    background: #458CFF;
    display: block;
    left: 0;
    transition: left .2s ease;
    -webkit-transition: left .2s ease;
}

#tab1-tab.active ~ span.yellow-bar {
    left: 0;
    width: 160px;
}

.main-header .navbar .nav > li > a > .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    text-align: center;
    font-size: 9px;
    padding: 4px 5px;
    line-height: .9;
}
.badge {
    font-size: 83%;
}
.badge.bg-danger, .badge.bg-success {
    color: white;
}

.select2-selection__choice__display {
    color: black;
}

.select2-results__group ~ ul {
    display: none;
}

#select2-roles-container > li > button > span {
    color: red;
}

#fileShowModal .modal-dialog {
    max-width: 50vw!important;
}
#fileShowModal .modal-body {
    height: 93vh;
}

/*FORM STYLING*/
form .select2-container {
    border: 1px solid #ced4da;
}
form .select2-container--default .select2-selection--single {
    border: unset!important;
    border-radius: unset!important;
}
form .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 16px!important;
    padding-left: 2px!important;
}
form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: mediumvioletred;
}

form.form-inline .form-group {
    margin: 3px 0;
}
form.form-inline .form-control, form.form-inline .select2-container {
    width: 50% !important;
    margin-left: auto;
}
form.form-inline .form-group.form-check {
    justify-content: unset!important;
}
form label {
    margin-bottom: 0.3rem;
}
.ck-editor__editable_inline {
    min-height: 400px;
}

/* Flash message */
.alert ul {
    margin-bottom: 0;
}

/* MENTIONS IN TEXTAREA */
.mentiony-popover {
    overflow-x: hidden!important;
    overflow-y: auto!important;
    border: 2px solid slategrey!important;
    border-radius: 5px!important;
}
.mentiony-item {
    height: 30px;
}
.mentiony-item:hover, .mentiony-item.active {
    background: #009688;
    color: white;
}

/* CALENDAR STYLING */
#calendar {
    max-height: 80vh;
}
@media (max-width: 768px) {
    .fc-toolbar-title {
        font-size: 1.2rem; /* Reduce size */
        text-align: center;
        line-height: 1.4;
    }

    .fc .fc-toolbar {
        flex-direction: column;
        align-items: center;
    }

    .fc-button-group {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
}


/* ACCORDION STYLING */
.accordion-cards h3 {
    font-size: 14px;
    color: #3c763d;
    margin-bottom: 0;
    font-weight: 600;
}
.accordion-cards .card {
    margin-bottom: 15px;
}
.accordion-cards .card-header {
    background-color: #dff0d8;
    transition: .1s;
}
.accordion-cards .card-header:hover {
    cursor: pointer;
    background-color: #beddb1;
}
.accordion-cards .card-body {
    transition: .4s;
}

/* Iframe connection page */
.device-id-hover {
    position: relative;
}
.device-id-hover * {
    pointer-events: none;
}
#locations-connections-table_wrapper .dataTables_scrollBody {
    overflow: visible !important; /* Fix for iframe height */
}
.device-id-iframe {
    position: absolute;
    right: 50%;
    z-index: 20;
    background-color: white;
}

/* Services form */
#free-ips table {
    width: unset;
}
