﻿:root {
    --MainColor: #23825d;
}

#toolbar {
    z-index: 1000;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 50%;
    height: 45px;
    width: 45px;
    /*background: linear-gradient(to bottom, #1e5799 0%,#6fa1e8 100%,#7db9e8 100%) !important;*/
    background-color: Var(--MainColor);
    position: absolute;
    top: 75px;
    cursor: pointer;
}

    #toolbar:focus {
        border: 2px solid gold;
        background: #ffc !important;
    }

        #toolbar:focus i {
            color: red !important;
        }

    #toolbar i {
        color: white !important;
        font-size: 25px;
        position: absolute;
        top: 10px;
        background: none !important;
        left: 10px;
    }

#toolbar-menu {
    display: none;
    position: absolute;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    top: 25px;
    width: 300px;
    z-index: 1000;
    background-color: white !important;
    font-family: Open Sans Hebrew, Helvetica, sans-serif;
}


#toolbar-menu-header h2 {
    margin: 5px 5px 10px 5px;
    text-align: center;
    display: inline-block;
}

#toolbar-menu-header * {
    background-color: #2C3E50 !important;
    color: white !important;
}

#toolbar-menu hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    width: 75%;
    background-color: white !important;
}


#toolbar-menu-header {
    text-align: center;
    background-color: #2C3E50 !important;
    color: white !important;
    font-size: 14px !important;
}

    #toolbar-menu-header a {
        position: absolute;
        top: 5px;
    }

    #toolbar-menu-header i {
        font-size: 18px;
        color: white;
    }

#toolbar-menu-footer {
    text-align: center;
    background-color: white !important;
}

    #toolbar-menu-footer * {
        background-color: white !important;
    }

    #toolbar-menu-footer span {
        display: inherit;
        color: black !important;
    }

#btn-undo {
    display: inline-block;
    font-size: 18px !important;
    height: 18px;
    width: 20px;
    color: black !important;
    cursor: pointer;
    margin-top: 5px;
    border: 1px solid;
    border-radius: 20px;
    padding: 5px;
    background-color: white !important;
}

    #btn-undo i {
        color: black !important;
        background-color: white !important;
    }

#toolbar-menu .switch {
    position: absolute;
    display: inline-block;
    width: 56px;
    height: 30px;
    background-color: white !important;
}

    #toolbar-menu .switch input {
        display: none;
    }


#toolbar-menu .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #737373 !important;
    -webkit-transition: .4s;
    transition: .4s;
}

    #toolbar-menu .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 26px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        left: 4px;
    }

#toolbar-menu input:checked + .slider {
    background-color: #0B75CB !important;
}

#toolbar-menu input:focus + .slider {
    box-shadow: 0 0 1px #0B75CB;
}

#toolbar-menu input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

#toolbar-menu .slider.round {
    border-radius: 34px;
    margin: 0px;
}

    #toolbar-menu .slider.round:before {
        border-radius: 50%;
    }

#toolbar-menu .option {
    padding: 5px;
    margin: 5px 0px 5px 0px;
    background-color: white !important;
    color: black !important;
}

    #toolbar-menu .option i {
        font-size: 24px;
        color: black !important;
        background-color: white !important;
    }

    #toolbar-menu .option .name {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 20px !important;
        background-color: white !important;
        color: black !important;
    }

#toolbar-menu .language-icon {
    width: 28px;
    display: inline-block;
    margin: 1px 5px 15px 5px;
}

#toolbar-menu .hebrew-icon {
    background-image: url(gfx/if_flag-israel_748123.png) !important;
    height: 19px;
}

#toolbar-menu .english-icon {
    background-image: url(gfx/if_flag-usa_748050.png) !important;
    height: 18px;
}

/* */

.contrast-high {
    background-color: black !important;
    color: white !important;
    background-image: none !important;
}

    .contrast-high * {
        background-color: black !important;
        color: white !important;
        background-image: none !important;
    }

    .contrast-high a {
        color: gold !important;
    }

        .contrast-high a span {
            color: gold !important;
        }

.contrast-low {
    background-color: white !important;
    color: black !important;
    background-image: none !important;
}

    .contrast-low * {
        background-color: white !important;
        color: black !important;
        background-image: none;
        text-shadow: none;
    }

    .contrast-low a {
        color: blue !important;
    }

.anchor-highlight a:not(.button) {
    background-color: yellow !important;
    text-decoration: underline !important;
    color: black !important;
}

.monochrome {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.font-buttons-container {
    width: 75px;
    position: absolute;
    height: 30px;
    height: 30px;
    background-color: #ccc !important;
    display: inline-block;
}

#toolbar-menu .button i {
    color: white !important;
    background-color: transparent !important;
}

.button {
    display: inline-block;
    font-size: 24px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #0B75CB !important;
    border: none;
    position: absolute;
    top: 1px;
    width: 22px;
}

#btn-plus {
    left: 1px;
}

#btn-minus {
    right: 1px;
}

.button:hover {
    background-color: #2196F3;
}

.button:active {
    background-color: #2196F3;
    box-shadow: 0 5px #666;
}

#btn-minus:active {
    transform: translateX(4px);
}

#btn-plus:active {
    transform: translateX(-4px);
}

.zoom-in {
    zoom: 1.25;
    -moz-transform: scale(1.1);
    -moz-transform-origin: 100% 0;
}


.toobar-menu-zoom-in {
    zoom: .80;
}

.keyboard-nvg a:focus {
    background-color: gold !important;
    color: black !important;
    border: 1px solid red;
}


/*  ============================== Hebrew Style =============================================*/
.toolbar-heb {
    left: 15px;
}

.toolbar-menu-heb {
    left: 15px;
    direction: rtl;
}

    .toolbar-menu-heb .switch {
        left: 5px;
    }

.toolbar-menu-header-heb a {
    right: 4px;
}




.font-buttons-container-heb {
    left: 5px;
}

/* =============================== English style ==============================================*/

.toolbar-eng {
    right: 15px;
}

.toolbar-menu-eng {
    right: 15px;
    direction: ltr;
}

    .toolbar-menu-eng .switch {
        right: 5px;
    }

.toolbar-menu-header-eng a {
    left: 4px;
}

.font-buttons-container-eng {
    right: 5px;
}