/* Mobile first approach */
/* Sizing
*/

body {
	font-family: 'upgrade', sans-serif;
	color: black;
	line-height: 1.45;
	font-size: 16px;
	font-weight: 300;
}
.nav-link {
	color: white;
}
.nav-links {
	color: rgb(255, 0, 0);
}
.nav-link:hover {
	color: #e6e6e6;
}

.navbar.scrolled {
	background-color: #fff !important;
	transition: background-color 200ms linear;
	/* box-shadow: 0 3px 8px hsla(0, 0%, 0%, 0.07); */
}
.navbar .navbar-nav .nav-link.scrolled {
  color: black !important;
}

.navbar-light .navbar-toggler-icon {
	background-image: url(../img/icons/ic-nav.svg);
}
.navbar-toggler-icon-b {
	background-image: url(../img/icons/ic-nav-b.svg) !important;
}
.navbar img.scrolled,
.navbar-light .navbar-toggler-icon.scrolled {
	filter: invert(1);
}

a {
	color: black;
}

a:hover {
	color: #535353;
	text-decoration: none;
}

/* Headers
*/
.title {
	font-size: 36px;
	line-height: 1;
}

/* Footer  */
.action {
  color: #fff;
  background: linear-gradient(45deg, #FF5F5F 10%, #fff 50%, #FFDF5F 60%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 1.5s linear infinite;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.sub-title {
	font-size: 13px;
	text-transform: uppercase;
	margin-bottom: 1.85rem;
	font-weight: 400;
	color: black;
}
.h1, h1 {
	font-size: 2.08rem;
}
.h2, h2 {
	font-size: 1.55rem;
}

.title {
	font-family: 'flood-std', sans-serif;
	font-size: 50px;
}

h1,h2,h3,h4,h5,
.h1,.h2,.h3,.h4 {
	font-family: 'upgrade', sans-serif;
	font-weight: 500;
	color: black;
}
.small-text {
	font-family: 'upgrade-lights', sans-serif;
	font-weight: 400;
}
.h4, h4 {
	font-size: 1.75rem;
}
.h5, h5,
.big-p {
	font-size: 1.25rem;
}
.small,
small {
	font-weight: 300;
	font-size: 13px;
	line-height: 1 !important;
}

/* Card 
*/
.card-body {
	/* padding: 1.25rem 1.1rem; */
	padding: 1.095rem 0.875rem;
}

.card {	
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: box-shadow .3s linear;
	transition: border .1s linear;
}
.card-body img {
	height: 24px;
}
.card-img-top {
	border-radius: 0;
}
.client img {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
	transition: 0.3s all;
}
.card:hover .client img {
	filter: none;
	-webkit-filter: none;
	cursor: pointer;
	opacity: 1;
}
.client p {
	font-size: 14px;
	text-transform: uppercase;
}
.carousel-indicators {
	bottom: -80px;
}
.carousel-indicators li {
	width: 15px;
	height: 15px;
	background-color: black;
}
.carousel-control-prev-icon {
	background-image: url("../img/icons/ic-prev.svg");
}
.carousel-control-next-icon {
	background-image: url("../img/icons/ic-next.svg");
}
.carousel-control-next-icon, .carousel-control-prev-icon {
	width: 36px;
	height: 36px;
}
.carousel-caption {
	bottom: 25%;
}


/* Buttons
*/
/* Buttons */
.btn {
	border-radius: 0;
	padding: 0.75rem 1.25rem;
	transition: background-color 200ms linear;
	color: white;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
/* Call to action green buttons */

.btn-primary {
	background-color: white;
	border: 2px solid black;
	color: black;
}
.btn-primary:hover {
	background-color: black;
	border: 2px solid white;
}

.btn-secondary {
	background-color: black;
	border: 2px solid white;
}
.btn-secondary:hover,
.btn-alt:hover {
	background-color: white;
	border: 2px solid black;
	color: black;
}
.btn-alt {
	background-color: black;
	border: 2px solid black;
}
.btn-cta {
	margin: 20px auto;
	border: none;
	padding: 8px 16px;
	position: relative;
}
.btn-cta::before {
  -webkit-transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  content: '';
  width: 37%;
  height: 100%;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
}
.btn-cta .btn-text {
  color: white;
  mix-blend-mode: difference;
}
.btn-cta:hover::before {
  background: white;
  width: 100%;
}

/* input */

.form-control {
	padding: 0.375rem .75rem calc(0.375rem + 1px) .75rem;
	font-size: 18px;
	font-weight: 300;
	color: #1A2438;
	border-radius: 0;
	border: 2px solid black;
	border-right: none;
	border-top: none;
	background: rgba(246, 246, 246, 1);
	transition: 0.5s ease-in-out;
}
select.form-control {
	height: 45px;
}

.form-control:focus {
	color: #1A2438;
	border-color: #134FD5;
	box-shadow: 0 0 0 transparent;
}
.form-group {
	margin-bottom: 1.5rem;
}

::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #7C8494 !important;
	opacity: 1;
	font-size: 13px;
	/* Firefox */
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #7C8494 !important;
	font-size: 13px;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #7C8494 !important;
	font-size: 13px;
}

/* Backgrounds */

.bg-lgray {
	background: #F4F6F8;
}
.bg-black {
	background: black;
}
.bg-footer {
	background: #EFEFF4;
}
.bg-white {
	background: white;
}
.bg-blue {
	background: #1A2864;
}
.bg-dblue {
	background: #232531;
}
.bg-green {
	background: #1A6464;
}

/* Colours */

.c-black {
	color: #000;
}
.nl-main,
.nl-main:hover {
	color: black;
}
.c-gray {
	color: #5C5C5C;
}
.c-white {
	color: #fff;
}
.c-red {
	color: #FF5F5F ;
}
.ab-services a {
	text-transform: uppercase;
}

/* Footer 
*/
.border-right {
	border-right: 1px solid #D3D3D3;
}
.border-left {
	border-left: 1px solid #D3D3D3;
}

footer a,
footer p,
.ab-services a {
	color: #666666
}

footer a:hover,
.ab-services a:hover {
	color: white;
}

footer ul {
	list-style: none;
	padding: 0;
	text-transform: uppercase;
}

footer .social a:hover {
	text-transform: none;
	text-decoration: none;
}





/* ***
***
***
*** */

/* For desktop: */
@media only screen and (min-width: 768px) {
	body,
	.nav-link {
		font-size: 18px;
	}
	.card-body {
		padding: 3.25rem 2.5rem;
	}
	.card-body img {
		height: 30px;
	}
	.carousel-caption {
		bottom: 25px;
	}

	/* Headers
	*/
	.title {
		font-size: 90px;
	}
	.h1, h1 {
    font-size: 3rem;
		line-height: 1;
	}
	.h2, h2 {
		font-size: 2rem;
	}
	.h5, h5,
	.big-p {
    font-size: 1.375rem;
	}
	.s-meaning {
		font-size: 22px;
	}
	.small,
	small {
		font-weight: 300;
		font-size: 80%;
	}

	/* Buttons
	*/
	/* Buttons */
	.btn {
		padding: 0.75rem 1.25rem;
		font-size: 15px;
	}
	.btn-cta {
		padding: 10px 24px;
	}

	/* Input  */

	.form-control {
		padding: 1.675rem .75rem calc(1.375rem + 1px) .75rem;
	}
}

/*** 
*End desktop CSS  
*/






/* Extra
*/

/* Animation */

.title span {
  -webkit-animation: letter-glow 0.7s 0s ease both;
          animation: letter-glow 0.7s 0s ease both;
}
.title span:nth-child(1) {
  -webkit-animation-delay: 0.05s;
          animation-delay: 0.05s;
}
.title span:nth-child(2) {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s;
}
.title span:nth-child(3) {
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}
.title span:nth-child(4) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.title span:nth-child(5) {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}
.title span:nth-child(6) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.title span:nth-child(7) {
  -webkit-animation-delay: 0.35s;
          animation-delay: 0.35s;
}
.title span:nth-child(8) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.title span:nth-child(9) {
  -webkit-animation-delay: 0.45s;
          animation-delay: 0.45s;
}
.title span:nth-child(10) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.title span:nth-child(11) {
  -webkit-animation-delay: 0.55s;
          animation-delay: 0.55s;
}
.title span:nth-child(12) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
.title span:nth-child(13) {
  -webkit-animation-delay: 0.65s;
          animation-delay: 0.65s;
}
.title span:nth-child(14) {
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}
.title span:nth-child(15) {
  -webkit-animation-delay: 0.75s;
          animation-delay: 0.75s;
}
.title span:nth-child(16) {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
.title span:nth-child(17) {
  -webkit-animation-delay: 0.85s;
          animation-delay: 0.85s;
}
.title span:nth-child(18) {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
.title span:nth-child(19) {
  -webkit-animation-delay: 0.95s;
          animation-delay: 0.95s;
}
.title span:nth-child(20) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.title span:nth-child(21) {
  -webkit-animation-delay: 1.05s;
          animation-delay: 1.05s;
}
.title span:nth-child(22) {
  -webkit-animation-delay: 1.1s;
          animation-delay: 1.1s;
}
.title span:nth-child(23) {
  -webkit-animation-delay: 1.15s;
          animation-delay: 1.15s;
}
.title span:nth-child(24) {
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}
.title span:nth-child(25) {
  -webkit-animation-delay: 1.25s;
          animation-delay: 1.25s;
}
.title span:nth-child(26) {
  -webkit-animation-delay: 1.3s;
          animation-delay: 1.3s;
}
.title span:nth-child(27) {
  -webkit-animation-delay: 1.35s;
          animation-delay: 1.35s;
}
.title span:nth-child(28) {
  -webkit-animation-delay: 1.4s;
          animation-delay: 1.4s;
}
.title span:nth-child(29) {
  -webkit-animation-delay: 1.45s;
          animation-delay: 1.45s;
}
.title span:nth-child(30) {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}
.title span:nth-child(31) {
  -webkit-animation-delay: 1.55s;
          animation-delay: 1.55s;
}
.title span:nth-child(32) {
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

@-webkit-keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.1);
  }
  66% {
    opacity: 1;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
  }
  77% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0);
  }
}

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.1);
  }
  66% {
    opacity: .4;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
  }
  77% {
    opacity: .7;
  }
  100% {
    opacity: 1;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0);
  }
}
