﻿
@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://cdn.uyap.gov.tr/portal/fonts/OpenDyslexic/OpenDyslexic-Regular.otf');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://cdn.uyap.gov.tr/portal/fonts/OpenDyslexic/OpenDyslexic-Bold.otf');
    font-weight: 500;
    font-style: bold;
    font-display: swap;
}

body {
    overflow-x: hidden;
}


.accessibility-toggle-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 60px;
    right: 8px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #ffd700;
    border: 0;
    z-index: 50;
    transition: all 0.2s;
    box-shadow: #000 0px 0.125rem 0.25rem !important;
}

    .accessibility-toggle-button svg {
        width: 55px;
    }

    .accessibility-toggle-button:hover {
        transform: scale(1.1);
    }

        .accessibility-toggle-button:hover svg {
            width: 60px;
        }

.ac-clear-button {
    margin-top: auto;
    display: block;
    background-color: #1c1c1c;
    color: #fff;
    user-select: none;
    text-align: center;
    padding: 6px 12px;
    border: 1px solid #1c1c1c;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

    .ac-clear-button svg {
        width: 20px;
        margin-right: 6px;
    }

    .ac-clear-button:hover {
        background-color: #3e3e3e;
        border-color: #3e3e3e;
    }

.ac-panel * {
    box-sizing: border-box;
}

.ac-box p {
    margin: 0;
}

.ac-panel {
    width: 400px;
    max-width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1045;
    background-color: #f5f5f5;
    padding: 16px;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    transform: translateX(400px);
    overflow-y: auto;
    -webkit-box-shadow: -7px 0px 16px -6px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: -7px 0px 16px -6px rgba(0, 0, 0, 0.24);
    box-shadow: -7px 0px 16px -6px rgba(0, 0, 0, 0.24);
    transition: transform 0.3s ease-in-out, visibility 0.4s;
    color: black;
}

    .ac-panel.show {
        transform: translateX(0);
        visibility: visible;
    }

.ac-panel--header {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 24px 0;
}

    .ac-panel--header h5 {
        font-size: 20px;
        line-height: 30px;
        margin: 0;
    }

.ac-panel--body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ac-panel--close-button {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: rgba(0, 0, 0, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

    .ac-panel--close-button:hover {
        color: #000;
        text-decoration: none;
        opacity: 0.75;
    }

    .ac-panel--close-button:focus {
        box-shadow: #000 0px 0px 0px 0.25rem;
        opacity: 1;
    }

.ac-panel--wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: -16px -8px 0 -8px;
}

.ac-panel .ac-box-wrapper {
    flex: 0 0 auto;
    width: 50%;
    max-width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    margin-top: 12px;
}

.ac-panel .ac-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 12px 0;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    border: 2px solid transparent;
    user-select: none;
    transition: 0.2s all;
}

    .ac-panel .ac-box svg {
        margin-bottom: 16px;
        stroke: #3e3e3e;
    }

    .ac-panel .ac-box:hover {
        border-color: #ffd700;
    }

    .ac-panel .ac-box.active {
        background-color: #ffd700;
        position: relative;
        color: #1c1c1c;
    }

        .ac-panel .ac-box.active svg {
            stroke: #1c1c1c;
        }

        .ac-panel .ac-box.active::after {
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
            position: absolute;
            right: 6px;
            top: 6px;
        }

.contrast {
    filter: invert(1) !important;
}

.highlight-links a {
    background: #000 !important;
    color: yellow !important;
    text-decoration: underline !important;
}

    .highlight-links a span, .highlight-links a div {
        color: yellow !important;
        background-color: #000;
    }

.bigger-cursor {
    cursor: url(/medya/dgljh3ho/bigger-curser-1.svg), auto !important;
}

    .bigger-cursor * {
        cursor: url(/medya/dgljh3ho/bigger-curser-1.svg), auto !important;
    }

.reading-guide-line {
    width: 70vw !important;
    min-width: 200px !important;
    position: absolute !important;
    height: 8px;
    z-index: 2147483647;
    background-color: #000;
    border-radius: 3px;
    transform: translate(-50%);
    border: 1px solid yellow;
    pointer-events: none;
    display: none;
    zoom: 1 !important;
}

.reading-guide .reading-guide-line {
    display: block !important;
}

.dyslexic-friendly body {
    font-family: 'OpenDyslexic' !important;
}

.bigger-text .content, .bigger-text main h5, .bigger-text main h4, .bigger-text main h3, .bigger-text main h2, .bigger-text main h1, .bigger-text main p, .bigger-text main li {
    zoom: 1.3;
}

.bigger-text *:not(#accessibilityPanel *):is(h1, h2, h3, h4, h5, p, li) {
    zoom: 1.3;
}

.desaturate {
    filter: saturate(0);
}

.align-text-left * {
    text-align: left !important;
}

.reading-focus-overlay-top, .reading-focus-overlay-bottom {
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999999999;
    display: none;
}

.reading-focus-overlay-top {
    top: 0;
    border-bottom: 5px solid navy;
}

.reading-focus-overlay-bottom {
    bottom: 0;
    border-top: 5px solid crimson;
}

.reading-mask .reading-focus-overlay-top, .reading-mask .reading-focus-overlay-bottom {
    display: block;
}

.low-saturation {
    filter: saturate(0.5);
}

.high-saturation {
    filter: saturate(2);
}

@media screen and (max-width: 576px) {
    .hide-on-sm {
        display: none;
    }
}

.accSpeakingArea {
    background-color: yellow;
}
