.hidden {
    display: none!important;
}

header#masthead {
    background: #4888A2;
}

img.custom-logo {
    max-height: 45px;
    width: auto;
}

body {
    font-family: 'Ultra', serif;
    font-weight: normal;
    color: #00456E;
}

/* Header Desktop Media */

@media screen and (min-width: 968px) {
    .header-full-width .site-header .container {
        padding: 0 45px;
    }

    .site-header-layout-horizontal .site-branding {
        min-width: auto;
    }

    nav#site-navigation #header-menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

@media (min-width:1024px) and (max-width:1250px) {
    .main-navigation .menu > li > a {
        font-size: 16px!important;
    }
}

/* Body Desktop Media */

@media screen and (min-width: 968px) {
    .feature-section .wpb_single_image img {
        width: 750px;
        max-width: 100%;
    }
    .home section.feature-section {
        padding: 75px 150px;
    }
    section#why-train > div:not(:first-child),
    section#safety > div:not(:first-child) {
        padding: 0 100px;
    }
    section#why-train, section#safety, section#explore {
        padding-top: 65px;
    }

    section#why-train > div:first-child, section#safety > div:first-child,
    section#explore > div:first-child {
        margin-top: 60px;
        margin-bottom: 30px;
    }
}

.main-navigation .menu > li > a {
    font-family: 'Ultra', serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-weight: normal;
}

.main-navigation .menu-toggle i {
    color: #fff;
}

.home .give-wrap, .home .site-content,
.home section .vc_column-inner {
    padding: 0;
}

.home .thumbnail, .home .post-title {
    display: none;
}

.home .feature-section {
    min-height: 800px;
    color: #0B5076;
    font-size: 24px;
    font-family: 'Jost', sans-serif;
}

.feature-section__title {
    font-size: 85px;
    font-style: italic;
    font-family: 'Ultra', serif;
    color: #fff;
    line-height: 1.2;
}

/* Fix Empty Space */

.feature-section__title br:last-child {
    display: none;
}

/* No used now */

.feature-section__title_red {
    font-size: 100px;
    color: #EE363D;
}

.feature-section__title_last {
    font-size: 55px;
    display: block;
    text-align: center;
    margin-right: -350px;
}

.feature-section__title sup {
    font-size: 0.6em;
}

/* Map Section */

section#map {
    font-family: 'Jost', serif;
    padding: 0;
    background-position: center bottom!important;
}

#map .map__title {
    font-family: 'Ultra', serif;
    color: #E71D2E;
    font-size: 36px;
    line-height: 1.25em;
    margin-bottom: 0!important;
}

.map__desc {
    margin: 16px 0 30px!important;
}

/* Map Section Responsive */

@media screen and (min-width:865px) {
    #map {
        height: 900px;
    }
    #map img {
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        max-height: 900px;
    }
    .map__title, .map__desc {
        padding-left: 100px;
    }
    #map .map__desc {
        font-size: 20px;
        padding-right: 650px;
    }
}

@media screen and (max-width:1250px) {
    #map .map__title {
        margin-top: 0!important;
    }
}

@media (min-width:1024px) and (max-width:1250px) {
    #map .map__title {
        font-size: 28px;
    }
    #map .map__desc {
        font-size: 16px;
        padding-right: 450px;
    }
    #map img, section#map {
        max-height: 600px;
    }
}

@media (min-width:865px) and (max-width:1024px) {
    #map .map__title {
        font-size: 24px;
    }
    #map .map__desc {
        font-size: 14px;
        padding-right: 250px;
    }
    #map img, section#map {
        max-height: 500px;
    }
}

@media (max-width:865px) {
    section#map {
        padding: 0 25px;
        text-align: center;
    }
    #map .map__title {
        font-size: 20px;
        text-align: center;
    }
    #map .wpb_single_image {
        margin-bottom: 0!important;
    }
}

/* Title with Styled Sidelines */

.ctrail__title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center; /* making vertical centerign of all children */
    margin-bottom: 0!important;
}

.ctrail__title::before, .ctrail__title::after {
    content: '';
    flex: 1 1 auto; /* the first digint is 'flex-grow: 1', helps elemet to occupy all free space */
    border-bottom: solid 30px #FFF;
}

.ctrail__title::before {
    border-radius: 0 30px 30px 0;
}

.ctrail__title::after {
    border-radius: 30px 0 0 30px;
}

.ctrail__title h4:first-child {
    flex: 0 1 auto; /* the first digint is flex-grow: 0 */
    padding: 0 15px 0 15px;
}

/* Titles */

.why-train h4, .explore h4, .safety h4 {
    font-size: 70px;
    font-family: 'Ultra', serif;
    font-weight: normal;
    color: #E71D2E;
    margin: 0;
}

/* Sections Individual Customizations */

section#why-train, section#safety {
    color: #1A4457;
    padding-bottom: 123px;
}

.why-train p:first-child, .safety p:first-child  {
    margin: 0;
    padding: 0;
    font-size: 40px;
    color: #E71D2E;
}

.explore p {
    font-family: 'Jost', sans-serif;
    margin-bottom: 25px;
    font-size: 28px;
}

.explore p strong {
    color: #E71D2E;
}

.explore p, .explore strong {
    font-weight: 500;
    line-height: 1.25em;
}

.explore .ctrail__title::before, .explore .ctrail__title::after {
    border-color: #D0EEFC;
}

.why-train .wpb_single_image img,
.safety .wpb_single_image img  {
    max-height: 180px;
    width: auto;
    max-width: 100%;
}

.explore .wpb_single_image img {
    max-height: 375px;
    width: auto;
}

.why-train .wpb_single_image,
.safety .wpb_single_image {
    margin-bottom: 0;
}

.why-train .wpb_single_image.vc_align_center,
.safety .wpb_single_image.vc_align_center {
    display: flex;
    justify-content: center;
    min-height: 215px;
}

.why-train .wpb_single_image.vc_align_center {
    align-items: flex-end;
}

.safety .wpb_single_image.vc_align_center {
    align-items: center;
}

.why-train .widget.widget_text,
.explore .widget.widget_text,
.safety .widget.widget_text {
    font-size: 28px;
    line-height: 1.3em;
}

/* Footer */

footer#footer {
    background: #1A4457;
}

.footer-widgets {
    padding: 40px 0 0 0;
}

#footer-widgets .container .row {
    align-items: center;
}

.footer-bar {
    border: none;
    padding-top: 0;
}

.footer-layouts.copyright {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    margin: 0 auto;
    text-align: center;
}

.footer-layouts.copyright span.copyright_icon_and_year {
    font-size: 15px;
}

.footer-widget.footer-widget-1 img {
    max-height: 75px;
    width: auto;
}

.footer-widget.footer-widget-3 img {
    max-width: 150px;
    width: auto;
}

.footer-widget.footer-widget-2 {
    align-self: baseline;
}

.footer-widget.footer-widget-2 * {
    font-size: 26px;
    text-transform: uppercase;
    color: #FCCE66;
    font-weight: normal;
    letter-spacing: 1.2px;
}

.footer-widget {
    padding-bottom: 20px;
}

.footer-socials {
    text-align: center;
}

.footer-socials img {
    max-width: 25px;
    margin: 0 12px;
}

.responsive-site-style-boxed #footer .widget-wrapper {
    padding: 0;
}

/* Remaining Media Queries */

@media (max-width:1150px) {
    .explore .widget_text {
        min-height: 125px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width:768px) and (max-width:1150px) {
    .header-full-width .site-header .container {
        padding: 0 50px;
    }
    .home section.feature-section {
        padding: 25px 50px;
    }
    section#why-train > div:not(:first-child),
    section#safety > div:not(:first-child) {
        padding: 0 50px;
    }
    section#why-train > div:first-child,
    section#safety > div:first-child,
    section#explore > div:first-child {
        margin-top: 0;
    }
    .why-train .wpb_single_image img,
    .safety .wpb_single_image img  {
        max-width: 125px;
    }
    .why-train .wpb_single_image.vc_align_center,
    .safety .wpb_single_image.vc_align_center {
        min-height: 150px;
    }
    .explore .wpb_single_image img {
        max-height: 250px;
    }
    .why-train .widget.widget_text,
    .explore .widget.widget_text,
    .safety .widget.widget_text {
        font-size: 22px;
    }

    .locationslider.ctrides-locations-slider {
        padding-bottom: 125px!important;
    }
}

@media (max-width: 968px) {
    section#why-train > div:not(:first-child),
    section#safety > div:not(:first-child) {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .main-navigation .menu > li > a {
        color: #000;
    }

    .home .feature-section {
        padding: 10px!important;
    }

    .home .feature-section .wpb_text_column:last-child {
        background: rgb(218 215 215 / 55%);
        padding: 20px 10px;
    }

    .why-train h4, .explore h4, .safety h4 {
        font-size: 35px;
    }

    .why-train p:first-child, .safety p:first-child {
        font-size: 20px;
    }

    .ctrail__title::before, .ctrail__title::after {
        border-bottom: solid 15px #fff;
    }

    section#explore {
        padding-bottom: 0!important;
    }
}

.train {
    display: block;
    width: 3683px;
    height: auto;
    max-width: 3683px;
    position: absolute;
    bottom: 50px;
    opacity: 1;
    transition: all 0.9s ease-out;
    transform: translate(30%, 0%);
}

@media screen and (max-width: 968px) {
    img.train {
        height: 100px;
        width: auto;
        transform: translate(42%, 0%);
    }
}

/* Locations Slider Shortcode */

section#explore.vc_section[data-vc-full-width], section#explore .vc_row[data-vc-full-width] {
    overflow: unset;
}

.locationslider-container {
    background: #ffffff url(http://206.189.234.18/wp-content/uploads/2021/12/Group-374.png?id=186) !important;
    background-repeat: repeat-x!important;
    background-position: bottom!important;
    min-height: 100vh;
    position: sticky;
    top: 0;
    overflow-x: hidden;
}

.locationslider.ctrides-locations-slider {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: hidden;
    position: sticky;
    top: 0;
    padding-bottom: 250px;
}

.ctrides-location-item {
    width: 33.3%;
    text-align: center;
    flex: 0 0 auto;
    align-self: flex-start;
}
@media screen and (max-width: 968px) {
    /*.locationslider-container {*/
    /*    overflow-x: visible;*/
    /*}*/
    .locationslider.ctrides-locations-slider {
        overflow-x: auto;
        position: static;
        padding-bottom: 0;
    }
    .ctrides-location-item {
        width: 100%;
    }
}

.compose-mode .vc_element .ctrides-location-item {
    width: 100%;
}

.compose-mode .vc_element .ctrides-locations-slider {
    display: block;
}

.locations ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.locations ::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.locations ::-webkit-scrollbar-thumb {
    background: #888;
}
.locations ::-webkit-scrollbar-thumb:hover {
    background: #555;
}
