/*!
 * BeyondAutims Schools - July 2017
 * Overwite Bootstrap styles
 */

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

a {
  color: #0084b6;
}

.btn-primary {
  background-color: #0084b6;
}

body {
  color: #636366;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 400;
}

.site-logo {
  max-width: 100%;
}

.sitewide-header {
  border-bottom: 5px solid #91004b;
  padding: 20px 0 20px 0;
  margin-bottom: 16px;
}

.search-control {
  width: 100%;
  border: none;
  border-bottom: 1px solid #636366;
  color: #636366;
  background-color: transparent;
  padding: 0;
  font-size: inherit;
  margin-top: 6px;
}

@media all and (max-width: 992px) {
  .search-control {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.school-menu-button {
  background-color: #fff;
  border: none;
  margin-top: 10px;
  color: #ec730a;
  text-transform: uppercase;
  padding: 0;
}

blockquote {
  border: 1px solid #f5f5f5;
  border-left: 5px solid #ed7102;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header {
  background-color: #f5f5f5;
  padding: 16px 0 6px 0;
  margin-bottom: 10px;
}

.site-header img {
  max-width: 100%;
  margin-bottom: 10px;
}

.page-content h1:first-child {
  margin-top: 0;
}

.sitewide-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border-bottom: 5px solid #91004b;
  z-index: 10;
  width: 100%;
  padding-bottom: 20px;
}

.sitewide-menu .row {
  margin-left: -8px;
  margin-right: -8px;
}

.sitewide-menu .col-md-2 {
  padding-left: 8px;
  padding-right: 8px;
}

.sitewide-menu .h4 {
  line-height: 1.1;
  color: #ee7202;
  margin-bottom: 20px;
}

.sitewide-menu ul li a {
  color: #91004b;
}

@media all and (min-width: 1200px) {
  .sitewide-menu .container-fluid .row {
    display: flex;
    width: 100%;
  }

  .sitewide-menu .container-fluid .row .col-lg-auto {
    flex-basis: 100%;
  }
}

.page-content h1 {
  color: #ed7102;
  font-size: 30px;
  margin-bottom: 20px;
}

.page-content h2 {
  color: #0582c7;
  font-size: 24px;
  margin-bottom: 16px;
}

.page-content h3 {
  color: #f9ad26;
  font-size: 22px;
  margin-bottom: 16px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content ul:not([class]) {
  list-style-image: url("../images/bullet.jpg");
}

.infoBox {
  background-color: #91004b;
  padding: 10px;
  color: #fff;
  margin-bottom: 10px;
}

.infoBox h2:first-child {
  margin-top: 0;
  font-size: 22px;
  color: #fff;
}

.infoBox h3 {
  margin-top: 0;
  font-size: 22px;
  color: #fff;
}

.infoBox a:not(.btn) {
  color: #fff;
}

@media all and (max-width: 992px) {
  .infoBox {
    margin-top: 10px;
  }
}

@media all and (min-width: 768px) {
  .homepage {
    min-height: 196px;
  }
}

.homepage ul {
  margin-bottom: 0;
}

.homepage-news-preview {
  height: 124px;
  overflow: hidden;
  margin-bottom: 4px;
}

.homepage-news-preview img {
  max-width: 100%;
}

.school-link-logo {
  max-width: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
}

.service-name {
  color: #5b5f60;
  font-weight: 700;
  font-size: 33px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.age-range-label {
  background-color: #0582c7;
  color: #fff;
  padding: 2px 6px 2px 6px;
  display: inline-block;
}

.small-right-padding {
  padding-right: 4px;
}

.small-left-padding {
  padding-left: 4px;
}

.homepage-highlights-buttons {
  margin-right: -6px;
}

.homepage-highlights-buttons .col-xs-8 {
  padding-right: 16px;
}

.homepage-highlights-buttons .col-xs-2 {
  padding-left: 6px;
  padding-right: 6px;
}

.footer {
  background-color: #636366;
  margin-top: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 15px;
}

.footer h4 {
  font-size: 20px;
}

.footer a {
  color: #fff;
}

.footer .social-links {
  font-size: 20px;
}

.docviewer {
  width: 100%;
  height: 500px;
  clear: both;
}

#loadingDocViewer {
  text-align: center;
  font-size: 14pt;
  margin-bottom: 20px;
}

#loadingDocViewer img {
  margin-right: 10px;
}

.noTopMargin {
  margin-top: 0;
}

.topMargin {
  margin-top: 20px !important;
}

.small-text {
  font-size: 13px;
}

.extraPadding {
  margin-top: 20px;
  margin-bottom: 20px;
}

.contentHighlight {
  height: 220px;
}

.quote {
  margin-top: 20px;
  margin-bottom: 20px;
}

.homepage-quote {
  margin-top: 60px;
  margin-bottom: 20px;
}

.quote h3,
.quote-text {
  margin-top: 0;
  color: #1587b8;
  font-size: 24px;
}

.quote h4,
.quote-author {
  color: #f48024;
  font-size: 22px;
}

.quote h5 {
  color: #636366;
  font-size: 15px;
}

.sub-menu {
  background-color: #91004b;
  color: #fff;
  margin-bottom: 10px;
}

.sub-menu ul li {
  border-bottom: 1px solid #fff;
  padding-bottom: 6px;
  padding-top: 6px;
}

.sub-menu ul li a {
  font-size: 18px;
  margin-left: 10px;
  display: block;
}

.sub-menu ul li a {
  color: #fff;
}

.sub-menu ul ul {
  background-color: #fff;
}

.sub-menu ul ul li a {
  color: #636366;
  border-bottom: 1px solid #636366;
  margin-left: 0;
  padding-left: 10px;
}

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

.table > thead > tr > th,
.table > tbody > tr > th {
  border-bottom: 1px solid #ddd;
  background-color: #636366;
  color: #fff;
}

.table {
  background-color: #fcfcfc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.our-history-timeline {
}

.our-history-timeline h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.our-history-timeline h3 span {
  background-color: #91004b;
  padding: 6px;
  border-radius: 3px;
  color: #fff;
}

.our-history-timeline blockquote {
  width: 90%;
  margin: 0 auto;
}

.our-history-timeline-entry {
}

.our-history-timeline-entry p {
  background-color: #fff;
  padding: 10px;
}

.our-history-timeline-entry:after {
  content: "";
  position: relative;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px solid #91004b;
  transform: translate(-50%);
  height: 20px;
}

.jargon-buster-search {
  font-size: 28px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #ed7102;
  color: #1587b9;
  padding: 10px;
  margin-bottom: 10px;
}

.highlight-school-link {
  font-size: 13px;
}

.content-highlight {
  min-height: 230px;
}

.content-page-images img {
  max-width: 100%;
}

.content-page-images .row {
  margin-bottom: 10px;
}

.content-page-images .row .col-md-6:first-child {
  padding-right: 4px;
}

.content-page-images .row .col-md-6:last-child {
  padding-left: 4px;
}

.goog-te-gadget-simple {
  /*background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
    border: 0 none !important; */
  background-color: #fff !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: "Roboto", sans-serif;
  margin-top: 8px;
}
.goog-te-gadget img {
  display: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value span {
  border: 0 none !important;
  color: #636366 !important;
  padding: 0;
}
.goog-te-gadget-simple .goog-te-menu-value a {
  font-weight: 400 !important;
}
.goog-te-gadget-simple .goog-te-menu-value {
  display: block;
  padding: 0;
  font-weight: 400 !important;
}

.breadcrumbs {
  font-size: 14px;
}

.breadcrumbs li {
  padding-left: 0;
}

.breadcrumbs li:first-child {
  padding-left: 5px;
}

.breadcrumbs a {
  color: #888888;
}

.breadcrumbs .slash {
  margin-right: 2px;
  color: #a7a7a7;
}

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

.ofsted-quote {
  margin-top: 20px;
  margin-bottom: 40px;
}

.ofsted-quote img {
  max-width: 20%;
}

@media all and (min-width: 992px) {
  .ofsted-quote .col-md-3 {
    text-align: right;
  }

  .ofsted-quote img {
    max-width: 50%;
  }
}

.sub-menu-mobile-reveal {
  background: transparent;
  width: 100%;
  border: none;
  padding: 10px 0 10px 0;
}

@media all and (min-width: 992px) {
  .sub-menu-mobile-reveal {
    display: none;
  }
}

@media all and (max-width: 992px) {
  .sub-menu-mobile-collapse {
    display: none;
  }
}

.school-homepage-link {
  margin-bottom: 20px;
}

.school-homepage-link img {
  max-width: 100%;
}

.school-homepage-link a:hover {
  text-decoration: none;
}

@media all and (max-width: 768px) {
  .school-homepage-link {
    border: 1px solid #cccccc;
    border-radius: 4px;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 8px;
  }

  .school-homepage-link img {
    max-width: 70%;
  }
}

.btn-success,
.btn-info {
  background-color: #0083b7;
  color: #fff;
  border: 1px solid #0083b7;
}

.btn-success:focus,
.btn-success:active,
.btn-info:focus,
.btn-info:active {
  color: #fff;
}

.btn-success:hover,
.btn-info:hover {
  color: #fff;
  background-color: #0083b7;
  border: 1px solid #0083b7;
}

.slick-slider {
  margin-bottom: 14px !important;
}

.lead {
  color: #0083b7;
  font-size: 18px;
}

.well {
  background-color: #ed7002;
  color: #fff;
}

.well h1,
.well h2,
.well h3,
.well h4,
.well h5,
.wellh6,
.well .h1,
.well .h2,
.well .h3,
.well .h4,
.well .h5,
.well .h6 {
  background-color: #ed7002;
  color: #fff;
}

.notice {
  background-color: #0083b7;
  color: #fff;
  text-align: center;
  padding: 8px;
  margin-bottom: 16px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice a {
  color: #fff;
}

.course-summary,
.courses-upcoming-dates-box,
.courses-materials-box {
  border: 1px solid #cecece;
  padding: 16px;
}

.course-summary {
  min-height: 290px;
  margin-bottom: 20px;
  position: relative;
}

.course-summary .more-dates {
  font-size: 0.9em;
}

.course-summary h4 {
  min-height: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.course-summary .more-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.footerSub {
  font-size: 1.2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.text-center {
  text-align: center !important;
}

.footerSub p {
  margin-bottom: 0px;
}
