/* ==========================================================================
   UTILITIES
   ========================================================================== */
/* BUTTONS */
.smallButton {
  float: left;
  margin-right: 8px !important;
  margin-bottom: 8px !important;
}

/* COUNTERS */
.et_pb_number_counter h3 {
  line-height: 1.5em;
}

/* COUNTDOWN TIMER */
.josefinCountdownTimer {
 padding: 4% 2%;
}
.josefinCountdownTimer .sep {
 display: none;
}
.josefinCountdownTimer .section.values {
 width: 20%;
 max-width: none;
}
@media screen and (max-width : 980px) {
 .josefinCountdownTimer .section.values {
 width: 24%;
 }
}
@media screen and (max-width : 980px) {
 .josefinCountdownTimer .section.values {
 width: 23%;
 }
}

/* TOGGLES */
h5.et_pb_toggle_title {
  margin-bottom: 0;
  line-height: 1.2em;
}
.et_pb_toggle_title:before {
  font-size: 32px;
}

/* FEATURES GRID */
.josefinBlurb {
  padding: 30px;
  min-height: 330px;
  position: relative;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.josefinBlurb h4 {
  line-height: 1.3em;
}
.josefinBlurb:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  background-color: #fff;
  z-index: 9999;
}
@media screen and (max-width : 1245px) {
  .josefinBlurb {
    min-height: 360px;
  }
}
@media screen and (max-width : 1070px) {
  .josefinBlurb {
    min-height: 380px;
  }
}
@media screen and (max-width : 980px) {
  .josefinBlurb {
    padding: 30px 0;
    border: none !important;
    min-height: 0;
  }
  .josefinBlurb:hover {
    box-shadow: none;
  }
  #features .et_pb_column {
    margin-bottom: 0 !important;
  }
}

/*FEATURES GRID BLUE*/
.josefinBlurbBlue:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  border-color: #1472e1;
  background-color: #1472e1;
}
.et_pb_blurb.josefinBlurbBlue:hover .et_pb_blurb_container h4, .josefinBlurbBlue:hover .et_pb_blurb_container, .josefinBlurbBlue:hover .et_pb_blurb_container p, .josefinBlurbBlue:hover .et_pb_blurb_container a, .josefinBlurbBlue:hover .et-pb-icon {
  color: #fff !important;
}
.josefinBlurbBlue:hover .et_pb_blurb_container a {
  text-decoration: underline;
}

/* VERTICAL ALIGN */
.vertical-align { 
 display: flex; 
 flex-direction: column; 
 justify-content: center;
}

/* CTAS */
#ctas .josefinCTA:before {
  background-color: rgba(0, 0, 0, 0.2);
  content:"";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
#ctas .josefinCTA:hover:before {
  background-color: rgba(0, 0, 0, 0.7);
}
#ctas .josefinCTA a {
  display: block;
  color: #fff;
  position: relative;
  padding-top: 125px;
  padding-bottom: 125px;
  z-index: 9999;
}
@media screen and (max-width : 980px) {
  #ctas .josefinCTA a {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}
@media screen and (max-width : 768px) {
  #ctas .et_pb_row {
    padding: 0;
  }
}

/* CTA SECTION */
.CTAsection h2.et_pb_module_header {
  font-weight: normal;
  margin-bottom: 20px;
}

/* BLURB LINKS */
.josefinBlurbLink {
  min-height: 400px;
  padding: 50px;
  overflow: hidden;
}
.josefinBlurbLink .et_pb_blurb_content {
  max-width: none;
}
.josefinBlurbLink .et_pb_module_header {
  position: relative;
  top: -50px;
  opacity: 0;
  transition: all 0.4s;
}
.josefinBlurbLink:hover .et_pb_module_header {
  top: 0;
  opacity: 1;
}
.josefinBlurbLink .et_pb_blurb_description {
  position: relative;
  left: -50px;
  opacity: 0;
  transition: all 0.4s;
}
.josefinBlurbLink:hover .et_pb_blurb_description {
  left: 0;
  opacity: 1;
  transition-delay: 0.2s;
}
.josefinBlurbLink:after {
  content: 'Learn More →';
  font-family: 'Josefin Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  letter-spacing: 7px;
  text-transform: uppercase;
  position: absolute;
  opacity: 0;
  bottom: 0;
  transition: all 0.4s;
}
.josefinBlurbLink:hover:after {
  opacity: 1;
  bottom: 45px;
  transition-delay: 0.4s;
}
.josefinBlurbLinkColumns {
  overflow: hidden;
}

@media screen and (max-width : 767px) {
  .josefinBlurbLink {
    min-height: 350px;
    padding: 35px;
  }
  .josefinBlurbLink .et_pb_module_header {
    top: -35px;
  }
  .josefinBlurbLink .et_pb_blurb_description {
    left: -35px;
  }
  .josefinBlurbLink:hover:after {
    bottom: 30px;
  }
}

/* ==========================================================================
   OVERLAPPING TEXT & IMAGE SECTION
   ========================================================================== */
/* IMAGE LEFT & TEXT RIGHT */
.josefinOverlap .josefinOverlapImageLeft {
  box-shadow: 0 0 50px rgba(0,0,0,.3);
  position: relative;
  z-index: 998;
  margin-left: 75px;
}
.josefinOverlap .josefinOverlapTextRight {
  box-shadow: 0 0 50px rgba(0,0,0,.2);
  position: relative;
  z-index: 999;
  margin-left: -125px;
  margin-top: 75px;
}
@media screen and (max-width : 1140px) {
  .josefinOverlap .josefinOverlapImageLeft {
    margin-left: 50px;
  }
  .josefinOverlap .josefinOverlapTextRight {
    margin-left: -75px;
    margin-top: 50px;
  }
}
@media screen and (max-width : 980px) {
  .josefinOverlap .josefinOverlapImageLeft {
    margin-left: 13%;
  }
  .josefinOverlap .josefinOverlapTextRight {
    margin-left: -13%;
    margin-top: -90px;
  }
}
@media screen and (max-width : 768px) {
  .josefinOverlap .josefinOverlapImageLeft {
    margin-left: 10%;
  }
  .josefinOverlap .josefinOverlapTextRight {
    margin-left: -10%;
  }
}
@media screen and (max-width : 600px) {
  .josefinOverlap .josefinOverlapImageLeft {
    margin-left: 0;
  }
  .josefinOverlap .josefinOverlapTextRight {
    margin-left: 0;
    margin-top: -30px;
  }
}

/* TEXT LEFT & IMAGE RIGHT */
.josefinOverlap .josefinOverlapImageRight {
  box-shadow: 0 0 50px rgba(0,0,0,.3);
  position: relative;
  z-index: 998;
  margin-left: -125px;
}
.josefinOverlap .josefinOverlapTextLeft {
  box-shadow: 0 0 50px rgba(0,0,0,.2);
  position: relative;
  z-index: 999;
  margin-left: 75px;
  margin-top: 75px;
}
@media screen and (max-width : 1140px) {
  .josefinOverlap .josefinOverlapImageRight {
    margin-left: -75px;
  }
  .josefinOverlap .josefinOverlapTextLeft {
    margin-left: 50px;
    margin-top: 50px;
  }
}
@media screen and (max-width : 980px) {
  .josefinOverlap .josefinOverlapImageRight {
    margin-left: -13%;
    margin-top: -90px;
  }
  .josefinOverlap .josefinOverlapTextLeft {
    margin-left: 13%;
    margin-top: 0;
  }
}
@media screen and (max-width : 768px) {
  .josefinOverlap .josefinOverlapImageRight {
    margin-left: -10%;
  }
  .josefinOverlap .josefinOverlapTextLeft {
    margin-left: 10%;
  }
}
@media screen and (max-width : 600px) {
  .josefinOverlap .josefinOverlapImageRight {
    margin-left: 0;
    margin-top: -30px;
  }
  .josefinOverlap .josefinOverlapTextLeft {
    margin-left: 0;
  }
}


/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
@media screen and (max-width: 980px) {
  .et_header_style_centered #main-header .mobile_nav {
    background-color: transparent;
  }
  .mobile_nav.closed .select_page {
    display: none;
  }
  .et-fixed-header#main-header {
    background-color: transparent !important;
  }
}
.et_mobile_menu {
  border-top: none;
  background-color: rgba(10, 10, 10, 0.9) !important;
  padding: 25% 0;
}
.et_mobile_menu li a {
  text-align: center;
  font-size: 1.55em;
  border: 0;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 6px;
}
.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #fff;
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
  color: #999;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
}

/* NESTING MOBILE MENU */
#main-header .et_mobile_menu .menu-item-has-children> a {
    background-color: transparent;
    position: relative;
}
#main-header .et_mobile_menu .menu-item-has-children> a:after {
    font-family: 'ETmodules';
    text-align: center;
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    position: absolute;
}
#main-header .et_mobile_menu .menu-item-has-children> a:after {
    font-size: 16px;
    content: '\4c';
    top: 10px;
}
#main-header .et_mobile_menu .menu-item-has-children.visible> a:after {
    content: '\4d';
}
#main-header .et_mobile_menu ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}
#main-header .et_mobile_menu .visible> ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}



/* ==========================================================================
   DOWN ARROW ANIMATION
   ========================================================================== */
.et_pb_fullwidth_header_scroll {
  opacity: .6;
}
span.scroll-down.et-pb-icon {
  cursor: pointer;
  height: 60px;
  width: 80px;
  margin: 0px 0 0 -40px;
  line-height: 60px;
  position: absolute;
  left: 50%;
  bottom: 30px;
  color: #fff;
  text-align: center;
  font-size: 70px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
  -webkit-animation: ca3_fade_move_down 2s ease-in-out infinite;
  -moz-animation: ca3_fade_move_down 2s ease-in-out infinite;
  animation: ca3_fade_move_down 2s ease-in-out infinite;
}
@-webkit-keyframes ca3_fade_move_down {
  0% {
    -webkit-transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
}
@-moz-keyframes ca3_fade_move_down {
  0% {
    -moz-transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -moz-transform: translate(0, 20px);
    opacity: 0;
  }
}
@keyframes ca3_fade_move_down {
  0% {
    transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 20px);
    opacity: 0;
  }
}