/* Hover to open dropdown */
.hover-dropdown:hover .dropdown-menu {
    display: block;
}

/* Make menu wide */
.mega-box {
    width: 500px;
}

.dropdown-menu {
    background: #fff !important;
}

.box-item {
    width: 141px;
    min-height: 70px;
    text-align: center;
    margin-bottom: 15px;

}

.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 !important;

}

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 !important;
    border-right: 0em solid transparent !important;
    border-bottom: 0rem !important;
    border-left: 0em solid transparent !important;
}

/* 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 .menusection 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; */
    color: #fff !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 .admissionsection{
    background-color: #000 !important;
}

.high-contrast fieldset,
.high-contrast .list-block,
.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, .highlight-links .footerfirst a {
    background: #000 !important;
    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-mode * {
    line-height: 2 !important;
}

/* 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%;
}