/* STV Content Block */
.block-news-and-events .event-title {
  color: #2C292F;
  font-size: 28px;
  font-weight: 400;
}

.main-features .dexp-builder-box.layout_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px;
}

.main-features .dexp-builder-box .box-icon {
  width: 90px;
  height: 90px;
  line-height: 90px;
}

.main-features .dexp-builder-box h4 {
  color: #454545;
  font-size: 24px;
}

.image-text-container {
    display: flex;
    align-items: center;
}

.image-text-container .quote {
    margin-left: -30%;
}

.image-text-container .quote h3 {
    background-color: #FAFAFA;
    color: #000;
    text-transform: none;
    font-weight: 500;
    padding: 5px;
    font-size: 28px;
}

.image-text-container .attributed {
    margin-left: -31%;
    background-color: #FAFAFA;
    font-size: 20px;
    padding-left: 7px;
}

#block-front-bottom-banner-block, #block-about-bottom-banner-block  {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
}

#block-front-bottom-banner-block p, #block-about-bottom-banner-block p {
  line-height: 1.1em;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 60px;
  text-align: center;
}

.blue-block .dexp-builder-title h2.dexp-title {
  color: #22A9C4;
}

.blue-block .button.btn {
  color: #FFF;
  background-color: #22A9C4;
  border-color: #22A9C4;
}

.blue-block .button.btn:hover {
  background-color: #AFC93F;
  border-color: #AFC93F;
}

.blue-block .button.btn a:hover {
  color: #FFF !important;
} 

.green-block .dexp-builder-title h2.dexp-title {
  color: #AAC544;
}

.green-block .button.btn {
  color: #FFF;
  background-color: #AFC93F;
  border-color: #AFC93F;
}

.green-block .button.btn:hover {
  background-color: #22A9C4;
  border-color: #22A9C4;
}

.green-block .button.btn a:hover {
  color: #FFF !important;
} 

.default.button.btn{
  color: #FFF;
  background-color: #e95833;
  border-color: #e95833;
}

.dexp-builder-title h2.dexp-title {
  text-transform: none;
  font-size: 40px;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.2em;
}

.dexp-builder-title.mt-0 .dexp-title {
  margin-top: 0;
}

.dexp-title .secondary {
    font-size: 40px;
    font-weight: normal;
}

.key-point p, #block-front-partner-organisation-block p {
  font-size: 18px;
  line-height: 1.4em;
  color: #010101;
}

.main-point p {
  font-size: 34px;
  line-height: 1.3em;
  font-family: 'Gilroy';
  color: #454647;
}

.main-point.link {
  margin-bottom: 10px;
}

.main-point.link a {
    font-size: 34px;
    text-transform: uppercase;
    text-underline-position: under;
    text-decoration: underline;
    color: #545454;
}

.info-block {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 0.02em;
}

.info-block p {
  line-height: 1.2em;
}

.topic-block {
    color: #FFF;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.02em;
    margin-top: 15px;
}

.padding-30 {
  padding: 30px;  
}

.dexp-builder-box.highlight.topic {
  color: #FFF;
  font-size: 24px;
  font-weight: bold;
  font-style: italic;
  letter-spacing: 0.02em;
}

.dexp-builder-box.highlight.topic .box-icon i {
  color: #FFF;
}

.emphasis {
  color: #FFF;
  font-size: 30px;
  font-weight: bold;
  padding: 10px;
}

.emphasis p, .dexp-builder-box.highlight.topic p, .topic-block p {
  line-height: 1.2em;
  text-align: justify;
}

.flex-column-block {
  display: flex;
  flex-direction: column;
}

.justify-centre {
  justify-content: center;
}

.no-right-padding {
  padding-right: 0;
}

.no-left-padding {
  padding-left: 0;
}

.max-1250 {
  max-width: 1250px;
  margin: 0 auto;
}
.max-1350 {
  max-width: 1350px;
  margin: 0 auto;
}

/* STV Carousel */
@import "//brochure.schooltv.me/libraries/slick/slick/slick-theme.css?r1py6t";

.carousel-partnering-org .dexp-slick-item img {
    margin: 0 auto;
}
.carousel-partnering-org:before,
.carousel-partnering-org:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100px;
  top: 0;
  height: 100%;
  pointer-events: none; /*makes the linkes behind clickable.*/
}
.carousel-partnering-org:before {
  width: 25%;
  left: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}
.carousel-partnering-org:after {
  width: 25%;
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}

.carousel-testimonials .slick-center {
  -webkit-transform: scale(1) !important;
  -moz-transform: scale(1) !important;
  transform: scale(1) !important;
  opacity: 1!important;
}
.carousel-testimonials .slick-slide {
  margin: 10px 10px;
  -webkit-transform: scale(.9);
  -moz-transform: scale(.9);
  transform: scale(.9);
  opacity:.8;
}

.carousel-testimonials .slick-slide img {
  margin: 0 auto;
  max-height: 100px;
  width: auto;
}
/**.carousel-testimonials:before,
.carousel-testimonials:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100px;
  top: 0;
  height: 100%;
  pointer-events: none;
}
.carousel-testimonials:before {
  width: 20%;
  left: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(239, 244, 218, 1), rgba(0, 0, 0, 0));
}
.carousel-testimonials:after {
  width: 20%;
  right: 0;
  background: linear-gradient(to left, rgba(239, 244, 218, 1), rgba(0, 0, 0, 0));
}*/


.slick .slick-arrow:before {
  color: #FFFFFF;
}

/*
.slick .slick-arrow {
    font-size: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #fff;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    transition: all .3s linear;
}
*/

#brochure-home-carousel {
  margin: 0 auto;
  max-width: 1200px;
}

#brochure-home-carousel h3{
  color: #2d3237;
}

#brochure-home-carousel .slide-body .btn {
  margin: 0 auto;
  display: block;
  width: 250px;
  color: #f5f375;
  background-color: #2d3237;
  border-color: #2d3237;
  margin-top: 25px;
  text-align: center;
}

.carousel-testimonials .testimonial-img {
  margin: 0 auto;
  max-height: 100px;
  width: auto;
}


/* fix grid gaps */
.block-views-blockportfolio-block-20 .node--type-wellbeing-news-articles,
.block-views-blockportfolio-block-20 .node--type-newsletter-edition {
  margin-left: -2px;
  margin-bottom: -2px;
}

.carousel-frontpage-specialists {
    max-width: 1120px;
}
.specialist .title {
  font-weight: bold;
}
.specialist .position {
  font-size: 14px;
  line-height: 1.5;
  min-height: 42px;
}

.view-stv-partners-carousel .dexp-slick-item {
  display: table-cell !important;
  vertical-align: middle;
  text-align: center;
  height: 120px !important;
}
.view-stv-partners-carousel .dexp-slick-item img {
  max-height: 85px;
  width: auto;
}
.partner-logo {
  height: 120px;
  justify-content: center;
  padding: 5px;
}

.topic .desc {
  padding-left: 0;
}
.topic .desc a{
  font-size: 14px;
}
.topic .image {
  padding-top: 5px;
  padding-bottom: 5px;
}

.carousel-topics .dexp-slick-carousel .slick-controls button.slick-arrow::before {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 40px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.carousel-topics .dexp-slick-carousel .slick-controls button.slick-arrow.slick-prev::before {
  font-family: "revicons";
  content: '\e824';
  color: #22A9C4;
  font-size: 30px;
  line-height: 30px;
}

.dexp-slick-carousel .slick-controls button.slick-arrow.slick-next::before {
  font-family: "revicons";
  content: '\e825';
  color: #22A9C4;
  font-size: 30px;
  line-height: 30px;
}
.dexp-slick-carousel .slick-controls button.slick-arrow.slick-prev::before {
  font-family: "revicons";
  content: '\e824';
  color: #22A9C4;
  font-size: 30px;
  line-height: 30px;
}
.dexp-slick-carousel .slick-controls button.slick-arrow {
  border: none;
}
.dexp-slick-carousel .slick-prev {
  left: -60px;
}
.dexp-slick-carousel .slick-next {
  right: -60px;
}

/**.dexp-title.section-title {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 600;
  font-size: 34px !important;
  line-height: 120% !important;
}

.video-heading h2 {
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 600;
  font-size: 28px !important;
  text-transform: none !important;
  letter-spacing: 1px !important;
}*/

.zoom {
  transition: transform .5s ease;
  -moz-transition: transform .5s ease;
  -webkit-transition: transform .5s ease;
  -o-transition: transform .5s ease;
  -ms-transition: transform .5s ease;
}

.zoom:hover {
  transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  -moz-transform : scale(1.1);
  -webkit-transform : scale(1.1);
  -o-transform : scale(1.1);
  -ms-transform : scale(1.1);
  position: relative;
}

/* original */

.rev_slider_wrapper .main-text {
  line-height: 40px;
  text-transform: uppercase;
}

.region-slider .slider-caption-text {
  overflow-wrap: break-word;
  white-space: pre-wrap;      /* CSS3 */   
  white-space: -moz-pre-wrap; /* Firefox */    
  white-space: -pre-wrap;     /* Opera <7 */   
  white-space: -o-pre-wrap;   /* Opera 7 */    
  word-wrap: break-word;      /* IE */
}

.region-slider .slotholder:after {
  width:100%;
  content:'';
  display:block;
  position:absolute;
  top:0;
  left:0;
  /**background: linear-gradient(to left, rgb(28, 169, 195, .9) 15%,rgba(255,255,255,0) 69%);*/
  /*background: linear-gradient(to right, rgb(34, 169, 196,.6) 2%,rgb(170, 197, 68, .4) 69%); */
  background: linear-gradient(89.91deg, rgba(58, 169, 225, 0.92) 26.63%, rgba(105, 196, 0, 0.4) 80.85%);
  mix-blend-mode: multiply;
  opacity: 0.75;
  height:100%;
}

.slider-title-text h2, .slider-title-text h3 {
  color: #FFF;
  line-height: 1.1em !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.slider-title-text h2.primary {
  font-weight: 500 !important;
}

.slider-caption-text {
    line-height: 1.3em !important;
}

/** .unique-features-block {
  max-width: 1250px;
  margin: 0 auto;
}
.unique-features-block .box-icon {
  font-size: 36px !important;
  display: flex;
}
.unique-features-block .box-icon i {
  margin: auto;
}*/

/**.box-icon-wrapper {
  display: flex;
}
.home-featured-block-2 .box-icon {
  text-align: right;
}
.home-featured-block-2 .box-icon i {
  line-height: 50px;
}
*/

/* Events*/
#block-views-block-custom-news-events-block-1 .block-title {
  color: #2d3237;
  margin: 20 px 0;
  letter-spacing: 0.1em;
  font-size: 30px;
  font-weight: 700;
}

/* Impact */
.block-schooltv-impact .dexp-stats .stats-count {
  font-family: 'Gilroy';
  font-size: 40px;
  font-weight: 500;
  color: #2C292F;
}

.block-schooltv-impact .stats-title{
  font-family: 'Gilroy';
  font-size: 24px;
  color: #2C292F;
}
.stats-icon img {
  background: #F8F3ED;
  background: rgb(248 243 237 / 50%);
  padding: 30px;
  border-radius: 100%;
}

/** .path-frontpage .dexp-title, .path-frontpage .block-title {
  text-transform: capitalize !important;
  letter-spacing: 1px !important;
}*/

/** Get started with STV block */

/** Wellbeing Topics & Expert Interviews */
/*.block-homewellbeingtopicsexpertinterviews .btn{
    background: #F8F3ED;
    border-color: #F8F3ED;
    color: black;
}
*/

.revslider-homepage-v3 .slider-title-text h2, .homepage-slider.block-dexp-layerslider .slider-title-text h2 {
  margin: 0;
  text-shadow: 1px 2px #000;
  font-size: 54px !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
}

.revslider-homepage-v3 .slider-title-text h3, .homepage-slider.block-dexp-layerslider .slider-title-text h3 {
  margin-top: 5px !important;
  text-shadow: 1px 2px #000;
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
}

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

  .topic .image img, .special-report img,  .specialist .image img {
    padding-bottom: 0;
  }
  .carousel-frontpage-specialists{
    padding-left: 15px;
    padding-right: 15px;
  }

  .slider-caption-text {
   display: none;
  }
  
  .rev_slider li.tp-revslider-slidesli {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .tp-mask-wrap {
    position: unset !important;
  }
  
  .tp-parallax-wrap {
    position: unset !important;
    top: unset !important;
    left: unset !important;
    width: 100%;
    height: auto;
    padding: 10px;
    display: flex !important;
    justify-content: center;
  }
  
  .region-slider .slotholder:after {
    background: linear-gradient(to left, rgb(28, 169, 195, .9) 15%,rgba(255,255,255,0) 120%);
  }
  
  .rev_slider_wrapper .btn.green {
    display: none;
  }
  
  /** .unique-features-block .box-title, .unique-features-block .box-content {
    text-align: left;
  }
  .unique-features-block .dexp-builder-box {
    clear: both;
    display: block;
    margin-bottom: 5px;
  }*/
  
  .revslider-homepage-v3 .slider-title-text h2, .homepage-slider.block-dexp-layerslider .slider-title-text h2 {
    font-size: xx-large !important;
  }
  
}

@media screen and (min-width: 768px) and (max-width: 1472px) {
   .rev_slider li.tp-revslider-slidesli {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .tp-mask-wrap {
    position: unset !important;
  }
  
  .tp-parallax-wrap {
    /*position: unset !important;*/
    /*top: unset !important;*/
    /*left: unset !important;*/
    /*width: 100%;*/
    /*height: auto;*/
    /*padding: 10px;*/
    /*display: flex !important;*/
    justify-content: right;
    margin-bottom: 25px;
  }
}