/****HEADER****/
.page-main-page .header-top {
  background: rgba(20, 20, 20, 0.6);
  z-index: 601;
}

.header-top {
  position: relative;
  /*	z-index: 5;*/
  float: left;
  font-family: "Quicksand", sans-serif;
  width: 100%;
  background: #00628f;
}

.header-top-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.right-box {
  float: right;
  position: relative;
  z-index: 2;
  height: 56px;
  width: 418px;
}

.right-box > * {
  float: left;
}

/****CONTACT BUTTON****/
.tel-btn-wrapper {
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  width: 56px;
  height: 100%;
  margin-right: 2px;
}

.tel-btn:hover {
  background: #fff;
}

.tel-btn:hover .tel-btn-inner > * {
  color: #006c9d;
}

.tel-btn {
  height: 100%;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.tel-btn-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
}

.tel-btn-inner > * {
  display: block;
  width: 100%;
  color: #fff;
}

.tel-btn-inner i {
  font-size: 20px;
}

.tel-btn-inner span {
  font-size: 11px;
}

/****TRANSLATE  BUTTON****/
.translate-btn-wrapper {
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  width: 56px;
  height: 100%;
  margin-right: 2px;
}

.translate-btn:hover {
  background: #fff;
}

.translate-btn:hover .translate-btn-inner > * {
  color: #006c9d;
}

.translate-btn {
  height: 100%;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.translate-btn-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
}

.translate-btn-inner > * {
  display: block;
  width: 100%;
  color: #fff;
}

.translate-btn-inner i {
  font-size: 20px;
}

.translate-btn-inner span {
  font-size: 11px;
}

.tel-btn-wrapper .info-wrapper,
.translate-btn-wrapper .info-wrapper {
  background: #fff;
  margin: 0;
  position: absolute;
  top: 100%;
  right: 0;
  padding: 10px;
  border-radius: 7px;
  border-top-right-radius: 0;
  color: #006c9d;
  z-index: 5;
  border: solid;
  min-width: 245px;
}

.page-main-page .info-wrapper {
  border: none;
}

.info-wrapper p i {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  top: 50%;
}

.info-wrapper p {
  padding-left: 23px;
  position: relative;
  margin: 10px 0;
}

.info-wrapper .theme-email {
  margin-top: 5px;
}

.info-wrapper .theme-telephone {
  margin-bottom: 5px;
}

/****SOCIAL ICONS****/
.theme-social {
  text-align: center;
}

.theme-social a {
  width: 56px;
  height: 56px;
  display: inline-block;
  margin: 0 2px;
}

.theme-social a:hover > span {
  background: #fff;
}

.theme-social a:hover > span .fa-stack-1x:after,
.theme-social a:hover > span .fa-stack-1x:before {
  color: #006c9d;
}

.theme-social a.theme-facebook,
.theme-social a.theme-twitter {
  display: inline-block;
}

.theme-social a .fa-stack-1x:after {
  display: block;
  color: #fff;
  font-size: 11px;
  margin-top: 5px;
  font-family: "Quicksand", sans-serif;
}

.theme-social a.theme-facebook .fa-stack-1x:after {
  content: "Facebook";
}

.theme-social a.theme-twitter .fa-stack-1x:after {
  content: "Twitter";
}

.theme-social a.theme-instagram .fa-stack-1x:after {
  content: "Instagram";
}

.theme-social a.theme-youtube .fa-stack-1x:after {
  content: "YouTube";
}

.theme-social a.theme-googleplus .fa-stack-1x:after {
  content: "Google+";
}

.theme-social a.theme-flickr .fa-stack-1x:after {
  content: "Flickr";
}

.theme-social a.theme-vimeo .fa-stack-1x:after {
  content: "Vimeo";
}

.theme-social a.theme-vine .fa-stack-1x:after {
  content: "Vine";
}

.theme-social a.theme-tumblr .fa-stack-1x:after {
  content: "Tumblr";
}

.theme-social a.theme-linkedin .fa-stack-1x:after {
  content: "LinkedIn";
}

.theme-social a.theme-pinterest .fa-stack-1x:after {
  content: "Pinterest";
}

.theme-social .fa-stack {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 100%;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.2);
}

.theme-social .fa-stack-2x {
  display: none;
}

.theme-social .fa-stack-1x {
  font-size: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.theme-social a.small-icon {
  width: 26px;
  height: 26px;
}

.theme-social .social-row-1 a.small-icon {
  margin-bottom: 2px;
}

.theme-social .social-row-2 a.small-icon {
  margin-top: 2px;
}

.theme-social a.small-icon .fa-stack-1x {
  font-size: 18px;
}

.theme-social a.small-icon i:after {
  display: none !important;
}
/****SEARCH****/
.search {
  margin-left: 2px;
}

.search ::placeholder {
  color: #fff;
}

.searchbtn {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

button:focus {
  outline: none !important;
  border: none;
}

.fa-search:before {
  content: "\f002";
  font-size: 18px;
  color: #fff;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}

.search .btn,
.page-Generated-search .content .btn {
  height: 56px !important;
  width: 32px;
  line-height: normal;
  position: relative;
  vertical-align: top;
  padding: 0;
  background: #006c9d;
  border: 1px solid #006c9d;
  border-radius: 0;
  padding-right: 10px;
}

.search .site-search,
.page-Generated-search input {
  width: 209px;
  background: #006c9d;
  border: 1px solid #006c9d;
  color: #fff;
  border-radius: 0;
  height: 56px !important;
  padding-left: 14px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .search .btn,
  .page-Generated-search .content .btn,
  .search .site-search,
  .page-Generated-search input {
    height: 54px !important;
  }
}

/****MENU****/
.nav {
  float: left;
}

.nav a {
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
}

.page-main-page .nav a {
  color: #00628f;
}

.page-main-page .nav > ul > li > a,
.nav > ul > li > a {
  color: #fff;
  width: 100%;
  height: 56px;
  display: block;
  padding: 18px;
}

.nav > ul > li > a > span {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  width: 100%;
  left: 0;
  transition: all ease 250ms;
}

.nav > ul > li:hover > a > span {
  bottom: 0;
  transform: translateY(0%);
}

.nav > ul > li {
  margin: 0;
  position: relative;
  width: 16.6666666666666666%;
}

.nav > ul > li:after {
  content: "|";
  display: block;
  margin: 0;
  color: #fff;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav > ul > li:last-child:after {
  content: "";
}

.page-main-page .nav ul ul {
  background: #fff;
}

.nav ul ul {
  background: #00628f;
}

.nav > ul ul {
  min-width: 143px;
  width: 100%;
}

.page-main-page .nav ul ul li:hover {
  background: #00628f;
}

.nav ul ul li:hover {
  background: #0088c7;
}

.page-main-page .nav ul ul li:hover > a {
  color: #fff;
}
/****SIDENAV****/
.sidenav {
  background: none;
  width: 20%;
}

.sidenav a {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  background: #00628f;
  border-bottom: 1px solid white;
  padding: 17px 30px;
}

.sidenav li:first-child > a {
  border-top: none;
}

.sidenav a:hover {
  color: #000000;
}

.has-side-menu .content {
  padding-left: 30px;
  width: 80%;
}

/****SLIDESHOW****/
.slide-wrapper {
  position: relative;
  /* z-index: 590; */
}

.slide-wrapper .slide-overlay {
  position: absolute;
  width: 100%;
  height: calc(100% + 56px) !important;
  left: 0;
  top: 0;
  display: none;
  background: url("/img/bespoke/robin_standard_theme/light-fade.png");
}

.page-main-page .slide-wrapper .slide-overlay {
  display: block;
}

#theme-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  display: none;
}

.page-main-page #theme-slideshow {
  display: block;
}

#theme-slideshow img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.page-main-page .school-details {
  position: absolute;
  bottom: 14%;
  width: 100%;
  left: 0;
  z-index: 3;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0);
}

.school-details {
  position: relative;
  display: block;
  background: #00628f;
  color: #fff;
  padding: 5px;
}

body:not(.page-main-page) .site-name-strap {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.page-main-page .theme-site-name {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "PT Serif", serif;
  font-size: 53px;
  margin: 0 auto;
}

.theme-site-name {
  font-family: "PT Serif", serif;
  font-size: 40px;
  font-weight: 700;
}

.page-main-page .theme-site-name:before,
.page-main-page .theme-site-name:after {
  content: "";
  border-top: 2px solid;
  margin: 0 20px 0 0;
  flex: 1 0 20px;
}

.page-main-page .theme-site-name:after {
  margin: 0 0 0 20px;
}

.page-main-page .theme-strap-line {
  font-size: 40px;
  line-height: inherit;
}

.theme-strap-line {
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
}

.page-main-page .theme-school-logo {
  margin-bottom: 10px;
}

.site-name-strap {
  text-shadow: 1px 1px 3px #000;
}

/****CONTENT****/
.content-wrapper {
  display: block;
  clear: both;
}

.cms_edit.page-main-page .content-wrapper {
  display: block;
}

.page-main-page .content-wrapper {
  display: none;
}

.element-news h3 {
  display: none;
}

/**UPCOMING EVENTS**/
.sj_element_events dl.sj_events dt small {
  position: absolute;
  left: -57px;
  top: 4px;
  width: 48px;
  height: 48px;
  background: #fff;
  box-shadow: -1px 1px 7px #000;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.sj_element_events dl.sj_events dt small .month {
  color: #fff;
  background: #1574b8;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 18px;
  height: 18px;
  width: 48px;
  text-align: center;
  font-weight: 700;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/**CALENDAR**/
.element-calendar .sj-fc-button.sj-fc-state-active,
.page-Generated-calendar #calendar .sj-fc-button.sj-fc-state-active,
.element-calendar .sj-fc-button.fc-button-next,
.page-Generated-calendar #calendar .sj-fc-button.fc-button-next,
.element-calendar .sj-fc-button.fc-button-prev,
.page-Generated-calendar #calendar .sj-fc-button.fc-button-prev,
.element-calendar .sj-fc-button.fc-button-today,
.page-Generated-calendar #calendar .sj-fc-button.fc-button-today {
  color: #fff;
}

/****FOOTER****/
.page-main-page .copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-main-page .copyright.relative {
  position: relative;
}

.footer-wrapper {
  clear: both;
}

.sj_element_events dl.sj_events {
  padding-left: 65px;
}

.sj_element_map,
.element-map {
  z-index: 0 !important;
}

.page-main-page .header-wrapper,
.page-main-page .footer-wrapper {
  z-index: 1;
}
/* POPUP */
body:not(.page-main-page) .popup-wrapper {
  display: none !important;
}
.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 555;
  background: rgb(0 0 0 / 0.6);
  display: none;
}
.popup-box {
  position: fixed;
  width: 50%;
  z-index: 55;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: #0067b6;
  padding: 25px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 30%);
}
.popup-box #closepop {
  position: absolute;
  top: 12.5px;
  right: 15px;
  font-size: 20px;
  color: #eee;
  cursor: pointer;
  transition: opacity ease 0.25s;
}
.popup-box #closepop:hover,
.popup-box button:hover {
  opacity: 0.7;
}
.popup-box .element-text,
.popup-box .element-text ul {
  margin: 0px;
}
.popup-box a {
  color: #ccc;
}
.popup-box p {
  margin-bottom: 5px;
}
.popup-box button {
  background: #424242;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  transition: all ease 0.25s;
}
.popup-box button#acceptCookie {
  margin-right: 10px;
}
/* END OF POPUP */
