@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,700i,900,900i|Source+Sans+Pro:300,400,600,700,900');


/* Global Styles */

body {
    --primary: #007DED;
	--secondary: #50ADFF;
    --alternate: #88cc3c;
	--dark: #272727;
	--light: #EEF1F7;
	--white: #FFFFFF;

	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
	line-height: 36px;
	background-color: var(--dark);
}
h1,h2,h3,h4,h5,h6 {
	font-family: 'Playfair Display', serif;
	font-weight: bold;
	color: var(--white);
}
h2 {
	font-size: 20px;
	text-transform: lowercase;
	font-style: italic;
	text-align: center;
	letter-spacing: 2px;
	margin-bottom: 50px;
}
a {
	color: var(--primary);
	text-decoration:none;
	transition: all ease-in-out 0.4s;
}
a:hover {
	color: var(--primary);
}
section, aside {
	padding: 100px 0;
}


/* Navigation (Bootstrap overrides) */
#main-nav {
	background-color: rgba(0,0,0,0.8);
	border-bottom-color: var(--primary);
    border-radius: 0;
    margin-bottom: 0;
}
.affix {
    width: 100%;
    top: 0;
    z-index: 999;
}
.affix + #hero {
    padding-top: 200px;
}
.navbar-brand {
	height: auto;
	padding: 10px 15px;
}
.navbar-toggle {
	margin-top: 15px;
	margin-bottom: 0;
}
.navbar-inverse .navbar-nav > li > a {
	font-size: 16px;
	font-weight: 600;
	text-transform: lowercase;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  	background-color: transparent;
}
@media (min-width: 768px) {
	.navbar-nav > li > a {
    	padding-top: 20px;
    	padding-bottom: 20px;
  	}
}


/* Hero Section */

#hero {
    position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
    padding-bottom: 200px;
	background-color: var(--dark);
	background-image: url(../img/bg/hero-bg.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
}
#hero .tagline {
	-webkit-animation: fade-in 1s ease-in-out;
	animation: fade-in 1s ease-in-out;
}
@-webkit-keyframes fade-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  85% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fade-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  85% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.scroll-arrows-container {
	width: 20px;
	height: 26px;
	position: absolute;
	left: calc(50% - 10px);
	bottom: 20px;
}
.scroll-arrows {}
.scroll-arrows path {
	-webkit-animation: arrows-animation 2s infinite;
	animation: arrows-animation 2s infinite;
}
.scroll-arrows path.a1 {
	stroke-width: 2;
  	-webkit-animation-delay: 0s;
  	animation-delay: 0s;
}
.scroll-arrows path.a2 {
	stroke-width: 2;
  	-webkit-animation-delay: 0.2s;
  	animation-delay: 0.2s;
}

@-webkit-keyframes arrows-animation {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes arrows-animation {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (min-width: 768px) {
	#hero .tagline {
		width: 70vw;
		margin: 0 auto;
	}
}
@media (min-width: 769px) {
	#hero {
		background-attachment: fixed;
	}
}
@media (min-width: 992px) {
	#hero .tagline {
		width: 40vw;
	}
}

/* About Section */

#about {
	background-color: var(--light);
}
#about h2 {
	color: var(--dark);
}
#about .lead {
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	font-weight: 900;
	line-height: 40px;
	font-style: italic;
	color: var(--primary);
	margin-bottom: 30px;
}

/* Stats Section */

#stats {
	background-color: var(--primary);
}
#stats .stats-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
#stats .stats-wrapper .stat {
	text-align: center;
	line-height: 1.3;
	font-weight: 700;
	font-size: 24px;
	margin-bottom: 25px;
}
#stats .stats-wrapper .stat p::first-line {
	font-size: 64px;
	color: var(--white);
}
@media (min-width: 768px) {
	#stats .stats-wrapper {
    	flex-direction: row;
  	}
	#stats .stats-wrapper .stat {
	 	 width: 25%;
	}
}


/* Values Section */

#values {
	background-color: var(--light);
}
#values h2 {
	color: var(--dark);
}
#values h3 {
	color: var(--primary);
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 36px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
#values ul.values-list {
	list-style-type: none;
	padding: 0;
	margin-bottom: 50px;
}
#values ul.values-list li.values-list-item {
	font-size: 18px;
	line-height: 26px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 20px;
}


/* Culture and Careers Section */

#culture-and-careers {
	color: var(--white);
	font-weight: 300;
	line-height: 32px;
	background-color: var(--dark);
	background-image: url(../img/bg/culture-bg.png);
	background-position: top center;
	background-repeat:  no-repeat;
	background-attachment: scroll;
	background-size:  cover;
}
#culture-and-careers h2 {
	color: var(--primary);
}
#culture-and-careers p {
	margin-bottom: 25px;
}
#culture-and-careers img {
	margin: 25px auto;
}
@media (min-width: 769px) {
	#culture-and-careers {
		background-attachment: fixed;
	}
}
@media (min-width: 1200px) {
	#culture-and-careers img {
		margin: 10px auto 0;
	}
}
.btn-printfly {
	position: relative;
	top: 0px;
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	color: var(--white);
	padding: 15px 50px;
	margin: 25px auto;
    border-radius: 4px;
	background-color: var(--primary);
	border: 1px solid var(--primary);
	box-shadow: 0 3px 10px 0 rgba(0,79,149,0.25);
}
.btn-printfly:hover {
    color: var(--white);
	background-color: #0062ba;
	border: 1px solid var(--primary);
	box-shadow: none;
}

/* Leadership Section */

#leadership {
	background-color: var(--light);
}
#leadership h2 {
	color: var(--dark);
}
.leader {
	text-align: center;
	line-height: 1;
}
.leader-img {
	width:150px;
	height: 150px;
	margin: 25px auto;
}
.leader .leader-role {
	font-weight: 700;
}
@media (min-width: 768px) {
    .leader-img {
    	width:200px;
    	height: 200px;
    }
}


/* Brands Section */

#brands {
	background-color: var(--dark);
	color: var(--white);
}
.brand-container {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
}
.brand-title {
	color: var(--primary);
}
.brand {
    padding-left: 32px;
    padding-right: 32px;
    max-width: 400px;
}

.brand .brand-img {
	max-width: 300px;
	height: auto;
	margin: 0 auto;
}

@media (min-width: 768px) {
    .brand-container {
        flex-direction: row;
        align-items:center;
        justify-content: center;
    }
    .brand-title {
    	margin: 0;
    }
    .brand {
        margin-left: 32px;
    }
    .brand .brand-img {
    	max-width: 300px;
    	height: auto;
    	margin: 0;
        margin-left: -40px;
    }
}

@media (min-width: 992px) {
    .brand {
        margin-left: 48px;
    }
}

/* Press Section */

#press {
    background-color: var(--light);
}
#press h2 {
    color: var(--dark);
}
.news-story {
    padding:20px 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--dark);
}
.news-story--date {
    display: inline;
    font-weight: bold;

}
.news-story--source {
    display: inline;
    margin-left: 10px;
    text-transform: uppercase;
}
.news-story--title {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}
.news-story--title:hover {
    text-decoration: none;
}
.news-story--link {
    display: block;
    text-align: right;
}
@media (min-width: 768px) {}

/* Contact/Footer Section */

#footer {
	padding: 50px 0px 0px;
	background-color: var(--light);
    border-top: 1px solid var(--dark);
	color: var(--dark);
}
#footer h2 {
	color: var(--dark);
}
.contact {
	padding-bottom: 100px;
}
.contact-details {
	margin-bottom: 25px;
}
.contact-phone-number, .contact-address, .contact-email-address {
	margin-bottom: 25px;
}
.contact-phone-number {
	background-image: url(../img/icons/ic_phone.png);
	background-repeat: no-repeat;
	background-position: top 10px left;
	background-size: 20px 20px;
	padding-left: 30px;
}
.contact-address {
	background-image: url(../img/icons/ic_location.png);
	background-repeat: no-repeat;
	background-position: top 10px left;
	background-size: 16px 23px;
	padding-left: 30px;
}
.contact-email-address {
	background-image: url(../img/icons/ic_email.png);
	background-repeat: no-repeat;
	background-position: top 10px left;
	background-size: 24px 16px;
	padding-left: 32px;
}
.social-links {
	margin-top: 25px;
	margin-bottom: 0;
}
.social-link {
	display: inline-block;
	width: 54px;
	height: 54px;
	margin-right: 12px;
	margin-bottom: 12px;
	border-radius: 50%;
	background-color: var(--dark);
	text-decoration: none;
}
.social-link img {
	padding-top: 12px;
	position: relative;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
.social-link:hover {
	background-color: var(--primary);
	text-decoration: none;
}
@media (min-width: 768px) {
	.social-links {
		margin-top: 0;
	}
}
#legal {
	background-color: var(--dark);
	color: var(--white);
	padding: 30px;
}
#legal p {
	font-size:16px;
	font-weight: 300;
	letter-spacing: .5px;
	text-align: center;
	padding: 0;
	margin: 0;
	opacity: 0.5;
}
.bottom-border {
	height: 1px;
	width: 100%;
	background-image: linear-gradient(-90deg, #88CC3C 0%, #4FCCB3 14%, #007DED 29%, #663399 45%, #C23378 60%, #ED4040 75%, #FF7900 88%, #FFCC48 100%);
}

/* .news-alert lives at the top of the homepage */
.news-alert {
    background-color: var(--alternate);
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--white);
}
.news-alert-icon {
    width: 32px;
    height: auto;
    margin: 0 auto;
}
.news-alert-text {
    background-image: url("../img/icons/announcement.svg");
    background-size: 32px auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 42px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 0;
}
.news-alert-link {
    display: block;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    border: 1px solid var(--white);
    background-color: var(--alternate);
    padding: 5px 25px;
    border-radius: 4px;
    margin: 15px auto 0;
}
.news-alert-link:hover {
    text-decoration: none;
    color: var(--white);
    border: 1px solid var(--white);
    background-color: #77b630;
}
@media (min-width: 768px) {
    .news-alert-text {
        background-position: center left;
        padding-top: 0px;
        padding-left: 48px;
        font-size: 18px;
        text-align: left;
    }
    .news-alert-link {
        margin-top: 0;
    }

}
@media (min-width: 768px) {
    .alert-row{
        display: flex;
        align-items: center;
    }
}


/* Press Page */
/* styling for news stories is taken from 'press' section of homepage */
#press-page {
    background-color: var(--light);
}
#press-page h1 {
    color: var(--dark);
    font-size: 36px;
    font-weight: bold;
	text-transform: lowercase;
	font-style: italic;
	text-align: center;
	letter-spacing: 1px;
	margin-bottom: 50px;
}

/* News Articles */

.news-article {
    padding-top: 140px;
    padding-bottom: 75px;
    background-color: var(--light);
    color: var(--dark);
}
.return-home-wrapper {
    margin-bottom:48px;
}
.news-article-date {
    font-weight: bold;
    font-size: 16px;
}
.news-article-title {
    line-height: 1.5;
    color: var(--primary);
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 32px;
}
.news-article-sub-title {
    line-height: 1.25;
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--dark);
    font-style: normal;
    text-transform: none;
    text-align: left;
    margin-top: -16px;
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.news-article-body {
    margin-bottom: 24px;
}
