﻿input[type="radio"] {
    accent-color: #495869;
}
input[type="checkbox"] {
    accent-color: #495869;
}

.calculation-answer {
    display: block;
    border-bottom: unset;
    border-left: unset;
    border-right: unset;
    color: var(--color2);
    padding-bottom: 10px;
}

.calculation-solution {
    display: block;
    border-bottom: unset;
    border-top-style: solid;
    border-width: 1px;
    border-color: var(--border-color);
    border-left: unset;
    border-right: unset;
    color: #6f6f6f;
    padding-bottom: 10px;
    margin-top: 17px;
}

.calculator-controls {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: unset;
}

.tb-multiLine {
    height: 100px;
    resize: vertical;
    outline: none;
}

.tb {
    outline: none;
    width: 200px;
    height: 30px;
    border-style: solid;
    padding-left: 6px;
    border-width: 1.5px;
    border-radius: 4px;
    border-color: #b5bbc1;
    text-align: center;
    color: #545454;
    font-size: 120%;
}

.sel {
    outline: none;
    min-width: 100px;
    height: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 110%;
    margin: 5px;
    border-style: solid;
    padding-left: 6px;
    border-width: 1.5px;
    border-radius: 4px;
    border-color: #b5bbc1;
    color: #151515;
}

.sel2 {
    outline: none;
    min-width: 100px;
    height: 35px;
    text-align: center;
    font-weight: 500 !important;
    font-size: 110%;
    margin: 2px;
    border-style: solid;
    padding-left: 6px;
    border-width: 1.5px;
    border-radius: 4px;
    border-color: #b5bbc1;
    color: #151515;
    margin-left: 1px;
    background-color: white !important;
}

.sel3 {
    outline: none;
    min-width: 100px;
    height: 30px;
    text-align: center;
    margin: 2px;
    border-style: solid;
    padding-left: 6px;
    border-width: 1.5px;
    border-radius: 4px;
    border-color: #b5bbc1;
    margin-left: 1px;
    background-color: white !important;
    color: #495869;
    font-size: 90%;
    font-weight: 600 !important;
}

@media (min-width: 200px) {
    .tb-multiLine, .btn-clean-cont {
        width: 150px;
    }
}

@media (min-width: 300px) {
    .tb-multiLine, .btn-clean-cont {
        width: 250px;
    }
}

@media (min-width: 350px) {
    .tb-multiLine, .btn-clean-cont {
        width: 300px;
    }
}

@media (min-width: 400px) {
    .tb-multiLine, .btn-clean-cont {
        width: 350px;
    }
}

@media (min-width: 450px) {
    .tb-multiLine, .btn-clean-cont {
        width: 400px;
    }
}

@media (min-width: 500px) {
    .tb-multiLine, .btn-clean-cont {
        width: 450px;
    }
}

@media (min-width: 550px) {
    .tb-multiLine, .btn-clean-cont {
        width: 500px;
    }
}

.btn-general {
    all: unset;
    margin-top: 15px;
    border-style: solid;
    padding: 5px;
    border-width: 1.5px;
    border-radius: 4px;
    background-color: white;
    font-weight: 600;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 90%;
    color: #495869;
    border-color: #b5bbc1;
    cursor:pointer;
}

.do {
    padding: 20px;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    width: -webkit-fill-available; 
    width: -moz-available;
    text-align: center;
    color: #151515;
}

mjx-container {
    display: inline-block !important;
    margin: 3px !important;
    margin-left: 1px !important;
    margin-right: 1px !important;
}

.do2 {
    padding: 20px;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    width: -webkit-fill-available;
    width: -moz-available;
    color: #151515;
    background-color: var(--bg-main);
    margin-top: 13px;
    border-radius: 12px;
}

@media (min-width: 768px) {
    
}

.error-message {
    display: block;
    color: var(--text);
    font-weight: 100;
}

.error-message-specific {
    display: block;
    margin-bottom: 2px;
}

.allow-sign {
    background-color: var(--border-color);
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    border-radius: 2px;
    padding: 2px;
    margin-top: 3px;
    text-align: center;
}

.btn-clean-cont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-clean {
    background-image: url("/Images/clear.png");
    background-size: contain;
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 1px;
    height: 18px;
    width: 18px;
    display: block;
    margin-right: -2px;
    border-color: #495869;
    padding: 2px;
    cursor: pointer;
    border-bottom: unset;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.btn-swap {
    background-image: url("/Images/swap.png");
    background-size: contain;
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 1px;
    height: 25px;
    width: 25px;
    border-radius: 3px;
    display: inline;
    margin-right: -4px;
    border-color: #49586959;
    padding: 2px;
    cursor: pointer;
    background-color: #ffffff !important;
}

.btn-paste {
    background-color: #495869;
    border-style: solid;
    border-width: 3px;
    border-color: #495869;
    color: white;
    height: 23px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0px;
}

.input-examples {
    color: #495869;  
    cursor:pointer;
}

.ruls {
    width: 95%;
    padding: 10px;
    display: none;
    justify-content: flex-start;
    border-style: solid;
    border-left: none;
    border-right: none;
    border-width: 0.5px;
    border-bottom: none;
    font-size: 90%;
    color: #545454;
    font-weight: 400;
}

.table-calc {
    color: #495869;
}

.theoretical-part, .theoretical-part-sections {
    padding: 0px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    color: #151515;
    margin-bottom: 30px;
}

    .theoretical-part-sections p, .theoretical-part-sections section {
        text-align: left;
        padding: 20px;
    }

@media (min-width: 200px) {
    .theoretical-part, .theoretical-part-sections {
        padding: 0px;
    }
}

@media (min-width: 800px) {
    .theoretical-part, .theoretical-part-sections {
        padding: 40px;
    }
}

.theoretical-part h3, .theoretical-part-sections h3 {
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 5px;
    padding-top: 0px;
    margin-top: 15px;
    display: block;
    font-size: 120%;
    color: #545454;
}

.theoretical-part-p {
    text-align: left;
    padding: 20px;
    color: #4e4e4e;
    padding-top: 0;
}

.theoretical-part b b {
    color: #545454;
    font-weight: 600;
}


.sub-title {
    display: block;
    text-align: center;
    padding: 2px;
    margin-bottom: 2px;
    margin-top: 11px;
    margin-left: 0;
    margin-right: 0;
    font-size: 115%;
    color: #646262;
    border-color: #495869;
    border-width: 0.2px;   
}

.definition {    
    display: block;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    font-size: 105%;
    color: #000000;
    text-align: left;
    padding: 0px;
    font-weight: 400;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 20px;
    padding-right: 20px;
}

hr {
    border: none;
    background-color: var(--border-color);
    height: 1px;
}

.formulas-notations {
    margin-top: 12px;
    border-style: solid;
    margin-bottom: 7px;
    padding: 3px;
    border-color: #b5bbc1;
    border-width: 2px;
    border-radius: 4px;
    font-size: 120%;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    max-width: 500px;
}

.formulas-notations mjx-container {
    display: flex !important;
    flex: auto;
    margin: 3px !important;
    margin-left: 1px !important;
    margin-right: 1px !important;
    flex-wrap: wrap;
}

.formulas-notations2 {
    margin-top: 12px;
    border-style: solid;
    margin-bottom: 7px;   
    border-color: #b5bbc1;
    border-width: 2px;
    border-radius: 4px;
    font-size: 110%;
    text-align: center;
    padding: 14px;
}

.formula-in-ddl {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-left: 2px;
    padding-right: 6px;
    font-size: 110%;
}


/*FRACTIONS*/
.pre-fraction {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.fraction-name {
    background-color: #495869;
    width: -webkit-fill-available;
    width: -moz-available;
    text-align: center;
    color: white;
    padding: 4px;
    border-radius: 12px;
    border-bottom-right-radius: unset;
    border-bottom-left-radius: unset;
}

.fraction {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-style: solid;
    padding: 7px;
    border-width: 1px;
    border-color: var(--border-color);
    border-radius: 12px;
    border-top-right-radius: unset;
    border-top-left-radius: unset;
    min-width: 154px;
    border-top: unset;
}

.fraction-part {
    width: 101px;
    height: 43px;
}

.whole-number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
}

.main-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px;
}

.dividing-line {
    height: 1px;
    margin-top: 3px;
    margin-bottom: 3px;
    background-color: gray;
}

dl dt {
    font-weight: bold;
    color: #545454;
    margin-top: 10px;
}

dl dd {
    margin-left: 20px;
    margin-bottom: 10px;
}
