/* General */

html {
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Arial', sans-serif;
}

div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a, a:visited {
	text-decoration: none;
	cursor: pointer;
	color: blue;
}

a[href]:hover {
	text-decoration: underline;
}

input,select,textarea {
	resize: none;
	outline: none;
	padding: 0.1em 0.3em;
	font-family: 'Arial', sans-serif;
	font-size: 1.25em;
	border-style: solid;
	border-width: 1px;
	border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
	border-style: solid;
	border-width: 1px;
}

input[type=checkbox] {
	transform: scale(1.25);
	-webkit-transform: scale(1.25);
}

input::-ms-clear {
	display: none;
}

label {
	font-family: 'Arial', sans-serif;
}

button {
	font-family: 'Arial', sans-serif;
}

button:active {
	position: relative;
	top: 1px;
}

.button-small {
	font-size: 0.9em;
	padding: 0.1em 0.2em;
}

.button-big {
	font-size: 1.3em;
	padding: 0.25em 0.5em;
}

img {
	border: 0;
}

#container {
	width: 100%;
	height: 100%;
	z-index: 10;
}

#content {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	background-color: #f3f3f3;
}

/* Tables */

.table {
	position: relative;
	width: 100%;
	margin: 0 auto 0 auto;
	border-spacing: 0;
}

.table th, .box-header {
	padding: 0.5em;
	text-align: center;
	font-size: 0.9em;
	font-weight: bold;
}

.table td {
	padding: 0.5em;
	text-align: center;
	max-height: 1000000px;
	height: 0;
}

.table-sortable .tablesorter-headerAsc, .table-sortable .tablesorter-headerDesc {
	outline: none;
}

.table-highlightable tr {
	cursor: pointer;
}

.table-description {
	font-style: italic;
	text-align: left !important;
}

/* Borders */

.border {
	border-width: 1px;
	border-style: solid;
}

.border-top, .border-top th, .border-top td {
	border-top-width: 1px;
	border-top-style: solid;
}

.border-bottom-self, .border-bottom, .border-bottom > th, .border-bottom > td, .schedule-month-day {
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

.border-right-self {
	border-right-width: 1px;
	border-right-style: solid;
}

.border-left-self {
	border-left-width: 1px;
	border-left-style: solid;
}

/* Menu and tabs */

/* Menu */

.menu {
	width: 100%;
	height: 2.5em;

	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.menu > div {
	vertical-align: middle;
}

.menu > .name {
	width: 17%;
	height: 100%;
	line-height: 2.6em;
	text-align: center;
	vertical-align: middle;
}

.menu > .item {
	padding: 0.5em;
}

/* Windows, prompts */

.window {
	position: fixed;
	top: 25%;
	left: 25%;
	box-shadow: 10px 10px 20px gray;
	z-index: 100;
	background-color: white;
}

.window-name {
	padding: 0.5em;
	background-color: black;
	color: white;
}

.prompt {
	position: fixed;
	top: 25%;
	left: 25%;
	box-shadow: 10px 10px 20px gray;
	z-index: 102;
	background-color: #ffffff;
}

.prompt-title {
	background-color: black;
	color: white;
}

.prompt div {
	font-size: 1.25em;
	text-align: center;
	padding: 0.5em;
}

.prompt-controls button {
	margin-right: 0.25em;
}

/* Others */

.font-less {
	font-size: 0.8em;
}

.font-more {
	font-size: 1.1em;
}

.color-red {
	color: red !important;
}

.color-green {
	color: #00b84d !important;
}

.color-blue {
	color: blue;
}

.color-gray {
	color: lightgray !important;
}

.color-darkgray {
	color: gray !important;
}

.disabled {
	color: lightgray;
}

.full-screen-message {
	position: relative;
	width: 100%;
	margin-top: 20%;
	text-align: center;
	font-size: 200%;
}

.progress {
	position: fixed;
	top: 35%;
	left: 45%;
	width: 50%;
	height: 50%;
	background-image: url('/images/progress.gif');
	background-repeat: no-repeat;
	background-size: 10%;
	z-index: 200;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(106,106,106,0.5);
	z-index: 99;
}

.sticky {
	position: fixed;
	padding: 1%;
	top: 50%;
	right: 40%;
	background-image: url('/images/pixel-gray-80.png');
}

.blinking {
  animation: blink-animation 2s steps(2, start) infinite;
  -webkit-animation: blink-animation 2s steps(2, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

.clear {
	clear: both;
}

.none {
	display: none;
}

.hidden {
	visibility: hidden;
}
