:root {
  --regular-font: "CalibriRegular";

  --bold-font: "CalibriBold";

  --light-font: "Calibrilight";
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "CalibriRegular";
  font-display: swap;
  src: url(../../vendor/fonts/Calibri/CalibriRegular/Calibri-Regular.ttf);
}

@font-face {
  font-family: "CalibriBold";
  font-display: swap;
  src: url(../../vendor/fonts/Calibri/CalibriBold/Calibri-Bold.TTF);
}
input:disabled {
  cursor: not-allowed;
  background-color: #f5f5f5;
}
.test-btn {
  background: #1C5350;
  border-radius: 6px;
  text-align: center;
  max-width: 280px;
  width: 100%;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  border: none;
  height: 3em;
  line-height: 3em;
  display: block;
  /* margin: 0 auto; */
}
.hidden{
  display: none;
}
.serviceability-note {
  background: #f5f5f5;
  text-align: center;
  padding: 42px 0;
  color: #ff0000;
  font-size: 27px;
  clear: both;
}

.test-btn:hover {
  color: #fff;
  text-decoration: none;
}

.home-eye-text-page {
  /* font-family: var(--regular-font), sans-serif; */
  font-family: "Catamaran", sans-serif!important;
  font-size: 16px;
  color: #3b3734;
}
.contact-form-section .bg-light-blue.ver-middle,
.contact-form-section .contact-form {
  height: 100%;
}

.contact-form button {
  width: 100%;
  border: none;
  border-radius: 6px;
  background-color: #1C5350;
  height: 48px;
  color: #fff;
}

.contact-form button.disable-btn{
    background: #ddd;
    cursor: not-allowed;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0!important;
  background: #EDF2FF;
  min-height: 230px;
}

.hero-section .container {
  position: absolute;
  top: 50px;
}

.hero-text {
  max-width: 700px;
  width: 100%;
}

.hero-text h2 {
  font-size: 1.8em;
  font-weight: 700;
  font-family: "Catamaran", sans-serif!important;
}

.services-grid .col-md-6 .card {
    border-radius: 10px;
    padding: 50px 30px 20px;
    min-height: 248px;
    margin-right: 10px;
    margin-bottom: 30px;
    margin-top: 0px;
}

.services-grid .col-md-6:nth-child(1) .card{
  background:#F5E6E6;
}

.services-grid .col-md-6:nth-child(2) .card{
  background: #E1F8FF;
}

.services-grid .col-md-6:nth-child(3) .card{
  background: #E3ECFC;
  margin-bottom: 0;
}

.services-grid .col-md-6:nth-child(4) .card {
  background: #FFF0D3;
  margin-bottom: 0;
}

.services-grid h5 {
  font-size: 1em;
}

.services-grid p {
  font-size: 0.94em;
}

.services-grid .col-md-4 {
  background: linear-gradient(#3c3c366e, #00000099),
    url(../../desktop/images/bg/home-eye-test-bg.jpg);
  color: #ffffff;
  display: flex;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  padding: 52px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.bg-light-blue {
  background: #DCF2FF;
  height: 100%;
}

.contact-form-section .col-md-6.pl-0 {
  background: #fbfbfb;
  padding: 4em 4em;
  padding-left: 0em!important;
}
.custom-err-pincode {
  display: block;
  opacity: 0;
  margin: 5px 0px 5px;
  color: #f23333;
  font-size: 13px;
}
.custom-err-pincode.show {
  opacity: 1;
  margin: 5px 0px 20px;
}

.contact-form input,
.contact-form select {
  background: #ffffff;
  border: 1px solid #ececec;
  margin: 20px 0 3px;
  display: block;
  width: 100%;
  height: 3em;
  padding: 16px 25px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #212121;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.contact-form .form-css-label input:focus {
  outline: 0;
  background: #fff;
}
.contact-form ul {
  margin-bottom: 0;
}
.contact-form fieldset {
  position: relative;
}

.contact-form label {
  position: absolute;
  top: 22px;
  left: 0px;
  color: #828282;
  background: #fff;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.contact-form label#state_label{
  left: 16px;
}

.contact-form .form-css-label input:focus + label,
.contact-form .form-css-label input:valid + label,
.contact-form fieldset:focus label,
.contact-form .form-group label {
  font-size: 15px;
  -webkit-transform: translate3d(0, -23px, 0);
  transform: translate3d(0, -23px, 0);
}

.contact-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.section {
  margin-top: 2em;
  margin-bottom: 1em;
  clear: both;
}

.contact-form {
  width: 80%;
  margin: 0 auto;
}

.contact-form form {
  width: 100%;
}

.contact-left-block {
  max-width: 80%;
  margin: 0 auto;
}

.contact-left-block h4 {
  font-size: 1.8em;

  font-weight: 700;
}

.contact-left-block p {
  display: flex;
  align-items: center;
  font-size: 0.93em;
}

.contact-left-block p span {
  margin-right: 10px;
}

.contact-left-block p a {
  margin-right: 10px;
  color: #3b3734;
}

.title-eyecamp-small {
  font-size: 1.42em;
  font-weight: 500;
  color: #454545;
}

.ver-middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.theme-btn-primary {
  background: #035390 !important;
  border: 2px soild #035390;
  color: #fff;
  padding: 1em 4em;
  text-decoration: none;
  font-size: 1em;
  display: inline-block;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.gal-box {
  float: left;
  height: 332px;
  display: block;
  padding: 2px;
  position: relative;
  width: 33.3%;
  background: #f5f5f5;
}

.gal-box img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 328px;
  width: 100%;
}

.testi-card {
  background: #f9f9f9;
  padding: 60px;
  margin: 0 60px;
  position: relative;
  margin-top: 0px;
  height: 280px;
}

.testi-card:after {
  content: "";
  background-color: transparent;
  border-right: 12px solid #E6F2FF;
  border-bottom: 12px solid #E6f2ff;
  height: 100%;
  position: absolute;
  right: 0px;
  width: 100%;
  /* z-index: -1; */
  bottom: 0;
}

.testi-card .testi-name {
  font-size: 0.9em;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  width: 100%;
  right: 0;
  text-align: right;
  padding: 0 40px;
}

.testi-comment {
  font-size: 1em;
  /* font-weight: 400; */
  text-align: left;
  position: relative;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testi-comment::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: url(../../shared/images/static-pages/home-eye-test/quotes.svg) center no-repeat;
  width: 32px;
  height: 32px;
  background-size: contain;
  transform: rotate(180deg);
}

.testi-comment::after {
  content: "";
  position: absolute;
  right: 0;
  background: url(../../shared/images/static-pages/home-eye-test/quotes.svg) center no-repeat;
  width: 32px;
  height: 32px;
  background-size: contain;
  bottom: 0;
}

.home-eye-text-page .owl-nav {
  position: absolute;
  left: 45%;
}

.home-eye-text-page #client-vist-slider .owl-nav{
  top: 45%;
  width: 100%;
}

.home-eye-text-page .owl-nav .owl-prev, .home-eye-text-page
.owl-nav .owl-next {
  background: initial !important;
  margin: 12px;
}

.home-eye-text-page .owl-nav .nav-btn {
  background: initial !important;
  background-color: #ffffff;
  box-shadow: 4px 4px 10px rgb(0 0 0 / 10%);
  width: 40px;
  height: 40px;
  line-height: 48px;
  border-radius: 50%;
}

.eye-test-title {
  position: relative;
  padding: 50px 0;
  padding-top: 0;
  font-size: 1.8em;
  font-weight: 700;
  display: inline-block;
}

.home-eye-text-page section {
  padding: 0;
}

@media only screen and (max-width: 769px) {
  .services-grid .col-md-4 {
    padding: 10px;
    background-size: cover;
  }
  .home-eye-text-page{
    font-size: 13px;
  }
  .serviceability-note {
    padding: 45px 12px;
    font-size: 19px;
}

  .owl-carousel#client-visit-slider .owl-item img {
    display: block;
    width: 100%;
    min-width: 400px;
    height: 340px;
}

  .contact-form-section .bg-light-blue.ver-middle,
.contact-form-section .contact-form {
  height: unset;
}

  .hero-section {
    background-size: cover;
    display: block;
    background: none;
    height: unset;
    margin-bottom: 7%;
    padding: 0!important;
    min-height: unset;
  }

  .hero-section img{
    width: 100%;
  }
  .hero-text {
    background-color: #fff;
    max-width: 700px;
    width: 100%;
    padding: 10px 20px;
    margin: 0 auto;
    margin-top: -10%;
  }

  .hero-text h2 {
    font-size: 1.8em;
  }
  .services-grid h5 {
    font-size: 1.2em;
  }

  .test-btn {
    margin: 20px auto;
    text-decoration: none;
  }

  .test-btn:hover {
    text-decoration: none;
  }

  .contact-form label, .contact-form label#state_label{
    top: 15px;
    left: 25px;
  }

  .services-grid .col-md-6 .card{
      margin-right: 0;
      border-radius: 0;
      margin-bottom: 0;
      padding: 35px 30px;
  }

  .eye-test-title {
    padding: 6px 0;
    padding-top: 0;
    font-size: 1.8em;
    margin-top: 0 !important;
  }
  .eye-test-title::after {
    bottom: 6px;
  }

  .contact-form-section .col-md-6.pl-0 {
    padding: 0;
    padding-left: 0 !important;
    padding-bottom: 0;
  }
  .testi-comment {
    font-size: 16px;
  }

  .ver-middle {
    padding: 40px 0;
  }

  .contact-left-block p {
    margin: 20px 0;
  }

  .gal-box {
    float: none;
    width: 100%;
  }

  .testi-card {
    padding: 30px;
    font-size: 20px;
    margin: 10px;
  }

  .testi-comment {
    padding: 40px 0;
  }

 .home-eye-text-page .owl-nav {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }

 .home-eye-text-page .owl-nav .owl-prev, .home-eye-text-page
  .owl-nav .owl-next {
    background: initial !important;
    margin: 12px;
    background: initial !important;
    background-color: #ffffff;
    box-shadow: 4px 4px 10px rgb(0 0 0 / 10%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
  }

  .contact-form .form-css-label input:focus + label,
  .contact-form .form-css-label input:valid + label,
  .contact-form fieldset:focus label,
  .contact-form .form-group label {
    transform: initial;
  }

.home-eye-text-page .owl-nav .nav-btn {
    line-height: 40px;
  }
}
