/* Buy a yacht with NGY start */
.byn-section.section-space {
    padding: 60px 0 100px 0;
}
.byn-section p.para {
    font-size: 22px;
    line-height: normal;
    max-width: 1360px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.byn-section a.btn-border.bg-dark {
    font-size: 20px;
    width: 298px;
    height: 54px !important;
    border-radius: 30px;
    background: #001D5D;
    color: #fff;
    margin: 0 auto;
    font-weight: 500;
    border-width: 2px;
}

.byn-section a.btn-border.bg-dark:hover {
    color: #001D5D;
    background: transparent;
}
.yacht-search-slider.ngy__search-button-lists .yacht-wrapper a.btn-search {
    border-radius: 4px;
}
/* Buy a yacht with NGY end */

.ng-yacht-finder .ng-yacht-finder-left {
    width: 50%;
    text-align: center;
    padding-right: 0;
}

.ng-yacht-finder-right {
    width: 50%;
    padding-left: 40px;
}

.ng-yacht-finder img {
    margin: 0 auto;
    width: auto;
}

.ng-yacht-finder h2 {
    font-size: 48px;
    color: #001136;
    font-family: 'Libre Baskerville';
    line-height: normal;
    margin-bottom: 24px;
    font-weight: bold;
}

.ng-yacht-finder p.ng-text {
    font-size: 22px;
    font-family: 'Manrope';
    font-weight: normal;
    color: #001136;
    margin-bottom: 24px;
}

.ng-yacht-finder p.ng-text.bold {
    font-weight: 500;
    margin-bottom: 40px;
}

.ng-yacht-finder a.btn-border.bg-dark {
    width: 298px;
    height: 54px !important;
    border-radius: 30px;
    background: #001D5D;
    border-color: #001D5D;
    color: #fff;
    font-size: 20px;
    border-width: 2px;
}

.ng-yacht-finder a.btn-border.bg-dark:hover {
    background: transparent;
    color: #001D5D;
}

@media(max-width: 1580px){
    .byn-section p.para {
        font-size: 18px;
        max-width: 1060px;
        margin-bottom: 30px;
    }
    .byn-section a.btn-border.bg-dark {
        font-size: 16px;
        width: 244px;
        height: 44px !important;
    }


    .ng-yacht-finder {
        padding: 50px 0;
    }
    .ng-yacht-finder-right {
        padding-left: 30px;
    }
    .ng-yacht-finder h2 {
        font-size: 40px;
    }
    .ng-yacht-finder p.ng-text {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .ng-yacht-finder a.btn-border.bg-dark {
        width: 242px;
        height: 42px !important;
        font-size: 16px;
        font-weight: 500;
    }
}

@media(max-width: 1460px){
    .byn-section.section-space {
        padding: 20px 0 100px 0;
    }
    .byn-section .section-title-h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .byn-section p.para {
        font-size: 17px;
        max-width: 1040px;
    }
    .byn-section a.btn-border.bg-dark {
        font-size: 14px;
        width: 228px;
        height: 40px !important;
    }

    .ng-yacht-finder h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .ng-yacht-finder p.ng-text {
        font-size: 16px;
    }
    .ng-yacht-finder p.ng-text.bold {
        margin-bottom: 30px;
    }
}

@media(max-width: 1200px){
    .byn-section.section-space {
        padding: 20px 0 70px 0;
    }
    .byn-section .section-title-h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .byn-section p.para {
        font-size: 15px;
        max-width: 810px;
    }
    .byn-section a.btn-border.bg-dark {
        font-size: 12px;
        width: 190px;
        height: 32px !important;
    }



    .ng-yacht-finder h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .ng-yacht-finder p.ng-text.bold {
        margin-bottom: 20px;
    }
    .ng-yacht-finder p.ng-text {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .ng-yacht-finder a.btn-border.bg-dark {
        width: 188px;
        height: 35px !important;
        font-size: 12px;
    }
}

@media(max-width: 1024px){
    .search-by-location-row:last-child {
        margin-bottom: 20px;
    }
    .byn-section.section-space {
        padding: 0px 0 40px 0;
    }
    .byn-section .section-title-h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .byn-section p.para {
        font-size: 16px;
        max-width: 740px;
        margin-bottom: 20px;
    }
    .byn-section a.btn-border.bg-dark {
        font-size: 16px;
        width: 160px;
        height: 40px !important;
    }

    .ng-yacht-finder h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .ng-yacht-finder p.ng-text {
        font-size: 16px;
    }
    .ng-yacht-finder-right {
        padding-left: 20px;
    }
    .ng-yacht-finder a.btn-border.bg-dark {
        width: 180px;
        height: 40px !important;
        font-size: 16px;
    }
}
@media(max-width: 768.98px){
    .byn-section .section-title-h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .byn-section p.para {
        font-size: 18px;
    }
    .byn-section a.btn-border.bg-dark {
        width: 180px;
        height: 40px !important;
        font-size: 16px;
    }

    .ng-yacht-finder {
        padding: 30px 0;
    }
    .ng-yacht-finder .ng-yacht-finder-left {
        width: 100%;
    }
    .ng-yacht-finder h2 {
        /* font-size: 34px; */
        font-size: 26px;
    }
    .ng-yacht-finder p.ng-text {
        font-size: 18px;
    }
    .ng-yacht-finder a.btn-border.bg-dark {
        width: 180px;
        height: 40px !important;
        font-size: 16px;
    }
}