#lesson-action-modal .row .column:first-child {
	padding-left: 0;
}

#lesson-action-modal .row .column:last-child {
	padding-right: 0;
}

/* html { */
/* 	overflow-y: scroll; */
/* } */

.collection-list ul,
ul.collection-list {
	list-style: none;
	margin-left: 0;
	cursor: pointer;
}

.collection-list li {
	background-color: #eee;
	padding: 2px 5px;
}

.collection-list li:nth-child(2n) {
	background-color: #ddd;
}


.collection-list li.active {
	background-color: #008CBA;
	color: white;
}

.collection-list label.active,
.collection-combo .active {
	font-weight: bold;
}

.collection-table {
	width: 100%;
}
.collection-table tbody {
	cursor: pointer;
}

.collection-table tr.active,
.collection-table tr.active td {
	background-color: #008CBA;
	color: white;
}

.collection-table tr.active a {
	color: white;
	text-decoration: underline;
}

textarea {
	min-height: 100px;
	resize: vertical;
}

.full-screen-pop-up {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	background-color: white;
}

.full-screen-pop-up button {
	top: 0;
	right: 20px;
	position: absolute;
	z-index: 1;
}

.full-screen-pop-up .iframe-wrapper {
	position: absolute;

	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
}

.full-screen-pop-up iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.top-bar {
	margin-bottom: 20px;
}

.top-bar a:not([href]) {
  cursor: default;
}


table.opening-times td {
	text-align: center;
	vertical-align: middle;
}

table.opening-times input {
	margin: 0;
}

table.rooms button,
table.rooms select,
table.rooms input {
	margin: 0;
}

.date-tabs {
	display: flex;
}

.date-tabs li {
	flex-grow: 1;
	flex-basis: 0;
	padding: 0 5px;
}

.date-tabs .tab-title.active > a {
	padding-bottom: calc(1.2rem - 5px);
  border-bottom: 5px #008CBA solid;
	margin: 0;
	/* font-weight: bold; */
	/* color: white; */
	/* background: #008CBA; */
}

.date-tabs .tab-title.active > a:hover {
	/* background: #0078a0; */
}

.date-tabs .tab-title > a {
	text-align: center;
	padding-left: 0;
	padding-right: 0;
	margin: 0 -5px;
	padding: 1.2rem 0;
}

table.lessons {
  table-layout: fixed;
	-webkit-user-select: none;
	user-select: none;
}

table.lessons th,
table.lessons td {
	/* table tr th, table tr td { */
  padding: 0.2rem 0.2rem;
}

table.lessons tr.isTutor {
	background-color: #666;
}

table.lessons td.isTutor {
	color: white;
}

table.lessons .flags {
  display: block;
	background-color: #BF5858;
	color: white;

	margin-left: -0.2rem;
  margin-top: -0.2rem;
  margin-bottom: -0.2rem;
	margin-right: 0.2rem;

	float: left;
  padding: 0.2rem;
	font-weight: bold;
	border-right: 1px solid black;
	min-width: 35px;
  text-align: center;
}

table.lessons .hasLesson {
	cursor: pointer;
	background-color: #bbb;
	/* border: 1px */
}

table.lessons tr:nth-child(2) td,
table.lessons tr:nth-child(2) th,
table.lessons .isStudent + .isTutor td,
table.lessons .isStudent + .isTutor th {
	border-top: 2px solid black;
}

table.lessons .isTutor + .isStudent td,
table.lessons .isTutor + .isStudent th {
	/* padding-top: 0.2rem; */
	/* padding-bottom: 0.2rem; */
	/* background: darkgrey; */
	/* font-weight: bold; */
	border-top: black 1px dotted;
	/* background: lightblue !important; */
	/* border: 1px */
}

td.isTutor.hasLesson {
	font-weight: bold;
}

td.isTutor.hasLesson:before {
	font-weight: bold;
	content: '★ ';
}

td.isTutor.hasLesson.isTutorPlaceholder:before {
	/* font-weight: bold; */
	content: '';
}

.ui-autocomplete {
	z-index: 1006 !important;
}

.ui-autocomplete .ui-state-focus {
	font-weight: normal;
}

.lesson-breakdown input[type=checkbox] {
	margin: 0;
}

.accordion.lesson-breakdown .content {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.context-menu-list {
	font-size: 12px;
}

.context-menu-item {
	padding: 4px 24px;
	background-color: white;
}

.loading {
	background: url('/images/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: center center;
	pointer-events: none;
  background-attachment: fixed;
}

.loading-local {
	background: url('/images/ajax-loader.gif');
	background-repeat: no-repeat;
	/* background-size: 27px 27px; */
	background-position: center center;
	pointer-events: none;
  /* background-attachment: fixed; */
}

.loading > *, .loading-local > * {
	opacity: 0;
}

.switches span {

}

.subtle {
	color: #aaa; font-style: italic;
}

.nested-list li {
	margin-left: 20px;
}

td.hasLesson.isError {
	/* background-image: url('/images/cross-pattern.png'); */
	background-image: url('/images/cross-pattern.png');
	/* background-repeat: no-repeat; */
}

td.hasLesson.isError .name {
	font-weight: bold;
	text-shadow: 2px 1px 1px black;
	color: white;
}


.top-bar-section li:not(.has-form) a:not(.button) {
  padding: 0 0.7rem;
  /* line-height: 2.8125rem; */
  /* background: #333333; */
}

@media print {
  nav.top-bar {
		display: none;
	}

	.not-for-print {
		display: none;
	}

	.reveal-modal-bg {
		display: none;
	}

	html, body {
    /* height: 99%; */
    /* height: auto; */
  }

	.accordion .accordion-navigation {
		display: none;
	}

	.accordion .accordion-navigation.active {
		display: block;
	}

}

.mce-fade {
	z-index: 1003 !important;
}

.mce-floatpanel {
	z-index: 1004 !important;
}

.button-bar.flex {
	display: flex;
	justify-content: space-between;
}

.button-bar.flex :first-child {
	margin-left: 0;
}

.button-bar.flex :last-child {
	margin-right: 0;
}

.button-bar.flex:before,
.button-bar.flex:after {
  content: none;
  /* display: block; */
}

#timetable-center-details-app .tag-list span,
#timetable-messaging-app .tag-list span {
	padding-right: 5px;
}

.top-bar-section,
.top-bar-section ul,
.top-bar-section ul li {
  background: inherit;
}

@media only screen and (min-width: 40.063em) {
	.top-bar-section .has-form,
	.top-bar-section li:not(.has-form) a:not(.button) {
		background: transparent;
	}
}

@media only screen and (min-width: 40.063em) {
	.app-timetable-students #scheduler-modal,
	.app-timetable-students #payment-modal {
		top: 10.25rem !important;
	}
}

.bug-tile {
	cursor: pointer;
	padding: 5px;
	border-bottom: 1px solid #ddd;
}

.bug-tile.active {
	background-color: #008CBA;
	color: white;
}

.bug-tile.active .subtle,
.bug-tile.active h5 {
	color: white;
}

img.has-tip,
img.has-tip:hover,
img.has-tip:focus {
	border-bottom: 0;
}

.help-bubble-small {
	position: relative;
	top: -1px;
}

.help-bubble-large {
	position: relative;
	top: -3px;
}

.accordion-navigation > a:first-child .help-bubble-large {
	top: -2px;
}

.app-timetable-students .accordion-navigation > a:first-child {
	padding: 8px 16px;
}

#timetable-tutors-app .financial-table {
	border-collapse: collapse;
}

#timetable-tutors-app .financial-table tbody tr:last-child {
	border-top: 1px solid black;
}

#timetable-tutors-app .financial-table tbody tr:last-child td:first-child {
	font-weight: bold;
}

#timetable-statistics-app .week-table {
	width: 100%;
}

#timetable-statistics-app .week-table input[type="text"] {
  width: 35px;
  margin: -5px;
  padding: 1px;
  display: inline-block;
  text-align: right;
	height: auto;
}

#timetable-statistics-app .week-table td,
#timetable-statistics-app .week-table th {
	text-align: right;
	padding: 5px;
}

#timetable-statistics-app .week-table td:first-child,
#timetable-statistics-app .week-table th:first-child {
	text-align: left;
}

#timetable-statistics-app .cs-table {
	width: 101%;
	margin: 0;
}

@media print {
	#timetable-statistics-app .cs-column-parent {
		flex-direction: column;
	}

	#timetable-statistics-app .cs-column {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	#timetable-statistics-app .cs-table {
		width: 33%;
	}
}

#timetable-statistics-app .greyed-out td {
	color: grey;
}

td[title], th[title]{
	cursor: help;
}

.no-pointer-events {
	pointer-events: none;
}

.no-pointer-events * {
	pointer-events: none;
}

.context-menu-list.ftr-menu {
	max-width: 350px !important;
	width: 350px !important;
}

.yui3-cssreset table {
	border: 0;
}

#scheduling-form input[type="radio"] + label {
	margin-left: 0;
}

.stripe-input {
	border-style: solid;
	border-width: 1px;
	border-color: #cccccc;
  padding: 0.5rem;
  height: 2.3125rem;
}