.top-location-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}
.align-nav {
  background: #ebf7ff;
  border-bottom: 1px solid #f47521;
}
.location-history {
  text-align: end;
}
.form-head {
  text-align: center;
  border-bottom: 2px solid #429fdd;
  margin: 50px 0;
  padding-bottom: 15px;
}

.form-head h3 {
  font-weight: 500;
  font-size: 64px;
  line-height: 110%;
}

.input-wrapper {
  display: flex;
  align-items: center;
  white-space: pre;
  gap: 10px;
  /* margin-bottom: 50px; */
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #9b9b9b;
}

/* Hide the default check mark */
input.dent-check[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
}

/* Set the image for the checkbox */
input.dent-check[type="checkbox"] + label:before {
  content: "";
  display: inline-block;
  width: 45px;
  height: 45px;
  background-image: url("../img/dent.png");
  background-size: contain;
  vertical-align: middle;
  background-position: center;
  cursor: pointer;
}
input.dent-check[type="checkbox"]:checked + label:before {
  background-image: url("../img/dent-alt.png");
  z-index: 0;
}

input.dent-check[type="checkbox"]:hover + label:before {
  background-image: url("../img/dent-alt.png");
  z-index: 0;
}
input.dent-check[type="checkbox"]:hover + label {
  color: #fff;
  z-index: 1;
  position: relative;
}

input.dent-check[type="checkbox"]:checked + label {
  color: #fff;
  z-index: 1;
  position: relative;
  transition: .3s;
}
.dent-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
  overflow-x: scroll;
}

.selector-area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 23px;
}
.check-dent label span {
  position: absolute;
}
.check-dent {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.check-dent label {
  width: 100%;
  display: contents;
  font-size: 16px;
  color: #429fdd;
  cursor: pointer;
}

.selector-area:first-child {
  border-bottom: 2px solid #434343;
  border-right: 1px solid #434343;
}
.selector-area:nth-child(2) {
  border-bottom: 2px solid #434343;
  border-left: 1px solid #434343;
}
.selector-area:nth-child(3) {
  border-right: 1px solid #434343;
}
.selector-area:nth-child(4) {
  border-left: 1px solid #434343;
}
.margin-minus {
  margin-top: -45px;
}

input.mark-check[type="checkbox"] {
  position: relative;
  border: 2px solid #429fdd;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  line-height: 0;
  margin: 0px 0.6em 0px 0px;
  outline: 0px;
  vertical-align: text-top;
  height: 20px;
  width: 20px;
  appearance: none;
  opacity: 0.5;
  padding: 0px !important;
}

input.mark-check[type="checkbox"]:hover {
  opacity: 1;
}

input.mark-check[type="checkbox"]:checked {
  opacity: 1;
}

input.mark-check[type="checkbox"]::before {
  content: "";
  position: absolute;
  right: 50%;
  top: 50%;
  width: 4px;
  height: 10px;
  border-style: solid;
  border-color: #429fdd;
  border-image: initial;
  border-width: 0px 2px 2px 0px;
  margin: -1px -1px 0px;
  transform: rotate(45deg) translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
}

input.mark-check[type="checkbox"]::before {
  opacity: 0;
}

input.mark-check[type="checkbox"]:checked::before {
  opacity: 1;
}
.form-group-checkbox {
  display: flex;
  align-items: center;
  /* margin-bottom: 25px; */
  font-size: 17px;
}

p.check-box-title {
}

p.check-box-title i {
  font-size: 15px;
  font-weight: 400;
}

p.check-box-title {
  margin-bottom: 30px;
  font-weight: 600;
  margin-top: 60px;
}

p.check-box-title i {
  font-size: 15px;
  font-weight: 400;
}

button.submit-btn {
  background: var(--main-color);
  border: none;
  color: var(--white-color);
  padding: 8px 25px;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
}

/* ============================second page ======================== */
.location-top {
  text-align: center;
  width: 100%;
}

.location-top h2 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 600;
}
.endodontist-img {
  display: flex;
  align-items: center;
  position: relative;
  height: 610px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.mouth-area {
  width: 100%;
}

[type="file"] {
  height: 0;
  overflow: hidden;
  width: 0;
}

[type="file"] + label {
  background: #e6e6e6;
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-family: "Rubik", sans-serif;
  font-size: inherit;
  font-weight: 500;
  margin-bottom: 1rem;
  outline: none;
  padding: 16px 110px;
  position: relative;
  transition: all 0.3s;
  vertical-align: middle;
}
[type="file"] + label:hover {
  background-color: #aba9a9;
}
.teeth-root {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}
.option-input {
  margin-top: 50px;
}
h3.section-title {
  margin: 35px 0;
}
.appreciate-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.appreciate-content h3 {
  margin-bottom: 20px;
  font-size: 35px;
}

.appreciate-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

p.rf-link {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}
a.out-link {
  color: #429fdd;
  transition: 0.3s;
  padding: 5px;
}
.refer-body {
  padding-right: 50px;
  position: relative;
  background: #ddd;
}
.close-refer {
  position: fixed;
  right: 13px;
  top: 20px;
}

.dent-selector::-webkit-scrollbar {
  width: 0;
}
.endodontist-img img {
  width: 100%;
}
.grid-4 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.grid-3-1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .location-top h2 {
    font-size: 32px;
  }
  .top-location-area {
    font-size: 12px;
    line-height: 170%;
  }
  .grid-3-1 {
    grid-template-columns: 1fr 1fr;
  }
  .option-input {
    font-size: 14px;
    margin-top: 20px;
    line-height: 170%;
  }
  .form-group-checkbox {
    font-size: 14px;
  }
  .f-row-brack {
    display: inline-grid;
  }
  h3.section-title {
    font-size: 18px;
  }
}

.parseint-info {
  background: #fff;
}
.lab-section {
  background: #ffffff;
}
.referral-form {
  background: #fff;
}
@media screen and (max-width: 500px) {
  .grid-3-1 {
    grid-template-columns: 1fr;
  }
  .input-wrapper {
    font-size: 14px;
  }
  .refer-body {
    padding-right: 30px;
  }
  .close-refer a img {
    width: 13px;
  }
}
img.mouth-bg {
  position: absolute;
  /* top: 0; */
  /* left: 0; */
  /* right: 0; */
  /* bottom: 0; */
}
.mouth-area .check-dent {
  position: absolute;
}
.check-dent.t1 {
  top: 40%;
}

.check-dent.t2 {
  top: 32.5%;
  left: 1%;
}

.check-dent.t3 {
  top: 25.1%;
  left: 2%;
}

.check-dent.t4 {
  top: 17.9%;
  left: 5%;
}

.check-dent.t5 {
  top: 10.5%;
  left: 8%;
}

.check-dent.t6 {
  top: 3%;
  left: 14%;
}
.check-dent.t7 {
  top: -1%;
  left: 26%;
}
.check-dent.t8 {
  top: -3.5%;
  left: 38%;
}
.check-dent.t9 {
  top: -3.5%;
  left: 51%;
}
.check-dent.t10 {
  top: -1%;
  right: 24%;
}
.check-dent.t11 {
  top: 3.5%;
  right: 13%;
}
.check-dent.t12 {
  top: 10.9%;
  right: 8%;
}
.check-dent.t13 {
  top: 18.1%;
  right: 4%;
}
.check-dent.t14 {
  top: 25%;
  right: 1%;
}
.check-dent.t15 {
  top: 32.5%;
  right: 0%;
}
.check-dent.t16 {
  top: 40%;
  right: 0;
}
.check-dent.t17 {
  right: -1%;
  bottom: 40%;
}
.check-dent.t18 {
  right: -1%;
  bottom: 32%;
}
.check-dent.t19 {
  right: 0%;
  bottom: 24.5%;
}
.check-dent.t20 {
  right: 3%;
  bottom: 17%;
}
.check-dent.t21 {
  right: 6%;
  bottom: 9.5%;
}
.check-dent.t22 {
  bottom: 2%;
  right: 11%;
}
.check-dent.t23 {
  right: 22%;
  bottom: -3%;
}
.check-dent.t24 {
  bottom: -6%;
  right: 34%;
}

.check-dent.t25 {
  bottom: -6%;
  right: 47%;
}
.check-dent.t26 {
  bottom: -3%;
  left: 28%;
}
.check-dent.t27 {
  bottom: 2%;
  left: 17%;
}
.check-dent.t28 {
  bottom: 9.5%;
  left: 11%;
}
.check-dent.t29 {
  bottom: 17%;
  left: 6%;
}
.check-dent.t30 {
  bottom: 24.5%;
  left: 3%;
}
.check-dent.t31 {
  bottom: 32%;
  left: 1%;
}
.check-dent.t32 {
  bottom: 40%;
}
.dent-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 992px) {
  .endodontist-img {
    width: 400px;
    margin: auto;
  }
  .dent-wrapper {
    padding: 100px 0;
  }
}
@media screen and (max-width: 450px) {
  .endodontist-img {
    width: 320px;
  }
  .dent-wrapper {
    padding: 50px 0;
  }
  .check-dent.t9 {
    top: -5.5%;
    left: 51%;
  }
  .check-dent.t8 {
    top: -5.5%;
    left: 38%;
  }
  .check-dent.t24 {
    bottom: -8%;
    right: 33%;
  }
  .check-dent.t25 {
    bottom: -8%;
    right: 47%;
  }
}
.input-wrapper.input-gap.gap-none {
  gap: 0;
}
select.form-select {
  padding: 16px;
}
.bk-btn {
  justify-content: space-between;
  align-items: end;
  margin-top: 40px;
  display: flex;
}

.buckner-section h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.buckner-section p {
  color: #434343;
  font-size: 20px;
  font-weight: 400;
}
.gap-8 {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  h3.section-title {
    margin: 0 0;
  }
  .cpy-60 {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .form-head {
    margin: 34px 0;
  }
  .teeth-root {
    margin-top: 20px;
  }
  .dent-selector {
    margin-bottom: -38px;
  }
  p.check-box-title {
    margin-bottom: 24px;
    margin-top: 24px;
  }
  .bk-btn {
    justify-content: space-between;
    align-items: start;
    margin-top: 24px;
    display: flex;
  }
  .buckner-section {
    margin-bottom: 34px;
  }
  .gap-8 {
    margin-top: 0;
  }
  .m-space {
    padding-top: 34px;
  }
  .buckner-section p {
    font-size: 16px;
  }
  .submit-btn {
    font-size: 14px;
  }
 
}
