/* The Modal (background) */
.modal {
  text-align: center;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  text-align: center;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  overflow: auto;
  z-index: 1000;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  z-index: 1000;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -75px 0 0 -75px;
  border-top: 16px groove   #ff3399;
  border-left: 16px ridge    #fcba47;
  border-right: 16px ridge    #faf064;
  border-bottom: 16px groove   #fa7896;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
  z-index: 1000;
}

.loaderTop {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -75px 0 0 -75px;
  border-top: 16px groove   #ff3399;
  border-left: 16px ridge    #fcba47;
  border-right: 16px ridge    #faf064;
  border-bottom: 16px groove   #fa7896;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
  z-index: 10000;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

::-webkit-resizer {
	border : 9px solid rgba(0,0,0,.1);
    border-bottom-color: rgba(0,0,0,.5);
    border-right-color: rgba(0,0,0,.5);
    outline: 1px solid rgba(0,0,0,.3);
}

/*Dropdown Menu*/
.dropbtn {
  text-align: center;
  background-color: #000;
  border-radius: 10px;
  color: white;
  padding: 10px;
  width: 20px;
  cursor: pointer;
  border: white solid 1px;
  z-index: 9;
}

.dropdown {
  text-align: center;
  position: absolute;
  top: 0px;
  right: 0px;
  display: inline-block;
  z-index: 9;
}

.dropdown-content {
  text-align: center;
  display: none;
  right: 0px;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 9;
}

.dropdown-content a {
  text-align: center;
  color: black;
  white-space: nowrap;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}
/* omitted as interfere with minimize buttons
.dropdown:hover .dropdown-content {
  display: block;
}
*/
.dropdown:hover .dropbtn {
  background-color: #777;
}

/*Inline Dropdown Menu*/
.dropbtnInline {
  text-align: center;
  vertical-align: bottom;
  background-color: #707;
  border-radius: 10px;
  color: white;
  padding: 5px;
  width: 20px;
  cursor: pointer;
  border: white solid 1px;
  z-index: 9;
}

.dropdownInline {
  text-align: center;
  display: inline-block;
  z-index: 9;
}

.dropdownInline-content {
  padding: 10px;
  text-align: center;
  display: none;
  left: inherit;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  max-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 9;
}


.smallerMenu {
	font-size: x-small;
}

/*Drawing and Formula*/
.drawing {
	position: fixed;
	top: 5px;
	width: 95%;
	height: 100%;
	border: solid; 
	border-radius: 25px; 
	text-align: left; 
	z-index: 10;
}
.CalculatorFrame {
	position: fixed;
	bottom: 40px;
	width: 95%;
	height: 50%;
	border: solid; 
	border-radius: 25px; 
	text-align: left; 
	z-index: 11;
}
.modalDraw {
	text-align: center;
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	z-index: 5;
}
.drawingClose {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: red;
	color: white;
	font-weight: bold;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 10;
}
.notesClose {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: red;
	color: white;
	font-weight: bold;
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 10;
}
.minimize {
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: yellow;
	color: black;
	font-weight: bold;
	position: fixed;
	top: 10px;
	right: 40px;
	z-index: 10;
}
.notesMinimize {
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: yellow;
	color: black;
	font-weight: bold;
	position: fixed;
	top: 10px;
	left: 40px;
	z-index: 10;
}
.anchorButton {
	width: 20px;
	height: 20px;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 3px;
	background: aqua;
	color: black;
	font-weight: bold;
	position: fixed;
	top: 10px;
	right: 70px;
	z-index: 10;
}
.MinHolder{
	position: fixed;
	bottom: 20px;
	right: 20px;	
	z-index: 10;	
}
.drawingMin {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: #00CCFF;
	color: white;
	font-weight: bold;
	z-index: 10;
}
.formulaMin {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: #90EE90;
	color: white;
	font-weight: bold;
	z-index: 10;
}
.calculatorMin {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: #FF007F;
	color: white;
	font-weight: bold;
	z-index: 11;
}
.QsnHolder{
	position: fixed;
	bottom: 45px;
	right: 20px;	
	z-index: 10;	
}
.qsnMin {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: #FF4500;
	color: white;
	font-weight: bold;
	z-index: 10;
}
.papersMin {
	font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	cursor: pointer;
	border-radius: 25px;
	border: 2px solid white;
	padding: 0px 7px 0px 7px;
	background: #756300;
	color: white;
	font-weight: bold;
	z-index: 10;
}