/*
Theme Name: Wedding Bells Theme
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: Salina;
  src: url(/wp-content/themes/weddingbells/fonts/Salina-Trial-Medium.otf);
  font-weight: normal;
}

@font-face {
  font-family: Salina;
  src: url(/wp-content/themes/weddingbells/fonts/Salina-Trial-MediumItalic.otf);
  font-style: italic;
}

/* 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%;
}
body {
  font-family: 'Salina', sans-serif;
  color:#444;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -1px;
}
/* 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:#f88542;
}
a:focus {
  outline:0;
}
a:hover,
a:active {
  outline:0;
}
input:focus {
  outline:0;
  border:1px solid #04A4CC;
}

.startinghide {
  opacity: 0;
}

h1, h2, h3, h4, h5, strong {
  font-weight: 900;
}

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

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

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




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

/* wrapper */
.wrapper {
  width:90%;
  margin:0 auto;
  position:relative;
}
/* header */
header {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  width: 100%;
  position: relative;
  padding: 0 5%;
  background-position: center center;
  background-size: cover;
  height: 600px;
  margin-bottom: 80px;
  border-top: solid 5px #0187c6;
  border-bottom: solid 5px #0187c6;
}

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

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 50%;
  color: white;
  align-items: flex-start;
}

.header-content h1 {
  line-height: 1.2em;
  font-size: 3.5em;
  padding: 20px 30px;
  background-color: #1952a1;
}

.header-content h1 span {

  background-color: #1952a1;
  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 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: 130px;
}
.logo-img {

}
.second-logo img {
  height: 90px;
  margin-top: 20px;
}

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

  h1 {
    font-size: 3rem;
  }


}

/* 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-size: 3rem;
  padding: 30px 5%;
}

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

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

  .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: 10px 0;
  text-transform: capitalize;
}

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

nav a:hover {
  color: white;
}

nav ul {
  padding: 0;

}

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 {
  margin: 0;
}

h3 {
  font-size: 4rem;
  color: #0071b7;
}

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

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

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

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

  .mobile-menuhide {
    display: none;
  }

  .topbar .furtheroftheyear_logo {
    display: none;
  }

  .side-borders {
    border-width: 0 !important;
  }

}

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


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


}

.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:1024px) {

  .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(16,73,152);
    background: linear-gradient(90deg, rgba(16,73,152,1) 0%, rgba(0,113,183,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: #1952a1;
}

.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"] {
  background-color: #aa9786;
  color: white !important;
  border-width: 0;
  padding: 10px 10px;
  margin: 10px 0;
  font-weight: 800;
}

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 {
  color: #1952a1;
  display: flex;
  align-items: center;
}

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

.navicon a {
  color: #1952a1;
}

body.open {
  background-color: #1952a1;
  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(16,73,152);
  background: linear-gradient(90deg, rgba(16,73,152,1) 0%, rgba(0,113,183,1) 100%);
}

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

.page-title {
  color: #1952a1;
}

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

.blog-item-date {
  color: #1952a1;
}

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

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

.main-header {
  color: #1952a1;
}

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

.orange-gradient {
  color: white;
  background: rgb(252,104,58);
  background: linear-gradient(90deg, rgba(252,104,58,1) 0%, rgba(250,163,92,1) 100%);
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #1952a1;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #1952a1;
}
:-moz-placeholder { /* Firefox 18- */
  color: #1952a1;
}

.contactform input, .contactform textarea {
  color: #1952a1;
}

.contactform input[type="submit"] {
  color: #1952a1;
  background-color: white;
  transition: color 0.5s, background-color 0.5s;
}

.contactform input[type="submit"]:hover {

  background-color: #1952a1;
  color: white;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: white;
  background-color: #2c2c2c;
}

.footer-container {
  padding: 100px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.footer-container a {
  color: white;
}

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

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

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

.footer-top-left img {
  max-width: 75%;
}

.footer-top-left p {
  margin: 5px 0;
}

footer h5 {
  font-size: 2.5rem;
  margin: 20px 0;
}

.footer-top-middle {
  border-left: solid 2px white;
  border-right: solid 2px white;
  padding: 0 50px;
}

.footer-top-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 50px;
}

.footer-menu {
  margin-bottom: 10px;
}

.footer-top-right ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.footer-top-right ul li {
  padding: 0 10px;
  border-right: solid 2px white;
  line-height: 2rem;
}

.footer-top-right ul li:last-child {
  border-right: none;
}

.footer-bottom {
  background-color: #444444;
  padding: 20px 50px;
  margin-top: 50px;
}

.cedarbar {
  padding: 30px 0;
  font-size: 5rem;
}

.cedarbar .wrapper {
  display: flex;
  align-items: center;
}

.cedarbar p {
  margin: 0;
  color: white;
}

.cedarbar img {
  max-height: 5rem;
  margin-left: 10px;
  margin-bottom: 10px;
}

.trustbar {
  padding: 80px 5% 40px 5%;
  display: none;
  justify-content: space-between;
  background-color: white;
}

@media only screen and (min-width:1140px) {
  .trustbar a:nth-child(n+2) {
    margin-left: 30px;
  }
}

@media only screen and (max-width: 1139px) {
  .trustbar {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row !important;
    align-items: center;
  }
  .trustbar a {
    width: calc(50% - 20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px;
  }

  .endorsementbar {
    margin-top: 50px;
  }
}

.endorsementbar {
  padding: 40px 5% 80px 5%;
  display: flex;
  justify-content: space-between;
  background-color: white;
}

.trustbar img, .endorsementbar img {
  max-height: 100px;
}

.tempbar {
  display: flex;
  justify-content: space-between;
  background-color: white;
}

.homepage-signup {
  background: rgb(16,73,152);
  background: linear-gradient(90deg, rgba(16,73,152,1) 0%, rgba(0,113,183,1) 100%);
  padding: 30px;
  text-align: center;
  color: white;
}

.homepage-signup h1 {
  margin: 0;
} 

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

.homepage-signup input {
  width: 100%;
  padding: 10px 10px 10px 25px;
  margin-bottom: 20px;
  color: #1952a1;
}

.homepage-signup .button.cancel, .homepage-signup {
  display: none;
}

.homepage-signup button i {
  display: none;
}

.homepage-signup button {
  background-color: transparent;
  width: 100%;
  padding: 5px 10px;
  color: white;
  border-style: none;
  font-weight: 800;
  font-size: 3rem;
}

.highlight {
  color: #0187c6;
}

.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: #0187c6;
  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: #1952a1;
}

.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-reverse;
  margin: 30px 0;
}

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

.social-links p {
  margin: 0;
}

.social-links a {
  background-color: #1952a1;
  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: #1952a1;
  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: #1952a1;
  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;
}

.topbar a.btn {
  padding: 10px 20px;
  font-size: 3rem;
  color: #aa9786;
  border-color: #aa9786;
  border-style: solid;
  border-width: 2px;
  background-color: white;
  margin-left: 20px;
  transition: color 1s, background-color 1s, border-color 1s;
}

.topbar a.btn:hover {
  background-color: #aa9786;
  color: white;
  border-color: white;
}

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

  .topbar a.btn {
    padding: 5px 10px;
    font-size: 1.5rem;
  }


  .header-content h1 {
    line-height: 1em;
    font-size: 2em;
  }

  h3 {
    line-height: 4rem;
  }

  .header-content {
    max-width: 75%;
  }

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

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

  .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 {

  }

}


.white #homepage_slider .owl-nav .owl-prev {
  background:rgba(0,0,0,0) url('/wp-content/plugins/slide-anything/images/icon_prev.png') no-repeat center center !important;
  outline: none;
}
.white #homepage_slider .owl-nav .owl-next {
  background:rgba(0,0,0,0) url('/wp-content/plugins/slide-anything/images/icon_next.png') no-repeat center center !important;
  outline: none;
}
.white #homepage_slider .owl-nav .owl-prev:hover,
.white #homepage_slider .owl-nav .owl-next:hover {
  background-color:rgba(0,0,0,0.3) !important;
}

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

.slider-container {
  padding: 0 10%;
  color: white;
}

.slider-inside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slider-inside h1 {
  text-transform: uppercase;
  font-size: 7rem;
  line-height: 7rem;
  max-width: 50%;
  margin: 0;
}

.slider-bottom {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

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

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

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

.slider-bottom-right-top {
  color: #4dbdef;
}

.slider-bottom-right-bottom {
  color: white;
}

.home-welcomes {
  display: flex;
  height: 100vh;
  width: 100%;
}

.home-welcomes-left {
  width: 75%;
  flex-direction: column-reverse;
  display: flex;
  color: white;
  background-position: center center;
  background-size: cover;
}

.home-welcomes-left-inside {
  margin-left: 10%;
  margin-bottom: 10%;
  display: flex;
  font-size: 3rem;
  line-height: 3rem;
  flex-direction: column;
}

.home-welcomes-left-inside img {
  width: 40%;
  margin-bottom: 30px;
}

.home-welcomes-right {
  width: 25%;
  flex-direction: column;
}

.home-welcomes-box {
  height: calc(100vh / 3);
  display: flex;
  flex-direction: column-reverse;
  background-size: cover;
  background-position: center center;
}



.home-welcomes-box a {
  color: white;
  max-width: 80%;
  font-size: 3rem;
  line-height: 3rem;
  margin-left: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.home-welcomes-box p {
  margin: 0;
}

.home-welcomes-box .circle-border {
  margin-right: 20px;
}

.home-welcomes-left .circle-border, .home-welcomes-box .circle-border {
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0px 0px 0px 2px #fff;
  padding: 1em 0.6em;
}

.home-welcomes-left-text {
  margin-left: 30px;
}

.home-welcomes-left-text-bottom {
  font-size: 4rem;
}

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

.student-speech {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 100px;
}

.student-speech span, .student-speech p {
  background-color: #0071b7;
  color: white;
  font-size: 4rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0 20px;
  line-height: 6rem;
}

.student-speech p {
  padding-top: 10px;
}

.student-speech span {
  padding-bottom: 10px;
  margin-top: -1px;
}

.student-speech .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 50px 50px 0;
  border-color: transparent #0071b7 transparent transparent;
  margin-left: 30px;
  margin-top: -1px;
}

.student-quote {
  background: url("/wp-content/uploads/2021/04/quotemark-left.png") no-repeat left top, url("/wp-content/uploads/2021/04/quotemark-right.png") no-repeat right bottom;
  padding: 50px;
  text-align: right;
}



.student-quote-text {
  font-size: 5rem;
  line-height: 5.5rem;
  margin: 0;
}

.student-quote-name {
  color: #0188c6;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin: 20px 0 0 0;
}

.home-courses {
  height: 800px;
}

.home-courses p {
  margin: 0;
  color: white;
}

.home-courses-left {
  background: url("/wp-content/uploads/2021/04/door-grey.png") no-repeat right bottom;
  background-size: 70% !important;
}

.home-courses-image {
  background: url("/wp-content/uploads/2021/04/ourcoursesmic.png") no-repeat center center;
  background-size: cover;
  height: 600px;
  margin-left: -10%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}



.home-courses-text { 
  color: white;
  font-size: 4rem;
  line-height: 5rem;
}

.orange-text {
  color: #f88542;
}

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

.home-news-left {
  color: #0086c5;
  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(1,88,167);
  background: linear-gradient(90deg, rgba(1,88,167,1) 0%, rgba(1,137,199,1) 100%);
  padding: 20px 30px;
  font-size: 4rem;
  color: white;
  margin-right: 30px;
}

.home-courses-button-orange {
  background: rgb(248,133,66);
  background: linear-gradient(90deg, rgba(248,133,66,1) 0%, rgba(255,169,118,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;
}

.foundationcourse-video {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 5%;
  padding-right: 5%;
  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;
  width: 100%;
}

.foundatoncourse-video h3 {

}

.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%;
}

.whystudy {
  margin: 100px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whystudy-left {
  width: 30%;
  color: #1874bb;
  text-transform: uppercase;
}

.whystudy-left h3 {
  font-size: 5rem;
  line-height: 5.5rem;
  margin: 0;
  padding: 0;
  background: none;
  color: #0071b7;
}

.whystudy-right {
  width: 66%;
}

.whatsay {
  background-image: url("/wp-content/themes/newcollege/img/course-quote-background.jpg");
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 100px;
  align-items: center;
}

.whatsay-left {
  width: 25%;
}

.whatsay-right {
  width: 74%;
}

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

.whatsay-left .student-speech span, .whatsay-left .student-speech p {
  background-color: #fb974c;
}

.whatsay-left .student-speech .triangle {
  border-color: transparent #fb974c transparent transparent;
}

.applybar {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  font-size: 5rem;
  line-height: 5.5rem;
}

.applybar p {
  margin: 0;
}

.applybar a {
  color: white;
  font-style: normal;
}

.applybar .smallertext {
  font-size: 2.5rem;
  line-height: 3rem;
}

.applybar .wp-block-button {
  font-size: 3rem;
}

.applybar .wp-block-button__link {
  padding: 10px 20px;
  margin: 0 20px;
}

.applybar .wp-block-buttons {
  margin: 20px 0;
}

.apply-header {
  background-position: bottom right !important;
}

.apply-header a, .apply-header p {
  color: white;
}

.apply-header h1 {
  font-size: 10rem;
  line-height: 10rem;
}

.applynowbar {
  display: flex;
  justify-content: space-around;
}

.applynowbar-inside {
  display: flex;
  align-items: center;
}

.applynowbar h2 {
  font-size: 5rem;
  text-transform: uppercase;
  margin: 0 30px;
  text-align: center;
}

.applynowbar h2 a {
  color: white;
}

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

.virtualtour-title {
  font-size: 4rem;
  color: #0177b4;
}

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



.subjectbar {
  width: 100%;
  display: flex;
}

.subjectbar-item {
  width: 100%;
  height: 500px;
}

.subjectbar-item-inside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 50px;
  height: 100%;
  background-color: #ffffff50;
  border-bottom: 30px solid transparent;
  cursor: pointer;
  transition: background-color 1s, border-bottom-color 1s;
}

.subjectbar-item-inside:hover {

  background-color: transparent;
  border-bottom-color: #074b92;
}

.subjectbar-item-content {
  margin-bottom: 150px;
}

.subjectbar-title {
  color: #1e87b9;
  margin: 0;
  font-size: 4rem;
  line-height: 4.5rem;
  font-weight: 700;
}

.subjectbar-name {
  color: white;
  margin: 0;
  font-size: 4rem;
  line-height: 4rem;
  font-weight: 700;
}

.deadlinebar p {
  font-size: 5rem;
  margin: 0;
}

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

 

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

  .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;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .home-post-loop h3 a {
    font-size: 3.5rem;
    line-height: 4rem;
    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: 2.5rem;
    line-height: 2.6rem;
    max-width: 60%;
    margin: 20px;
  }

  .slider-bottom-right {
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 2.1rem;
    font-weight: 900;
    margin: 0 20px;
    width: 100%;
  }

  .slider-bottom {
    width: 60%;
  }

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

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

  .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 h5 {
    text-align: left;
    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 {
    background-position: 80% 50%;
    height: 300px;
  }

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

  .whystudy-left h3 {
    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;
  }
}

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

.wp-block-table table thead {
  color: #0071b7;
  text-align: left;
}

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

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

.full-width-padding {
  padding: 0 5%;
}

.owl-next {
  margin-right: 20px;
}

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

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

main article a {
  color: #0071b7;
  font-style: italic;
}

.home-welcomes a {
  font-style: normal;
}

.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 {
  background-color: #58595B;
  color: white;
  font-size: 3rem;
  line-height: 3rem;
}

.c-accordion__content .c-accordion__title {
  background: rgb(75,80,84);
  background: linear-gradient(90deg, rgba(75,80,84,1) 0%, rgba(115,124,131,1) 100%);
  color: white;
  font-size: 3rem;
}

.c-accordion__title {
  padding: 20px;
  margin: 20px 0;
}

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

.c-accordion__title:after {
  content: "+";
  font-size: 4rem;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  font-weight:900;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.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: #0187c6;
  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;
}

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

.orange-row {
  color: white;
  background: rgb(252,104,58);
  background: linear-gradient(90deg, rgba(252,104,58,1) 0%, rgba(250,163,92,1) 100%);
  background-attachment: fixed;
}

.card {
  height: 100%;
}

.card h4 {
  font-size: 3rem;
  margin: 0;
}

.card p {
  margin: 0;
}

.card img {
  width: 100%;
}

.card section {
  padding: 30px;
}

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

.card.grey {
  background: rgb(75,80,84);
  background: linear-gradient(90deg, rgba(75,80,84,1) 0%, rgba(115,124,131,1) 100%);
  background-attachment: fixed;
  color: white;
}

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

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

.has-white-color { color: white; }
.has-white-background-color { background-color: white; }

.has-darkgrey-color { color: #4b5054; }
.has-darkgrey-background-color { background-color: #4b5054; }

.has-lightgrey-color { color: #737c83; }
.has-lightgrey-background-color { background-color: #737c83; }

.has-darkblue-color { color: #aa9786; }
.has-darkblue-background-color { background-color: #aa9786; }

.has-lightblue-color { color: #58595B; }
.has-lightblue-background-color { background-color: #58595B; }

.has-orange-color { color: #ca631f; }
.has-orange-background-color { background-color: #ca631f; }

.has-greygradient-gradient-background {
  background: rgb(75,80,84);
  background: linear-gradient(90deg, rgba(75,80,84,1) 0%, rgba(115,124,131,1) 100%);
  background-attachment: fixed;
  color: white;
}

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

.has-bluegradient-gradient-background a {
  color: #ca631f;
}

.has-bluegradient-gradient-background a:hover {
  color: white;
}

.has-lightgreygradient-gradient-background {
  background: rgb(216,216,216);
  background: linear-gradient(90deg, rgba(216,216,216,1) 0%, rgba(239,239,239,1) 100%);
  background-attachment: fixed;
}

.has-whitegreygradient-gradient-background {
  background: rgb(216,216,216);
  background: linear-gradient(0deg, rgba(216,216,216,1) 0%, rgba(255,255,255,1) 100%);
}

.has-orangegradient-gradient-background {
  background: rgb(252,104,58);
  background: linear-gradient(90deg, rgba(252,104,58,1) 0%, rgba(250,163,92,1) 100%);
  background-attachment: fixed;
}

.wp-block-button__link {
  border-radius: 0;
  font-style: normal;
   padding: 5px 10px;
  font-size: 1.5rem;
}


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

.matterport {
  max-width: 100%;
}

.page.letters ul {
  list-style: none;
  margin-left: 10px;
}

.page.letters .c-accordion__content ul li:before {
  margin-right: 10px;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900; 
  content: "\f1c1";
  font-size: 2rem;
  color: #1794cc;
}

.has-orangegradient-gradient-background a {
  color: white;
}

.has-orangegradient-gradient-background a:hover {
  color: #0071b7;
}

section.courses {
  margin: 0 5%;
}

.course-search {
  padding: 10px;
  width: 100%;
}

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

.js_course_list .subject {
  max-width: 33%;
  width: 33%;
  margin-bottom: 30px;
}

.js_course_list .subject .subject_bottom {
  margin-top: 10px;
  margin-left: 10px;
}

.js_course_list .subject h4, .js_course_list .subject h5 {
  margin: 0;
}

.js_course_list .subject a {
  color: #0071b7;
}

.js_course_list .subject h4 {
  text-align: left;
  color: linear-gradient(90deg, rgba(16,73,152,1) 0%, rgba(0,113,183,1) 100%);
}

.js_course_list .subject h5 {
  text-align: left;
  font-weight: 400;
  margin-bottom: 10px;
  color: linear-gradient(90deg, rgba(252,104,58,1) 0%, rgba(250,163,92,1) 100%);
}



.js_course_list .subject .subject-image {
  height: 300px;
  background-position: 80% 50%;
  background-size: cover;
  border-bottom: white solid 5px;
}

@media only screen and (max-width:1139px) {
  .js_course_list {
    flex-direction: column;
  }

  .js_course_list .subject {
    max-width: 100%;
    width: 100%;
  }

}

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

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

.pagination {
  font-weight: 800;
}

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


.twisted-policies {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1%;
  row-gap: 1vw;
}

.twisted-policy {
  background-image:url("/wp-content/themes/newcollege/img/policy.png");
  width: 24%;
  aspect-ratio: 1/1;
  color: white;
  padding: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  display: flex;
  cursor: pointer;
}

.twisted-policy div {
  color: white;
  font-size: 3rem;
  font-style: normal;
  margin-right: 60px;
  height: 50%;
  margin-top: 50%;
  font-weight: 800;
}

.twisted-policy:hover {
  color: white;
}

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

  .twisted-policy {
    width: 100%;
  }

  .twisted-policy div {
    font-size: 3rem;
  }

}

.andline {
    position: relative;
    font-size: 30px;
    z-index: 1;
    overflow: hidden;
    text-align: center;
 
}
.andline:before, .andline:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: calc(50% - 60px);
    height: 1px;
    content: '\a0';
    background-color: white;
}
.andline:before {
    margin-left: calc(-50% + 30px);
    text-align: right;
  margin-right: 30px;
}
.andline:after {
    margin-left: 30px;
    text-align: right;
  margin-right: 30px;
}

.timeline {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline .middle {
  /*background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 49%, rgba(0,0,0,1) 49%, rgba(0,0,0,1) 51%, rgba(255,255,255,0) 51%, rgba(255,255,255,1) 100%);*/
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) calc(50% - 1px), rgba(255,255,255,1) calc(50% - 1px), rgba(255,255,255,1) calc(50% + 1px), rgba(255,255,255,0) calc(50% + 1px), rgba(255,255,255,0) 100%);
  display: flex;
  justify-content: space-around;
}

.timeline .middle-line {

  width: 40%;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) calc(50% - 1px), rgba(255,255,255,1) calc(50% - 1px), rgba(255,255,255,1) calc(50% + 1px), rgba(255,255,255,0) calc(50% + 1px), rgba(255,255,255,0) 100%);

}

.timeline .right {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.timeline .left {
  text-align: center;
  font-size: 36px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.timeline p {
  line-height: 3rem;
}

.timeline em {
  font-size: 20px;
}

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

  .timeline .left {
    font-size: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .form-name input {
    max-width: 40%;
  }

}

form {
  overflow: hidden;
}

.form-name {
  display: flex;
}

.form-name input {
  margin-left: 50px;
}

.form-line select {
  margin-left: 20px;
}

.form-line input, .form-line select {
  border: 1px solid #aa9786;
  color: #aa9786
}

.topbar .left a {
  color: white !important;
}