#IAT-btn {
    position: fixed;
    left: 20px;
    top: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #005CD2;
    color: white;
    border-radius: 999px;
    opacity: 0.8;
    z-index: 9999;
    border: 3px solid #fff;
    outline: 5px solid #005CD2 !important;
}

#IAT-btn.IAT-btn-active {
    border: 3px solid springgreen;
    box-shadow: 0 0 15px springgreen;
}

#IAT-btn.IAT-btn-active::after {
    content: '';
    width: 0.38rem;
    height: 0.38rem;
    position: absolute;
    left: 35px;
    bottom: 0px;
    border-radius: 20px;
    background: springgreen;
    outline: 3px solid #005CD2;
}

#IAT-btn:not(.dragging):hover {
    transition: .3s ease-in-out;
    transform: scale(1.1);
    opacity: 1;
}

#IAT-btn.dragging {
    cursor: move;
}

#IAT-btn .IAT-icon {
    padding: 0.5rem;
    border-radius: 9999px;
}

#IAT-btn .IAT-tooltip {
    visibility: hidden;
    width: 160px;
    background-color: #005CD2;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 50%;    
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

#IAT-btn .IAT-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
}

@media (max-width: 768px) {
    #IAT-btn .IAT-icon {
        padding: 0.5rem;
    }

    #IAT-btn .IAT-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

#IAT-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: transparent;
}

#IAT-menu {
    position: fixed;
    left: -400px;
    top: 0;
    height: 100%;
    width: 350px;
    z-index: 10003;
    background: #fff;
    transition: 0.5s;
}

#IAT-menu * {
    font-family: Arial, sans-serif;
}

#IAT-menu .fas {
    font-family: "Font Awesome 6 Free";
    font-size: 40px;
}

@media (max-width: 768px) {
    #IAT-menu {
        width: 340px;
    }
}

#IAT-menu.expanded {
    left: 0;
    box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.3);
}

#IAT-menu #IAT-menu-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #005CD2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 0.5rem 1rem;
}

#IAT-menu #IAT-menu-header h2 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
}

#IAT-menu #IAT-menu-header #IAT-menu-close {
    cursor: pointer;
}

#IAT-menu #IAT-menu-header #IAT-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
}

#IAT-menu #IAT-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
    padding-bottom: 8rem;
    height: 100%;
    overflow-y: auto;
}

#IAT-menu #IAT-menu-content .IAT-menu-card {
    display: flex;
    height: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid #333;
    color: #333;
    cursor: pointer;
    text-align: center;
    position: relative;
}

#IAT-menu #IAT-menu-content .IAT-menu-card .IAT-menu-card-icon svg {
    width: 2rem;
    height: 2rem;
}

#IAT-menu #IAT-menu-content .IAT-menu-card .IAT-card-title {
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
}

#IAT-menu #IAT-menu-content .IAT-menu-card .IAT-card-desc {
    display: none;
    transition: all 0.3s ease;
}

#IAT-menu #IAT-menu-content .IAT-menu-card:hover {
    border-color: #005CD2;
    color: #005CD2;
    fill: #005CD2;
}

#IAT-menu #IAT-menu-content .IAT-menu-card:hover .IAT-card-title {
    display: none;
}

#IAT-menu #IAT-menu-content .IAT-menu-card:hover .IAT-card-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background: #005CD2;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem;
    font-size: 0.875rem;
}

#IAT-menu #IAT-menu-content .IAT-menu-card.IAT-active {
    border: 1px solid #006b0c;
    color: #006b0c;
    fill: #006b0c;
}

#IAT-menu #IAT-menu-content .IAT-menu-card.IAT-active:after {
    content: ' ';
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: url('/plugin/icons/check.svg');
    width: 1.5rem;
    height: 1.5rem;
}

#IAT-menu #IAT-menu-content .IAT-menu-card.IAT-active:hover .IAT-card-desc {
    background: #006b0c;
    color: #fff;
}

#IAT-menu #IAT-menu-content .IAT-menu-card.IAT-active:hover:after {
    background: url('/plugin/icons/check_white.svg');
}

#IAT-menu #IAT-menu-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #005CD2;
}

#IAT-menu #IAT-menu-footer #IAT-menu-power-button {
    background: #005CD2;
    width: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.3s;
    cursor: pointer;
    padding: 0.5rem;
}

#IAT-menu #IAT-menu-footer #IAT-menu-power-button:hover {
    background: #2136A4;
}

#IAT-menu #IAT-menu-footer #IAT-menu-power-button span {
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 0.5rem;
}

#IAT-menu #IAT-menu-footer #IAT-menu-power-button span svg {
    width: 2rem;
    height: 2rem;
    fill: #fff;
}

#IAT-menu #IAT-menu-footer #IAT-menu-power-button.IAT-hidden {
    display: none;
}

.IAT-inverter-cores {
    mix-blend-mode: difference;
}

.IAT-inverter-cores img,
.IAT-inverter-cores .nao-inverter {
    filter: invert(1);
}

.IAT-inverter-cores .logo-nao-inverter {
    background-color: #000;
    padding: 5px;
    border-radius: 10px;
    height: 54px !important;
    width: fit-content;
}

.IAT-alta-saturacao {
    filter: saturate(200%);
}

.IAT-baixa-saturacao {
    filter: saturate(40%);
}

.IAT-monocromatico {
    filter: grayscale(1);
}

.IAT-lupa body > *:not(#IAT-init):not(#IAT-focus-line-bg):not(#IAT-focusLine-element):not(#IAT-line) {
    zoom: 1.4;
}

#IAT-alternaLibras {
    grid-column: span 2 !important;
}

.IAT-contraste-escuro {
    color: #fff !important;
    background: #000;
}

.IAT-contraste-escuro *:not(img):not(video):not(#IAT-btn):not(.IAT-icon>svg):not(#IAT-menu-overlay):not(#IAT-focus-line-bg):not(#IAT-focusLine-element) {
    color: #fff !important;
    fill: #fff !important;
    background: #000 !important;
}

.IAT-contraste-escuro a,
.IAT-contraste-escuro button {
    border: 2px dotted #ff0 !important;
}

.IAT-contraste-claro {
    color: #191970;
    background: #fff;
}

.IAT-contraste-claro *:not(img):not(video):not(#IAT-btn):not(.IAT-icon>svg):not(#IAT-menu-overlay):not(#IAT-focus-line-bg):not(#IAT-focusLine-element) {
    color: #191970;
    fill: #191970 !important;
    background: #fff !important;
}

.IAT-contraste-claro a,
.IAT-contraste-claro button {
    border: 2px dotted #191970 !important;
}

.IAT-contraste-claro body > *:not(#IAT-init) h1,
.IAT-contraste-claro body > *:not(#IAT-init) h2,
.IAT-contraste-claro body > *:not(#IAT-init) h3,
.IAT-contraste-claro body > *:not(#IAT-init) h4,
.IAT-contraste-claro body > *:not(#IAT-init) h5,
.IAT-contraste-claro body > *:not(#IAT-init) h6 {
    color: #000 !important;
}

.IAT-destaque-cabecalho body > *:not(#IAT-init) h1,
.IAT-destaque-cabecalho body > *:not(#IAT-init) h2,
.IAT-destaque-cabecalho body > *:not(#IAT-init) h3,
.IAT-destaque-cabecalho body > *:not(#IAT-init) h4,
.IAT-destaque-cabecalho body > *:not(#IAT-init) h5,
.IAT-destaque-cabecalho body > *:not(#IAT-init) h6 {
    font-weight: bold;
    border-bottom: 2px solid #000 !important;
    color: #000;
}

.IAT-destaque-link body > *:not(#IAT-init) a,
.IAT-destaque-link body > *:not(#IAT-init) button {
    color: red !important;
    border-bottom: 2px solid red !important;
    text-decoration: none;
}

.IAT-fonte-legivel {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.IAT-fonte-legivel *:not(.material-icons, .fa, .fas) {
    font-family: "Arial", sans-serif !important;
}

.IAT-readline #IAT-line {
    position: fixed;
    height: 3px;
    background-color: #000;
    width: 100%;
    top: 25%;
    left: 0;
    pointer-events: none;
    z-index: 10001;
}

#IAT-line-mobile {
    position: fixed;
    right: 0;
    top: 25%;
    transform: translateY(-50%);
    padding: 2rem;
    border-radius: 9999px;
    border: 1px solid #000;
    background-color: #fff;
    background-image: url('/plugin/icons/expand.svg');
    background-size: 2.5rem;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    pointer-events: auto;
    z-index: 10002;
}

@media (max-width: 992px) {
    #IAT-line-mobile {
        display: block;
    }
}

.IAT-focusLine #IAT-focus-line-bg {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.IAT-focusLine #IAT-focusLine-element {
    position: fixed;
    height: 150px;
    width: 100%;
    top: 25%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 1);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 10001;
}

#v-libras {
    display: none;
}