/* Hover to open dropdown */
.hover-dropdown:hover .dropdown-menu {
    display: block;
}

/* Make menu wide */
.mega-box {
    width: 500px;
}

.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;

}

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-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 * {
    color: #ffff00;
    background-color: #000;
    border-color: #ffff00;
}

/* Optional: Force links to be yellow + underlined */
/* .high-contrast div.aboutHeading,
.high-contrast div.content,
.high-contrast div.footerlink,
.high-contrast div.footercopyright,
.high-contrast div.footerLogos,
.high-contrast ul.custom-list */
.high-contrast section, .high-contrast .headermiddl{
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
.high-contrast .carousel-indicators {
        color: #ffff00;
    background-color: transparent;
    border-color: #ffff00;
}
.high-contrast .menubar ul li a{
color: #000 !important;
    background-color: #ffff00 !important;
    border-color: #ffff00 !important;
}

.high-contrast a {
    color: #ffff00 !important;
    background-color: #000 !important;
    border-color: #ffff00 !important;
}

.high-contrast .box-item button,
.high-contrast .box-item span {
    color: #000 !important;
    background-color: #fff !important;
}

.high-contrast p,
.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-color: #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: #000;
    color: yellow !important;
    padding: 2px 4px;
    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 */
/* .big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a'%3E%3Cpath fill='%237a7a7a' stroke='%237a7a7a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11.5 22C4.7 22 3 16.333 3 13.5V10c0-.333.2-1 1-1s1 .667 1 1v2c0 .5.3 1.5 1.5 1.5S8 12.5 8 12V3c0-.333.2-1 1-1s1 .667 1 1v7c.5.5.8 1.2 2 0V8c0-.333.2-1 1-1s1 .667 1 1v1h1c0-.333.2-1 1-1s1 .667 1 1v1h1c0-.333.2-1 1-1s1 .667 1 1v3.5c0 2.833-1.7 8.5-8.5 8.5z'/%3E%3C/svg%3E") 12 12, auto !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%;
}