/* Hover to open dropdown */
.hover-dropdown:hover .dropdown-menu {
    display: block;
}

/* Make menu wide */
.mega-box {
    width: 500px;
    padding: 20px !important;
}

.box-item {
    width: 141px;
    min-height: 70px;
    text-align: center;
}

    .box-item button {
        display: block;
        text-align: center;
        width: 140px;
        min-height: 70px;
        margin: 0px;
        border-radius: 5px;
        transition: all 0.3s linear 0s;
        text-align: center;
        background: transparent;
        font-size: 14px;
        border: 1px solid #ccc;
        margin-bottom: 15px;
    }

img.mainicon {
    width: 28px;
    height: 28px;
    fill: #000;
}

.box-item button img {
    width: 28px;
    height: 28px;
    fill: #000;
}


.box-item button:hover {
    background: #eeecf9;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 0px 1px;
}

.box-item button span {
    display: block;
    text-align: center;
}

.dropdown-menu h6 {
    font-size: 15px;
    font-weight: 700;
    margin: 5px 0px;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    /*content: "";*/
    border-top: 0em solid;
    border-right: 0em solid transparent;
    border-bottom: 0;
    border-left: 0em solid transparent;
}

/* High Contrast */
.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

    .high-contrast .modal-body, .high-contrast .loginborder h6 {
        color: #000 !important;
    }

    .high-contrast .loginborder h6 {
        color: #fff !important;
    }

    .high-contrast .headerfirst,
    .high-contrast .info-panel,
    .high-contrast .cardNew,
    .high-contrast .contentmid,
    .high-contrast .navbar-inverse,
    .high-contrast .navbar-inverse button,
    .high-contrast .loginmid,
    .high-contrast .login-instruction,
    .high-contrast .frame1 .overlay .header,
    .high-contrast .frame1 .overlay .body {
        background: #000 !important;
        color: #fff !important;
        border: 1px solid #fff;
    }

    .high-contrast a.dk_label,
    .high-contrast .chosen-container-single a.chosen-single span,
    .high-contrast .chosen-container .chosen-results li.active-result,
    .high-contrast ul.dk_options_inner li a {
        background: #fff !important;
        color: #000 !important;
        text-decoration: none !important;
        border-color: #ccc !important;
    }

    .high-contrast .ajax__content ol,
    .high-contrast .ajax__content div,
    .high-contrast .ajax__content p,
    .high-contrast .ajax__content ol li,
    .high-contrast .ajax__content b {
        background: transparent !important;
        color: #000 !important;
    }

    .high-contrast .text-primary, .high-contrast .text-success, .high-contrast .text-danger, .high-contrast .text-info {
        color: #fff;
    }

    .high-contrast .btn-success,
    .high-contrast .btn-primary,
    .high-contrast .btn-warning,
    .high-contrast .btn-info,
    .high-contrast .btn-themeorange,
    .high-contrast btn-default,
    .high-contrast btn-danger {
        color: #000;
        background-color: #ffff00;
        border-color: #ffff00;
    }

        .high-contrast .btn-success:hover,
        .high-contrast .btn-primary:hover,
        .high-contrast .btn-warning:hover,
        .high-contrast .btn-info:hover,
        .high-contrast .btn-themeorange:hover,
        .high-contrast btn-default:hover,
        .high-contrast btn-danger:hover {
            color: #000;
            background-color: #fff;
            border-color: #ffff00;
        }

.highlight-links a.dk_label, .highlight-links .chosen-container-single a.chosen-single span {
    background: #fff;
    color: #000 !important;
    text-decoration: none !important;
}
/* .high-contrast * {
        color: #ffff00;
        background-color: #000;
        border-color: #ffff00;
    }*/

/* Optional: Force links to be yellow + underlined */

.high-contrast section, .high-contrast .headermiddl {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.high-contrast .carousel-indicators {
    color: #ffff00;
    background: transparent;
    border-color: #ffff00;
}

.high-contrast .navbar-inverse .navbar-nav li a {
    color: #000 !important;
    background: #ffff00 !important;
    border-color: #ffff00 !important;
}

.high-contrast a {
    color: #ffff00 !important;
    background-color: #000 !important;
    border-color: #ffff00 !important;
}

.high-contrast span.form-control {
    color: #000 !important;
    /*background-color: #fff !important;*/
    background-color: #e1e1e1 !important;
    border-color: #ccc !important;
}
/*.high-contrast .box-item button,
.high-contrast .box-item span {
    color: #000 !important;
    background-color: #fff !important;
}*/
.high-contrast p,
.high-contrast li,
.high-contrast span,
.high-contrast label,
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5 {
    color: #fff !important;
    background: #000 !important;
    border-color: #ffff00 !important;
}

/* Optional: Make images visible but low-brightness */
.high-contrast img {
    filter: brightness(0.6) contrast(1.2) !important;
    background: #fff;
}

/* Highlight Links */
.highlight-links a {
    background-color: #000;
    color: yellow !important;
    border-radius: 3px;
    text-decoration: underline !important;
}

    .highlight-links a img {
        /* filter: brightness(0.6) contrast(1.2) !important; */
        background: yellow;
        box-shadow: 0 0 0px 4px #000;
    }

/* Invert Colors */
.invert-mode {
    filter: invert(100%);
}

/* High Saturation */
.saturation-mode {
    filter: saturate(3);
}

/* Font controls */
body {
    transition: 0.3s;
}

.text-spacing {
    letter-spacing: 2px;
    word-spacing: 4px;
}

.line-height-mode {
    line-height: 2;
}

/* Hide Images */
.hide-images img {
    display: none !important;
}

.hide-images .box-item img,
.hide-images .dropdown-toggle img {
    display: initial !important;
}

.big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='white' stroke='black'%3E%3Cpath d='M3 2 L3 22 L8 17 L12 24 L14 23 L10 16 L17 16 Z' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto !important;
}


.toggle-active {
    position: relative;
    border: 1px solid #28a745 !important;
    background: #efefef !important;
}

    .toggle-active::after {
        font-family: FontAwesome;
        color: #fff;
        font-size: 9px;
        background: green;
        letter-spacing: 0;
        content: "\f00c";
        position: absolute;
        right: -5px;
        top: 1%;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        border-radius: 50%;
    }
