
root {
	
    --paleyellow: #e9ab17;
	

    --modal_radius: 15px;
    --button_radius: 10px;
    --editable: var(--paleyellow);
   

  
}
button {
	font-size: 2vw;
	border: 1px black solid;
	margin: 2vh;
    padding: 1vw;
    border-radius: 2vh;
}
.header {
	height: 10vh;
	background-image: url("images/foot.png");
	.background-image: linear-gradient(red, yellow, blue);
 	
}
.logo {
	position : absolute;
	top : 0px;
	left : 0px;
	width : 60px;
	height : 60px;
	text-align: center;
}
.sub {
	font-size: 6vh;
	length:4;
}
.header1 {
	font-size: 150%;
	color: blue;
}
span {
	font-size: 150%;
}
#title {
	position : absolute;
	top : 0px;
	left : 70px;
//	width : 350px;
	height : 60px;
	text-align:left;
	font-size: 150%;
	margin : 2px;
	border-radius: 5px;
}
#btnbox {
	margin: 4px;
	float : left;
}

input {
	// border: 1px;
	padding: 0px;
}

html,
body {
    margin: 0;
    overflow: hidden;
    height: 100%;
    .background-image: linear-gradient(white,white,red, yellow, blue);
    .font-family: Comic Sans, Comic Sans MS;
}

/* Scale canvas with resize attribute to full size */
canvas[resize] {
    // width: 500px;
	width: 50%;
    height: 500px;
    .background:burlywood;
}
canvas {
	top: 0px;
	. border:1px green solid;
	.background:burlywood;
	margin: auto;
	padding: 0;
	display: block;
	.touch-action:none; 
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.keypad {
	.position:absolute;
	.top: 20vh;
	. left:10vw;
	margin: auto;
	width:80vw;
	border: 1px black solid;
	border-radius: 2vh;
	display:none;
	background: black;
}
.topcontainer, .flex {
	display: flex;
  flex-direction: row;
  padding:10px;
}
.container {
	display: flex;
  flex-direction: row;
}
.bordered {
	border: 1px  solid grey;
	border-radius: 10px;
	background: white;
	padding:2px;
}
.center {
	display:table;
	margin: 0 auto;
	padding: 0px;
}
.center10 {
	display:table;
	margin: 10px auto;
	padding: 10px;
}
.pad10 { padding:10px; }

.rounded {
	border-radius: 10px;
}
.input { font-size:4vh;}
.small { font-size:2vh;}
.wide { width:100%; }
.heading1 { font-size: 5vh; padding:0px 10px 5px 10px; font-weight: bolder; 
background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white;}
#login_btn { position: absolute; right:10px;top:10px; padding: 0 10px;
 background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white; }
 #login_div { width:100%; height : 100%; position:absolute; top: 0; left:0; z-index:2; }
 .login_container { margin:100px auto; padding:20px; border: 1px  solid grey;
	border-radius: 10px;
	background: white;
	display:table;
	z-index:3; 
	font-size:5vh;
	position:relative;
	background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white; 
 }
 .close { position: absolute; top:10px; right:15px; border: 3px solid white; border-radius: 15px;}
 

#workings {
	.position: absolute;
    .top: 1px;
    .width: 35vw;
    flex-grow:1;
    .height: 68vh;
    margin: 2vh;
    padding: 1vw;
    font-size: 4vh;
    background-color:#CCCCCC;
    border: 1px black solid;
	border-radius: 2vh;
	display: inline-block;
}
.keypad table {
	width: 100%;
}
.keypad td {
	width: 25%;
	border-spacing:2vw 2vh;
    border-collapse:separate;
	border:1px black solid;
	margin: auto;
	border-radius: 2vh;
	font-size: 6vw;
	padding:1vh;
	text-align:center;
	background:lightgrey;
}

#checkBtn { 
	display:none; 
	width: 50%;
}

#startBtn, #clearBtn{
	display: inline-block;
	border:1px black solid;
	margin: auto;
	border-radius: 2vh;
	padding:1vh;
}
.wholepage {
	position: absolute;
	top : 0px;
	// width:500px;
	width:100%;
	//height:500px;
	height:100%;
	overflow : auto;
	border:1px green solid;
}
.timer {
	//position:absolute;
	float : right;
	// top: 1px;
	// left: 1px;
	padding : 3px;
	border:1px black solid;
	margin : 2px;
	display:none;
}
.floatright {
	float : right;
	border:1px black solid;
	padding:1px 5px 1px 5px;
	margin: 2px;
	border-radius: 5px;
}
.border {
	position: relative;
	border:1px black solid;
	width: 99%;
	height : 55px;
	margin : 2px;
	border-radius: 5px;
	spacing : 2px;
	 background-color: lightblue;
	// background: linear-gradient(to right, lightblue , blue);
	background: linear-gradient(to right, lightblue , blue, lightblue);
}
.entry {
	position: absolute;
	top: 150px;
	left: 150px;
}	
.green {
	position: absolute;
// 	border:1px green solid;
}
.red {
	position: absolute;
 	border:1px red solid;
}
.plain {
	position: absolute;
	// top: 80px;
	// left: 150px;
  //width: 50px;
    //height: 24px;
	// border:1px green solid;
}
.plain_bordered {
	position: absolute;
	border:1px grey solid;
	padding: 3px;
	margin : 3px;
}
	
 .cpa {
	position: absolute;
	top: 95px;
	left: 1px;
	spacing :5px;
	width:99%;
	border-radius: 5px;
  //  width: 500px;
   // height: 240px;
	 border:1px black solid;
}
	
.step { 
	position: absolute;
	top: 1px;
	// overflow : auto;
// 	width: 400px;
}
	
.table1 {
	border-spacing:2vw 2vh;
    border-collapse:separate;
    width: 100vw;
}
.hidden { display:none; }
#show_steps_btn { display:none; }
.btn {
	.position: absolute;
	float: right;
	border:1px black solid;
	padding:1px 5px 1px 5px;
	margin: 0px 1vw ;
	border-radius: 1vw;
	font-size: 4vw;
	.font-family: Comic Sans, Comic Sans MS;
	background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white;
}
.lbtn {
	width:80%;
	border:1px black solid;
	padding:5px;
	margin: 10px 1vw ;
	border-radius: 1vw;
	font-size: 1.5vw;
	.font-family: Comic Sans, Comic Sans MS;
	background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white;
}
option {
	.font-family: Comic Sans, Comic Sans MS;
}
.closebtn {
	
	border:1px black solid;
	padding:1px 5px 1px 5px;
	margin: 10px auto;
	border-radius: 5px;
	font-size: 4vw;
}
.btn1 {
	.position: absolute;
	border-spacing:2vw 2vh;
    border-collapse:separate;
	right: 10px;
	border:1px black solid;
	padding:1px 5px 1px 5px;
	margin: auto;
	border-radius: 2vh;
	font-size: 8vw;
	
}
.blank {
	float : right;
	border:1px black solid;
	padding:1px 5px 1px 5px;
	margin: 2px;
	border-radius: 5px;
}

.fraction_line {
	height:1px;
	background: black;
}
.doublesize {
	font-size:150%;
}
#popup {
	position: absolute;
	border: 1px solid black;
// 	overflow: scroll;
	zindex: 1000;
	top : 70px;
	left : 70px;
	padding:1vw;
	spacing: 5px;
	margin: 8px;
	border-radius: 5px;
	display: none;
	 background-color: lightblue;
	 max-height:80vh;
	 overflow: auto;
}

.help_popup {
	position: relative;
	overflow: scroll;
	padding:1px 5px 1px 5px;
	// width : 450px;
	width: 90%;
	border: 1px solid black;
	margin: 5px;
	border-radius: 5px;
	display:none;
	zindex: 1000;
}
 
.help_btn 
{
	position: absolute;
	top : 2px;
	right : 1px;
	border: 1px solid black;
	padding:1px 5px 1px 5px;
	margin: 1px;
	// padding: 5px;
	border-radius: 5px;
}
	
.e { width:100%; }
#edit_steps_div {
	position:absolute;
	width:80vw;
	left:10vw;
	background:pink;
	border: 2px solid purple;
	border-radius: 15px;
	padding:15px;
	
}
.no_action_row { }
.action_row { color:green;}

col:nth-child(even) {background: #CCC; }
td { padding:0 5px;}

#left_column { width:210px; margin:1vw; position:relative; top:110px; display:table; }
#right_column { width:100%; height: 80vh; margin:10px 0; position:relative; overflow:auto; 
background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);}
/* Dropdown Button */
.dropbtn {
  .font-family: Comic Sans, Comic Sans MS;
  background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); color:white;
  color: white;
  
  font-size: 4vw;
  border:1px black solid;
padding:1px 5px 1px 5px;
	margin: 0px 1vw ;
	border-radius: 1vw;
	font-size: 4vw;
  .border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: absolute;
  right:10px;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right:0;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content div {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

#checkit_div { width:60vw; background-color: #6F00FF; color:white; padding:1vw; 
	font-size:4vh; border-radius: 10px; margin: 0 10vw;}
