/*
Theme Name: Science Oxford 
Theme URI: https://scienceoxford.co.uk
Author: ImageWorks
Author URI: https://www.imageworks.co.uk
Description: a Custom Theme for Science Oxford.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pg
*/

/* Theme customisations below this line please. */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: white;
}

img {
  max-width: 100%;
  height: auto;
}

/* SOC - Book Your Visit form */

.frm_section_spacing {
  border: 0 !important;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100 !important;
  font-size: 32px !important;
}

.frm_arrow_icon {
  display: none;
}

.page-id-24280 .frm_style_formidable-style-8.with_frm_style .frm_primary_label {
  width: 20%;
  display: block;
  margin-right: 5px;
  float: left;
  margin-bottom: 15px;
}

.page-id-24280
  .frm_style_formidable-style-8.with_frm_style
  .frm_none_container
  .frm_primary_label,
.page-id-24280 .frm_style_formidable-style-8.with_frm_style .frm_pos_none {
  display: none;
}

.page-id-24280 .frm_style_formidable-style-8.with_frm_style input[type="text"],
.page-id-24280 .frm_style_formidable-style-8.with_frm_style input[type="email"],
.page-id-24280 .frm_style_formidable-style-8.with_frm_style select {
  width: calc(80% - 5px);
  box-shadow: none;
  border: 0;
  border-radius: 0 0 12px 0 !important;
}

/* .page-id-24280 .frm_style_formidable-style-8.with_frm_style input[type="text"], .page-id-24280 .frm_style_formidable-style-8.with_frm_style .frm_primary_label, .page-id-24280 .frm_style_formidable-style-8.with_frm_style input[type="email"], #field_max2b2, .page-id-24280 .frm_style_formidable-style-8.with_frm_style select, .page-id-24280  #frm_field_470_container label {
background-color: #E5E5E5;
height: 60px;
font-size: 20px;
font-weight: 100;
padding: 15px;
font-family: museo-sans, sans-serif;
color: #555555;
} */

#field_7u4ei-0,
.frm_style_formidable-style-8.with_frm_style
  .frm_checkbox
  input[type="checkbox"] {
  display: none !important;
}

#frm_checkbox_586-404-0 label,
.frm_style_formidable-style-8.with_frm_style
  .frm-show-form
  > div.frm_description,
.with_frm_style .vertical_radio .frm_checkbox label,
.frm_style_formidable-style-8.with_frm_style textarea:focus,
.frm_style_formidable-style-8.with_frm_style textarea,
.frm_style_formidable-style-8.with_frm_style
  .frm_form_field.frm_html_container {
  font-size: 16px !important;
  font-weight: 100 !important;
  font-family: museo-sans, sans-serif !important;
}

.page-id-24280
  .frm_style_formidable-style-8.with_frm_style
  .form-field
  input:not([type="file"]):focus,
.page-id-24280 .frm_style_formidable-style-8.with_frm_style select,
.page-id-24280 .frm_style_formidable-style-8.with_frm_style textarea,
.page-id-24280
  .frm_style_formidable-style-8.with_frm_style
  .frm_form_field.frm_html_container {
  background-color: #e5e5e5;
  border: none !important;
  box-shadow: none !important;
}

.page-id-24280 .frm_style_formidable-style-8.with_frm_style select:focus,
.page-id-24280 .frm_style_formidable-style-8.with_frm_style textarea:focus {
  background-color: #e5e5e5 !important;
}

#field_7u4ei_label {
  display: none;
}

.fullwidth select,
.fullwidth input {
  width: 100% !important;
}

.frm_style_formidable-style-8.with_frm_style select {
  border-radius: 0 0 12px 0 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/green-arrow-block-rotate.svg");
  background-repeat: no-repeat;
  background-position-x: 97%;
  background-position-y: center;
  background-size: 30px;
}

.with_frm_style .vertical_radio .frm_checkbox label:after {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/add-more.svg");
  background-repeat: no-repeat;
  background-position-x: 41%;
  background-position-y: center;
  padding: 14px;
  content: "";
  margin-left: 20px;
}

.ui-datepicker thead {
  display: none !important;
}

.ui-datepicker .ui-widget-header,
.ui-datepicker .ui-datepicker-header {
  background-color: #e5e5e5 !important;
}

.calendarkey {
  margin-bottom: 40px;
  font-size: 20px;
}

#frm_field_538_container {
  padding: 20px;
}

#frm_field_534_container {
  margin: 0 !important;
}

.unavailable,
.available,
.limited,
.selected,
.frm_style_formidable-style-8.with_frm_style .frm_radio {
  margin-right: 20px;
  display: inline-block !important;
}

.unavailable:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #7f8080;
  content: "";
  padding: 0px 0 0 45px;
  margin-right: 20px;
}

.available:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #ffffff;
  content: "";
  padding: 0px 0 0 45px;
  margin-right: 20px;
}

.limited:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #b4b4b4;
  content: "";
  padding: 0px 0 0 45px;
  margin-right: 20px;
}

.selected:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #94c11e;
  content: "";
  padding: 0px 0 0 45px;
  margin-right: 20px;
}

#frm_field_574_container,
#frm_field_566_container {
  background-color: #ffffff !important;
}

.frm_radio label {
  font-weight: 100 !important;
  font-family: museo-sans, sans-serif !important;
  font-size: 14px !important;
}

/* #frm_checkbox_470-426-0 label {
padding: 15px 15px 15px 40px !important;
font-size: 20px !important;
} */

#frm_form_34_container .frm_button_submit {
  background: #94c11e;
  color: #fff;
  padding: 20px;
  border-radius: 0 0 15px 0;
  box-shadow: none;
  border: 0;
  font-size: 20px;
  font-weight: 100;
  font-family: museo-sans, sans-serif;
}

.frm_form_field .nextstep {
  background-color: #434342 !important;
  color: #ffffff !important;
  border-radius: 0 0 15px 0;
  padding: 15px;
  width: 20%;
  cursor: pointer;
}

.school-info h3:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/step-1.svg");
  background-repeat: no-repeat;
  background-position-y: center;
  padding: 20px;
  content: "";
  margin-right: 15px;
}

.plan-your-visit h3:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/step-2.svg");
  background-repeat: no-repeat;
  background-position-y: center;
  padding: 20px;
  content: "";
  margin-right: 15px;
}

.dates-availability h3:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/step-3.svg");
  background-repeat: no-repeat;
  background-position-y: center;
  padding: 20px;
  content: "";
  margin-right: 15px;
}

.payment h3:before {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("assets/img/step-4.svg");
  background-repeat: no-repeat;
  background-position-y: center;
  padding: 20px;
  content: "";
  margin-right: 15px;
}

/* General Styles */

#wpadminbar {
  z-index: 999999;
}

.menu-footer-menu-terms-privacy-container ul li {
  display: inline-block;
}

.menu-footer-menu-whats-on-container,
.menu-footer-menu-news-container {
  margin-bottom: 20px;
}

#menu h2 {
  display: none;
}

.soc .wysiwyg h3 a,
.soc .wysiwyg-columns h3 a {
  color: #8dc63f;
}

/* Tom Styles */

.menu-wrap {
  vertical-align: 9px;
}

.main > div:first-of-type {
  padding-top: 50px;
}

.home .main > div:first-of-type {
  padding-top: 80px;
}

.green .wysiwyg a:link,
.green .wysiwyg-columns a:link,
.section-schools a:link,
.green .wysiwyg a:visited,
.section-schools a:visited,
.green .wysiwyg-columns a:visited,
.section-schools a:active,
.green .wysiwyg a:active,
.green .wysiwyg-columns a:active {
  color: #8dc63f !important;
  font-weight: 400 !important;
}

.green .wysiwyg a:hover,
.green .wysiwyg-columns a:hover,
.section-schools a:hover {
  color: #8dc63f !important;
  opacity: 0.7;
  font-weight: 400;
}

.purple .wysiwyg a:link,
.purple .wysiwyg a:visited,
.purple .wysiwyg a:active {
  color: #833bbb;
  font-weight: 400;
}

.purple .wysiwyg a:hover {
  color: #833bbb;
  opacity: 0.7;
  font-weight: 400;
}

.accent-green a:link p,
.accent-green a:visited p,
.accent-green a:active p {
  color: #454849;
}

.accent-green a:hover p {
  color: #454849;
}

.blue .wysiwyg-columns a:link,
.blue .wysiwyg-columns a:visited,
.blue .wysiwyg-columns a:active,
.blue .wysiwyg a:link,
.blue .wysiwyg a:visited,
.blue .wysiwyg a:active  {
  color: #008bcb;
  font-weight: 400;
}

.blue .wysiwyg-columns a:hover {
  color: #008bcb;
  opacity: 0.7;
  font-weight: 400;
}

.section-whatson a:link,
.section-whatson a:visited,
.section-whatson a:active {
  font-weight: 400;
}

.section-whatson a:hover {
  color: #008bcb;
  opacity: 0.7;
  font-weight: 400;
}

.btn.btn-primary.btn-lrg.green-btn {
  background-color: #8dc63f;
  color: #fff !important;
}

.btn.btn-primary.btn-lrg.blue-btn {
  background-color: #008bcb;
}

/*.main.green h3 a {
    font-size: 2.8rem;
}

.main.green h3 a:before {
    content: '';
    display: inline-block;
    width: 37px;
    height: 37px;
    background-color: #8DC63F;
    left: 276px;
    top: 87%;
    border-radius: 100%;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.main.green h3 a:after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 25px;
    background: url('https://soxstage.wpengine.com/wp-content/themes/scienceoxford/dist/img/arrow-white.svg') center center/contain no-repeat;
    left: 282px;
    top: 88%;
    border-radius: 100%;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}*/

.main.orange .section.default a:link,
.main.orange .section.default a:visited,
.main.orange .section.default a:active {
  color: #f47735;
}

.main.orange .section.default a:hover {
  color: #f47735;
  opacity: 0.7;
}

.breadcrumb {
  padding: 30px 30px 30px 30px;
}

.breadcrumb a:hover {
  text-decoration: none;
  opacity: 0.7;
  transition: ease-in-out 0.5s;
}

.slideout-menu {
  overflow-y: hidden;
}

.wysiwyg-columns .schoolvisitinfo {
  margin-top: 0;
  position: relative;
  display: block;
}

.wysiwyg-columns .schoolvisitinfo img.wp-image-25919 {
  margin-left: 30px;
}

a:hover .featured-image-wrapper .overlay {
  opacity: 0.3;
}

.section a:hover .overlay {
  opacity: 0.3;
}

.soc .owl-carousel .owl-stage-outer .owl-stage .owl-item .slide::before {
  height: 100vh;
  z-index: inherit;
}

.soc
  .owl-carousel
  .owl-stage-outer
  .owl-stage
  .owl-item
  .slide
  .slide-main-content {
  width: calc(100% - 250px);
}

.soc
  .owl-carousel
  .owl-stage-outer
  .owl-stage
  .owl-item
  .slide
  .slide-main-content
  h1 {
  font-weight: 200;
  font-size: 3rem;
}

.soc
  .owl-carousel
  .owl-stage-outer
  .owl-stage
  .owl-item
  .slide
  .slide-main-content
  h2 {
  font-weight: 200;
  font-size: 2.2rem;
}

.owl-carousel .owl-stage-outer .owl-stage .owl-item .slide .slide-content {
  min-width: 400px;
}

.page-featured-image::before {
  min-height: 330px;
}

.page-featured-image {
  min-height: 340px;
}

.image-sign-post {
  min-height: 700px;
}

.discover-slider .more .more-content p {
  max-width: 900px;
  margin: 0px auto;
}

.social-icons {
  margin-top: 15px;
}

footer {
  line-height: 1.5;
  padding-top: 80px;
}

footer .footer-copyright {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Hide the SOC book your visit form for Phase I - to unhide for Phase II */

/* Forms on RHS on events */

.frm_style_formidable-style-8.with_frm_style
  #frm_field_230_container
  .frm_primary_label {
  margin: 0 !important;
  width: 100% !important;
}

.single-event .col-sm-6 .frm_button_submit {
  background: #fff !important;
  color: #212529 !important;
  padding: 20px !important;
  border-radius: 0 0 15px 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  font-size: 20px !important;
  font-weight: 100 !important;
  font-family: museo-sans, sans-serif !important;
}

.single-event .col-sm-6 h3 {
  color: #454545;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100;
  font-size: 30px;
}

.single-event .col-sm-6 .event-image img {
  margin-bottom: 30px;
}

.frm_style_formidable-style-8.with_frm_style
  .frm-show-form
  div.frm_description
  p {
  color: #454545;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100;
  font-size: 18px;
}

/* STEM Horizons */

.post-type-archive-people .showall,
.post-type-archive-business .showall {
  display: none;
}

.post-type-archive-people .searchandfilter ul,
.post-type-archive-business ul,
.single-business .searchandfilter ul {
  padding: 0;
}

.post-type-archive-people .post,
.post-type-archive-business .post {
  color: #ffffff;
  float: left;
  height: 500px;
  margin: 0 40px 0 0;
  position: relative;
  z-index: 101;
}

.post-image img {
  height: auto;
  min-height: 200px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.post img {
  display: block;
}

.post-image {
  height: 250px;
}

.post-type-archive-people .post-image,
.post-type-archive-people .post-image a,
.post-type-archive-people .post-image img {
  height: 250px;
  top: 0%;
  transform: none;
}

.post-type-archive-people .post-image {
  display: block;
  height: 200px;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.post-type-archive-people h1,
.post-type-archive-business h1,
.tax-business-area h1,
.single-people h2,
.single-people h1,
.single-business h2 {
  text-transform: uppercase;
  font-size: 48px;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100 !important;
}

.post-type-archive-people .post-content a,
.post-type-archive-business .post-content a,
.tax-business-area a {
  color: #454545;
}

.post-type-archive-people .post-content a:hover,
.post-type-archive-business .post-content a:hover,
.tax-business-area a {
  text-decoration: none;
}

span.job-title {
  text-transform: none;
  font-size: 24px;
  margin-bottom: 5px;
  margin-top: 10px;
  position: relative;
  float: left;
  line-height: normal;
  clear: left;
}

span.employer {
  text-transform: none;
  font-size: 18px;
  margin-bottom: 5px;
  position: relative;
  float: left;
  line-height: normal;
  clear: left;
}

span.company-desc {
  text-transform: none;
  font-size: 21px;
  margin-bottom: 5px;
  margin-top: 10px;
  position: relative;
  float: left;
  line-height: normal;
  clear: left;
}

.post-type-archive-people #main,
.post-type-archive-business #main,
.single-people #main,
.single-business #main {
  padding-bottom: 150px;
}

.post-type-archive-business .post-image img,
.tax-recruitment-level .post-image img,
.tax-business-area .post-image img {
  height: auto;
  max-height: calc(100% - 20px);
  position: relative;
  max-width: calc(100% - 20px);
  width: auto;
  text-align: center;
  margin: 0px auto 0px auto;
  z-index: 99;
  padding: 10px;
  min-height: auto;
}

.single-people h3 {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 100;
}

.personcontent {
  margin-top: 80px;
}

.homepage-featured-companies ul,
.homepage-featured-individuals ul {
  list-style: none;
  margin-left: 0px;
  padding: 0;
}

.homepage-featured-companies .whatson-home {
  width: calc(33.33% - 53px);
  position: relative;
  z-index: 101;
}

.em-location-map-container {
  width: 100% !important;
  height: 400px !important;
  float: right;
}

.whatson-home {
  width: calc(33.33% - 53px);
  float: left;
  position: relative;
  z-index: 101;
}

.whatson-home-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: block;
  position: relative;
  margin-bottom: 15px;
}

.whatson-home-img img {
  width: 100%;
  height: auto;
  min-height: 200px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.textwidget p .whatson-home-img {
  display: none;
}

.toggle-button {
  margin-right: 10px;
}

/* News end page */

.post-single .content a:hover,
.sidebar ul li a:hover {
  text-decoration: none !important;
  opacity: 0.4;
}

.post-single .post-title {
  margin: 0px 0 20px 0;
}

.single-post .featured-image {
  margin-bottom: 40px;
}

/* Social Share */

.sharebox h4 {
  font-weight: 100;
  text-transform: uppercase;
}

.social-icons ul {
  padding: 0;
}

.social-linkedin,
.social-facebook,
.social-twitter,
.social-email {
  display: inline-block;
  width: 50px;
  height: 50px;
}

.social-linkedin {
  background-image: url(assets/img/linkedin-green.svg);
  background-repeat: no-repeat;
}

.social-facebook {
  background-image: url(assets/img/facebook-green.svg);
  background-repeat: no-repeat;
}

.social-twitter {
  background-image: url(assets/img/twitter-green.svg);
  background-repeat: no-repeat;
}

.social-email {
  background-image: url(assets/img/email-green.svg);
  background-repeat: no-repeat;
}

/* Big Science Event */

.noinput input {
  display: none;
}

.noinput .frm_description {
  font-size: 14px !important;
  color: #212529 !important;
}

.schooladdress textarea,
.howdidyouhear textarea {
  background-color: #ffffff !important;
}

@media screen and (max-width: 959px) {
  .menu-wrap {
    display: none;
  }

  .logo a img {
    max-width: 100%;
  }

  .section .col-sm-6 {
    padding-bottom: 50px;
  }

  .soc
    .owl-carousel
    .owl-stage-outer
    .owl-stage
    .owl-item
    .slide
    .slide-main-content {
    width: calc(100% - 50px);
  }

  .wysiwyg-columns .schoolvisitinfo {
  margin-top: 0;

}
}

@media screen and (min-width: 576px) and (max-width: 959px) {
  footer .top-footer .col-sm-3 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .wysiwyg-columns .schoolvisitinfo {
  margin-top: 0;

}
}

@media screen and (max-width: 575px) {
  .logo a img {
    max-width: 270px;
  }

  .featured-image-wrapper {
    min-height: 220px;
  }

  .ox-trust {
    margin-top: 20px;
  }

  .owl-nav {
    display: none;
  }

  .soc
    .owl-carousel
    .owl-stage-outer
    .owl-stage
    .owl-item
    .slide
    .slide-main-content
    h1 {
    display: none;
  }

  .wysiwyg-columns .schoolvisitinfo {
  margin-top: 0;
}
}

@media screen and (max-width: 768px) {
  .wysiwyg-columns .schoolvisitinfo img.wp-image-25919 {
    margin-top: 30px;
    margin-left: 30px;
    position: relative;
    display: block;
  }
}

.hear .frm_primary_label {
  font-family: museo-sans, sans-serif !important;
  font-size: 24px !important;
  color: #666 !important;
  font-weight: 200 !important;
}
.hear .frm_required {
  display: none !important;
}

.hear input {
  background: #eee !important;
  padding: 22px 12px !important;
  height: auto !important;
  font-size: 18px !important;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100 !important;
  border: 0 !important;
  border-radius: 0 0 10px 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.newsletterconsent .frm_section_spacing {
    line-height: 1.4 !important;
    font-weight: 100 !important;
    margin-bottom: 20px !important;
    margin-top: 40px !important;
}

.newsletterconsent input[type="text"],
.newsletterconsent input[type="email"] {
  background: #eee !important;
  padding: 22px 12px !important;
  height: auto !important;
  font-size: 18px !important;
  font-family: museo-sans, sans-serif !important;
  font-weight: 100 !important;
  border: 0 !important;
  border-radius: 0 0 10px 0 !important;
  box-shadow: none !important;
  color: #212529 !important;
}
.newsletterconsent input[type="text"]::placeholder,
.newsletterconsent input[type="email"]::placeholder,
.newsletterconsent input[type="text"]::-moz-placeholder,
.newsletterconsent input[type="email"]::-moz-placeholder,
.newsletterconsent input[type="text"]::-webkit-input-placeholder,
.newsletterconsent input[type="email"]::-webkit-input-placeholder {
  color: #212529 !important;
}

.newsletterconsent .frm_primary_label {
  font-family: museo-sans, sans-serif !important;
  font-size: 22px !important;
  text-transform: uppercase;
  font-weight: 100 !important;
}

.newsletterconsent label {
  font-family: museo-sans, sans-serif !important;
}

.frm_style_formidable-style-2.with_frm_style
  .newsletterconsent
  .frm_radio
  label,
.frm_style_formidable-style-2.with_frm_style
  .newsletterconsent
  .frm_checkbox
  label,
.newsletterconsent .frm_radio label,
.newsletterconsent .frm_checkbox label,
.frm_style_formidable-style-2.with_frm_style .newsletterconsent div.frm_description  {
  font-size: 16px;
  color: #212529 !important;
  font-weight: 100 !important;
  font-family: museo-sans, sans-serif !important;
}

.newsletterconsent .frm_radio input[type="radio"],
.newsletterconsent .frm_checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  -webkit-appearance: none;
  outline: 3px solid #666;
  border: 5px solid white;
  box-sizing: border-box;
  box-shadow: none;
  margin-left: 5px;
  vertical-align: -5px;
  appearance: none;
}

.newsletterconsent .frm_radio input[type="radio"]:checked,
.newsletterconsent .frm_checkbox input[type="checkbox"]:checked {
  background: #8dc63f !important;
  outline: 5px solid #8dc63f;
}

input:checked + .frm_slider {
    background: #8dc63f !important;
}
.frm_switch {
    width:60px;
    height: 35px;
}
.frm_slider::before {
    width: 33px;
    height:33px;

}
input:checked + .frm_slider::before {
    transform: translateX(27px);
}
.frm_style_formidable-style-2.with_frm_style .newsletterconsent  .frm_submit button {
    font-size: 24px;
    text-transform: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 0 0 10px 0;
    border:0;
    min-width: 170px;
    text-align: center;
    font-weight: 100;
    color: white;
    font-family: museo-sans, sans-serif !important;
    background-color: #009DD6 !important;
}

@media screen and (max-width: 500px) {
	.curve-discover-pink {
		width: 100% !important;
		overflow: hidden !important;
	}
	.curve-discover-pink svg {
		width: 220% !important;
	}


}

.quote h3 {
	text-transform: none !important;
}

li.whatson-item {
	width: 33%;
	display: inline-block;
	vertical-align: top;
	margin-right: 20px
}

li.whatson-item:nth-child(3n+1) {
	margin-left: -40px;
}

li.whatson-item:nth-child(3n) {
	margin-right: 0;
}

@media screen and (max-width: 768px) {
	li.whatson-item {
		width: 100%;
		display: inline-block;
		vertical-align: top;
		margin-right: -40px;
		margin-left: -40px;
	}

  .wysiwyg-columns .schoolvisitinfo {
  margin-top: 0;

}

	li.whatson-item:nth-child(3n+1) {
		margin-left: -40px;
	}

	li.whatson-item:nth-child(3n) {
		margin-right: -40px;
	}
}


.schooladdress textarea, .howdidyouhear textarea {
	border: 1px solid #cccccc !important;
}

.single-event #related-news { display: none; }