.eventsListBlock ul.sflistList.sflist {
  padding: 0;
  margin: 0 !important;
}
a.btn.btn-default.apply {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 5000;
  background: #48aaaa;
  border-color: #48aaaa;
  color: #fff;
}

a.btn.btn-default.apply:hover {
  background: #398686;
  border-color: #367f7f;
  color: #fff;
}
/* video banner start */
.introWrapper .container-fluid {
  padding: 0px !important;
}
.header-unit {
  height: 60vh;
  border: none;
  position: relative;
  margin-bottom: 0px;
  overflow: hidden;
}
video#ypnIntroVideo {
  margin-top: -20vh;
  width: 100%;
}
/* bodge - width seems to give more trouble that its worth? */
video.fillWidth {
  /* width: 100%;
    height: 100%; */
  position: absolute;
  z-index: 0;
  top: -30%;
}
div#content-container {
  position: absolute;
  text-align: center;
  bottom: 15vh;
  /* centering */
  left: 0;
  right: 0;
}
/* banner text */
.intro .mainText h2 {
  color: white;
  font-weight: 500;
  font-size: 30px !important;
}
.intro .mainText p {
  color: white;
  font-weight: 300;
  font-size: 20px;
}
/* four button row */
.mainButtons a.btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 500;
  border-radius: 30px;
  border: 2px solid white;
  transition: 0.5s all;
  padding: 10px 20px;
  margin: 4px 0px;
}
.mainButtons a.btn:hover {
  color: black;
  background: white;
}
div.mainButtons img.play {
  max-width: 18px;
  margin-bottom: 2px;
}
/* why join the ypn */
div.yypn {
  margin-top: 40px;
  text-align: center;
}
.yypn .col-sm-3 img {
  max-width: 80px;
}
.yypn .col-sm-4 h3 {
  margin-top: 10px;
}
.col-sm-3 img.linkedIn,
.col-sm-3 img.youtube {
  max-width: 25px;
}
div.join {
  text-align: center;
  margin-top: 40px;
}

/* events block */

.eventsListBlock {
  /*background-image: url('/cisiweb2/image/membership/ypnbg1grey.jpg');
    background-size: cover;
    background-position: left bottom;
    background-attachment: fixed;*/
}
.eventsListBlock li {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* copied */
.eventBlock {
  padding: 20px;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  margin: 20px;
  border-radius: 10px;
}

.eventBlock .btn {
  width: 100%;
}
.eventBlock .eventTitle h3 {
  font-weight: 400 !important;
  margin: 0;
  font-size: 18px;
}
.eventBlock p {
  font-size: 14px;
  margin: 20px 0;
}
.dateBlock {
  background: #006666;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.dateBlock .date {
  font-size: 26px;
  line-height: normal;
}
.dateBlock .day,
.dateBlock .month {
  font-size: 8px;
  font-weight: 600;
}
/* end of copied */
/* bodge : temporary fix on events block overflow */
/**{
    overflow: hidden;
}*/
/* ypn committee stuff */
.etImage {
  width: 170px !important;
  border-radius: 200px;
  height: 170px;
  background-size: 100% 100%;
  margin: auto;
}
.ypncom.row {
  text-align: center;
  margin-top: 20px;
}
.ypncom div.name {
  color: #004a4a;
  margin-top: 5px;
  font-weight: 500;
}
.ypncom div.comp {
  font-weight: 300;
}
.sfContentBlock.whoIs {
  text-align: center;
  margin-top: 80px;
}
.sfContentBlock.whoIs h2 {
  margin-bottom: 0;
}
/* modal */
button.closeButton {
  background: #ffffff00;
  border: none;
  color: white;
  position: absolute;
  right: 2%;
  z-index: 10;
}
.speaker-details .name h1 {
  margin-bottom: 0;
}
.speaker-details .info {
  font-size: 20px;
  margin-bottom: 20px;
}
@media (max-width: 1400px) {
  .header-unit {
    height: 70vh !important;
  }
}
@media (max-width: 1199px) {
  .ypncom.row div.col-xs-12 {
    margin-top: 10px;
  }
  div#content-container {
    bottom: 8vh !important;
  }
  video#ypnIntroVideo {
    /* height: 79vh; */
    height: 100vh;
  }
  .header-unit {
    height: 50vh !important;
  }
}
@media (max-width: 900px) {
  .header-unit {
    height: 40vh !important;
}
}
@media (max-width: 600px) {
  
  video#ypnIntroVideo {
    height: 80vh;
    width: auto;
  }
  div#content-container {
    bottom: 15vh;
  }
  .header-unit {
    height: 60vh !important;
}
}
/* quotes banner bit */
.quoteBanner {
  background-image: url("/cisiweb2/image/ypn/quoteBanner.jpg");
  background-size: cover;
  min-height: 70vh;
  background-position: top;
  color: #fff;
  /* bodged? */
  padding-top: 25vh !important;
  display: none;
}
/* quote tweaks */
.quote {
  background-image: url("/cisiweb2/image/master/quote.png") !important;
  font-size: 25px;
  text-align: right;
}
/* undo once list is white */
.fp-slidesNav.bottom {
  display: none !important;
}
/* cpd and benefits stuff */
/*.cisitv, .thereview,
.professionalrefresher,
.personalbenefits {
    padding: 30px 20px !important;
    margin-bottom: 10px !important;
}
.cisitv { background: #e7b9f3; }
.thereview { background: #ff9aba; }
.professionalrefresher { background: #c7ffa8; }
.personalbenefits { background: #fdd696; }
.cisitvTitle { background: #c869e0; }
.thereviewTitle { background: #e85282; }
.professionalrefresherTitle { background: #527d3a; }
.personalbenefitsTitle { background: #ce9b49; }
.cisitvTitle, .thereviewTitle,
.professionalrefresherTitle,
.personalbenefitsTitle {
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cisitv h3, .thereview h3,
.professionalrefresher h3,
.personalbenefits h3 {
    margin-top: 0;
    font-family: 'Open sans';
    font-size: 30px !important;
}
*/

.PRWrapper h3,
.CISITVWrapper h3,
.ReviewWrapper h3,
.personalbenefits h3 {
  margin-top: 0px;
}

.PRWrapper p,
.CISITVWrapper p,
.personalbenefits p {
  margin: 0px;
}

.PRWrapper,
.CISITVWrapper,
.ReviewWrapper,
.personalbenefits {
  padding: 30px 20px !important;
  margin-bottom: 10px !important;
}

.PRWrapper {
  background: #b9ecec;
}

.CISITVWrapper {
  background: #eafbfb;
}

.ReviewWrapper {
  background: #d6f5f3;
}

.personalbenefits {
  background: #9fdcdc;
}

.professionalrefresherModule,
.cisitvModule,
.thereviewModule,
.personalbenefitsModule {
  position: relative;
  margin-top: 20px;
}

.professionalrefresherModule img,
.cisitvModule img,
.thereviewModule img,
.personalbenefitsModule img {
  margin: 0;
  width: 100%;
}

.professionalrefresherTitle {
  background: rgb(45, 131, 131);
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cisitvTitle {
  /* background: rgb(45, 131, 131); */
  background: #0b8383;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thereviewTitle {
  background: rgb(45, 131, 131);
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.personalbenefitsTitle {
  background: rgb(45, 131, 131);
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .intro .mainText h2 {
    color: white;
    font-weight: 500;
    font-size: 40px !important;
  }

  .intro .mainText p {
    color: white;
    font-weight: 300;
    font-size: 30px;
  }
  .mainButtons a.btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid white;
    transition: 0.5s all;
    padding: 15px 30px;
    margin: 4px 10px;
  }
  .header-unit {
    height: 60vh;
    border: none;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
  }
  div#content-container {
    position: absolute;
    text-align: center;
    bottom: 10vh;
    /* centering */
    left: 0;
    right: 0;
  }
}

.eventBlock {
  width: 40%;
  display: inline-block;
}

.eventList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

@media (max-width: 768px) {
  .eventBlock {
    width: 90%;
    display: inline-block;
  }
}

@media (min-width: 1200px) {
  .intro .mainText h2 {
    font-size: 60px !important;
  }
}


@media (min-width: 601px) and (max-width: 749px) {
  div#content-container{
    bottom: 1px !important;
  }
}

@media (min-width: 768px) and (max-width: 868px) {
  video#ypnIntroVideo{
    margin-top: -30vh;
  }
}


@media (min-width: 761px) and (max-width: 1199px) {
  .mainNav{
    padding-top: 5px;
  }
}


@media (min-width: 992px) and (max-width: 1199px) {
  div#content-container{
    bottom: 15vh !important;
  }
}

@media (max-width: 1199px) {
  html #mainWrapper {
    margin-top: 16px;
}
}

