@charset "utf-8";
/*
Theme Name: The 1590 Trust - Conyers School
Theme URI: http://www.1590trust.org.uk
Description: Standard Wordpress template.
Author: The 1590 Trust
Author URI: http://www.1590trust.org.uk
Version: 1.0
*/

body{
	margin: 0;
	padding: 0;
	background: #fefefe;
	font-weight: 400;
	line-height: 0;
	color: #333333;
	font-size: 16px;
	font-family: "Avenir Next", "Avenir", "Avenir Next W01", system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6{
	line-height: 1;
	font-weight:600;
	text-transform: none;
	letter-spacing: 0;
}

h1{
	font-size: 1.75em;
}

h2{
	
}

h3{
	
}

h4{
	
}

h5{
	
}

p{
	
}

a{
	text-decoration:none;
}

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul li, ol li{
	line-height:1.5;
}

tr{
	vertical-align: top;
}

figure{
	margin-block-start: 0;
	margin-inline-start: 0;
}

/*Search bar*/
#search-bar{
	color: #fefefe;
}
.overlay-search{
	height: 100%;
	width: 100%;
	display: none;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0, 0.9); /* Black with a little bit see-through */
}
/* The content */
.search-content {
	position: relative;
	top: 46%;
	width: 80%;
	text-align: center;
	margin-top: 30px;
	margin: auto;
}
/* Close button */
.overlay-search .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
	cursor: pointer;
	color: white;
}
.overlay-search .closebtn:hover {
 	color: #ccc;
}
.overlay-search input[type=search] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: left;
  width: 80%;
  background: white;
}
/* submit button */
.overlay-search button {
  float: left;
  width: 20%;
  padding: 15px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
.overlay-search button:hover {
  background: #bbb;
}
#search-bar .form-control:focus-visible{
	outline: none;
}
.openBtn {
	cursor: pointer;
}

/*page heading*/
#headerwrapper{
	margin: 0px 30px;
}
.header-column{
}
#headercontent{
	padding: 10px 0px 20px 0px;
	width: 100%;
	display: inline-block;
}
/*school logo and text*/
#schoollogo{
	float: left;
}
#schoollogo img{
	float: left;
	height: 100px;
    width: auto;
}
#schoolname{
	float: left;
	padding-left: 20px;
}
#schoolname p{
	margin: 0;
	font-size: 26px;
	line-height: 1.5;
}
/*heading contact and social media container*/
#header-contact{
	position: absolute;
    margin: auto;
    left: 0;
    right: 0;
	line-height: 2;
	padding: 18px 0px;
	text-align: center;
	width: 570px;
	font-size: 12px;
}
#contact{
	display: inline;
}
#contact .icon-right {    
    padding-right: 10px;
}
#contact p{
	margin: 0;
	padding-right: 20px;
	display:inline;
}
#contact a, #socials a, #search-icon a{
	color: #333333;
}
#contact .font-a-icon {    
    margin-right: 10px;
}
#socials{
	/*float: left;*/
	padding: 0px 0px;
	display: inline;
}
#socials .icon-right {    
    padding-right: 20px;
}
#socials .fa-facebook-f:before {
    content: "\f39e";
}
#search-icon{
	padding: 0px 0px;
	display: inline;
}
/*trust logo*/
#trustlogo-wrapper{	
	float: right;
}
#trustlogo{
    display:flex;
    justify-content: space-between;
    gap: 5px;
}
#trustlogo img{
	height: 90px;
    width: auto;
}
#trustlogo #header-apply{
	height: 70px;
	padding: 10px 10px;
}

.main-navigation{
	display: inline-block;
	width: 100%;
	padding: 0px 30px;
	margin:0;	
}

.main-navigation ul{
	padding: 0px;
	margin: 0px;
}

.main-navigation ul li{
	float: left;
	list-style-type: none;
}

.main-navigation ul li.menu-item-has-children > a::after{
	width: 0;
	height: 0;
	display: inline-block;
	position: relative;
	right: -6px;
	top: 4px;
	border: 6px solid transparent;
	border-top-color: #fefefe;
	content: "";
}

.main-navigation ul li a, #quick-links #ql{
	display: block;
	padding: 8px 16px;
	color: #fefefe;	
}

.main-navigation ul li #quick-links ul li{
	float: none;
	list-style-type: none;
}

.main-navigation .icon{
	display:none;
}

.main-navigation .sub-menu{
	display:none;
	position: absolute;
	padding: 0px;
	z-index:1;
	width: 300px;
}

.main-navigation .sub-menu li{
	float: none;
}

.main-navigation .menu-item:hover > .sub-menu {
	display: block;
}

/*Quick Links*/
#quick-links{
	float: right;
	padding-left: 30px;
}

#quick-links #ql{
	line-height: 1.5;
	cursor:pointer;
}

.quicklinksmenu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;	
}

.quicklinks-content {
    position: relative;
    top: 20%;
    width: 100%;
    text-align: right;
    margin-top: 10px;
	line-height: 1;
	font-size: 16px;
}

.quicklinksmenu a {
    padding: 5px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.quicklinksmenu a:hover, .quicklinksmenu a:focus {
    color: #f1f1f1;
}

.quicklinksmenu .closebtn {
    position: absolute;
    /*top: 20px;*/
    right: 0px;
    font-size: 60px;
}

#home-image-wrapper{
	height: 500px;
	position: relative;
	width: 100%;
}

#home-image{
	width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    position: absolute;
    left: 0;
    bottom: 0;
}

#welcome{
	line-height: 1.5;	
    padding: 40px 0px;
	display: inline-block;
	width: 100%;
}

.container{
	margin-left: auto;
	margin-right: auto;
	width: 1200px;
}

#welcome-text{
	width: 50%;
	float: left;
	padding-right: 40px;
}

#welcome-text h1{
	line-height: 1.3;
	margin-top: 0px;
}

#welcome-image{
	width: 50%;
	float: left;
	padding-top: 7px;
}

#welcome-image img{
	width: 100%;
	height: auto;
}

#home-news{
	padding: 40px 0px;
	display: inline-block;
	width: 100%;
}

#home-latest-news{
	display: inline-block;
	width: 100%;
}

#home-latest-news h2{
	padding-bottom: 30px;
}

.news-article{
	float: left;
	padding: 10px;
}

.featured-news{	
	width: 50%;
}

.featured-news .news-article-image{
	height: 426px;
}

.news{
	width: 25%;
}

.news-article-image{
	position: relative;
	height: 150px;
	width: 100%;
	overflow: hidden;
}

.news-article-image .figure-image{
	width: 100%;
	margin: 0;
	padding: 10px;
}

.news-article-content{
	position: relative;
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.15);
}

.news-article-content .news-article-image::after{
	content: '';
	width: 100%;
	height: 5px;
	position: absolute;
	bottom: -5px;
	left: 0;
	webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
	background-color: #d52029;
}

.inner-content:hover .news-article-image::after{
	bottom: 0px;
}

.news-title{
	display: block;
	position: relative;
    background: #fefefe;
    color: #666666;
    width: 100%;
	padding: 20px
}

.news-title h3{
	margin: 0;
	color: #333333;
	line-height: 1.25;
	font-size: 16px;
	max-height: 6rem;
	min-height: 4rem;
}

#latest-news{
	display: inline-block;
	width: 100%;
}

#latest-news .news{
	width: 30%;
}


#go-links{
	display: inline-block;
	width: 100%;
	padding: 40px 0;
}

.go-container{
	float: left;
	width: 50%;
	position: relative;
	padding: 10px;
}

.go-image{
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative; 
	height: 250px;
}

.go-content{
	position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
	height: 100%;
}

.go-image img{
	width:100%;
	height: auto;
}

.go-title{
	text-align: center;
	color: #ffffff;
	font-size: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	line-height: 1.3;
}

#featured-image-wrapper{
	height: 400px;
	position: relative;
	width: 100%;
}

#featured-image{
	width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    bottom: 0;
}

#main-content{
	line-height: 1.5;
}

.column {
  float: left;
}

.column.left-menu {
  width: 30%;
	margin-bottom: 30px;
}

.column.page-content {
  width: 70%;
}

.container:after {
  content: "";
  display: table;
  clear: both;
}

.left-menu{
	padding-right: 20px;
	position:relative;
}

.left-menu .dropbtn{
	margin: 0px;
	margin-top: -44px;
	border-bottom: none;
	display: block;
	padding: 10px 16px;
	color: #fefefe;	
}

.left-menu ul{
	padding: 0px;
	margin: 0px;
}

.left-menu .dropbtn, .left-menu ul li{
	list-style-type: none;
	font-weight: 600;
}


.left-menu ul li:last-child{
	border-bottom: none;
}

.left-menu ul li{
	display: block;
	padding: 10px 16px;
	color: #fefefe;	
}

.left-menu ul li a{
	color: #fefefe;	
}

.page-content{		
    padding: 10px 20px 40px 20px;
}

#breadcrumb-nav{
	line-height: 1.25;
	font-size: 13px;
}

#breadcrumb-nav i{
	padding-right: 5px;
}

#accreditationcontainer{
	margin: 30px 0px;
	display: none;
}

.accreditation-content{
    white-space: nowrap;
    animation: scroll 70s linear infinite;
	padding: 20px 0px;
}

@keyframes scroll{
    0% {
    	transform: translateX(0);
    }
    100% {
    	transform: translateX(-100%);
    }
}

.accreditation-content img{
    display: inline-block;
    width: auto;
    height: 75px;
    margin-right: 10px;
	padding: 0px 20px;
}


#tagline{
	padding: 100px 30px;
	width: 100%;	
   	text-align: center;
}

#tagline h1{
   	color: #fefefe;
   	clear: both;
   	line-height: 1.5;
	margin:0;
	padding-bottom: 30px;
	font-size: 32px;
}

#tagline h2{
    color: #fefefe;
    clear: both;
    line-height: 1.5;
	margin:0;
	font-style: italic;
	font-size:22px;
}

#trustinfo{
	padding: 100px 30px;
	width: 100%;	
    margin: auto;
    text-align: center;
}

#trustinfo h1{
    color: #fefefe;
    clear: both;
    line-height: 1.5;
	margin:0;
	padding: 30px 0px;
	font-size: 32px;
}

#trustinfo p{
    color: #fefefe;
    clear: both;
    line-height: 1.5;
	margin:0;
}

#companyinfo{
	padding: 50px 30px;
	width: 100%;	
    margin: auto;
    text-align: center;
}

#companyinfo p{
	font-size: 12px;
    color: #fefefe;
    clear: both;
    line-height: 1.5;
	margin:0;
}

#sidebar {
    width: 200px;
    float: left;
}

.floatright{
	float: right;
}

/*file image before link text*/
.wp-block-file a::before {
	content: "\f56d";
	position:relative;
	display: inline-block;
	margin-right: 10px;
	font-size: 18px;
	top: 2px;
	color: inherit;
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	font-weight: 900;
}
/*link image before link text*/
.web-link a::before {
	content: "\2601";
	position:relative;
	display: inline-block;
	margin-right: 10px;
	font-size: 18px;
	top: 2px;
	color: inherit;
	font-family: "Font Awesome 5 Free";
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	font-weight: 900;
}
/*wp block file*/
.wp-block-file:not(.wp-element-button){
	font-size: inherit;
}
/*wp-block-image remove display: table*/
.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.aligncenter, .wp-block-image.alignleft, .wp-block-image.alignright{
	display: inherit;
}
/*wp-block-image.alignright*/
.wp-block-image.alignright {
	float: right;
	padding-left: 16px;
}
/*wp block that has a background*/
.has-background{
	padding:16px;
}



/*Quick Link Grid*/
.figure-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    bottom: 0;
}

#content-blocks-wrapper, #quick-links-wrapper{
	position: relative;
	margin: auto;
	display: block;
}

.content-grid{
	display: flex;
	flex-wrap: wrap;
}

.content-grid .content-block{
	width:20%;
}

#quick-links-wrapper .content-grid .content-block{
	width:25%;
}

.content-block{
	float: left;
	padding: 10px 10px 35px 10px;
	display: block;
	position: relative;
	box-sizing: border-box;
	background-color: #ffffff;
}

.content-block-inner{
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
	display: block;
	float: left;
	width: 100%;
	cursor: pointer;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    height: 100%;
    background-color: white;
}

#quick-links-wrapper .content-block-inner{
	background-color: #003650;
}

#quick-links-wrapper .content-block-inner a{
	color: #fefefe;
}

.content-block-image{
	position: relative;
    height: 100px;
    overflow: hidden;
    width: 100%;
}

.content-block figure{
	margin:0;
}

.content-text p{
	line-height: 1;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	text-align: center;
}

#quick-links-wrapper .content-text p {
	color: #fefefe;
}

.no-margin{
	margin: 0px;
}
