/*#flexslider-1 {
  overflow:hidden;
}*/
.path-frontpage .header .navbar {
  margin-bottom: 0;
}
.path-frontpage .featured-top__inner:hover .flex-direction-nav a {
  display:block;
}
#flexslider-1:hover .flex-direction-nav a, #flexslider-1:hover .flex-direction-nav a {
  display:inherit;
}
#flexslider-1 .flex-direction-nav a {
  height: 45px;
}
#flexslider-1 .flex-direction-nav .flex-prev {
  opacity: 0.7;
left: -50px;
}
#flexslider-1 .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: -50px;
}
.home-slider {
  background:transparent;
  border:none;
}
.home-slider .view-content {
  margin: 0;
}
.home-slider .slides img {
  width: auto;
}
.home-slider .views-field-field-featured-image, .home-slider .views-field-title, .home-slider .views-field-title-1 {
  float:left;
}
.home-slider .views-field-field-featured-image {
  overflow:hidden;
}
.home-slider .views-field-field-featured-image img {
  -webkit-transition: opacity .3s cubic-bezier(.215,.61,.355,1),-webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  transition: opacity .3s cubic-bezier(.215,.61,.355,1),-webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  transition: opacity .3s cubic-bezier(.215,.61,.355,1),transform .5s cubic-bezier(.215,.61,.355,1);
  transition: opacity .3s cubic-bezier(.215,.61,.355,1),transform .5s cubic-bezier(.215,.61,.355,1),-webkit-transform .5s cubic-bezier(.215,.61,.355,1);
  box-shadow:none;
  border:none;
}
.home-slider .views-field-field-featured-image a:hover img {
  transform: scale(1.1);
}
.home-slider .views-field-title, .home-slider .views-field-title-1 {
  width: calc(100% - 750px);
  margin-left: 3.125em;

}
.home-slider .views-field-title h2, .home-slider .views-field-title-1 h2  {
  font-size: 2.81em;
}
.home-slider .flex-control-nav {
  width: calc(100% - 750px);
  float:right;
  position:relative;
  bottom: 80px;
  text-align:left;
  z-index: 10;
}
.path-frontpage .region-featured-top {
  /*height:420px;
  border-bottom: 1px solid #000;*/
  border-bottom:none;
  margin: 0;
}
.path-frontpage .featured-top {
  border-bottom: none;
  padding: 3em 0;
}
.path-frontpage .page-heading {
  display:none;
}
.home-slider .slides > li {
  margin-bottom: -100px;
}

.path-frontpage .region-featured-bottom-first, .node--type-event .region-featured-bottom-first {
  background: #9ecbff;
  background: -webkit-linear-gradient(left top, #9ecbff, #b3e4fe);
  background: -o-linear-gradient(bottom right, #9ecbff, #b3e4fe);
  background: -moz-linear-gradient(bottom right, #9ecbff, #b3e4fe);
  background: linear-gradient(to bottom right, #9ecbff, #b3e4fe);
  display:block;
  padding: 3em 0;
  margin: 3em 0;
}
.path-frontpage .region-featured-bottom-second{
  display:block;
  padding: 3em 0;
  margin: 3em 0;
}
.path-frontpage .featured-bottom.no-inclusive-block .view-content.row{
  display:flex;
  flex-wrap: nowrap;
}
.path-frontpage .featured-bottom.no-inclusive-block .view-content.row .news-item {
  width: 25%;
  position: relative;
  padding: 0 15px;
}

.path-frontpage .featured-bottom.has-inclusive-block .view-content.row{
  display:flex;
  flex-wrap: nowrap;
}
.path-frontpage .featured-bottom.has-inclusive-block .view-content.row .news-item {
  width: 33%;
  position: relative;
  padding: 0 15px;
}
.path-frontpage .featured-bottom.has-inclusive-block .view-content.row .news-item:last-child {
  visibility: hidden;
  display: none;
}


.path-frontpage .region-featured-bottom-third {
  display:block;
}
.path-frontpage header {
  height:auto;
  background: transparent;
}
.path-frontpage .main-content {
  padding-bottom: 0;
}
.path-frontpage .top-content {
  display:none;
}
.path-frontpage .featured-top .container {
  max-width: 1290px;
  padding-right: 1.5em;
  padding-left: 1.5em;
}
.path-frontpage .color-layer {
  display:none;
}
/*FEATURED VIDEO*/
.featured-video {
  height: 650px;
  overflow:hidden;
  display: flex;
  align-items: center;
}
.featured-video aside {
  width: 100%;
}
.featured-video-block {
  width: 100%;
}
.featured-video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.featured-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 1440px) {
  .path-frontpage .region-featured-bottom-third {
    max-width: 1290px;
    margin: 0 auto;
    padding-bottom: 3.5em;
  }
  .path-frontpage .region-featured-bottom-second {
    display: block;
    padding: 3em 0 1em 0;
    margin: 3em 0 0 0;
  }
  .featured-video {
    height: 550px;
    overflow:hidden;
  }

}

@media (max-width: 1250px) {
  .home-slider .views-field-field-featured-image, .home-slider .views-field-title, .home-slider .views-field-title-1 {
    float:none;
  }
  .home-slider .views-field-field-featured-image .field-content {
    text-align:center;
  }
  .home-slider .slides img {
    display:inline-block;
  }
  .home-slider .views-field-title, .home-slider .views-field-title-1 {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    padding-top:0.7em;
  }
  .home-slider .flex-control-nav {
    width: 100%;
      text-align: center;
    float: right;
    position: relative;
    bottom: 0;
  }
  .home-slider .slides > li {
    margin-bottom: 0;
  }
  #flexslider-1 .flex-direction-nav .flex-prev {
  left: 0px;
  }
  #flexslider-1 .flex-direction-nav .flex-next {
    right: 0px;
  }
  .featured-video {
    height: 500px;
    overflow:hidden;
  }
  .path-frontpage .header .navbar {
    margin-bottom: 20px;
  }

}
@media (max-width: 991px) {
.path-frontpage .region-featured-bottom-first, .node--type-event .region-featured-bottom-first {
  margin:0;
}
.path-frontpage .region-featured-bottom-second {
  padding: 0;
}
.featured-video {
  height: auto;
  overflow:hidden;
}
.path-frontpage .header .navbar {
  margin-bottom: 0;
}
}
@media (max-width: 860px) {
  #flexslider-1 .flex-direction-nav a {
    height: 45px;
  }

}
@media (max-width: 768px) {
.home-slider .views-field-title h2, .home-slider .views-field-title-1 h2  {
  font-size: 2.4em;
}
.path-frontpage .featured-top {
  padding: 2em 0;
}
.path-frontpage .featured-bottom.no-inclusive-block .view-content.row{
  flex-wrap: wrap;
}
.path-frontpage .featured-bottom.no-inclusive-block .view-content.row .news-item {
  width: 50%;
}

.path-frontpage .featured-bottom.has-inclusive-block .view-content.row{
  display:flex;
  flex-wrap: wrap;
}
.path-frontpage .featured-bottom.has-inclusive-block .view-content.row .news-item {
  width: 50%;
  position: relative;
  padding: 0 15px;
}
.path-frontpage .featured-bottom.has-inclusive-block .view-content.row .news-item:last-child {
  visibility: visible;
  display: block;
}

}
@media (max-width: 570px) {
  .path-frontpage .region-featured-bottom-second {
    margin:1em 0;
  }
  .home-slider .views-field-title h2, .home-slider .views-field-title-1 h2  {
    font-size: 2em;
  }
  #flexslider-1 .flex-direction-nav .flex-prev {
    opacity: 1;
  }
  #flexslider-1 .flex-direction-nav .flex-next {
    opacity: 1;
  }



}

.region-featured-inclusive {
  margin-left: 0;
}
.region-featured-inclusive h5 {
  color: #858585;
  margin-bottom: 0;
}

.inclusive-block .container {
  padding-left: 0;
}
.featured-bottom-second-wrapper .col-sm-9 {
  padding-right: 0;
}
.featured-bottom-second-wrapper .row-2 {
  display:none;
}

@media (max-width: 576px) {
  .inclusive-block .container {
    padding-left: 15px;
  }
  .featured-bottom-second-wrapper .col-sm-9 {
    padding-right: 15px;
  }
  .featured-bottom-second-wrapper .row-2 {
    display:flex;
  }
}
