/****************************
-- Utilities --
****************************/
/* For modern browsers */
.cf:before,
.cf:after {
  content: "\0020";
  display: table;
  position: static;
}

.cf:after {
  clear: both;
}

.first {
  float: left;
}

.last {
  float: right;
}

.center {
  margin: 0 auto;
  text-align: center;
}

/* Hide */
.hidden {
  display: none !important;
}

/* Image Replacement */
.ir,
#footer .legal .ir {
  color: transparent;
  font: 0/0 a;
  text-shadow: none;
}

/* Inline Block fix - Children need font-family re set */
.ibp {
  font-family: arloicons;
}

.ibp > * {
  display: inline-block;
  vertical-align: middle;
}

/****************************
-- Buttons --
****************************/
.btn {
  border-radius: 22px;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  min-width: 155px;
  padding: 12px 35px;
  position: relative;
  text-align: center;
  -webkit-transition: background 300ms ease-in-out, color 300ms ease-in-out;
  transition: background 300ms ease-in-out, color 300ms ease-in-out;
}

.btn.t1 {
  background-color: #06a84e;
  color: #fff;
}

.btn.t1:hover {
  background-color: #0f6d35;
}


.btn.t2 {
  background-color: #fff;
  color: #06a84e;
}

.btn.t2:hover {
  background-color: #0f6d35;
  color: #fff;
}

.btn.t3 {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
}

.btn.t3:hover {
  background-color: rgba(255,255,255,1);
  color: #0f6d35;
}

.btn.t4 {
  background-color: #fff;
  border: 1px solid #06a84e;;
  color: #06a84e;
  padding-bottom: 11px;
  padding-top: 11px;
}

.btn.t4:hover {
  background-color: #06a84e;
  color: #fff;
}

.disabled {
        pointer-events: none;
        cursor: default;
        opacity: 0.6;
    }

/* Play Video */
.btn.video {
  padding-right: 55px;
}

.btn.video:after {
  bottom: 0;
  color: #fff;
  content: '\e900';
  font-family: arloicons;
  font-size: 20px;
  line-height: 20px;
  margin-top: -10px;
  position: absolute;
  right: 23px;
  top: 50%;
}

/****************************
-- Replay --
****************************/
.replay {
  font-size: 16px;
  font-weight: 500;
  padding-left: 25px;
  position: relative;
}

.replay:hover {
  text-decoration: none;
}

.replay:after {
  color: #000;
  content: 'k';
  font-family: arloicons;
  font-size: 16px;
  font-size: 1.6rem;
  left: 0;
  line-height: 1.5;
  margin-top: -0.75em;
  opacity: 0.6;
  position: absolute;
  top: 50%;
  width: auto;
  transition: all .3s ease;
}

.replay:hover:after {
  opacity: 1;
  transform: rotate(360deg);
}

/****************************
-- Separators --
****************************/
.sep {
  margin-top: 1.25em;
  padding-top: 1.25em;
  position: relative;
}

.sep:after {
  border-top: 1px solid #e5e5e5;
  content: '';
  height: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 37px;
}

/* Bottom Center */
.sep.bot {
  margin-bottom: 1em;
  margin-top: 0;
  padding-bottom: 1em;
  padding-top: 0;
  position: relative;
}

.sep.bot:after {
  bottom: 0;
  top: auto;
}

.sep.center:after {
  left: 50%;
  margin-left: -18px;
}

/****************************
-- Text Shift --
****************************/
.shift {
  color: #06a84e;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  padding-right: 15px;
  position: relative;
  text-transform: uppercase;
}

.shift.long {
  padding-right: 36px;
}

.shift:after {
  content: '\f105';
  font-family: arloicons;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  margin-top: -8px;
  position: absolute;
  right: 0;
  top: 50%;

  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

.shift:hover:after {
  right: -5px;
}

.shift.back {
  padding-left: 15px;
  padding-right: 0;
}

.shift.back.long {
  padding-left: 36px;
  padding-right: 0;
}

.shift.back:after {
  content: '\f104';
  left: 0;
  right: auto;
}

.shift.back:hover:after {
  left: -5px;
}

/****************************
-- Vertical Middle --
****************************/
.vertical-wrap {
  font-family: arloicons;
  height: 100%;
  left: 0;
  margin: auto;
  right: 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1;
}

.vertical-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.vertical-wrap > .middle {
  display: inline-block;
  vertical-align: middle;
}

/****************************
-- Vertical Children --
****************************/
.vertical-children > * {
  display: inline-block;
  vertical-align: middle;
}

/****************************
-- Youtube Video Player --
****************************/
.player .wrap {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.player .wrap iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/****************************
-- Grayscale Filter --
****************************/
.grayhov {
  -webkit-filter: grayscale(1);
  -webkit-filter: grayscale(100%);
  filter: gray;
  filter: url('../images/grayscale.svg');
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 200ms ease;
}

.grayhov:hover {
  -webkit-filter: none;
  filter: none;
  opacity: 1;
}

/****************************
-- Play video Icon --
****************************/
.video.play-icon {
  position: relative;
}

.video.play-icon:before {
  background-color: #000;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 0.1;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;

  -webkit-transition: opacity 300ms ease;
  transition: opacity 300ms ease;
}

.video.play-icon:hover:before {
  opacity: 0.2
}

.video.play-icon:after {
  background-color: #fff;
  border: 0;
  border-radius: 50%;
  box-sizing: content-box;
  color: #06a84e;
  content: '\e907';
  font-family: 'arloicons';
  font-size: 18px;
  height: 46px;
  left: 50%;
  line-height: 46px;
  margin: -23px 0 0 -23px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 46px;
  z-index: 2;

  -webkit-transition: -webkit-transform 300ms ease;
  transition: transform 300ms ease;
}

.video.play-icon.md:after {
  height: 56px;
  font-size: 22px;
  line-height: 56px;
  margin: -28px 0 0 -28px;
  width: 56px;
}

.video.play-icon:hover:after {
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15);
}

/****************************
-- Keyframes --
****************************/
.fade {
  opacity: 0;
}

/* Fade in */
.fade-in {
  -webkit-animation: fadeIn 1s both;
  animation: fadeIn 1s both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Fade in From Left */
.fade-in-from-left {
  -webkit-animation: fadeInFromLeft 1s both;
  animation: fadeInFromLeft 1s both;
}

@-webkit-keyframes fadeInFromLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-65%);
    transform: translateX(-65%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInFromLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-65%);
    transform: translateX(-65%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Fade in From Right */
.fade-in-from-right {
  -webkit-animation: fadeInFromRight 1s both;
  animation: fadeInFromRight 1s both;
}

@-webkit-keyframes fadeInFromRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(65%);
    transform: translateX(65%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInFromRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(65%);
    transform: translateX(65%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Fade In From Top */
.fade-in-from-top {
  -webkit-animation: fadeInFromTop 1s both;
  animation: fadeInFromTop 1s both;
}

@-webkit-keyframes fadeInFromTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInFromTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Fade In From Top */
.fade-in-from-bottom {
  -webkit-animation: fadeInFromBottom 1s both;
  animation: fadeInFromBottom 1s both;
}

@-webkit-keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInFromBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Fade Out */
.fade-out {
  -webkit-animation: fadeOut 1s both;
  animation: fadeOut 1s both;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Fade out To Left */
.fade-out-to-left {
  -webkit-animation: fadeOutToLeft 1s both;
  animation: fadeOutToLeft 1s both;
}

@-webkit-keyframes fadeOutToLeft {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-65%);
    transform: translateX(-65%);
  }
}

@keyframes fadeOutToLeft {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-65%);
    transform: translateX(-65%);
  }
}

/* Fade out To Right */
.fade-out-to-right {
  -webkit-animation: fadeOutToRight 1s both;
  animation: fadeOutToRight 1s both;
}

@-webkit-keyframes fadeOutToRight {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(65%);
    transform: translateX(65%);
  }
}

@keyframes fadeOutToRight {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(65%);
    transform: translateX(65%);
  }
}

/* Fly */
@-webkit-keyframes fly {
  0% {
    font-size: 23px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    font-size: 29px;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  100% {
    font-size: 23px;
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes fly {
  0% {
    font-size: 23px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    font-size: 29px;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  100% {
    font-size: 23px;
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

/* Fade In From None To Top */
@-webkit-keyframes fadeInFromNoneToTop {
  0% {
    height: 0;
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }
  100% {
    height: 100%;
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInFromNoneToTop {
  0% {
    height: 0;
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    height: 100%;
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Rotate */
@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Go slightly to the left and back */
.shake-left {
  -webkit-animation: shakeLeft 200ms both;
  animation: shakeLeft 200ms both;
}

@-webkit-keyframes shakeLeft {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes shakeLeft {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Background Animations */
.animated-clouds {
  -webkit-animation: animatedBackground 40s linear infinite;;
  animation: animatedBackground 40s linear infinite;;
}

@-webkit-keyframes animatedClouds {
	0% {
    background-position: 0 center;
  }
	100% {
    background-position: -1942px center;
  }
}

@keyframes animatedClouds {
	0% {
    background-position: 0 center;
  }
	100% {
    background-position: -1942px center;
  }
}

/****************************
-- General CSS Transitions --
****************************/
.tr100 {
  -webkit-transition: all 100ms ease-in-out;
  -moz-transition: all 100ms ease-in-out;
  -ms-transition: all 100ms ease-in-out;
  -o-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}

.tr200 {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.tr300 {
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.tr400 {
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -ms-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

.tr600 {
  -webkit-transition: all 600ms ease-in-out;
  -moz-transition: all 600ms ease-in-out;
  -ms-transition: all 600ms ease-in-out;
  -o-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out;
}

.tr800 {
  -webkit-transition: all 800ms ease-in-out;
  -moz-transition: all 800ms ease-in-out;
  -ms-transition: all 800ms ease-in-out;
  -o-transition: all 800ms ease-in-out;
  transition: all 800ms ease-in-out;
}
