/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
*/

/* YACHTPRESENTATION STYLING FOR WIDGETS - DESKTOP & TABLET ONLY */

.widget-boat-holder .items {
    display: grid;
    width: 100%;
    column-gap: 25px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
}
    .widget-boat-holder .items > div {
        width: 100%;
        grid-column: auto;
    }

    /* general boat tile styling */
    .ra_yacht, .one_yacht {
        cursor: pointer;
        transition: 0.2s;
        overflow: hidden;
        border-top-right-radius: 3px;
        border-top-left-radius: 3px;
        background-color: #fff;
        border-bottom: 1px solid #525252;
    }
        .ra_yacht:hover, .one_yacht:hover {
            box-shadow: 0 0 20px rgb(0 0 0 / 10%);
        }

    .ra_yacht .ra_foto_holder img, .one_yacht .ra_foto_holder img {
        transition: 0.2s;
        display: block;
    }
        .ra_yacht:hover .ra_foto_holder img, .one_yacht:hover .ra_foto_holder img {
            opacity: .8;
        }

    .ra_foto_holder {
        margin-bottom: -8px;
    }

    .yf-holder-info {
        background: #203959;
        position: relative;
        align-items: center;
        max-width: 100%;
        width: 100%;
    }
        .yf-holder-info h3.yf-model, .yf-holder-info h3.yf-model a {
            font-size: 17px;
            font-weight: 600;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            margin-bottom: 2px;
            color: #fff;
            font-family: "Source Sans Pro", sans-serif;
        }
            .ra_yacht:hover .yf-holder-info h3.yf-model a {
                color: #7ed957;
            }
        .yf-holder-info p {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            margin: 0;
            font-size: 15px;
        }
        .boat-info-list-holder {
            padding-left: 20px;
            padding-top: 12px;
            padding-bottom: 14px;
            padding-right: 120px;
        }
       .yf-holder-info .boat-link-holder {
           float: right;
           position: absolute;
           right: 10px;
           top: 24px;
           background: #1f3858;
           color: #fff;
           font-weight: 700;
           display: flex;
           align-items: center;
           padding: 13px 20px 12px 20px;
           border-radius: 38px;
           font-size: 15px;
           transition: 0.2s;
           border: 2px solid #fff;
       }
            .ra_yacht:hover .yf-holder-info .boat-link-holder {
                background: #7ed957;
                color: #fff;
                border: 2px solid #7ed957;
            }

       .yf-holder-info .price-tile {
           font-weight: 600;
           margin-top: 4px;
       }


    



/* ===========================
    labels boten            ==
=========================== */

.ra_yacht a {
    position: relative;
}

.yf_yacht_offerasked:before, .yf_yacht_exclusive:before, .yf_yacht_newforsale:before, .yf_yacht_underoffer:before, .yf_yacht_pricenegotiable:before, .yf_price_reduced:before, .yf_yacht_sold:before {
    position: absolute;
    background: #7ed957;
    border-top-right-radius: 8px;
    color: #fff;
    padding: 3px 20px 3px 20px;
    font-size: 15px;
    bottom: 5px;
    left: 0;
    content: attr(data-status);
    z-index: 20;
}