@charset "UTF-8";

/* CSS Document */
body {
    background-color: #C2CFD7;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: visible;
    background: #C2CFD7 url('/img/preloader-mountains.gif') no-repeat center center;
}

.banner_photo img {
    width: 100%;
    background-image: url(/img/three-sisters-fernie-banner-eagira.jpg);
    height: auto;
    background-position: center;
}

#navlist {
    background-color: #115D7A;
    top: -60px;
    width: 100%;
    display: inline-block;
    transition: top 0.3s;
    font-family: "ubuntu";
    position: fixed;
    margin: 0 auto;
    clear: left;
    height: auto;
    z-index: 1;
    text-align: center;
}

#navlist a {
    display: inline-flex;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
    overflow: hidden;
}

#navlist a:hover {
    background-color: #849EAE;
    color: white;
}

.page-title {
    float: center;
    font-size: 26px;
    color: white;
    text-align: center;
    position: relative;
    background-color: #115D7A;
    margin-top: -2%;
}

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

body {
    font: normal 16px/1.5 "Oxygen";
    background: #C2CFD7;
    color: #fff;
    overflow-x: hidden;
    padding-bottom: 50px;
}

/* INTRO SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.intro {
    background: #849EAE;
    padding: 50px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


h1 {
    font-size: 2.5rem;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline b {
    color: #F6C08E;
}

.timeline ul {
    background: #C2CFD7;
    padding: 50px 0;
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
    background: #fff;
    z-index: 0;
}

.timeline ul li::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
    z-index: 1;
}

.timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 15px;
    background: #EE923D;
}

.timeline ul li div::before {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ul li:nth-child(odd) div {
    left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #EE923D transparent transparent;
}

.timeline ul li:nth-child(even) div {
    left: -439px;
}

.timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #EE923D;
}

time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline ul li::after {
    transition: background 0.5s ease-in-out;
}

.timeline ul li.in-view::after {
    background: #EE923D;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 900px) {
    .timeline ul li div {
        width: 250px;
    }

    .timeline ul li:nth-child(even) div {
        left: -289px;
        /*250+45-6*/
    }
}

@media screen and (max-width: 767px) {
    
    html, body {
  overflow-x: hidden;
}
   .container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
    .timeline ul li {
        margin-left: 20px;
    }

    .timeline ul li div {
        width: calc(100vw - 91px);
    }

    .timeline ul li:nth-child(even) div {
        left: 45px;
    }

    .timeline ul li:nth-child(even) div::before {
        left: -15px;
        border-width: 8px 16px 8px 0;
        border-color: transparent #EE923D transparent transparent;
    }

    .page-title {
        float: center;
        font-size: 26px;
        color: white;
        text-align: center;
        position: relative;
        background-color: #115D7A;
        margin-top: 10px;
  }
}

/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
    width: 40px;
    height: 40px;
    border-radius: 0;
}

.timeline-infinite ul li::after {
    animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.25);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

.back-button {
    font-size: 20px;
    text-align: left;
    display: block;
    position: relative;
    font-family: 'ubuntu', serif;
    padding-left: 15%;
    padding-bottom: 5%;
}

.back-button a {
    display: inline-block;
    padding: 5px 0;
    position: relative;
    background-clip: text;
    transition: all 0.3s ease-in-out;
    font-family: 'ubuntu', serif;
    text-decoration: none;
    color: white;

}

.back-button a:before {
    content: '';
    background: #849EAE;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
    font-family: 'ubuntu', serif;
    text-decoration: none;
}

.back-button a:hover {
    background-position: 0;
    font-family: 'ubuntu', serif;
    text-decoration: none;
    color: #115D7A;
}

.back-button a:hover::before {
    width: 100%;
    font-family: 'ubuntu', serif;
    text-decoration: none;
}

footer {
    font-family: "ubuntu";
    display: table;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -100px;
    text-decoration: none;
    color: black;
}

footer a {
    font-family: "ubuntu";
    display: inline;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 25px;
    text-decoration: none;
    color: black;
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
     .page-title {
        margin-top: 15px;
  }
}