@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/SourceSans3-VariableFont_wght.ttf") format('truetype');
}
@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/SourceSans3-Italic-VariableFont_wght.ttf") format('truetype');
    font-style: italic;
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Regular.ttf") format('truetype');
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Bold.ttf") format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Italic.ttf") format('truetype');
    font-style: italic;
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-BoldItalic.ttf") format('truetype');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: "Roboto Light";
    src: url("fonts/Roboto-Light.ttf") format('truetype');
}
@font-face {
    font-family: "Roboto Light";
    src: url("fonts/Roboto-LightItalic.ttf") format('truetype');
    font-style: italic;
}
@font-face {
    font-family: "Roboto Medium";
    src: url("fonts/Roboto-Medium.ttf") format('truetype');
}
@font-face {
    font-family: "Roboto Medium";
    src: url("fonts/Roboto-MediumItalic.ttf") format('truetype');
    font-style: italic;
}
@font-face {
    font-family: "Roboto Medium";
    src: url("fonts/Roboto-Black.ttf") format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: "Roboto Medium";
    src: url("fonts/Roboto-BlackItalic.ttf") format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url("fonts/MaterialIcons-Regular.eot"); /* For IE6-8 */
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url("fonts/MaterialIcons-Regular.woff2") format('woff2'),
    url("fonts/MaterialIcons-Regular.woff") format('woff'),
    url("fonts/MaterialIcons-Regular.ttf") format('truetype');
}

 body {margin: 0px; font-family: "Source Sans 3", Roboto, Arial, Verdana, sans-serif; background-color: #fff; color: #333;}
 .mdl-card {min-height: unset !important; width: 90% !important; margin: 0 0 0 20px !important;}
 th {font-weight: normal; text-align: left; font-style: italic;}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
   -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    outline: none;
    padding: 2px 0px 2px 2px;
    margin: 3px 1px 3px 0px;
    border: 0;
    -webkit-border-radius: 0 2px 0 2px;
    -moz-border-radius: 0 2px 0 2px;
    border-radius: 0 2px 0 2px;
/*    height: 25px; */
    background-color: #ffffff !important;;
    border-bottom: 1px solid #888;
	font-family: Roboto, Arial, Verdana, sans-serif;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="text"]::selection, input[type="email"]::selection, input[type="tel"]::selection {
   -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    outline: none;
    padding: 2px 0px 2px 2px;
    margin: 3px 1px 3px 0px;
    border: 0;
    -webkit-border-radius: 0 2px 0 2px;
    -moz-border-radius: 0 2px 0 2px;
    border-radius: 0 2px 0 2px;
/*    height: 25px; */
    background-color: #f8f8f8 !important;
    border-bottom: 2px solid #2aa1c0;
    box-shadow: 0px 0px 0px;
}

.fc-event-title {
	white-space: normal;
}

a {
	color: #960606;
}

/* Dark background for the overlay */
#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 9;
	opacity: 0;
	transition: opacity 0.25s ease;
}

/* Centered login dialog */
#overlay-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	width: 300px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button */
.closeBtn {
	float: right;
	font-size: 20px;
	cursor: pointer;
}

/* Input and button styling */
#overlay-wrapper input[type="text"], #overlay-wrapper input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#overlay-wrapper button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#overlay h2 {
    font-size: 20px; 
    margin: 0 0 10px 0;
}

.select {
	position: relative;
	display: inline-block;
        min-width: 300px;
        border: 1px solid #888;
}

.select select {
	display: inline-block;
	width: 100%;
/*	padding: 10px 15px; */
        padding: 10px 30px 10px 15px;
	cursor: pointer;
	color: #7b7b7b;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: #e6e6e6;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
        text-overflow: ellipsis;
}

.select select::-ms-expand {
	display: none;
}

.select select:hover,
.select select:focus {
	color: #000;
	background: #ccc;
}

.select select:disabled {
	pointer-events: none;
	opacity: .5;
}

.select__arrow {
	position: absolute;
	top: 16px;
	right: 15px;
	width: 0;
	height: 0;
	pointer-events: none;
	border-width: 8px 5px 0 5px;
	border-style: solid;
	border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow {
	border-top-color: #000;
}

.select select:disabled ~ .select__arrow {
	border-top-color: #ccc;
}

.control__indicator-boxed {
    background: #fff; 
    border: 1px solid #aaa; 
    margin-left: 3px;
}

/* Checkbox, radio and select styles according to https://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes START */

.control-group {
    margin-top: 8px;
}

.control {
/*	font-size: 18px;*/
	position: relative;
	display: block;
/*	margin-bottom: 15px;*/
	margin-bottom: 5px;
	padding-left: 30px;
	cursor: pointer;
}

.control input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.control__indicator {
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	background: #e6e6e6;
}

.control--radio .control__indicator {
	border-radius: 50%;
}
    
/* Hover and focus states */
.control:hover input ~ .control__indicator/*,
.control input:focus ~ .control__indicator*/ {
	background: #ccc;
}

/* Checked state */
.control input:checked ~ .control__indicator {
	background: #888;
}

/* Hover state whilst checked */
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
	background: #111;
}

/* Disabled state */
.control input:disabled ~ .control__indicator {
	pointer-events: none;
	opacity: .6;
	background: #e6e6e6;
}

/* Check mark */
.control__indicator:after {
	position: absolute;
	display: none;
	content: '';
}

/* Show check mark */
.control input:checked ~ .control__indicator:after {
	display: block;
}

/* Checkbox tick */
.control--checkbox .control__indicator:after {
	top: 4px;
	left: 8px;
	width: 3px;
	height: 8px;
	transform: rotate(45deg);
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

/* Disabled tick colour */
.control--checkbox input:disabled ~ .control__indicator:after {
	border-color: #7b7b7b;
}

/* Radio button inner circle */
.control--radio .control__indicator:after {
	top: 7px;
	left: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

/* Disabled circle colour */
.control--radio input:disabled ~ .control__indicator:after {
	background: #7b7b7b;
}

.control-label {
    margin: 5px 0;
    font-size: 15px;
    font-weight: bold;
}

.calendar-public-holiday {
  background-color: #b6f1b680;
  background-repeat: no-repeat !important;
}
.calendar-school-holiday {
    background-color: #f6d9a240;
    background-repeat: no-repeat !important;    
}
