html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: none;
  background-size: auto;
  position: static !important;
  line-height: 1.4;
  -ms-overflow-style: scrollbar;
}

div {
  box-sizing: border-box;
}

.inner,
.wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
}


.ie8 .inner {
  max-width: none;
  width: 100%;
}

.cleaner {
  clear: both;
  float: none !important;
}

.page {
  max-width: none;
  min-width: 0;
}

.school-details {
  padding: 15px;
}

.bar-wrapper {
  clear: both;
}

.page .bar {
  padding: 5px 15px;
  position: relative;
}

.page .bar:after {
  content: "";
  display: table;
  clear: both;
}

.page .bar > div {
  float: left;
}

.page .bar .school-address {
  width: 100%;
}

.page .bar.address-social-bar .school-address {
  width: 65%;
}

.page .bar.address-social-bar .theme-social {
  width: 35%;
  text-align: right;
}

.box-container > div {
  display: block;
}

.full-width {
  width: 100% !important;
  max-width: none !important;
}

/*.content {
  width: 100% !important;
}*/

/* COLUMNS */

.sj-content-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  margin: 0 5%;
}

.column,
.has-side-menu .column {
  width: 100%
}

.column {
  float: none;
  margin: 0;
  padding: 15px
}

.column-1col {
  flex: 0 0 99%;
  max-width: 99%
}

.column-2col-1,
.column-2col-2 {
  flex: 0 0 49.5%;
  max-width: 49.5%
}

.column-left2col-1,
.column-right2col-2 {
  flex: 0 0 66%;
  max-width: 66%
}

.column-3col-1,
.column-3col-2,
.column-3col-3,
.column-left2col-2,
.column-right2col-1 {
  flex: 0 0 33.33%;
  max-width: 33.33%
}

/* END OF COLUMNS */

.page img {
  max-width: 100%;
  height: auto;
}

.nav_hidden,
.nav_mobile,
.copyright br {
  display: none;
}

.school-address {
  padding: 15px 0;
}

.school-address.with-dividers p {
  position: relative;
  padding: 0 5px;
}

.school-address.with-dividers p:after {
  content: "|";
  position: absolute;
  left: -5px;
}

.school-address.with-dividers p.theme-address {
  padding-left: 0;
}

.school-address.with-dividers p.theme-address:after {
  display: none;
}

.school-address.with-prefixes p.theme-telephone:before {
  content: "Tel: ";
}

.school-address.with-prefixes p.theme-fax:before {
  content: "Fax: ";
}

.school-address.with-prefixes p.theme-email:before {
  content: "Email: ";
}

.school-address.with-prefixes p.theme-headteacher:before {
  content: "Headteacher: ";
}

.school-address p {
  display: inline-block;
  vertical-align: top;
  margin: 0 5px 0 0;
}

.school-address p a {
  color: inherit;
}

.school-address.listed p {
  display: block;
}

.theme-site-name,
.theme-strap-line {
  margin: 0;
  padding: 0;
}

.theme-school-logo,
.school-name {
  /* display: inline-block; */
  /* vertical-align: middle; */
}

/* SLIDESHOW */

#theme-slideshow {
  clear: both;
  position: relative;
  overflow: hidden;
  width: 100%;
}

#theme-slideshow img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

#theme-slideshow-captions {
  position: absolute;
  bottom: 8%;
  left: 0;
  padding: 10px;
  font-size: 5rem;
  color: #ffffff;
  font-weight: bold;
  width: 98%;
  line-height: normal;
  text-align: center;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
  transform: translateY(-5%);
  max-width: 70%;
  right: 0;
  margin: auto;
  /* display: inline-block; */
}

.theme-slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* END OF SLIDESHOW */

.boxes {
  margin: 10px;
}

.boxes .theme-google-translate {
  float: left;
}

.boxes .search {
  float: right;
}

select.goog-te-combo::-ms-expand {
  display: none;
}

.goog-te-gadget .goog-te-combo {
  margin: 4px 0;
  padding: 5px 5px;
  width: 185px;
  border: 1px solid #d6d6d6;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #ffffff url(/img/bespoke/toucan_standard_theme_stjosephs_cpsh/arrow_img.png) 160px center no-repeat;
}

.search .site-search{
  background: transparent;
  border: 2px solid #fff;
  outline: none;
  border-right: none;
  padding: 4px;
  box-shadow: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0;
  -webkit-appearance: none;
  -webkit-border-top-left-radius: 50px;
  -webkit-border-bottom-left-radius: 50px;
  -moz-border-radius-topleft: 50px;
  -moz-border-radius-bottomleft: 50px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  height: 32px !important;
  line-height: normal;
  color: #fff;
  padding-left: 10px;
}

.search .btn{
  background: transparent;
  padding: 4px;
  border: 2px solid #fff;
  outline: none;
  box-shadow: none;
  -webkit-border-radius: 0px;
  /*ipad border 0 fix*/
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-border-top-right-radius: 50px;
  -webkit-border-bottom-right-radius: 50px;
  -moz-border-radius-topright: 50px;
  -moz-border-radius-bottomright: 50px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  height: 32px !important;
  line-height: normal;
  margin-left: -1px;
  color: #fff;
  border-left: none;
}

div.slicknav_menu {
  background: #3365ab;
}

a.slicknav_btn {
  background: #3365ab;
}

.text-center {
  text-align: center;
}

.school-details .school-name,
.school-details .theme-school-logo {
  /* display: inline-block; */
  /* vertical-align: middle; */
  /* flex: 0 0 auto; */
}

/* NAVIGATION */
/*MENU*/

.nav {
  position: relative;
  z-index: 601;
  opacity: 0;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  text-align: center;
  padding: 0;
  background: #fff;
}

.nav.fixed {
  position: fixed;
  top: 0;
  z-index: 555;
}

.sj_admin .nav.fixed {
  top: 60px;
}

.nav > ul {
  font-size: 0;
  padding: 0;
  margin: 0;
  text-align: center;
  background:#fff
}


.nav li {
  display: inline-block;
  vertical-align: top;
  font-size: 1.6rem;
  margin: 0px;
  position: relative;
  vertical-align: middle;
  text-align: left;
  background: #fff;
}



.nav a {
  padding: 8px 10px;
  text-decoration: none;
  display: inline-block;
  color: #3365ab;
  font-weight: 700;
}

.nav ul ul {
  display: none;
  position: absolute;
  width: 100%;
  min-width: 200px;
  top: 100%;
  padding: 0;
  left: 0;
  background-color: inherit;
  z-index: 1;
  border-top: none;
/*  box-shadow: 2px 2px 4px #222; */
}

.nav ul ul li {
  background: inherit;
}
.nav ul ul li:hover a {

}

.nav ul ul li a {
  display: block;
  width: 100%;
}

.nav > ul > li.last-item > ul,
.nav > ul > li.extra.more > ul {
  right: 0;
  left: auto;
}

.nav ul ul li {
  display: block;
  margin: 0;
}

.nav ul ul ul {
  top: 0;
  left: 100%;
}

.nav ul ul ul.left,
.nav .left ul {
  left: unset;
  right: 100%;
}

/* END OF NAVIGATION */


/* SIDE NAVIGATION */

.has-side-menu .content {
    float: left;
    width: 70%;
    padding-top: 0;
}

.sidenav {
    float: left;
    width: 30%;
    position: relative;
    z-index: 555;
    background: #a3a3a3;
}

.sidenav ul {
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidenav ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    width: 100%;
}

/*.sidenav ul li:hover > ul {
    display: block;
}*/

.sidenav.verticalClick ul li:hover > ul {
    display: none;
}
.sidenav.verticalClick li.current > ul {
    display: block !important;
}

.sidenav.verticalClick ul ul {
    position: relative;
    left: 0;
}

.sidenav ul ul.left,
.sidenav ul ul.left ul {
    left: -100%;
}

.sidenav.verticalClick ul ul li {
    padding-left: 5px;
}

.sidenav.verticalClick li.current > ul {
    display: block;
}

.sidenav li {
    list-style-type: none;
    width: 100%;
    position: relative;
    background: #a3a3a3;
}

.sidenav a {
    display: block;
    height: 100%;
    width: 100%;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
}
/* END OF SIDE NAVIGATION */


.stickytop {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 800;
  border-top: 0;
  background: #fff;
  text-align: center;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
}
.cms_show .stickytop{
  top:60px;
}

.sidenav {
  padding-bottom: 0 !important;
}

.sidenav.stickytop {
  left: auto;
  right: 0;
  top: 50px;
  text-align: left;
/*  max-height: 85% !important;*/
  z-index: 1;
}

/*.sidenav.scroll_y.stickytop {
    overflow-y: scroll;
}

.sidenav.scroll_y.stickytop::-webkit-scrollbar {
    width: 15px;
}

.sidenav.scroll_y.stickytop::-webkit-scrollbar-track {
    background: #570573;
}

.sidenav.scroll_y.stickytop::-webkit-scrollbar-thumb {
    background: #78089e;
}

.sidenav.scroll_y.stickytop::-webkit-scrollbar-thumb:hover {
    background: #555;
}*/

/* END OF SIDE NAVIGATION */
/* CONTENT */



.content-inner {
  display: block;
  padding: 15px 0px;
  min-height: 100px;
}

body:not(.page-main-page) .content-inner {
  min-height: 400px;
}

.sj_element_news ul {
  padding-left: 0;
}

.element {
  margin-bottom: 20px;
}


.cms_edit .sj_element_embed {
  padding: 10px;
}


/* NEWS */

.sj_element_newsletters ul {
  padding-left: 0;
}

.sj_element_newsletters ul li {
  list-style-type: none;
}

.sj_element_news ul li a,
.sj_element_events dl.sj_events dt,
.sj_element_newsletters strong {
  color: inherit;
  font-weight: bold;
  font-size: 16px;
}

.sj_element_newsletters strong a {
  color: inherit;
}

.sj_element_news ul li,
.sj_element_events dl.sj_events dd,
.sj_element_newsletters p {
  font-weight: normal;
  font-size: 14px;
}

/* END OF NEWS */

.page-Generated-search .content,
.page-Generated-news .sj_element_news,
.page-Generated-calendar #calendar {
  padding: 15px;
}

/* END OF CONTENT */
/* FOOTER */

.awards {
  padding: 20px;
  text-align: center;
}

.awards img {
  height: 80px;
  width: auto;
  display: inline-block;
  margin: 0 10px;
}

.copyright {
  background: #000000;
  color: white;
  text-align: center;
  padding: 15px;
  width: 100%;
}

.copyright a {
  color: inherit;
}

/* END OF FOOTER */
/* FIXES */
/* SEARCH FIX */

.page-Generated-search .content h2,
.page-Generated-search .content p {
  padding: 0px 15px;
}

.page-Generated-search .content > form {
  padding: 15px;
}

/* END OF SEARCH FIX */
/* FIX FOR NEWS PAGE */

.page-Generated-news .content td {
  vertical-align: top !important;
  padding-right: 10px;
}

.page-Generated-news .content .search td {
  padding-right: 0;
}

/* END OF FIX FOR NEWS PAGE */
/* FIX FOR SLIDESHOW Z-INDEX */

.ie8 .sj_element_slideshow div.cycle > div {
  height: 100% !important;
  min-height: 100px;
}

.sj_element_slideshow div.cycle > div {
  z-index: 0 !important;
  filter: none !important;
  background: transparent !important;
}

/* END OF FIX FOR SLIDESHOW Z-INDEX */
/* MAP FIX */

.page .element-map img {
  width: auto;
  max-width: inherit;
}

.page .element-map {
  position: relative;
  z-index: 0;
}

/* END OF MAP FIX */
/* IE8 FIXES */

.ie8 .fc-header,
.ie8 .fc-header tbody,
.ie8 .fc-header tr {
  display: block;
}

.ie8 .fc-header td {
  display: inline-block !important;
  width: 33%;
}

.ie8 .sj_element_slideshow div.cycle div {
  width: 100% !important;
}

.ie8 .goog-te-gadget img {
  width: 38px;
  height: 12px;
}

.ie8 .wrapper img {
  width: auto;
}

.ie8 .goog-te-banner-frame {
  width: 100%;
  height: 38px;
}

.ie8 #goog-gt-tt {
  display: none;
}

.ie8 body {
  top: 0 !important;
}

.ie8 body.sj_preview > .skiptranslate {
  height: 38px;
}

.ie8 .search .site-search {
  line-height: 18px;
}

.ie8 .page-Generated-search .content.inner input {
  float: left;
}

.ie8 .page-Generated-search .content.inner form {
  overflow: auto;
  padding-left: 5px;
}

.ie8 .search .site-search,
.ie8 .btn,
.ie8 .page-Generated-search .content.inner input {
  height: 27px;
}

.ie8 .btn {
  line-height: 20px;
}

.ie8 .frame img {
  width: auto
}

/* END OF IE8 FIXES */

.element-text table {
  width: 100%;
  table-layout: fixed;
}

.sj_element_events dl.sj_events dt small {
  border: 0;
}

.page-Generated-search .content input {
  margin-left: -4px;
  float: left;
}

.page-Generated-search .content form {
  margin-bottom: 20px;
}

.page-Generated-news .sj_element_news,
.page-Generated-calendar #calendar {
  padding: 15px;
}

/* END OF FIXES */

.fc-event-container > * {
  z-index: 0;
}

.ie8 .sj_element_slideshow div.cycle * {
  width: auto !important;
  height: 100% !important;
}

.ie8 .sj_element_slideshow div.cycle > div {
  right: 0;
}

.ie8 .nav > ul li.extra.more ul li ul,
.ie8 .nav > ul li.last-item ul li ul {
  left: -100%;
}

.sj_element_news ul.pagination li,
.sj_element_news ul.pagination li a {
  font-size: 12px;
}

.has-side-menu .sj_element_news .pagination-showing {
  font-size: 0.8em;
}

.sj_element_news .bs3-text-right.pagination-showing {
  text-align: left;
}

.sj_element_slideshow {
  max-width: 930px;
  margin: 0 auto;
}

/* Date counter widget */
.date-box {
  display: none;
  min-width: 100px;
  min-height: 40px;
  background: #000;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-weight: bold;
  font-size: 28px;
  border-radius: 10px;
  padding: 20px 35px;
  position: fixed;
  top: 80px;
  right: 60px;
  z-index: 999;
  text-align: center;
}

.ie8 .date-box {
  background: #000;
}

.date-box #counter {
  font-size: 38px;
  line-height: 38px;
  display: block;
  padding: 15px 0;
  color: #BBFF3C;
}

.date-box .close {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  font-size: 14px;
  padding: 7px;
  color: #fff;
  opacity: 0.7;
}

.date-box .close:hover {
  opacity: 1;
}

.date-box .contact_text {
  font-size: 13px;
  max-width: 250px;
  margin: 0 auto;
}

.leaflet-bottom,
.leaflet-top {
  z-index: 400;
}

.ie8 .nav ul.offset-right > li > ul {
  left: -100%;
}

.column .cms-element-handle {
  z-index: 602;
}


.sj_element_not_found,
.sj_element_please_choose,
.sj_element_processing,
.cms-element-placeholder {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
}


@media(max-width: 991px) {
  .date-box {
    display: none !important;
  }

  .column .fc-header td {
    display: table-cell !important;
    width: auto;
    text-align: center;
  }

  .column .fc-header td,
  .column .fc-header tr,
  .column .fc-header th {
    display: inline-block !important;
    width: 100%;
    text-align: center;
  }

  .element-text table,
  .element-text tbody,
  .element-text th,
  .element-text tr,
  .element-text td {
    height: auto !important;
  }

  /*    .element-text table,
    .element-text tr,
    .element-text td,*/
  .nav_mobile,
  .page {
    display: block;
  }

  .sj_element_news .bs3-col-lg-3 {
    width: 100%;
  }

  .school-address.with-dividers p:after {
    display: none;
  }

  .column {
    width: 100% !important;
  }


  .nav,
  .sidenav {
    display: none !important;
    min-height: 0 !important;
  }

  .nav_mobile {
    margin: 0;
    display: block;
  }

  .inner,
  .wrapper {
    width: 100% !important;
    min-width: 0;
  }

  .school-name {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
  }

  .school-address {
    text-align: center;
  }

  .school-address p {
    display: block;
  }

  .school-address.with-diviers p:after {
    display: none;
  }

  .theme-social {
    text-align: center;
  }

  .school-details .theme-school-logo,
  .school-details .school-name {
    display: block;
    width: 100%;
    text-align: center;
  }

  .sj_element_slideshow div {
    width: 100% !important;
    background: none !important;
  }

  .sj_element_slideshow div.cycle div img {
    width: auto !important;
    height: auto !important;
  }

  .page .bar .theme-social,
  .page .bar .school-address {
    line-height: normal !important;
    text-align: center;
    float: none;
    max-width: none;
  }

  .school-name,
  .theme-school-logo {
    display: block;
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 10px;
  }

  .boxes > div {
    float: none !important;
    text-align: center;
  }

  .search form {
    display: inline-block;
  }
}

@media (max-width: 630px) {
  .column .fc-header td {
    display: block !important;
    width: 100%;
  }

  .page-Generated-news .content td {
    display: block;
  }
}

@media (max-width: 450px) {
  td.fc-header-left {
    display: none;
  }

  td.fc-header-center,
  td.fc-header-right {
    width: 50%;
  }
}
