﻿.d-none {
  display: none;
}

[required] {
  border-right: 2px solid #f00 !important;
}

.red-tooltip + .tooltip.top > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.top > .tooltip-arrow {
  border-top-color: red;
}

.red-tooltip + .tooltip.bottom > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.bottom > .tooltip-arrow {
  border-bottom-color: red;
}

.red-tooltip + .tooltip.right > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.right > .tooltip-arrow {
  border-right-color: red;
}

.red-tooltip + .tooltip.left > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.left > .tooltip-arrow {
  border-right-color: red;
}

label.has-error.red-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: #f00;
  color: #fff;
  padding: 4px;
  border-radius: 2px;
  font-size: 10px;
  white-space: nowrap;
  max-width: initial !important;
}

.input-group label.has-error.red-tooltip {
  left: 0;
  top: -25px;
}

.checkbox-inline label.has-error.red-tooltip {
  left: auto;
  right: 0;
}

.form-group {
  position: relative;
}

.customlist-items label.red-tooltip {
  width: auto !important;
  left: 15px !important;
}

.d-none {
  display: none;
}

[required] {
  border-right: 2px solid #f00 !important;
}

.red-tooltip + .tooltip.top > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.top > .tooltip-arrow {
  border-top-color: red;
}

.red-tooltip + .tooltip.bottom > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.bottom > .tooltip-arrow {
  border-bottom-color: red;
}

.red-tooltip + .tooltip.right > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.right > .tooltip-arrow {
  border-right-color: red;
}

.red-tooltip + .tooltip.left > .tooltip-inner {
  background-color: red;
  color: #ff0;
}

.red-tooltip + .tooltip.left > .tooltip-arrow {
  border-right-color: red;
}

label.has-error.red-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: #f00;
  color: #fff;
  padding: 4px;
  border-radius: 2px;
  font-size: 10px;
  white-space: nowrap;
  max-width: initial !important;
}

.input-group label.has-error.red-tooltip {
  left: 0;
  top: -25px;
}

.checkbox-inline label.has-error.red-tooltip {
  left: auto;
  right: 0;
}

.form-group {
  position: relative;
}

.customlist-items label.red-tooltip {
  width: auto !important;
  left: 15px !important;
}

.ats_Wrapper {
  padding: 40px 64px;
  border-radius: 0px;
  border: 1px solid var(--secondary-100, #e6e7ee);
  background: var(--gray-color-100, #fff);
  box-shadow: 0 4px 56px 0 rgba(18, 18, 18, 0.08);
}

.ats_Header {
  color: var(--Primary-P20, #006156);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 40px;
}

.ats_Wrapper .ats_Input_Field {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border: none !important;
}

.ats_Input_Item {
  position: relative;
}

.ats_Input_Item label {
  margin: 0;
  background-color: #fff;
  padding-inline: 8px;
  position: absolute;
  top: -14px;
  right: 10px;
  color: var(--Gray-G40, #626262);
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
}

.ats_Input_Item #Attache-error {
  margin: 0;
  padding-inline: 8px;
  position: absolute;
  top: -28px;
  width: max-content;
  right: 10px;
  color: var(--Gray-G40, #626262);
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
  z-index: 8;
}

.ats_Input_Item input,
.ats_Input_Item select {
  -border-radius: 4px !important;
  -border: 1px solid #cbd5e1 !important;
  height: 48px;
  color: var(--Gray-G20, #3d3d3d);
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
}

.ats_Input_Item textarea {
  -border-radius: 4px !important;
  -border: 1px solid #cbd5e1 !important;
  color: var(--Gray-G20, #3d3d3d);
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
}

.ats_Input_Item input:focus,
.ats_Input_Item select:focus {
  -moz-animationborder-color: var(--Primary-P20, #006156) !important;
  -moz-animation: none !important;
}

.ats_Input_Item textarea:focus {
  -border-color: var(--Primary-P20, #006156) !important;
  -box-shadow: none !important;
}

.ats_Input_Item:has(input[type="color"]) {
  -border-radius: 4px !important;
  -border: 1px solid #cbd5e1 !important;
  -height: 48px;
}

.ats_Input_Item input[type="color"] {
  width: 100px;
  padding: 0;
  border-radius: 6px !important;
  position: absolute;
  left: 50px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
  border: none !important;
}

.ats_Input_Item:has(input[type="file"])::after {
  content: "";
  position: absolute;
  width: 102px;
  height: 44px;
  left: 2px;
  top: 1px;
  background-color: #fff;
  cursor: pointer;
}

.ats_Input_Item:has(input[type="color"])::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  height: 24px;
  width: 24px;
  border-radius: 6px;
  background: url(/DesktopModules/Benvis/AdvancedTicketingSystem/images/eyedrop.svg);
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.ats_Input_Item input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 100%;
  padding-inline: 30px;
}

.ats_Input_Item input[type="radio"] {
  height: 16px;
  width: 16px;
  border-radius: 50% !important;
  position: absolute;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
}

.ats_Input_Item:has(.form-check-input) label {
  top: 50% !important;
  transform: translateY(-50%);
  padding-inline-start: 20px;
  background-color: transparent;
}

@media (max-width: 992px) {
  .ats_Input_Item:has(.form-check-input) label {
    top: 34%;
  }
}

.ats_Input_Item input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 2px;
  background: var(--Gray-G95, #e4e4e4);
  border-radius: 4px;
}

.ats_Input_Item input[type="range"]::-moz-range-track {
  height: 8px;
  background: #ddd;
  border-radius: 4px;
}

.ats_Input_Item input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 48px;
  background: url(/DesktopModules/Benvis/AdvancedTicketingSystem/images/thumb.svg);
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: none !important;
  transform: translateY(-12px);
}

.ats_Input_Item input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 48px;
  background: url(/DesktopModules/Benvis/AdvancedTicketingSystem/images/thumb.svg);
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: none !important;
  transform: translateY(-12px);
}

.ats_Wrapper .ats_Input_Field:nth-of-type(2) {
  margin-top: 20px;
}

.ats_Wrapper .ats_Input_Field:nth-of-type(2) .ats_Input_Item:nth-child(7) {
  grid-area: 3/1/4/3;
}

.ats_Input_#AttacheBox input {
  direction: ltr;
  height: 46px;
  margin-bottom: 16px !important;
}

.ats_Input_#AttacheBox .form-text {
  color: var(--Gray-G70, #a8a8a8) !important;
  text-align: right;
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
}

.ats_Input_Item .frmcaptcha {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ats_Input_Item .frmcaptcha img {
  height: 48px;
  margin: 0 !important;
  border-radius: 4px;
}

.ats_Submit {
  background: var(--Primary-P40, #008a7a);
  padding: 8px 50px !important;
  color: var(--Gray-G100, #fff) !important;
  text-align: right;
  font-size: 16px !important; 
  font-weight: 600 !important;
  line-height: 32px !important;
  border: none !important;
  transition: 0.3s;
  margin-top: 50px;
}

.ats_Submit:hover {
  background: var(--Primary-P50, #03a793);
  margin-inline: auto;
}

.tracking_Submit_Wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .ats_Wrapper {
    padding: 40px 32px;
  }

  .ats_Wrapper .ats_Input_Field {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: none !important;
  }
}

.captcha-refresh {
  display: inline-block !important;
  border-radius: 4px 0 0 4px !important;
}

.captcha-refresh i {
  font-family: tahoma !important;
  color: #000 !important;
  font-size: 18px !important;
}

input.captcha-item {
  border-radius: 0 4px 4px 0 !important;
}

.was-validated .form-control:valid,
.form-control.is-valid,
input.form-control.parsley-success,
textarea.form-control.parsley-success {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: center left calc(0.375em + 0.1875rem);
}

.was-validated textarea.form-control:valid {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) left
    calc(0.375em + 0.1875rem);
}

textarea.form-control.is-valid,
textarea.form-control.parsley-success {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) left
    calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:valid,
.custom-select.is-valid,
input.custom-select.parsley-success,
textarea.custom-select.parsley-success {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
input.form-control.parsley-error,
textarea.form-control.parsley-error {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: center left calc(0.375em + 0.1875rem);
}

.was-validated textarea.form-control:invalid {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) left
    calc(0.375em + 0.1875rem);
}

textarea.form-control.is-invalid,
textarea.form-control.parsley-error {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) left
    calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:invalid,
.custom-select.is-invalid,
input.custom-select.parsley-error,
textarea.custom-select.parsley-error {
  padding-inline-end: 0.75rem;
  padding-inline-start: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
}

.was-validated .invalid.invalid-feedback {
  color: #f00;
  font-size: 0.888em;
  display: inline-block;
  margin: 4px;
}
