.align-tabs-baseline {
  align-items: flex-end;
}

.tab-text-responsive {
  font-size: 1rem;
  line-height: 1.3;
  white-space: normal;       
  word-break: break-word;    
}

@media (max-width: 992px) { /* md */
  .tab-text-responsive {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) { /* sm */
  .tab-text-responsive {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) { /* xs */
  .tab-text-responsive {
    font-size: 0.75rem;
  }
}


/* human form*/
.contact-form {

  .form-field ~ .form-field {
    margin-top: 25px;
  }
  
  .form-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
  }

  .form-field label.required::after {
    content: ' *';
    color: var(--bs-danger);
  }
  
  div.required {
    font-size: 0.725rem;
  }

  div.required::before {
    content: ' *';
    color: var(--bs-danger);
  }

  .form-field input {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
  }
  
  .form-field input:focus {
    border: 1px solid rgba(49, 112, 254, 1);
  }
  
  .form-field input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .form-field input[type="text"]:focus {
    border: 1px solid rgba(49, 112, 254, 1);
  }
  
  .form-field input[type="checkbox"] {
    width: auto;
  }
  
  .form-field select {
    width: 100%;
  }

  .form-field .nesty-input {
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    outline: none;
    vertical-align: middle;
  }
  
  .form-field .nesty-input:focus {
    border: 1px solid rgba(49, 112, 254, 1);
    text-decoration: none;
  }
  
  .form-field .hc-multiselect-toggle:focus {
    outline: none;
    border: 1px solid rgba(49, 112, 254, 1);
    text-decoration: none;
  }
  
  .form-field div.wysiwyg {
    height: 213px;
  }

  .form-field textarea {
    vertical-align: middle;
    width: 100%;
  }
  
  .form-field input[type="checkbox"] + label {
    margin: 0 0 0 10px;
  }
  
  .form-field .optional {
    color: #5a6d7c;
    margin-left: 4px;
  }
  
  .form-field p {
    color: #5a6d7c;
    font-size: 12px;
    margin: 5px 0;
  }
  
  .form footer {
    margin-top: 40px;
    padding-top: 30px;
  }
  
  .form footer a {
    color: #5a6d7c;
    cursor: pointer;
    margin-right: 15px;
  }
  
  .form .suggestion-list {
    font-size: 13px;
    margin-top: 30px;
    display: none !important;
  }
  
  .form .suggestion-list label {
    border-bottom: 1px solid #ddd;
    display: block;
    padding-bottom: 5px;
  }
  
  .form .suggestion-list li {
    padding: 10px 0;
  }
  
  .form .suggestion-list li a:visited {
    color: #4B61C3;
  }

}

/*Upload dropzone*/

.upload-pool {
  margin: 0;
  overflow: hidden;
  padding: 0
}

.upload-item {
  border-radius: 3px;
  clear: left;
  float: left;
  font-size: 12px;
  margin-top: 10px;
  overflow: hidden;
  padding: 5px;
  position: relative;
  width: 60%
}

.upload-item[aria-busy=true] .upload-remove {
  display: none
}

.upload-item[aria-busy=true] .upload-link {
  color: #666
}

.upload-item[aria-busy=true] .upload-progress {
  visibility: visible
}

.upload-item::after {
  content: "";
  display: block
}

.upload-item:hover {
  background: #f2f2f2
}

.upload-item+.upload-item {
  margin-top: 5px
}

.upload-item-icon {
  vertical-align: middle
}

.upload-item-icon-spacer {
  display: inline-block;
  width: 5px
}

.upload-item>a,.upload-item span {
  position: relative;
  z-index: 1
}

.upload-item .upload-link {
  color: #333;
  display: inline-block;
  max-width: calc(100% - 56px);
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap
}

.upload-item .upload-link:hover {
  text-decoration: none
}

.upload-item .upload-remove {
  color: #888;
  cursor: pointer;
  float: right;
  font-weight: bold;
  margin: 0 5px 0 15px
}

.upload-item .upload-remove:hover::before {
  color: #222
}

.upload-item .upload-path {
  display: none !important
}

.upload-item .upload-progress {
  background-color: #0072ef;
  height: 2px;
  transition: width .5s linear;
  visibility: hidden;
  width: 5%
}

.upload-item-screencast .upload-progress {
  width: 100%
}

#upload-error {
  display: none;
  margin-top: 10px
}

html[dir=rtl] .upload-item {
  clear: right;
  float: right
}

html[dir=rtl] .upload-item .upload-link {
  margin-left: auto;
  margin-right: 20px
}

html[dir=rtl] .upload-item .upload-link::before {
  left: auto;
  right: -20px;
  margin-right: auto;
  margin-left: 5px
}

html[dir=rtl] .upload-item .upload-remove {
  float: left;
  margin-left: auto;
  margin-right: 15px
}

.upload-dropzone {
  border-radius: 4px !important;
  border: 1px solid #ddd;
  font-size: 12px;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: pointer;
  color: #5a6d7c;
  line-height: 24px;
  padding: 10px;
}

.upload-dropzone.dz-drag-hover {
  background-color: #f9f9f9;
  background-color: rgba(0,0,0,.02)
}


/*AI form*/
#quickForm .question-container {
  position: relative;
  margin-top: 0.5rem;
}

#quickForm .form-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

#quickForm textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 80px;
  resize: none;
  overflow: hidden;
}

#quickForm textarea::placeholder {
  color: var(--bs-info);
}

#quickForm .char-counter {
  font-size: 0.8rem;
  color: var(--bs-light);
}

#quickForm .char-counter.warning {
  color: var(--bs-warning);
}

#quickForm .char-counter.limit {
  color: var(--bs-danger);
  font-weight: bold;
}

#aiResponse {
  white-space: pre-wrap;
}

#aiResponse .clickable-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

#aiResponse .clickable-card:hover {
  background-color: #f5f5f5;
}

#aiResponse .clickable-card-title {
  font-weight: bold;
  color: var(--bs-primary);
  margin-bottom: 0.25rem;
}

#aiResponse .clickable-card-description {
  margin: 0;
}

#aiResponse .clickable-card-description ol {
  padding-left: 1.25rem;
  margin: 0;
}

#loadingIndicator {
  color: var(--bs-info);
}

.grecaptcha-badge {
  display: none !important;
}