﻿@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Caveat:400,700&display=swap");
html, body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  line-height: 150%;
  color: #3e3e3e;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  font-weight: normal;
}

p {
  padding: 0;
  margin: 0;
}

ul, li {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

.ms-webpartzone-cell {
  margin: 0 !important;
}

/* Mixins */
h1 {
  font-size: 50px;
  line-height: 60px;
}

h3 {
  font-size: 32px;
  line-height: 40px;
}

h5 {
  font-size: 18px;
}

@media (max-width: 1109px) {
	h5 {
	  font-size: 15px;
	}
}

p {
  font-size: 18px;
  line-height: 28px;
}
@media (max-width: 768px) {
  p {
    font-size: 16px;
    line-height: 28px;
  }
}

a {
  color: #0075c9 !important;
}

.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: " ";
  clear: both;
  display: table;
}

.container {
  width: 1046px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 1110px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
}
.container.slice {
  padding: 55px 0;
}
@media (max-width: 1110px) {
  .container.slice {
    padding: 55px 20px;
  }
}

.sanlam-bar {
  background: #fff;
  box-sizing: border-box;
  padding: 0 20px;
}
.sanlam-bar .sanlam {
  width: 100%;
  max-width: 1440px;
  margin: 20px auto;
}

.names-to-inspire-good {
  background: url("/campaigns_stylelibrary/campaign_neverbeenabettertime/images/background_desktop.jpg") 0 0 no-repeat;
}
@media (max-width: 768px) {
  .names-to-inspire-good {
	background: #36465b url(/campaigns_stylelibrary/campaign_neverbeenabettertime/images/background_mobile.jpg) 0 -120px no-repeat;
    background-size: cover;  }
}
.names-to-inspire-good .slice {
  padding: 55px 20px;
}
.names-to-inspire-good .slice .never-been-a-good-time-intro {
  padding-top: 0;
  font-size: 30px;
  font-weight: 300;
  color: #fff;
  text-align: center;
}
.names-to-inspire-good .slice h1 {
  color: #fff !important;
  font-weight: 500;
  font-size: 50px;
  line-height: 60px;
  padding: 250px 0 40px 0;
}
@media (max-width: 768px) {
  .names-to-inspire-good .slice h1 {
    font-size: 35px;
    padding: 480px 0 40px 0;
  }
}
.names-to-inspire-good .slice h2 {
  color: #fff !important;
  font-weight: 300;
  padding: 20px 0;
}
.names-to-inspire-good .slice p {
  color: #fff;
  margin-bottom: 30px;
  font-weight: 300;
}
@media (max-width: 768px) {
  .names-to-inspire-good .slice p br {
    display: none;
  }
}

.inspire-good {
  background: #000;
  text-align: center;
  color: #fff !important;
  padding: 0 40px;
}
.inspire-good .slice {
  padding: 55px 0 20px 0;
}
.inspire-good .slice h1 {
  color: #fff !important;
}

.never-been-a-good-time,
.names-behind-the-legacy {
  min-height: 949px;
  background: #000 url("/campaigns_stylelibrary/campaign_neverbeenabettertime/images/mom-and-daughter.png") no-repeat;
  background-position: right;
}
.never-been-a-good-time h2,
.names-behind-the-legacy h2 {
  color: #f9db93 !important;
  text-align: left;
  padding-top: 350px;
}
.never-been-a-good-time p,
.names-behind-the-legacy p {
  text-align: left;
}

.names-behind-the-legacy {
  min-height: 760px;
  background: #000 url("/campaigns_stylelibrary/campaign_neverbeenabettertime/images/slice-background.png") 0 -275px no-repeat;
}
.names-behind-the-legacy h2 {
  text-align: center;
  padding-top: 0;
}
.names-behind-the-legacy p {
  text-align: center;
}

.legacy-cards {
	padding: 45px 0 100px 0;
}

@media (max-width: 768px) {
  .legacy-cards {
    margin-top: 0;
    padding: 0 0 50px 0;
  }
}
.legacy-cards .cards {
	width: 336px !important;
	height: 410px;
	float: left;
	border-radius: 4px;
	box-sizing: border-box;
	margin-right: -10px;
	position: relative;
}

@media (max-width: 768px) {
	.legacy-cards .cards {
		width: 342px !important;
		margin-right: 8px;
		margin-left: 0;  
	}
}


.legacy-cards .cards:hover {
  cursor: pointer;
}
.legacy-cards .cards:focus {
  outline: 0 !important;
}
.legacy-cards .cards:last-of-type {
  margin-right: 0;
}
.legacy-cards .cards img {
  width: 336px;
  height: 410px;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.95);
  transition: all .4s ease-in-out;
}


.cards.slick-current img {
	transform: scale(1);
}

@media (max-width: 768px) {
  .legacy-cards .cards img {
    max-width: 399px;
    transform: scale(1);
    opacity: 1 !important;
  }
}

.legacy-cards .cards img:hover {
  opacity: 1;
}
.legacy-cards .cards .whats-in-the-name-container {
  width: 100%;
  position: absolute;
  display: table;
  bottom: 40px;
}
.legacy-cards .cards .whats-in-the-name {
  width: 80%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.legacy-cards .cards .name {
  color: #012743;
  font-size: 45px;
  font-family: "Caveat", cursive;
  margin-bottom: 10px;
  display: none;
  padding: 0 20px;
}
.legacy-cards .cards .description {
  color: #012743;
  font-size: 14px;
  top: 27px;
  display: none;
  padding: 0 20px;
}
.legacy-cards .cards .clue {
  color: #012743;
  bottom: 27px;
  font-size: 14px;
  padding: 0 20px;
}
.legacy-cards .slick-dots {
  bottom: 40px;
}
@media (max-width: 768px) {
  .legacy-cards .slick-dots {
    bottom: 30px;
  }
}
.legacy-cards .slick-dots li button:before {
  opacity: 1;
  color: #fff;
}

@media (max-width: 768px) {
  .slick-dotted {
    display: none;
  }
}

.twitter {
  width: 100%;
  background: #efefef;
}
.twitter h3, .twitter h4 {
  max-width: 569px;
  margin: 0 auto;
  color: #0075c9;
  text-align: center;
  font-weight: normal;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .twitter h3, .twitter h4 {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}
.twitter h4 {
  color: #707070;
  padding: 40px;
  font-size: 18px;
  line-height: 28px;
}
.twitter .terms {
  color: #707070 !important;
  border-bottom: 1px solid #707070;
}
.twitter .tell-us-your-name {
  display: block;
  text-align: center;
  padding-bottom: 40px;
}
.twitter .tell-us-your-name a {
  background: #0075c9;
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
}
.twitter .social-media {
  text-align: center;
}
.twitter .social-media a {
  margin-right: 10px;
}
.twitter .social-media a img {
  opacity: 0.9;
}
.twitter .social-media a:hover img {
  opacity: 1;
}

.twitter .twitter-feeds {
	padding: 20px 0;
}
.twitter .twitter-feeds .tweet {
  width: calc(33% - 20px);
  height: 360px;
  float: left;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 4px;
  margin-right: 20px;
}
@media (max-width: 768px) {
  .twitter .twitter-feeds .tweet {
    width: 100%;
    margin-right: 0;
  }
}

  .twitter .twitter-feeds .tweet p {
    font-size: 16px;
    line-height: 28px;
    margin-top: 20px;
}

.twitter .twitter-feeds .tweet:last-of-type {
  margin-right: 0;
}
.twitter .twitter-feeds .tweet .profile .profile-pic {
  width: 80px;
  float: left;
}
.twitter .twitter-feeds .tweet .profile .profile-name {
    width: calc(100% - 80px);
    float: left;
    margin-top: 15px;
}
.twitter .twitter-feeds .tweet .profile .profile-name h5 {
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
}
.twitter .twitter-feeds .tweet .profile .profile-name a {
  color: #0075c9;
  font-size: 12px;
}

.video-wrapper {
  height: 700px;
  background: #000;
  display: none;
  position: relative;
}
.video-wrapper #close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 2px 10px 5px 10px;
  color: #fff !important;
  font-size: 25px;
  line-height: 25px;
  display: inline-block;
  border: 1px solid #fff !important;
}
@media (max-width: 768px) {
  .video-wrapper #close-x {
    top: 10px;
    right: 10px;
  }
}

.media h3 {
  font-weight: 300;
  text-align: center;
}
.media h4 {
  padding: 40px 0;
  text-align: center;
  font-size: 18px;
}
.media .media-blocks {
  box-sizing: border-box;
  position: relative;
}
.media .media-blocks.media-ad, .media .media-blocks.media-film {
  width: calc(50% - 10px);
  float: left;
  border-radius: 2px;
  box-sizing: border-box;
  background-repeat: no-repeat;
}
@media (max-width: 1110px) {
  .media .media-blocks.media-ad, .media .media-blocks.media-film {
    width: 48%;
  }
}
@media (max-width: 768px) {
  .media .media-blocks.media-ad, .media .media-blocks.media-film {
    width: 100%;
    height: auto;
    float: none;
    margin-bottom: 20px;
  }
  .media .media-blocks.media-ad img, .media .media-blocks.media-film img {
    width: 100%;
  }
}
.media .media-blocks.media-ad {
  margin-right: 10px;
}
@media (max-width: 768px) {
  .media .media-blocks.media-ad {
    margin-right: 0;
  }
}
.media .media-blocks.media-film {
  margin-left: 10px;
}
@media (max-width: 768px) {
  .media .media-blocks.media-film {
    margin-left: 0;
  }
}
.media .media-blocks h5 {
  font-weight: bold;
  text-align: left;
  margin: 20px 0;
}
.media .media-blocks p {
  text-align: left;
  margin-bottom: 30px;
}
.media .media-blocks .btn {
  min-width: 140px;
  color: #fff !important;
  background: #0075c9;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.video-src {
	cursor: pointer;
}

img.video-src {
	width: 100%;
}

.slick-prev, 
.slick-next {
	top: auto !important;
	bottom: 30px !important;
	z-index: 99 !important;
}

.slick-next {
    right: 43% !important;
}

.slick-prev {
    left: 38% !important;
}

.twitter .twitter-feeds {
	width: 1046px;
}

@media (max-width: 1109px) {
	.twitter .twitter-feeds {
		width: 97.63157894736842%; 
		max-width: 885px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.twitter .twitter-feeds {
		width: 97.63157894736842%; 
		max-width: 350px;
		margin: 0 auto;
	}
}

.twitter .twitter-feeds .slick-prev, 
.twitter .twitter-feeds .slick-next {
	bottom: -35px !important;
}

.twitter .twitter-feeds .slick-prev:before, 
.twitter .twitter-feeds .slick-next:before {
	opacity: 1 !important;
	color: #0075c9 !important;
}

.twitter .twitter-feeds .slick-prev {
	left: 38% !important;
}

.twitter .twitter-feeds .slick-next {
	right: 43% !important;
}

.twitter .twitter-feeds .slick-dots li.slick-active button:before {
    opacity: 1 !important;
    color: #707070 !important;
}

.twitter .twitter-feeds .slick-dots li button:before {
    opacity: 1 !important;
    color: #0075c9 !important;
}


.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.span4 { 
    width: 1640px;
    margin: 0 auto;
}
    
@media (max-width: 1109px) {
	.span4 { 
		width: 97.63157894736842%; 
		max-width: 885px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.span4 { 
		width: 97.63157894736842%; 
		max-width: 350px;
		margin: 0 auto;
	}
}

.videoClose {
    position: absolute;
    right: 14px;
    cursor: pointer;
}

#overlay {
    display: none;
    width: 100%;
    height: 4500px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 25;
    background: url('/campaigns_stylelibrary/campaign_neverbeenabettertime/images/overlay.png' ) repeat 0 0;
}


.watch-now {
	min-width: 140px;
    color: #fff !important;
    background: #0075c9;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}


#watch-now-video {
    position: absolute;
    z-index: 999;
    left: 5%;
    top: 80px;
    width: 90%;
    height: 85%;
}

.watch-now-iframe {
    opacity: 0.7 !important;
    background-color: #000 !important;
    z-index: 998 !important;
    display:block;
}