:root {
    --body-min-size: 300px;
  
    --profile-pic-size: 30px;
  
    --tooltip-vertical-spacing: 10px;
  
    --tooltip-triangle-size: 0.4rem;
  
    --y-overflow: 1rem;
    --x-overflow: 1rem;
    --tooltip-bg: #77A96A;
    --tooltip-arrow-size: 8px;
    --tooltip-margin: 15px;
  }
  img.logo_site-size {
    height: 60px;
}
nav.rank-math-breadcrumb span {
    color: #fff;
}
nav.rank-math-breadcrumb a {
    color: #fff;
}
li.product-category a {
    color: #070000;
}
.product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.product-categories-list {
    padding: 0;
}
.product-categories-list.columns-1 .product-category {
    width: 100%;
}
.product-categories-list.columns-2 .product-category {
    width: 50%;
}
.product-categories-list.columns-3 .product-category {
    width: 33.33%;
}
.product-categories-list.columns-4 .product-category {
    width: 25%;
}
.product-category {
    margin-bottom: 5px;
    padding: 10px;
}
.category-image {
    display: block;
    margin-bottom: 10px;
}
.category-image img {
    max-width: 100%;
    height: auto;
}
.product-subcategories {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}
.product-subcategory {
    margin-top: 5px;
}
.contact-popup-content button.ff-btn.ff-btn-submit.ff-btn-md.theme-btn.btn-one.ff_btn_style{
    background-color: #77A96A;
    border: 1px solid #77A96A;
}
form#fluentform_5 fieldset {
    display: flex;
    width: 100%;
}
.hover-me {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ccc;
    transition: border 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.hover-me:hover {
    border: 2px solid #77A96A;
}

.hover-me:hover + .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Base tooltip styles */
.tooltip {
    position: absolute;
    min-width: 170px;
    max-width: 300px;
    padding: 1.5rem;
    border-radius: 0.25rem;
    background: var(--tooltip-bg);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Tooltip content styles */
.tooltip-content h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
 
}

.tooltip-content p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Show tooltip on hover */
.hover-me:hover + .tooltip,
.tooltip:hover {
    opacity: 1;
    visibility: visible;
}

/* Right position (default like in the image) */
.tooltip {
    top: 50%;
    left: 100%;
    transform: translateY(-50%) translateX(20px);
    margin-left: var(--tooltip-margin);
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -23px;
    transform: translateY(-50%);
    border-width: var(--tooltip-arrow-size);
    border-style: solid;
    border-color: transparent #77a96a transparent transparent;
}

/* Dynamic positioning classes */
/* Top position */
.tooltip.tooltip-top {
    bottom: 100%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
    margin: 0 0 var(--tooltip-margin) 0;
}

.tooltip.tooltip-top::after {
    top: 100%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-color: var(--tooltip-bg) transparent transparent transparent;
}

/* Bottom position */
.tooltip.tooltip-bottom {
    top: 100%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
    margin: var(--tooltip-margin) 0 0 0;
}

.tooltip.tooltip-bottom::after {
    bottom: 100%;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-color: transparent transparent var(--tooltip-bg) transparent;
}

/* Left position */
.tooltip.tooltip-left {
    top: 50%;
    bottom: auto;
    right: 100%;
    left: auto;
    transform: translateY(-50%) translateX(-10px);
    margin: 0 var(--tooltip-margin) 0 0;
}

.tooltip.tooltip-left::after {
    top: 50%;
    bottom: auto;
    right: -16px;
    left: auto;
    transform: translateY(-50%);
    border-color: transparent transparent transparent var(--tooltip-bg);
}

/* Right position */
.tooltip.tooltip-right {
    top: 50%;
    bottom: auto;
    left: 100%;
    right: auto;
    transform: translateY(-50%) translateX(10px);
    margin: 0 0 0 var(--tooltip-margin);
}

.tooltip.tooltip-right::after {
    top: 50%;
    bottom: auto;
    left: -16px;
    right: auto;
    transform: translateY(-50%);
    border-color: transparent var(--tooltip-bg) transparent transparent;
}

/* Hitbox for hover */
.tooltip::before {
    content: "";
    position: absolute;
    top: calc(var(--y-overflow) / -2);
    left: calc(var(--x-overflow) / -2);
    height: calc(100% + var(--y-overflow));
    width: calc(100% + var(--x-overflow));
    background: var(--tooltip-bg);
}

.comprehensive-golf-training-item {
    position: relative;
    margin-bottom: 25px;
    overflow: visible;
    height: 300px;
}
img.hover-me {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    border-radius: 15px !important;
}
ul.accordion-box {
    padding: 0;
}
/* Mobile adjustments */
@media (max-width: 768px) {
    .tooltip {
        min-width: 150px;
        padding: 1.2rem;
    }
    
    .tooltip-content h3 {
        font-size: 18px;
    }
    
    .tooltip-content p {
        font-size: 14px;
    }
}

  
#form-footer .ff-btn-submit {
    background-color: #77a96a !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin-left: 5px;
}

#form-footer input#ff_5_email{
    padding: 15px !important;
}

.service-navigation a:hover{
    color: #77A96A !important;
}
 .nice-select .list{
    max-height: auto !important;
    max-width: 135px;
    width: 135px;
}
.nice-select:before{
    right: 0 !important;
} 
#gt_float_wrapper {
    position: relative !important;
}
.gt_float_switcher .gt-selected {
    position: relative;
    z-index: 888;
    background-color: transparent !important;
    cursor: pointer;
    text-transform: uppercase;
    overflow: hidden;
    text-align: right;
}
.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 10px 15px;
    color: #333;
    font-weight: bold;
}
.gt_float_switcher img {
    vertical-align: middle;
    display: inline-block;
    width: 24px;
    height: auto;
    margin: 0 5px 0 0;
    border-radius: 3px;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    color: #000;
    font-size: 13px;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    position: relative;
    top: 2px;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
    transform: rotate(0deg);
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    display: none;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    display: inline-block;
    height: 18px;
    width: 15px;
    vertical-align: middle;
    /* background-image: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23666'/></svg>); */
    background-position: 50%;
    background-size: 11px;
    background-repeat: no-repeat;
    transition: all .3s;
    transform: rotate(-180deg);
}
.gt_float_switcher .gt_options.gt-open {
    opacity: 1;
    transform: translateX(0px);
}
.gt_float_switcher .gt_options {
    position: relative;
    z-index: 777;
    max-height: 250px;
    overflow-y: auto;
    transform: translateY(-30px);
    opacity: 0;
    cursor: pointer;
    transition: all .8s cubic-bezier(.3,1.1,.4,1.1);
}
.gt_float_switcher .gt_options {
    background: #fff;
    text-align: left;
}
.gt_float_switcher .gt_options a.gt-current {
    display: none;
}
.gt_float_switcher .gt_options a {
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    color: #444;
    font-size: 13px;
    transition: color .4s linear;
}
.gt_float_switcher img {
    vertical-align: middle;
    display: inline-block;
    width: 24px;
    height: auto;
    margin: 0 5px 0 0;
    border-radius: 3px;
}

/* GT Float Switcher Custom Styling */
#gt-wrapper-60054159 {
    position: relative !important;
}

.gt_float_switcher {
    position: static !important;
    width: auto !important;
    background: transparent !important;
}

/* Selected language styling */
.gt_float_switcher .gt-selected {
    display: flex !important;
    align-items: center !important;
    padding: 0px !important;
    cursor: pointer !important;
}

/* Options container */
.gt_float_switcher .gt_options {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 200px !important;
    background: white !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
    z-index: 9999 !important;
}

/* Show options when switcher is active */
.gt_float_switcher.gt_show .gt_options {
    display: block !important;
    transform: none !important;
    animation: none !important;
}

/* Individual option styling */
.gt_float_switcher .gt_options a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: background-color 0.2s !important;
}

.gt_float_switcher .gt_options a:hover {
    background-color: #f5f5f5 !important;
}

/* Flag images */
.gt_float_switcher img {
    margin-right: 8px !important;
    width: 20px !important;
    height: auto !important;
}

/* Remove all default transitions and animations */
.gt_float_switcher,
.gt_float_switcher *,
.gt_float_switcher .gt_options,
.gt_float_switgt_switchercher.gt_show .gt_options {
    transition: none !important;
    animation: none !important;
    transform: none !important;
}
.current-menu-item a {
    color: #77a96a !important;
}

.pdf-preview-btn-container, .pdf-download-btn-container {
    width: 100%;
    background: #77a96a;
    text-align: center;
    border-radius: 6px;
}
.pdf-preview-btn, .pdf-download-btn {
    display: inline-block;
    padding: 10px 20px;
    width: 100%;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.pdf-preview-btn:hover, .pdf-download-btn:hover {
    
    color: #fff;
}
.pdf-preview-btn.disabled, .pdf-download-btn.disabled {
    background-color: #77a96a;
    cursor: not-allowed;
}

.custom-sub {
    color: #d52027 !important;
}
.custom-sub:before, .custom-sub:after{
    background: #d52027 !important;
}
a#book-visit-btn {
    background: #d52027;
}