/*
Theme Name: Bricks Child
Theme URI: https://bricksbuilder.io/
Description: A child theme for Bricks Builder.
Author: Your Name
Author URI: https://yourwebsite.com/
Template: bricks
Version: 1.0
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bricks-child
*/


/* ========== Global Styles ========== */
body {
  overflow-x: hidden;
}

/* ========== Form Focus Styling (Colored Borders by Section) ========== */
.hrms input:not([type="submit"]):focus,
.hrms textarea:focus,
.rcrtmnt input:not([type="submit"]):focus,
.rcrtmnt textarea:focus,
.trng input:not([type="submit"]):focus,
.trng textarea:focus,
.prform input:not([type="submit"]):focus,
.prform textarea:focus,
.pyrol input:not([type="submit"]):focus,
.pyrol textarea:focus,
.attnd input:not([type="submit"]):focus,
.attnd textarea:focus,
.newx input:not([type="submit"]):focus,
.newx textarea:focus {
  color: #202020 !important;
  box-shadow: none !important;
  border-width: 2px !important;
  outline: none !important;
}

.hrms input:focus,
.hrms textarea:focus,
.hrms select:focus {
  border-color: #a644ff !important;
}


/* Basic native select */
.hrms select,
.hrms select:focus,
.hrms select:focus-visible {
  -webkit-appearance: none;    /* remove native styling on WebKit */
  -moz-appearance: none;       /* remove native styling on Firefox */
  appearance: none;
  border: 1px solid #a644ff;   /* base border (optional) */
  outline: none !important;    /* remove default outline */
  box-shadow: none !important;
}

/* Strong purple focus ring + border */
.hrms select:focus,
.hrms select:focus-visible,
.hrms select:active {
  border-color: #a644ff !important;
  /* box-shadow: 0 0 0 4px rgba(166,68,255,0.12) !important; */
  outline: none !important;
}

/* If Bricks or a plugin replaces <select> with a custom element,
   cover several common patterns below. Keep these if you use Select2/Choices/etc. */

/* Select2 single selection */
.hrms .select2-container--default .select2-selection--single:focus,
.hrms .select2-container--default .select2-selection--single:focus-within,
.hrms .select2-container--default .select2-selection--single {
  border-color: #a644ff !important;
  /* box-shadow: 0 0 0 4px rgba(166,68,255,0.12) !important; */
  outline: none !important;
}

/* Choices.js or other custom wrappers that use focus-within */
.hrms .choices__inner:focus,
.hrms .choices__inner:focus-within,
.hrms .choices__inner {
  border-color: #a644ff !important;
  /* box-shadow: 0 0 0 4px rgba(166,68,255,0.12) !important; */
}

/* Bricks custom select wrappers (example selectors) */
.hrms .brx-select,
.hrms .brx-select:focus,
.hrms .brx-select:focus-within {
  border-color: #a644ff !important;
  /* box-shadow: 0 0 0 4px rgba(166,68,255,0.12) !important; */
  outline: none !important;
}

/* Optional: hide the default inner Safari outline but keep keyboard accessibility
   (use only if you verify keyboard focus still visible) */
.hrms select::-moz-focus-inner { border: 0; }


.rcrtmnt input:focus,
.rcrtmnt textarea:focus {
  border-color: #ffc342 !important;
   /* outline: 2px solid #ffc342 !important; 
  outline-offset: 1px !important;       
  border-color: #ddd !important;         */
}

.trng input:focus,
.trng textarea:focus {
  border-color: #30abb1 !important;
}

.prform input:focus,
.prform textarea:focus {
  border-color: #184df0 !important;
}

.pyrol input:focus,
.pyrol textarea:focus {
  border-color: #21af5d !important;
}

.attnd input:focus,
.attnd textarea:focus {
  border-color: #f96a4e !important;
}

.newx input:focus,
.newx textarea:focus {
  border-color: grey !important;
}

/* ========== Animation: Bounce Button ========== */
@keyframes bounce-up-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.btn-bounce {
  animation: bounce-up-down 1.8s ease-in-out infinite;
  display: inline-block;
}

/* ========== Button Styles ========== */
.btn-align-item {
  display: flex;
  align-items: center;
}

.btn-text-color-module {
  color: #fff;
  transition: color 0.3s ease;
}

.btn-text-color-module:hover {
  color: #212121;
  background-color: #fff !important;
}

/* ========== Background Shapes ========== */
.bg-container-mobile-rt {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.diagonal-fill {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #b88ef4, #9c6de9);
  z-index: 0;
  clip-path: polygon(100% 0, 100% 100%, 0% 100%, 0% 0);
  transition: clip-path 1s ease-out;
}

/* Disable clip-path on small screens */
@media (max-width: 768px) {
  .bg-container-mobile-rt {
    clip-path: none;
  }
}

/* ========== Text Badges / Tags ========== */
.text-bg,
.text-bgwhite-perf,
.text-bgwhite-rec,
.text-bgwhite-payroll,
.text-bggreen-payroll,
.text-bgpurple-hr,
.text-bgwhite-attendance,
.text-bgorange-attendance {
  background-color: #fff;
  border-radius: 5px;
  font-weight: 500;
  padding: 2px 8px;
}

.text-bg {
  color: #a644ff;
}
.text-bgwhite-rec {
  color:  #f2b538 !important;
}

.text-bgwhite-perf {
  color: #1053f3;
}

.text-bgwhite-payroll {
  color: #36b37e;
}
.text-bgwhite-training {
  background-color: #00b8d9;
  color: #fff;
  border-radius: 5px;
  padding: 2px;
}
.bgwhite-training2 {
  color: #00b8d9;
  background-color: #fff;
   border-radius: 5px;
  padding: 2px;
}

.text-bggreen-payroll {
  background-color: #36b37e;
  color: #fff;
   border-radius: 5px;
  padding: 2px;
}

.text-bgwhite-freemium {
  background-color: #fff;
  color: #a644ff;
   border-radius: 5px;
  padding: 2px;
}

.text-bgpurple-hr {
  background-color: #a644ff;
  color: #fff;
   border-radius: 5px;
  padding: 2px;
}

.text-bgwhite-attendance {
  color: #5f5f5f;
}

.text-bgorange-attendance {
  background-color: #fe8164;
  color: #fff;
   border-radius: 5px;
  padding: 2px;
}

/* ========== Slider Tweak: Infinite Slide Timing ========== */
.infinite-slide .splide__list {
  transition-timing-function: linear !important;
}

/* ========== Back to Top Button ========== */
.bricks-back-to-top {
  position: fixed;
  bottom:13rem !important;
  right: 1.8rem !important;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-family: 'BagossCondensed-TRIAL-Medium' !important;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2147483647;
}

.bricks-back-to-top:hover {
  background: rgba(0, 0, 0, 0.6);
}

.bricks-back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ========== Error Messages ========== */
.message.error {
  display: none !important;
}

.error-message {
  color: #e63946;
  font-size: 1.2rem;
  margin-top: 0.25rem;
  /* margin-bottom: 0.8rem; */
  line-height: 1.1em;
}

.highlight-error {
  border: 2px solid #e63946 !important;
  background-color: #ffe6e6;
}

/* ========== Dropdown Custom Styling ========== */
.gh-dropdown {
  position: relative;
  display: inline-block;
}

.gh-current-selection {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 5px;
  border-radius: 8px;
  color: #576579;
  font-size: 13px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gh-dropdown.open .gh-current-selection,
.gh-dropdown:hover .gh-current-selection {
  background-color: #f3f4f6;
  color: #1e242c;
}

.gh-arrow {
  transition: transform 0.3s ease;
}

.gh-dropdown[aria-expanded=true] .gh-arrow {
  transform: rotate(180deg);
}

.gh-options {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  background: #fff;
  border: 1px solid #e9e9e9;
  padding: 8px 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  min-width: 124px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gh-dropdown.open .gh-options,
.gh-options.bricks-lazy-hidden {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.gh-options li.menu-item a {
  transition: background-color 0.3s ease;
}

.gh-options li.menu-item.is-active a {
  background-color: #7b7b7b !important;
  color: #fff;
  font-weight: 600;
}

/* ========== Bricks Popup Overrides ========== */
.brxe-popup-53087 .brx-popup-content {
  border-radius: 20px !important;
  background-color: #1e242c00 !important;
}

/* ========== Testimonials: Horizontal Slider Layout ========== */
.testimonial-scroll-section1 {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.horizontal-slider1 {
  position: relative;
  height: 50vh;
  min-height: 520px;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 0%;
}

.testimonial1 {
  position: absolute;
  width: 80vw;
  max-width: 330px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  bottom: 0;
  box-sizing: border-box;
}

/* //////////////////////////theme default styles////////////////////// */
@media (max-width: 1439px) {
  .slider-5 .splide__slide {
    filter: none !important;
    transition: all 0s ease-in;
  }

  /* testimonial */
  .brxe-ehqado .splide__slide {
    height: 52vh !important;
  }
}

/* ========== Responsive Breakpoints Testimonials========== */

@media (max-width: 1599px) {
  .horizontal-slider1 {
    height: 80vh;
  }

  .testimonial1 {
    width: 78vw;
    max-width: 300px;
    font-size: 13.8px;
  }
}

@media (max-width: 1439px) {
  .slider-track {
    height: 0%;
  }

  .horizontal-slider1 {
    height: 50vh !important;
    min-height: 430px !important;
  }

  .testimonial1 {
    width: 76vw;
    max-width: 280px;
    font-size: 13.5px;
  }
}

@media (max-width: 1366px) {
  .error-message {
    font-size: 0.9rem !important;
  }

  .horizontal-slider1 {
    height: 48vh !important;
    min-height: 365px !important;
  }

  .dropdown-error {
    display: none;
    /* hidden by default */
    color: #e63946;
    font-size: 0.9rem !important;
  }

  .dropdown-item p {

    font-size: clamp(0.85rem, 1.2vw, 0.9rem) !important;

  }

  .checkmark {
    display: inline-block;
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 1279px) {
  .testimonial1 {
    width: 85vw;
    max-width: 260px;
    font-size: 13px;
  }

  .horizontal-slider1 {
    height: 100vh;
    min-height: 480px;
  }
}

@media (max-width: 1023px) {
  .testimonial1 {
    width: 90vw;
    max-width: 230px;
    font-size: 12.5px;
  }

  .horizontal-slider1 {
    height: auto;
    min-height: 440px;
    padding: 20px 0;
  }

  .slider-track {
    height: auto;
  }

  .custom-dropdown-button {
    line-height: 1rem ;
  }

}

@media (max-width: 767px) {
  .testimonial-scroll-section1 {
    height: auto;
    padding: 40px 0;
  }

  .horizontal-slider1 {
    height: auto;
    min-height: 420px;
    padding: 30px 0;
  }

  .slider-track {
    height: 100%;
    width: 100%;
    position: relative;
  }

  .testimonial1 {
    width: 92vw;
    max-width: 320px;
    font-size: 12px;
    bottom: auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .testimonial-mob-ver {
    width: 90vw;
    max-width: 330px;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }

  .mobile-testimonials .quotes.brxe-image {
    width: 25px !important;
    height: 25px !important;
    border-radius: 0px !important;
  }

  .mobile-testimonials .tst-5__person__img.brxe-image:not(.tag),
  .tst-5__person__img.brxe-image img {
    object-fit: contain !important;
  }

  .mobile-testimonials .tst-5__person__name.brxe-text-basic {
    line-height: 1.8 !important;
    font-size: 1.5rem !important;
  }

    .custom-dropdown-button {
       
        line-height: 2rem !important;
    }

}

@media (max-width: 1439px) {
  .tst-5.brxe-block {
    align-self: center !important;
    padding: 0 !important;
    text-align: center;
  }

  .tst-5__person__img.brxe-image {
    border-radius: 0px !important;
  }
}

/* ========== Slider Visibility Handling image loading inside slider then hide images untill all images are ready========== */
.brand-slider.splide:not(.slider-ready) {
  opacity: 0;
  visibility: hidden;
}

.brand-slider.splide.slider-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.splide__pagination {
  flex-wrap: nowrap !important;
}

/* //used for properties */
.hide-element-global {
  display: none;
}

/* ///////////////////////////////////////dropdown moduel field/////////////////////// */



.custom-dropdown-container {
  position: relative;
  width: 100%;
}

.custom-dropdown-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.3rem 0.75rem;
  font-size: 1rem;
  background: #ffffffff;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  cursor: pointer;
}

.custom-dropdown-button.hr {
  border: 1px solid #a644ff;
}

.custom-dropdown-button.perform {
  border: 1px solid #3466ff;
}
.custom-dropdown-button.recrut {
  border: 1px solid #f2b538;
}
.custom-dropdown-button.attnd {
  border: 1px solid #ff5722;
}
.custom-dropdown-button.payroll {
  border: 1px solid #21af5d;
}
.custom-dropdown-button.train {
  border: 1px solid #6fccd0;
}



/* Responsive button text */
.custom-dropdown-button .selected-count {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: #9e9e9ecf;
  font-weight: 500;
}

@media(max-width:1366px) {
  .custom-dropdown-button .selected-count {
    font-size: clamp(0.9rem, 1.5vw, 0.8rem) !important;
  }

  .custom-dropdown-button {
    padding: 1.0rem 0.75rem !important;
    line-height: 1rem ;

  }

}

.custom-dropdown-menu {
  display: none;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
   position: absolute !important;
   z-index:10

   


}
.custom-dropdown-container {
  position: relative;
}
.form-group .custom-dropdown-container {
  position: relative !important;
  width: 100%;
}

.custom-dropdown-menu.show {
  

   display: flex;
    flex-wrap: wrap;        /* KEY: allows items to go in rows */
    gap: 8px;               /* spacing between items */
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    position: absolute !important;
    z-index: 10;
    padding: 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
}

/* Dropdown item text responsive */
.dropdown-item p {
  margin: 0;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  line-height: 1.4;
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.checkmark {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
}

.dropdown-item.selected .checkmark {
  background: #007bff;
  border-color: #007bff;
  position: relative;
}

.dropdown-item.selected .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 3px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dropdown-error {
  display: none;
  /* hidden by default */
  color: #e63946;
  font-size: 1.2rem;
  margin-top: 0.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.1em;
}

.dropdown-error.show {
  display: block;
}




/* ///////////////////////////////////// */

@media screen and (max-width: 1355px) and (max-height: 500px) {
  .brxe-popup-56740.brx-popup {
    padding-top: 2%;
    padding-right: 5%;
    padding-bottom: 2%;
    padding-left: 5%;
  }
}


@media (max-width: 1439px) {
    #demo-form-popup select {
        /* padding-right: 11px; */
        /* padding-left: 37px; */
        padding: 10px !important;
        font-size: 8px;
        border-radius: 5px;
        line-height: 2.5;
    }
}


form[data-submitting="true"] button[type="submit"]{
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
/* ///////////////////////////////////////// */
/* hide element globally in us  */
/* Prevent flash while country is being detected */
.geo-loading .ri-business-hours-us,
.geo-loading .ri-business-hours-intl {
    display: none;
}

.ri-business-hours-us,
.ri-business-hours-intl {
    display: none;
}

.geo-us .ri-business-hours-us {
    display: block;
}

.geo-intl .ri-business-hours-intl {
    display: block;
}

.geo-us .hide-in-us {
    display: none !important;
}

body.geo-hide-pk-widgets #wa-toggle-btn {
    display: none !important;
}
/* ///////////////////////////////////////// */