/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
*/

/* GENERAL STYLING - MOBILE ONLY - DO NOT PLACE YACHTPRESENTATION CSS HERE */

@media screen and (max-width: 999px) {

    body.nav-float-right .header-widget {
        right: 120px;
        top: 0px;
        margin-top: 1.5em;
    }

    ul#menu-main-menu {
        background: #203959;
        padding-bottom: 30px;
    }

    body .site-logo {
        z-index: 99;
    }

    body .main-navigation .main-nav ul li:last-child a {
        display: inline-block;
        margin-top: 10px;
    }

    body h1 {
        font-size: 37px;
    }

    body header .gp-icon svg {
        height: 1.5em;
        width: 1.5em;
        top: 0.35em;
    }

    body .usp-highlight strong {
        font-size: 24px;
        line-height: 30px;
    }

    body .widget-boat-holder .items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        background: #0c213c;
    }

    body .full-width-text-image-flex {
        flex-wrap: wrap;
    }
        body .full-width-text-image-flex.single-image-flex-only .full-width-text-image-inner {
            margin-bottom: 0px !important;
        }
        body .full-width-text-image-inner {
            margin-top: 40px;
        }
        body .full-width-text-image-flex > .vc_col-sm-6 {
            width: 100%;
            order: 1;
        }

        body .vc_col-sm-6.vc_col-has-fill > div {
            height: 100%;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
            min-height: 390px;
        }

        body .vc_col-sm-6.vc_col-has-fill {
            order: 0;
        }

        body .full-width-text-image.full-width-text-image-invert {
            padding-top: 0px !important;
            padding-bottom: 0px !important;
        }
        body .full-width-text-image-invert .full-width-text-image-inner {
            margin-left: 40px !important;
            margin-right: auto !important;
        }

    .hover-boxes-mobile {
        flex-wrap: wrap;
    }
        .hover-boxes-mobile .vc_col-sm-4 {
            width: 100%;
        }
        .hover-boxes-mobile .vc_col-sm-4:not(:last-child) {
            margin-bottom: 30px;
        }
        body .vc-hoverbox-block.vc-hoverbox-back p {
            width: 100%;
        }
}


@media screen and (min-width: 769px) and (max-width: 999px) {

    body .inside-footer-widgets {
        flex-wrap: wrap;
    }

    body .inside-footer-widgets>div {
        flex: inherit;
        width: 50%;
    }

    body .footer-widget-1, body .footer-widget-2 {
        margin-bottom: 40px;
    }

}

@media screen and (min-width: 768px) and (max-width: 999px) {
    body h2 {
        font-size: 35px;
    }
    body h3 {
        font-size: 24px;
    }

    body .widget-boat-holder .items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
        body .widget-boat-holder .items > div {
            width: calc(50% - 13px);
        }

    

    .advert-on-mobile .vc_col-sm-8, .advert-on-mobile .vc_col-sm-4 {
        width: 50%;
    }
}


@media screen and (min-width: 768px) and (max-width: 768px) {
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding: 0px 30px 0px 30px !important;
    }
    body .inside-footer-widgets {
        flex-direction: inherit;
        flex-wrap: wrap;
    }
    body .inside-footer-widgets>div {
        flex: inherit;
        width: 50%;
    }
    body .footer-widget-2, body .footer-widget-4 {
        padding-left: 21px;
    }
}


@media screen and (max-width: 767px) {
    body h1 {
        font-size: 30px;
    }

    body h2 {
        font-size: 28px;
        line-height: 37px;
    }

    body .widget-boat-holder .items > div {
        width: calc(100% - 0px);
    }
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding: 0px 30px 0px 30px !important;
    }

    body .usp-highlight > div {
        margin-top: 30px;
        width: 100%;
    }

    body .vc_col-sm-6.vc_col-has-fill > div {
        min-height: 250px;
    }

    body .full-width-text-image-inner {
        padding: 30px 30px 30px 30px !important;
        margin-left: 0px !important;
    }

    body .full-width-text-image-invert .full-width-text-image-inner {
        margin-left: 0px !important;
    }

    body .copyright-bar > div {
        flex-wrap: wrap;
        display: block;
    }

    .yf-brand-holder {
        margin-right: auto;
    }

    body .copyright-bar p {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px !important;
    }

/*    .sub-page-header-title h1 {
        margin-top: 60px;
    }*/

    body .vc-hoverbox-back h2 {
        font-size: 20px !important;
    }

    .flex-align-for-block {
        flex-wrap: wrap;
    }

    .flex-align-for-block > .vc_col-has-fill {
        padding-left: 0px;
    }

    body .advert-on-mobile {
        padding-top: 100px !important;
    }

    .footer-widget-1 a {
        word-break: break-all;
    }

    body .site-logo {
        max-width: 110px;
        margin-top: 0px;
    }

    .flex-align-for-block > .vc_col-has-fill {
        padding-left: 0;
    }



}



@media screen and (max-width: 329px) {
    body.nav-float-right .header-widget {
        right: 32px;
        top: 70px;
    }
}