@font-face {
    font-family: 'Belizio Bold Italic';
    src: url('fonts/Belizio-Bold-Italic.otf') format('opentype');
    /*font-weight: bold;*/
    /*font-style: italic;*/
}

.hidden {
    display: none !important;
}

header#masthead {
    background: #EE3D41;
}

img.custom-logo {
    max-height: 36px;
    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;
    }

    #aat {
        padding: 100px;
    }

    #why-train {
        padding: 100px 32px 25px 100px;
    }

    #why-train .why-train__benefits-row {
        margin: 0 0 20px 40px;
    }

    #contact {
        padding: 80px 0 0 100px;
    }

    #contact .wpb_column.vc_column_container.contact-form {
        padding: 45px 80px 0 40px;
    }
}

.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;
}

/* 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, .safety h4 {
    font-family: 'Ultra', serif;
    font-weight: normal;
    color: #E71D2E;
    margin: 0;
}

.safety h4 {
    font-size: 70px;
}

.why-train h4 {
    font-size: 85px;
    line-height: 1em;
}

/* Sections Individual Customizations */

#aat {
    font-size: 40px;
    line-height: 1.25em;
    text-align: center;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
}

#aat .wpb_single_image img {
    max-width: 100%;
    width: 650px;
    margin-bottom: 40px;
}

#aat .vc_btn3-container.vc_btn3-center .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
    font-family: 'Ultra', serif;
    font-weight: normal;
    background-color: #27A8E0;
    border: none;
    color: #fff;
    text-transform: capitalize;
    font-size: 33px;
    padding: 30px 50px;
    border-radius: 30px;
    letter-spacing: 1px;
}

#contact {
    background-size: cover;
    color: #fff;
}

.why-train .wpb_single_image img,
.safety .wpb_single_image img {
    max-height: 210px;
    width: auto;
    max-width: 100%;
}

.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,
.safety .widget.widget_text {
    font-size: 23px;
    font-family: 'Belizio Bold Italic', sans-serif;
    color: #EE3D41;
    line-height: 1.3em;
}

#contact .wpb_column.vc_column_container:nth-child(even) {
    font-family: 'Jost', sans-serif;
    font-size: 30px;
    line-height: 1.5em;
}

#contact img.get-started {
    max-width: 100%;
    width: 550px;
}

#contact #e-brochure img {
    max-width: 100%;
    width: 500px;
    margin: 25px;
}

#contact .gform_wrapper.gravity-theme .gfield textarea.medium {
    height: 140px;
}

#contact .gform_wrapper .gform_body .gform_fields .gfield input,
#contact .gform_wrapper .gform_body .gform_fields .gfield textarea {
    font-size: 21px;
    border-radius: 25px;
    padding: 15px 25px;
    margin-bottom: 15px;
}

#contact .gform_wrapper .gform_body .gform_fields .gfield input:focus,
#contact .gform_wrapper .gform_body .gform_fields .gfield textarea:focus {
    outline: none;
}

#contact .gform_wrapper input.gform_button {
    font-family: 'Ultra', serif;
    font-weight: normal;
    background-color: #EE3D41;
    border: none;
    color: #fff;
    text-transform: capitalize;
    font-size: 33px;
    padding: 20px 60px;
    border-radius: 20px;
    letter-spacing: 1px;
}

#contact .gform_wrapper .gform_footer.top_label {
    text-align: center;
}

#contact .gform_wrapper.gravity-theme .gfield input::-webkit-input-placeholder,
#contact .gform_wrapper.gravity-theme .gfield textarea::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #929497;
}

#contact .gform_wrapper.gravity-theme .gfield input::-moz-placeholder,
#contact .gform_wrapper.gravity-theme .gfield textarea::-moz-placeholder {
    /* Firefox 19+ */
    color: #929497;
}

#contact .gform_wrapper.gravity-theme .gfield input:-ms-input-placeholder,
#contact .gform_wrapper.gravity-theme .gfield textarea:-ms-input-placeholder {
    /* IE 10+ */
    color: #929497;
}

#contact .gform_wrapper.gravity-theme .gfield input:-moz-placeholder,
#contact .gform_wrapper.gravity-theme .gfield textarea:-moz-placeholder {
    /* Firefox 18- */
    color: #929497;
}

/* Footer */

footer#footer {
    background: #1A3B4D;
}

.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: 22px;
    margin: 0 auto;
    text-align: center;
}

.footer-layouts.copyright span.copyright_icon_and_year {
    font-size: 20px;
}

.footer-widget.footer-widget-1 img {
    max-height: 125px;
    width: auto;
}

.footer-widget.footer-widget-3 img {
    max-width: 250px;
    width: auto;
}

.footer-widget.footer-widget-2 {
    align-self: center;
}

.footer-widget.footer-widget-2 * {
    font-size: 26px;
    text-transform: uppercase;
    color: #FCCE66;
    font-weight: normal;
    letter-spacing: 1.2px;
}

.footer-socials {
    text-align: center;
}

.footer-socials img {
    max-width: 45px;
    margin: 0 12px;
}

.responsive-site-style-boxed #footer .widget-wrapper {
    padding: 0;
}


@media (min-width: 768px) and (max-width: 1150px) {
    .header-full-width .site-header .container {
        padding: 0 50px;
    }

    .home section.feature-section {
        padding: 25px 50px;
    }

    .why-train h4 {
        font-size: 65px;
    }

    #why-train > .vc_row > .vc_column_container:first-child {
        align-items: center;
    }

    .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;
    }

    .why-train .widget.widget_text,
    .safety .widget.widget_text {
        font-size: 22px;
    }

    #contact img.get-started {
        width: 300px;
    }
}

@media (max-width: 968px) {
    #aat, #why-train, #contact {
        padding: 25px;
    }
    #aat {
        font-size: 32px;
    }
    #aat .vc_btn3-container.vc_btn3-center .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern {
        font-size: 27px;
    }
    #contact #e-brochure img {
        margin-left: 0!important;
    }
}

@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, .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;
    }

    #contact img.get-started {
        width: 325px;
    }
}