/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



div#contact div#gform_fields_1 {
    row-gap: normal !important;
}
div#contact p {
    padding-bottom: 0;
}
div#contact input#gform_submit_button_1 {
    background-color: #1E90FF !important;
}
#contact iframe {
    height: 350px;
}
div#Cruising .row-bg-wrap:before {
    content: '';
    position: absolute;
    background-image: url(https://devu2.customdev.solutions/Dennis/wp-content/uploads/2025/04/icon-big-boat-2-1.png);
    width: 200px;
    height: 390px;
    background-size: cover;
    right: 0;
    top: 0;
    animation: 2s move1 linear alternate infinite;
}
@keyframes move1{
    0%{
    transform:translateY(15px)
    }
}
div#Cruising .row-bg-wrap:after {
    content: '';
    position: absolute;
    background-image: url(https://devu2.customdev.solutions/Dennis/wp-content/uploads/2025/04/download-1.png);
    width: 400px;
    height: 390px;
    background-size: cover;
    left: 0;
    top: 200px;
    animation: 2s scale linear alternate infinite;
    transform-origin: top left;
}
@keyframes scale{
    0%{
        transform:scale(0.8)
    }
}
/* div#header-outer ul.sf-menu.sf-js-enabled.sf-arrows {margin-right: 100px;} */
div#header-outer .custom-search-option {
    position: relative;
    display: flex;
    align-items: center;
}
div#header-outer .custom-search-option form {
    display: flex;
    position: relative;
}
div#header-outer .custom-search-option  button {
    position: absolute;
    right: 0;
    height: 100%;
    background-color: transparent !important;
    color: #220971;
    font-size: 23px;
}
div#header-outer .custom-search-option  input[type="text"] {
    background-color: #EFEEEE;
    border-radius: 30px;
    padding-inline: 20px 18px;
    width: 220px;
    border: 1px solid #CCCCCC;
}
.home .container-wrap {
    padding-top: 0px !important;
}
div#banner {
    margin-bottom: 0;
}
div#Commodore {
    padding-block: 60px  !important;
}
span.meta-category {
    display: none !important;
}
div#Commodore .nectar-post-grid-wrap .nectar-post-grid-item-bg {
    height: 310px;
}
div#Commodore .nectar-post-grid-wrap  .content {
    background-color: white;
    padding-top: 6px;
}
a#b1 {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 25px;
    font-weight: 500;
    padding: 12px 40px;
}
div#Commodore a#b1 {
    margin: 0 auto;
    display: table;
}
div#Commodore .nectar-post-grid-wrap .content  h3.post-heading a {
    font-family: 'Playfair Display';
    font-faPlayfair display: ;
    font-weight: 500;
    font-size: 22px;
    line-height: 33px;
}
div#Commodore .nectar-post-grid-wrap .content  span.meta-excerpt {
    color: #666666;
}
div#Commodore .nectar-post-grid-wrap .content  span.nectar-post-grid-item__meta-wrap {
    position: absolute;
    top: 0;
    right: 0;
}
div#Commodore .nectar-post-grid-wrap .content h3.post-heading {
    padding-top: 52px;
}
div#Commodore .nectar-post-grid-wrap .content span.nectar-post-grid-item__meta-wrap span.meta-date {
    color: #1E90FF;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    width: 90%;
    text-align: center;
}
div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 550px !important;
}
div#Commodore .nectar-post-grid-wrap .content span.nectar-post-grid-item__read-more {}
div#Commodore .nectar-post-grid-wrap .content span.link_text {
    color: #1E90FF;
    font-weight: 500;
    font-style: italic;
    text-decoration: underline;
}
div#Donate .c1 {
    padding-right: 0;
}
div#Donate .c2 {
    padding-left: 0;
    background-color: white;
    filter: drop-shadow(2px 4px 6px #ccc);
    border-radius: 10px 10px 10px 0px !important;
}
div#Lasting {
    width: 90%;
    margin: 0 auto;
    padding-block: 50px 50px !important;
}
div#Lasting a#b1 {
    margin-bottom: 12px;
}
div#logo-sec {
    padding: 28px 20px !important;
}
div#logo-sec .row-bg.viewport-desktop.using-bg-color {
    border-radius: 10px;
}

div#logo-sec .carousel-item img {
    margin: 0 auto;
    display: table;
}
div#logo-sec div#logo-caro {
    margin-bottom: 0;
}
div#Society {
    padding-block: 40px !important;
}
div#Society .text1 {
    margin-bottom: 0;
}
div#Society .carousel-item {
    margin-inline: 10px;
}
div#Society .owl-nav.disabled {
    display: block;

}
div#Society button.owl-prev,div#Society button.owl-next {
    width: 50px;
    height: 50px !important;
    border-radius: 100% !important;
    background-color: #E0E0E0;
    color: #1E90FF;
    border: 1px solid #E0E0E0;
    font-size: 16px;
    position: relative;
    line-height: 40px;
    top: 34%;
}
div#Society button.owl-prev span,div#Society button.owl-next span {
    font-size: 0;
}
div#Society button.owl-prev:hover, div#Society button.owl-next:hover {
    background-color: #1E90FF;
    color: white;
}
div#Society  button.owl-prev:before {
    content: '\f053';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    right: 0;
}
div#Society  button.owl-next:before {
    content: '\f054';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    right: 0;
}
div#Society .carousel-item .hover-wrap-inner:before {
    content: '';
    position: absolute;
    background-color: #1e90ff85;
    width: 100%;
    height: 0%;
    z-index: 99;
    border-radius: 10px;
    transition: 0.9s;
}
div#Society .carousel-item:hover .hover-wrap-inner:before {
    height: 100%;
}
div#Spotlight .text1 {
    margin-bottom: 0;
}
div#Spotlight .carousel-item {margin-inline: 14px;}
a#b2 {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 25px;
    font-weight: 500;
    padding: 12px 40px;
    background-color: transparent !important;
    color: #1E90FF;
    border: 1px solid #1E90FF;
}
a#b2:hover {
    background-color: #1E90FF !important;
    color: white;
}
div#Spotlight .carousel-item a#b2 {
    margin: 0 auto;
    display: table;
}
div#Spotlight .carousel-item .hover-wrap-inner:before {
        content: '';
    position: absolute;
    background-color: #1e90ff85;
    width: 100%;
    height: 0%;
    z-index: 99;
    border-radius: 10px;
    transition: 0.9s;
}
div#Spotlight .carousel-item:hover .hover-wrap-inner:before {
    height: 100%;
}
div#Cruising {
    padding-block: 70px !important;
}
div#Cruising .c2 .text1  h5 a {
    font-size: 15px;
    line-height: 25px;
    font-weight: 500;
    padding: 12px 40px;
    background-color: #1E90FF;
    color: white;
    border-radius: 9px;
}
div#Cruising .c2 .text1 h3 {
    margin-bottom: 0;
}
div#Cruising .c2 .text1 {
    border: 1px solid #1e90ff;
    background-color: #F0F8FF;
    border-radius: 10px;
    outline: 1px solid #1E90FF;
    outline-offset: -14px;
    padding: 58px 30px;
    width: 130%;
    margin-left: -90px;
}
div#Sloop {
    padding: 50px 20px !important;
}
div#Sloop .row-bg.viewport-desktop.using-image {
    background-size: 100% 100% !important;
}
div#footer-widgets .row {
    padding-block: 50px 30px;
}
div#copyright {
    padding: 15px 0px !important;
}

div#copyright .col.span_5 {
    max-width: 100% !important;
}
div#footer-outer div#media_image-2 {
    margin-bottom: 10px;
}
div#footer-outer div#text-2 {
    margin-bottom: 10px;
}
div#footer-outer .iconnn li {
    display: inline-block;
    margin-right: 10px;
}
div#footer-outer .iconnn li i {
    top: 0;
    border: 1px solid;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 40px;
}
div#footer-outer .iconnn li i:hover {
    background-color: #0C99FF;
}
div#footer-outer div#nav_menu-2 {
    margin: 0 auto;
    display: table;
}
div#footer-outer h4 {
    padding-bottom: 17px;
    width: fit-content;
    position: relative;
}
div#footer-outer h4:before {
    content: '';
    position: absolute;
    border: 1px solid #D9D9D9;
    width: 100%;
    bottom: 0;
}
div#footer-outer div#nav_menu-4 i {
    margin-right: 18px;
    border: 1px solid;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 100%;
    font-size: 15px;
    transition: 0.9s;
}
div#footer-outer div#nav_menu-4  li:hover i {
    background-color: #1E90FF;
}
div#copyright strong {
    color: #1E90FF;
    font-weight: 500;
}
div#Events {
    padding-block: 70px  !important;
}
div#Events .c1,div#Events .c2 {
    padding-bottom: 30px;
}
div#Events div#events-secmaininr1 h5,div#Events div#events-secmaininr1 h6 {
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 11px;
    line-height: 21px;
}
div#Events div#events-secmaininr1 h5 img, div#Events div#events-secmaininr1 h6 img {margin-bottom: 0;padding-right: 7px;}
div#Events div#events-secmaininr1  h3 {
    font-size: 14px;
    line-height: 24px;
}
div#Events div#events-secmaininr1  h6 {
    float: right;
    margin-top: -29px;
}
div#Events div#events-secmaininr1 .bb1 {
    float: right;
}
div#Events div#events-secmaininr1 {
    border: 1px solid white;
    border-radius: 8px;
    padding: 6px;
}
/* ================================================ */
@media (max-width: 1600px) {

    div#Cruising .row-bg-wrap:before {
    width: 140px;
    height: 270px;
}
}
/* ================================================ */
@media (max-width: 1440px) {}
/* ================================================ */
@media (max-width: 1366px) {
	#top ul li {
    margin-inline: -5px !important;
}
}
/* ================================================ */
@media (max-width: 1340px) {}
/* ================================================ */
@media (max-width: 1336px) {}
/* ================================================ */
@media (max-width: 1320px) {}
/* ================================================ */
@media (max-width: 1280px) {}
/* ================================================ */
@media (max-width: 1024px) {
    div#Events div#events-secmaininr1 h3 {
    font-size: 12px;
    line-height: 23px;
    width: 130%;
}
div#Events div#events-secmaininr1 .bb1 {
    width: 59%;
}
div#Events div#events-secmaininr1 h5, div#Events div#events-secmaininr1 h6 {
    font-size: 7px;
}
div#Events {
    padding-block: 40px !important;
}
    #top ul li a {
    font-size: 12px !important;
    line-height: 22px !important;
    white-space: nowrap !important;
}
#top nav > ul > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 570px !important;
}
div#header-outer .custom-search-option {
    right: -75px;
}
div#Commodore {
    padding-block: 40px !important;
}
div#Commodore .text1 {
    margin-bottom: 0;
}
div#Commodore .nectar-post-grid-wrap .nectar-post-grid-item-bg {
    height: 210px;
}
div#Commodore .nectar-post-grid-wrap .content h3.post-heading a {
    font-size: 17px;
    line-height: 27px;
}
div#Commodore .nectar-post-grid-wrap .content span.meta-excerpt {
    font-size: 12px;
    line-height: 22px;
}
div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 470px !important;
}
div#Spotlight .carousel-item div#Spotlightin {
    margin-bottom: 0;
}
div#Cruising {
    margin-bottom: 0;
}
p,a {
    font-size: 12px;
    line-height: 22px;
}
div#footer-outer div#nav_menu-4 i {
    margin-right: 8px;
    width: 34px;
    height: 34px;
    line-height: 34px;
}
div#footer-widgets .row {
    padding-block: 30px 11px;
}
}
/* ================================================ */
@media (max-width: 912px) {
	#contact iframe {
    height: auto;
} 
div#events-secmaininr1 .cc1 img {
    width: 100%;
}
div#Events .cc2,div#Events .cc1 {
    margin-bottom: 7px;
}
div#Events div#events-secmaininr1 h3 {
    font-size: 18px !important;
    line-height: 28px;
    width: 100%;
}
div#Events div#events-secmaininr1 h6 {
    margin-top: 0;
    float: unset;
}
div#Events div#events-secmaininr1 h5, div#Events div#events-secmaininr1 h6 {
    font-size: 16px;
    line-height: 28px;
    justify-content: center;
}
div#Events div#events-secmaininr1 .bb1 {
    width: auto;
    float: unset;
    margin: 0 auto;
}
div#Events div#events-secmaininr1  .cc3 {
    width: 100%;
}
div#Events .c1, div#Events .c2 {
    padding-bottom: 0;
}
div#Events {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
div#Events .c3 ,div#Events .c4 {
    width: 50%;
}
    div#header-outer .custom-search-option {
    right: 0;
    order: -4;
}
div#Commodore {
    width: 100%;
    margin: 0 auto;
}
div#Commodore .nectar-post-grid-wrap .nectar-post-grid-item-bg {
    height: 294px;
}
div#Commodore .nectar-post-grid-wrap .content span.meta-excerpt {
    font-size: 14px;
    line-height: 24px;
}
div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 520px !important;
}
div#Donate .c1 .img1 {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    height: 340px;
}
div#Donate .c1 {
    order: 1;
    margin-top: 15px;
}
div#Donate {
    width: 70%;
    margin: 0 auto;
}
div#Lasting {
    width: 70%;
    text-align: center;
}
div#Lasting img {
    margin: 0 auto;
}
div#Society .owl-nav.disabled {
    display: none;
}
div#Spotlight {
    width: 80%;
    margin: 0 auto;
}
div#Cruising .c2 .text1q {
    width: 100% !important;
}

div#Cruising .c2 .text1 {
    width: 100% !important;
    margin: 0 auto;
}
div#Cruising .c1 {
    order: 1;
    margin-top: 10px;
}
div#Cruising {
    width: 80%;
    margin: 0 auto;
    padding-block: 30px 0px !important;
}
div#footer-outer div#media_image-2 img {
    width: 70%;
}
div#footer-outer div#nav_menu-2 {
    margin: unset;
}
}
/* ================================================ */
@media (max-width: 800px) {}
/* ================================================ */
@media (max-width: 768px) {}
/* ================================================ */
@media (max-width: 480px) {
    div#Commodore .nectar-post-grid-wrap .nectar-post-grid-item-bg {
    height: 284px;
}
    div#Events .c3, div#Events .c4 {
    width: 100%;
}
    div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 430px !important;
}
div#Donate {
    width: 100%;
}
div#Lasting {
    width: 100%;
    padding-top: 40px !important;
}
div#Sloop p br {
    display: none;
}
div#footer-outer div#media_image-2 img {
    width: 50%;
}
    div#header-outer .custom-search-option input[type="text"] {
    width: 130px;
}
div#Commodore .nectar-post-grid-wrap .flickity-viewport {
    height: 480px !important;
}
div#Donate .c1 .img1 {
    height: auto;
}
div#Society {
    padding-block: 30px !important;
}
div#Spotlight .owl-stage {
    padding-top: 20px;
}
div#Cruising {
    width: 100%;
}
}
/* ================================================ */
@media (max-width: 428px) {}
/* ================================================ */
@media (max-width: 414px) {}
/* ================================================ */
@media (max-width: 390px) {}
/* ================================================ */
@media (max-width: 375px) {}
/* ================================================ */
@media (max-width: 360px) {}
/* ================================================ */

/* Trophy Badges on Sloop Detail Pages */
.sloop-trophies {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.sloop-trophies h2 {
    color: #2c5f8d;
    margin-bottom: 24px;
    font-size: 1.8em;
}

.trophy-badges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.trophy-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 2px solid #ffd700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.trophy-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    border-color: #ffed4e;
}

.trophy-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.trophy-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.trophy-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05em;
    line-height: 1.3;
}

.trophy-year {
    color: #7f8c8d;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .trophy-badges {
        grid-template-columns: 1fr;
    }

    .trophy-badge {
        padding: 16px;
    }
}
/* End Trophy Badges */

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* End Blog Posts Grid */

/* Featured image: stretch to fill header container on single blog/community posts */
.featured-media-under-header__featured-media .post-featured-img img {
    width: 100%;
    height: auto;
}

/* ── Logged-in account icon (If Menu nav item approach) ─────────────────── */

/* Hide Salient's built-in account elements when If Menu item is active */
.logged-in .user-account,
.logged-in .mobile-user-account,
.logged-in li#nectar-user-account {
    display: none !important;
}

/* Also remove the old Log Out solid button if still in the menu */
.logged-in li.button_solid_color {
    display: none !important;
}

/* Style the .fss-account-icon nav item as a navy circle icon.
   Add CSS class "fss-account-icon" to the parent menu item in WP Admin → Menus. */
li.fss-account-icon > a {
    background: #2c5f8d !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 34px !important;
    text-align: center !important;
    overflow: hidden !important;
    transition: background 0.2s;
}

li.fss-account-icon > a:hover,
li.fss-account-icon.sfHover > a {
    background: #1f4a6b !important;
}

/* The icon span inside the link — centered absolutely to guarantee position */
li.fss-account-icon > a .icon-salient-m-user,
li.fss-account-icon > a span[class*="icon"] {
    font-size: 16px !important;
    color: #fff !important;
    line-height: 1 !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
}

/* Hide the Salient-generated dropdown arrow on this item */
li.fss-account-icon > a .sf-with-ul::after,
li.fss-account-icon > a::after {
    display: none !important;
}

/* Style the submenu dropdown to match our site aesthetic */
li.fss-account-icon ul.sub-menu {
    background: #fff !important;
    border-radius: 8px !important;
    border: 1px solid #e0e6ed !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    min-width: 190px !important;
    padding: 6px 0 !important;
}

li.fss-account-icon ul.sub-menu li a {
    padding: 10px 18px !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    transition: background 0.15s !important;
}

li.fss-account-icon ul.sub-menu li a:hover {
    background: #f5f7fa !important;
    color: #2c5f8d !important;
}

/* Log Out item — last child, red */
li.fss-account-icon ul.sub-menu li:last-child a {
    color: #c0392b !important;
    border-top: 1px solid #eef0f3;
}

li.fss-account-icon ul.sub-menu li:last-child a:hover {
    background: #fdf0f0 !important;
    color: #a82a1e !important;
}

/* Mobile: hide at breakpoint — slide-out menu handles account links */
@media (max-width: 999px) {
    li.fss-account-icon { display: none !important; }
}
/* End Featured Image Fix */
/* ================================================ */
/* Header nav readability + account/search spacing (2026-11-01).
   Menu text was 13px (Salient setting) and the logged-in account avatar
   butted up against the header search box. */
#header-outer #top nav > ul.sf-menu > li > a { font-size: 15px !important; }
#header-outer .custom-search-option { margin-left: 18px; }
@media (max-width: 1200px) {
    #header-outer #top nav > ul.sf-menu > li > a { white-space: nowrap; }
    div#header-outer .custom-search-option input[type="text"] { width: 150px; }
}
