/*
  ###################################
  LINKS / BUTTONS
  ###################################
*/


  a {
	color: #231F20;
	text-decoration: none;
	transition: color .5s ease-in-out,
	background-color .5s ease-in-out,
	border-color .5s ease-in-out,
	box-shadow .5s ease-in-out;
	/* transition-delay: 50ms !important; */
  }

  a:hover,
  a:hover .text-grey {
	color: #AC2229;
	text-decoration: none;
  }


  a.btn:hover {
	opacity: 1;
  }

  .service-link {
	font-family: 'Barlow', sans-serif;
	font-size: 1.875rem;
	line-height: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #8C7D7E;
  }

  .contact-link {
	font-family: 'Barlow', sans-serif;
	font-size: 3.375rem;
	line-height: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #AC2229;
  }

  .inline-link {
	display: inline-block;
	position: relative;
	font-size: 1.375rem;
	line-height: 1.875rem;
	color: #231F20;
	padding-right: 50px;
  }

  .inline-link strong {
	font-weight: 900;
  }

  .inline-link:after {
	display: inline-block;
	position: absolute;
	right: 0;
	top: 1px;
	width: 40px;
	height: 40px;
	content: '';
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23231F20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
	background-repeat: no-repeat;
	background-size: 1.75rem 1.75rem;
	transition: all .5s ease-in-out;
  }

  a:hover .inline-link,
  .inline-link:hover {
	color: #AC2229;
  }

  a:hover .inline-link:after,
  .inline-link:hover:after {
	right: -15px;
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23AC2229" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
  }

  /* —— ARROW —— */

  .inline-link.arrow-link:after {
	width: 70px;
	left: -15px;
	background-size: 2.75rem 2.75rem;
	background-position: center;
	/* background-color: #ccc; */
  }

  a:hover .inline-link.arrow-link:after,
  .inline-link.arrow-link:hover:after {
	left: 0px;
  }

  /* —— SMALL —— */

  .inline-link.small-link {
	font-size: 0.875rem;
	padding-right: 50px;
  }

  .inline-link.small-link:after {
	background-size: 1.25rem 1.25rem;
  }

  /* —— GREY ——*/

  .inline-link.grey-link {
	color: #8C7D7E;
  }

  .inline-link.grey-link:after {
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%238C7D7E" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
  }


  .inline-link.grey-link:hover {
	color: #AC2229;
  }

  .inline-link.grey-link:hover:after {
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23AC2229" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
  }


    /* —— RED ——*/

    .inline-link.red-link {
  	color: #AC2229;
    }

    .inline-link.red-link:after {
  	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23AC2229" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
    }


    .inline-link.red-link:hover {
  	color: #AC2229;
    }

    .inline-link.red-link:hover:after {
  	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23AC2229" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
    }

  

  /* —— WHITE ——*/

  .inline-link.white-link {
	color: #ffffff;
  }

  .inline-link.white-link:after {
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23ffffff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
  }

  .inline-link.white-link:hover {
	color: #BFAF74;
  }

  .inline-link.white-link:hover:after {
	background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="%23BFAF74" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10.146 4.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L12.793 8l-2.647-2.646a.5.5 0 0 1 0-.708z"/><path fill-rule="evenodd" d="M2 8a.5.5 0 0 1 .5-.5H13a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8z"/></svg>');
  }

  .download-link {
	display: inline-block;
	width: 200px;
	font-size: .75rem;
	line-height: .875rem;
	font-weight: 700;
	letter-spacing: .125rem;
	text-transform: uppercase;
  }

  .download-link .fa {
	display: inline-block;
	margin-top: 2px;
	margin-right: 10px;
	font-size: 1.5rem;
  }

  .download-link.red-link {
	color: #AC2229;
  }

  .download-link.blue-link {
	color: #151B49;
  }

  .download-link.red-link:hover,
  .download-link.blue-link:hover {
	color: #8C7D7E;
  }


  .btn {
	font-weight: 300;
	border: 1px solid transparent;
	padding: .125rem .725rem .25rem .725rem;
	font-size: 1.25rem;
	/*line-height: 1.5;*/
	/*width: 360px;*/
  }

  .btn-primary {
	color: #fff;
	background-color: #8C7D7E;
	border-color: #8C7D7E;
  }

  .btn-primary:active,
  .btn-primary:hover {
	color: #fff;
	background-color: #8C7D7E;
	border-color: #8C7D7E;
  }

  .btn span {
	cursor: pointer;
	display: inline-block;
	position: relative;
	transition: 0.5s;
  }

  .btn span:after {
	font-family: 'fontawesome';
	font-size: 3rem;
	line-height: 2rem;
	font-weight: 900;
	content: '\f105';
	/*content: '\f054';*/
	position: absolute;
	opacity: 0;
	top: 0;
	right: -25px;
	transition: 0.5s;
  }

  .btn:hover span {
	padding-right: 35px;
  }

  .btn:hover span:after {
	opacity: 1;
	right: 0;
  }





/*
  ###################################
  ANIMATED NEXT SLIDE BUTTONS
  ###################################
*/




a.animated-button {
  position: relative;  
  cursor: pointer;
}

a.animated-button .visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

@keyframes occasional-arrow-bounce {
  0% { transform: translateY(0); }
  79% { transform: translateY(0); }
  80% { transform: translateY(2px); }
  100% { transform: translateY(-4px); }
}

/* a.animated-button {
	position: absolute;
	left: 0;
} */

a.animated-button:after {
  display: block;
  position: absolute;
  top: -16px;
  left: 23px;
  width: 58px;
  height: 58px;
  content: '';
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'><path d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
  animation: occasional-arrow-bounce 3s infinite 2s alternate ease-out;
  /* filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5)); */
}

a.animated-button.purple:after {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%235c00cb' xmlns='http://www.w3.org/2000/svg'><path d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}

a.animated-button .circle {
  position: relative;
  top: auto;
  left: auto;
  height: 104px;
  width: 104px;
  /* filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5)); */
}
  
a.animated-button .background {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.1);
  transition: all 200ms ease;
}
  
a.animated-button .foreground {
  fill: transparent;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  stroke: #fff;
  stroke-width: 3px;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  transition: all 1400ms ease;
}
	
a.animated-button:hover .foreground {
  stroke-dashoffset: 0;
  transform: rotate(90deg);
}

@keyframes arrow-bounce {
  0% { transform: translateY(2px); }
  100% { transform: translateY(-4px); }
}

a.animated-button:hover:after {
  animation: arrow-bounce 0.5s infinite alternate ease-out;
}
