/* 
Theme Name: Offroad Pirates
Theme URI: https://karich.design
Description: Offroad Pirates is a special theme made by Karich.Design
Author: Karich.Design
Author URI: https://karich.design
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
    font-family: var(--e-global-typography-text-font-family);
    font-weight: var(--e-global-typography-text-font-weight);
    color: var(--e-global-color-text);
}

h1 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
}

h2 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
}

h3, h4 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
}

a {
    background-color: transparent;
    text-decoration: none;
    color: var(--e-global-color-accent);
}

.make-invisible{
    display: none;
}

.page-sub{
    text-shadow: 
    1px 1px 1px #fff, /* Adjust values to increase outline thickness */
    -1px 1px 1px #fff,
    1px -1px 1px #fff,
    -1px -1px 1px #fff;
}

.site-header{
    background-color: var(--e-global-color-primary);
    background-image: url('../../uploads/2024/07/flagonly_neu.png');
    background-position: left center; /* Align the image to the left and center vertically */
    background-repeat: no-repeat;    /* Prevent the image from repeating */
    background-size: auto;
    box-shadow: 0px 2px 5px #00000041;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0; /* Position the header at the top */
    z-index: 1000; /* Ensure the header is above other content */
}

.site-logo img{
    max-width: 250px;
}

.picture-of-the-month {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.menu li{
    /* background-color: #ffffff; */
    /* color: var(--e-global-color-secondary); */
    /* border: solid 1px #4682B4; */
    margin-right: 10px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #0000005b;
}

.menu li a{
    /* background-color: var(--e-global-color-secondary); */
    background-color:var(--e-global-color-primary);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    border: solid 1px #ffffff;
    border-radius: 5px;
}

.menu li a:hover{
    background-color:#ffffff;
    color: var(--e-global-color-primary);
    border: solid 1px var(--e-global-color-primary);
    border-radius: 5px;
}

.menu li.current-menu-item a,
.menu li.current-menu-parent a,
.menu li.current-menu-ancestor a {
    /* background-color: var(--e-global-color-accent); Change this to your desired active color */
    /* color: #000; Change the text color if needed */
    border-radius: 5px;
    border: solid 1px var(--e-global-color-accent);
    color:var(--e-global-color-accent);
}

.site-navigation ul.menu li ul {
    background-color: transparent;
}

.site-navigation ul.menu li ul li {
    border-block-end: none;
}

.menu .sub-menu li {
    box-shadow: none;
    margin: 5px 0;
}

.entry-header {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center;    /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center;     /* Center text inside the header */
}

.entry-header a {  
    display: inline-block; /* or display: block; */  
    width: 100%; /* optional, but recommended to ensure the a tag takes full width */  
}

.view-toggle {
    margin-bottom: 20px;
    margin-top: 25px;
    width: 150px;
}

.view-toggle button {
    padding: 10px 15px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px;
    color: var(--e-global-color-accent);
    border: solid 1px var(--e-global-color-accent);
    background-color: #ffffff;
}

.view-toggle button.active {
    background-color: var(--e-global-color-accent);
    color: white;
}

/* .grid-view .activities {
    display: inline-block;
    width: calc(33.333% - 20px);
    margin-right: 15px;
    margin-bottom: 20px;
    vertical-align: top;
    padding: 25px 15px;
    min-height: 400px;
} */

.grid-view {
    display: flex;
    flex-wrap: wrap;
}

.grid-view .post:nth-child(3n) {
    margin-right: 0;
}

.list-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.activities{
    background-color: var(--e-global-color-primary);
    /* background-color: #ff99003a; */
    border-radius: 5px;
    z-index: 2;
}

.grid-view .activities {
    display: inline-block;
    flex: 1 1 calc(33.333% - 20px);
    margin: 0 10px 20px; /* Spacing between items */
    vertical-align: top;
    padding: 25px 15px;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.list-view .activities {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    width: 100%;
    margin-bottom: 20px;
}

.activities:hover {
    background-color: #ff9900d3;
}

.list-view .activities .post {
    flex: 1;                        /* Allow the items to grow and take up the full width */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .activities:last-child {
    margin-right: 0;                /* Remove right margin for the last item */
}

.list-view .activities .entry-header img {
    display: inline;
    width: 150px;
    margin-bottom: 20px;
}

.list-view .activities .custom-bg {
    width: 100%;
    height: auto; /* Adjust height to fit content */
}

.list-view .activities .entry-header a .custom-bg{
    min-height: 100px;
    border-radius: 5px;
    margin: 10px;
}

.list-view .activities .entry-header .entry-title,
.list-view .activities .entry-header a{
    flex: 1;
}

.list-view .activities .entry-header .entry-title{
    margin: 5px 0 0 0;
    padding: 0;
}

.list-view .activities .entry-header,
.list-view .activities .entry-content,
.list-view .activities .entry-footer {
    flex: 1;                        /* Allow the items to grow and take up the full width entry-title */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .activities .entry-header, 
.list-view .activities .entry-content,
.list-view .activities .entry-footer,
.list-view .activities .entry-header .entry-title {
    display: flex;
}

.activities .entry-header img {
    width: 100%;
    height: auto;
}

.grid-view .activities{
    position: relative;
}

.grid-view .activities .entry-footer .activity-date{
    position: absolute;
    bottom: 5px;
    font-family: var(--e-global-typography-text-font-family);
    display: flex;
}

.activities-search-form {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px; /* Adjust the gap value as needed */
}

.activities-search-form label{
    display: flex;
}

.activities-search-form .search-field,
.activities-search-form .year-filter,
.activities-search-form .search-submit {
    height: 36px; /* Set the same height for all elements */
    box-sizing: border-box; /* Include padding and border in the height calculation */
    margin: 0;
    padding: 6px 12px; /* Adjust as needed */
}

.activities-search-form .search-field {
    flex: 1; /* Makes the search field take up available space */
    min-width: 200px; /* Prevents it from becoming too small */
}

.activities-search-form .year-filter,
.activities-search-form .search-submit {
    flex-shrink: 0; /* Prevents these elements from shrinking */
}

.activities-single article{
    margin: 10px;
    position: relative;
}

.activities-single .entry-content{
    /* position: absolute; */
}

.activities-single .entry-title{
    color: #ffffff;
}

.activities-single .join-date{
    /* position: absolute; */
    font-weight: 600;
    padding: 0px 0 15px 0;
    margin-top: -25px;
    /* right: 10px;
    bottom: 10px; */
}

.search-form {
    display: flex;
    gap: 5px; /* Adjust the gap value as needed */
}

.search-form .search-submit{
    border: solid 1px var(--e-global-color-accent);
    color: var(--e-global-color-accent);
}

.search-form .search-submit:hover{
    background-color: var(--e-global-color-accent);
    color: #ffffff;
}

.members{
    background-color: var(--e-global-color-primary);
    border-radius: 5px;
    z-index: 2;
}

.members:hover {
    background-color: #ff9900d8;
}

.grid-view .members {
    display: inline-block;
    flex: 1 1 calc(33.333% - 20px);
    margin: 0 10px 20px; /* Spacing between items */
    vertical-align: top;
    padding: 25px 15px;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.list-view .members {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    width: 100%;
    margin-bottom: 20px;
}

.list-view .members .post {
    flex: 1;                        /* Allow the items to grow and take up the full width */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .members:last-child {
    margin-right: 0;                /* Remove right margin for the last item */
}

.list-view .members .entry-header img {
    display: inline;
    width: 150px;
    margin-bottom: 20px;
}

.list-view .members .custom-bg {
    width: 100%;
    height: auto; /* Adjust height to fit content */
}

.list-view .members .entry-header a .custom-bg{
    min-height: 100px;
    border-radius: 5px;
    margin: 10px;
}

.list-view .members .entry-header .entry-title,
.list-view .members .entry-header a{
    flex: 1;
}

.list-view .members .entry-header .entry-title{
    margin: 5px 0 0 0;
    padding: 0;
}

.list-view .members .entry-header,
.list-view .members .entry-content,
.list-view .members .entry-footer {
    flex: 1;                        /* Allow the items to grow and take up the full width entry-title */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .members .entry-header, 
.list-view .members .entry-content,
.list-view .members .entry-footer,
.list-view .members .entry-header .entry-title {
    display: flex;
}

.member-icons{
    font-size: 1rem;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
}

.member-icons i{
    padding: 0 5px;
}

.members .entry-header img {
    width: 100%;
    height: auto;
}

.member-title{
    color: #ffffff;
}

.member-single article{
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

.member-single .member-icons{
    top: 70px;
}

.member-single .member-icons i{
    font-size: 30px;
}

.member-single .entry-content{
    padding: 10px 15px;
}

.member-single .entry-footer{
    padding: 0 15px 15px 15px;
}

.member-single .join-date{
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.slideshow-title{
    padding-right: 10px;
    position: relative;
}

.toggle-slideshow-button{
    border: solid 1px var(--e-global-color-accent);
    color: var(--e-global-color-accent);
}

.toggle-slideshow-button:hover{
    background-color: var(--e-global-color-accent);
    color: #ffffff;
}

.member-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    left: 0;
}

.member-navigation .prev-button,
.member-navigation .next-button {
    display: flex;
    align-items: center;
    background-color: var(--e-global-color-accent);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: solid 1px #ffffff;
}

.member-navigation .prev-button {
    left: 50px;
}

.member-navigation .next-button {
    right: 50px; 
}

.member-navigation .prev-button:hover,
.member-navigation .next-button:hover {
    background-color: #ffffff;
    color: var(--e-global-color-accent);
    border: solid 1px var(--e-global-color-accent);
}

.member-navigation .prev-button i,
.member-navigation .next-button i {
    font-size: 16px;
}

.member-navigation .next-button i {
    margin-left: 10px;
}

.member-navigation .prev-button i {
    margin-right: 10px;
}

.member-navigation .prev-button span,
.member-navigation .next-button span {
    font-size: 16px;
    font-weight: bold;
}

.gallery-item{
    position: relative;
    z-index: 20;
}


.grid-view .members{
    position: relative;
}

.grid-view .members .entry-footer .activity-date{
    position: absolute;
    bottom: 5px;
    font-family: var(--e-global-typography-text-font-family);

}

.activity-date{
    font-weight: 800;
}

.tracks{
    background-color: var(--e-global-color-primary);
    /* background-color: #ff99003a; */
    border-radius: 5px;
    z-index: 2;
}


.grid-view .tracks {
    display: inline-block;
    flex: 1 1 calc(33.333% - 20px);
    margin: 0 10px 20px; /* Spacing between items */
    vertical-align: top;
    padding: 25px 15px;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.list-view .tracks {
    display: flex;
    justify-content: space-between;
    align-items: center;    
    width: 100%;
    margin-bottom: 20px;
}

.tracks:hover {
    background-color: #ff9900d3;
}

.list-view .tracks .post {
    flex: 1;                        /* Allow the items to grow and take up the full width */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .tracks:last-child {
    margin-right: 0;                /* Remove right margin for the last item */
}

.list-view .tracks .entry-header img {
    display: inline;
    width: 150px;
    margin-bottom: 20px;
}

.list-view .tracks .custom-bg {
    width: 100%;
    height: auto; /* Adjust height to fit content */
}

.list-view .tracks .entry-header a .custom-bg{
    min-height: 100px;
    border-radius: 5px;
    margin: 10px;
}

.list-view .tracks .entry-header .entry-title,
.list-view .tracks .entry-header a{
    flex: 1;
}

.list-view .tracks .entry-header .entry-title{
    margin: 5px 0 0 0;
    padding: 0;
}

.list-view .tracks .entry-header,
.list-view .tracks .entry-content,
.list-view .tracks .entry-footer {
    flex: 1;                        /* Allow the items to grow and take up the full width entry-title */
    max-width: 30%;                 /* Ensure items have a maximum width */
    margin-right: 10px;             /* Adjust spacing between items */
}

.list-view .tracks .entry-header, 
.list-view .tracks .entry-content,
.list-view .tracks .entry-footer,
.list-view .tracks .entry-header .entry-title {
    display: flex;
}

.tracks .entry-header img {
    width: 100%;
    height: auto;
}

.grid-view .tracks{
    position: relative;
}

.grid-view .tracks .entry-footer .activity-date{
    position: absolute;
    bottom: 5px;
    font-family: var(--e-global-typography-text-font-family);
    display: flex;
}

.tracks-single article{
    margin: 10px;
    position: relative;
    padding: 10px 0 15px 0;
}

.tracks-single .entry-content h2{
    /* position: absolute; */
    color: #ffffff;
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
}

.tracks-single .entry-title{
    color: #ffffff;
}

.tracks-single .join-date{
    /* position: absolute; */
    font-weight: 600;
    padding: 0px 0 15px 0;
    margin-top: -25px;
    /* right: 10px;
    bottom: 10px; */
}

.page-header{
    padding-top: 50px;
    position: relative;
    z-index: 1;
}

.slider-container{
    position: absolute;
    z-index: 0;
    top: 0px;
    z-index: -1;
}

.custom-bg {
    display: block;  
    width: 100%;  
    height: 200px; /* adjust height as needed */  
    background-size: cover;  
    background-repeat: no-repeat;  
    background-position: center;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    box-sizing: border-box;  
    position: relative;
    padding-bottom: 5px;
}

.custom-bg .entry-content{
    position: absolute;
    bottom: 0;
    background-color: #00000079;
    width: 100%;
    color: #d1d1d1;
    backdrop-filter: blur(5px);
}

.list-view .custom-bg .entry-content{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #00000079;
    width: 100%;
    color: #d1d1d1;
    backdrop-filter: blur(5px);
}

.entry-header a{
    padding-bottom: 5px;
}

.contact-frm .wpcf7-submit{
    padding: 10px 15px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px;
    color: #666;
    border: solid 1px #666;
    background-color: #ffffff;
}

.contact-frm .wpcf7-submit:hover {
    /* Add styles for the hover state */
    background-color: var(--e-global-color-primary); /* Darker green background on hover */
    border: solid 1px #ffffff;
    color: #fff;
}

.contact-frm label{
    line-height: unset;
    font-family: var(--e-global-typography-text-font-family);
}

.president-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.president-members .member {
    flex: 1 1 200px;
    text-align: center;
}

.president-members .member img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

.president-members .member h3 {
    margin-top: 10px;
    font-family: var(--e-global-typography-primary-font-family);
}

.site-footer{
    background-color: var(--e-global-color-primary);
}

.custom-menu {
    list-style-type: none;
    padding: 0;
}

.custom-menu li {
    display: inline-block;
    margin-right: 15px;
}

.custom-menu a {
    text-decoration: none;
    color: var(--e-global-color-accent);
}

.custom-menu a:hover {
    color: var(--e-global-color-text);
}

.site-footer .footer-inner .copyright {
    justify-content: center;
    width: 100%;
    padding-bottom: 15px;
    font-size: smaller;
}

.pagination{
    justify-content: center;
}

.nav-links .page-numbers{
    margin: 10px 5px;
    padding: 5px 10px;
    background-color: var(--e-global-color-accent);
    color: #ffffff;
    border-radius: 5px;
}

.nav-links .current{
    background-color: #666;
}

.members-page{
    margin-bottom: 50px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--e-global-color-accent);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the text */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .club-active{
    border: solid 2px var(--e-global-color-primary);
    border-radius: 5px;
  }

.current-label{
    display: none;
}

.restaurant-active{
    display: block;
}

.member-slider-text{
    white-space: normal !important;
}

#map {
    height: 500px;
    width: 100%;
    overflow: hidden;
    border: thin solid var(--e-global-color-primary);
    margin-bottom: 15px;
    }
#capture {
    height: 360px;
    width: 480px;
    overflow: hidden;
    background-color: #ECECFB;
    border: thin solid #333;
    border-left: none;
}

.next-activity{
    /* background-color: aliceblue; */
}

.next-activity-date{
    /* font-size: 25px; */
}

.next-activity-slider{
    min-height: 260px;
}

@media only screen and (max-width: 600px) {

    .grid-view{
        display: block;
    }    
    
    .grid-view .activities {
        position: relative;
        width: 95%;
    }

    .grid-view .members {
        position: relative;
        width: 95%;
    }

    .filter-buttons{
        justify-content: center;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .gallery .gallery-item img{
        max-width: 100px;
    }

    .gallery .gallery-item{
        width: unset !important;
        display: inline-block !important;
    }

    .gallery{
        display: contents;
    }

    .elementor-image-gallery{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .member-navigation .prev-button,
    .member-navigation .next-button {
        top: 50px;
        transform: unset;
    }

    .member-navigation .prev-button span,
    .member-navigation .next-button span {
        display: none;
    }

    .member-single .member-icons{
        top: 15px;
    }

    .member-navigation {
        height: 50px;
        top: 240px;
    }

    .slideshow-title{
        display: none;
    }
}



/* elementor-kit-6 { http://localhost/off/wp-content/uploads/2024/07/flagonly.png
    --e-global-color-primary: #FF9900;
    --e-global-color-secondary: #2E8B57;
    --e-global-color-text: #333333;
    --e-global-color-accent: #4682B4;
    --e-global-typography-primary-font-family: "Bebas Neue";
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Rock Salt";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Open Sans";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Lora";
    --e-global-typography-accent-font-weight: 500;
} */