/* ===========================
   Base / Global Styles
   =========================== */

/* Hubspot form button */
.hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button, .hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button:hover, .hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button:hover:not(.inactive), .hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button:focus, .hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button:active, .hs-form-13ca5dbc-70b9-4bbc-834e-e2a14d28a777_d63e3c03-2d46-43cb-86bd-d4c39c4c915c .hs-button:active:not(.inactive):not(.link) {
    background: #0072bb !important;
    border-color: #0072bb !important;
}

/* Forum Header */
#af-wrapper #forum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 16px;
    min-height: 44px;
    background-color: #f8f8f8;
}

/* Forum Navigation Links */
#af-wrapper #forum-navigation a,
#af-wrapper #forum-navigation-mobile a {
    font-family: "Noto Sans Display", serif !important;
    display: inline-block;
    position: relative;
    vertical-align: top;
    padding: 5px 15px;
    color: #333333 !important;
    text-decoration: none;
    line-height: 20px;
    letter-spacing: 0;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    border-left: 1px solid #88888852;
    border-bottom: 2px solid transparent; /* Underline placeholder */
    transition: all 0.3s ease-out 0.1s;
    -webkit-transition: all 0.3s ease-out 0.1s;
}
#af-wrapper #forum-navigation a:hover,
#af-wrapper #forum-navigation-mobile a:hover,
#af-wrapper #forum-navigation a.active,
#af-wrapper #forum-navigation-mobile a.active {
    color: #0073ba !important;
    border-bottom-color: #0073ba;
}

/* Forum Search Box */
#af-wrapper #forum-search {
    font-family: "Noto Sans Display", serif !important;
    font-size: 14px;
    float: right;
    width: 238px;
    height: 44px;
    line-height: 44px;
    margin: 10px;
    padding: 0 8px;
    box-sizing: border-box;
    background-color: #fff;
    color: #88888885;
    border: 1px solid #cccccc4d;
    border-radius: 4px;
    cursor: text;
}
#af-wrapper #forum-search input {
    font-family: "Noto Sans Display", serif !important;
    font-size: 14px;
    color: #88888885;
    font-style: normal;
}

/* Forum/Topic Table Header */
#af-wrapper .title-element {
    display: block;
    padding: 8px 16px !important;
    color: #888;
    background-color: #fff;
    border: 1px solid #eee;
    font-weight: bold;
    font-family: "Noto Sans Display", serif !important;
    line-height: 15px;
}
#af-wrapper .last-post-headline {
    float: right;
    font-weight: 600;
    text-align: center;
    line-height: 15px;
    color: #888;
    font-style: normal;
}

/* Forum Title */
#af-wrapper .forum .forum-title {
    font-weight: 600;
    color: #0073ba;
    font-family: "Noto Sans Display", serif !important;
}

/* Main Content Containers */
#af-wrapper .content-container,
#af-wrapper .editor-element {
    background-color: #fff;
    border: 1px solid #eee;
    border-width: 0 1px 2px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 15px; 
}

/* Forum, Topic, Member Rows */
#af-wrapper .forum,
#af-wrapper .topic,
#af-wrapper .member,
#af-wrapper .unread-topic,
#af-wrapper .unapproved-topic {
    display: table;
    width: 100%;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
    padding: 8px 0;
}

/* Forum/Topic Status Icons */
#af-wrapper .forum .forum-status,
#af-wrapper .topic .topic-status {
    font-size: 24px;
}

/* Forum/Topic Name Column */
#af-wrapper .forum-name,
#af-wrapper .topic-name {
    display: table-cell;
    vertical-align: middle;
    padding: 8px 16px;
    text-align: left;
    font-family: none;
    font-weight: 600;
    font-size: 14px;
}

/* Forum Row Links */
#af-wrapper a {
    color: #256db3;
    text-decoration: none;
}

/* Last Post Column */
#af-wrapper .forum-poster,
#af-wrapper .topic-poster {
    width: 310px;
    text-align: left;
    border-left: 1px solid #eee;
    padding: 8px 16px;
    display: table-cell;
    vertical-align: middle;
}

/* Icon Styles */
.fa-solid,
.fas {
    font-weight: 900;
    color: #0073ba;
}
#af-wrapper .far {
    font-weight: 900;
    color: #0073ba;
}

/* Avatar and Summary */
#af-wrapper .forum-poster-avatar,
#af-wrapper .topic-poster-avatar {
    float: left;
    padding-right: 8px;
}
#af-wrapper .forum-poster-summary,
#af-wrapper .topic-poster-summary {
    float: left;
}

/* Alternating Row Background */
#af-wrapper .content-element:nth-child(odd) {
    background-color: #fafafa;
}
#af-wrapper .content-element:nth-child(even) {
    background-color: #fff;
}
#af-wrapper .content-element:last-child {
    border-bottom: none;
}

/* Secondary Information (small text) */
#af-wrapper .forum small,
#af-wrapper .topic small,
#af-wrapper .member small,
#af-wrapper .unread-topic small,
#af-wrapper .unapproved-topic small {
    display: block;
    color: #888;
    line-height: 1.2;
    font-family: "Noto Sans Display", serif !important;
}

/* Forum Menu */
#af-wrapper .forum-menu {
    padding-bottom: 10px;
    float: inherit;
}

/* Plus Icons */
.fa-plus-square:before,
.fa-square-plus:before {
    content: "\f0fe";
    color: #fff;
}

/* Bottom Navigation */
#af-wrapper #bottom-navigation {
}

/* Main Title */
#af-wrapper .main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 150px;
    padding: 90px 0 90px 20px;
    background: url('https://eloit.com/wp-content/uploads/2025/03/Group-237623.png') center/cover no-repeat;
    color: transparent;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* Forum Navigation and Wrapper */
#af-wrapper,
#af-wrapper #forum-navigation {
    display: inline;
    text-align: left;
    padding-left: 92px; /* Retain your existing offset logic if needed */
}

/* Read-Unread Section */
#af-wrapper #read-unread {
}

/* ===========================
   Responsive Layout
   =========================== */

/* 
   For screens 1024px and up:
   - Container-like elements get a fixed width of 1208px, 
     centered with left/right auto margins, plus 15px side padding.
*/
@media screen and (min-width: 1024px) {
    #af-wrapper .content-container,
    #af-wrapper .editor-element,
    #af-wrapper .forum-menu,
    #af-wrapper #bottom-navigation,
    #af-wrapper #read-unread,
    #af-wrapper .main-title,
    #af-wrapper .title-element {
        padding: 0 1px;
        width: 1199px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/*
   For screens below 1024px (mobile & tablet):
   - Let them naturally be 100% wide, but still apply 15px horizontal padding.
*/
@media screen and (max-width: 1023px) {
    #af-wrapper .content-container,
    #af-wrapper .editor-element,
    #af-wrapper .forum-menu,
    #af-wrapper #bottom-navigation,
    #af-wrapper #read-unread,
    #af-wrapper .main-title,
    #af-wrapper .title-element {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }
}

#af-wrapper .forum,
#af-wrapper .topic,
#af-wrapper .member,
#af-wrapper .unread-topic,
#af-wrapper .unapproved-topic {
  display: table;
  width: 100%;
  margin: 0;
  padding: 8px 0; /* top/bottom only */
  border-bottom: 1px solid #eee;
  line-height: 1.4;
}
/* Base style (for screens < 1024px) */
#af-wrapper,
#af-wrapper #forum-navigation {
    display: inline;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1023px) {
    #af-wrapper #forum-navigation {
        display: none;
    }
}
@media screen and (min-width: 760px) and (max-width: 1023px) {
    #af-wrapper,
    #af-wrapper #forum-navigation {
        padding-left: 30px;
        padding-right: 0px;
    }
}

/* For screens 1024px to 1439px */
@media screen and (min-width: 1023px) and (max-width: 1439px) {
    #af-wrapper,
    #af-wrapper #forum-navigation {
        padding-left: 10px;
        padding-right: 770px;
    }
}

/* For screens 1440px to 2559px */
@media screen and (min-width: 1440px) and (max-width: 2559px) {
    #af-wrapper,
    #af-wrapper #forum-navigation {
        padding-left: 330px;
        padding-right: 450px;
    }
}

/* For screens 2560px and above */
@media screen and (min-width: 2560px) {
    #af-wrapper,
    #af-wrapper #forum-navigation {
        padding-left: 800px;
        padding-right: -60;
    }
}
.form-cover {
	  padding: 20px !important;
    background-color: white;
    border-radius: 10px;
}
/* For subtitle custom underline in landing page */
/* For subtitle custom underline-color in landing page */
.has-custom-subline .elementskit-section-subtitle.ekit-heading__subtitle-has-border {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

/* Multi-color underline: blue, green, yellow */
.has-custom-subline .elementskit-section-subtitle.ekit-heading__subtitle-has-border::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    to right,
    #0072bb 0%,      /* Blue */
    #0072bb 33.33%,  
    #45a947 33.33%,  /* Green */
    #45a947 66.66%,  
    #ffcc12 66.66%,  /* Yellow */
    #ffcc12 100%
  );
  z-index: 1;
}


/* For subtitle custom underline-white in landing page */
.has-custom-subline1 .elementskit-section-subtitle.ekit-heading__subtitle-has-border {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

/* triple-white underline: 100%, 60%, 25% */
.has-custom-subline1 .elementskit-section-subtitle.ekit-heading__subtitle-has-border::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    to right,
    #FFFFFF 0%,      /* Blue */
    #FFFFFF 33.33%,  
    #FFFFFF99 33.33%,  /* Green */
    #FFFFFF99 66.66%,  
    #FFFFFF40 66.66%,  /* Yellow */
    #FFFFFF40 100%
  );
  z-index: 1;
}
/* bitrix form title overide */
.b24-form-header-title
 {
    font-family: 'Noto Sans' !important;
    font-weight: 600 !important;
}

.b24-form-header-title {
    font-size: 18px;
    line-height: 30px !important;
}
.b24-form-header-title {
    font-size: 20px !important;
}

/* appointlet button overide */

.appointlet-button {
    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;
    display: inline-block !important;
    padding: 16px 16px 16px 16px !important;
    font-family: "Noto Sans", Sans-serif !important;
    font-size: 17px !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #FFFFFF0A !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    line-height: normal !important;
    background-image: none !important;
    align-items: center !important;
}
.appointlet-button:hover {
    background: linear-gradient(135deg, #0073ba, #f1c40f) !important;
    color: #fff !important;
}


.referral-form-submit-button {
  background-color: #0072c6; /* blue background */
  color: #fff; /* white text */
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 0; /* sharp corners */
  padding: 10px 30px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease;
}

/* Hover effect (optional) */
.referral-form-submit-button:hover {
  background-color: #005da3; /* darker blue on hover */
}

.forminator-ui#forminator-module-2035.forminator-design--basic .forminator-button-submit {
    background-color: #0072c6 !important; /* blue background */
    color: #ffffff !important; /* white text */
    font-size: 16px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 0 !important; /* sharp edges */
    padding: 10px 30px !important;
    cursor: pointer !important;
    text-align: center !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

/* Hover effect */
.forminator-ui#forminator-module-2035.forminator-design--basic .forminator-button-submit:hover {
    background-color: #005da3 !important; /* darker blue on hover */
}


