/*
Theme Name: Enhance
Theme URI: http://twistedesign.co.uk
Description: Twisted Design
Version: 0.0.1
Author: Straw Jonny
Author URI: https://strawjonny.com
*/


/*------------------------------------*\
MAIN
\*------------------------------------*/

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-Light.ttf);
  font-weight: 300;
}

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-Medium.ttf);
  font-weight: 500;
}

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: Shape;
  src: url(/wp-content/themes/enhance/fonts/Shape-Black.ttf);
  font-weight: 800;
}



h1, h2, h3, h4, h5, h6 {
  font-family: 'Shape', sans-serif;
  font-weight: 600;
  margin: 0;
}

.topbar h1 {
  font-size: 5rem;
  line-height: 5rem;
}

.topbar h2 {
  font-weight: 400;
  font-size: 2.5rem;
  margin-top: 10px;
}

h1 {
  font-size: 6rem;
}

@media only screen and (min-width:1140px) {
  
  .home .main-content h1 {
    font-size: 5rem;
    line-height: 5rem;
  }

  h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    color: transparent;
  }
}

h3.has-lightblue-color strong {
  -webkit-text-stroke: 1px #312783;
  text-stroke: 1px #312783;
}

/* global box-sizing */
*,
*:after,
*:before {
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
  font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
  font-size:62.5%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: "Sharp", sans-serif;
  color:#444;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 3rem;
}
/* clear */
.clear:before,
.clear:after {
  content:' ';
  display:table;
}

.clear:after {
  clear:both;
}
.clear {
  *zoom:1;
}
img {
  max-width:100%;
  vertical-align:bottom;
}
a {
  color:#444;
  text-decoration:none;
}
a:hover {
  color:#09bc8a;
}
a:focus {
  outline:0;
}
a:hover,
a:active {
  outline:0;
}
input:focus {
  outline:0;
  border:1px solid #04A4CC;
}

.startinghide {
  opacity: 0;
}

ol {
  list-style-position: inside;
  padding-left: 0;
}

ol li {
  border-bottom: solid #cfcfcf 2px;
  padding: 20px 0 20px 0;
}

.hide {
  display: none;
}

.orange {
  color: #a186be;
}

hr.orange {
  border-color: #a186be;
}

/*------------------------------------*\
STRUCTURE
\*------------------------------------*/




body {
  transition: background-color 1s ease;
  overflow-x: hidden;
}

/* wrapper */
.wrapper {
  width:90%;
  margin:0 auto;
  position:relative;
}
/* header */
header {
  width: 100%;
  position: relative;
  background-position: center center;
  background-size: cover;
  height: 80vh;
}

#homepage_slider {
  border-top: solid 5px #312783;
  border-bottom: solid 5px #312783;
}

.header-content {
  display: block;
 
  text-align: center;
  color: white;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
  height: 100%;
  min-height: 100%;
}

.video-header h1 {
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
}

.header-content h1 span {

  background-color: #1a135a;
  padding: 5px 20px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.header-content p {
  margin-top: 0;
  font-weight: 800;
  font-size: 2em;
  color: black;
}

.header-content-text {
  height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-top: 250px;
}
}

.btn {
  color: black;
  background-color: white;
  padding: 5px 20px;
}

.homepage-bar .btn {
  background-color: transparent;
  color: white;
  border-style: solid;
  border-width: 2px;
  border-color: white;
  font-weight: 800;
  padding: 5px 30px;
}

.header-content p span {
  background-color: white;
  padding: 5px 20px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* logo */
.logo img{
  height: 150px;
}
.logo-img {

}

@media only screen and (max-width:1139px) {
  .logo img {
    height: auto;
  }

  .faux-header-inner img {
    max-width: 50%;
  }

  .faux-header-inner h3 {
    display: none;
  }

  h1 {
    font-size: 3rem;
    line-height: 3rem;
  }
  
  .home .topbar {
    padding-top: 0 !important;
  }
  
  .home .topbar h2 {
    font-size: 2rem;
  }
  
  .topbar {
    height: 150px;
  }
  
  .video-overlay .btn {
    font-size: 2rem !important;
    padding: 10px !important;
  }
  
  .carousel-school a {
    text-align: center;
    margin-top: 20px;
  }
  
  .carousel-school h3 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .footer-container div {
    flex-direction: column;
    text-align: center;
  }
  
  .footer i {
    margin-right: 0 !important;
  }
  
}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}

.full {
  width: 100vw;
  margin-left: -5.5555%;
  margin-right: -5.5555;
}



.topbar {
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 0;
  z-index: 1000;
  position: absolute;
  padding-top: 50px;
  padding-right: 5%;
  padding-left: 5%;
  height: 200px;
  padding-bottom: 50px;
}

.topbar .left, .topbar .right {
  display: flex;
  align-items: center;
  width: 20%;
}

.topbar .right {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
}

.topbar .primary > ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topbar .primary ul li {
  margin-right: 50px;
}

.menu-btn {
  margin-right: 50px;
  font-size: 2rem;
}

@media only screen and (min-width:1140px) {

  body.siteorigin-panels-before-js .siteorigin-panels-stretch {
    margin-left: 0 calc(-5% - 15px) !important;
    margin-right: 0 calc(-5% - 15px) !important;
    padding-left: 0 calc(5% + 15px) !important;
    padding-right: 0 calc(5% + 15px) !important;
  }
}

@media only screen and (max-width:1139px) {

  body {
    font-size: 1.75rem;
  }

  body.siteorigin-panels-before-js .siteorigin-panels-stretch {
    margin: 0 -5% !important;
    padding: 0 5% !important;
  }

  .topbar .primary {
    display: none;
  }
  
  .topbar .center {
    display: none;
  }
  
  

  .testimonials-title img {
    margin-left: 0 !important;
  }

  .group-header {
    margin-left: 10%;
    margin-right: 10%;
  }
}

/* Navigation */

.navicon a {
  font-size: 3rem;
  transition: color 1s;
}

.navicon {
  margin-top: 5px;
}

.open .navicon a {
  color: white !important;
}

nav>ul {
  margin: 0 30px;
}

.primary ul {
  list-style: none;
}

nav.primary {
  padding-top: 200px;
  text-transform: capitalize;
}

nav a {
  font-size: 2rem;
  font-weight: 700;
}

nav ul {
  padding: 0;
  z-index: 99999;
  position: relative;
}

nav li {
  padding-top: 20px;
  border-top-style: solid;
  border-top-color: white;
  border-top-width: 1px;
  padding-bottom: 10px;
}

nav>ul>li>a {
  margin-left: 10px;
}

.sub-menu li {
  border-top-width: 0 !important;
  border-top-style: none !important;
  padding-bottom: 0;
  padding: 5px 40px;
}

.sub-menu a {
  font-weight: 400;
}

/*
.sub-menu a:before {
content: "- ";
margin-right: 10px;
}
*/

.sub-menu {
  display: none;
  padding-bottom: 10px;
}

.menu-item-has-children>a:after {
  margin-left: 10px;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900; 
  content: "\f0d7";
  color: white;
  font-size: 2rem;
}

.menu-item-has-children>a.open:after {
  content: "\f0d8";
}

}

/*------------------------------------*\
PAGES
\*------------------------------------*/



/*------------------------------------*\
IMAGES
\*------------------------------------*/



/*------------------------------------*\
TYPOGRAPHY
\*------------------------------------*/



h2 {
  font-size: 4rem;
  line-height: 4rem;
}

h3 {
  font-size: 3rem;
  line-height: 3rem;
}

h4 {
  margin: 20px 0;
  font-size: 1.75rem;
}

/*------------------------------------*\
RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:1024px) {

}
@media only screen and (min-width:1025px) {

}


/*------------------------------------*\
MISC
\*------------------------------------*/

::selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-webkit-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-moz-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}

/*------------------------------------*\
WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display:block;
  margin:5px auto 5px auto;
}
.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
a img.alignnone {
  margin:5px 20px 20px 0;
}
a img.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.wp-caption {
  background:#FFF;
  border:1px solid #F0F0F0;
  max-width:96%;
  padding:5px 3px 10px;
  text-align:center;
}
.wp-caption.alignnone {
  margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin:5px 20px 20px 0;
}
.wp-caption.alignright {
  margin:5px 0 20px 20px;
}
.wp-caption img {
  border:0 none;
  height:auto;
  margin:0;
  max-width:98.5%;
  padding:0;
  width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size:11px;
  line-height:17px;
  margin:0;
  padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
PRINT
\*------------------------------------*/

@media print {
  * {
    background:transparent !important;
    color:#000 !important;
    box-shadow:none !important;
    text-shadow:none !important;
  }
  a,
  a:visited {
    text-decoration:underline;
  }
  a[href]:after {
    content:" (" attr(href) ")";
  }
  abbr[title]:after {
    content:" (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content:"";
  }
  pre,blockquote {
    border:1px solid #999;
    page-break-inside:avoid;
  }
  thead {
    display:table-header-group;
  }
  tr,img {
    page-break-inside:avoid;
  }
  img {
    max-width:100% !important;
  }
  @page {
    margin:0.5cm;
  }
  p,
  h2,
  h3 {
    orphans:3;
    widows:3;
  }
  h2,
  h3 {
    page-break-after:avoid;
  }
}

.home-intro {
  text-align: center;
  width: 70%;
  margin: 0 15%;
}

.key-profile {
  width: 95%;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  color: white;
  margin: 0 2.5%;
  height: 200px;
}

.key-profile-image img {
  width: 100%;
}

.homepage-header {
  width: 80%;
  position: absolute !important;
  right: 0;
  margin-top: 50px;
}

@media only screen and (max-width:1139px) {

  .c-accordion__title {
    font-size: 2.5rem !important;
    line-height: 2.5rem !important;
  }

  .mobile-menuhide {
    display: none;
  }

  .topbar .right .btn {
    display: none;
  }

  .side-borders {
    border-width: 0 !important;
  }
  
  .video-header .wp-block-embed__wrapper {
        padding-bottom: 133.33% !important;
    }
  
  .video-overlay .faux-header-inner {
    padding-top: 0;
    padding-bottom: 0;
  }

}

@media only screen and (min-width:1140px) {

  .side-borders {
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 2px !important;
    border-right-width: 2px !important;
  }

  .side-borders-right {
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    border-right-width: 2px !important;
  }

  .side-borders-left {
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 2px !important;
    border-right-width: 0 !important;
  }

  .profiles-border-top {
    border-top-width: 0 !important;
    border-bottom-width: 2px !important;
    border-left-width: 0 !important;
    border-right-width: 0 !important;
  }

  .profiles-border-bottom {
    border-top-width: 2px !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    border-right-width: 0 !important;
  }



}

@media only screen and (min-width:1630px) {

  .ourvalues-box {
    padding-right: 10rem;
    padding-left: 10rem;
  }
}

.testimonial_rotator.template-twopigs .slide {
  text-align: left;
}

.testimonial_rotator.template-twopigs .testimonial_rotator_slide_inner {
  padding: 10px 1%;
}

.testimonial_rotator_wrap {
  margin: 0;
}

.homepage-services h3, .other-services h3 {
  margin-bottom: 50px;
}

.homepage-service-list {
  display: flex;
  flex-wrap: wrap;

}

.homepage-service {
  width: 25%;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-bottom: 50px;
}

.homepage-service h4 {
  margin: 20px 0 0 0;
  font-size: 3rem;
}

.homepage-service p {
  margin: 0;
  font-size: 3rem;
  line-height: 2rem;
}

.logos {
  display: flex;
  justify-content: space-around;
  margin: 100px 0;
  flex-direction: column;
  align-items: center;
}

.group-header {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-bottom: 50px;
}

.group-logos {
  display: flex;
  justify-content: space-around;
  margin-bottom: 100px;
}

.group-logos img {
  height: 80px;
}

@media only screen and (max-width:1024px) {

  .homepage-service {
    width: 45%;
    margin: 0 2.5%;
  }

  .group-logos {
    flex-wrap: wrap;
  }

  .group-logos a {
    margin-bottom: 30px;
  }
}

.testimonials-title-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.testimonial_rotator.template-twopigs .testimonial_rotator_quote {
  font-size: 1.8rem;
  line-height: 1.5;
  padding-bottom: 10px;
}

.people-bio {
  font-size: 1.8rem;
}

@media only screen and (max-width:1139px) {

  .socials-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .socials i {
    margin-right: 5px;
    margin-left: 5px;
  }
  
  .service-header {
    padding: 30px 5% 50px 5%;
    flex-direction: column;
    text-align: center;
  }

  .callheart img {
    width: 30% !important;
  }

  .blog-featured {
    flex-direction: column;
    padding: 30px 5% !important;
    background: rgb(49,39,131);
    background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
  }

  .blog-featured-image, .blog-featured-text {
    width: 100% !important;
  }

  .blog-featured-text {
    margin-top: 0 !important;
  }

  .blog-featured-text h2 {
    line-height: 1.2;
  }

  .blog-featured-date {
    display: none;
  }

  .blog-item {
    width: 100% !important;
    margin-bottom: 30px;
  }

  .blog-post-header {
    flex-direction: column;
    padding: 0 !important;
  }

  .blog-post-image, .blog-post-title {
    width: 100% !important;
  }

  .blog-post-title h1 {
    margin: 0 !important;
    font-size: 5rem !important;
  }

  .contactform input, .contactform textarea {
    width: 100% !important;
  }

}


.service-header {
  padding: 70px 5%;
  width: 100%;
  display: flex;
  align-items: center;
}

.service-header h1 {
  margin-left: 20px;
  font-size: 5rem;
}

.page-title {
  text-align: left;
  font-size: 5rem;
  color: #1a135a;
}

.blog-featured {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-featured h2 {
  margin: 0;
}

.blog-featured-image {
  width: 39%;
}
.blog-featured-text {
  width: 57%;
}

.blog-featured-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.blog-featured-date, .blog-featured-text a {
  color: white;
  font-weight: 800;
  font-size: 3rem;
}

a.blog-featured-more {
  margin-top: 30px;
  text-align: right;
  margin-right: 10%;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  flex-direction: column;
}

.blog-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
}

.blog-item-image {
  width: 33%;
}

.blog-item-text {
  display: flex;
  flex-direction: column;
  width: 63%;
}

.blog-post-header {
  display: flex;
  align-items: center;
  padding: 80px;
  justify-content: space-between;
}

.blog-post-image {
  width: 39%;
}

.blog-post-title {
  width: 59%;
  font-size: 4rem;
}

.main-header {
  text-align: center;
  text-transform: capitalize;
}

.contactform {
  padding: 30px 50px;
}

.contactform input, .contactform textarea {
  padding: 10px;
  width: 90%;
  border-width: 0;
  outline: none;
}

.contactform input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-weight: 800;
}
.contactform input::-moz-placeholder { /* Firefox 19+ */
  font-weight: 800;
}
.contactform input:-moz-placeholder { /* Firefox 18- */
  font-weight: 800;
}

.contactform input[type="submit"] {
  width: auto;
  padding: 10px 70px;
  font-weight: 800;
}

.map {
  width: 100%;
}

.blog-post-content p, .blog-post-content ul, .blog-post-content h3 {
  margin: 20px 0;
}

video {
  width: 100%    !important;
  height: auto   !important;
}

.videoWrapper, .sow-video-wrapper, .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper iframe, .sow-video-wrapper iframe, .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}


input[type="submit"] {
  border-width: 0;
  padding: 5px;
  margin: 10px 0;
  font-weight: 800;
  width: 100%;
}

ul.properties li {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

ul.properties li .result-top {
  display: flex;
}

ul.properties li .result-bottom {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

ul.properties .thumbnail {
  margin-right: 30px;
}

ul.properties .details h3 {
  margin: 0 0 20px 0 !important;
  line-height: 4rem;
  font-size: 3rem;
}

ul.properties .details .price {
  margin-bottom: 20px;
}

ul.properties .actions {
  margin-top: 20px;
  font-weight: 800;
}

.propertyhive ul.properties li .thumbnail {
  min-width: 250px;
  width: 250px;
  max-width: 250px;
}

.propertyhive ul.properties li .details {
  width: auto;
}

.propertyhive-result-count {
  font-style: italic;
}

.service-header h1 {
  color: white;
}

.entry-summary h1 {
  margin-top: 0;
}


.tabs {
  width: 99%;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.tabs a {
  padding: 10px 20px;
  display: inline-block;
  border-width: 1px;
  border-style: solid;
  margin-bottom: -1px;
  min-width: 120px;
  text-align: center;
}

.tab {
  display: none;
}

.enquiry-form form, .enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: #46b450;
  text-align: center;
  background-color: white;
}

.topbar a {
  display: flex;
  align-items: center;
}

.topbar i {
  margin-right: 10px;
}

.navicon a i {
  color: white;
  font-size: 4rem;
}




body.open {
  /*background-image: url('/wp-content/uploads/2021/04/menu-door.png');*/
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
}

.service-header {

  color: white;
  background: rgb(49,39,131);
  background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
}

.service-page {
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 50% 50%;
}

.page-title {
  color: #1a135a;
}

.blog-featured {
  color: white;
  background: rgb(49,39,131);
  background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
}

.blog-item-date {
  color: #1a135a;
}

.blog-post-title, .blog-post-content h3, .blog-post-content h4, .blog-post-content h5 {
  color: #1a135a;
}

.blog-post-content h3, .blog-post-content h4, .blog-post-content h5, .blog-post-content p {
  margin: 10px 0;
}


footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.footer-container {
  padding: 50px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 600;
  justify-content: space-between;
}


.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-container div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-container div:nth-child(2) {
  margin-left: 20px;
  margin-right: 20px;
}

.footer-container div:nth-child(3) {
  margin-left: 20px;
  margin-right: 20px;
}

.footer-container i { 
 border-radius: 100%;
  background-color: white;
  padding: 10px;
  margin-right: 20px;
  font-size: 2rem;
}

.footer-top>div {

}

.footer-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;

}

.footer-top email {
  width: 40%;
}

.footer-image img {
  max-height: 150px;
}

.footer-texts {
  padding-left: 5%;
  width:75%;
}

.center {
  text-align: center;
}

.home-loop {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.home-loop-post {
  width: 100%;
  margin-bottom: 30px;
}

.home-loop-post article {
  display: flex;
  background-color: #312783;
  color: white;
  width: 100%;
}

.home-loop-post article a {
  color: white;
}

.home-loop-post-left {
  width: 33%;
  background-position: center center;
  background-size: cover;
}

.home-loop-post-right {
  width: 66%;
}

.home-loop-post-right-inner {
  padding: 50px;
  display: flex;
}

.home-loop-inner-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 20px;
  border-right: solid white 2px;
  margin-right: 20px;
}

.home-loop-inner-left p {
  margin: 0;
}

.home-loop-post-date {
  font-size: 4rem;
}

.home-loop-inner-right {
  display: flex;
  flex-direction: column;
}

.home-loop-post-title {
  margin: 0 0 20px 0;
  font-size: 2rem;
}

.home-loop-post-more {
  align-self: flex-end;
}

.homepage-news-highlight .highlight {
  margin-bottom: 0;
}

.homepage-news-highlight .title {
  margin-top: 0;
  line-height: 1.2em;
}

.homepage-news-highlight a {
  margin-top: 20px;
  display: block;
  text-align: right;
  font-weight: 800;
}

header.news p {
  color: black;
}

.archive header .header-above-title {
  font-weight: 800;
}

.header-left {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.header-left-text {
  padding-right: 5%;
}

.header-left-text .date {
  font-weight: 700;
}

.header-left-text h1 {
  color: #1a135a;
}

.header-right {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.single hr {
  color: #e7e7e7;
  border-style: solid;
  border-color: #e7e7e7;
  background-color: #e7e7e7;
  margin-top: 30px;
}



.socials {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 700;
}

.social-links p {
  margin: 0;
}

.social-links a {
  background-color: #1a135a;
  color: white;
  margin-left: 10px;
}

.social-links .facebook-icon {
  padding: 4px 13px;
}

.social-links .twitter-icon {
  padding: 4px 9px;
}

.show-more-button {
  margin: 30px 0;
  width: 100%;
  display: flex;
  padding: 10px 0;
  justify-content: space-around;
  color: #1a135a;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}

.socialbars {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.socialbars a {
  margin-bottom: 20px;
  background-color: #1a135a;
  width: 100%;
  font-size: 3rem;
  color: white;
  padding: 20px 30px;
  align-items: center;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.socialbars a i {
  margin-left: 20px;
}

.page-content {
  padding: 50px 0;
}





@media only screen and (max-width:1139px) {


  .home-welcomes-left-text {
    margin-left: 0;
  }

  .home-welcomes-left-inside img {
    width: 100% !important;
  }

  .locals-boxes {
    flex-direction: column;
  }

  .local-box {
    width: 100%;
  }

  .home-loop {
    flex-direction: column;
  }

  .home-loop-post {
    width: 100%;
    margin-bottom: 30px;
  }


  .navicon a {
    font-size: 3rem;
  }



  .header-content h1 {
    line-height: 5rem;
    font-size: 5rem;
  }

  h3 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .header-content {
    padding-bottom: 0;
  }

  .header-content h3 {
    font-size: 2.5rem;
  }

  .homepage-bar .btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trustbar {
    padding: 40px 5% 0px 5%;
  }

  .trustbar img {
    max-height: 70px;
  }

  .endorsementbar {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row !important;
    align-items: center;
    padding: 0 5% 40px 5% !important;
  }

  .endorsementbar div {
    width: calc(50% - 20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px;
  }

  .endorsementbar img {
    max-height: 50px;
  }

  .cedarbar {
    font-size: 2.5rem;
    padding: 20px 0;
  }

  .cedarbar img {
    max-width: 8rem;
  }

  .footer-top-left {
    align-items: flex-start;
  }

  .footer-top-left img {

  }

  .right-overlapping-left {
    margin-left: 0 !important;
    padding-left: 5%;
    padding-right: 5%;
  }

  .image-left-behind {
    margin-right: 0 !important;
  }
}

.home-courses-text i {
  margin-left: 20px;
}

.home-news-left {
  color: #312783;
  font-size: 5rem;
  line-height: 5.5rem;
}

.grey-text {
  color: #464646;
}

.home-courses-new {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-image: url(/wp-content/uploads/2021/05/courses-background-bigdoor.png);
  background-position: center center;
  background-size: cover;
  padding: 200px 100px 200px 100px;
  margin-left: 0;
  margin-right: 0;
}

.home-courses-search {
  margin: 40px 0 50px 0;
  width: 90%;
  padding: 15px;
  font-size: 3rem;
}

.home-courses-search::placeholder {
  color: #444444;
  opacity: 0.5;
}

.home-courses-content {
  max-width: 100%;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.home-courses-text {
  width: 60%;
  margin-bottom: 80px;
}

.home-courses-buttons {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.home-courses-buttons a {
  color: white;
  font-style: normal;
}

.home-courses-button {
  background: rgb(49,39,131);
  background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
  padding: 20px 30px;
  font-size: 4rem;
  color: white;
  margin-right: 30px;
}

.home-courses-button-orange {
  background: rgb(49,39,131);
  background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
  padding: 20px 30px;
  font-size: 4rem;
  color: white;
}

.home-welcomes-left-play, .home-welcomes-left-play:hover {
  color: white;
  cursor: pointer;
}

.videolinkide {
  display: none;
}

.course-header .header-content h2, .course-header .header-content h1 {
  margin: 0;
}

.course-header h1 {
  font-size: 10rem;
  line-height: 10rem;
  text-transform: uppercase;
}

.course-bottom {
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.course-bottom-right {
  margin-left: 30px;
}

.course-bottom-left i {
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0px 0px 0px 2px #fff;
  padding: 0.5em 0.6em;
  font-size: 3rem;
}

.course-bottom-right {
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 2.6rem;
  font-weight: 900;
}

.course-bottom-right-top, .course-bottom-right-bottom {
  color: white;
}

.course-wrapper {
  padding-left: 10%;
  padding-right: 10%;
}

.course-top {
  margin-top: 100px;
}

.course-intent .text {
  margin: 30px 0;
}

.course-top-inside {
  width: 85%;
  border-right: solid #cfcfcf 3px;
  padding-right: 3%;
}

.course-whatstudy {
  margin-right: -25%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.course-whatstudy-left {
  width: 49%;
}

.course-whatstudy-right {
  width: 49%;
  display: flex;
  justify-content: space-around;
  background-image: url("/wp-content/themes/newcollege/img/whatstudy-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
}

.course-whatstudy-right img {
  width: 75%;
  object-fit: contain;
}

.course-video {
  background-image: url("/wp-content/themes/newcollege/img/video-background.jpg");
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  margin-top: 20px;
}

.course-video-container {
  max-width: 50%;
  margin-left: 25%;
}

.course-video h2, .foundationcourse-video h2 {
  font-size: 8rem;
  margin: 50px 0 30px 0;
  line-height: 8rem;
  text-transform: uppercase;
}

.course-video p {
  margin: 0;
}

.course-video p a {
  color: white;
}

.foundationcourse-video .wp-block-embed-vimeo, .center-video  .wp-block-embed-vimeo, .foundationcourse-video .wp-block-embed-youtube, .center-video  .wp-block-embed-youtube {
  max-width: 50%;
  margin-left: 25%;
}

article ul {
  padding-left: 0;
  list-style-position: outside;
  margin-left: 20px;
}


article h2 {
  line-height: 8rem;
  font-size: 8rem;
}






@media only screen and (max-width:1139px) {

  article h2 {
    line-height: 5rem;
    font-size: 5rem;
  }

  .home-courses-buttons {
    flex-direction: column;
  }

  .home-courses-content {
    width: 100%;
    max-width: 100%;
  }

  .home-courses-new {
    background-position: center right !important;
    padding: 0 !important;
  }


  .home-courses-button {
    margin-right: 0;
    width: 100%;
    font-size: 3.5rem;
  }

  .home-courses-button-orange {
    margin-top: 0;
    width: 100%;
  }

  .home-courses-text {
    width: 100%;
    margin-bottom: 0;
    padding: 80px 30px;
    color: white;
    font-size: 4rem;
    line-height: 4rem;
  }

  .home-courses-search {
    margin: 30px 0 30px 0;
    width: 90%;
  }

  .home-post-loop, .wp-block-query-loop {
    margin-left: 0;
  }

  .home-post-loop .wp-block-group {
    border-left: solid 5px white;
    margin: 10px 0;
    margin-left: 10px;
    width: 80%;
    max-width: 80%;
  }

  .home-post-loop li {
    flex-direction: column !important;
    padding: 20px;
  }

  .home-post-loop .wp-block-post-date {
    margin-left: 0 !important;
    margin-top: 20px !important;
  }

  .home-post-loop .wp-block-post-title {

  }

  .home-post-loop li figure {
    width: 100% !important;
  }

  .home-post-loop h3 a {
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin: 0;
    margin-left: 20px;
  }


  .student-speech {
    margin-left: 0;
  }

  .student-quote {
    padding: 0;
  }

  .student-quote-text {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .home-welcomes {
    flex-direction: column;
  }

  .home-welcomes-left {
    width: 100%;
  }

  .home-welcomes-right {
    width: 100%;
    flex-direction: row;
  }

  .slider-inside h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    max-width: 100%;
    margin: 20px;
    text-align: center;
  }

  .slider-bottom {
    width: 100%;
  }

  .slider-bottom-left {
    display: none;
  }

  .sa_hover_container {
    min-height: 400px !important;
  }

  .slider-bottom-right {
    margin: 0 20px;
    text-align: center;
    width: 100%;
  }

  .home-welcomes {
    height: auto;
  }

  .home-welcomes-left-inside {
    margin-top: 10%;
    margin-right: 10%;
  }

  .home-loop-post article {
    flex-direction: column;
  }

  .home-loop-post-left {
    width: 100%;
    height: 300px;
  }

  .home-loop-post-right-inner {
    padding: 30px;
  }

  .home-loop-post-right {
    width: 100%;
  }

  .home-loop-post-more {
    align-self: flex-start;
  }

  .trustbar, .endorsementbar {
    flex-direction: column;
    align-items: center;
  }

  .cedarbar {
    font-size: 2.5rem;
  }

  footer {
    font-size: 1.5rem;
  }

  .footer-container {
    padding: 50px 0;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-top>div {
    width: 100%;
  }

  .footer-texts {
    padding-left: 0 !important;
  }

  footer img {
    margin-bottom: 30px;
  }

  footer h5 {
    font-size: 2rem;
  }

  .footer-top-middle, .footer-top-right {
    border-width: 0;
    padding: 0;
  }

  .footer-top-middle, .footer-top-right, .footer-vision {
    border-top: solid white 2px;
    margin-top: 20px;
  }

  .footer-top-right ul {
    display: flex;
    list-style: disc;
    flex-direction: column;
    padding: 0;
  }

  .footer-menu {
    padding: 20px;
  }

  .footer-menu br {
    display: none;
  }

  .footer-top-right ul li {
    padding: 0;
    border-width: 0;
    line-height: 2rem;
  }

  .footer-bottom {
    margin-top: 0;
    font-size: 1rem;
    padding: 20px;
  }



  header {
    height: 70vh;
  }

  .course-header {
    height: 600px;
  }

  .course-header .header-content {
    max-width: 100%;
    text-align: center;
  }

  .course-bottom {
    flex-direction: column-reverse;
  }

  .course-bottom-right {
    margin-left: 0;
  }

  .course-top-inside {
    width: auto;
    border-right: none;
    padding-right: 0;
  }

  .course-whatstudy {
    margin-right: 0;
    flex-direction: column-reverse;
  }

  .course-whatstudy-left {
    width: 100%;
  }

  .course-whatstudy-right {
    width: 100%;
    margin-top: 50px;
  }

  .course-video-container {
    max-width: 100%;
    margin-left: 0;
  }

  .course-header h1 {
    font-size: 4rem;
    line-height: 4rem;
  }

  .course-bottom-right {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .header-content h2 {
    font-size: 2.5rem;
  }

  .course-bottom {
    margin-top: 30px;
  }


  .course-bottom-left i {
    margin-top: 20px;
    transform: rotate(90deg);
    font-size: 2rem;
  }

  .course-video h2 {
    font-size: 4rem;
    line-height: 4rem;
  }

  .whystudy {
    flex-direction: column;
  }

  .whystudy-left, .whystudy-right {
    width: 100%;
  }

  .whystudy-right {
    margin-top: 50px;
  }

  .whatsay {
    flex-direction: column;
  }

  .whatsay-left, .whatsay-right {
    width: 100%;
  }

  .whatsay-right {
    margin-top: 50px;
  }

  .owl-next {
    margin-right: 0 !important;
  }

  h3.colour-box {
    display: block !important;
  }

  .foundationcourse-video .wp-block-embed-vimeo, .center-video .wp-block-embed-vimeo, .foundationcourse-video .wp-block-embed-youtube, .center-video .wp-block-embed-youtube {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (max-width: 1024px) {
    article h2 {
        line-height: 4rem;
        font-size: 4rem;
    }
}

.footer-bottom p {
  font-size: 1rem;
}

.wp-block-table table {
  margin-bottom: 30px;
}

.wp-block-table table thead {
  text-align: left;
}

.wp-block-table th {
  border-style: none;
}

.wp-block-table td {
  border-style: none;
}

.wp-block-table table tr {
  border-bottom: dotted #444444 1px;
  border-top: dotted #444444 1px;
}

.wp-block-table table th, .wp-block-table table td {
  padding: 5px 10px;
}

main article ul {
  margin-left: calc(5% + 20px);
}

.colour-box {
  padding: 20px;
}

h3.colour-box {
  display: inline;
}

.colour-box-center {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.c-accordion__title {
  padding: 30px;
  margin: 20px 0;
  transition: border-bottom-left-radius 0.5s ease, border-bottom-right-radius 0.5s ease;
}

.is-open .c-accordion__title {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.c-accordion__title:after {
  margin-right: 30px;
}

.c-accordion__title:after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight:900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  margin-left: 10px;
}

.is-open>.c-accordion__title:after {
  content: "\f063";
}

.c-accordion__content {
  margin-top: -20px;
  padding-top: 50px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 50px;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.home-post-loop {
  display: flex;
  flex-direction: column;
}

.home-post-loop .wp-block-group {
  border-left: solid 2px white;
  margin: 10px 0;
  padding: 20px 50px 20px 20px;
}

.home-post-loop li {
  display: flex;
  flex-direction: row;
  background-color: #312783;
  color: white;
  width: 100%;
  margin-bottom: 30px;
}

.home-post-loop li figure {
  min-width: 30%;
  width: 30%;
  max-width: 30%;
}

.home-post-loop h3 {
  margin: 0;
}

.post-link {
  text-align: right;
  color: white;
  display: block;
}



.home-post-loop .wp-block-post-date {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 140px;
  align-items: center;
}

.home-post-loop .wp-block-post-date time {
  display: flex;
  flex-direction: row;
  margin: 0 10px;
  word-break: keep-all;
  align-items: center;
}

.home-post-loop .wp-block-post-date .post-date {
  font-size: 4rem;
  font-weight: 800;
  line-height: 4rem;
  margin-right: 10px;
}

.topmargin {
  margin-top: 50px;
}

.cd-timeline-content h2 {
  font-size: 3rem;
  line-height: 3rem;
}

.wp-block-table {
  margin-top: 50px;
}

.card hr {
  border-width: 2px;
}

.wp-block-button__link {
  border-radius: 25px;
  font-style: normal;
}

.center-video {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  width: 100%;
}

.nobottomargin {
  margin-bottom: 0;
}




.faux-header .full-width {
  margin: 0 !important;
}

.home-image img {
  opacity: 1;
  transition: opacity 2s;
  object-fit: cover;
  width: 100%;
}

.home-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.home-image img:hover {
  opacity: 0;
}

.about-right {
  padding: 20px;
}

.about-right p {
  margin: 10px 0;
}

.about-right img {
  width: 80%;
}

.about-our-colleges-2 header, .about-our-colleges header {
  margin-bottom: 0 !important;
}

@media only screen and (min-width:1140px) {

  .desktop-hide {
    display: none;
  }

}

@media only screen and (max-width:1139px) {

  .mobile-hide {
    display: none;
  }

  .headteacher-image {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    position: initial !important;
  }

}

.ncp-gradient {
  color: white;
  background: rgb(16,73,152);
  background: linear-gradient(90deg, rgba(16,73,152,1) 0%, rgba(0,113,183,1) 100%);
}

.ncd-gradient {
  color: white;
  background: rgb(141,198,63);
  background: linear-gradient(90deg, rgba(0,104,56,1) 0%, rgba(141,198,63,1) 100%);
}

.ncb-gradient {
  color: white;
  background: rgb(102,45,145);
  background: linear-gradient(90deg, rgba(102,45,145,1) 0%, rgba(96,73,158,1) 100%);
}

.nclt-gradient {
  color: white;
  background: rgb(49,39,131);
  background: linear-gradient(90deg, rgba(49,39,131,1) 0%, rgba(26,19,90,1) 100%);
}
.agps-gradient {
  background-color: #008C4A;
  color: white;
}

.rps-gradient {
  background-color: #E30613;
  color: white;
}

.thps-gradient {
  background-color: #9C70F1;
  color: white;
}

.ba-gradient {
  background-color: #45bce9;
  color: white;
}

.dhs-gradient {
  background-color: #e21551;
  color: white;
}

.ncp-policy-gradient {
  color: white;
  background: rgb(16,73,152);
}

.ncd-policy-gradient {
  color: white;
  background: rgb(141,198,63);
}

.ncb-policy-gradient {
  color: white;
  background: rgb(102,45,145);
}

.nclt-policy-gradient {
  color: white;
  background: rgb(49,39,131);
}

.wa-policy-gradient {
  color: white;
  background-color: #EBBC1F;
}

.agps-policy-gradient {
  background-color: #008C4A;
  color: white;
}

.rps-policy-gradient {
  background-color: #E30613;
  color: white;
}

.thps-policy-gradient {
  background-color: #9C70F1;
  color: white;
}

.ba-policy-gradient {
  background-color: #45bce9;
  color: white;
}

.dhs-policy-gradient {
  background-color: #e21551;
  color: white;
}

.ncp-colour {
  color: rgb(16,73,152);
}

.ncd-colour {
  color: rgb(141,198,63);
}

.ncb-colour {
  color: rgb(102,45,145);
}

.nclt-colour {
  color: rgb(49,39,131);
}

.wa-colour {
  color: #EBBC1F;
}

.agps-colour {
  color: #008C4A;
}

.rps-colour {
  color: #E30613;
}

.thps-colour {
  color: #9C70F1;
}

.ba-colour {
  color: #45bce9;
}

.dhs-colour {
  color: #e21551;
}


.vacancy-details-box-inside {
  border-style: solid;
  border-width: 10px;
  padding: 20px 30px;
  margin-bottom: 30px;
  text-align: center;
}

@media only screen and (min-width:1140px) {

  .vacancy-details-box-inside img {
    max-width: 50%;
  }
}

.vacancy-details-box-inside.ncp-colour {
  border-color: rgb(16,73,152);
}

.vacancy-details-box-inside.ncd-colour {
  border-color: rgb(141,198,63);
}

.vacancy-details-box-inside.ncb-colour {
  border-color: rgb(102,45,145);
}

.vacancy-details-box-inside.nclt-colour {
  border-color: rgb(49,39,131);
}

.vacancy-details-box-inside.wa-colour {
  border-color: #EBBC1F;
}

.vacancy-details-box-inside.agps-colour {
  border-color: #008C4A;
}

.vacancy-details-box-inside.rps-colour {
  border-color: #E30613;
}

.vacancy-details-box-inside.thps-colour {
  border-color: #9C70F1;
}

.vacancy-details-box-inside.ba-colour {
  border-color: #45bce9;
}

.vacancy-details-box-inside.dhs-colour {
  border-color: #e21551;
}

.wa-gradient {
  color: white;
  background-color: #EBBC1F;
}

.vacancy-item h3, .vacancy-item a {
  color: white;
  font-style: normal;
  padding: 0;
  margin: 0;
  font-weight: 800;
}

.vacancy-item {
  padding: 20px 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
}

.vacancies-top {
  display: flex;
}

.vacancies-top-left {
  width: 70%;
}

.vacancies-top-right {
  width: 30%;
  padding: 20px;
}

.footer-socials a {
  margin-left: 5px;
}

.about-socials a {
  color: white;
  margin-right: 5px;
}

.wp-block-embed__wrapper .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.video-overlay p {
  color: white;
  font-size: 6rem;
  font-weight: 800;
  text-align: center;
}

@media only screen and (max-width:1139px) {
  .video-overlay p {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
  }
}

.faux-header .wp-block-embed__wrapper{
  padding-bottom: 41.67%;
}

@media only screen and (max-width:1023px) {
  .faux-header .wp-block-embed__wrapper{
    padding-bottom: 125%;
  }
}

.page-numbers {
  font-weight: 800;
  font-style: normal;
}

.pagination {
  font-weight: 800;
}

.next.page-numbers {
  margin-left: 10px;
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.logovideobox {
  display: flex;
  justify-content: space-between;
}

.logovideobox img {
  max-width: 48%;
  object-fit: contain;
}

.logovideobox > div {
  width: 48%;
}


@media only screen and (max-width:1139px) {

  .logovideobox {
    flex-direction: column;
  }

  .logovideobox img {
    width: 100%;
    object-fit: contain;
  }

  .logovideobox div {
    width: 100%;
  }

}

@media only screen and (min-width:1140px) {
  .overlapping-circle {
    margin-left: -50%;
  }
}

.vacancy-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*
nav.primary a {
transition: margin-left 0.5s ease, color 0.5s ease;
}

nav.primary a:hover {
margin-left: 10px;
}
*/

.margin-left-0 { margin-left: 0%; }
.margin-left-2-5 { margin-left: 2.5%; }
.margin-left-5 { margin-left: 5%; }
.margin-left-7-5 { margin-left: 7.5%; }
.margin-left-10 { margin-left: 10%; }

.margin-right-0 { margin-right: 0%; }
.margin-right-2-5 { margin-right: 2.5%; }
.margin-right-5 { margin-right: 5%; }
.margin-right-7-5 { margin-right: 7.5%; }
.margin-right-10 { margin-right: 10%; }

.left-margin-0 {
  margin-left: 0 !important;
}

.left-margin-2.5 {
  margin-left: 2.5% !important;
}

.left-margin-5 {
  margin-left: 5% !important;
}

.left-margin-7.5 {
  margin-left: 7.5% !important;
}

.left-margin-10 {
  margin-left: 10% !important;
}

.right-margin-0 {
  margin-right: 0 !important;
}

.right-margin-2.5 {
  margin-right: 2.5% !important;
}

.right-margin-5 {
  margin-right: 5% !important;
}

.right-margin-7.5 {
  margin-right: 7.5% !important;
}

.right-margin-10 {
  margin-right: 10% !important;
}

.image-left-behind {
  z-index: 50;
  position: relative;
  margin-right: -50%;
  top: -100px;
}

.image-over-right {
  position: relative;
  margin-left: -50%;
}

.headteacher-image {
  margin-top: -40px;
  margin-right: 10%;
  margin-left: -30px;
}

.right-overlapping-left {
  position: relative;
  margin-left: -20%;
}

.z-index-50 {
  z-index: 50;
  position: relative;
}

.z-index-100 {
  z-index: 100;
  position: relative;
}

.up-and-away {
  margin-top: -100px;
}

.go-low {
  margin-bottom: -100px;
}

.overlapping-circle {
  bottom: -100px;
}

.vertical-text {
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  height: 100%;
  text-align: center;
  text-wrap: nowrap;
}

.vertical-opposite-text {
  writing-mode: vertical-rl;
  text-align: center;
  text-wrap: nowrap;
}

/*
.quote-text-start:before {
  margin-right: -30px;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900; 
  content: "\f10d";
  font-size: 10rem;
  position: relative;
  z-index 50;
  top: -30px;
  opacity: 0.3;
}

.quote-text-end:after {
  margin-left: -30px;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900; 
  content: "\f10e";
  font-size: 10rem;
  position: relative;
  z-index 50;
  bottom: -50px;
  opacity: 0.3;
  line-height: 3rem;
}
*/

@media only screen and (max-width:1139px) {
  
  .up-and-away {
    margin-top: -50px;
  }
  
  .center-mobile p, .center-mobile h2, .center-mobile h3, .center-mobile h4, .center-mobile h5{
    text-align: center;
  }
  
  .center-mobile .wp-block-buttons {
    justify-content: space-around;
  }
  
}

.school-carousel {
  padding: 50px 5% 150px 5%;
  margin-bottom: 50px;
  color: white;
}

.carousel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-school {
  margin: 0 20px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.carousel-controls i {
  font-size: 3rem;
  margin: 0 20px;
  cursor: pointer;
}

.carousel-image {
  position: relative;
}

.carousel-school a {
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 25px;
}


.carousel-school h4 {
  width: 100%;
  text-align: center;
  font-size: 4rem;
  line-height: 4rem;
  margin: 0;
}

.school-carousel-content {
  padding: 50px;
  z-index: 100;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  height: 500px;
}

.school-carousel-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.centre-image {
  background-size: contain !important;
  background-position: center right;
  background-repeat: no-repeat;
}

.policies-list {
  display: flex;
  flex-direction: column;
}

.twisted-policy {
  width: 100%;
  padding: 20px 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 1s ease;
  line-height: 3rem;
  font-size: 2rem;
  border-radius: 25px;
}

.policies-list {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}

.circle {
  aspect-ratio: 1/1;
  padding: 0 !important;
  flex-direction: column;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bar-list {
  margin-left: -15% !important;
}

.faux-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.faux-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.faux-header-inner img {
  margin-bottom: 50px;
}

.faux-header-inner h3 {
  margin: 0;
}

.socials i {
  font-size: 2rem;
  margin-right: 10px;
}

.wp-block-embed__wrapper .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-left: 5%;
}

.video-header .wp-block-embed__wrapper {
  padding-bottom: 56.25%;
}

.video-overlay .faux-header-inner {
  padding-top: 25%;
}

.homeimage {
  width: 600px;
}
ul.wp-block-post-template {
  margin-left: 0;
}

#map {
  height: 100%;
  width: 100%;
  min-height: 700px;
}

#map h4 {
  margin: 0;
}


.full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

main article>* {
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}

.full-width {
  width: 100vw;
  margin-left: -5.5555%;
  margin-right: -5.5555%;
}

main article>*.full-width {
  margin-left: 0;
  margin-right: 0;
}

main article>*.full-width.full-width-padding {
  padding: 0 5%;
}

main article>*.wp-block-table, main article>*.wp-block-embed, main article>*.wp-block-image {
  margin-left: 5%;
  margin-right: 5%;
}

.wp-block-image {
    margin-bottom: 0;
}

.js_countup {
  text-align: center;
  width: 100%;
  display: block;
  font-size: 40px;
  font-weight: 800;
}

.video-overlay .btn {
  margin-top: 50px;
  font-weight: 600;
  font-size: 2rem;
  border-radius: 25px;
  padding: 30px;
}

.topbar.school {
  background-color: transparent;
  border-bottom-width: 0px;
}