html { height: 100%; }
body {
    font-family: 'museo_sans300', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #00396B;
    text-align: left;
    height: 100%;
}

i, em {
	font-family: 'museo_sans300_italic', Arial, sans-serif;
}

b, strong {
	font-family: 'museo_sans700', Arial, sans-serif !important;
	font-weight: normal !important;
}

.h1, h1, .h2, h2 {
	font-family: 'museo_sans900', Arial, sans-serif;
	font-weight: normal !important;
    font-size: 2.5rem;
}

.h3, .h4, .h5, .h6, h3, h4, h5, h6 {
	font-family: 'museo_sans700', Arial, sans-serif;
	font-weight: normal !important;
}

/* Headings */
/* -------------------------------------------------------------------------------------- */
.heading-hr-top, .heading-hr-top-navy {
	display: inline-block;
	padding-bottom: 0;
    margin-bottom: 20px;
    width: 100%;
	position: relative;
}
.heading-hr-bottom {
	display: inline-block;
	padding-bottom: 0;
	padding-right: 40px;
    margin-bottom: 20px;
    width: 100%;
	position: absolute;
	bottom: 50%;
}

/* Generic */
/* -------------------------------------------------------------------------------------- */
a { color: #00396B; }
a:hover { color: #00396B; text-decoration: none; }
a.white { color: white; }
a.white:hover { color: white; text-decoration: none; }

.small, small { font-size: 70%; font-weight: 300; }
.large, large { font-size: 130%; }
.bottom-align-text { position: absolute; bottom: 0; }
.text-shadow { text-shadow: 0px 0px 6px rgba(0,0,0,0.5); }

.container { max-width: 1200px; }
.row { position: relative; }
.section { padding-top: 60px; padding-bottom: 30px; }
.info .section { padding-top: 30px; padding-bottom: 30px; }
.curriculum .section { padding-top: 30px; padding-bottom: 30px; }
.overlap { margin-top: -220px; padding-left: 30px; padding-right: 30px; }
.vertical-align { display: flex; align-items: center; flex-wrap: wrap; }
[class*='col-'] { margin-bottom: 30px; }

.break-container { 
	max-width: 50vw;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.no-margin { margin: 0 !important; }
.no-padding { padding: 0 !important; }

.mt-6, .my-6 { margin-top: 5rem !important; }
.mb-6, .my-6 { margin-bottom: 5rem !important; }

.pt-6, .py-6 { padding-top: 5rem !important; }
.pb-6, .py-6 { padding-bottom: 5rem !important; }

.greyscale { 
	-webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
 }
.greyscale:hover { 
	-webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.img-fluid { margin-bottom: 30px; }
.clear { clear: both; }

hr { margin-top: 0; margin-bottom: 1rem; }
dl, ol, ul { padding-left: 25px; }

blockquote { 
	font-size: 1.1rem;
    padding: 1rem 1.4rem .3rem 1.4rem;
    margin: 0 0 1.5rem;
    background: #E8E8E8;
}
blockquote strong { 
	display: block; 
    font-size: .9rem;
    margin-top: .7rem;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.twitter-x {
    width: 15px;
    margin-top: -7px;
}


/* Back to Top Button */
/* -------------------------------------------------------------------------------------- */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 100px;
    right: 25px;
    display:none;
    font-size: 1rem !important;
    background-color: #0088CE !important;
}


/* Tables */
/* -------------------------------------------------------------------------------------- */
.table { 
	font-size: .9rem;
	margin: 2rem 0; 
}
.table h2, .table h3, .table h4, .table h5, .table h6 { 
	margin: 0;
}
.table td, .table th {
    padding: .5rem .75rem;
    border-top: 0;
}
.table th {
    border-bottom: 0 !important;
    color: white !important;
}
.table th h2, .table th h3, .table th h4, .table th h5, .table th h6 {
    color: white !important;
}
.table tbody tr {
    border-bottom: 1px solid #d7d7d7;
}

/* Exam TimeTables */
/* -------------------------------------------------------------------------------------- */
.timetable {
	width: 100%;
	font-size: .9rem;
	margin: 1rem 0 2rem 0;
}
.timetable h2, .timetable h3, .timetable h4, .timetable h5, .timetable h6 { 
	margin: 0;
}
.timetable td:nth-child(1) {
	font-weight: bold;
}
.timetable td, .timetable th {
    padding: 1rem .75rem;
    border-top: 0;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
    width: 25%;
}
.timetable th {
    border-bottom: 0 !important;
    color: white !important;
}
.timetable th h2, .timetable th h3, .timetable th h4, .timetable th h5, .timetable th h6 {
    color: white !important;
}
.timetable tbody tr {
    border-bottom: 1px solid #d7d7d7;
}


/* Buttons */
/* -------------------------------------------------------------------------------------- */
.btn:hover { 
	background: #0088CE; 
    color: white; 
}
.btn { 
	font-family: 'museo_sans500', Arial, 
	sans-serif !important; font-weight: 500 !important; 
    font-size: 1rem; 
    border: 0; 
    border-radius: 0;
    margin-top: 10px;
}
.btn:hover { 
	background: #0088CE; 
    color: white; 
}
a.btn[href$=".pdf"]::before, a.btn[href$=".PDF"]::before {
    content: "";
    padding-right: 0;
    margin-top: 0;
}


/* Colours */
/* -------------------------------------------------------------------------------------- */
.bg-darknavy { background: #1c2d7c; color: white !important; }
.bg-navy { background: #004c8d; color: white !important; }
.bg-royalblue { background: #286fb7; color: white !important; }
.bg-orange { background: #eb8923; color: white !important; }
.bg-grey { background: #d7d7d7; color: white !important; }
.bg-lightgrey { background: #f0f0f0; color: #00396B !important; }
.bg-white { background: #ffffff; }
.bg-black { background: #000000; }

.text-navy { color: #004c8d; }
.text-royalblue { color: #286fb7; }
.text-brightblue { color: #00a6dd; }
.text-tintedblue { color: #7291c5; }
.text-yellow { color: #f3be17; }
.text-green { color: #87be3c; }
.text-orange { color: #eb8923; }
.text-orange-ws { color: #ef631a; }
.text-darkgrey { color: #999999; }
.text-grey { color: #d7d7d7; }
.text-white { color: white; }
.text-black { color: black; }

.header a:hover, #footer a:hover {
	opacity: 0.7;
    -webkit-transition: opacity .3s ease;
  	-moz-transition: opacity .3s ease;
  	-o-transition: opacity .3s ease;
  	transition: opacity .3s ease;
}


/* Trust Header Bar */
/* -------------------------------------------------------------------------------------- */
.trust-header-bar a { font-size: 0.8rem; }


/* Header - Masthead */
/* -------------------------------------------------------------------------------------- */
.navbar-brand { margin-right: 0; }
.navbar-brand img { width: 100%; }
.header {
	position: relative;
	z-index: 10;
    border-top: 10px solid #eb8923;
}
.homework-icon img { margin-top: -7px; height: 16px; }


/* Search */
/* -------------------------------------------------------------------------------------- */
.searchform {
   	display: none;
	text-align: right;    
}
.searchfield {
   	border: none;
   	padding: 2px 0;
   	background: none;
   	color: white;
   	outline: none;
   	border-bottom: 1px solid white;
   	width: 50%;
  	font-size: 18px;
}
input::-webkit-input-placeholder {
  	color: rgba(255,255,255,0.6);
}
.submitbtn {
    border: none;
    font-size: 20px;
    color: white;
    padding: 6px;
    float: right;
	position: relative;
}


/* Navbar */
/* -------------------------------------------------------------------------------------- */
.sticky-top {
    z-index: 1;
}
.navbar {
	position: relative;
    z-index: 10;
	padding: 0;
}
.navbar-nav .fa-home {
	margin-top: 3px;
}
.navbar-expand-lg .navbar-nav .nav-link {
	padding: .3rem 0 .3rem 2rem;
    font-size: .85rem;
}
.navbar-toggler {
    padding: .1rem .5rem;
    font-size: .8rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    margin: 7px 0;
}
.dropdown-menu {
    font-size: .9rem;
    color: #00396B;
    background-color: #f5f5f5;
    border: 0;
    border-radius: 0;
}
.dropdown-item {
    color: #00396B;
    padding: .3rem 1.3rem .3rem 1.1rem;
}
.dropdown-item:hover {
    color: #0088CE;
    -webkit-transition: color .2s ease;
  	-moz-transition: color .2s ease;
  	-o-transition: color .2s ease;
  	transition: color .2s ease;
}
.dropdown-item:active {
    color: #00396B;
    background-color: #f5f5f5;
}


/* Navbar Multi-level */
/* -------------------------------------------------------------------------------------- */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #00396B;
    margin-top: 5px;
    margin-right: -12px;
}
.dropdown-submenu:hover>a:after {
    border-left-color: #0088CE;
}
.dropdown-submenu.pull-left {
    float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
}


/* Side Bar Styles */
/* -------------------------------------------------------------------------------------- */
/* Side Nav */
.sidenav p {
	font-weight: 400;
    font-size: .9rem;
	margin-bottom: .3rem;
}
.sidenav p.active {
	color: #0088CE;
    font-weight: 600;
}
.sidenav h5 {
	margin-bottom: 10px;
}
.sidenav a:hover {
	color: #0088CE;
    -webkit-transition: color .2s ease;
  	-moz-transition: color .2s ease;
  	-o-transition: color .2s ease;
  	transition: color .2s ease;
}
.sidenav .child-cat { 
	margin-left: 15px;
}

/* Upcoming Events */
.sidebar .events {
	margin-bottom: 20px;
}
.sidebar .events .calendar-text {
	font-size: .8rem;
    margin-bottom: 15px;
}
.sidebar .events .card-text {
	font-size: .8rem;
}

/* Aylesford News */
.sidebar .news {
	margin-bottom: 20px;
}
.sidebar .news .img-fluid {
	margin-bottom: 10px;
}
.sidebar .row.news {
	margin-bottom: 0;
}

/* News Listing Pagination */
.pagination {
    border-top: 1px solid #e0e0e0;
    margin-top: 25px;
    padding-top: 25px;
    width: 100%;
}
.pagination a {
    color: #333;
    padding: 8px 14px;
    text-decoration: none;
    background-color: #d7d7d7;
    transition: background-color .3s;
}
.pagination a:hover:not(strong) {
    background-color: #286fb7;
    color: white;
}
.pagination strong {
    color: white;
    padding: 8px 14px;
    text-decoration: none;
    background-color: #004c8d;
}

/* Search News */
.sidebar .search .btn {
	position: relative !important;
    bottom: 0;
    left: 0;
}
.sidebar .search .formstyle {
	width: 100%;
}


/* Accordion Style */
/* -------------------------------------------------------------------------------------- */
.curriculum_accordion ul {
	list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 15px;
    width: 100%;
}
.curriculum_accordion ul li {
    line-height: 1.2;
}
.curriculum_accordion a, .curriculum_accordion label {
    display: block;
    padding-bottom: 0.7rem;
    padding-left: 0;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
}
.curriculum_accordion label { 
	cursor: pointer;
    margin-bottom: 0;
}
/* Styling first level lists items  */
.group-list a, .group-list label {
    padding-left: 0;
}
/* Styling second level list items */
.sub-group-list a, .sub-group-list label {
    padding-left: 0;
}
/* Styling third level list items  */
.sub-sub-group-list a, .sub-sub-group-list label {
    padding-left: 0;
}
/* Hide nested lists */
.group-list, .sub-group-list, .sub-sub-group-list {
	height: 100%;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height .5s ease-in-out;
    transition: max-height .5s ease-in-out;
}
.accordion input[type=checkbox]:checked + label + ul { 
	/* reset the height when checkbox is checked */
	max-height: 1000px;
}
.curriculum_accordion label > svg {
    float: right;
    -webkit-transition: -webkit-transform .65s ease;
    transition: transform .65s ease;
    margin-top: 0.35em;
}
.accordion input[type=checkbox]:checked + label > svg {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}


/* Breadcrumb Styles */
/* -------------------------------------------------------------------------------------- */
.breadcrumb {
    padding: .4rem 0;
    margin-bottom: 15px;
    background-color: initial;
    font-size: .85rem;
}
.breadcrumb-item.active {
    opacity: 0.6;
    font-family: 'museo_sans500', Arial, sans-serif !important;
	font-weight: 500 !important;
}


/* Carousel */
/* -------------------------------------------------------------------------------------- */
.carousel {
	position: relative;
    z-index: 1;
}
.carousel .overlay-effect {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
    z-index: 5;
	background-color: rgba(0, 75, 140, 0.8);
	overflow:hidden;
}
.carousel-caption {
    z-index: 8;
    text-align: left;
    padding: 0;
    bottom: 200px;
	left: 0;
	right: 0;
/*
	top: 50%;
    -webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
*/
}
.carousel-caption h2 {
    font-family: 'museo_sans900', Arial, sans-serif;
	font-weight: normal !important;
    font-size: 5.5rem;
	line-height: 1;
}


/* Column Styles */
/* -------------------------------------------------------------------------------------- */
.std-col { position: relative; background-size: cover !important; background-position: center center !important; padding: 20px !important; }
.std-col-w-btn { background-size: cover !important; background-position: center bottom !important; padding: 20px 20px 60px 20px !important; }
.std-col .btn, .std-col-w-btn .btn { position: absolute; bottom: 20px; left: 20px; }
.std-col.overlay:before, .info-w-btn.overlay:before {
    content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(to bottom, transparent 0%, black 100%);
	opacity: .3; 
}

/* Statistics */
.intro-title { 
	margin-top: 14px; 
	margin-bottom: 34px;
    line-height: 0.95;
    font-family: museo_sans300;
    font-size: 2.5rem;
}
.character-strengths { 
	margin-bottom: 0px; 
    line-height: 0.9; 
    font-size: 4.5rem; 
    letter-spacing: -2px;
}
.stats {
	padding-bottom: 210px;
}
.stats .border-right {
	border-right: 1px solid white;
}
.stats .border-bottom {
	border-bottom: white 1px solid;
}
.stat-title {
	font-family: museo_sans500;
    font-size: 2rem;
}
.stat-numbers {
	font-size: 4.5rem;
    line-height: 1.05;
}

/* Announcement */
.container-fluid.announcement { background: #003D7E; }
.container-fluid.emergency { background: #c61619; }
.announcement .section, .emergency .section { padding-top: 45px; padding-bottom: 0; }
.announcement .section .fa-info-circle, .emergency .section .fa-info-circle {
	font-size: 80px;
	margin-top: -5px;
	border-right: 1px solid white;
	padding-right: 18px;
    opacity: 0.6;
}
.announcement a[href $='.pdf']:before, a[href $='.PDF']:before {
    font-family: "Font Awesome 5 Free";
    content: "";
    display: none;
    padding-right: 0;
    vertical-align: middle;
    color: transparent;
    margin-top: 0;
}
.emergency h3, .emergency span, .announcement span { color: #ffffff; }
.emergency a { color: #ffffff; }
.emergency a[href$=".pdf"]::before, .emergency a[href$=".PDF"]::before {
    color: #ffffff;
}

.announcement h3 { color: #FDB913; }
.announcement a { color: #ffffff; }

/* Quicklinks */
.quicklinks p { line-height: 0.3; }
.quicklinks p:after { 
    content: '\f0c1';
    font-family: "Font Awesome 5 Free";
    font-weight: normal;
    position: absolute;
    right: 20px;
    margin: 3px 0 0 0;
}
.quicklinks hr {
    margin-top: 0;
    margin-bottom: 1.1rem;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.8);
}
.quicklinks h3 {
    margin-bottom: 30px;
}

/* Upcoming Events */
.calendar-text {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.1 !important;
    display: block;
}
.events .card {
	background: white;
	height: 100%;
	border-radius: 0;
}
.events .card-title {
	font-family: 'museo_sans500', Arial, sans-serif;
    font-weight: normal !important;
    margin-bottom: .2em;
}

/* Info */
.info h1 {
	line-height: 1.2;
    margin-bottom: 20px;
}
.info h2 {
	line-height: 1.2;
    font-size: 2rem;
}
.info h2, .info h3, .info h4, .info h5, .info h6 {
	color: #004c8d;
}
.info b, strong {
	font-size: 1rem
}
.info .col-lg-6 a {
	color: #0088CE;
}
.info .col-lg-6 a:hover {
	color: #00396B;
}
a[href $='.pdf']:before, a[href $='.PDF']:before {
    font-family: "Font Awesome 5 Free";
    content: "\f1c1";
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    color: #e32222;
    margin-top: -5px;
}
.info .carousel .carousel-item .caption {
	margin-top: -15px;
}

/* Curriculum */
.curriculum h1 {
	line-height: 1.2;
    margin-bottom: 20px;
}
.curriculum h2 {
	line-height: 1.2;
    font-size: 2rem;
}
.curriculum h2, .curriculum h3, .curriculum h4, .curriculum h5, .curriculum h6 {
	color: #004c8d;
}
.curriculum b, strong {
	font-size: 1rem
}
.curriculum .col-lg-6 a {
	color: #0088CE;
}
.curriculum .col-lg-6 a:hover {
	color: #00396B;
}
a[href $='.pdf']:before, a[href $='.PDF']:before {
    font-family: "Font Awesome 5 Free";
    content: "\f1c1";
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    color: #e32222;
    margin-top: -5px;
}
.curriculum .carousel .carousel-item .caption {
	margin-top: -15px;
}
.curriculum .table {
	font-size: .9rem;
	margin: 1rem 0 1.5rem 0;
}
.curriculum .table td, .curriculum .table th {
	padding: 1rem 1rem;
	border-top: 0;
}
.curriculum .nav_cat_archive {
	list-style: none;
    padding-left: 0;
}
.curriculum .nav_cat_archive ul {
	list-style: none;
    padding-left: 10px;
}
.curriculum .nav_cat_archive strong {
	font-family: 'museo_sans500', Arial, sans-serif !important;
	font-weight: normal !important;
    font-size: 0.9rem;
}

/* Latest News */
.section.news {
    padding-top: 30px;
}
.news .height { 
	min-height: 410px; 
}
.news .heading-hr-bottom { 
	bottom: 0;
}
h2.news-title, h3.news-title {
	line-height: 1.1;
}
h2.news-title {
    font-size: 1.8rem;
}
h3.news-title {
    font-size: 1.2rem;
}
.news .date strong { 
	font-size: .8rem !important; 
}
.news .news-image {
    height: 150px;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}
.news .nhrm-t {
	margin-top: 15px;
}
.news .nhrm-b {
	margin-bottom: 15px;
}

#news-listing h1 {
	line-height: 1;
	margin-bottom: 0;
	font-size: 5rem;
	text-transform: uppercase;
	letter-spacing: -1px;
}
#news-listing .news .lrg-news-item .news-image {
    height: 395px;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}
#news-listing .news .news-image {
    height: 150px;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

/* Exam News */
.exam-news .exam-news-image {
    height: 135px;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}
.exam-news p {
    line-height: 1.3;
}

/* Character Education */
.character-ed {
	margin-right: 0px;
    margin-left: 0px;
}

/* Quicklink Boxes */
.quicklink-boxes .col-6:hover img {
	opacity: 0.7;
}
.quicklink-boxes .col-6 img {
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

/* Alumni */
.imagebox {
    padding: 0px;
    position: relative;
    text-align: center;
    width: 100%;
    background-size: cover !important;
    background-position: center center !important;
	padding: 75px 0 !important;
}
.imagebox img {
    opacity: 1;
    transition: 0.5s opacity;
    margin-bottom: 0;
}
.imagebox .imagebox-desc {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0px;
    color: white;
    font-size: .9rem;
    left: 0px;
  	padding: 10px 15px;
    position: absolute;
    transition: 0.5s padding;
    text-align: center;
    width: 100%;
}
.imagebox:hover img {
    opacity: 0.7;
}
.imagebox:hover .imagebox-desc {
    padding-bottom: 15%;
}
.alumni-image {
	background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: 600px;
}

/* Form Styling */
.form-control {
    padding: 1rem 1rem;
    border-radius: 0;
}
.contact input[type="checkbox"], input[type="radio"] {
	margin-right: 10px;
}
.radio label{
	margin-right: 2em;
}
.radio input[type=radio] {transform:scale(1.5);}
select.form-control:not([size]):not([multiple]) {
	height: calc(3.4rem + 2px);
}


/* Map */
#map { height: 350px; }
.gm-style-mtc { display: none; }
.review-box { display: none; }


/* Choose Us Styles */
/* -------------------------------------------------------------------------------------- */
.choose-us h1 {
	font-size: 3.5em;
    line-height: 1;
}
.choose-us .caption {
	margin: 0 !important;
	padding: 15px;
	font-family: "museo_sans300", Arial,sans-serif;
	background-color: rgba(255, 255, 255,.1);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.choose-us .embed-responsive {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.choose-us img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}


/* Footer */
/* -------------------------------------------------------------------------------------- */
#footer.bg-royalblue { padding-top: 30px; }
#footer.bg-navy { padding-top: 30px; }