@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

div.boat_series_wrapper {
    margin-right: 20px;
    margin-left: 20px;
    display: grid;
    padding-bottom: 80px;
}



div.boat_series_wrapper .boat_series_grid {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
   width: 100%;
   max-width: 100%;
   overflow: hidden;
}

.dh-offcanvas div.boat_series_wrapper .boat_series_grid {
    max-width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
}

div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_image {
    display: inline-block;
    width: 100%;
    height: auto;
    z-index: 1;
}
div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_image > img {
    display: inline-block;
    width: 100%;
    height: auto;
    filter: brightness(50%);
    transition: all .2s ease;
}

div.boat_series_wrapper .boat_series_grid_item:hover > a.boat_thumbnail_link > span.boat_series_image > img {
    filter: brightness(100%);
}

div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
}
div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail * {
    transition: all .3s ease;
}

div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail > span.boat_series_title {
    font-size: 4vw;
    line-height: 0.9;
    letter-spacing: 2px;
    font-family: "Play", Helvetica, Arial, sans-serif;
    color: rgba(255,255,255,0.1);
    font-weight: bold;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #fff;
    transition: all .3s ease;
    padding-top: 8%;
    padding-left: 10%;
    padding-right: 10%;
    font-size: 60px !important;
}
div.boat_series_wrapper .boat_series_grid_item:hover > a.boat_thumbnail_link > span.boat_series_thumbnail > span.boat_series_title {
    color: rgba(255,255,255,8);
    padding-top: 0;
}
div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail > span.boat_series_button {
    display: none;
    overflow: hidden;
    background: gray;
    color: #fff;
    text-transform: uppercase;
    height: 0;
    padding: 8px 34px;
    margin-bottom: 0;
}
div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail.bay > span.boat_series_button {
    background: #0052a8;
}
div.boat_series_wrapper .boat_series_grid_item > a.boat_thumbnail_link > span.boat_series_thumbnail.bass > span.boat_series_button {
    background: #af2413;
}
div.boat_series_wrapper .boat_series_grid_item:hover > a.boat_thumbnail_link > span.boat_series_thumbnail > span.boat_series_button {
    display: inline-block;
    height: auto;
    margin-bottom: 4%;
}

/* 
div.boat_series_wrapper {
    margin-right: 20px;
    margin-left: 20px;
    display: grid;
    padding-bottom: 80px;
}
div.boat_series_wrapper .boat_series_grid {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
   width: 100%;
   max-width: 100%;
   overflow: hidden;
}
span.boat_series_thumbnail {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    border-bottom: 10px solid #454545;
}
span.boat_series_thumbnail.bay {
    border-bottom: 10px solid #0052a8;
}
span.boat_series_thumbnail.bass {
    border-bottom: 10px solid #af2413;
}

.boat_thumbnail_link {
    display: grid;
    transition: all .3s ease;

}


span.boat_series_thumbnail > span.boat_series_image,
span.boat_series_thumbnail > span.boat_series_image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

span.boat_series_thumbnail > span.boat_series_title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    align-content: center;
    justify-content: center;
    margin: 20px;
    font-size: 2vw;
    line-height: 1.1;
    letter-spacing: 2px;
    font-family: "Play", Helvetica, Arial, sans-serif;
    color: #fff;
    font-weight: bold;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 4px 6px 0px rgba(0,0,0,0.9);
}

div.boat_series_button {
    display: grid;
    align-items: center;
    justify-items: center;
    margin-top: 10px;
}
div.boat_series_button > a {
    background: #454545;
    color: #fff;
    text-transform: uppercase;
    padding: 12px 36px;
    text-decoration: none;
}
div.boat_series_button.bay > a {
    background: #0052a8;
}
div.boat_series_button.bass > a {
    background: #af2413;
} */