
body {
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
	font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
}
	
.wrap {
	width: 960px;
	margin: 0 auto;
	display: table;
	height: 100%;
}
	
#external-events {
	width: 170px;
	padding: 0 10px;
	border: 1px solid #ccc;
	background: #eee;
	text-align: left;
}

#external-events h4 {
	font-size: 16px;
	margin-top: 0;
	padding-top: 1em;
}
	
#external-events .fc-event {
	margin: 5px 0;
	cursor: pointer;
}
	
#external-events p {
	margin: 1.5em 0;
	font-size: 11px;
	color: #666;
}
	
#external-events p input {
	margin: 0;
	vertical-align: middle;
}

#sessionSelect {
	float: center;
	margin-top: 1em;
}

#sessions {
	font-size: 14px;
}

#calendar {
	float: right;
	width: 750px;
}

.calendar-trash {
	float: left;
	padding-right: 8px;
	margin-right:5px;
	padding-left:8px;
	padding-top: 3px;
	cursor: pointer;
}

h2 {
	margin-bottom: 10px;
	margin-top: 0px;
}

h3 {
	margin: 5px 0px;
}

h4 {
	margin-bottom: 10px;
}

#year_group_wrap {
	width: 100%;
	margin-bottom: 20px;
	white-space: nowrap;
}

#year_group {
	float: right;
	margin-right: 20px;
}

.inline {
	display: inline-block;
}

.cell {
	display: table-cell;
	vertical-align: top;
}

#children-list {
	overflow-y: scroll;
	height: 474px;
	padding-right: 20px
}

.child.ui-draggable-dragging {
	text-align: left;
	width: 142px;
}

.long.ui-draggable-dragging {
	text-align: left;
	width: 217px;
}

#heading {
	margin-bottom: 10px;
}
	
#grid {
	display: table;
	height: 100%;
	margin: 0 auto;
	border-spacing: 20px 0px;
}
	
.list {
	height: 470px;
	padding-right: 30px;
	overflow-y: scroll;
}

#not-arrived.list {
	height: 440px;
}
	
.column {
	width: 250px;
	height: 500px;
	padding: 0 10px;
	border: 1px solid #ccc;
	background: #eee;
	text-align: left;
	display: table-cell;
}

.list66pc {
	height: 340px;
}

.list33pc {
	height: 100px;
}


form {
	border: 1px solid #ccc;
	background: #eee;
	margin: 20px auto 20px auto;
	padding-top: 10px;
	display: table;
	border-radius:5px;
}

form div {
	margin: 5px 10px;
	padding-bottom: 5px;
	width: 260px;
}

#billing div {
	width: auto;
}

.date {
	text-align: center;
}

form .title {
	float: left;
	width: 100px;
	text-align: right;
	padding-right: 10px;
}

form input[type=submit] {
	text-align: right;
	float:right;
	margin-bottom: 10px;
}
	
span.fc-event {
	position:relative;
	font-size:.85em;
	line-height:1.3;
	height: 1.95em;
	padding-top: 0.65em;
	border-radius:3px;
	border:1px solid #3a87ad;
	background-color:#3a87ad;
	font-weight:400;
	color:#fff;
	text-decoration:none;
	margin: 3px 0;
	cursor: pointer;
}
	
#year_group_wrap {
	width: 100%;
	margin-bottom: 10px;
	white-space: nowrap;
}

#year_group {
	float: right;
	margin-right: 0px;
}

#is-booked {
	float: right;
	margin-right: 0px;
}

.inline {
	display: inline-block;
}

.child_name {
	width: 75%;
}

.child_year {
	width: 10%;
	text-align: center;
}

select optgroup {
	font-weight: bold;
}

table.form {
	width: 100%;
}

table.form tr>td:first-child {
	text-align: right;
	font-weight: bold;
}

table.form tr>td:last-child {
	text-align: left;
	padding-left: 20px;
}

table.form input {
	width: 100px;
	text-align: center;
}

#reasons {
	list-style: none;
	padding-left: 0px;
	margin-left: 0px;
}

#reasons>li {
	text-align: left;
	padding-left: 0px;
	margin-left: 0px;
}

.admin-table {
	margin: auto;
	width: 700px;
	text-align: left;
	border-spacing: 20px 0px;
	height: 500px;
}

.admin-table tr td:first-child {
	width: 40%;
}

.admin-table tr {
	vertical-align: top;
}

.form-table {
	margin: auto;
	text-align: left;
	border-spacing: 20px 0px;
	border-radius: 10px;
 	background: #2191c0;
 	padding: 10px;
	color: #eaf5f7;
	line-height: 2em;
}

.form-table tr>td:first-child {
	text-align: right;
	font-weight: bold;
}

.list-container ul {
	padding-left: 5px;
	margin-left: 5px;
	margin-bottom: 5px;
}

.list-container li {
	list-style: none;
	cursor: pointer;
	height: 1.6em;
	line-height: 1.6em;
	padding-left: 5px;
}

.list-container li.selected {
	background: #eaf5f7;
	color: #2191c0;
	border-radius: 5px;
}

.list-container, .details-container  {
	border-radius: 10px;
 	background: #2191c0;
	color: #eaf5f7;
	padding: 10px;
	vertical-align: top;
}

#scrollable-list {
	height: 440px;
	overflow-y: scroll;
}

.details-container {
 	visibility: hidden;
}

.details-container .buttons, .form-table .buttons {
	text-align: right;
}

.detail {
	margin-top: 10px;
	margin-left: 10px;
	border-spacing: 10px 5px;
}

.detail tr td {
	height: 2em;
	line-height: 2em;
}

#start, #end, #start-late, #end-late {
	width: 100px;
	text-align: center;
	font-size: 10pt
}

/* Clearable text inputs */
.clearable{
  position: relative;
  display: inline-block;
}

.clearable input[type=text]{
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

.clearable__clear{
  display: none;
  position: absolute;
  right:0; top:10px;
  padding: 0 8px;
  font-style: normal;
  font-size: 40pt;
  color: grey;
  user-select: none;
  cursor: pointer;
}

.clearable input::-ms-clear {  /* Remove IE default X */
  display: none;
}

#dialog-working td {
	padding: 5px;
	font-size: 16pt;
}

#dialog-working, #dialog-working table {
	overflow: hidden;
}

.modal {
	position: absolute;
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	border-radius: 10px;
	visibility: hidden;
}

.modal-content {
	background-color: #3a87ad;
	border-radius: 10px;
	margin: 30% auto;
	padding: 20px;
	border: 2px solid #fff;
	width: 80%; /* Could be more or less, depending on screen size */
}
