:root {
    --brightness: 100%;
    --grayscale: 0%;
    --contrast: 100%;
}

html {
    filter: grayscale(var(--grayscale)) brightness(var(--brightness))
        contrast(var(--contrast));
}

/* custom form check start */
.custom-form-check {
    display: block;
    min-height: 1.4rem;
    padding-left: 1.4rem;
}

.custom-form-check:not(:last-child) {
    margin-bottom: 0.75rem;
}

.custom-form-check.custom-form-check--inline {
    display: inline-block;
}
.custom-form-check label {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    line-height: 1.25;
    color: #003057;
}
.custom-form-check .custom-form-check-label {
    margin-left: 0.4rem;
}
.custom-form-check .custom-form-check-input {
    float: left;
    margin-left: -1.4rem;
    cursor: pointer;
}

.custom-form-check-label img {
    width: 125px;
    height: 50px;
    object-fit: contain;
}

.custom-form-check-input {
    width: 20px;
    height: 20px;
    vertical-align: top;
    background-color: rgba(0, 48, 87, 0.2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid transparent;
    appearance: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    transition: 200ms;
}

.custom-form-check-input[type="checkbox"] {
    border-radius: 5px;
}
.custom-form-check-input[type="radio"] {
    border-radius: 50%;
}
.custom-form-check-input:active {
    filter: brightness(90%);
}
.custom-form-check-input:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 48, 87, 0.2);
}
.custom-form-check-input:checked {
    background-color: #003057;
    border-color: #003057;
}
.custom-form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.custom-form-check-input[type="checkbox"]:indeterminate {
    background-color: #2c2a2b;
    border-color: #2c2a2b;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}
.custom-form-check-input:checked[type="radio"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.custom-form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: 0.5;
}
.custom-form-check-input:disabled ~ .custom-form-check-label,
.custom-form-check-input[disabled] ~ .custom-form-check-label {
    opacity: 0.5;
}

.custom-form-check--image {
    position: relative;
    margin: 1rem 0;
}
.custom-form-check--image .custom-form-check-input {
    position: absolute;
    margin-top: 0;
    top: calc(50% - 4px);
    transform: translateY(-50%);
}

/* custom form check end */

.custom-form-group {
    display: block;
    padding-bottom: 0.5rem;
}

/* header accessibility */
.header__accessibility {
    position: relative;
    padding: 6px 0;
}

.header__accessibility__icon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.header__accessibility__icon svg {
    color: #ffffff;
    opacity: 0.4;
    margin: 4px 10px;
}

.header__accessibility__dropdown {
    margin-top: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    padding: 1rem;
    background-color: #fff;
    width: 265px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
        rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms;
}

.header__accessibility__dropdown.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.header__accessibility .ha__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    color:#003057;
}

.ha__title:not(:first-child) {
    margin-top: 20px;
    color:#003057;
}

.ha__btn-group {
    display: inline-block;
}

.ha_btn {
    background-color: transparent;
    padding: 0;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color:#003057;
}

.ha_btn:not(:last-child) {
    margin-right: 16px;
}

.ha__btn:focus {
    outline: none;
}

/* highlight-menu start */
.highlight-menu {
    display: none;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 10px 12px;
    background: #373435;
    border-radius: 5px;
    z-index: 400;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    transition: none;
}
.highlight-menu::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #373435;
}

.highlight-menu.active {
    display: flex;
}

.highlight-menu__item {
    cursor: pointer !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.highlight-menu__item.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}
.highlight-menu__item .highlight-menu__icon {
    color: inherit;
}

.highlight-menu__item + .highlight-menu__item {
    margin-left: 14px;
}
/* highlight-menu end */

.mobile-version {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-version svg {
    color: #ff4361;
    margin-right: 6px;
}

@media (max-width:1250px){
    .mobile-version,
    .header__accessibility__icon{
        font-size: 0.75rem;
    }

    /* .header__accessibility__dropdown{
        left: 30%;
        transform: translate(-30%,0);
        -webkit-transform: translate(-30%,0);
        -moz-transform: translate(-30%,0);
        -ms-transform: translate(-30%,0);
        -o-transform: translate(-30%,0);
    } */
}


@media (max-width:1150px){
    .mobile-version{
        font-size: 0rem;
    }

    .header__accessibility__icon{
        font-size: 0rem;
    }

    .header__item__link{
        font-size: 0rem !important;
    }

    .header__accessibility__dropdown {
        left: -115px;
    }
}


@media (max-width:400px){
    .mobile-version{
        display: none;
    }
}