/*
Theme Name: motoryachts
Theme URI: https://motoryachts.yourdevelopmentserver.net//
Description: Child theme for Genesis
Author: Your Name
Template: genesis
Version: 1.0
*/

/* Add your custom CSS below */

body {
    margin: 0px;
    padding: 0px;
}

.elementor-widget p {
    margin: 0px !important;
}

.contact-link a {
    background-color: #000 !important;
    color: #ffffff !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
    text-transform:uppercase;
}

.main-form-field {
    display: flex;
    gap: 20px;
}

.form-inner-field {
    width: 50%;
    margin-bottom: 20px;
}

.form-inner-field input,
.textarea textarea {
    width: 100%;
    border: 1px solid #707070;
    padding: 20px 30px;
    color: #000000;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
}

.textarea textarea {
    margin-top: 0px;
    resize: none;
    height: 200px;
}

::placeholder {
    color: #1A1A1A;
    opacity: 1;
    /* optional (fixes light color in some browsers) */
}

::-webkit-input-placeholder {
    color: #1A1A1A;
}

:-ms-input-placeholder {
    color: #1A1A1A;
}

::-ms-input-placeholder {
    color: #1A1A1A;
}

.submit-btn p {
    text-align: center;
}

.submit-btn input {
    background-color: #1E4F7A;
    font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    fill: #ffffff;
    color: #ffffff;
    border-radius: 45px 45px 45px 45px;
    padding: 25px 70px 25px 70px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
}

.yachts-main-slider .bdt-panel-slide-desc {
    height: auto;
    background: #0000009c;
    transition: 0.3s;
}

.yachts-main-slider .bdt-panel-slide-desc {
    height: 85px;
    padding: 20px 60px !important;
    background: #000000c7;
}

.yachts-main-slider .bdt-panel-slide-desc .bdt-panel-slide-text {
    display: none;
}

.yachts-main-slider .bdt-panel-slide-item {
    border-radius: 35px !important;
    overflow: hidden;
}

.yachts-main-slider .bdt-panel-slide-item:hover .bdt-panel-slide-desc {
    height: 100%;
    transition: 0.3s;
    padding-bottom: 50px !important;
}

.yachts-main-slider .bdt-panel-slide-item:hover .bdt-panel-slide-text {
    display: block;
}

.yachts-main-slider .bdt-panel-slide-text ul {
    list-style: none;
    margin: 20px 0px 0px 0px;
    padding: 0px 20px 0px 20px;
    max-height: 345px;
    overflow: scroll;
    overflow-x: hidden;
}

.yachts-main-slider .bdt-panel-slide-text ul li:last-child {
    padding-bottom: 20px;
}

.yachts-main-slider .bdt-panel-slide-text ul li:first-child {
    border-top: 1px solid #ffffff;
}

.yachts-main-slider .bdt-panel-slide-text ul li {
    padding: 20px 0px;
    border-bottom: 1px solid #ffffff;
}

.yachts-main-slider .bdt-panel-slide-text ul li a {
    color: #ffffff;
}

.yachts-main-slider .bdt-panel-slide-text ul li:hover,
.yachts-main-slider .bdt-panel-slide-text ul li a:hover {
    color: #C8A45A;
}

.yachts-main-slider .bdt-panel-slide-text ul {
    overflow-y: auto;
}

.yachts-main-slider .bdt-panel-slide-text ul::-webkit-scrollbar {
    width: 3px;
}

.yachts-main-slider .bdt-panel-slide-text ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
}

.yachts-main-slider .bdt-panel-slide-text ul::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4af37, #f5d76e, #d4af37);
    border-radius: 10px;
}

.contact-page-form .form-inner-field input {
    padding: 15px;
    font-size: 16px;
}

.contact-page-form .form-inner-field {
    margin-bottom: 15px;
}

.contact-page-form .textarea textarea {
    padding: 15px;
    font-size: 16px;
    margin-top: 0px;
}

.contact-page-form .submit-btn input {
    font-size: 16px;
    padding: 20px 40px;
}

button {
    cursor: pointer !important;
}

.page-id-38 .home-form {
    display: none;
}

.product-details-page-table td {
    padding: 18px 28px;
    border-right: 1px solid #ddd;
    font-size: 20px;
    border-bottom: 1px solid #ddd;
    color: #000;
    text-transform: uppercase;
}

.product-details-page-table tr td:last-child {
    border-right: none !important;
}

.product-details-page-table tr:last-child td {
    border-bottom: none !important;
}

.product-details-page-table tr td:first-child {
    font-weight: bold !important;
}

.e-n-tab-title {

    border-radius: 0px !important;
}

.e-n-tab-title:hover {
    border-radius: 0px !important;
}

/* gallery style start */
.fg-default .fg-image {
    height: 300px !important;
    object-fit: cover;
}

.foogallery .fg-image-overlay,
.foogallery.fg-video-sticky:not(.fg-caption-hover, .fg-preset) .fg-type-video.fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-video-sticky:not(.fg-caption-hover, .fg-preset) .fg-type-video.fg-loaded .fg-item-inner:hover .fg-image-overlay {
    background-color: #1E4F7ACF !important;
}

.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:focus:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link:before {
    background-color: #1E4F7A !important;
    border-color: #1E4F7A !important;
}

.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link {
    border-color: #1E4F7A !important;
    background: #fff !important;
}

.fg-paging-container {
    padding-bottom: 0px !important;
}

.elementor-shortcode {
    position: relative;
}

.fg-custom-nav {
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 250px;
    margin-top: 13px;
}

img.arrow-imgs {
    height: 35px;
    width: 35px;
    cursor: pointer;
    filter: brightness(0);
}

img.arrow-imgs:hover {
    filter: brightness(1);
}

/* style start for blog */

.blog-post .hfe-post-title a {
	    font-family: "Playfair Display", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-top: 10px;
    margin-bottom: 15px !important;
    display: block;
    color: #000000;
}

.blog-post .hfe-read-more, .blog-post .hfe-post-excerpt {
	font-size: 16px !important;
	line-height: 28px !important;
}

section.postbanner {
    border-top: 1px solid #ddd;
}

.postbanner h1 {
    font-size: 34px;
    line-height: 42px;
    text-align: left;
    color: #000;
    text-transform: capitalize;
    max-width: 1300px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.post-content-main {
		max-width: 1300px;
    margin: auto;
    display: flex;
		gap: 50px;
}

.post-content {
	width: 70%;
}

.post-content img {
	width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 15px;
}

.post-sidebar {
	width: 30%;
}


.post-sidebar .widget-title {
	padding: 15px 10px;
    background: #000;
    border-radius: 0px;
    color: #fff;
    font-size: 19px;
    text-align: center;
    margin:0px;
    font-family: 'Inter';
    font-weight: bold;
}

#recent-posts-2{
    border-bottom: 0px;
}

.widget_search, .widget_recent_entries {
    
    border:none;
    border-radius: 15px;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, .3);
    background: #fff;
    padding-bottom: 0px;
    margin-bottom: 30px;
    overflow: hidden;

    
}
.search-form{
    position: relative;
    padding: 0px 20px;
}
.search-form-input{
    width: 100%;
    padding: 20px;
    border-radius: 0px;
    border: 1px solid #ddd;
    font-size: 17px;
    color: gray;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'inter';

}
input.search-form-submit {
    position: absolute;
    right: 23px;
    padding: 10px 24px !important;
    top: 24px;
    height: 53.25px;
    border-radius: 0px !important;
    cursor: pointer;
    border: none !important;
    font-size: 16px !important;
}
.widget_recent_entries ul{
    padding: 0px 20px;
    list-style: none;
    margin-bottom: 0px !important;
}
.widget_recent_entries ul li{
    padding: 10px 0px;
    border-bottom: 1px solid #ddd;
}
.widget_recent_entries ul li:last-child{
    border-bottom:none !important
}
.widget_recent_entries ul li a{
    text-decoration: none;
    color: #000;
}
.widget_recent_entries ul li:hover a{
    color:#1E4F7A;
}
.search-results-item h2{
    margin: 0px !important;
}
.search-results-item h2 a{
    font-size: 30px;
    line-height: 42px;
    text-align: left;
    color: #000;
    text-transform: capitalize;
    max-width: 1300px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: none;
}
.blog-read-more-btn{
    text-decoration: none;
    color: #1E4F7A;
}

/* blog listing start */

.banner-content-blog {
    position: relative;
    line-height: 0px;
}
.banner-content-blog:after {
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height:100%;
    background: rgba(0,0,0,.5);
    content: '';

}
.blog-banner-image {
    height: 450px;
    width: 100%;
    object-fit: cover;
    object-position: 0px -150px;
}
.banner-heading-blogs{
    width: 1300px;
    max-width: 1300px;
    position: absolute;
    top:36%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:#fff;
    z-index:1;
    font-family: "Playfair Display", Sans-serif;
    font-size: 62px !important;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;

}   
.top-banner-blog-page {
    margin-bottom: 80px;
}
.blog-grid{
    width: 1300px;
    max-width: 1300px;
    margin: auto;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
}

.blog-item {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, .5);
    padding: 0px 0px 20px 0px;
    background: #f5f5f5;
}
.blog-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.blog-item h2{
    line-height: 0px;
    margin: 10px 0px 20px 0px;
    padding: 0px 20px 0px 20px
    
}
.blog-item h2 a{
    text-decoration: none;
    color: #000;
    font-size: 23px;
}
.blog-item p{
    margin: 0px;
    padding: 0px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.read-more-btn {
    padding: 0px 20px;
    margin-top: 10px;
    text-decoration: none;
    display: block;
    color:#1E4F7A !important
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.page-numbers {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8e9ea;
    text-decoration: none;
    color: #000;
    font-weight: 800;
}
.page-numbers.current, .page-numbers:hover{
    background: #1E4F7A !important;
    color:#fff !important;
}
.page-numbers.prev, .page-numbers.next{
    font-family: monospace;
    font-size: 35px;
    font-weight: 700;
}




/* blog listing end */


#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #333;
}



/* style end for blog */

.home-product .e-image-link-base{
    width: 100% !important;
}

.brand-logo-img{
    filter: brightness(0) invert(1) !important;
}





/* header{
    
    position: sticky;
    top: 0;
    z-index: 9999;

} */

/* gallery style end */

@media(min-width:1024px) {
    .video-wrapper {
        height: 90vh;
        /* 👈 fit screen height */
        padding-top: 0 !important;
        /* remove ratio */
    }

    .yachts-main-slider .swiper{
        overflow-x: auto !important;
    }
    .video-wrapper iframe {
        height: 100%;
        width: 100%;
        object-fit: cover;
        /* optional: crop nicely */
    }

    .swiper-pagination {
        display: none !important
    }
    .top-header{
        height: 50px;
    }

    .main-header.sticky{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #fff;
    }


   
    

}

/* style for Tab view */
@media(max-width:1024px) {
    /* body.sticky-nav-icon #rmp_menu_trigger-802{
        top: 8px !important;
    } */

    header{
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .contact-link a{
        text-transform: capitalize;
    }
    .fg-default .fg-image {
        height: 250px !important;
    }
    .yachts-main-slider .bdt-panel-slide-desc{
        padding: 20px 20px !important;
    }

    .product-details-page-table td {
        padding: 15px;
        font-size: 16px !important;
        text-wrap: nowrap;
    }

    #rmp-menu-item-45 a {
        text-align: center !important;
    }

    .submit-btn p {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: fit-content;
        margin: auto !important;
    }

    .wpcf7-submit {
        font-size: 15px !important;
        line-height: 24px;
        padding: 10px 25px 10px 25px !important;
    }

    .table-responsive {
        overflow-x: scroll;
    }
    /* .yachts-main-slider .bdt-panel-slide-desc{
        height:100% !important;
    }
    .yachts-main-slider .bdt-panel-slide-desc .bdt-panel-slide-text {
        display: block !important;
    } */
    
    .single-post .site-inner, .search-no-results .site-inner{
        padding:0px 15px;
    }
    .post-content{
        width: 100%;
    }
    .post-sidebar{
        width: 60%;
    }
    .post-content-main{
        flex-wrap: wrap;
    }

    .banner-heading-blogs{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .blog-grid{
        width: 96%;
        max-width: 100% !important;
        gap:20px;
    }
    .top-banner-blog-page{
        margin-bottom:50px;
    }
    .blog-item h2{
        margin-top:20px !important;
    }
}

/* style for Tab view */
@media(min-width:768px) and (max-width:1024px) {
    .home-banner {
        min-height: 500px;
    }

    .blog-grid{
        grid-template-columns: repeat(2, 1fr) !important;
       
    }
    #rmp_menu_trigger-802{
        top: 54px;
    }

}

.banner-heading-inner{
    position: absolute;
    top:0px;
    left:0px;
    height: 100% !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .3);
}

/* style for Mobile view */
@media(max-width:767px) {
    .blog-banner-image{
        height:350px;
        object-position: initial !important;
    }
    .banner-heading-blogs{
        top:45%;
        font-size: 32px !important;
        line-height: 40px;
    }
    .blog-grid{
        grid-template-columns: repeat(1, 1fr) !important;
        width: 94% !important;
       
    }

    .page-numbers{
        display: none;
    }
    .page-numbers.prev, .page-numbers.next{
        display: flex;
    }

    .yachts-main-slider .bdt-panel-slide-text ul li:last-child{
        margin-bottom:20px;
    }

    .fg-default .fg-image {
        height: 180px !important;
    }

    .main-form-field {
        flex-wrap: wrap;
        gap: 0px;
    }

    .form-inner-field {
        margin-bottom: 10px;
        width: 100%;
    }

    .form-inner-field input,
    .textarea textarea {
        font-size: 16px;
        padding: 15px;
    }

    .yachts-main-slider .bdt-panel-slide-text ul li a {
        font-size: 16px;
    }
    .yachts-main-slider .bdt-panel-slide-item:hover .bdt-panel-slide-desc {
        padding: 20px !important;
    }
    .post-sidebar{
        width: 100%;
    }
    .postbanner h1{
        font-size: 32px;
        line-height: 40px;
    }
    .post-content img{
        height: auto;
    }
    .search-form-input{
        padding:15px;
        font-size: 15px !important;
    }
    input.search-form-submit{
        height: 43.25px;
    }

}