@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.fromtext {
	font-family: monospace;
}

.fromstudent {
	font-family: 'Shadows Into Light', cursive;
}

.fromteacher {
	font-family: sans-serif;
}

.headline {
	font-family: 'Comfortaa', sans-serif;
}

.sitelogo {
	width: 50%;
	margin: 10px;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: calc(12px + 0.5vw);
	background-repeat: repeat;
	background-image: linear-gradient(#FBFB96, #7FDEFF);
}

img {
    max-width: 100%;
    max-height: 100%;
}

#bigcontainer {
	margin-left: auto;
	margin-right: auto;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.coverstyle {
	background-size: 30vh;
	background-image: url('compbook.png');
	padding-top: 20vh;
	border-left: 3vw solid black;
	border-radius: 30px;
	overflow: none;
	height: calc(100% - 20vh);
	width: calc(85vh - 3vw);
} 

.pagestyle {
	min-width: 75vw;
	max-width: 85vw;
	background-size: auto;
	background-image: url('paper.png');
	margin-top: 0;
	overflow: auto;
	border-radius: 30px;
	min-height: 100%;
	padding-left: 3px;
	padding-right: 3px;
}

.coverbox {
	background-color: white;
	border-radius: 15px;
	font-weight: bolder;
	padding-top: 2px;
	outline: 3px solid black;
	outline-offset: -10px;
	line-height: 1;
	max-width: 450px;
}

#headerlabel {
	text-transform: uppercase;
}

.nocaps {
	text-transform: none;
}

#footerlabel {
	padding-top: 12px;
	padding-bottom: 12px;
	margin-top: 40vh;
	margin-bottom: 5px;
}

#statusMessage.onpage {
	background-color: yellow;
	padding: 5px;
	width: 50%;
	float: right;
	text-align: center;
}

#statusMessage.oncover {
	background-color: yellow;
	padding: 5px;
	width: 50%;
	position: absolute;
	top: 10vh;
	left: calc(50vw - 25%);
	z-index: 5;
	text-align: center;	
}

#statusMessage.simple {
	background-color: yellow;
	width: calc(100% - 24px);
	text-align: center;
	padding-left: 12px;
	padding-right: 12px;
}

#usernotificationnumber {
	background: red;
	color: white;
	border-radius: 50%;
	height: 1.5em;
	width: 1.5em;
	line-height: 1.5em;
	position: absolute;
	top: 5;
	right: 5;
	opacity: .9;
	text-align: center;
	z-index: 5;
}

#notificationcontainer {
	background: white;
	color: black;
	border-radius: 10px;
	min-width: 20em;
	min-height: 4em;
	max-height: 90vh;
	overflow: auto;
	position: absolute;
	top: 2em;
	right: 2em;
	opacity: .9;
	z-index: 4;
}

.smbook {
	height: 3em;
	float: left;
	margin: 1px;
}

.nocover {
	height: 4em;
}

.bookprogress {
	
}

.clearboth, .cleared  {
	clear: both;
}

.editbookbutton {
	margin: 0px 10px 0px 10px;
}

.attention {
	background-color: red;
	color: white;
}

.alert {
	background-color: lightyellow;
	opacity: .9;
}

.narrowmargin { 
	margin: 2px; 
}

.fadeout {
	display: none;
	/*visibility: hidden;*/
	opacity: 0;
	-webkit-transition: all 2s ease-out 0s;
	-moz-transition: all 2s ease-out 0s;
	-ms-transition: all 2s ease-out 0s;
	-o-transition: all 2s ease-out 0s;
	transition: all 2s ease-out 0s;
}

.fadein {
	display: initial;
	/*visibility: visible;*/
	-webkit-opacity: 0.90;
	-moz-opacity: 0.90;
	opacity: 0.90;
	-webkit-transition: all 1s ease-out 0s;
	-moz-transition: all 1s ease-out 0s;
	-ms-transition: all 1s ease-out 0s;
	-o-transition: all 1s ease-out 0s;
	transition: all 1s ease-out 0s;
}

#pagetitle {
	padding: 1px;
}

.hidden {
	display: none;
}

.visible {
	display: initial;
}

.centered {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}

.cvt {
	display: table; 
	margin-right: auto; 
	margin-left: auto;
}

.quote {
	margin-left: 3vw;
}

.smalltext {
	font-size: small;
}

.vocablisting, .quotelisting {
	margin-bottom: 7px;
	padding: 2px;
	padding-bottom: 3px;
	border-bottom: 1px solid gray;
}

.journalentrycontainer
{
	border-bottom: 1px solid gray;
	margin-bottom: 3px;
}

#chartContainer, .chartspace
{
	height: 20em;
	width: 30em;
	max-height: 30vh; 
	max-width: 100%;
	border: 2px solid gray;
}

#goalsetting
{
	padding: 3px;
	margin: 3px;
	border-left: 2px solid lightblue;
	border-right: 2px solid lightblue;
}

.privacysetting
{
	color: gray;
}

.lessimportant {
	font-size: smaller;
}

.important {
	font-size: larger;
	font-weight: bolder;
}

.rightalign {
	text-align: right;
}

.bottomed {
	position: absolute;
	bottom: 1px;
}

.topswap {
	padding-top: 1vh;
}

#gallerybox {
	height: 300px;
	width: 300px;
	overflow: none;
}

#galleryboxcaption {
	clear: both;
	width: 100%;
}

#galleryboxcontainer {
	border: 2px solid gray;
	width: 300px;
	min-height: 300px;
	float: right;
	margin: 3px;
}

#booksapiselector {
	height: 100%;
	width: 150px;
	padding: 3px;
}

.bookcover {
	height: 50%;
	z-index: -1;
}

.bktitlecontainer {
	height: 25%;
	font-size: smaller;
	overflow: none;
}

/* Next & previous buttons */
.scrollarrows {
  width: auto;
  height: auto;
  padding: 16px;
  margin-top: 100px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background: gray;
}

.prev
{
	border-radius: 0 3px 3px 0;
}

.next
{
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.scrollarrows:hover {
  background-color: rgba(0,0,0,0.8);
}

#toploader {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(1vh + 1vw);
	height: calc(1vh + 1vw);
	opacity: .9;
	border: calc(.5vw + .5vh) solid #bbb;
	border-top: calc(.5vw + .5vh) solid red;
	border-radius: 50%;
	/*width: calc(.5vh + 1vw);
	height: calc(.5vh + 1vw);*/
	animation: spin 2s linear infinite;
	margin: calc(7px + .25vw);
}

#overlay {
	position: absolute;
	top: calc(50vh - 50px);
	left: calc(50vw - 50px);
	height: 100px;
	width: 100px;
	z-index: 5;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

span.selected {
	text-decoration: underline;
	background-color: red;
}

th.highlighted {
	  background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
}

.highlighted {
	  background-image: linear-gradient(to right, rgba(0,255,0,0), rgba(0,255,0,1));
}


h1 {
	font-size: calc(20px + 0.25vw);
	text-align: center;
}

hr {
	width: 75%;
	height: 3px;
	background-color: black;
	border: none;
	box-shadow: none;
}

input, select { 
	font-size: calc(16px + .5vw);
	line-height: calc(20px + .5vw);
	border-bottom: 2px solid #777;
	border-top: none;
	border-right: none;
	border-left: none; 
	background-color: transparent;
	margin-bottom: 8px; 
}

input.journalarea {
	width: 50%;
}

input.editfield {
	width: 20%;
}

input.plval {
	width: 3em;
	border: auto;
}

input#numintervals { 
	width: 3em;
}

label {
	min-width: 10vw;
	padding: 5px;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 1.75;
}

label.booktype {
	margin-left: 3vw;
}

input[type="checkbox"]:checked+label, input[type="radio"]:checked+label { 
	background-color: yellow; 
	border: 3px solid black;
	border-radius: 30px;

}

button {
	background-color: red;
	font-family: 'Comfortaa', 'Arial', sans-serif;
	color: white;
	min-width: calc(100px + 1vw);
	height: calc(30px + .25vw);
	margin-bottom: 12px;
	margin-top: 2px;
	font-size: calc(14px + 0.5vw);
	clear: both;
}

button.green {
	background-color: green;
}

button.black {
	background-color: black;
	color: white;
}

button.smallbutton {
	font-size: calc(8px + 0.5vw);
	min-width: unset;
	height: auto;
}

button.gallery {
	position: absolute;
	top: 75px;
	min-width: unset;
	width: 25px;
	height: 25px;
	color: black;
	background-color: gray;
	opacity: .7;
	clear: none;
}

.journal {
	max-width: 80rem;
	width: 95%;
	padding: 6px 5px 4px 42px;
	margin: 0 auto 10px;
	position: relative;
	color: #444;
	line-height: calc(20px + .5vw);
	border: 1px solid #d2d2d2;
	font-size: calc(20px + .5vw);
	
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#777), color-stop(4%, rgba(255,255,255,0))) 0 4px; 
	background: -webkit-linear-gradient(top, #777 0%, rgba(255,255,255,0) 8%) 0 4px; 
	background: -moz-linear-gradient(top, #777 0%, rgba(255,255,255,0) 8%) 0 4px; 
	background: -ms-linear-gradient(top, #777 0%, rgba(255,255,255,0) 8%) 0 4px; 
	background: -o-linear-gradient(top, #777 0%, rgba(255,255,255,0) 8%) 0 4px; 
	background: linear-gradient(top, #777 0%, rgba(255,255,255,0) 8%) 0 4px;

	background-size: 100% calc(20px + .5vw);
	border-radius: 3px;

	box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	box-sizing: border-box;
}

.journalsection {
	max-width: 80%;
}

#selectedquestion {
	border: 1px solid black;
}

textarea.rubrictextbox {
	width: 100%;
	padding: 2px;
	height: 50%;
	background-color: white;
	opacity: .9;
}

.rubricbox {
	float: left;
	min-width: 150px;
	min-height: 150px;
	width: 10vw;
	height: 10vw;
	border: 1px solid gray;
	padding: 5px;
	margin: 5px;
	background-color: lightyellow;
	text-align: center;
}

.rubricspacer {
	margin-bottom: 20%;
}

.maxcriterion {
	clear: right;
}

.criterioncontainer {
	width: 100%;
	overflow: auto;
	border: 2px solid black;
	width: auto;
}

.emptycell {
	border: none;
}

#import {
	
}

table {
	opacity: .8;
	border-collapse: collapse;
	border: 1px solid gray;
	padding: 1px;
}

td, th {
	border: 1px solid gray;
	text-align: center;
	padding: 3px;
	width: auto;
}

tbody {
	border-top: 3px solid gray;
}

tbody tr:nth-child(even){
	background-color: lightgray;
}

tbody:nth-child(even) {
	background-color: lightblue;
}

thead {
	background-color: gray;
}

.closeX {
	float: right;
	border: 1px solid lightgray;
	font-family: sans-serif;
	font-weight: bolder;
	color: black;
	font-size: small;
}

.closeX:hover {
	background-color: lightgray;
	color: white;
	cursor: default;
}

li.question {
	list-style-type: none;
	border-bottom: 1px solid black;
	padding: 3px;
}

ul#qlist {
	border: 1px solid red;
	margin: 1px;
	padding: 2px;
	max-width: 85vw;
}

.clickable:hover {
	background-color: #ddd;
	opacity: 80%;
	color: black;
}

.clickable:active {
	background-color: #4CAF50;
	color: white;
}

.booktitle {
	border-bottom: 2px solid gray;
	padding-left: 1em;
}

.bookselector {
	width: calc(5vw + 10vh);
	height: calc(5vw + 10vh);
	background: rgba(76, 175, 80, 0.2);
	border: 1px solid gray;
	border-radius: 2px;
	padding: 3px;
	margin: 2px;
	float: left;
	overflow: hidden;
	text-align: center;
	position: relative;
}

.anotherbook.selected {
	outline-color: red;
	outline-offset: -2px;
	outline-width: 1px;
	outline-style: solid;
}

.logout {
	float: right;
	background-color: gray;
	color: white;
}

.widemargin {
	margin: 2vw;
}

.tallmargin {
	margin-bottom: 1px;
}

#datatable, #dataview {
	max-width: 100%;
}

#finishedbooks {
	width: calc((10vw + 10vh)*2);
	height: calc(10vw + 10vh);
	border: 1px solid gray;
	padding: 3px;
	margin: 2px;
	float: left;
	overflow: auto;
}

#finishedbookstitle {
	font-weight: bold;
	font-size: smaller;
}

.tabrow {
	background-color: #333;
	overflow: hidden;
	color: white;	
}

.navbutton {
	font-size: calc(20px + 0.25vw);
	padding: 0px 5px;
	margin: 0px 5px;	
	line-height: 1.2;
}

.oldjournalcontainer {
	border: 1px solid gray;
	width: 100%;
	clear: both;
	border-radius: 5px;
	margin: 3px;
	padding: 3px;
}

ul { 
  list-style: none;
  padding-left: 1vw;
}

li { 
  
} 

.gradingrubric {
	background: lightpink;
	padding: 2px;
	text-align: left;
}


.comment { 
	border-bottom: 1px solid gray;
	border-left: 3px solid gray;
	border-top: 5px solid transparent;
	margin-bottom: 2px;
	padding: 1px 1px 1px 3px;
	text-align: left;
}

.datetime {  
	font-size: smaller;
	font-family: monospace;
}

.commentform {
  	border-bottom: 1px solid black;
  	border-left: 3px solid black;
  	margin-bottom: 2px;
  	padding: 1px 1px 1px 3px;
  	text-align: left;
}

.commentsubmit {
	float: right;
}

.numberinfo {
	font-size: smaller;
	font-family: monospace;
}

.titleneeded {
	text-decoration: underline;
}

.topnav .icon {
	display: none;
}

.bluebg {
	background: lightblue;
}

.journalborder {
	border-width: medium;
	padding: 1em;
	margin: .5em;
	border-radius: 2em;
}

.col6 { color: red; }
.col5 { color: orange; }
.col4 { color: yellow; }
.col3 { color: green; }
.col2 { color: blue; }
.col1 { color: indigo; }
.col0 { color: purple; }

.bcol6 { border-color: red; background: rgba(255, 0, 0, 0.05); }
.bcol5 { border-color: orange; background: rgba(255, 165, 0, 0.05); }
.bcol4 { border-color: yellow; background: rgba(255, 255, 0, 0.05); }
.bcol3 { border-color: green; background: rgba(0, 255, 0, 0.05); }
.bcol2 { border-color: blue; background: rgba(0, 0, 255, 0.05); }
.bcol1 { border-color: indigo; background: rgba(75, 0, 130, 0.05); }
.bcol0 { border-color: purple; background: rgba(128, 0, 128, 0.05); }

.atbeg {
	background: rgba(0, 255, 0, 0.2); /*transparent green*/
}

.inmid {
	background: rgba(255, 255, 0, 0.2); /*transparent yellow*/
}

.theend {
	background: rgba(255, 0, 0, 0.2); /*transparent red*/
}

.qtypeA::before {
	content: '\1F4AD'; /*analyze symbol - thought balloon*/
}

.qtypeP::before {
	content: '\1F4CD'; /*preliminary symbol - map pin*/
}

.qtypeE::before {
	content: '\1F4A5'; /*extend symbol - explosion*/
}

.qtypeC::before {
	content: '\1F4AB'; /*connect symbol - linked stars*/
}

.bordered {
	border-style: solid;
}

.mybordered {
	border-style: dashed;
}

.inrubric {
	display: inline-block;
	padding: 3px;
	border: 1px solid white;
	margin: 1px;
	min-width: 5em;
	text-align: left;
}

.gradingbox {
	background: orange;
	text-align: left;
}



@media screen and (max-width: 700px) {
	.topnav span:not(.hidden), .topnav span:not(.selected) { 
		display: none; 
	}

	.topnav span.icon { 
		float: right;
		display: block;
	}
	.topnav.responsive { 
		position: relative; 
	}
	.topnav.responsive span {
		float: none;
		display: block;
		text-align: left;
	}
	.topnav.responsive span.icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	
	h1 {
	font-size: calc(16px + 0.25vw);
	text-align: center;
	}
	
	#headerlabel {
	border-radius: 10px;
	padding-top: 1px;
	outline: 2px solid black;
	outline-offset: -5px;
	line-height: 1;
	}	

	.navbutton {
	padding: 0px 3px;
	margin: 0px 3px;	
	line-height: 1;
	}

	input, input.journalarea {
		width: 95%;
		padding: 1px;
		margin: 0px;
	}

	textarea, textarea.journal {
		width: 100%;
		padding: 1px;
		margin: 0px;
		overflow: none;
		display: table;
		box-sizing: border-box;
	}




	#bigcontainer {
		margin-left: auto;
		margin-right: auto;
		box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	}

	.coverstyle {
		background-size: 30vh;
		background-image: url('compbook.png');
		padding-top: 20vh;
		border-left: 3vw solid black;
		border-radius: 30px;
		overflow: none;
		height: 80vh;
		width: 98vw;
		box-sizing: border-box;
	} 

	.pagestyle {
		width: 100vw;
		background-size: auto;
		background-image: url('paper.png');
		margin-top: 0;
		overflow: auto;
		border-radius: 30px;
		min-height: 100%;
		padding-left: 3px;
		padding-right: 3px;
	}

	#footerlabel {
	padding-top: 12px;
	padding-bottom: 12px;
	margin-top: 20vh;
	margin-bottom: 5px;
}
}

