.path-frontpage .node .field--name-body {
  margin-bottom: 0;
}

.view-frontpage-slideshow .views-field-title,
.view-frontpage-slideshow .views-field-title a {
  color: #ff1b18;
}
.view-frontpage-slideshow .views-field-field-slide-text,
.view-frontpage-slideshow .views-field-field-slide-text a {
  color: #FFFFFF;
}

/*Home page button blocks*/
#block-ebs-newsplus-allgroupactivities {
  background-color: #660000;
  width: 48%;
  padding: 20px;
  float: left;
  color: #FFFFFF;
  height: 110px;
  text-align: center;
  margin-right: 4%;
  
}

/*Home page Most popular activities*/
#block-home-popular-activities {
  clear: both;
}

/*home page contents*/
.path-frontpage h1 {
  display: none;
}


.sidebar .block > h2, 
#block-ebs-newsplus-content .field--name-body > h2, 
#page .block-views > h2 {
  margin-top: 7px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #464646;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  text-transform: uppercase;
}
  
/* Home page content red blocks*/
#block-ebs-newsplus-miceservicesuk {
  background-color: #BC0100;
  width: 48%;
  padding: 20px;
  float: left;
  color: #FFFFFF;
  height: 110px;
  text-align: center;
}
#block-ebs-newsplus-allgroupactivities > *,
#block-ebs-newsplus-miceservicesuk > * {
  margin: 0 0 10px 0;
}
#block-ebs-newsplus-allgroupactivities a,
#block-ebs-newsplus-miceservicesuk a {
  color: #FFFFFF;
}
#block-ebs-newsplus-allgroupactivities a:hover,
#block-ebs-newsplus-miceservicesuk a:hover {
  text-decoration: none;
}
  
/*Home page flex slider, apply this style apart from for mobile*/
@media (min-width: 768px) {
  .flexslider {
    display: block !important;
  }
  .view-frontpage-slideshow .views-field-title {
    position: absolute;
    top: 260px;
    height: 110px;
    width: 100%;
    background-color: rgba(40,40,40,0.9);
    padding: 15px 20px;
  }
  .view-frontpage-slideshow .views-field-field-slide-text {
    position: absolute;
    top: 297px;
    padding: 10px 20px;
  }
  .view-frontpage-slideshow a:hover {
    text-decoration: none;
  }
  .view-frontpage-slideshow .views-field-title,
  .view-frontpage-slideshow .views-field-title a {
    font-size: 18px;
  }
  .view-frontpage-slideshow .views-field-field-slide-text,
  .view-frontpage-slideshow .views-field-field-slide-text a {
    font-size: 14px;
  }
}

/**
 * TABLET
 */
@media (min-width: 768px) and (max-width: 992px) {
  #block-home-popular-activities .col-sm-6 {
    width: 33%;
  }
}

/*
 * MOBILE
 */
@media (max-width: 767px) {
  /* home flexslider*/
  #block-views-block-frontpage-slideshow-block-1 {
    margin-bottom: 20px;
  }
  #flexslider-1 {
    background-color: rgba(40,40,40,1);
  }
  .flexslider {
    display: block !important;
  }
  .view-frontpage-slideshow .views-field-title {
    background-color: rgba(40,40,40,1);
    padding: 15px 20px 5px;
  }
  .view-frontpage-slideshow .views-field-field-slide-text {
    padding: 0px 20px;
  }
  .view-frontpage-slideshow a:hover {
    text-decoration: none;
  }
  .view-frontpage-slideshow .views-field-title a {
    color: #ff1b18;
    font-size: 18px;
  }
  .view-frontpage-slideshow .views-field-field-slide-text a {
    color: #FFFFFF;
    font-size: 14px;
  }
  /* home content blocks*/
  #block-ebs-newsplus-allgroupactivities, 
  #block-ebs-newsplus-miceservicesuk {
    float: none;
    width: 100%;
    height: 125px;
  }
  #block-ebs-newsplus-allgroupactivities {
    margin-bottom: 20px;
  }
  .path-frontpage .node .field--name-body {
    margin-bottom: 0;
  }
  #block-ebs-newsplus-content {
    padding-bottom: 10px;
  }
  
  .block:last-of-type {
    padding-bottom: 0;
  }
}