/*
Theme Name: CityOfAthens Child
Theme URI: https://www.cityofathens.gr
Description: Child theme of CityOfAthens theme.
Author: Mindseed
Author URI: https://www.mindseed.gr
Template: Total
Version: 1.0
*/

/*generic rules*/

html body input::placeholder {
  color: rgba(0, 0, 0, 0.60) !important;
}

input::-webkit-input-placeholder { color: rgba(0,0,0,0.60); }
input::-moz-placeholder { color: rgba(0,0,0,0.60); }
input:-ms-input-placeholder { color: rgba(0,0,0,0.60); }
input::placeholder { color: rgba(0,0,0,0.60); }

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: inherit !important;
    transition: background-color 9999s ease-in-out 0s;
}

.context-container {
  max-width: 1324px;
  margin:0 auto;
}

.ellipsis {
    display: -webkit-box !important;
    --numberoflines: 1 !important;
    line-clamp: var(--numberoflines) !important;
    -webkit-line-clamp: var(--numberoflines) !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.ellipsis.two-lines {
    --numberoflines: 2 !important;
}

.page-header {
  margin-bottom: 0;
}

.page-header.background-image-page-header:not(.wpex-supports-mods) .page-header-title {
    font-size: 30px;
    font-weight: 900;
    padding-top: 290px;
}

.breadcrumb-trail .trail-end {
  font-weight: 700;
}

.arrow.white::after {
    filter: invert(100%) sepia(0%) saturate(7467%) hue-rotate(96deg) brightness(113%) contrast(113%);
}

.arrow.red::after {
    filter: invert(21%) sepia(83%) saturate(4413%) hue-rotate(5deg) brightness(106%) contrast(80%);
}

.arrow.blue::after {
    filter: invert(28%) sepia(82%) saturate(1295%) hue-rotate(190deg) brightness(78%) contrast(103%);
}

/*loader on postcards loop*/
.vcex-ajax-loader__overlay {
    background-color: transparent;
}

/* Hide the a11y button by default */
html.hide-a11y-button #ea11y-root {
    display: none !important;
}

/*cookies*/

.cky-btn-revisit-wrapper {
    background: transparent !important;
    width: 76px !important;
    height: 76px !important;

}

.cky-revisit-bottom-left {
    bottom: 130px !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit {
    position: relative;
    width: 76px !important;
    height: 76px !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit::before {
    content: "";
    display: block;
    height: 76px;
    width: 76px;
    background: url("/wp-content/uploads/2025/06/cookies.svg");
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

/*topbar*/

.searchform--classic .searchform-input {
    padding-block-start: .3em;
    padding-block-end: .3em;
}

#top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.breaking {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breaking a {
    font-weight: 700;
}

.twentyfourhours {
    position: relative;
    padding-left: 36px;
}

.twentyfourhours::before {
    content: "";
    display: block;
    height: 28px;
    width: 28px;
    background: url("/wp-content/uploads/2025/06/24h-calls.svg");
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.twentyfourhours::after, .siteindex::after, .searchtoggle::before {
    content: "";
    display: block;
    height: 34.85px;
    width: 1px;
    background: #ffffff36;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 15px;
}

.searchtoggle::before {
    left: 0;
    margin-left: 0px;
}

.topbar-left .phone {
    margin-left: 15px;
}

.siteindex {
    position: relative;
    padding-left: 36px;
}

.siteindex::before {
    content: "";
    display: block;
    height: 26px;
    width: 26px;
    background: url("/wp-content/uploads/2025/06/sites-index.svg");
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.searchtoggle {
    position: relative;
    padding-left: 15px;
}

.searchtoggle a {
    width: 26px;
    height: 26px;
    display: inline-block;
    pointer-events: all;
    z-index: 1;
    position: relative;
}

.searchtoggle::after {
    content: "";
    display: block;
    height: 26px;
    width: 26px;
    background: url("/wp-content/uploads/2025/07/iconsearch.svg");
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
}

.topbar-right .polylang-switcher-shortcode {
    margin-left: 15px;
    margin-right: 20px;
}

/*homepage*/

.home-underhero {
    border-radius: 4px;
}

.iconbox-home .vcex-icon-box-icon {
    border-color: var(--wpex-palette-42-color);
}

.sidebordertext .vcex-heading-inner {
    position: relative;
}

.sidebordertext .vcex-heading-inner::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 33px;
    height: 2px;
    background-color: var(--wpex-palette-44-color);
    left: -50px;
    top: 20px;
}

.sidebordertext .vcex-heading-inner p:not(:last-of-type) {
  margin-bottom: 0;
}

.popsearch-row {
  position: relative;
  background-color: #FFFFFF;
}

.popsearch-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 68%;
  background-color: #F5F7FA;
  z-index: 0;
}

.popsearch-row > * {
  position: relative;
  z-index: 1;
}

.quotext-block {
    height: 221px;
    position: absolute;
    bottom: -50px;
    right: -120px;
}

.quotext-block > div > p {
    width: 300px;
    position: absolute;
    display: inline-block;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.popsearch.heading {
    width: 28%;
}

.popsearch.services, .popsearch.information {
    width: 36%;
}

.popsearch.services .vcex-list_item, .popsearch.information .vcex-list_item {
    position: relative;
}

.popsearch.services .vcex-list-item-inner .vcex-list-item-icon, .popsearch.information .vcex-list-item-inner .vcex-list-item-icon  {
    position: absolute;
    left: 95%;
}

.circleright-btn .wpex-icon {
    border: 1px solid;
    border-radius: 50px;
    margin-right: 10px;
}

.circleright-btn.big .wpex-icon {
    border: 1px solid white;
    border-radius: 50px;
    color: white;
    width: 50px;
    height: 50px;
}

.circleright-btn.big .wpex-icon svg {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(315deg) brightness(106%) contrast(101%);
}

.threeb-row >.vc_column_container {
    padding: 25px !important;
}

.threeb-text {
  min-height: 70px;
}


.vcex-navbar-inner a.vcex-navbar-link {
    border-radius: 50px !important;
    margin-right: 25px;
    font-weight: 800;
}

.vcex-navbar-link--240 {
  color: var(--wpex-palette-13-color) !important;
}

.vcex-navbar-link--238 {
  color: var(--wpex-palette-45-color) !important;
}

.vcex-navbar-link--251 {
  color: var(--wpex-palette-46-color) !important;
}

.vcex-navbar-link--244 {
  color: var(--wpex-palette-47-color) !important;
}

.thematics .vcex-module.vcex-icon-box {
    max-height: 165px;
    min-height: 165px;
    max-width: 185px;
    min-width: 185px;
}

.news-filter-wrapper .vc_col-sm-8 {
    width: 69% !important;
}

#coaAllnews .wpex-carousel__nav {
  top: -35px;
  z-index: 2;
}

#coaAllnews .vcex-post-media {
    background: #f6f7fb;
}

#coaAllnews::before {
    position: absolute;
    width: 100vw;
    height: 120px;
    top: 0;
    display: block;
    background-color: var(--wpex-palette-42-color);
    content: "";
    left: 50%;
    transform: translateX(-50%);
}

#coaAllnews .wpex-post-cards-inner {
  margin-top: -90px;
}

.wpex-carousel__arrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  box-shadow: none !important;
  margin-right:10px;
}

.wpex-carousel__arrow-icon svg {
  width: 50px !important;
  height: 50px !important;
  display: block;
  margin: 0 auto;
}

.news-filter-wrapper {
    z-index: 2;
}

.diavgeia-col {
  max-width: 250px;
}

/*athens in numbers section*/

.wpex-post-cards-template_136651 .wpex-carousel__arrow-icon svg {
    width: 36px !important;
    height: 36px !important;
}

.wpex-post-cards-template_136651 .wpex-carousel__nav {
  margin-top: 0 !important;
}

.ain-counter-wrapper {
  top: -28px;
}

.ain-counter {
    color: var(--wpex-palette-15-color);
    font-family: manrope;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    text-align: left;
    margin-top: 0;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.ain-counter-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.ain-progressbar {
    position: relative;
    width: 288px;
    height: 4px;
    background: var(--wpex-palette-15-color);
    margin: 0;
    border-radius: 2px;
    overflow: hidden;
}

.ain-progressbar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--wpex-palette-44-color);
    width: 0%;
    transition: width 0.3s ease;
}


.draseis-banners .wpex-carousel:where(.arrwpos-abs) .wpex-carousel__arrow--next {
    inset-inline-end: var(--wpex-carousel-arrow-next-right, -100px);
}


.draseis-banners .wpex-carousel:where(.arrwpos-abs) .wpex-carousel__arrow--prev {
    inset-inline-start: var(--wpex-carousel-arrow-prev-left, -100px);
}

.wpex-carousel .mstm-arrow-svg circle,
.wpex-carousel .mstm-arrow-svg path {
  stroke: #F5F7FA;
  fill: transparent;
}

.gold-nav .mstm-arrow-svg circle,
.gold-nav .mstm-arrow-svg path {
  stroke: #A18F5F;
}

.ccvp {
    max-width: 575px;
}

html body .main-navigation .megamenu>.sub-menu {
    margin-left: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    position: fixed;
    top: 170px !important;
}

ul.diavgeia-feed {
  position: relative;
  padding-right: 120px;
  margin-left: -45px;
  list-style: none;
}

ul.diavgeia-feed::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 9px; 
  width: 2px;
  background-color: var(--wpex-palette-44-color); 
  min-height: 912px;
}

li.diavgeia-feed-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 30px;
}

li.diavgeia-feed-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 20px;
    height: 30px;
    background: url('/wp-content/uploads/2025/09/speech-icon.svg') no-repeat center center;
    background-size: contain;
    background-color: #f5f7fa;
}

.diavgeia-feed-item-link {
  font-size: 16px;
  line-height: 24px;
  color: var(--wpex-palette-42-color);
  text-decoration: underline;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  white-space: normal;
}

.diavgeia-feed-item-date {
  font-size: 14px;
  line-height: 20px;
  color: var(--wpex-palette-44-color);
  margin-top: 5px;
}


/*newsletter*/


.newsletter-form p {
    display: flex;
    justify-content: center;
    column-gap: 30px !important;
    flex-direction: row;
}

.newsletter-form .newsletter-input input[type="email"] {
    flex: 1;
    padding: 14px 30px;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    border: none;
    border-radius: 4px;
    outline: none;
    background-color: white;
    color: #2c2c2c;
    min-width: 500px;
}

.newsletter-form .newsletter-input input::placeholder {
  color: #666;
  opacity: 0.8;
}

.newsletter-form .newsletter-submit input[type="submit"] {
    background-color: var(--wpex-palette-13-color);
    color: white;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 19px;
    padding: 14px 80px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form .newsletter-submit input[type="submit"]:hover {
  background-color: #05315d; 
}


/****************************************search area @ hero section ****************************************/

.template-header {
  display: none !important;
}

.home-search::after {
  display: none !important;
}

.home .border-top {
  border-top: 0 !important;
}

.main-header {
  text-align: center;
  margin-bottom: 38px;
  padding: 2rem 0;
}

.main-title, .main-subtitle {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 66px;
  margin: 0;
}

.main-subtitle {
  margin-top: 0.5rem;
}

.search-container {
  max-width: 1056px;
  margin: 0 auto 3rem;
  max-height: 60px;
}

.search-wrapper {
  display: flex;
  background: white;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: box-shadow 0.2s;
  position: relative;
  height: 60px;
}

.search-wrapper:hover {
  box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

.ai-dropdown {
  background: #0D6EFD;
  color: white;
  border: none;
  padding: 0.5rem 2.015rem;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  white-space: nowrap;
  border-radius: 50px;
  max-height: 60px;
  min-width: 235px;
  position: relative;
}

.ai-dropdown:hover {
  background: var(--wpex-palette-13-color);
}

.search-input {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 16px;
  outline: none;
  background: transparent;
  text-align: left;
  padding-left: 70px;
  color: #6b7280 !important;
}

.search-input:focus {
  box-shadow: none;
}

.voice-search {
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: #6b7280;
  font-size: 1.2rem;
  transition: color 0.2s;
  position: relative;
}

.voice-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: 1px solid var(--wpex-palette-49-color);
  border-radius: 50px;
  padding: 0.52rem 0.58rem;
  color: var(--wpex-palette-49-color);
}

.voice-search .ticon-microphone:before {
  content: " ";
  background-image:url("/wp-content/uploads/2025/07/voice-search-icon.svg");
  width: 20px;
  height: 20px;
  display: inline-block;
}

.search-icon, .fixedSearchBarButton {
  background: transparent;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: #00000080;
  font-size: 18px;
  transition: background-color 0.2s;
  position: absolute;
  left: 240px;
}

.form {
  position: relative;
}

.form .fa-search, .fa-times {
  color: white;
}

.form span {
  display: none; 
}

.new-search-container {
  text-align: center;
  margin-bottom: 2rem;
}

.new-search-button {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s;
  background: none;
  border: none;
  padding: 9px 20px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  display: none;
}

.new-search-button:hover {
  opacity: 0.8;
  background-color: rgba(255, 255, 255, 0.3);
}

.frequent-queries-container {
  max-width: 900px;
  margin: 0 auto;
}

.frequent-queries-title {
  display: none;
}

.frequent-queries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.frequent-queries, .frequent-query-pill {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  padding: 0.25rem 1.6rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  display: inline-block;
}

.frequent-queries:hover, .frequent-query-pill:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  color: #374151;
}

.coa-ai {
  margin-top: 100px;
  padding: 2rem 1rem;
}

.home-search .coa-ai {
  display: block;
  position: relative;
  top: 0;
  max-height: none;
  overflow: visible;
}

#aiResult {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

#aiResults, #searchResults {
  max-width: 1000px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: none;
  color: #666;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

#aiResults.active {
  display: block;
  background: #7cbae440;
}

#loadingIndicator {
  display: none;
  text-align: center;
  margin-top: 2rem;
}

#loadingIndicator p {
  font-size: 20px;
}

.spinner-border {
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
  color: var(--wpex-palette-42-color) !important;
  margin-left: auto;
  margin-right: auto;
  border-top: 0.25rem solid var(--wpex-palette-42-color);
  border-bottom: 0.25rem solid var(--wpex-palette-42-color);
  border-right: 0.25rem solid var(--wpex-palette-42-color);
}

.toggleContainer {
  display: none !important;
}

.toggleSwitch,
.toggleSwitch * {
  display: none !important;
}

.search-result {
  margin-bottom: 35px;
}

.search-result a {
  color: var(--wpex-palette-13-color);
}

.search-result h3 {
  font-size: 16px;
  font-weight: 600;
}

.search-result p {
  font-size: 16px;
}

.ai-link {
  color: var(--wpex-palette-13-color) !important;
}

.no-results {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
}

.coa-logo {
  max-width: 300px !important;
  margin: 30px 0px;
}

.coa-logo-outer {
  position: relative;
  margin: 0px auto 10px auto;
  display: inline-block;
}

.link-container {
  font-size: 12px;
  padding: 0px;
  transition: all 0.3s ease-in-out;
  height: 0px;
  opacity: 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 2;
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
}

.link-container.out-of-bounds {
  right: 0; 
  transform: translateX(-100%); 
}

.link-container.open {
  height: 70px;
  opacity: 1;
  width: 300px;
  background: white;
  padding: 14px;
  border: 1px solid #dadce0;
  border-radius: 14px;
  margin: 10px 0;
  line-height: 2;
}

.md-link::before {
  content: "";
  background-image: url("/wp-content/uploads/2025/07/link.svg");
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

i.md-link {
  background: #c2e7ff;
  padding: 8px 6px;
  border-radius: 50%;
  font-size: 13px;
  width: 24px;
  height: 24px;
  display: block;
  position: relative;
}

.link-icon {
  margin-left: 3px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.loader {
  height: 15px;
  border-radius: 10px;
  width: 40%;
  --c: no-repeat linear-gradient(#004190 0 0);
  background: var(--c),var(--c),#dae0f1;
  background-size: 60% 100%;
  animation: l16 3s infinite;
}

#loadingIndicator {
  margin-top: 30px;
}

#loadingIndicator p {
	font-size: 20px;
	color: var(--wpex-palette-42-color);
}

#aiResults.active p a.ailink {
  color: var(--wpex-palette-42-color);
}

#feedback-buttons {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

#feedback-buttons span {
  margin-right: 10px;
}

.feedback-button {
  color: var(--wpex-palette-41-color);
  border: 1px solid transparent;
  background: none;
}

.feedback-button:not([disabled]):hover, .feedback-button.selected {
  color: var(--wpex-palette-42-color);
}

.feedback-button.selected {
  border: 1px solid var(--wpex-palette-13-color) !important;
}

.feedback-button[disabled] {
  opacity: 0.8;
  pointer-events: none;
  border: 1px solid #dadce0;
}

.hidden-rec {
  display: none;
}

.open-rec {
  display: flex;
}

#recording-container {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#stop-recording {
  background-color: transparent;
  color: white;
  font-size: 40px;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 15px;
}

.circle-wrapper {
  position: relative;
  height: 100%;
}

#circle {
  width: 100px;
  height: 100px;
  background-color: var(--wpex-palette-49-color);
  border-radius: 50%;
  transition: transform 0.1s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

#inner-circle {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99999999999999;
  transform: translate(-50%, -50%);
}

.circle-microphone {
  font-size: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--wpex-palette-49-color);
}

.ai-dropdown i.ticon {
  position: absolute;
  left: 84%;
}

/*search page*/

.searchpage.coa-ai {
  margin-top: 0;
}

.searchpage .main-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  column-gap: 15px;
}

.searchpage .main-title {
  color: var(--wpex-palette-42-color);
  font-size: 44px;
  font-weight: 800;
  line-height: 56px;
}

.beta {
  font-size: 12px;
  font-weight: 500;
  color: var(--wpex-palette-41-color);
  background-color: var(--wpex-palette-37-color);
  border-radius: 6px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.searchpage .search-wrapper {
  box-shadow: unset;
  border: 1px solid var(--wpex-palette-41-color);
}

.searchpage .frequent-queries-container span {
  color: var(--wpex-palette-13-color);
  font-weight: 700;
  font-size: 19px;
}

.searchpage .frequent-queries, .searchpage .frequent-query-pill {
  background: var(--wpex-palette-13-color);
  color: white;
}

.ai-generated {
  font-size: 13px;
  color: var(--wpex-palette-41-color);
  margin: 20px 0;
}

.searchpage .results-container h2 {
  font-size: 22px;
  color: var(--wpex-palette-13-color);
  margin: 0;
  margin-bottom: 20px;
}

.searchpage .results-container .p,
.searchpage .results-container .ps-4,
.searchpage .results-container .mt-3,
.searchpage .results-container div {
  font-size: 18px;
  color: var(--wpex-palette-41-color);
} 

/************************************* custom-off-canvas *************************************/
.off-canvas-sidepanel-toggler {
	position: fixed;
	top: auto;
	bottom: 230px;
	right: 0;
	outline: none;
	border: none;
	height: 68px;
	width: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
	z-index: 4;
	background: none;
}

.off-canvas-sidepanel-toggler::before {
	position: absolute;
	background-size: cover;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-image: url(/wp-content/uploads/2025/09/off-canvas-sidepanel-icon.png);
	content: "";
	display: block;
}

.off-canvas-sidepanel-toggler .wpex-hamburger-icon {
	width: 0;
}


/************************************* chatbot *************************************/

body.locked {
    overflow: hidden !important;
    position: relative
}

body.locked::before {
    background-color: rgba(0,0,0,.20);
}

.chatbot-toggler {
    position: fixed;
    top: auto;
    right: 20px;
    outline: none;
    border: none;
    height: 68px;
    width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wpex-palette-49-color);
    transition: all 0.2s ease;
    z-index: 4;
    bottom: 138px;
}


.chatbot-helper {
    position: fixed;
    bottom: 148px;
    right: 95px;
    z-index: 3;
    background-color: white;
    border: 1px solid var(--wpex-palette-49-color);
    border-radius: 4px;
    border-bottom-right-radius: 0px;
    transition: 0.3s transform ease-in-out, 0.3s opacity ease-in-out;
}

.chatbot-helper.hide, .chatbot-helper.hide .chatbot-helper-text, .chatbot-helper.hide .chatbot-helper-close {
    opacity: 0;
    pointer-events: none;
    transform: translateY(150px);   
}


button.chatbot-helper-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--wpex-palette-49-color);
    border: none;
    background: transparent;
    padding: 6px 29px;
    transition: 0.3s transform ease-in-out, 0.3s opacity ease-in-out;
}

button.chatbot-helper-close {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: none;
    background: var(--wpex-palette-134838-color);
    cursor: pointer;
    appearance: none;
    display: block;
    position: absolute;
    padding: 0;
    font-size: 20px;
    line-height: 20px;
    top: -8px;
    left: -8px;
    transition: 0.3s transform ease-in-out, 0.3s opacity ease-in-out;
    color: #ffffff;
}

button.chatbot-helper-close.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(150px);
}

.chat-open-icon {
    position: relative;
    width: 36px;
    height: 36px;
}

.chat-open-icon::before {
    position: absolute;
    background-size: 36px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/chatbot.svg);
    content: "";
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: unset;
    align-items: unset;
    justify-content: unset;
    padding: 16px;
    z-index: 1000;
}

#chatbotModal .modal-content {
    background: transparent;
    border-radius: none;
    box-shadow: none;
    width: 100%;
    max-width: unset;
    max-height: unset;
    display: block;
    flex-direction: unset;
    border: 0;
}


#chatbotModal {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 100vw;
    width: 400px;
    height: 100vh;
    background-color: white;
    padding: 0;
    z-index: 1000;
    transition: 0.3s transform ease-in-out, 0.3s opacity ease-in-out;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

div#chatbotModal.active {
    opacity: 1;
    transform: translateX(-400px);
    display: block;
}

#chatbotModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    flex-direction: column;
    margin-bottom: 36px;
    background-color: #F5F7FA;
    box-shadow: 0px 4px 10px 0px #81818130;
    border: none;
}

#chatbotModal .header-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#chatbotModal .header-back-btn {
    background: #B4CBED50;
    position: relative;
    border: none;
    cursor: pointer;
    padding: 1px 16px;
    border-radius: 16px;
}

#chatbotModal .header-back-btn:hover {
   background-color: #B4CBED90;
}

#chatbotModal span.back-txt {
    font-size: 14px;
    padding-left: 8px;
    color: var(--wpex-palette-13-color);
    font-weight: 500;
}

#chatbotModal .header-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#chatbotModal .left-buttons {
    display: flex;
    align-items: center;
}

#chatbotModal .right-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

#chatbotModal .header-back-container {
    display: none;
}

#chatbotModal .back-icon {
    position: relative;
}

#chatbotModal .back-icon::before {
    display: block;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/back-btn.svg);
    width: 17px;
    height: 10px;
    content: "";
    background-repeat: no-repeat;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

#chatbotModal .header-back-container.show {
    display: block;
}

#chatbotModal .header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

#chatbotModal .header-title h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--wpex-palette-13-color);
    margin: 0;
}

#chatbotModal button#infoIcon {
    width: 19px;
    height: 19px;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/info.svg);
}

#chatbotModal .info-icon-container {
    position: relative;
}

#chatbotModal .info-icon {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbotModal .info-icon:hover {
    background-color: #eff6ff;
}

#chatbotModal .info-popup {
    position: absolute;
    top: 100%;
    left: calc(50% - 60px);
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    width: 298px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    display: none;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

#chatbotModal .info-popup p {
    font-family: "Manrope", sans-serif !important;
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 30px;
    margin-top: 10px;
}

#chatbotModal .info-popup p:last-child {
    margin-bottom: 0;
}

#chatbotModal .info-popup .disclaimer {
    background-color: #0D6EFD10;
    padding: 16px 14px 16px 14px;
    border-radius: 2%;
    color: var(--wpex-palette-42-color);
}

#infoPopup.chat-mode {
    left: calc(50% - 100px);
}

#chatbotModal .reset-btn {
    display: none;
    position: relative;
    width: 18px;
    height: 18px;
    padding: 8px;
    border-radius: 4px;
    border:none;
    cursor: pointer;
}

#chatbotModal .reset-btn::before {
    display: block;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/reset-icon.svg);
    width: 18px;
    height: 18px;
    content: "";
    background-repeat: no-repeat;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}


#chatbotModal .reset-btn:hover::before {
    filter: brightness(0) saturate(100%) invert(14%) sepia(88%) saturate(5392%) hue-rotate(200deg) brightness(93%) contrast(101%);
}

#chatbotModal .close-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.2s ease;
    line-height: 0;
}

#chatbotModal #closeBtn svg {
    width: 27px;
    height: 27px;
    color: var(--wpex-palette-42-color);
}

#chatbotModal #closeBtn:hover svg {
    color: var(--lightblue);
}

#chatbotModal .search-section {
    position: relative;
    width: 100%;
    margin: 20px 0 0;
}

#chatbotModal .search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: var(--wpex-palette-36-color);
    outline: none;
    transition: border-color 0.2s ease;
}

#chatbotModal .search-input:focus {
    border-color: #3b82f6;
    background-color: white;
}

#chatbotModal .search-input::placeholder {
    color: #9ca3af;
}

#chatbotModal .send-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

#chatbotModal .send-btn:hover {
    color: #2563eb;
}

#chatbotModal .main-categories {
    padding: 0 24px 24px 24px;
    flex: 1;
    overflow: hidden;
}

#chatbotModal .main-categories h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wpex-palette-36-color);
    margin-bottom: 16px;
    margin-top: 16px;
}

#chatbotModal .main-categories .category-item:first-of-type {
    background-color: #0D6EFD10;
}

#chatbotModal .main-categories .category-item:last-of-type {
    background-color: #45409510;
}

#chatbotModal .main-categories .category-item:first-of-type:hover {
    background-color: #0D6EFD20;
}

#chatbotModal .main-categories .category-item:last-of-type:hover {
    background-color: #45409520;
}

#chatbotModal .category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
}

#chatbotModal .category-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

#chatbotModal .category-icon {
    padding: 12px;
    border-radius: 8px;
    flex-shrink: 0;
}

#chatbotModal .services-icon {
    background-color: #dbeafe;
    color: #2563eb;
}

#chatbotModal .information-icon {
    background-color: #45409510 !important;
}

#chatbotModal .services-icon,
#chatbotModal .information-icon {
    position: relative;
    width: 36px;
    height: 36px;
    background-color: #0D6EFD10;
    border-radius: 0;
}

#chatbotModal .services-icon::before,
#chatbotModal .information-icon::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 17px;
    background-repeat: no-repeat;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/services-icon.svg);
    content: "";
    display: block;
}

#chatbotModal .information-icon::before {
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/updates-icon.svg);
    width: 24px;
    height: 23px;
}

#chatbotModal .category-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

#chatbotModal .category-text p {
    font-family: "Manrope", sans-serif !important;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

#chatbotModal .chevron {
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

#chatbotModal .category-item:hover .chevron {
    color: #6b7280;
}

#chatbotModal .subcategories {
    padding: 0 24px 24px 24px;
    flex: 1;
    overflow: hidden;
}

#chatbotModal .subcategory-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: 16px;
}

#chatbotModal .back-btn {
    position: relative;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

#chatbotModal .back-btn::before {
    display: block;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/back-btn.svg);
    width: 17px;
    height: 10px;
    content: "";
    background-repeat: no-repeat;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    filter: brightness(0) saturate(100%);
}

#chatbotModal .back-btn:hover {
    color: #374151;
    background-color: #f9fafb;
}

#chatbotModal .subcategory-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wpex-palette-36-color);
    margin: 0;
}

#chatbotModal .subcategory-list {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

#chatbotModal .subcategory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #F5F7FA;
    transform: translateY(3em);
    animation: totop 300ms forwards;
    opacity: 0;
    width: 100%;
}

#chatbotModal .subcategory-item:hover {
    background-color: #f9fafb;
}

#chatbotModal .subcategory-item span {
    color: var(--wpex-palette-42-color);
    font-size: 14px;
    font-weight: 400;
}

#chatbotModal .subcategory-item .chevron {
    color: var(--wpex-palette-42-color);
    transition: color 0.2s ease;
}

#chatbotModal .subcategory-item:hover .chevron {
    color: #6b7280;
}

#chatbotModal .subcategory-item:nth-of-type(1) {
        animation-delay: 100ms;
}

#chatbotModal .subcategory-item:nth-of-type(2) {
    animation-delay: 200ms;
}

#chatbotModal .subcategory-item:nth-of-type(3) {
    animation-delay: 300ms;
}

#chatbotModal .subcategory-item:nth-of-type(4) {
    animation-delay: 400ms;
}

#chatbotModal .subcategory-item:nth-of-type(5) {
    animation-delay: 500ms;
}

#chatbotModal .subcategory-item:nth-of-type(6) {
    animation-delay: 600ms;
}

#chatbotModal .subcategory-item:nth-of-type(7) {
    animation-delay: 700ms;
}


#chatbotModal .subcategory-item:nth-of-type(8) {
    animation-delay: 800ms;
}


#chatbotModal .subcategory-item:nth-of-type(9) {
    animation-delay: 900ms;
}


#chatbotModal .subcategory-item:nth-of-type(10) {
    animation-delay: 1s;
}


/* Chat Messages Area */
#chatbotModal .chat-mode-container {
    display: none;
}

#chatbotModal .message-input-section {
    display: none;
    width: 100%;
    background-color: #F5F7FA;
    min-height: 210px;
    position: absolute;
    bottom: 0;
    align-items: center;
    flex-direction: column;
    justify-items: flex-start;
    justify-content: center;
}

#chatbotModal .message-input-section textarea.search-input {
    background-color: white;
    min-height: 130px;
    max-height: 130px;
    width: 100%;
    max-width: 352px;
    padding: 20px;
    font-size: 14px;
    resize: none;
    color: var(--wpex-palette-36-color);
}

#chatbotModal .message-input-section textarea.search-input:focus {
    border-color: #3b82f6;
    background-color: white;
}

#chatbotModal .message-input-section .send-btn {
    left: calc(100% - 70px);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
    bottom: 25px;
    right: unset;
    top: unset;
}

#chatbotModal .chat-messages {
    flex: 1;
    padding: 16px 20px 0 24px;
    display: none;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

#chatbotModal .message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

#chatbotModal .message.user {
    align-items: flex-end;
}

#chatbotModal .message.assistant {
    align-items: flex-start;
    position: relative;
}

#chatbotModal .message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

#chatbotModal .message.user .message-content {
    background-color: var(--wpex-palette-13-color);
    color: white;
    border-radius: 8px;
    border-bottom-right-radius: 0px;
}

#chatbotModal .message.assistant .message-content {
    background-color: #F5F7FA;
    color: var(--wpex-palette-36-color);
    border-radius: 8px;
    border-bottom-left-radius: 0px;
    margin-left: 10px;
}

#chatbotModal .message-content a {
    color: inherit;
    text-decoration: underline;
}

#chatbotModal .message.user .message-content a {
    color: #bfdbfe;
}

#chatbotModal .message.assistant .message-content a {
    color: var(--wpex-palette-49-color);
    text-decoration: none;
}

#chatbotModal .message.assistant .message-content a:hover {
    text-decoration: underline;
}

#chatbotModal .chatbot-icon {
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background-color: var(--wpex-palette-13-color);
    border-radius: 4px;
}

#chatbotModal .chatbot-icon::before {
    display: block;
    background-image: url(/wp-content/themes/total-child-theme/assets/AI/images/chatbot.svg);
    width: 12px;
    height: 12px;
    content: "";
    background-repeat: no-repeat;
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

#chatbotModal .chat-messages {
    flex: 1;
    padding: 16px 20px 0 40px;
    display: none;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
}

#chatbotModal .typing-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #f3f4f6;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    max-width: 80%;
    margin-bottom: 16px;
    margin-left: 22px;
}

#chatbotModal .typing-dots {
    display: flex;
    gap: 4px;
}

#chatbotModal .typing-dot {
    width: 8px;
    height: 8px;
    max-width: 8px;
    max-height: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

#chatbotModal .typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

#chatbotModal .typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scrollbar styling */
#chatbotModal .subcategory-list::-webkit-scrollbar {
    width: 6px;
}

#chatbotModal .subcategory-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

#chatbotModal .subcategory-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#chatbotModal .subcategory-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/*********************** footer ************************/

.hasicon.extlink a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hasicon.extlink span {
    order: 2;
}

#footer .footer-box ul li {
    margin-bottom: 15px;
}

.footer-cola-text {
    display: block;
    margin-bottom: 22px;
}

.footer-cola-text a {
    display: block;
    margin-top: 10px;
}

.footer-cola-text a.heading {
    color: var(--wpex-palette-43-color);
}

span.espa-text {
    font-size: 10px;
    display: block;
}

.needhelp p {
    line-height: 24px;
}

div#footer-inner {
    padding-top: 10px !important;
}

.footer-cola-text a.haspad {
    padding-right: 80px;
}


.vcex-social-links__item.wpex-houzz .vcex-social-links__icon svg {
  display: none; 
}

.vcex-social-links__item.wpex-houzz .vcex-social-links__icon {
  background-image: url('/wp-content/uploads/2025/09/messenger.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  width: 22px;
  height: 22px;
  display: inline-block;
  line-height: 1;
}

.vcex-social-links__item.wpex-houzz .vcex-social-links__icon.wpex-icon {
  vertical-align: middle;
}

.footer-cold-text {
    display: flex;
}

.footer-cold-text .icon {
    position: relative;
    display: flex;
}

.footer-cold-text a {
    margin-left: 30px;
    margin-bottom: 30px;
}

.icon.icon-chat::before {
    background-image: url("/wp-content/uploads/2025/09/mobile-message.svg");
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    top: 2px;
    position: absolute;
}


.icon.icon-question::before {
    background-image: url("/wp-content/uploads/2025/09/contact-support.svg");
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    top: 2px;
    position: absolute;
}


.icon.icon-rdv::before {
    background-image: url("/wp-content/uploads/2025/09/calendar-rdv.svg");
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    top: 5px;
    position: absolute;
}


/*services page*/

.services-search-wrapper h2 {
  font-size: 24px;
  font-weight: 900;
  font-family: "Manrope", sans-serif;
  text-align: center;
  margin-bottom: 10px;
  color: var(--wpex-palette-42-color);
}

.services-search-wrapper p {
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--wpex-palette-41-color);
}


.services-search-wrapper {
  background-color: white;
  padding: 80px 0;
}

.search-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}

.dropdown-wrap {
  position: relative;
}

.dropdown-toggle {
  background-color: var(--wpex-palette-13-color);
  color: white;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  padding: 20px;
  z-index: 100;
  min-width: 300px;
}

.searchbar-wrap {
  position: relative;
  max-width: 550px;
  width: 100%;
}

#serviceSearchInput {
  width: 100%;
  padding: 14px 20px;
  padding-left: 50px;
  font-size: 16px;
  font-family: "Manrope", sans-serif;
  border: 1px solid var(--wpex-palette-13-color);
  border-radius: 4px;
}

.coa-services-search .search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #aaa;
}

.service-group {
  margin-bottom: 50px;
  background-color: #f8f9fb;
  border-radius: 8px;
  padding: 30px;
  border: 1px solid #e0e0e0;
}

.service-group-title {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--wpex-palette-42-color);
  position: relative;
  cursor: pointer;
}

.service-group-title::after {
  content: "\25BC";
  position: absolute;
  right: 0;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-group-title.collapsed::after {
  transform: rotate(180deg);
}

.service-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-left: 20px;
  margin-top: 15px;
}

.service-entry a {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--wpex-palette-13-color);
  text-decoration: underline;
  display: inline-block;
}

.service-entry span.status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  line-height: 1;
  vertical-align: middle;
}

.service-entry span.status.online {
  background-color: #11b550;
  color: white;
}

.service-entry span.status.offline {
  background-color: #cf6c08;
  color: white;
}

#service-search-results {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.topbordertext span {
    position: relative;
}

.topbordertext span::before {
    content: "";
    height: 3px;
    width: 55px;
    background-color: var(--wpex-palette-44-color);
    display: block;
    position: absolute;
    top: -5px;
}

.nrwicon {
  margin-bottom: 20px;
  position: relative;
}

.nrwicon .wpex-icon {
  position: relative;
}

.nrwicon .wpex-icon::before {
    background-color: #45409552;
    content: "";
    width: 45px;
    height: 45px;
    display:block;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.gamos-icon .wpex-icon::before {
    background-color: #45409552;
}

.daktilios-icon .wpex-icon::before {
    background-color: #ED1C2D52;
}

.kok-icon .wpex-icon::before {
    background-color: #0A828F52;
}

.file-icon .wpex-icon::before {
    background-color: #0D6EFD52;
    height: calc(100% + 25px);
}

.euro-icon .wpex-icon::before {
    background-color: #AA223952;
}

.custom-icon-payment .wpex-icon::before {
    background-color: #A18F5F52;
    height: calc(100% + 25px);
}

.nrwicon.euro-icon {
    display: flex;
    left: -15px;
    top: 5px;
}

.nrwicon.euro-icon .vcex-icon-box-symbol {
  margin-right: 4px;
}

.nrwicon h2 {
  margin-bottom: 0;
}

.nrwicon.file-icon {
    top: 3px;
}

.nrwicon.custom-icon-payment {
  top: 20px;
}


/*services search*/

.coa-services-search .input-wrapper {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  background-color: white;
}

.coa-services-search .dropdown-button {
    background-color: var(--wpex-palette-49-color);
    color: white;
    padding: 16px 24px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coa-services-search .dropdown-button .arrow::after,
.coa-services-controls .filter-dropdown .arrow::after,
.coa-services-controls .coa-toggle-switch .arrow::after {
    content: "";
    background-image: url("/wp-content/uploads/2025/09/arrow-outlined.svg");
    margin-left: 8px;
    font-size: 12px;
    width: 20px;
    height: 10px;
    display: inline-block;
}

.toggle-switch-button[data-state="expanded"] .arrow::after {
  transform: rotate(-180deg);
}


.coa-services-search .dropdown-menu {
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  width: 100%;
}

.coa-services-search .dropdown-menu.open {
  display: block;
}


.coa-services-search .dropdown-item {
  padding: 12px 24px;
  cursor: pointer;
  font-size: 15px;
}

.coa-services-search .dropdown-item:hover {
  background-color: #f0f0f0;
}

.coa-services-search .search-input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.coa-services-search .search-input input[type="text"] {
    border: none;
    outline: none;
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    width: 100%;
    padding: 16px 20px 16px 40px;
    background-color: white;
    color: #2c2c2c;
}

.coa-services-search .search-icon {
    position: absolute;
    left: 20px;
    font-size: 16px;
    width: 21px;
    height: 20px;
    background-image: url("/wp-content/uploads/2025/07/iconsearch.svg");
    filter: invert(40%) sepia(0%) saturate(1044%) hue-rotate(194deg) brightness(94%) contrast(90%);
    background-repeat: no-repeat;
    top: 56%;
}

.coa-services-search .search-icon.has-text {
    background-image: url("/wp-content/uploads/2025/09/search-close.svg");
    top: 62%;
    left: 24px;
}

/*services controls*/

.coa-services-controls {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin: 0 auto;
    flex-wrap: wrap;
    max-width: 1320px;
}

.coa-services-controls .filter-dropdown {
  position: relative;
}

.coa-services-controls .filter-button {
    background-color: var(--wpex-palette-15-color);
    color: var(--wpex-palette-134838-color);
    border-radius: 25px;
    padding: 6px 24px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    border: none;
}

.coa-toggle-switch .toggle-switch-button {
    background-color: var(--wpex-palette-15-color);
    color: var(--wpex-palette-13-color);
    border: none;
    border-radius: 25px;
    padding: 6px 24px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.coa-services-controls .filter-options {
  display: none; /* JS will toggle this */
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  z-index: 1000;
  width: 220px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.coa-services-controls .filter-option {
  padding: 12px 20px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  color: var(--wpex-palette-13-color);
  cursor: pointer;
}

.coa-services-controls .filter-option:hover {
  background-color: #f0f0f0;
}


/*service groups*/

.coa-sg-flag.is-offline {
  background-color: #FFE0DB !important;
  color: #ED1C2D !important;
}

.coa-sg-flag.is-offline .wpex-icon svg {
  fill: #ED1C2D !important;
}

.coa-sg-flag {
  max-width: 90px;
}

.coa-sg-title::before {
    content: "";
    background-image: url(/wp-content/uploads/2025/09/arrow-outlined.svg);
    width: 20px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 8px;
    transform: rotate(-90deg);
    filter: invert(41%) sepia(0%) saturate(1284%) hue-rotate(213deg) brightness(92%) contrast(85%);
}

.coa-sg-title {
    position: relative;
    padding-left: 30px;
}

.coa-sg-title .vcex-page-title__heading {
  text-decoration: underline;
}

.coa-services-search .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-height: calc(100vh - 500px);
    overflow: auto;
}


/*toggle service groups*/

.coa-sg-group {
  position: relative;
}

.coa-sg-group.is-collapsed .coa-sg-services {
  display: none;
}
.coa-sg-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coa-sg-group .group-toggler-wrapper {
  cursor: pointer;
}

.coa-sg-group .group-toggler svg {
  transform: rotate(-180deg);
}


.coa-sg-group.is-collapsed .group-toggler svg {
  transform: rotate(0deg);
}

.coa-services-search .dropdown-item.show-all {
    font-weight: bold;
    color: var(--wpex-palette-49-color);
}



/*#################################################################### responsive ################################################################*/

@media (max-width: 1680px) {
  .main-title, .main-subtitle {
    font-size: 2.5rem;
  }
}

@media (max-width: 1024px) {
  #aiResults, #searchResults {
    max-width: 100%;
    margin: 1rem;
    padding: 1rem;
  }
  
  .main-title, .main-subtitle {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .main-title, .main-subtitle {
    font-size: 1.8rem;
  }

  .search-wrapper {
    flex-direction: column;
    border-radius: 1rem;
  }

  .ai-dropdown {
    border-radius: 0;
    justify-content: center;
  }

  .search-input {
    height: 50px;
  }

  .frequent-queries-list {
    flex-direction: column;
    align-items: center;
  }

  .frequent-queries, .frequent-query-pill {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  #aiResults {
    display: none;
  }

  .search-controls {
    flex-direction: column;
    align-items: center;
  }

  .service-entry {
    flex-direction: column;
    gap: 10px;
  }

  .service-group {
    padding: 20px;
  }
}


@media (max-width: 600px) {
  .coa-ai {
    padding: 1rem;
  }
  
  .main-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
}

@media (max-width: 500px) {
  .main-title, .main-subtitle {
    font-size: 1.5rem;
  }
  
  .search-container {
    margin-bottom: 2rem;
  }
  
  .coa-ai {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {

    #chatbotModal .message-input-section textarea.search-input {
        max-width: calc(100vw - 40px);
        min-height: 100px;
    }

    #chatbotModal .message-input-section {
        min-height: 150px;
    }

    #chatbotModal .modal-header {
        padding: 20px 20px 16px 20px;
        margin-bottom: 10px;
    }

    #chatbotModal .header-title h2 {
        font-size: 18px;
    }

    #chatbotModal .info-popup {
        width: 280px;
    }

    #chatbotModal {
        height: 100vh;
        width: 100vw;
    }

    #chatbotModal .modal-content {
        height: 100vh;
    }

    #chatbotModal .modal-content.chat-mode {
        height: calc(100vh - 240px);
    }

    div#chatbotModal.active {
        transform: translateX(-100vw); 
    }

    #chatbotModal .subcategories {
        overflow: auto;
        
    }

    #chatbotModal .chat-mode-container {
        max-height: calc(100vh - 280px);
        overflow: auto;
    }

    #chatbotModal input, #chatbotModal textarea {
        font-size: 16px;
    }

   #chatbotModal .chat-messages {
        max-height: 100vh;
    }

    #chatbotModal .subcategory-list {
        max-height: calc(100vh - 330px);
        overflow-y: auto;
  }

}

/*********************** animations ***************************/

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes l16 {
  0% {
    background-position: -150% 0,-150% 0;
  }
  66% {
    background-position: 250% 0,-150% 0;
  }
  100% {
    background-position: 250% 0, 250% 0;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes totop {
  0% {
      opacity: 0;
      transform: translateY(3em);
    }
  100% {
      opacity: 1;
      transform: translateY(0em);
    }
}

