/** COURSE BLOCKS **/
.course-selector {
	position: relative;
	display: inline-block;
	min-width: 200px;
	margin: 0.45em;
	padding: 0.5em 2.5em 0.5em 0.5em;
	background-color: #0c618e;
	background-image: linear-gradient(to bottom, #1082bd, #0c618e);
	color: white;
	cursor: default !important;
	font-size: 0.9em;
	border-radius: 4px;
	text-align: left;
}

.course-selector.selected {
	opacity: 0.4;
}

.course-selector .body {
	font-size: 0.8em;
}

.course-selector .body span.title {
	display: block;
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1em;
}

.course-selector .body small {
	color: white;
}

.course-selector .body small {
	display: block;
}

.course-selector .interact {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	font-size: 1.1em;
	border-radius: 0 4px 4px 0;
	padding: 1.1em 0.5em 0 0.5em;
	cursor: pointer !important;
	text-align: center;
	background: #0087cd;
	background: rgba(255, 255, 255, 0.55);
	color: #0a5177;
	cursor: pointer;
	font-family: "Entypo";
	user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	text-decoration: none;
}

.course-selector .interact:hover {
	background: rgba(255, 255, 255, 0.65);
	text-decoration: none;
}

option:disabled {
	color: rgb(170, 170, 170);
}

#course-results {
	max-height: 20em;
	background: linear-gradient(white 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%, radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), transparent), radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), transparent) 0 100%;
	background: linear-gradient(white 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), transparent), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), transparent) 0 100%;
	background-repeat: no-repeat;
	background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
	background-attachment: local, local, scroll, scroll;
	overflow-y: auto;
	text-align: left;
}

.info-text {
	font-size: 1.15em;
	text-align: center;
	background: #f5f5f5
}

.panel {
	padding: 2em;
	margin: 0.5em 0;
	border: 1px dashed #CCC;
}

.centred {
	display: flex;
	justify-content: center;
	align-items: center;
}

.gap {
	gap: 5px;
}

.space-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.d-none {
	display: none;
}

/** Week selection **/
.week-select {
	display: flex;
	flex-wrap: wrap;
	margin: 0.2em 0;
}

.week-select div {
	line-height: 0.9em;
	min-width: 2.2em;
	margin: 2px;
	padding: 4px 0 6px 0;
	border: 1px solid #ccc;
	background-color: #eee;
	text-align: center;
	overflow: hidden;
	cursor: pointer;
}

.week-select div.selected {
	background-color: #036db4;
	color: #fff;
}

.week-box {
	display: flex;
	flex-direction: column;
	font-size: large;
}

legend {
	font-size: 1rem;
	border: 0 !important;
	font-weight: 700;
	margin-bottom: 5px;
}


/** Spinner styles **/
.loader {
	width: 24px;
	height: 24px;
	border: 4px solid #FFF;
	border-bottom-color: #337ab7;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Margins */
.mb5 {
	margin-bottom: 5px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb20 {
	margin-bottom: 20px;
}

/* Responsive */
.response-small {
	display: none;
}

@media screen and (max-width: 900px) {
	body {
		font-size: 1.1em;
	}

	.response-small {
		display: flex;
	}

	#submit-section {
		flex-direction: column;
		gap: 5px;
	}
}

.button {
	display: inline-block;
	max-width: 100%;
	margin: 2px 0;
	padding: 5px 10px 4px 10px;
	border-radius: 2px;
	border: 1px solid #CCC;
	background-color: #FFF;
	background-image: linear-gradient(to bottom, white, #eeeeee);
	color: #222;
	text-decoration: none;
	font-family: "PT Sans", sans-serif;
	font-size: 0.9em;
	line-height: 1.2em;
	cursor: pointer;
}

.button.selected {
	background: #E8E8E8;
	background: linear-gradient(to bottom, #e0e0e0, #e8e8e8);
	box-shadow: inset #DDD 0 0 5px;
}

.button.selected:hover {
	background: #E0E0E0;
}

.button:active {
	background: #DDD;
}

.button:active {
	background: #DDD;
}

.button-group>.button {
	border-radius: 0;
}

.button-group>.button:first-child {
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}

.button-group>.button:last-child {
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}

/* Help page table styles */
table.help-table {
	width: 100%;
	border-spacing: 0;
}

table.help-table > thead th {
	padding: 0.5em;
	background: #1081BB;
	color: white;
	text-align: left;
	font-family: "Open Sans Condensed";
}

table.help-table > tbody > tr th {
	font-family: "Open Sans Condensed";
	padding: 0.5em;
	font-weight: 300;
	background: #2babed;
	color: white;
}

table.help-table > tbody > tr td {
	padding: 0.5em;
}

table.help-table > tbody > tr td:first-child {
	font-family: "Consolas", "Courier New";
}

table.help-table>tbody>tr td:nth-child(2n) {
	font-style: italic;
	font-family: "Consolas", "Courier New";
}

table.help-table > tbody > tr:nth-child(2n) {
	background: #FAFAFA;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.checkbox-inline,.radio-inline {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: 400;
  vertical-align: middle;
  cursor: pointer
}

@media screen and (min-width: 768px) {
	.hidden {
		display: none!important
	}
}
