@font-face {
	font-family: 'agletsans-regular';
	src: url('../fonts/agletsans-regular.otf') format('opentype');
}

@font-face {
	font-family: 'agletsans-bold';
	src: url('../fonts/agletsans-bold.otf') format('opentype');
}

@font-face {
	font-family: 'shadowsintolight';
	src: url('../fonts/shadowsintolight.ttf') format('truetype');
}

body {
	font-family: Arial, Verdana, serif;
/*	font-size: 14px;*/
	line-height: 1.5;
	color: #4d4d4d;
	background-color: #fff;
}

button, a {
	font-family: Arial;
}

table {
	color: #4d4d4d !important;
}

p {
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	font-size: 16px;
	/*font-size: 1.5vmin;*/
	margin: 0 0 1.2em;
}

a, a.reverse, a.white, button, label.standardButton {
	color: #631d76;
	transition: color 300ms linear, background 300ms linear;
}

p a,
p li a,
.ui-accordion a,
#mainContent a {
	color: #20399d !important;
	text-decoration: underline !important;
}

p a:hover,
p li a:hover,
.ui-accordion a:hover,
#mainContent a:hover {
	color: #631d76 !important;
}

select:focus,
input:focus {
	border: 1px solid lightgray !important;
}

label.standardButton, a.standardButton, button.standardButton {
	border: 1px solid #fab600;
	padding: 12px 20px;
	text-transform: uppercase;
	color: #000;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	background-color: #fab600;
	cursor: pointer;
}

label.standardButton:hover, a.standardButton:hover, button.standardButton:hover {
	background-color: #fd870d;
	color: #000;
	border: 1px solid #fd870d;
	text-decoration: underline;
}

@media only screen and (min-width: 992px) {
    label.standardButton {
        margin-top: 30px;
    }
}

a.reverse {
	/*color: #71ab27;*/
}

a.aWhite {
	color: white;
}

a.aPurple, i.aPurple {
	color: #631d76;
}

a.aPurpleBG {
	background-color: #631d76;
}

a.aOrangeBG, button.aOrangeBG {
	background-color: #e37222;
}

a:focus, a:active, a:hover, a.reverse:hover, a.white:hover {
	/*color: #7ab800;*/
	text-decoration: none;
	border: none;
}

a.reverse:hover {
	color: #00693c;
	text-decoration: underline;
}

a.bigButton, button.bigButton {
	padding: 20px 30px;
}

.block {
    display: block;
}

.hide {
	display: none;
}

ul, ol {
	padding: 0;
	margin: 0;
	/*list-style-type: none;*/
}

ul {
	list-style-type: disc;
	padding-left: 20px;
}

li {
	padding: 2px 0px;
}

h1, h2, h3, h4, h5, h6, h7,
.h1, .h2, .h3, .h4, .h5, .h6, .h7 {
	font-family: agletsans-regular, serif;
/*	line-height: 1.2;
	margin: 0 0 .75em;
	font-weight: bold;
	color: #32373a;*/
}

/*h1, span.h1 {
	font-size: 28px;
}

h2, span.h2 {
	font-size: 20px;
}

h3, span.h3 {
	font-size: 20px;
}

h4, span.h4 {
	font-size: 18px;
}

h5, span.h5 {
	font-size: 16px;
}*/

h6, .h6 {
	text-transform: uppercase;
	/*font-size: 16px;
	font-size: 1.1vw;*/
}

/*
h7 {
	font-size: 12px;
}*/

/*@media screen and (min-width: 600px) {
	h1, span.h1 {
		font-size: 38px;
	}
	
	h2, span.h2 {
		font-size: 26px;
	}
	
	h3, span.h3 {
		font-size: 24px;
	}
	
	h4, span.h4 {
		font-size: 20px;
	}
	
	h5, span.h5 {
		font-size: 16px;
	}
}

@media screen and (min-width: 1024px) {
	h1, span.h1 {
		font-size: 48px;
	}
	
	h2, span.h2 {
		font-size: 36px;
	}
	
	h3, span.h3 {
		font-size: 28px;
	}
	
	h4, span.h4 {
		font-size: 24px;
	}
	
	h5, span.h5 {
		font-size: 18px;
	}
}*/

.headerDiv,
.headerDiv iframe,
.titleBox,
.headerImage {
	height: 480px !important;
}

.headerDiv .container,
.headerDiv .container-fluid {
	height: 100%;
}

.headerDiv iframe {
	width: 100%;
	position: relative;
	z-index: 9;
}

.headerDivMobile iframe {
	width: 100%;
}

@media screen and (max-width: 768px) {
	.headerDiv {
		margin-bottom: 10px;
	}
}

/* Spacing between major sections */
.heightSpacing-xl {
	height: 80px;
	height: 7.8vmin;
}

.heightSpacing-lg {
	height: 50px;
	height: 4.8vmin;
}

.heightSpacing-md {
	height: 30px;
	height: 2.8vmin;
}

.heightSpacing-xs {
	height: 20px;
	height: 1.8vmin;
}

/* Background Colours */
.greyBG {
	background-color: #42444D;
}

.lightGreyBG {
	background-color: #f2f3f4;
}

.greenBG {
	background-color: #7ab800;
	color: white;
}

.purpleBG {
	background-color: #631d76;
	color: white;
}

.whiteBG {
	background-color: white;
}

.relative {
	position: relative;
}

.imgWidth100 {
	width: 100%;
}

/**/
.wrap {
	width: auto !important;
	width: 100%;
	/*max-height: 530px;*/
	/*max-width: 1515px;*/
	margin: auto;
	overflow-x: hidden;
}

.headerImage {
	background-color: #631d76 !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	/*width: 1515px;*/
	width: 100%;
}

@media screen and (max-width: 992px) {
	.headerImage {
		height: 400px;
	}
}

@media screen and (max-width: 768px) {
	.headerImage {
		height: 300px;
	}
}

/* Transparent Button with White Border*/
a.transbutton {
	border: 1px solid white;
	padding: 10px;
	color: white;
}

/* Checkbox
	https://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes
*/
.control {
	display: inline-block;
	position: relative;
	padding-left: 40px;
	padding-top: 4px;
	padding-right: 5px;
	margin-bottom: 15px;
	cursor: pointer;
	font-size: 18px;
}

.control input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.control__indicator {
	position: absolute;
	top: 2px;
	left: 0;
	height: 30px;
	width: 32px;
	/*background-color: #e6e6e6;*/
	border: 2px solid #e6e6e6;
}

.control__indicator:focus {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.control input:focus ~ .control__indicator {
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.control:hover input ~ .control__indicator {
	/*background: #ccc;*/
	border: 2px solid black;
}

.control input:checked ~ .control__indicator {
	/*background: #2aa1c0;*/
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
	/*background: #0e647d;*/
}

.control input:disabled ~ .control__indicator {
	background: #e6e6e6;
	opacity: 0.6;
	pointer-events: none;
}

.control__indicator:after {
	content: '';
	position: absolute;
	display: none;
}

.control input:checked ~ .control__indicator:after {
	display: block;
}

.control--checkbox .control__indicator:after {
	left: 11px;
	top: 4px;
	width: 8px;
	height: 15px;
	border: solid #7ab800;
	border-width: 0 4px 4px 0;
	transform: rotate(45deg);
}

.control--checkbox input:disabled ~ .control__indicator:after {
	border-color: #7b7b7b;
}

/* Dropdown list */
/* http://cssdeck.com/labs/styling-select-box-with-css3 */
.dropdown select {
	padding: 25px;
	margin: 0;
	background: #f8f8f8;
	color: #4d4d4d;
	border: 1px solid #ddd;
	outline: none;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	width: 400px;
}

@media (max-width: 576px) {
	.dropdown select {
		width: 350px;
	}
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.dropdown select {padding-right: 18px}
}

/*.dropdown label {
	position: relative;
}*/

.dropdown label:after {
	content: '\f107';
	font: normal normal normal 14px/1 Font Awesome\ 5 Free;
    font-weight: 900;
	color: #aaa;
	right: 0px;
	top: 2px;
	padding: 30px 30px;
	border-left: 1px solid #ddd;
	position: absolute;
	pointer-events: none;
}

.dropdown label:before {
	content: '';
	right: 6px;
	top: 0px;
	width: 20px;
	height: 20px;
	background: #f8f8f8;
	position: absolute;
	pointer-events: none;
	display: block;
	border-top: 1px solid #ddd;
}

.dropdown option {
	padding: 25px;
}

/*
	Labels for events, news and social media
	Positioned at bottom right corner
*/
.cornerLabel-lg, .cornerLabel-md, .cornerLabel-xs {
	position: absolute;
	left: 0;
	top: 0;
	color: white;
	background-color: #ab006b;
	background-color: #bf0077;
	text-align: center;
	font-size: 18px;
}

.cornerLabel-lg {
	padding: 3% 5%;
	padding: 2vmin 3.5vmin;
}

.cornerLabel-md {
	padding: 3.5% 6.5%;
	padding: 0.8vmin 1.5vmin;
}

.cornerLabel-xs {
}

.padding-lg {
	padding: 9%;
	padding: 5vmin;
}

.padding-md {
	padding: 6%;
	padding: 2vmin;
}

.padding-xs {
	padding: 3%;
	padding: 1vmin;
}

.mainEvent a.enLink {
	height: 430px;
}

.mainEvent img {
	height: 180px;
	object-fit: cover;
	object-position: top;
}

.mainEvent .eventContent {
	background-color: white;
	height: 250px;
}

.mainEvent a.enLink,
.events a.enLink {
	text-decoration: none;
	color: black;
}

.mainEvent .enDay {
	line-height: 35px;
}

.events .enLink {
	background-color: white;
	height: 205px;
}

.events .enDay {
	font-size: 60px !important;
	line-height: 50px;
}

.events .enMonth {
	font-size: 30px;
}

.events .enDate {
	background-color: #bf0077;
}

.events .enDate h2 {
	color: white;
	font-weight: 100;
}

.news .newsContent {
	background-color: #631d76;
	height: 250px;
	color: white;
}

.news .newsContent h4 {
	color: white;
}

.news img {
	height: 180px;
	object-fit: cover;
	object-position: top;
}

/* Creating tiles */
/* Grey tiles with no pictures */
.tileGrey {
	height: 270px;
	background-color: #818a8f;
	color: white;
	padding: 15vh 3vh 0 3vh;
	transition: color 300ms linear, background 300ms linear;
}

.tileGrey:hover {
	background-color: #9ca3a7;
}

.tileGrey h3 {
	color: white;
	margin-bottom: 10px;
}

a.tileLinkGrey {
	display: block;
	margin-bottom: 30px;
}

.tileTitle {
	margin: 0;
	padding: 10px 5px;
	transform: translateY(-100%);
	transition: transform .35s ease-out;
	display: block;
	background-color: white;
	font-size: 22px;
	font-weight: bold;
	font-family: agletsans-regular;
}

.tileTitle h3 {
	color: white;
	margin-bottom: 0px;
}

.tileTitleWide {
	width: 100%;
}

.tileTitle p {
	display: none;
}

/* Tile with background image */
/*
	tileLink allows for title scroll up animation
	tileZoom allows for image zooming animation
*/
a.tileLink, .tileZoom {
	display: block;
	position: relative;
	height: 270px;
	margin-bottom: 30px;
	overflow: hidden;
    background-size: cover !important;
}

@media (max-width: 576px) {
	a.tileLink {
		margin-bottom: 15px;
	}
}

.bcotnursery a.tileLink {
	height: 425px;
	background-size: auto !important;
}

a.tileZLink {
	display: block;
	height: 270px;
	-webkit-transition: all 0.5s linear;
	transition: all 0.5s linear;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
    background-size: cover !important;
}

a.tileZLink:hover {
	-webkit-transform: scale3d(1.2, 1.2, 1);
	transform: scale3d(1.2, 1.2, 1);
	-webkit-transition: all 0.5s linear;
	transition: all 0.5s linear;
}

.tileDesc, .tileZDesc {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0px;
	color: black;
	transform: translateY(100%);
	transition: transform .35s ease-out;
	display: block;
	background: rgba(255, 255, 255, 0.9);
}

.tileSummary {
	padding: 10px 25px;
	display: block;
}

/*a.tileLink:hover .tileDesc {
	transform: translateY(0);
}

a.tileLink:hover .tileTitle {
	transform: translateY(0);
	background: none;
	padding-top: 35px;
}*/

/* Student Success */
.section-quote {
    clear: both;
    overflow: hidden
}

.section-quote .image {
    height: 200px;
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
}

.section-quote .quote-link {
    text-align: right;
    padding-right: 60px;
}

@media screen and (max-width: 768px) {
    .section-quote .image {
        background-position: right;
    }
}

@media screen and (min-width: 600px) {
    .section-quote .image {
        height: 0;
    }
}

.section-quote .quote-item {
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    position: relative
}

.section-quote .purple-box {
    display: none;
}

@media screen and (min-width: 600px) {
    .section-quote .purple-box {
        display: block;
        width: 45%;
        background: rgba(99, 29, 118, 0.95);
        height: 100%;
        position: absolute;
        top: 0;
        left: 0
    }
}

.section-quote .purple-box:before {
    display: block;
    position: absolute;
    right: -60px;
    bottom: -30px;
    height: 150%;
    background: rgba(99, 29, 118, 0.95);
    border-radius: 100%;
    content: '';
    width: 160px
}

.section-quote .grid {
    position: relative;
    background: rgba(99, 29, 118, 1);
	max-width: 1150px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 15px;
}

@media screen and (min-width: 600px) {
    .section-quote .grid {
        background-color: transparent;
    }
}

.section-quote .text {
    color: white;
    padding: 20px 0;
    position: relative;
}

@media screen and (min-width: 600px) {
    .section-quote .text {
        /*float: left;*/
        width: 45%;
        padding: 50px 0;
        position: relative;
    }
}

@media screen and (min-width: 1024px) {
    .section-quote .text {
        /*float: left;*/
        width: 40%;
        padding: 75px 0;
        position: relative;
    }
}

.section-quote .quote-text {
    position: relative;
    padding: 0 50px;
    font-size: 20px;
    font-family: "museo", serif;
}

/*@media screen and (min-width: 600px) {
    .section-quote .quote-text {
        padding: 0 55px;
        font-size: 22px;
    }
}

@media screen and (min-width: 1024px) {
    .section-quote .quote-text {
        padding: 0 60px;
        font-size: 30px;
    }
}*/

.section-quote .quote-text:before {
    content: '';
    background: url("../media/1044/quote-top.png") no-repeat 50% 50%;
    display: block;
    height: 40px;
    width: 45px;
    position: absolute;
    top: 0px;
    left: 0px
}

.section-quote .quote-text:after {
    content: '';
    background: url("../media/1043/quote-bottom.png") no-repeat 50% 50%;
    display: block;
    height: 40px;
    width: 45px;
    position: absolute;
    bottom: 0px;
    right: 0px
}

.section-quote .quote-by {
/*    padding-left: 60px;
    margin-top: 20px;
    font-size: 18px*/
}

/* Table styling from oystertheme.css*/
table {
    border-collapse: collapse;
    font-feature-settings: "kern", "liga", "tnum";
    table-layout: fixed;
    margin: 0;
    border-spacing: 0
}
@media only screen and (min-width: 600px) {
    table {
        width: 100%;
    }
}

/* Mobile */
@media only screen and (max-width: 600px) {
    .pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
    .pinned table {font-size: 14px; margin: 0; border-right: none; border-left: none; width: 100%; }
    .pinned table th, .pinned table td { white-space: nowrap; }
    .pinned td:last-child { border-bottom: 0; }

    div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; border-right: 1px solid #ccc; }
    div.table-wrapper div.scrollable table { margin-left: 35%; }
    div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }

    table td, table th { position: relative; white-space: nowrap; overflow: hidden; }
    table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }

	.imgMap {
		width: 100%;
	}
}

th {
    border-bottom: 1px solid #a6a6a6;
    font-weight: 600;
    padding: .75em 0;
    text-align: left
}

td {
    border-bottom: 1px solid #ddd;
    padding: .75em 0
}

tr, td, th {
    vertical-align: middle;
}


table th {
    text-align: left;
    padding: 10px 15px;
    color: black;
    /*background-color: #631d76;*/
}

table td {
    padding: 10px 15px;
    border: 1px solid #f8f8f8;
    line-height: 1.5
}

table tbody {
    background-color: #fff
}

table tbody td {
    padding: 10px 15px;
}
table tr:nth-child(even) td {
    background-color: white;
}
table tr:nth-child(odd) td {
    background-color: #fbfbfb;
}

/* Ent table styling from oystertheme.css*/


/* Styling for part-time directory */

.courseListHeading
{
    font-weight: bold;
    border-bottom: 2px solid #d1d8dc;
}

.courseListRow
{
    padding-top: 15px;
    padding-bottom: 15px;
}

.courseListLink{
    font-size:smaller;
    color: #7ab800 !important;
    font-weight: bold;
}

.courseListSearchTitle{
    padding-top: 8px;
}

/* End Styling for part-time directory */

#theCogworksCookieDirective_footer a {
	color: lightgray !important;
	text-decoration: underline !important;
}

#chat-application:focus {
	border: 1px solid black !important;
}

/* Cookies */
.optional-cookie-header {
	color: white !important;
}

.ccc-link {
	color: white !important;
	text-decoration: none !important;
}

.ccc-link:hover {
	color: white !important;
	text-decoration: underline !important;
}

/* Site Wide Buttons */
a.whiteButton {
	background-color: white !important;
	color: black !important;
	text-decoration: none !important;
	border: none !important;
}

a.whiteButton:hover {
	border: none !important;
	background-color: lightgray !important;
}

button.purpleButton,
a.purpleButton {
	background-color: #631d76 !important;
	color: white !important;
	text-decoration: none !important;
	border: none !important;
}

button.purpleButton:hover,
a.purpleButton:hover {
	background-color: #42154f !important;
}

a.plainButton {
	text-decoration: none;
	color: black;
}

a.aquaButton {
	background-color: #00c1bf !important;
	color: black !important;
	text-decoration: none !important;
	border: none !important;
}

a.aquaButton:hover {
	background-color: #00aaff !important;
}

a.linkButton {
	background-color: none !important;
	color: black !important;
	text-decoration: none !important;
	border: none !important;
}

a.linkButton:hover {
	text-decoration: underline !important;
}

button.apprenticeshipsButton,
a.apprenticeshipsButton {
	background-color: #fab600 !important;
	color: black;
	text-decoration: none !important;
	display: inline-block;
}

.applyButton {
	padding: 14px 32px;
	font-size: 15px;
	font-family: agletsans-regular;
}

.eventsNews {
	position: relative;
	overflow: hidden;
}

.eventsNews img {
	width: 100%;
}

.text-sm {
	font-size: 14px;
}

.text-xs {
	font-size: 12px;
}

.findCourse .input-group-text {
	padding: 0px 10px;
	background-color: white;
	border-radius: 0px;
}

.findCourse-content i.fa-search {
	font-size: 24px;
}

.iframe-header {
    width: 100%;
    height: 250px;
}

.article-content iframe {
    width: 100%;
}

.article-content {
	overflow-x: auto;
}

.article-content td {
	word-wrap: break-word;
}

@media (max-width: 576px) {
	.mainEvent .eventContent {
		height: 200px;
	}

	.mainEvent a.enLink {
		height: auto;
		padding-bottom: 15px;
	}

	.events .enLink {
		height: 150px;
	}

	.news .newsContent {
		height: 200px;
	}

	.apply {
		height: auto !important;
	}

	.apply .applyText {
		height: 200px;
	}

	.apply .applyImage {
		height: 220px;
	}

	.footerPanel {
		padding-bottom: 0px !important;
	}
}