/* © Anton Kalyuta 2022 - 2026 */

#previewText {
    background: #03b6c9;
}

.theme {
    width: 17px;
    height: 17px;
    margin: 0 10px 0 0;
}

/*.amplifier {*/
/*    width: 17px;*/
/*    height: 17px;*/
/*    margin: 0 10px 0 0;*/
/*}*/
/**/
@media (max-device-width: 480px) {
    .theme {
        width: 25px;
        height: 25px;
        margin: 0 20px 0 0;
    }
    /**/
    /*.amplifier {*/
    /*    width: 25px;*/
    /*    height: 25px;*/
    /*    margin: 0 20px 0 0;*/
    /*}*/
}

#settings {
    width: 95vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#themesAndAmplifiers {
    display: flex;
}

@media (min-device-width: 481px) and (min-device-height: 481px) {
    #themesAndAmplifiers {
        justify-content: center;
    }
}

#themesAndAmplifiersTable {
    text-align: center;
    width: 100%;
}

#themesAndAmplifiersTable td {
    padding: 10px 20px 20px 10px;
    text-align: left;
}

@media (max-device-height: 480px) or (max-device-width: 480px) {
    #themesAndAmplifiersTable td {
        min-width: 505px;
        height: 75px;
    }

    #themesAndAmplifiers {
        overflow: scroll;
    }
}

/*#themesAndAmplifiersTable tr td:first-child {*/
/*    border-left: none;*/
/*}*/

/*#themesAndAmplifiersTable tr:first-child td {*/
/*    border-top: none;*/
/*}*/

/*#themesAndAmplifiersTable tr td:last-child {*/
/*    border-right: none;*/
/*}*/

/*#themesAndAmplifiersTable tr:last-child td {*/
/*    border-bottom: none;*/
/*}*/

#next {
    /*border-radius: 0;*/
    /*left: 0;*/
    /*bottom: 75px;*/
    /*width: calc(100vw - 100px);*/
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*transform: translateX(-50%);*/
    /*left: 50%;*/
    border: 5px solid #767676;
    background: transparent;
    color: #767676;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

/*#nextInner {*/
/*    margin: auto;*/
/*}*/

#start {
    position: fixed;
    width: 100vw;
    left: 0;
    bottom: 0;
    border: none;
}

#start-stop {
    display: none;
}

.themeOrAmplifierDescription {
    width: max-content;
    white-space: nowrap;
}

.pageName:before, .pageName:after {
    content: none;
}

#bottomPanel {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    z-index: 101;
}

#successesOuter {
    display: flex;
    background: #05c3d7;
    z-index: 102;
}

#successesInner {
    margin: auto;
    color: white;
    font-weight: bold;
    font-size: 30px;
}

#save {
    text-align: center;
    position: fixed;
    bottom: 115px;
    width: calc(30vw - 100px);
    padding: 20px 50px;
    font-size: 20px;
    border-radius: 12px;
    transform: translateX(-50%);
    left: 50%;
}

#start {
    position: fixed;
    width: 30vw;
    bottom: 30px;
    transform: translateX(-50%);
    left: 50%;
    border-radius: 12px;
}

#saved {
    color: #00cdba;
    font-size: 30px;
    position: fixed;
    bottom: 135px;
    transform: translateX(-50%);
    left: calc(50% + 27.5vw);
    display: none;
}

#settingsButton {
    /*font-size: 30px;*/
    /*width: 25vw;*/
    /*height: 75px;*/
    /*position: fixed;*/
    /*bottom: 0;*/
    /*left: 0;*/
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 102;
}

#timer {
    display: flex;
    width: 50vw;
    padding-top: 20.5px;
    padding-bottom: 20.5px;
    font-weight: bold;
    position: revert;
    bottom: revert;
    z-index: revert;
    align-items: center;
    justify-content: center;
}

#answer {
    display: none;
    width: 600px;
    height: 200px;
    font-size: 100px;
    color: #05c3d7;
    font-weight: bold;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 12px;
}

html.dark #answer {
    border: 5px solid white;
}

#answer::-webkit-outer-spin-button,
#answer::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#answer::placeholder {
    font-weight: bold;
    font-size: 100px;
    color: #05c3d749;
}

#enter {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*transform: translateX(-50%);*/
    /*left: 50%;*/
    border: 5px solid #05c3d7;
    background: transparent;
    color: #05c3d7;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

html.dark #enter {
    color: #cccccc;
    border: 5px solid #cccccc;
}

#enter[disabled=disabled] {
    border: 5px solid #aaaaaa;
    color: #aaaaaa;
    cursor: not-allowed;
}

html.dark #enter[disabled=disabled] {
    border: 5px solid #767676;
    color: #767676;
}

#enterInner {
    margin: auto;
}

#success {
    display: none;
    font-size: 8vw;
    color: #05c3d7;
    font-weight: bold;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#fail {
    display: none;
    font-size: 8vw;
    color: #ea7f7f;
    font-weight: bold;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#interrupted {
    display: none;
    font-size: 8vw;
    color: #767676;
    font-weight: bold;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#continueButton {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*transform: translateX(-50%);*/
    /*left: 50%;*/
    border: 5px solid #767676;
    background: transparent;
    color: #767676;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

#resultButton {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*transform: translateX(-50%);*/
    /*left: 50%;*/
    border: 5px solid #767676;
    background: transparent;
    color: #767676;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

#innerDictationWindow {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: white;*/
}

#concealer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 102;
    background: white;
    display: none;
}

html.dark #concealer {
    background: #404040;
}

#innerDictationWindowText {
    font-weight: bold;
}

#continueDictation {
    display: none;
    position: fixed;
    width: 30vw;
    bottom: 30px;
    transform: translateX(-50%);
    left: 50%;
    border-radius: 12px;
}

.top-left-container {
    z-index: 102;
}

.dictationBack {
    position: fixed;
    left: 20px;
    top: 100px;
    width: 50px;
    height: 50px;
}

#outerDictationWindow {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 101;
    display: none;
}

#retryDictationButton {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*right: 125px;*/
    border: 5px solid #767676;
    background: transparent;
    color: #767676;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

#newDictationButton {
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 130px;*/
    width: calc(17vw + 84px);
    font-size: 30px;
    border-radius: 12px;
    /*right: 125px;*/
    border: 5px solid #767676;
    background: transparent;
    color: #767676;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 15px 50px;
}

#auxiliaryPanel {
    position: fixed;
    display: flex;
    bottom: 110px;
    left: 0;
    width: 100vw;
    justify-content: space-evenly;
    align-items: center;
    z-index: 103;
}

@media (max-device-width: 480px) {
    #auxiliaryPanel {
        bottom: 230px;
    }
}

#interruptButton {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 0;
}

.side {
    width: 25vw !important;
}

.central {
    width: 50vw;
}

#dictationProgress {
    display: none;
    width: 100vw;
    border-radius: 0;
    position: fixed;
    left: 0;
    text-align: left;
}

#dictationProgress::-webkit-progress-bar {
    border-radius: 0;
    background: #eeeeee;
}

#dictationProgress::-webkit-progress-value {
    border-radius: 0;
    background: #05c3d7;
}

html.dark #dictationProgress::-webkit-progress-bar {
    background: #505050;
}

html.dark #outerDictationWindow {
    background: #404040;
}

html.dark #dictationProgress::-webkit-progress-value {
    background: #049dae;
}

#answerNumpad {
    display: none;
    position: fixed;
    left: 15%;
    top: 50%;
    transform: translate(-15%, -50%);
}

.numpadNumber {
    width: 75px;
    height: 35px;
    background: #767676;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 23px;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.numpadNumber:active {
    background: #505050;
}

.numpadReset {
    background: #05c3d7;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.numpadReset:active {
    background: #03a6b7;
}

@media (min-device-width: 481px) and (max-width: 1750px) {
    #answerNumpad {
        display: none !important;
    }
}

@media (max-height: 1700px) and (max-device-width: 480px), (max-height: 1700px) and (max-device-height: 480px) {
    #retryDictationButton, #newDictationButton, #bottomPanel, #save, #start {
        display: none !important;
    }

    #auxiliaryPanel {
        height: 400px !important;
        bottom: 0 !important;
    }
}

@media (min-device-width: 481px) {
    #innerSettings {
        flex-direction: row;
    }
}

@media (max-device-width: 480px) {
    #answer {
        font-size: 100px !important;
    }

    input[type=checkbox], input[type=radio] {
        width: 50px;
        height: 50px;
    }

    #next, #enter, #retryDictationButton, #newDictationButton, #continueButton, #resultButton {
        font-size: 70px;
        border: 10px solid #767676;
        padding: 60px 130px;
        width: 50vw;
    }

    #auxiliaryPanel {
        height: 825px;
        flex-wrap: wrap;
    }

    #start {
        width: 90vw;
        font-size: 60px;
        padding: 60px 75px;
    }

    #save {
        width: 90vw;
        font-size: 60px;
        bottom: 240px;
        padding: 60px 0;
    }

    #continueDictation {
        width: 90vw;
        font-size: 60px;
    }

    #answerNumpad {
        left: 0;
        top: 70%;
        transform: translateY(-70%);
        width: 100vw;
        height: 30vh;
    }

    .numpadNumber {
        border-radius: 12px;
        font-size: 75px;
    }

    .numpadReset {
        border-radius: 12px;
        font-size: 75px;
    }

    #answer {
        width: 800px;
        height: 265px;
        top: 25%;
        transform: translate(-50%, -25%);
    }

    #retryDictationButton {
        height: 100px;
    }

    #enter {
        height: 100px;
    }

    #newDictationButton {
        height: 100px;
    }

    #resultButton {
        height: 100px;
    }

    #continueButton {
        height: 100px;
    }

    #innerDictationWindowText {
        font-size: 16vw;
    }

    #success, #fail, #interrupted {
        font-size: 16vw;
        top: 25%;
        transform: translate(-50%, -25%);
    }

    #bottomPanel {
        height: 200px;
    }

    #successesInner {
        font-size: 45px;
    }

    #timer, #interruptButton, #settingsButton {
        font-size: 45px;
    }

    table tr:first-child {
        font-weight: normal;
    }

    #themesAndAmplifiersTable td {
        min-width: 800px;
    }

    .themeOrAmplifierDescription {
        font-size: 60px !important;
    }
}