.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {

    vertical-align: middle;
}

.pac-container {
    z-index: 10000 !important;
}

.main-footer {
    padding: 5px 15px;
}
.text-dark {
    color: #444;
}
.callout-gray {
    background-color: #EEE;
    border-left: 5px solid #DDD;
}
.callout-gray a {
    color: #333;

}
.callout-gray a:hover {
    color: #444;

}

@media (min-width: 767px) {
    .modal-dialog {
        width: 760px;
    }
}

.notopborder {border-top: 0px!important;}

.whitetext {color: #FFF;}

.dt-margin{
    margin-left:0px !important;
    margin-right:0px !important;
}

.todo-list {
    min-height: 40px;
}


.no-sort::after { display: none!important; }

.no-sort { pointer-events: none!important; cursor: default!important; }

.timeline-item {
    background-color: #fff!important;
    border: 1px solid #f1f1f1!important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-image {

    left: 16px;
    position: absolute;
    top: 0;
}

.chart-legend ul {
    list-style-type: none;
}

.chart-legend li span{
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-top:4px;
    margin-right: 5px;
    border-radius:50%;
}




.fullboby-bg {
  background: url(../assets/bg2.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.fullboby-bg a {
    color: #FFF;
}

.fullboby-bg .login-logo {
    color: #FFF;
}

.roles h4 {
    padding-top: 12px;
    padding-bottom: 0px;
    margin-bottom: 0px;

}

.dt-buttons {
    margin-left: -15px;
    display: flex;
    gap: 7px; 
}

.dt-buttons .btn-default {
    background-color: #FFF;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 0px;
}

table.dataTable {
    max-width: 100% !important;
}

canvas {
    /* z-index: 999999; */
}

.chart {
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}


.fileinput{
    padding-top: 5px;
    padding-bottom: 5px;
}

.datepicker {
    z-index:9999 !important;
}

td .btn-group {
  display: flex;
}


.label-lite-blue {
    background-color:#FFF;
    color:#0073b7;
    border:1px solid #0073b7;
}

.label-lite-green {
    background-color:#FFF;
    color:#00a65a;
    border:1px solid #00a65a;
}

.label-lite-yellow {
    background-color:#FFF;
    color:#f39c12;
    border:1px solid #f39c12;
}

.label-lite-purple {
    background-color:#FFF;
    color:#605ca8;
    border:1px solid #605ca8;
}

.label-lite-red {
    background-color:#FFF;
    color:#dd4b39;
    border:1px solid #dd4b39;
}

.label-lite-gray {
    background-color:#FFF;
    color:#000;
    border:1px solid #d2d6de;
}


.spacer { margin:0; padding:0; height:50px; }

/* .callout.callout-ok {
  border-right:1px solid #00733e;
  border-top:1px solid #00733e;
  border-bottom:1px solid #00733e;
  border-color: #00733e;
  background-color:#FFF;
} */

.callout.callout-ok h4 {
    margin-bottom: 3px;
}


/* ═══════════════════════════════════════════════════════
    Dashboard widget chart
  ═══════════════════════════════════════════════════════ */

.kly-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.kly-card {
    background: #fff;
    /* border: 1px solid #e2e8f0; */
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #D9D9D9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.kly-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4px;
}
.kly-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}
.kly-card-sub {
    font-size: 11px;
    color: #718096;
    margin: 2px 0 10px;
}
.kly-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.kly-badge-green  { background: #e6f4ea; color: #276327; }
.kly-badge-teal   { background: #e0f4f1; color: #1a6b5a; }
.kly-badge-orange { background: #fff3e0; color: #b45309; }
.kly-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #555;
    margin-bottom: 10px;
}
.kly-legend span { display: flex; align-items: center; gap: 4px; }
.kly-dot {
    width: 10px; height: 10px;
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}
.kly-donut-wrap{
    position:relative;
    width:100%;
    min-height:220px;
    height:220px;
    display:flex;
    justify-content:center;
    align-items:center;
}

#klyWebsiteChart{
    width:100% !important;
    height:100% !important;
    display:block;
}
.kly-donut-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}
.kly-donut-center .pct { font-size: 22px; font-weight: 700; color: #1a202c; }
.kly-donut-center .lbl { font-size: 10px; color: #718096; }
.kly-bar-wrap { position: relative; height: 180px; }
.kly-checks-card { margin-bottom: 16px; }
.kly-checks-wrap { position: relative; }
.kly-empty {
    text-align: center; padding: 40px 0;
    color: #a0aec0; font-size: 13px;
}
.kly-empty i { font-size: 28px; display: block; margin-bottom: 6px; }
.kly-donut-legend {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 12px;
    font-size: 11px; color: #555; margin-top: 8px;
}
.kly-donut-legend span { display:flex; align-items:center; gap:4px; }
/* Reused for the Server + Checks summary rows so all three cards match */
.kly-summary-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #555;
    margin-top: 10px;
}
.kly-summary-legend span { display: flex; align-items: center; gap: 4px; }
@media (max-width: 768px) {
    .kly-charts-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width:768px){

    .kly-charts-row{
        display:block;
    }

    .kly-card{
        width:100%;
        margin-bottom:20px;
    }

    .kly-donut-wrap{
        height:240px;
        min-height:240px;
    }

    .kly-bar-wrap{
        height:240px;
    }

    canvas{
        display:block !important;
        width:100% !important;
        height:100% !important;
    }

}

/* ── Toggle switch ── */
.kl-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.kl-toggle-wrap input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.kl-toggle-track {
    position: relative;
    width: 44px; height: 24px;
    background: #cbd5e0;
    border-radius: 12px;
    transition: background 0.25s;
    flex-shrink: 0;
}
.kl-toggle-wrap input:checked + .kl-toggle-track {
    background: #066333;
}
.kl-toggle-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.25s;
}
.kl-toggle-wrap input:checked + .kl-toggle-track .kl-toggle-thumb {
    transform: translateX(20px);
}
.kl-toggle-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    min-width: 24px;
}

@media (min-width: 768px) {
    .col-md-4.charts {
        padding: 0px 15px 0px 0px !important;
    }
}
@media (max-width: 767px) {
    .content-wrapper,
    .right-side {
        margin-top: 46px;
    }
}
