a {
    color: #3C8DBC;
}

a:hover {
    color: var(--protectools-primary);
}

.btn-primary {
    background-color: #555555;
    border-color: #555555;
}

.btn-primary:hover {
    background-color: #005282;
    border-color: #005282;
}

.btn.blocked {
    opacity: .65;
    box-shadow: none;
}


.page-item.active .page-link {
    background-color: lightgrey !important;
    border: 1px solid black;
}

.page-link {
    color: black !important;
}

.btn-link {
    color: #005282;
}


/* form adjustments */
a.dropdown-item:active {
    background-color: #555555;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
}

.select2-container--bootstrap .select2-selection {
    font-size: 1rem !important;
}

.control-label {
    font-weight: 400 !important;
}

/* callout adjustments */
.callout a:hover {
    color: var(--protectools-primary);
}

/* dashboard kpi statistics styling */
.kpi-tile {
    cursor: default !important;
    min-height: 200px;
    max-height: 200px;
    padding: 0.5rem !important;
}

.kpi-tile p {
    font-size: 12px !important;
    margin-bottom: 0rem !important;
}

.kpi-title {
    /* font-size: 1.2em !important; */
    font-weight: 300;
}

.kpi-subtitle {
    margin-bottom: 30px !important;
}

.kpi {
    font-size: 40px;
    line-height: 40px;
    margin-top: 5px;
    font-weight: 500;
}

.kpi-change-text {
    font-size: 11px;
}

.kpi-change {
    font-size: 25px;
    float: right;
}

.kpi-chart {
    max-height: 350px;
    height: 100%;
}

/* jquery datatables responsive card switch */

/* hide default switch for card view */


/* custom switch for card view */
@media (max-width: 768px) {
    table.dataTable > tbody > tr > td.dtr-control {
        position: relative !important;
        padding-left: 30px !important;
        cursor: pointer !important;
    }

    table.dataTable > tbody > tr > td.dtr-control:before {
        position: absolute !important;
        top: 50% !important;
        left: 5px !important;
        height: 14px !important;
        width: 14px !important;
        margin-top: -7px !important;
        display: block !important;
        color: white !important;
        border: 2px solid white !important;
        border-radius: 14px !important;
        box-shadow: 0 0 3px var(--protectools-primary) !important;
        box-sizing: content-box !important;
        text-align: center !important;
        text-indent: 0 !important;
        font-family: 'Courier New', Courier, monospace !important;
        line-height: 14px !important;
        content: '+' !important;
        background-color: var(--protectools-primary) !important;
    }

    table.dataTable > tbody > tr.parent > td.dtr-control:before {
        content: '-' !important;
        background-color: #d33333 !important;
    }
}

/* fullcalendar component */
.fc-timeline-slot-cushion {
    color: #212529 !important;
}

.fc-datagrid-cell-frame:not(:has(span.fc-datagrid-expander-placeholder)) {
    color: #555555 !important;
    /* bold */
    font-weight: bold !important;
}

#calendar {
    background-color: #FFFFFF;
}

.calendar-event-text {
    width: 70%;
    float: left;
}

.calendar-event-controls {
    color: #fff;
    float: right;
    width: 30%;
}

.calendar-event-controls-button {
    width: 15px;
    float: right;
}

/* calendar-event-controls > span should be smaller text on mobile */
@media (max-width: 768px) {
    .calendar-event-controls > span {
        font-size: 0.6rem;
    }
}

/* global protectools colors */
:root {
    --protectools-primary: #0D2757;
    --protectools-secondary: #85898c;
}

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

.color-protectools-secondary {
    color: var(--protectools-secondary) !important;
}