/* FRONTEND CSS
*********************************************/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
 }

body {
    background: #FAF5F3;
}

html, body {
    font-family: arboria, sans-serif;
}

body.modal-open {
    overflow: hidden !important;
}

#wrapper {
	min-height: 100%;
}

#wrapper:after {
	content: "";
	display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.cf:before, .cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
}

.page span {
    color: inherit !important;
    font-weight: inherit !important;
}

::-moz-selection { 
  background: #BACCC7; 
  color: #034A47; 
}

::selection { 
  background: #BACCC7;
  color: #034A47; 
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* FADER
*********************************************/

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    background: #FAF5F3;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
  }

  #fader:before {
    content: 'fade'
  }

  @keyframes fade-out {
    from { opacity: 1 }
    to { opacity: 0 }
  }

  @keyframes fade-in {
    from { opacity: 0 }
    to { opacity: 1 }
  }

  #fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
  }

  #fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
  }


/* SCROLL TO TOP BUTTON
*********************************************/

#toTop {
    padding: 24px 18px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
    z-index: 999;
    width: 60px;
    height: 60px;
 	cursor: pointer;
}


/* HEADER
*********************************************/

header.header-nav, .menu-nav {
    background-color: transparent;  
    width: 100%;
    padding: 25px 0;
    z-index: 99;
    position: relative;
    height: 110px;
}

header.header-nav .logo {
    float: left;
}

header.header-nav .menu-button span.button, .menu-nav .menu-button span.button {
    color: #034A47;
    font-size: 22px;
    line-height: 45px;
    text-align: center;
    padding: 10px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

header.header-nav .menu-button span.button:hover {
    background-color:#EDE6E3;
    cursor: pointer;
}

.home header.header-nav .menu-button span.button {
    color: #FECF8B;
}

.home header.header-nav .menu-button span.button:hover {
    background-color:#023836;
}

.menu-nav .menu-button span.button {
   color: #FECF8B;
}
.menu-nav .menu-button span.button:hover  {
    background-color: #023836;
    cursor: pointer;
}

.home header.header-nav {
    position: absolute;
    height: 110px;
}

/* MAIN MENU
*********************************************/


header.header-nav  .menu ul.nav>li {
    margin: 0px;
    position: relative;
}
header.header-nav  .menu ul.nav>li>a {
    font-family: arboria, sans-serif;
    font-size: 14px;
    color: #034A47;
    letter-spacing: 2.62px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 0 10px;
    margin: 0 13px;
    line-height: 45px;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.home header.header-nav  .menu ul.nav>li>a {
    color: #FECF8B;
}
.home header.header-nav  .menu ul.nav>li.active>a {
    border-bottom: 2px solid #FECF8B;
}
header.header-nav  .menu ul.nav>li.active>a {
    border-bottom: 2px solid #034A47;
}

header.header-nav  .menu ul.nav>li>a, .overlay .menu ul li a {
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

header.header-nav  .main-menu ul.nav>li>a::before, .overlay .menu ul li a::before{
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
    content: '';
}

header.header-nav  .main-menu ul.nav>li>a:hover::before, .overlay .menu ul li a:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}
header.header-nav  .main-menu ul.nav>li>a::before ,.overlay .menu ul li a::before{
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}

/* DROP DOWN MENU
*********************************************/

.main-menu .nav li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    padding: 0;
    margin: 0;
	z-index: 1000;
}

.main-menu .nav li:hover > ul {
    display: block;
}
.main-menu .nav li ul {
    min-width: 250px;
    padding: 0;
    margin: 0;
    list-style: none;
    background: #fff;
}

.main-menu .nav li ul li {
	width: 100%;
    margin: 0px;
    border-bottom: 1px solid #FAF5F3;
}

.main-menu .nav li ul li:last-of-type {
    border-bottom: 0px;
}

.main-menu .nav li ul li a {
    white-space: nowrap;
    position: relative;
    display: block;
    font-weight: normal;
    padding: 15px 15px;
    color: #034A47;
    font-family: arboria, sans-serif;
    font-size: 14px;
    letter-spacing: 2.62px;
    text-transform: uppercase;
    width: 100%;
    text-decoration: none;
	text-align: left;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}



.main-menu .nav li ul li a:focus, .main-menu .nav li ul li a:hover {
    color: #034A47;
    text-decoration: none;
    background-color: #FECF8B;
}

/* BUTTONS
*********************************************/

.btn {
    line-height: 1 !important;
    border-radius: 0rem;
    transition: all .3s ease !important;
    font-family: arboria, sans-serif;
    font-size: 14px;
    letter-spacing: 2.62px;
    text-transform: uppercase;
    text-decoration: none !important;
    font-weight: bold !important;
}

.btn:after {
    font-family: 'Font Awesome 5 Pro';
    font-weight: normal; 
    content: "\f178";
    margin-left: 10px;
    position: relative;
    right: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.btn:hover:after {
    right: -5px;
}

.btn-lg {
    padding: 20px 30px !important;
    margin: 5px;
}

.btn-sm {
    padding: 15px 25px !important;
}

.btn-primary {
    color: #034A47 !important;
    border: 2px solid !important;
    border-color: #FECF8B !important;
    background: #FECF8B;
}

.btn-primary:hover {
    background: #FFE2B7;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(186, 204, 199, .25);
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(186, 204, 199, .5);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #034A47;
    border-color: #034A47;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(186, 204, 199, .5);
}

.btn-secondary {
    color: #FAF5F3 !important;
    border: 0px !important;
    border-color: transparent !important;
    background: #034A47;
}

.btn-secondary:hover {
    color: #FAF5F3;
    background-color: #16615E;
}

.year-container .btn-secondary {
    color: #FAF5F3 !important;
    border: 2px solid !important;
    border-color: #FAF5F3 !important;
    background: #034A47;
}

.year-container .btn-secondary:hover {
    color: #034A47 !important;
    border: 2px solid !important;
    border-color: #FAF5F3 !important;
    background: #FAF5F3;
}

.btn-outline {
    color: #fff !important;
    border-color: #fff !important;
    border-width: 2px;
}

.btn-outline:after {
    color: #fff !important;
 
 }
.btn-outline:hover {
    background-color: transparent !important;
    color: #fff !important;
}

.btn-outline:hover:after {
   color: #fff !important;

}

.btn-outline-secondary {
    color: #034A47 !important;
    border-color: #034A47 !important;
    border-width: 2px;
}

.btn-outline-secondary:after {
    color: #034A47 !important;
 
 }
.btn-outline-secondary:hover {
    background-color: #034A47 !important;
    color: #fff !important;
}

.btn-outline-secondary:hover:after {
   color: #fff !important;

}

.home .header-nav a.btn.btn-primary.btn-sm {
    background: transparent;
    color: #FAF5F3 !important;
    border: 2px solid #FAF5F3 !important;
}
.home .header-nav a.btn.btn-primary.btn-sm:after {
    color: #FAF5F3 !important;
}
.home .header-nav a.btn.btn-primary.btn-sm:hover {
    background: #FAF5F3;
    color: #034A47 !important;
}
.home .header-nav a.btn.btn-primary.btn-sm:hover:after {
    color: #034A47 !important;
}

.home .journal a.btn.btn-secondary.btn-sm {
    border: 2px solid #034A47 !important;
    background: transparent;
    color: #034A47 !important;
}

.home .journal a.btn.btn-secondary.btn-sm:hover {
    background-color: #034A47 !important;
    color: #fff !important;
}
.home .journal a.btn.btn-secondary.btn-sm:after {
    color: #034A47 !important;
 
 }

 .home .journal a.btn.btn-secondary.btn-sm:hover:after {
   color: #fff !important;

}


/* PARALLAX HOME
*********************************************/
.wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 300px;
    scroll-behavior: smooth;
  }
.parallax__group {
    position: relative;
    height: 100vh;
    width: 100vw;
    transform-style: preserve-3d;
  }
  
  .parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .texture {
    background-color: #034A47;
    transform: translateZ(-600px) scale(3);
    z-index: 1;
  }
  
  .montain1 {
    background: url('../images/mountain2.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-250px) scale(1.833333333);
    background-position: bottom center;
    z-index: 2;
  }
  
  .montain2 {
    background: url('../images/mountain1.png') no-repeat center;
    background-size: cover;
    transform: translateZ(-125px) scale(1.4167);
    background-position: bottom center;
    z-index: 3;
  }
  
  .montain3 {
    background: url('../images/mountain0.png') no-repeat center;
    background-size: cover;
    transform: translateZ(0) scale(1);
    background-position: bottom center;
    z-index: 4;
  }

  .hero-text {
    transform: translateZ(0) scale(1);
    z-index: 5;
  }
  
  .hero-text h2 {
    font-size: 1.25rem;
    position: absolute;
    left: 2.5rem;
    top: 2.5rem;
  }
  
  .hero-text ul {
    font-size: 0.75rem;
    position: absolute;
    right: 2.5rem;
    top: 2.5rem;
  }
  
  .hero-text ul li {
    margin-left: 2.5rem;
    list-style-type: none;
    float: left;
    visibility: hidden;
  }
  
  .hero-text ul li:nth-of-type(3) {
    visibility: visible;
  }

  .year-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 25rem;
    padding: 0px 40px;
    max-width: 740px;
    width: 100%;
  }
  
  .year-container h1 {
    font-family: Bebas, sans-serif;
    font-weight: 400;
    position: absolute;
    font-size: 12.5rem;
  }
  
  .year-container h1:nth-of-type(1) {
    top: 10%;
  }
  
  .year-container h1:nth-of-type(2) {
    left: 30%;
    bottom: 0;
  }
  
  .year-container h1:nth-of-type(3) {
    top: 0;
    right: 30%;
  }
  
  .year-container h1:nth-of-type(4) {
    right: 0;
    bottom: 20%;
  }
  .year-container img {
    width: 100%;
    max-width: 640px;
    height: auto;
  }
  

/* SECTIONS
*********************************************/

section#home {
    position: relative;
}

section#content {
    background: #FAF5F3;
    z-index: 6;
    position: relative;
}

section#journal {
    background: #FAF5F3;
    z-index: 6;
    position: relative;
}

/* BACKGROUNDS
*********************************************/

.cream {
}

.cream > .background {
    background: #FAF5F3;
}
.cream::before {
    background-image: url(../images/cream-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #002B43;
    height: 155px;
    background-position: top center;
    content: '';
    display: block;
}

.blue > .background {
    background: #002B43;
}
.blue::before {
    background-image: url(../images/blue-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #034A47;
    height: 140px;
    background-position: top center;
    content: '';
    display: block;
}

.green {
}

.green > .background {
    background: #034A47;
}
.green::before {
    background-image: url(../images/green-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 140px;
    background-color: #FECF8B;
    background-position: top center;
    content: '';
    display: block;
}

.pink {
}

.pink > .background {
    background: #FEE2D2;
}
.pink::before {
    background-image: url(../images/pink-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 140px;
    background-color: #002B43;
    background-position: top center;
    content: '';
    display: block;
}

.yellow {
}

.yellow > .background {
    background: #FECF8B;
}
.yellow::before {
    background-image: url(../images/yellow-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100px;
    background-position: top center;
    content: '';
    display: block;
}

.blue h1, .blue h2, .blue h3, .blue h4, .blue h5, .blue h6, .blue p, .blue li {
    color: #FAF5F3;
}

.green h1, .green h2, .green h3, .green h4, .green h5, .green h6, .green p, .green li {
    color: #FAF5F3;
}

.blue h2.section-title, .green h2.section-title {
    border-bottom: 2px solid #FAF5F3;
}

/* PAGE SPECIFIC BACKGROUNDS
*********************************************/

.home .cream::before {
    background-color: #FECF8B;
}

.about .green::before {
    background-image: url(../images/light-green-top.svg);
    height: 200px;
    background-color: #FAF5F3;
}

.about .pink::before {
    background-color: #034A47;
}

.about .cream::before {
    background-color: #FEE2D2;
}

.recovery .blue::before {
    background-color: #FECF8B;
}

.recovery .cream::before {
    background-color: #FEE2D2;
}

.coaching .yellow.type-2::before {
    background-color: #002B43;
}

.coaching .cream::before, .individuals .cream::before, .family-friends .cream::before {
    background-color: #FEE2D2;
}

.services .cream::before {
    background-color: #034A47;
}

.therapy .cream::before {
    background-color: #FEE2D2;
}

.addiction-recovery-coaching .cream::before {
    background-color: #FEE2D2;
}

.workshops .blue::before, .rehab-aftercare .blue::before {
    background-color: #FAF5F3;
}

.workshops .green::before, .rehab-aftercare .green::before  {
    background-color: #002B43;
}

.workshops .yellow::before, .rehab-aftercare .yellow::before {
    background-color: #034A47;
}

.workshops .cream::before, .rehab-aftercare .cream::before {
    background-color: #FECF8B;
}

.rehab-aftercare footer::before {
    background-color: #FECF8B;
}

/* IMAGES
*********************************************/

.pos-image img {
    width: 100%;
    height: inherit;
}

/* JOURNAL
*********************************************/

.page-nav {
    font-family: arboria, sans-serif;
	font-size: 14px;
	color: #034A47;
	letter-spacing: 1.5px;
	text-transform: uppercase;
    text-decoration: none !important;
}

/* SCROLL TO NEXT SECTION
*********************************************/

a.scroll {
    margin-top: 10px;
}

/* TABLES
*********************************************/

.yoo-zoo td, .yoo-zoo th {
    padding: 10px !important;
	vertical-align: top;
}

.yoo-zoo tr.white {
	background: #e17656;
}

.yoo-zoo tr.white td p {
	color: #ffffff !important;
	text-transform: uppercase;
}

.yoo-zoo td p, .yoo-zoo th p {
    margin: 0px !important;
}

/* FOOTER
*********************************************/

footer {
 
}

footer::before {
    background-image: url(../images/footer-top.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 150px;
    background-position: top center;
    content: '';
    display: block;
}
.home footer::before {
    background-color: #FAF5F3;

}
.footer {
    color: #FEE2D2;
    background-color: #034A47;
}
.footer .footer-top {
    border-bottom: 1px solid #4B7E7A;
}

footer .footer ul.footer-disclaimer {
    list-style: none;
	padding: 0px;
	margin: 0px 0 15px 0;
}

footer .footer ul.footer-disclaimer li {
    float: left;
	padding: 0 15px 0 0;
	border-right: 1px solid #ffffff;
	margin: 0 15px 0 0;
	line-height: 14px;
	font-size: 14px;
	color: #ffffff;
}

footer .footer ul.footer-disclaimer li.last {
	border-right: 0px;
}

footer .footer .footer-menu p, footer .footer .footer-menu a {
    font-size: 12px;
}


/* OVERLAY MENU
*********************************************/

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    background-color: #023836;
    overflow-y: scroll;
    transition: 0.5s;
}

.overlay .menu {
    margin: 0 auto;
    display: block;
    top: 3%;
    position: relative;
}

.overlay .menu ul {
	padding: 10px 0 0;
}

.overlay .menu ul li {
	list-style: none;
	margin: 0px;
    cursor: pointer;
    margin-bottom: 25px;
    line-height: 1.3;
}

.overlay .menu ul li.parent {
    margin-bottom: 10px;
}

.overlay .menu ul li ul {
    margin-top: 15px;
    margin-left: 15px;
}

.overlay .menu ul li ul li {
    display: block;
    margin-bottom: 10px;
    margin-right: 30px;
}

.overlay .menu ul li ul li:last-of-type {
    margin-bottom: 0px;
    margin-right: 0px;
}

.overlay .menu ul li ul li a {
    font-size: 13px;
    position: relative;
}

.overlay .menu ul li ul li a::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 2px;
    top: 5px;
    left: -15px;
    display: inline-block;
    background-color: #FECF8B;
    position: absolute;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.overlay .menu ul li:last-of-type {
    margin-bottom: 10px;
}

.overlay .menu ul li, .overlay .menu ul li a  {
    font-family: arboria, sans-serif;
    font-size: 14px;
    letter-spacing: 2.62px;
    color: #FECF8B;
    padding: 0 0 10px;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    border-bottom: 2px solid transparent;
}

.overlay .menu ul li.current > a {
    border-bottom: 2px solid #FECF8B;
}

.overlay .menu .menu-col {
    border-left: 1px solid #4B7E7A;
    padding: 0 0 0 40px;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* ACCORDIONS
*********************************************/

[data-rlta-element=container]>[data-rlta-element=button] {
    border-bottom: 1px solid #EDE6E3;
    background-image: url(../images/slide_sprite.png);
    background-position: right -24px;
    background-size: 34px 200px;
    background-repeat: no-repeat;
    background-color: transparent;
    text-decoration: none;
    padding: 10px 40px 10px 10px;
    margin-bottom: 30px;
}

[data-rlta-element=container]>[data-rlta-element=button][data-rlta-state=open] {
    background-image: url(../images/slide_sprite.png);
    background-position: right -124px;
    background-repeat: no-repeat;
    background-size: 34px 200px;
    background-color: transparent;
    color: #002B43;
    text-decoration: none;
}

[data-rlta-element=heading] {
    font-family: 'Palatino';
    color: #034A47;
    font-size: 28px;
    line-height: 1.2;
    font-weight: normal;
}

[data-rlta-element=panel] {
    margin-bottom: 30px;
}

/* ACCORDIONS WITHIN CONTENT
*********************************************/

.pos-content [data-rlta-element=heading] {
    text-align: left;
}

.pos-content [data-rlta-element=container]>[data-rlta-element=button] {
    border-bottom: 1px solid #034A47;
}

/* PAGINATION
*********************************************/


.zoo-pagination a:hover, .zoo-pagination span {
    text-decoration: none;
    padding: 15px 20px;
    text-align: center;
    float: left;
    background: #034A47;
    border: 0px;
    color: #fff;
    font-family: arboria, sans-serif;
    font-size: 15px;
    text-align: center;
    line-height: 22px;
}

.zoo-pagination a {
    text-decoration: none;
    text-align: center;
    padding: 15px 20px;
    float: left;
    color: #034A47;
    border: 0px;
    background: #ffffff;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    font-family: arboria, sans-serif;
    font-size: 15px;
    text-align: center;
    line-height: 22px;
}

/* SKIP TO CONTENT
*********************************************/

#skippy {
    display: block;
    padding: 1em;
    color: #034A47 ;
    background-color: #BACCC7;
    outline: 0;
}

.skippy {
	width: 100%;
	min-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

#skippy .skiplink-text {
    padding: .5em;
    outline: 1px dotted;
}

/* PODCASTS
*********************************************/
.blog-podcast a, .blog-podcast a:link, .blog-podcast a:visited {
    text-decoration: none !important;
}
.podcast {
    background: #FAF5F3;
    padding: 15px 0px;
    transition: transform .3s ease;
}
.podcast:hover {
    transform: translateY(-.4rem)!important;
}

.podcast h5 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
    line-height: 28px !important;
}

.podcast p {
    line-height: 22px !important;
    font-weight: normal !important;
}