.white-space-normal {
  white-space: normal;
}

.text-xs {
  font-size: 0.75rem;
}

.custom-dropdown .dropdown-menu{
  max-height: 300px;
  overflow-y: scroll;
  width: calc(100% - 1.5rem) !important;
  border-bottom: 3px solid var(--theme-color);
  border-top: 3px solid var(--theme-color);
}

.custom-dropdown .dropdown-menu label{
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.custom-dropdown .dropdown-menu label:hover{
  cursor: pointer;
}

.custom-dropdown .form-select{
  line-height: 54px;
}

.appointment-form label {
  font-size: 16px;
}

#contactForm label{
  color: #000;
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
  background-color: var(--theme-color);
  color: var(--white-color);
}

.dropdown-item.active .text-body, .dropdown-item:active .text-body, .dropdown-item:focus .text-body, .dropdown-item:hover .text-body,
.dropdown-item.active label, .dropdown-item:active label, .dropdown-item:focus label, .dropdown-item:hover label{
  color: var(--white-color) !important;
}

.form-control, .form-select{
  color: var(--black-color2) !important;
}

input[type=checkbox]~label:before{
  border-radius: 0.25rem;
}

.contact-form textarea{
  line-height: 24px !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.text-break {
  word-wrap: break-word !important;
  word-break: break-word !important;
}

.form-control{
  padding: 0 25px 0 25px !important;
}

.form-floating>label{
  top: 20px !important;
  left: 36px !important;
  height: auto;
  padding: 0 2px !important;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label{
  top: 0px !important;
  background: var(--white-color);
  left: 24px !important;
  opacity: 1;
  border-radius: 0.5rem;
  padding: 0 12px !important;
}

.form-select, .form-control{
  background: var(--white-color) !important;
}

.form-floating label span, .form-select span, .form-group label span{
  color: var(--error-color);
}

.form-floating:focus-within .form-control, .custom-dropdown:focus-within .form-select {
  border-color: var(--theme-color);
}

.grecaptcha-badge{
  visibility: hidden !important;
}

.testi-card5 .box-text{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  cursor: pointer;
}

.feature-box.style2:hover .line-btn {
  color: var(--white-color) !important;
}

#testiSlide .box-images img, #chooseUsSection .client-group-thumb img{
  margin-right: -1rem;
}

.testi-client-group6 .testi-client-content{
  min-width: 216px;
}

.img-box5 .img1, .img-box5 .img2{
  overflow: visible;
}

.th-hero-wrapper{
  margin-top: -14rem;
}

.img-box5 .about-wrapper{
  left: 0;
  transform: translateX(-50%);
}

@media (max-width: 1399px) {
  .img-box5 .about-wrapper {
    left: 50%;
    bottom: 2rem;
  }
  .header-layout4 .header-button .th-btn{
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .img-box5 .about-wrapper {
    bottom: 0;
    top: unset;
    transform: translateX(-50%) translateY(50%);
  }
  .img-box5 .counter-box-wrap{
    margin-top: 5rem;
  }
  .header-layout4 .header-button .th-btn{
    display: none;
  }
}

.btn-close{
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e")
}

.custom-btn-close{
  font-size: 0.25rem !important;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  padding: 0.35rem !important;
  margin: 0 !important;
}

.preloader{
  z-index: 10000;
}

.service-box, .service-image{
  height: 100%;
}

#service-sec .dropdown-menu {
  bottom: 0 !important;
  top: auto !important;
  z-index: 10;
}

.h2, h2{
  font-size: 54px !important;
}

#how-sec .box-title{
  font-size: 24px !important;
}

#how-sec .process-card_wrapp:not(:last-child) .process-card:after{
  content: none;
}

.form-group>i{
  top: 24px;
}

#service-sec .service-box .service-overlay:after{
  background: var(--title-color);
}

.sub-title2:before {
    position: absolute;
    content: "";
    top: 5px;
    left: 0;
    width: 28px;
    height: 15px;
    background-image: url("/assets/images/shape/sub-title2.svg");
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0)
}

.call-info .style2 i{
  background-color: var(--title-color);
}

.call-info .style2 i:hover, .call-info .style2 i:focus{
  background-color: var(--white-color);
  color: var(--title-color);
}

.modal-consent[type=checkbox]:checked~label:before{
  background-color: var(--title-color);
  border-color: var(--title-color);
}

.form-messages.form-modal.success {
    color: #630086;
    display: block
}

.form-messages.form-modal.error {
    color: #630086;
    display: block
}