.layout { padding: 50px; font-family: Georgia, serif; }
	 .layout-slider { margin-bottom: 60px; width: 50%; }
	 
	 fieldset.scheduler-border {
    border: 1px groove #ddd !important;
	border-radius: 5px;
    padding: 0 1.4em 1.2em 1.4em !important;
    margin: 0 0 0 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}
legend.scheduler-border {
        font-size: 1em !important;
        font-weight: bold !important;
        text-align: conter !important;
        width:auto;
		margin:5px;
        padding:0 20px;
        border-bottom:none;
    }

    h2.st {
      overflow: hidden;
      text-align: center;
    font-weight:normal;
    font-size:1.5em;
    text-transform:uppercase;
  }
  h2.st:before,
  h2.st:after {
      background-color: #000;
      content: "";
      display: inline-block;
      height: 1px;
      position: relative;
      vertical-align: middle;
      width: 50%;
  }
  h2.st:before {
      right: 0.5em;
      margin-left: -50%;
  }
  h2.st:after {
      left: 0.5em;
      margin-right: -50%;
  }

  .table td {
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: normal;
  }

  .swal-wide{
    width:120em !important;
}

.tab-content {
  border-left: #DEE2E6 1px solid;
  border-right: #DEE2E6 1px solid;
  border-bottom: #DEE2E6 1px solid;
  padding:5px;
}

.no-margin {
  margin:0 !important;
}

@media only screen and (max-width: 500px) {
  .nav-item-custom {
    width:100% !important;
    display: block;
    margin-bottom: 10px !important;
  }

  .nav-link-custom {
    width:100% !important;
    display: block;
    border-bottom-color:#DEE2E6 !important;
    border-bottom: 1px solid;
    border-radius:0.25em !important;
  }
  .tab-content {
    border: #DEE2E6 1px solid;
  }
}

.va {
  vertical-align:middle !important;
}

/* Chat */

    .chat-window {
      width: 100%;
      max-width: 100%;
      height: 100%;
      border-radius: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: #f8f9fa;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    }
    .chat-header {
      background: #075E54;
      color: #fff;
      padding: 10px 12px;
      display: flex;
      align-items: center;
    }
    .chat-header .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #25D366;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      font-weight: 700;
    }
    .chat-header .title { font-weight: 600; }
    .chat-header .subtitle { font-size: 12px; opacity: 0.9; }
    .chat-body {
      flex: 1 1 auto;
      padding: 16px;
      background: linear-gradient(180deg,#e6f7ef 0,#ffffff 100%);
      overflow-y: auto;
    }
    .msg-wrap { display: flex; align-items: flex-end; margin-bottom: 10px; }
    .msg-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #ddd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      margin: 0 6px;
      flex-shrink: 0;
    }
    .msg {
      max-width: 70%;
      padding: 8px 12px;
      border-radius: 18px;
      position: relative;
      line-height: 1.3;
      font-size: 14px;
    }
    .msg .time { display:block; font-size: 10px; opacity: 0.75; margin-top:6px; }
    .msg.received { background: #fff; margin-right: auto; border-top-left-radius: 4px; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
    .msg.received:before {
      content: "";
      position: absolute;
      left: -6px;
      bottom: 0;
      width: 0; height: 0;
      border: 6px solid transparent;
      border-right-color: #fff;
      border-bottom: 0;
      margin-bottom: -2px;
    }
    .msg.sent { background: #dcf8c6; margin-left: auto; border-top-right-radius: 4px; }
    .msg.sent:before {
      content: "";
      position: absolute;
      right: -6px;
      bottom: 0;
      width: 0; height: 0;
      border: 6px solid transparent;
      border-left-color: #dcf8c6;
      border-bottom: 0;
      margin-bottom: -2px;
    }
    .chat-input {
      border-top: 1px solid rgba(0,0,0,0.08);
      padding: 10px;
      background: #fafafa;
    }
    .input-row { display:flex; align-items: center; }
    .input-row textarea {
      resize: none;
      border-radius: 18px;
      padding: 8px 12px;
      border: 1px solid rgba(0,0,0,0.08);
      flex: 1 1 auto;
      min-height: 40px;
      font-size: 14px;
    }
    .send-btn {
      margin-left: 8px;
      background: #25D366;
      color: #fff;
      border-radius: 50%;
      width: 42px; height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
    }
/* Timeline */

.timeline {
      position: relative;
      padding: 20px 0;
      list-style: none;
    }
    .timeline:before {
      content: '';
      position: absolute;
      top: 40px; 
      bottom: 0;
      width: 4px;
      background: #ddd;
      left: 50%;
      margin-left: -2px;
    }
    .timeline > li {
      position: relative;
      margin-bottom: 50px;
      clear: both;
    }
    .timeline > li .timeline-step {
      position: absolute;
      top: 0;
      left: 50%;
      background: #1e266d;
      color: #fff;
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      font-weight: bold;
      font-size: 16px;
      z-index: 1;
      border-radius: 6px;
      transform: translateX(-50%); 
    }
    .timeline > li .timeline-panel {
      width: 45%;
      background: #fff;
      border: 1px solid #ddd;
      padding: 15px;
      border-radius: 6px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      position: relative;
    }
    .timeline > li .timeline-panel img {
      width: 100%;
      aspect-ratio: 1/1;
      object-fit: cover;
      border-radius: 4px;
      margin-bottom: 10px;
    }
    .timeline > li:nth-child(odd) .timeline-panel {
      float: left;
      text-align: right;
    }
    .timeline > li:nth-child(even) .timeline-panel {
      float: right;
      text-align: left;
    }

    .square {
      position: relative;
      width: 100%;
      padding-bottom: 100%;
      overflow: hidden;
      border-radius: 4px;
      margin-bottom: 10px;
    }
    .square img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    
@media (max-width: 900px) {

  .timeline {
    position: relative;
    padding-right: 100px; 
    padding-left:15px;]
  }

  .timeline:before {
    left: auto;
    right: 60px;
    z-index: 2;
  }

  .timeline > li .timeline-step {
    left: auto;
    right: -55px;
    transform: none;
    z-index: 3;
  }

  .timeline > li .timeline-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 15px;
    float: none !important;
    text-align: left !important;
  }
}

/* Анімація */

/* Забрати underline і будь-який text-decoration */
#faq .faq-btn {
    text-decoration: none !important;
}

#faq .faq-btn:hover,
#faq .faq-btn:focus,
#faq .faq-btn:active {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* На всяк випадок ― прибрати underline з тексту всередині */

/* Шеврон теж не повинен реагувати */
#faq .chevron {
    text-decoration: none !important;
    pointer-events: none; /* вже було, залишаємо */
}



#faq .faq-btn .chevron {
    color: rgb(30, 38, 109);
    text-decoration: none;
}

#faq .faq-btn .chevron:hover {
    color: rgb(30, 38, 109);
    text-decoration: none;
}

#faq .faq-title {
    color: rgb(30, 38, 109);
    text-decoration: none !important;
    font-weight: bold;
}

/* Якщо aria-expanded="true" → шеврон дивиться вгору */
#faq .faq-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Якщо aria-expanded="false" → вниз (за замовчанням) */
#faq .faq-btn[aria-expanded="false"] .chevron {
    transform: rotate(0deg);
}

/* OWL */

.owl-carousel .owl-controls,
.owl-carousel-posts .owl-controls {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .owl-carousel .owl-controls .owl-nav {
    display: none;
  }
  .footer-center {
    text-align: center;
  }
  .mob-pt-20 {
    padding-top: 20px;
  }
}

.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-nav .owl-prev {
  margin-top: -19px;
  top: 50%;
  z-index: 9999;
  position: absolute;
  opacity: .5;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.owl-carousel .owl-controls .owl-nav .owl-next:hover,
.owl-carousel .owl-controls .owl-nav .owl-prev:hover {
  opacity: 1;
}

.owl-carousel .owl-controls .owl-nav .owl-next {
  right: 0;
  margin-right: -40px;
}
.owl-carousel .owl-controls .owl-nav .owl-next:hover {
  margin-right: -50px;
}
@media screen and (max-width: 992px) {
  .owl-carousel .owl-controls .owl-nav .owl-next {
    margin-right: 0px;
  }
}

.owl-carousel .owl-controls .owl-nav .owl-prev {
  left: -10px;
  margin-left: -25px;
}
.owl-carousel .owl-controls .owl-nav .owl-prev:hover {
  margin-left: -25px;
}

.owl-carousel .owl-controls .owl-nav .owl-next {
  right: -10px;
  margin-right: -25px;
}
.owl-carousel .owl-controls .owl-nav .owl-next:hover {
  margin-right: -25px;
}

@media screen and (max-width: 992px) {
  .owl-carousel .owl-controls .owl-nav .owl-prev {
    margin-right: 10px;
  }

  .owl-carousel .owl-controls .owl-nav .owl-next {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .owl-theme .owl-controls .owl-nav {
    display: none;
  }
}

.owl-theme .owl-controls .owl-nav [class*="owl-"] {
  background: none !important;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"] i {
  font-size: 16px;
  font-weight:bolder;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"] i:hover, .owl-theme .owl-controls .owl-nav [class*="owl-"] i:focus {
  background: none !important;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"]:hover, .owl-theme .owl-controls .owl-nav [class*="owl-"]:focus {
  background: none !important;
}

.owl-theme .owl-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.owl-carousel-fullwidth.owl-theme .owl-dots {
  bottom: 0;
  margin-bottom: 2.5em;
}

.owl-theme .owl-dots .owl-dot span {
  width: 15px;
  height: 15px;
  background: #999;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  border: 2px solid transparent;
}
.owl-theme .owl-dots .owl-dot span:hover {
  background: none;
  background: white;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: rgb(39, 49, 141);
  border: 2px solid transparent;
}
  
.owl-prev span {
    padding-left: 8px;
    padding-right: 8px;
    padding-top:15px;
    padding-bottom:15px;
    color:#fff;
    background-color: rgb(39, 49, 141);
  }

  .owl-next span {
    padding-left: 8px;
    padding-right: 8px;
    padding-top:15px;
    padding-bottom:15px;
    color:#fff;
    background-color: rgb(39, 49, 141);
  }

  .alert-dark {
    background-color: rgb(1, 100, 246);
  }

  /* Optional: soften carousel container */

.owl-theme.owl-icl .owl-stage-outer {
  border-radius: 12px;
  background: #fff;
  -webkit-box-shadow: 0 6px 20px rgba(0,0,0,0.06);
          box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 10px 0;
}

.owl-theme.owl-icl .owl-controls .owl-page span {
  background: #555;
}
.owl-theme.owl-icl .owl-controls .owl-page.active span,
.owl-theme.owl-icl .owl-controls.clickable .owl-page:hover span {
  background: #2f80ed !important;
}

.owl-carousel.owl-icl .owl-dots {
  bottom: 30px;
}

.owl-carousel.owl-icl .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #555 !important;
}

.owl-carousel.owl-icl .owl-dots .owl-dot.active span {
  background: #2f80ed !important;
}

/*---STARS --*/

.stars {
    position: relative;
    display: inline-block;
    font-size: 28px;   
    line-height: 1;
    letter-spacing: 0.25em; 
    font-family: Arial, sans-serif;
  }

  .stars::before {
    content: "★★★★★";
    color: #d9d9d9; 
  }

  .stars::after {
    content: "★★★★★";
    color: #f5b301; 
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
  }

  
  .r0  .stars::after { width: 0%; }
  .r05 .stars::after { width: 10%; }
  .r10 .stars::after { width: 20%; }
  .r15 .stars::after { width: 30%; }
  .r20 .stars::after { width: 40%; }
  .r25 .stars::after { width: 50%; }
  .r30 .stars::after { width: 60%; }
  .r35 .stars::after { width: 70%; }
  .r40 .stars::after { width: 80%; }
  .r45 .stars::after { width: 90%; }
  .r50 .stars::after { width: 100%; }
  
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1 {
    margin-bottom: 30px;
    font-size:35px;
   }
    @media only screen and (max-width: 1199px) {
      .hero-content h1 {
        font-size: 35px; } }
    @media only screen and (max-width: 767px) {
      .hero-content h1 {
        font-size: 30px; } }
    @media only screen and (max-width: 480px) {
      .hero-content h1 {
        font-size: 25px; } }
    @media only screen and (max-width: 375px) {
      .hero-content h1 {
        font-size: 20px; } }

.logo-highlight {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.9));
}

.logo-stroke-white {
    filter:
        drop-shadow(1px 0 0 #fff)
        drop-shadow(-1px 0 0 #fff)
        drop-shadow(0 1px 0 #fff)
        drop-shadow(0 -1px 0 #fff)
        drop-shadow(1px 1px 0 #fff)
        drop-shadow(-1px 1px 0 #fff)
        drop-shadow(1px -1px 0 #fff)
        drop-shadow(-1px -1px 0 #fff);
        height:96px;
        width: auto;
}