html {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
}

body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	/* background-color: #3B444B; */
}

.container {
	display: flex;
	flex-direction: row;
	max-width: 100% !important;
	height: 100% !important;
	padding: 0;
	margin: 0;
}

.fa {
	color: black;
}

#menu {
	padding: 0;
	border-right: 2px solid #A6713C;
}

#menu-logo {
	width: 100%;
	height: 4rem;
	padding: 0;
	margin: 0;
	border-bottom: 2px solid #A6713C;
}

#copyright-label {
	position: fixed;
	bottom: 2px;
	left: 2px;
	font-size: 8pt;
	font-weight: bold;
	opacity: 0.5;
}

#menu-list {
	/* border: 2px solid black; */
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.menu-list-item {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14pt;
	width: 100%;
	height: 40px;
	border-bottom: 1px solid #E6bE93;
	color: #A6713C;
	font-family: Arial, Helvetica, sans-serif;
}

.menu-list-item > a {
}

/* Dark Mode toggle button */
#darkMode-container {
	width: 100%;
	height: 40px;
	position: absolute;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

#darkMode-switch {
	-webkit-appearance: none;
	outline: none;
	width: 50px;
	height: 25px;
	background-image: url("../../pictures/dayMode.png");
	background-size: cover;
	position: relative;
	border-radius: 13px;
}

#darkMode-switch::before {
	content: "";
	height: 25px;
	width: 25px;
	position: absolute;
	left: 0;
	top: 0;
	background-color: orange;
	border-radius: 13px;
	transition: all 0.4s;
}

#darkMode-switch:checked {
	background-image: url("../../pictures/nightMode.png");
	background-size: cover;
	transition: 0.4s;
}

#darkMode-switch:checked::before {
	transform: translate(100%);
	background-color: lightgrey;
}


#sidebar-icon {
	 width: 60px;
	 height: inherit;
	 position: absolute;
	 left: 10px;
	 display: flex;
	 align-items: center;
	 justify-content: center;
}

#grid {
	/* border: 1px solid black; */
	padding: 0;
	overflow-y: scroll;
}

#grid-header {
	width: 100%;
	height: 4rem;
	display: flex;
	justify-content: flex-end;
	flex-direction: row;
	padding: 10px 30px;
	margin: 0;
	align-items: center;
	font-size: 20pt;
	border-bottom: 2px solid #A6713C;
}

#sidebar-icon {
	cursor: pointer;
}

#student-avg {
	min-height: 40px;
	min-width: 40px;
	padding: 0 10px;
	margin: 0 10px;
	border: 2px solid #A6713C;
	color: #C89666;
	border-radius: 10px;
}

#grid-matrix  {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex start;
	padding: 0 2vw;
	padding-bottom: 50px;
}

.term {
	width: 27%;
	padding: 0;
	margin: 2vh 3%;
	overflow-wrap: break-word;
	/*border: 1px solid black;*/
}

.item-header {
	min-height: 2em;
	display: flex;
	flex-direction: row;
	/*justify-content: center;
	align-content: center;*/
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border: 2px solid #A6713C;
}

.item-header-title {
	width: 85%;
	text-align: center;
	background-color: #E6bE93;
	border-top-left-radius: 9px;
}

.item-header-avg {
	width: 15%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 4px solid #A6713C;
	border-top-right-radius: 10px;
}

.item-list {
	/* height: 85%; */
	/*border: 2px solid blue;*/
	border: 2px solid #A6713C;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.subject {
	display: flex;
	width: 100%;
	min-height: 1.8em;
	flex-direction: row;
	overflow-wrap: break-word;
	border-left: 5px solid transparent;
	background-color: #fbf4ec;
}

.subject:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.subject:not(:last-child) {
	border-bottom: 2px solid #A6713C;
}

.subject-name {
	width: 85%;
	text-align: center;
}

.subject-grade {
	width: 15%;
	display: grid;
	text-align: center;
	justify-content: center;
	align-items: center;
	border-left: 2px solid #A6713C;
}

.remove-subject-div {
	position: relative;
	width: 0;
	height: 0;
	display: flex;
	align-self: center;
}

.remove-subject-btn {
	position: absolute;
	left: -37px;
	width: 30px;
	height: 20px;
	align-self: center;
	/*display: none;*/
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	border: 2px solid red;
	border-right: none;
}

.remove-subject-btn:before, .remove-subject-btn:after {
	position: absolute;
	left: 12px;
	top: 2px;
	content: ' ';
	height: 12px;
	width: 2px;
	background-color: red;
}

.remove-subject-btn:before {
	transform: rotate(45deg);
}

.remove-subject-btn:after {
	transform: rotate(-45deg);
}

.add-subject-btn {
  display: block;
  width: 25%;
  margin: 5px auto;
  padding: 2px 5px;
}

#buttons-container {
	display: flex;
	justify-content: flex-end;
	flex-direction: row;
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#edit-btn {
	padding: 4px 8px;
	margin: 0 10px;
}

#add-btn,  #remove-btn, #save-btn {
	display: none;
	padding: 4px 8px;
	margin: 0 5px;
}

#save-btn {
	margin: 0 15px;
}

@media only screen and (max-width: 1000px) {
	.term {
		width: 40%;
		padding: 0;
		margin: 1vw 5%;
	}
}
@media only screen and (max-width: 525px) {
	.term {
		width: 70%;
		padding: 0;
		margin: 3vw 15%;
	}
}

@media only screen and (max-width: 767px) {
	#menu {
		display: none;
	}
}


.color-palette {
	color: #e6be93; /*1*/
	color: #a6713c; /*2*/
	color: #E1B382;
	color: #C89666; /*3*/
	color: #2D545E;
	color: #12343B;
}
