/****************************
-- 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;
}

/****************************
-- Fallbacks --
****************************/
/* SVG */
.svg-fallback {
  display: none;
}

.no-svg .svg-fallback {
  display: block;
}

/****************************
-- Buttons --
****************************/
.btn {
  border-radius: 23px;
  display: inline-block;
  font-size: 15px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  padding: 13px 25px 15px;
  position: relative;
  transition: all 200ms ease-in-out;
}

.btn:after {
  content: '→';
  overflow: hidden;
  position: absolute;
  right: 16px;
  width: 0;
  transition: width 200ms ease-in-out;
}

.btn:hover {
  padding-left: 17px;
  padding-right: 33px;
}

.btn:hover:after {
  padding-left: 5px;
  width: 16px;
}

.btn.t1 {
  background-color: #0f6d35;
  color: #fff;
}

.btn:hover .icn {
  display: inline-block;
}

.btn.t1:hover {
  background-color: #fff;
  color: #0f6d35;
}

.btn.t2,
.bottom-popup.t2 .btn.t4 {
  background-color: #fff;
  color: #06a94e;
}

.btn.t2:hover,
.bottom-popup.t2 .btn.t4:hover {
  background-color: #0f6d35;
  color: #fff;
}

.btn.t3 {
  background-color: #06a94e;
  color: #fff;
}

.btn.t3:hover {
  background-color: #fff;
  color: #06a94e;
}

.btn.t4,
#header.fixed .btn.t1 {
  background-color: #06a94e;
  color: #fff;
}

.btn.t4:hover,
#header.fixed .btn.t1:hover {
  background-color: #0f6d35;
}

.btn.t5 {
  background-color: #e5e5e5;
  color: #8a8a8a;
}

.btn.t5:hover {
  background-color: #06a94e;
  color: #fff;
}

/* Play Video */
.btn.video {
  padding-left: 25px;
  padding-right: 63px;
}

.btn.video:after {
  border-left: 1px solid #fff;
  border-left: 1px solid rgba(255,255,255,0.5);
  content: 'p';
  bottom: 0;
  font-family: arloicons;
  font-size: 10px;
  font-size: 1rem;
  line-height: 1.5;
  padding: 15px 16px 15px 15px;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.btn.t2.video:after {
  border-color: #82d4a6;
  border-color: rgba(6,169,78,0.5);
}

/* Alignment */
.btn + .btn {
  margin-left: 1em;
}

/****************************
-- 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 {
  transition: all 200ms ease;
}

.shift:hover {
  text-decoration: none;
}

.shift i {
  position: relative;
  transition: all 200ms ease;
}

.shift.right i {
  right: 0;
}

.shift.right:hover i {
  right: -0.4em;
}

.shift.left i {
  left: 0;
}

.shift.left:hover i {
  left: -0.4em;
}

.shift.down i {
  bottom: 0;
}

.shift.down:hover i {
  bottom: -0.1em;
}

.highlight .bottom .shift {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Fade */
.shift.fade {
  opacity: 0.5;
}

.shift.fade:hover {
  opacity: 1;
}

/****************************
-- 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 --
****************************/
.pop-video-wrap {
  display: block;
  position: relative;
}

.pop-video-wrap:before {
  background-color: #1ba552;
  border: 3px solid transparent;
  border-radius: 50%;
  bottom: 0;
  box-sizing: content-box;
  content: '';
  height: 49px;
  left: 0;
  margin: auto;
  opacity: 0.85;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 300ms ease;
  width: 49px;
  z-index: 1;
}

.pop-video-wrap:after {
  content: '>';
  color: #fff;
  font-family: arloicons;
  font-size: 17px;
  height: 55px;
  left: 50%;
  line-height: 55px;
  margin-left: -26px;
  margin-top: -27px;
  position: absolute;
  text-align: center;
  top: 50%;
  transition: all 300ms ease;
  width: 55px;
  z-index: 1;
}

.pop-video-wrap:hover:before {
  box-shadow: 0 0 6px 1px rgba(0,0,0,0.4);
  opacity: 1;
}

.pop-video-wrap:active:before {
  border-width: 0;
  box-shadow: 0 0 4px -1px rgba(0,0,0,0.3);
}

.pop-video-wrap:hover:after {
  font-size: 27px;
  transform: rotate(360deg);
}

/****************************
-- 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);
  }
}

/****************************
-- 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;
}

/****************************
-- Background Covers / Ovals / Circles --
****************************/
/* Cover Top */
.cover-top {
  background: url('../images/oval-cover-top-svg.svg') top center no-repeat transparent;
  background-size: 100%;
}

.no-svg .cover-top {
  background: url('../images/oval-cover-top-png.png') top center no-repeat transparent;
}

.cover-top.lgray {
  background-color: #f8f8f8;
}

/* Title Cover Top */
.title-cover-top {
  background: url('../images/title-cover-top-svg.svg') bottom center no-repeat transparent;
  background-size: 100% 100%;
  bottom: 100%;
  height: 0;
  left: 0;
  margin-bottom: -1px;
  padding-bottom: 7.2917%;
  position: absolute;
  right: 0;
}

.no-svg .title-cover-top {
  background: url('../images/title-cover-top-png.png') bottom center no-repeat #06a94e;
}

/* Specific for certain pages */
#videogallery .title-cover-top {
  background-image: url('../images/title-cover-top-grey-svg.svg');
}

#videogallery .no-svg .title-cover-top {
  background-image: url('../images/title-cover-top-grey-png.png');
}

/* Ovals Background */
.ovals-bg {
  background: url('../images/ovals-svg.svg') 50% -10% no-repeat transparent;
  background-size: 160.625%; /*514/320*/
}

.no-svg .ovals-bg {
  background: url('../images/ovals-png.png') bottom center no-repeat transparent;
}

/* Ovals Bottom Backgruond */
.ovals-bottom-bg {
  background: url('../images/ovals-bottom-svg.svg') bottom center no-repeat transparent;
  background-size: 100%;
}

.no-svg .ovals-bottom-bg {
  background: url('../images/ovals-bottom-png.png') bottom center no-repeat transparent;
}

/* circles Background */
.circles-bg {
  background: url('../images/circles-svg.svg') 50% 50% no-repeat transparent;
  background-size: 120%;
}

.no-svg .circles-bg {
  background: url('../images/circles-png.png') 50% 50% no-repeat transparent;
}

/****************************
-- Media Queries --
****************************/
@media screen and (min-width: 30em) {
  /*---------------------
  Background Covers / Ovals / Circles
  ---------------------*/
  /* Ovals Background */
  .ovals-bg {
    background-size: 100%;
  }
}

@media screen and (min-width: 40.0625em) {
  /*---------------------
  Buttons
  ---------------------*/
  .btn {
    font-size: 16px;
    font-size: 1.6rem;
  }

  .btn.video:after {
    line-height: 1.6;
  }

  /*---------------------
  Background Covers / Ovals / Circles
  ---------------------*/
  /* Ovals Background */
  .ovals-bg {
    background-position: 50% 15%;
    background-size: 120%;
  }

  /* Ovals Bottom */
  .ovals-bottom-bg {
    background-size: 77%;
  }
}

@media screen and (min-width: 48em) {
  /*---------------------
  Background Covers / Ovals / Circles
  ---------------------*/
  /* Ovals Background */
  .ovals-bg {
    background-position: -100% 15%;
  }
}

@media screen and (min-width: 64em) {
  /*---------------------
  Background Covers / Ovals / Circles
  ---------------------*/
  /* Ovals Background */
  .ovals-bg {
    background-position: -170% 20%;
    background-size: 110%;
  }
}

@media screen and (min-width: 80em) {
  /*---------------------
  Background Covers / Ovals / Circles
  ---------------------*/
  /* Ovals Background */
  .ovals-bg {
    background-position: -193% 22.5%;
    background-size: 114%;
  }
}