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

/* Headings */
/* -------------------------------------------------------------------------------------- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, strong { font-weight: 600; }
.h3, h3 { font-size: 1.5rem; }
.h4, h4 { font-size: 1.3rem; }
.h5, h5 { font-size: 1.1rem; }


/* 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%;
}


/* Horizontal Rule */
/* -------------------------------------------------------------------------------------- */
/*
.heading-hr-top, .heading-hr-top-navy {
	display: inline-block;
	padding-bottom: 15px;
    margin-bottom: 25px;
    width: 100%;
	position: relative;
}
.heading-hr-bottom {
	display: inline-block;
	padding-bottom: 15px;
	padding-right: 20px;
    margin-bottom: 25px;
    width: 100%;
	position: absolute;
	bottom: 50px;
}
.heading-hr-top:before, .heading-hr-bottom:before {
    content: '';
    position: absolute;
    width: 90px;
    height: 1px;
    bottom: 0;
    left: 0;
    border-bottom: 5px solid #FDB913;
}
.heading-hr-top-navy:before {
    content: '';
    position: absolute;
    width: 90px;
    height: 1px;
    bottom: 0;
    left: 0;
    border-bottom: 5px solid #00396B;
}
*/


/* 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: 60%; }
.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; }
.vertical-align { display: flex; align-items: center; flex-wrap: wrap; }
[class*='col-'] { margin-bottom: 30px; }

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

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

.shadow {
    -webkit-box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15) !important;
    box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15) !important;
}
.textshadow {
	text-shadow: 0 0 20px rgba(0,0,0,.7);
}

.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-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.twitter-x {
	width: 15px; 
    margin-bottom: 3px;
}


/* Popup Style */
/* -------------------------------------------------------------------------------------- */
.modal-header { 
	padding: 0; 
}
.modal-header .img-fluid { 
	margin-bottom: 0; 
}
.modal-header button.close { 
	background-color: #0088CE; 
}
.modal-header .close { 
	line-height: 0.6; 
    color: #fff; 
    text-shadow: none; 
    opacity: 1; 
    margin: 0 0 0 -3rem; 
    z-index: 1; 
} 
.modal-body { 
	padding: 1.5rem; 
}
.modal-body a[href$=".pdf"]::before { 
	color: #fff; 
    margin-top: -2px; 
}


/* Form Style */
/* -------------------------------------------------------------------------------------- */
.formstyle { 
  width: 100%; 
  height: 50px !important; 
  margin-bottom: 15px; 
  padding: 10px 10px !important; 
  font-size: 14px; 
  color: #999 !important; 
  border-radius: 5px; 
  border: 1px solid #d7d7d7 !important; 
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999 !important;;
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999 !important;;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #999 !important;;
}


/* 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-bottom: 2rem;
}
.table td, .table th {
    padding: .3rem .75rem;
    border-top: 0;
}
.table thead {

}
.table thead th {
    border-bottom: 0 !important;
}
.table tbody tr {
    border-bottom: 1px solid #d7d7d7;
}


/* Buttons */
/* -------------------------------------------------------------------------------------- */
.btn { font-weight: 500; font-size: .8rem; border: 0; border-radius: 0; }
.btn:hover { background: #0088CE; color: white; font-weight: 500; }
.card-signin .btn { font-size: 1.25rem; }


/* Colours */
/* -------------------------------------------------------------------------------------- */
.bg-navy { background: #00396B; color: white; }
.bg-gold { background: #FDB913; color: white; }
.bg-royalblue { background: #0088CE; color: white; }
.bg-grey { background: #d7d7d7; color: white; }
.bg-lightgrey { background: #f0f0f0; color: #00396B; }

.text-navy { color: #00396B; }
.text-gold { color: #FDB913; }
.text-royalblue { color: #0088CE; }
.text-darkgrey { color: #999999; }
.text-grey { color: #d7d7d7; }
.text-white { color: white; }

a.text-gold:hover { color: #FDB913; }

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


/* 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;
}

.search-results {
    width: 100%;
    border: solid 1px #d7d7d7;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 10px;
}
.search-results tr td {
    font-size: 14px;
    line-height: 23px;
    padding: 10px;
    text-align: left;
    border: solid 1px #d7d7d7;
}


/* Navbar */
/* -------------------------------------------------------------------------------------- */
.sticky-top {
    z-index: 1;
}
.navbar { padding: 0; }
.navbar-expand-lg .navbar-nav .nav-link {
	padding: .3rem 0 .3rem 2rem;
    font-size: .9rem;
}
.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.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;
}


/* 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;
}

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

/* Kingsdown 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: #0088CE;
    color: white;
}
.pagination strong {
    color: white;
    padding: 8px 14px;
    text-decoration: none;
    background-color: #00396B;
}

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


/* Breadcrumb Styles */
/* -------------------------------------------------------------------------------------- */
.breadcrumb {
    padding: .4rem 0;
    margin-bottom: 0;
    background-color: initial;
    font-size: .8rem;
}
.breadcrumb-item.active {
    opacity: 0.6;
    font-weight: 600;
}


/* Carousel */
/* -------------------------------------------------------------------------------------- */

/*
.carousel-item {
    height: 700px;
    padding-bottom: 60px;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}
.carousel-caption span {
	background-color: #00396B;
    padding: 5px 20px 0 20px;
    opacity: 0.8;
}
.carousel-caption span:last-child {
    padding: 0 20px 5px; 20px;
}
*/

.carousel-caption {
    text-align: left;
    padding: 0;
    bottom: 10%;
	left: 0;
	right: 0;
}
.carousel-caption h2 {
	font-size: 5.5rem;
	line-height: 1;
    font-weight: 900;
    margin-bottom: 20px;
}


/* 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; 
}

/* Announcement */
.container-fluid.announcement { background: #00396B; }
.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;
}
.emergency h3, .emergency span, .announcement span { color: #ffffff; }
.announcement h3 { color: #FDB913; }

/* Quicklinks */
.quicklinks p { line-height: 0.3; }
.quicklinks p:after { 
    content: '\f0c1';
    font-family: FontAwesome;
    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: 25px;
    line-height: 1.1 !important;
    display: block;
}
.events .card {
	background: white;
	height: 100%;
}
.events .card-title {
    margin-bottom: .2em;
}

/* Info */
.container-fluid.info  {
	background-image: url("https://www.kingsdownschool.co.uk/images/sys_images/LionWatermark.svg");
    background-size: 50%; 
    background-position: right -100px bottom -100px;
    background-repeat: no-repeat;
}
.info h1 {
	line-height: 1.2;
    margin-bottom: 20px;
}
.info .col-lg-6 a {
	color: #0088CE;
}
.info .col-lg-6 a:hover {
	color: #00396B;
}

.resources a[href $='.pdf']:before, a[href $='.PDF']:before {
	content: "";
    padding-right: 0;
}
.resources a[href $='.doc']:before, a[href $='.DOC']:before {
	content: "";
    padding-right: 0;
}
.resources a[href $='.docx']:before, a[href $='.DOCX']:before {
	content: "";
    padding-right: 0;
}

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;
}
a[href $='.doc']:before, a[href $='.DOC']:before {
    font-family: "Font Awesome 5 Free";
    content: "\f1c2";
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    color: #2c5897;
}
a[href $='.docx']:before, a[href $='.DOCX']:before {
    font-family: "Font Awesome 5 Free";
    content: "\f1c2";
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    color: #2c5897;
}

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

/* Beats */
.beats .col-4 {
	overflow: hidden;
}
.beats .col-4 img {
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.beats .col-4:hover img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* 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;
}

#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;
}

/* Choose Us Styles */
/* -------------------------------------------------------------------------------------- */
.choose-us h1 {
	font-size: 3.5em;
    line-height: 1.1;
    font-weight: 800;
}
.choose-us .caption {
	margin: 0 !important;
	padding: 15px;
	font-weight: 400;
	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;
    margin-bottom: -1px;
}
.choose-us img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.choose-us .text-grey {
	color: #b4b4b4;
}

/* Footer */
/* -------------------------------------------------------------------------------------- */
#footer { padding-top: 30px; }