﻿.cmruler {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 100px;
    background-color: #ffffff;
    display: none;
    background-image: url(../Content/svg/big-ruler.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    border: 1px solid;
}

    .cmruler.toggle-on {
        display: block;
    }

#fontIncrease {
    width: 20px;
    height: 20px;
}

    #fontIncrease:after {
        content: '\&#128474';
        width: 20px;
        height: 20px;
    }

.cmmask {
    width: 100vw;
    position: fixed;
    background-color: #000000;
    display: none;
}

    .cmmask.first {
        height: calc(50% - 125px);
        top: 50px;
    }

    .cmmask.last {
        height: calc(50% - 75px);
        bottom: 0px;
    }

    .cmmask.toggle-on {
        display: block;
    }

.pop-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid transparent;
    border-radius: 2px;
    color: white;
    font-size: 20px;
    user-select: none;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
}

    .pop-container > div:first-child, .pop-container button, .pop-container input[type=color], .pop-container .theme-tr td {
        cursor: pointer;
    }


    .pop-container table {
        border-spacing: 10px;
    }

    .pop-container.resetAll {
        background-image: url(../Content/svg/reset.svg);
        background-size: 24px;
    }

    .pop-container.decreaseAllFont {
        background-image: url('../Content/svg/font-decrease.svg');
    }

    .pop-container.fontFamily {
        background-image: url(../Content/svg/font-family.svg);
        background-size: 29px;
    }

    .pop-container.increaseAllFont {
        background-image: url(../Content/svg/font-increase.svg);
    }

    .pop-container.settheme {
        background-image: url(../Content/svg/color-theory.svg);
    }
    .pop-container.cursoroption {
        background-image: url('svg/cursor-icon.svg');
        /*background-image: url(../Content/svg/color-theory.svg);*/
    }

    .pop-container.toggleRuler {
        background-image: url(../Content/svg/ruler.svg);
        background-size: 38px;
    }

    .pop-container.toggleMask {
        background-image: url(../Content/svg/mask.svg);
        background-size: 38px;
    }

    .pop-container.toggleZoom {
        background-image: url(../Content/svg/magnifier.svg);
    }

    .pop-container.toggleLink {
        background-image: url(../Content/svg/link-highlight.svg);
    }

    .pop-container.toggleImage {
        background-image: url(../Content/svg/gallery-tick.svg);
    }

        .pop-container.toggleImage.bg-toggle {
            background-image: url(../Content/svg/gallery-remove.svg);
        }

    .pop-container.textToSpeach {
        background-image: url(../Content/svg/text-to-speech.svg);
    }
    .pop-container.translation {
        background-image: url('../Content/svg/translate-svgrepo-com.svg');
    }

    .pop-container:hover {
        border-color: white;
    }

    .pop-container > div:first-child {
        width: 100%;
        height: 100%;
    }

    .pop-container > div:nth-child(2) {
        width: 240px;
        position: absolute;
        left: 0px;
        top: 44px;
        padding-top: 6px;
        z-index: 16;
        background-color: transparent;
        font-size: 12px;
    }

    .pop-container > div > div {
        background-color: white;
        width: 100%;
        border: 2px solid #3389ca;
        border-radius: 2px;
        display: none;
        position: relative;
        min-height: 100px;
        overflow: auto;
        max-height: 313px;
    }
    .pop-container.translation > div > div {
        min-height: 60px;
    }

    .pop-container:hover > div:nth-child(2) {
        z-index: 18;
    }

    .pop-container:hover > div > div {
        display: inline-block;
    }

.new-font-family {
    width: 100%;
    color: black;
}

    .new-font-family button, .new-color-theme button, .cursor-options button {
        width: 100%;
        height: 35px;
        background-color: white;
        border: 1px solid #3389ca;
    }

input[type=color] {
    /*border: 1px solid #3389ca !important;*/
    background-color: white;
    padding: 0px;
    border: none !important;
    width: 55px;
    height: 30px;
}

.new-color-theme .own-style td:last-child {
    text-align: right;
}

.pop-container + .pop-container {
    margin-left: 10px;
}

.new-color-theme {
    color: black;
    width: 100%;
    border-spacing: 5px;
}

    .new-color-theme .theme-tr td {
        height: 30px;
        text-align: center;
        font-size: 25px;
        width: 20%;
    }
.cursor-options {
    color: black;
    width: 100%;
    border-spacing: 5px;
}
    .cursor-options .cursor-tr td {
        height: 25px;
        text-align: left;
        font-size: 12px;
    }
    .cursor-options .cursor-header {
        height: 20px;
        text-align: left;
        font-size: 14px;
        font-weight:700;
    }
.cursor-options td.cursor-label {
    width: 89%;
}
    .cursor-options td input[type=radio] {
        width:16px;
        height:16px;
    }

    .increaseLineHeight, .decreaseLineHeight, .increaseSpacing, .decreaseSpacing {
        width: 30px;
        height: 30px;
        background-position: center;
        background-size: 26px;
        background-repeat: no-repeat;
        cursor: pointer;
    }

.increaseLineHeight, .increaseSpacing {
    background-image: url(../Content/svg/plus.svg);
}

.decreaseLineHeight, .decreaseSpacing {
    background-image: url(../Content/svg/minus.svg);
}

.increaseLineHeight:hover, .increaseSpacing:hover {
    background-image: url(../Content/svg/plus-hover.svg);
}

.decreaseLineHeight:hover, .decreaseSpacing:hover {
    background-image: url(../Content/svg/minus-hover.svg);
}


.body-content {
    padding-top: 64px;
}

.top-bar {
    display: flex;
    top: 0px;
    left: 0px;
    position: fixed;
    z-index: 2;
    width: 100%;
    background-color: black;
    padding: 6px;
    border-bottom: 4px solid #3389ca;
    flex-wrap:wrap;
}

.zoomdiv {
    transform: scale(3);
    position: fixed;
    z-index: 1;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid black;
    background-color: white;
    display: none;
}

    .zoomdiv.toggle-on {
        display: block;
    }

    .zoomdiv > .body-content {
        position: fixed;
        top: 50px;
    }

.body-content img.image-hide-on {
    visibility: hidden !important;
}

.body-content .image-hide-on {
    background-image: none !important;
}



.own-style {
    display: none;
}


.bar-bottom {
    background-color: transparent;
    width: 100%;
    height: 6px;
    position: absolute;
    bottom: 0px;
    z-index: 17;
}

#templatestart [menu-table] > .sub-menu {
    display: none;
}

#templatestart [menu-table] {
    position: relative;
}

    #templatestart [menu-table]:hover > .sub-menu {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: -29px;
        border: 2px solid #3389ca;
        border-radius: 4px;
        background-color: white !important;
        padding: 5px;
        width: 150px;
        z-index: 2;
    }

.main-menu {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

div.readaloud {
    width: 35px;
    height: 35px;
    background-position: center;
    background-size: 35px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: transparent !important;
}

    div.readaloud[value="0"] {
        background-image: url(../Content/svg/play.svg);
    }

#templatestart.playing div.readaloud[value="0"] {
    background-image: url(../Content/svg/play-selected.svg);
}

div.readaloud[value="1"] {
    background-image: url(../Content/svg/pause.svg);
}

#templatestart.paused div.readaloud[value="1"] {
    background-image: url(../Content/svg/pause-selected.svg);
}

div.readaloud[value="2"] {
    background-image: url(../Content/svg/resume.svg);
}

div.readaloud[value="3"] {
    background-image: url(../Content/svg/stop.svg);
}

.main-menu > .val, .main-menu > div:first-child {
    color: black;
}

    .main-menu > .val:first-child {
        width: 45px;
    }

table.text-to-speech, table.lang-translation {
    width: 100%;
}

input[type=range] {
    accent-color: #3389ca;
}

.cm-dd-dropdown, table.lang-translation div > div > div {
    height: 26px !important;
    position: relative;
}

    .cm-dd-dropdown:not(tr):before, table.lang-translation div > div > div:before {
        content: "\02C5";
        color: rgba(0,0,0,0.4);
        cursor: pointer;
        background-color: #d4d9dd;
        position: absolute;
        width: 25px;
        height: 100%;
        display: flex;
        right: 0px;
        justify-content: center;
        align-items: flex-end;
        pointer-events: none; 
        font-size: 14px;
        line-height: 23px;
        font-family: helvetica;
        z-index: 1;
        font-weight: bold;
    }

    .cm-dd-dropdown > select, table.lang-translation select {
        height: 100%;
        width: 100%;
        padding-left: 2px;
        padding-right: 0px;
        border-radius: 0px !important;
        border: 1px solid #ccc;
    }

.goog-te-gadget .goog-te-combo {
    margin: 0px;
    height: 26px !important;
}

.goog-te-gadget {
    color: transparent;
}

.cm-dd-dropdown[value="-1"] select, .cm-dd-dropdown[value="0"]:not(.ignore) select {
    color: #D4D9DD !important;
}

.cm-dd-dropdown select option, table.lang-translation select option {
    color: black;
}
