@charset "utf-8";

/*
	GENERAL

	colors:
	grey #909090
	links dodgerblue
	blue #e3eaf3
	hoover blue #d2e0ec
	green #c3d6c3
	hoover green #abccab
*/

html, body {
	height: 100%; 			/* for sticky footer */
	box-sizing: border-box; /* for sticky footer */
}
html, body, h1, h2, h3, p {
	padding: 0;
	margin: 0;
	font-weight: normal;
}
body {
	padding: 10px 25px 0;
	font-family: 'Nunito', sans-serif;
	font-size: 16px;

	display: flex;			/* for sticky footer */
  	flex-direction: column;	/* for sticky footer */
  	
}
h1 {
	font-size: 30px;
	font-weight: 300;
	margin-top: 12px;
	color: #909090;
}
h2 {
	font-size: 60px;
	font-weight: normal;
	margin: -10px 0 35px;
	font-family: 'Roboto Slab', serif;
}
.link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: dodgerblue;
	font-size: 17px;
	border: none;
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
	border-radius: 0;
	padding: 0;
	background-color: transparent;
}
.link svg {
	width: 16px;
	height: auto;
	stroke: dodgerblue;
	margin-right: 5px;
}
.link:hover,
.link:hover svg {
	color: purple;
	stroke: purple;
}
input:not(.link),
input:not([type='checkbox']) {
	display: block;
	margin-bottom: 20px;
	padding: 10px;
	font-size: 18px;
}
label {
	display: block;
	color: lightseagreen;
}
input[type='checkbox'] + label {
	color: black;
}

select[disabled] {
	color: lightgray;
}

.main-content-wrap {
	flex: 1 0 auto;	/* for sticky footer */
	position: relative;
}
.loading-overlay {
	z-index: 10;
	background-color: white;
	left: -25px;
	right: -25px;
	height: 100%;
	position: absolute;
}
.loading-overlay p {
	color: lightgrey;
	font-family: 'Roboto Slab', serif;
	margin-top: 15px;
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.loading-overlay svg path {
  fill: lightgrey;
}
}
.loading-overlay .loading-spinner {
	width: 40px;
	height: auto;
	margin-left: 10px;
}
/* checkbox hack */

.custom-checkbox {
	position: absolute;
	left: -9999px;
}
.custom-checkbox + label {
	display: block;
	padding: 14px 19px 15px 50px;
	margin: 20px 0;
	position: relative; /* needed for positioning images */
}
.custom-checkbox + label:hover {
	background-color: #d2e0ec;
}
.custom-checkbox + label .cross{
	stroke: #d2e0ec;
	position: absolute;
	top: 3px;
	left: 0;

	height: 45px;
	width: 45px;
	transform:rotate(45deg);
}
.custom-checkbox + label .checkmark{
	color: white;
	position: absolute;
	top: -3px;
	left: 0;

	height: 50px;
	width: 50px;
}
.custom-checkbox + label:hover .cross{
	stroke: transparent;
}
.custom-checkbox:checked + label .checkmark{
	color: green;
}
.custom-checkbox:checked + label .cross{
	stroke: transparent;
}
input[type="file"] {
	padding: 0;
	margin: 20px 0;
}


/* ADMIN  */

.csv-format {
	padding: 10px 20px;
	background-color: lightgrey;
	border-radius: 10px;
	margin: 0 0 20px;
}
.csv-format h2 {
	font-size: 18px;
	margin: 0;
	color: grey;
}

/*
	HEADER
*/

.link-icon {
	width: 16px;
	height: auto
}
.main-nav {
	display: flex;
	justify-content: flex-end;
}

.main-nav .link {
	margin: 0 0 0 30px;
	padding: 5px 0;
}
.main-nav .logout {
	color: #dc0000;
	margin-left: 20px;
	padding-left: 17px;
	border-left: 1px solid lightgrey;
}


.section-nav {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
	gap: 30px;
	flex-wrap: wrap;
	margin: 0 0 40px;
}

#form-class-template select {
	border-color: dodgerblue;
	font-size: 16px;
	border-radius: 5px;
	padding: 5px 10px;
}

.class-status {
	color: red;
	font-size: 30px;
	margin: 0 0 20px;
}
.class-status-finished {
	color: green;
}

/*
	MODAL WINDOW
*/

.overlay {
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	display: none;
}
.modal-box {
	background-color: white;
	padding: 20px;
	text-align: center;
	width: 600px;
	display: block;
	
	box-shadow: none; 
	position: fixed;
	top: 0;
	left: 50%;
	transform: translate(-50%, -100%);
  	max-width: 100%;
  	z-index: 15;
}
.modal-box h2 {
	margin: 0;
}
.modal-box .close-button {
	position: absolute;
	top: 10px;
	right: 13px;
	color: red;
}
.modal-box .subheading {
	font-size: 20px;
	color: lightseagreen;
	margin-bottom: 15px;
}
.feedback {
	color: red;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
}
.modal-box .link {
	display: inline-block;
	margin: 0;
}
.modal-box  select {
	min-width: 150px;
	height: 30px;
	padding: 0;
	margin: 0 0 20px;
	font-size: 14px;
}
.modal-box  .text-area-new-students {
	width: 100%;
	height: 150px;
	box-sizing: border-box;
	padding: 10px;
}

/* to toggle to closed */
.modal-open { 
	transform: translate(-50%, 70px);
	box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.6); 
}
.modal-box, .modal-open {
	transition: all 0.2s ease-out;
}

/* modal-box specific to index.php */
.index .classes-wrap {
	display: flex;
	justify-content: space-evenly;
}


/*
	LOGIN
*/

.login-wrap header {
	padding-top: 29px;
}
.login-form-wrap .feedback {
	min-height: 25px;
	margin: -20px 0 -10px;
}

.enter-user {
	font-size: 20px;
}

/*
	CLASSES LIST
*/

.my-classes-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-gap: 30px;
}
.my-classes {
	text-align: center;
	display: inline-block;
	box-sizing: border-box;
	padding: 20px 0;
	text-decoration: none;
	color: black;
	transition: all 0.2s;
	width: 100%;
	background-color: #e3eaf3;
}
.my-classes:hover {
	background-color: #d2e0ec ;
	transition: all 0.2s;
}
.my-classes.class-finished {
	background-color: #cdea84;
}
.my-classes.class-finished:hover {
	background-color: #bae44d;
}
.transferred-students {
	background-color: #ffcd73;
}
.transferred-students:hover {
	background-color: #f3b84f;
}

/*
	REPORTS.PHP
*/

.students .modal-box input:not(.link) {
	display: inline-block;
	width: 70%;
}
.students table {
    border-collapse: collapse;
    margin-bottom: 20px;
}
.students td {
	padding: 10px;
	border: 1px solid #d2e0ec;
}
.students .single-report-wrap input,
.students .single-report-wrap select,
.students .single-report-wrap textarea {
	width: 100%;
	height: 30px;
	padding: 0;
	margin: 0;
	font-size: 14px;
	border: 1px grey solid;
}
.students .single-report-wrap input {
	width: calc(100% - 5px);
	padding: 0 0 0 5px;
}
.students .single-report-wrap textarea {
	height: 100px;
}
.student-name-wrap {
	padding: 20px 25px;
	margin-left: -25px;
	width: 100%;
	background-color: #d3ec94;
	position: sticky;
	top: 0;
}
.student-name-wrap:hover {
	background-color: #bae44d;
}
.class-status-finished .report-not-ready-to-print,
.report-not-ready-to-print {
	background-color: #e3eaf3;
}
.class-status-finished .report-not-ready-to-print:hover,
.report-not-ready-to-print:hover {
	background-color: #d2e0ec;
}
.ol-numbers {
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	color: #accbf3;
}
.student-name {
	position: relative; /* needed for checkmark absolute positioning */
	display: inline-block;
	font-size: 22px;
	padding-left:0px;
	padding-right:55px;
	transition: padding 0.2s;
	cursor: pointer;
}
.student-email {
	font-size: 16px;
	color: grey;
}
.student-menu {
	margin: 5px 0 20px;
}
.student-menu .link {
	margin-right: 25px;
	font-size: 16px;
}
.single-report-wrap {
	display: none;
	padding: 0px 0 50px 0;
}

.notes-for-hos {
	max-width: 710px;
}
.save-reports-wrap {
	width: 100%;
	height: 60px;
	background-color: #f3b84f;
	position: fixed;
	bottom: -60px;
	margin-left: -25px;
	transition: bottom 0.2s;
	display: flex;
	justify-content: center;
	padding: 15px;
	box-sizing: border-box;
}
.save-reports-wrap.show-save {
	bottom: 0;
	transition: bottom 0.2s;
}
.save-reports-wrap button {
	cursor: pointer;
	background-color: white;
	border: 1px solid lightgrey;
	padding: 0 15px;
	color: dodgerblue;
	font-size: 16px;
	border-radius: 0;
}
.save-reports-wrap button:hover {
	color: purple;
}

/*
	FOOTER
*/

footer {
	font-family: 'Roboto Slab', serif;
	color: lightgrey;
	text-align: center;
	padding: 10px 25px;
	margin-left: -25px;
	width: 100%;
}
footer p {
	display: inline-block;
	margin: 0;
}
.footer-version {			/* needed to preload the font for the reports */
	font-family: 'Nunito', sans-serif;
	font-weight: bold;
}

/*
	READY TO PRINT_____________________________check
*/

/*
	READY TO PRINT
*/

.ready-to-print {
	vertical-align: bottom;
}

.ready-to-print .print-menu .link {
	margin: 0 0 30px 30px;
}
.ready-to-print .print-button,
.ready-to-print .download-button {
	font-size: 22px;
	display: inline-flex;
	align-items: center;
	border: 1px solid dodgerblue;
	color: dodgerblue;
	background-color: #e7f3ff;
	padding: 3px 20px;
	cursor: pointer;
	height: 28px;
}
.button-content-default,
.button-content-preparing {
	align-items: center;
}
.button-content-default {
	display: inline-flex;
}
.button-content-preparing {
	display: none;
}
.ready-to-print .print-button svg,
.ready-to-print .download-button svg {
	width: 22px;
	height: auto;
	margin-right: 10px;
	stroke: dodgerblue;
}

.ready-to-print .print-button:hover
.ready-to-print .download-button:hover {
	background-color: #dce8f7;
}
.ready-to-print ul {
	list-style-type: none;
	padding-top: 10px;
	padding-bottom: 10px;
}
.ready-to-print ul.teachers {
	padding: 0;
}
.ready-to-print ul.teachers li {
	padding: 0 25px;
	margin: 0 -25px 0 -25px;
}
.ready-to-print ul.teachers li:hover {
	background-color: #e5f0f9;
}
.ready-to-print .bullet-point {
	display: inline-block;
	transition: transform 0.2s;
}
.ready-to-print .bullet-point-turned {
	transform: rotate(90deg);
	transition: transform 0.1s;
}
.ready-to-print input,
.ready-to-print label,
.ready-to-print li p {
	display: inline-block;
}
.ready-to-print li p {
	font-size: 20px;
	cursor: pointer;
}
.ready-to-print input[type="checkbox"] {
	display: none;
}
.ready-to-print label {
	font-size: 20px;
	
}
.ready-to-print label .checkbox {
	display: none;
	font-size: 28px;
}

.ready-to-print input:checked + label .checked {
	display: inline-block;
	color: green;
}
.ready-to-print input:indeterminate + label .half-checked {
	display: inline-block;
	color: orange;
}
.ready-to-print input:not(:checked) + label .not-checked {
	display: inline-block;
}
.ready-to-print input:indeterminate + label .not-checked {
	display: none;
}

.report-printed {
	color: lightseagreen !important;
}
.number-reports-not-printed {
	font-size: 12px;
	color: red;
}

li ul {
	display: none;
}

/*
	PRINT VIEW
*/

.reports-ready-to-print header {
	font-family: 'Roboto Slab', serif;
}
.reports-ready-to-print h1{
	color: black;
	font-size: 30px;
	margin: 0 0 15px;
}
.reports-ready-to-print h2{
	font-size: 18px;
	margin: 0 0 10px;
}

.reports-ready-to-print table {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
    margin: 60px 0 30px;
    table-layout: fixed;
}
.reports-ready-to-print td {
	padding: 10px;
	border: 1px solid black;
}
.no-border {
	border: none !important;
}
.reports-ready-to-print .headings-col {
	width: 210px;
}
.reports-ready-to-print .group-heading {
	font-size: 22px;
	color: lightgrey;
	font-weight: bold;
	padding: 10px 0 0;
	height: 10px;
}

.first-cell {
	padding: 0 !important;
	width: 31px;
}

.comentario-wrap {
	min-height: 100px;
}
.comentario-heading {
	text-decoration: underline;
	font-weight: bold;
}
.firmado {
	text-align: right;
	margin-top: 20px;
}
.bold {
	font-weight: bold;
}
.row-break {
	height: 20px;
}
.section-notes {
	font-size: 12px;
}

/*
	PRINT
*/

 .reports-ready-to-print .report-wrap {	
    	padding: 25px 20px 0;  	
    }

.reports-ready-to-print {
	display: none;
}

@media print {
	html,
	body {
		margin: 0;
		padding: 0;
		display: block;
	}
    body>:not(.reports-ready-to-print) {
    	display: none;
    }
    .reports-ready-to-print {
    	display: block;
    }
    .reports-ready-to-print .report-wrap {
    	page-break-after: always;
    }
}

/*SEND EMAIL*/

.ready-to-send ul {
	list-style-type: none;
	padding-top: 10px;
	padding-bottom: 10px;
}
.ready-to-send ul.teachers {
	padding: 0;
}
.ready-to-send ul.teachers li {
	padding: 0 25px;
	margin: 0 -25px 0 -25px;
}
.ready-to-send ul.teachers li:hover {
	background-color: #e5f0f9;
}
.ready-to-send .bullet-point {
	display: inline-block;
	transform: rotate(0deg);
	transition: transform 0.2s;
}
.ready-to-send .bullet-point-turned {
	transform: rotate(90deg);
	transition: transform 0.1s;
}

.ready-to-send li p {
	font-size: 20px;
	cursor: pointer;
}

/*.ready-to-send li ul {
	display: block;
}*/


.send-email-name-wrap {
	display: flex !important;
	cursor: default !important;
	margin-bottom: 10px;
}
.send-email-name-wrap svg {
	display: block;
}
.send-email-name-wrap > * {
	margin-right: 10px;
}
.send-email-name-wrap .email {
	font-size: 16px;
	color:  grey;
}
.send-email-button {
	aspect-ratio: 1 / 1;
}
.send-email-button img {
	width: 24px;
	height: 24px;
}

