@charset "utf-8";
/* CSS Document */

/*
Copyright (C) <2022>  <Tan Huynh>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

html {
    scroll-behavior: smooth;
}
body {
    margin: auto;
}
table {
    background-color: lightgray;
    border-spacing: none;
    border: 1px solid white;
    border: none;
}
tr,th,td {
    border: 1px solid white;
}
th {
    padding: 10px;
    width: 50px;
    text-align: center;
}
h1,h3 {
    width: 500px;
    margin-bottom: 5px;
    color: darkslategray;
}
h3 {
    font-variant: small-caps;
}
nav {
    display: flex;
    margin-bottom: 3px;
}
footer {
	width: 100%;
	bottom: 0px;
	text-align: center;
	color: black;
	font-size: 14px;
    left: 0px;
}

.Buttons {
    background-color: azure;
    width: 75px;
    height: 25px;
    line-height: 25px;
    border: 1px solid #19889F;
    text-align: center;
    border-radius: 5px;
    box-shadow: -1px -1px 1px gray;
}
.Buttons:hover, .Operations:hover, .VarButtons:hover {
    background-color: aqua;
    cursor: pointer;
}
.EditButtons {
    cursor: pointer;
    font-size: 14px;
    color: green;
    display: none;
}
.Inputs {
    font-size: 22px;
    padding: 0px 10px 0px 10px;
    box-shadow: -1px -1px 1px 1px gray;
    border-radius: 0px 0px 0px 15px;
}
.Title,.TName,.UName,.CName,.Email,.Units,.Link {
    width: 400px;
    height: 25px;
    line-height: 25px;
    margin-bottom: 10px;
}
.Email {
    text-decoration: none;
}
.Formula {
    width: 400px;
    min-height: 35px;
    line-height: 35px;
    border: 1px solid black;
}
.VariableList {
    text-align-last: right;
    padding-right: 10px;
}
.InitVal {
    text-align: center;
}
.RangeMin,.RangeMax,.Decimal {
    text-align: center;
    background-color: white;
}
.Highlight {
    color: red;
}
.Directions {
    width: 400px;
    min-height: 50px;
    margin-bottom: 10px;
}
.Questions {
    width: 400px;
    min-height: 100px;
}
.Units {
    width: 400px;
    margin-bottom: 10px;
}
.Floaters:first-child {
    margin-right: 20px;
}
.VarButtons {
    background-color: azure;
    width: 80px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border: 1px solid black;
    cursor: pointer;
    margin: 5px 3px 15px 0px;
    display: inline-block;
    vertical-align: top;
}
/*Dropdown Symbols*/
.MathButtons {
    background-color: azure;
    width: 25px;
    height: 25px;
    padding: 2px;
    line-height: 25px;
    border-radius: 1px 1px 15px 15px;
    border: 1px solid black;
    cursor: pointer;
    text-align: center;
    position: relative;
}
.DropButton {
    position: relative;
    left: 0px;
    background-color: azure;
    color: black;
    font-size: 16px;
    border: 1px solid black;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 0px 0px 15px 15px;
    text-align: center;
}

.DropDown {
    position: absolute;
    top: 50%;
    left: 450px;
    display: none;
/*    display: inline-block;*/
}

.Dropdown-Content {
    top: -30px;
    display: none;
    position: relative;
    z-index: 1;
}

.Dropdown-Content .MathButtons {
  display: block;
}

.DropDown:hover .Dropdown-Content {
    display: block;
}

.MathButtons:hover {
    background-color: aqua;
}

#Container {
    padding: 0px 0px 0px 20px;
    display: flex;
}
#ProblemArea,#VariablesArea {
    width: 500px;
    height: 200px;
    display: inline;
    margin-top: 25px;
}
#FindVars,#SetVars {
    margin-top: 5px;
}
#ProblemArea,#VariablesArea,#SolutionsArea,#Add,#FormatArea,#Units,#AddUnits,#DecOrFrac,#WholeNumber,#Reset,#Rounding {
    display: none;
}
#Add {
    width: 150px;
    background-color: lightgreen;
}
#ManualEdit {
    margin-bottom: 15px;
}
#Preview {
    text-align: center;
    margin-top: -25px;
    height: 25px;
    width: 200px;
    font-weight: bold;
    margin-left: -50px;
    opacity: 0.6;
    color: red;
}
#DecOrFrac,#WholeNumber,#Rounding {
    background-color: pink;
    width: 400px;
    text-align: right;
}
#TestOutput {
    margin-top: 15px;
    display: inline;
    height: 35px;
}
#UnitAfter,#UnitBefore {
    display: inline;
}
#VarButtons {
    display: inline-block;
}

[contenteditable="true"].Inputs {
    overflow: hidden;
    background-color: azure;
} 
[contenteditable="true"].Inputs:hover {
        background-color: antiquewhite;
} 

/*Worksheet Styles*/

a {
    text-decoration: none;
}
.Labels {
    display: inline-block;
    width: 50px;
    text-align: right;
    margin-right: 10px;
}
.WSInputs {
    margin-bottom: 5px;
    padding-left: 10px;
    box-shadow: 1px 1px 1px gray;
    border-radius: 0px 0px 15px 0px;
}
.WSInfo {
    display: flex;
}
.WSProblemsContainer {
    display: inline-block;
    vertical-align: top;
}
.WSDirections {
    width: 355px;
}
.WSProblemArea {
    display: inline-block;
    vertical-align: top;
    margin-top: 40px;
}
.WSHiddenProblems {
    display: none;
}
.WSProblems {
    width: 350px;
    font-size: 20px;
    display: inline-block;
    padding-right: 50px;
    vertical-align: top;
}
.WSAnswers {
    width: 350px;
    background-color: beige;
    height: 25px;
    line-height: 25px;
}
.WSWorkArea {
    min-width: 350px;
    max-width: 350px;
    background-color: beige;
    min-height: 75px;
    max-height: 150px;
    border: none;
    font-size: 18px;
}
.CheckButtons {
    cursor: pointer;
    font-size: 14px;
    color: green;
    margin-bottom: 30px;
    width: 50px;
    display: inline;
}

.DeleteButton {
    cursor: pointer; 
    color: red;
    margin-left: -15px;
}
.WSDraggableContainers:hover {
    cursor: grab;
}
.WSDraggableContainers {
    display: inline-block;
    vertical-align: top;
}

#WSSName:hover,#WSSDate:hover,#WSSPeriod:hover,.WSInputs:hover {
    background-color: blanchedalmond;
}
#PageToPrint {
    width: 816px;
    min-height: 1000px;
    border: 1px solid black;
    float: right;
    padding-left: 50px;
    padding-top: 50px;
    font-size: 18px;
    box-shadow: -5px -5px 5px 1px gray;
}
#WSSName,#WSSPeriod,#WSSDate {
    background-color: beige;
    width: 300px;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    border: none;
    margin-right: 10px;
}
#WSSPeriod {
    width: 75px;
}
#WSSDate {
    width: 150px;
}
[contenteditable="true"].WSInputs {
    white-space: nowrap;
    overflow: hidden;
} 



.WSMathButtons {
    background-color: azure;
    width: 25px;
    height: 25px;
    padding: 2px;
    line-height: 25px;
    border-radius: 1px 1px 15px 15px;
    border: 1px solid black;
    cursor: pointer;
    text-align: center;
    position: relative;
}
.WSDropButton {
    position: relative;
    left: 0px;
    background-color: azure;
    color: black;
    font-size: 16px;
    border: 1px solid black;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 0px 0px 15px 15px;
    text-align: center;
}

.WSDropDown {
    position: fixed;
    top: 50%;
    left: 750px;
    display: none;
/*    display: inline-block;*/
}

.WSDropdown-Content {
    top: -30px;
    display: none;
    position: relative;
    z-index: 1;
}

.WSDropdown-Content .WSMathButtons {
  display: block;
}

.WSDropDown:hover .WSDropdown-Content {
    display: block;
}

.WSMathButtons:hover {
    background-color: aqua;
}
