/*
Theme Name: Itineraries
Theme URI:
Author: SEG
Author URI:
Description: Donate:
Tags:
Version: 2024.2
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: itineraries
*/

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-Bold.eot');
    src: url('Fonts/PublicSans/PublicSans-Bold.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-Bold.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-Bold.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-Bold.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-Bold.svg#Butler-Black') format('svg');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-BoldItalic.eot');
    src: url('Fonts/PublicSans/PublicSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-BoldItalic.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-BoldItalic.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-BoldItalic.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-BoldItalic.svg#Butler-Black') format('svg');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-Italic.eot');
    src: url('Fonts/PublicSans/PublicSans-Italic.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-Italic.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-Italic.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-Italic.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-Italic.svg#Butler-Black') format('svg');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-Regular.eot');
    src: url('Fonts/PublicSans/PublicSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-Regular.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-Regular.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-Regular.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-Regular.svg#Butler-Black') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-SemiBoldItalic.eot');
    src: url('Fonts/PublicSans/PublicSans-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-SemiBoldItalic.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-SemiBoldItalic.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-SemiBoldItalic.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-SemiBoldItalic.svg#Butler-Black') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'PublicSans';
    src: url('Fonts/PublicSans/PublicSans-SemiBold.eot');
    src: url('Fonts/PublicSans/PublicSans-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('Fonts/PublicSans/PublicSans-SemiBold.woff2') format('woff2'),
    url('Fonts/PublicSans/PublicSans-SemiBold.woff') format('woff'),
    url('Fonts/PublicSans/PublicSans-SemiBold.ttf') format('truetype'),
    url('Fonts/PublicSans/PublicSans-SemiBold.svg#Butler-Black') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-Black.eot');
    src: url('Fonts/Butler/Butler-Black.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-Black.woff2') format('woff2'),
    url('Fonts/Butler/Butler-Black.woff') format('woff'),
    url('Fonts/Butler/Butler-Black.ttf') format('truetype'),
    url('Fonts/Butler/Butler-Black.svg#Butler-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-Bold.eot');
    src: url('Fonts/Butler/Butler-Bold.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-Bold.woff2') format('woff2'),
    url('Fonts/Butler/Butler-Bold.woff') format('woff'),
    url('Fonts/Butler/Butler-Bold.ttf') format('truetype'),
    url('Fonts/Butler/Butler-Bold.svg#Butler-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-UltraLight.eot');
    src: url('Fonts/Butler/Butler-UltraLight.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-UltraLight.woff2') format('woff2'),
    url('Fonts/Butler/Butler-UltraLight.woff') format('woff'),
    url('Fonts/Butler/Butler-UltraLight.ttf') format('truetype'),
    url('Fonts/Butler/Butler-UltraLight.svg#Butler-UltraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-Medium.eot');
    src: url('Fonts/Butler/Butler-Medium.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-Medium.woff2') format('woff2'),
    url('Fonts/Butler/Butler-Medium.woff') format('woff'),
    url('Fonts/Butler/Butler-Medium.ttf') format('truetype'),
    url('Fonts/Butler/Butler-Medium.svg#Butler-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-ExtraBold.eot');
    src: url('Fonts/Butler/Butler-ExtraBold.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-ExtraBold.woff2') format('woff2'),
    url('Fonts/Butler/Butler-ExtraBold.woff') format('woff'),
    url('Fonts/Butler/Butler-ExtraBold.ttf') format('truetype'),
    url('Fonts/Butler/Butler-ExtraBold.svg#Butler-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler-Light.eot');
    src: url('Fonts/Butler/Butler-Light.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler-Light.woff2') format('woff2'),
    url('Fonts/Butler/Butler-Light.woff') format('woff'),
    url('Fonts/Butler/Butler-Light.ttf') format('truetype'),
    url('Fonts/Butler/Butler-Light.svg#Butler-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('Fonts/Butler/Butler.eot');
    src: url('Fonts/Butler/Butler.eot?#iefix') format('embedded-opentype'),
    url('Fonts/Butler/Butler.woff2') format('woff2'),
    url('Fonts/Butler/Butler.woff') format('woff'),
    url('Fonts/Butler/Butler.ttf') format('truetype'),
    url('Fonts/Butler/Butler.svg#Butler') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*BASE general styles start*/
:root {
    font-size: 14px;
    --theme-colour: #329BB2;
    --primary-font-colour: #707070;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    height: 100vh;
    overflow: hidden;
}

body {
    color: var(--primary-font-colour);
    font-family: "PublicSans", Arial, sans-serif;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}
/*BASE general styles end*/

/*Component styles start*/
#content{
    overflow: scroll;
    height: 100vh;
    /*scroll-snap-type: y proximity;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.itinerary-section:first-of-type .image-content-container {
    position: relative;
}

.itinerary-section:first-of-type .image-content-container::before,
.itinerary-section:first-of-type .image-content-container::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
}

.itinerary-section:first-of-type .image-content-container::before {
    bottom: 48px;
    height: 42px;
    background-image: url("icons/scroll-down-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
    animation-duration: 1s;
    animation-name: scroll-bounce;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

.itinerary-section:first-of-type .image-content-container::after {
    height: 50px;
    bottom: 45px;
    border-radius: 100vw;
    color: #fff;
    outline: 1px solid;
}

@keyframes scroll-bounce {
    from {
        bottom: 48px;
    }

    to {
        bottom: 38px;
    }
}

.image-content-container {
    position: relative;
}

.image-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 48px);
}

.image-content-container,
.itinerary-content-container {
    min-height: 100vh;
    padding-inline: 24px;
    padding-block: 48px;
    /*scroll-snap-align: start;*/
}

.itinerary-content-container {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.itinerary-content-container.is-full-view {
    opacity: 1;
}

.no-access {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 40px;
}

.no-access h3,
.no-access h6 {
    margin-bottom: 40px;
}

.no-access-input {
    min-width: 240px;
    border: 1px solid var(--primary-font-colour);
    margin-bottom: 20px;
    border-radius: 6px;
    height: 34px;
    padding: 6px;
    text-align: center;
}

.no-access-btn {
    border: none;
    background-color: var(--theme-colour);
    color: #FFFFFF;
    border-radius: 6px;
    width: 120px;
    height: 36px;
}

.inner-content,
.footer-inner-container {
    margin-top: 24px;
    margin-bottom: -48px;
    margin-inline: -24px;
    padding: 24px;
    padding-bottom: 48px;
}

/*.footer-inner-container {*/
/*    */
/*}*/

.back-to-top{
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: none;
}
/*Component styles end*/

/*Helper classes start*/
/*layout*/
.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-row {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 12px;
}

.mt-5 {
    margin-top: 30px;
}

.mb-5 {
    margin-bottom: 30px;
}

/*theming*/
.clr-theme {
    color: var(--theme-colour);
}

.clr-white {
    color: #fff;
}

.bg-theme {
    background-color: var(--theme-colour);
}

.bg-white {
    background-color: #fff;
}

.bg-grey {
    background-color: #FBFBFB;
}

.bg-turquoise {
    background-color: #329BB2;
}

/*typography*/
.font-primary {
    font-family: "PublicSans";
}

.font-secondary {
    font-family: "Butler";
}

.text-center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

.fw-bold {
    font-weight: 700;
}

.fw-semi-bold {
    font-weight: 600;
}

p {
    line-height: 2;
}

p + p {
    margin-top: 38px;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 44px;
}

h3 {
    font-size: 38px;
}

h4 {
    font-size: 34px;
}

h5 {
    font-size: 26px;
}

h6 {
    font-size: 22px;
}

.fs-400 {
    font-size: 16px;
}

.fs-900 {
    font-size: 58px;
}
/*Helper classes end*/

/*Vendor Overrides start*/
.owl-nav {
    display: none;
}

.owl-dots {
    margin-top: -24px;
    position: relative;
    margin-bottom: 24px;
}

.owl-theme .owl-dots .owl-dot span {
    background: transparent;
    box-shadow: 0 0 0 1px #fff;
    border: none;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #fff;
}
/*Vendor Overrides end*/

/*Media Queries start*/
@media screen and (min-width: 809px){
    #content {
        overflow: unset;
        background-color: var(--theme-colour);
    }

    #content::before {
        content: "This website is designed for mobile only.";
        position: absolute;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.4);
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 44px;
        text-align: center;
    }

    #content::after {
        content: "It looks like you're trying to access it on a different device. For the best experience, please use your mobile device.";
        position: absolute;
        top: calc(50% + 48px);
        left: 50%;
        transform: translateX(-50%);
        font-size: 36px;
        color: #fff;
        width: calc(100% - 48px);
        text-align: center;
    }

    .itinerary-section,
    .no-access {
        display: none;
    }
}
/*Media Queries end*/