*, *::before, *::after {
	margin: 0;
	box-sizing: border-box;
}

body {

	font-family: Sans-Serif;
	font-size: 16px;
	line-height: 1.5;
	width: 100%;
}

h1, h2, h3, h4, h5, h6 { margin-top: 0.5em; margin-bottom: 0.5em; }
p { margin-top: 1em; margin-bottom: 0.5em; }
ul, ol { margin-top: 1em; margin-bottom: 0.5em; }

li {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

h1 { font-size: 1.75em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.15em; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.75em; }

hr {
	height: 0;
	overflow: visible;
	border: 1px solid #C1C3BE;
}

pre, code {
	font-family: monospace;
	font-size: 1em;
	overflow-x: auto;
}

blockquote, q
{
	padding: 0.25rem 0.5rem;
	display: block;
	border-top: 1px solid #0C5160;
	border-bottom: 1px solid #0C5160;
	border-left: 8px solid #0C5160;
	border-right: 8px solid #0C5160;
}

blockquote:before, blockquote:after,
q:before, q:after
{
	content: "";
}

a, a:link, a:active, a:hover, a:visited
{
  text-decoration: none;
  color: #0C5160;
}

b, strong {
	font-weight: bolder;
}

small {
	font-size: 80%;
}

sub, sup {
	font-size: 75%;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	max-width: 100%;
	vertical-align: middle;
	border-style: none;
}

button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	margin: 0;
	box-sizing: border-box;
	padding: 0.25rem 0.25rem;
}

button, input {
	overflow: visible;
}

button, select {
	text-transform: none;
}

textarea,
pre {
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
}

textarea {
	overflow: auto;
}

[type="checkbox"], [type="radio"] {
	margin-inline-end: 0.5rem;
	padding: 0;
}

input[type='file']
{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline;
}

table {
	border: 1px solid #C1C3BE;
	border-collapse: collapse;
	background-color: #e2e6e8;
}

ul,ol
{
	padding-inline-start: 2.5rem;
}

td {
	padding: 0.25rem;
	border: 1px solid #e2e6e8;
}

th {
	padding: 0.25rem;
	font-weight: normal;
	text-align: center;
	background-color: #c1c3be;
}

/* WIKI STYLES */
div.wiki
{
	width: 100%;
}

.wiki h1,
.wiki h2,
.wiki h3,
.wiki h4,
.wiki h5 {}

.wiki small,
.wiki b,
.wiki u,
.wiki i,
.wiki e,
.wiki s {}

.wiki table,
.wiki th,
.wiki td,
.wiki tr {}

.wiki blockquote,
.wiki q {
	border: 1px solid #AEA885;
	border-left: 8px solid #AEA885;
}

.wiki p {
	margin-top:1.10em;
	margin-bottom: 1.10em;
}

.wiki_p1 {
	margin-inline-start: 2em;
	display: list-item;
}

.wiki_p2 {
	margin-inline-start: 4em;
	display: list-item;
}

.wiki_p3 {
	margin-inline-start: 6em;
	display: list-item;
}

.wiki_p4 {
	margin-inline-start: 8em;
	display: list-item;
}

.wiki_p5 {
	margin-inline-start: 10em;
	display: list-item;
}

.wiki ul {
	list-style-position: inside;
	list-style-type: disc;
}

.wiki ol {
	list-style-position: inside;
	list-style-type: decimal;
}

.wiki li,
.wiki sub,
.wiki sup,
.wiki a { }

.wiki img {
	max-width: 100%;
	object-fit: cover;
}

.wiki video,
.wiki audio {
	width: 100%;
}

.wiki hr  { }

.wiki mark {
	display: inline-block;
	color: black;
	background-color: #C1C3BE;
	padding: 0.25rem 0.5rem;
}

.wiki iframe {
	border: 0;
}

/* FORM STYLES */
div.form {
	overflow-x: auto;
	display: inline;
}

.form table,
.form th { }
.form td { }
.form td:nth-child(1) {
	width: 1px;
	white-space: nowrap;
}

.form input {
	vertical-align: middle;
}

.form span {
	width: 1.25ch;
	display: inline-block;
	color: #ee0000;
}

.form textarea {
	overflow-y: scroll;
}

.form input[type="radio"],
.form input[type="checkbox"],
.form select,
.form img { }

/* CALENDAR STYLE */
div.calendar {}
.calendar table {}

.calendar table,
.calendar tr,
.calendar td,
.calandar span { }

.calendar th {
	color: #0C4160;
	background-color: #AEA885;
}

.calendar_today {
	background-color: #AEA885;
}

.calendar_event {
	background-color: #C1C3BE;
	color: black;
}

/* GALLERY STYLE */
div.gallery
{
	width: 100%;
	height: 100%;
}

div.gallery_navbar {
	color: #0C4160;
	background-color: #e2e6e8;
	width: 100%;
	text-align: center;
}

div.gallery_base {
	font-size: 0.75rem;
	display: block;
	padding: 0.25rem 0.5rem;
	color: black;
	text-align: center;
	white-space: normal;
	word-wrap: break-word;
	width: 100%;
}

div.gallery_thumb {
	padding: 0.25rem 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

div.gallery_photo {
	display: block;
	width: 100%;
	height: auto;
	margin: auto;
    justify-content: center;
    align-items: center;
}

div.gallery_browse {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

img.gallery_image {
	width:100%;
	height: auto;
	display: block;
	margin: auto;
	transition: transform 0.2s;
}

/* DISKSHARE STYLE */
div.diskshare {
	width: 100%;
	overflow-x: auto;
}

div.diskshare_path {
	width: 100%;
}

div.diskshare_link { }

span.diskshare_size {
	font-size: 0.75em;
	color: #989898;
}

/* MESSAGES STYLE */
p.message_mine {
	margin-left: 10%;
	margin-right: 3%;
	background-color: #E2E6E8;
	padding: 0.25rem 0.5rem;
}

p.message_your {
	margin-right: 10%;
	margin-left: 3%;
	background-color: #C1C3BE;
	padding: 0.25rem 0.5rem;
}

span.message_time {
	font-size: 0.5em;
	color: #545B5C;
}

div.messages {
	overflow-y: scroll;
	max-height: 450px;
	overflow-wrap: break-word;
	border: 1px solid #AEA885;
}

audio.message {
	max-width: 100%;
	background-color: transparent;
}

video.message {
	max-height: 192px;
	max-width: 192px;
	background-color: #AEA885;
}

/* eDoc STYLE */
div.edoc {
	width: 100%;
}

div.edoc_navbar {
	padding-left: 0.5rem;
	background-color: #e2e6e8;
	width: 100%;
}

div.edoc_content {
	width: 100%;
}

/* ATTENDANCE STYLES */
div.atd {
	width: 100%;
	overflow-x: auto;
	overflow-y: auto;
}

.atd table {
	background-color: white;
	border-collapse: separate;
	border-spacing: 1px;
}

.atd th {
	min-width: 2.5ch;
	padding: 0;
	background-color: #c6c6c6;
	font-weight: normal;
	color: black;
	text-align: center;
}

.atd td {
	min-width: 2.5ch;
	padding: 0;
	background-color: #c1ccd6;
	color: black;
	text-align: center;
}

.atd td.atd_a {
	color: #FFFFFF;
	background-color: #FF0000;
}

.atd td.atd_h {
	color: #000000;
	background-color: #ADD8E6;
}

.atd td.atd_l {
	color: #FFFFFF;
	background-color: #FFA500;
}

.atd td.atd_p {
	color: #FFFFFF;
	background-color: #008000;
}

.atd td.atd_r {
	color: #FFFFFF;
	background-color: #0000FF;
}

.atd td.atd_s {
	color: #000000;
	background-color: #FFFF00;
}
