:root {
  --primary: #9f1211;
  --primary-dark: #740808;
  --primary-light: #9f121133;
}

html{
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  overflow-x: hidden;
  padding-top: 74px;
  font-family: 'Nunito', sans-serif;
}

.autodata input{
  width: 100%;
}

.autodata ul#citySearchResult {
  border: 1px solid #ddd;
  top: 46px;
  position: absolute;
  width: 100%;
  margin: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 999;
  max-height: 139px;
  padding: 0px 12px 0;
  overflow-x: hidden;
  border-radius: 8px;
}

.autodata ul#citySearchResult li {

  list-style-type: none;
  cursor: pointer;

}

.autodata ul#citySearchResult li:hover {

  background-color:#8d0e0e88!important;

}

.autodata ul#companySearchResult li:nth-of-type(2n), .autodata ul#citySearchResult li:nth-of-type(2n) {

background: #8d0e0e33;

}

.autodata ul#companySearchResult li, .autodata ul#citySearchResult li {
  background: #d6393933;
  padding: 7px;
}



.autodata ul#companySearchResult, .autodata ul#citySearchResult {border: 0px;padding: 0px;}

@media (min-width:0px) and (max-width:567px){

  .autodata ul#companySearchResult li {
  
      font-size: 16px;
  
  } 
  
  .autodata ul#companySearchResult li, .autodata ul#citySearchResult li {
  
      font-size: 14px;
  
  }
  
  }

/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: bold;
  line-height: inherit;
}

h1 {
  color: #252525;
  font-size: 3em;
  line-height: normal;
}

h2 {
  color: #353535;
  font-size: 2em;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 0;
}

h3 {
  color: #454545;
}

p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}



/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: #252525;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
  font-size: 16px;
}

a,
input,
button {
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

a, a>span {
  position: relative;
  color: inherit;
  text-decoration: none;
  line-height: 24px;
}

a:before, a:after, a>span:before, a>span:after {
  content: '';
  position: absolute;
  transition: transform .5s ease;
}

.hover-1 {
  padding-top: 10px;
}

.hover-1:before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
}

.hover-1:hover:before {
  transform: scaleX(1);
}

a:hover, a:active, a:focus {
  color: var(--primary);
  outline: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #000000;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  margin: 0;
}

section {
  position: relative;
  padding: 50px 0;
}



/*---------------------------------------
     BUTTONS               
  -----------------------------------------*/



/*---------------------------------------
       PRE LOADER
  -----------------------------------------*/



/*---------------------------------------
      MENU
  -----------------------------------------*/

.navbar {
  background-color: white;
  color: #000;
  -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  margin-bottom: 0;
}

.navbar .navbar-brand {
  font-size: 20px;
  font-weight: bold;
  line-height: 40px;
}

.navbar .navbar-nav {
  margin-left: 3em;
}

.navbar .navbar-nav li a {
  line-height: 40px;
  padding-right: 22px;
  padding-left: 22px;
  color: black;
}

.navbar-light .navbar-nav .nav-link{
  color: black;
}

.navbar-light .navbar-nav .nav-link:hover{
  color: var(--primary);
}

.navbar .navbar-toggler {
  border: none;
}

.navbar-brand{
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-brand img{
  height: 30px;
}

/*---------------------------------------
      HOME  & SLIDER            
  -----------------------------------------*/



/*---------------------------------------
      FEATURE              
  -----------------------------------------*/



/*---------------------------------------
      ABOUT              
  -----------------------------------------*/

#about figure {
  vertical-align: top;
  margin-left: 15px;
  transition: 0.25s;
  padding: 20px;
  width: 100%;
  cursor: default;
  display: flex;
  flex-direction: row;
}

#about figure:hover {
  transform: translateX(10px);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-light);
}

#about figure span {
  margin-left: -15px;
  padding: 15px 20px;
  position: relative;
  top: 20px;
}

.partners h5 {
  margin-top: 20px;
}

#about figure span i {
  background: var(--primary);
  border-radius: 50px;
  color: #ffffff;
  font-size: 25px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
}



/*---------------------------------------
      TEAM              
  -----------------------------------------*/


/*---------------------------------------
      COURSES             
  -----------------------------------------*/

#courses .section-title {
  text-align: center;
}



/*---------------------------------------
     NEWS              
  -----------------------------------------*/



/*---------------------------------------
      TESTIMONIAL             
  -----------------------------------------*/

.primary-color {
  color: var(--primary);
}

/*---------------------------------------
      CITIES             
  -----------------------------------------*/

#cities {
  background-color: var(--primary-light);
}

#cities .cities-box {
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  background-color: white;
  padding: 20px;
  border-radius: 4px;
}

#more {
  display: none;
}


/*---------------------------------------
      CONTACT             
  -----------------------------------------*/

#contact {
  background: linear-gradient(45deg, var(--primary-light), white);
  border-bottom: 1px solid #ccc;
  padding: 30px 0;
}

#contact .loan-categories {
  display: flex;
  margin-top: 20px;
}

#contact .loan-categories>div {
  display: flex;
  width: 50%;
  cursor: pointer;
}

.contact-image img {
  border-radius: 5px;
  width: 100%;
}

#contact .loan-categories>div .circle {
  border-radius: 20px;
  padding: 6px;
  align-self: center;
  margin-right: 20px;
  border: 1px solid #666;
  height: 25px;
  width: 25px;
  background-color: white;
}

#contact .loan-categories>div .circle:before {
  content: "";
}

#contact .loan-categories>div {
  color: var(--primary);
  margin-top: 2px;
  background-color: transparent;
  padding: 10px 20px;
  border: 1px solid #ccc;
}

.checked-loanbox {
  background-color: var(--primary-light) !important;
  border: 1px solid var(--primary) !important;
}

.circle.checked {
  background-color: rgb(120 207 98) !important;
  color: white;
  font-size: 12px;
}

.circle.checked:before {
  content: "\f00c" !important;
}

#contact .loan-categories>div p {
  color: #222;
  margin-bottom: 0;
}

#contact .loan-categories>div p:nth-child(1) {
  margin-bottom: 10px;
}

#contact .loan-categories>div .sub-point {
  color: var(--primary);
}

#contact .loan-categories .new-loan {
  width: 50%;
  border-radius: 10px 0 0 10px;
}

#contact .loan-categories .existing-loan {
  width: 50%;
  border-radius: 0 10px 10px 0;
}

#contact .heading h1 {
  color: black;
  font-size: 2.9vw;
  font-weight: 900;
}

#contact .heading h2 {
  color: var(--primary);
  font-size: 2em;
  font-weight: 900;
}

#contact .heading h2 > small {
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

.contactset form {
  height: auto;
  background-color: white;
  padding: 20px;
  margin: 0 auto;
  border-radius: 7px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.contactset form .phonenumber {
  display: flex;
}

.contactset h4 {
  text-align: center;
  margin-top: 50px;
  font-size: 20px;
}

.contactset form .phone-input {
  width: 100%;
}

.contactset form p {
  align-self: center;
  margin-top: 13px;
  color: #666;
  font-size: 18px;
}

.contactset form .apply-button {
  background-color: var(--primary);
  padding: 10px 30px;
  border: none;
  border-radius: 7px;
  color: white;
  font-weight: bold;
  margin-top: 4px;
}

.contactset form .apply-button:hover {
  background-color: var(--primary-dark);
}

.contactset form .apply-button:active {
  transform: scale(0.9);
}

/* .contactset1 
    {
    padding: 48px 23px 450px 27px;
    padding: 1em 0;
    border-radius: 7px;
    background-color: #fff;
    width: 60%;
    align-self: flex-start;
    margin: 0 auto;
    }	
  #contact-form {
    padding: 1em 0;
    border-radius: 7px;
    background-color: #fff;
    padding: 33px 16px 20px;
    width: 100%;
    align-self: flex-start;
    padding: 48px 23px 250px 27px;
    } */

#contact-form input {
  height: 50px;
  outline: none;
  margin: 4px 0;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid #444;
  transition: 0.2s ease;
}

#contact-form select {
  height: 50px;
  outline: none;
  margin: 4px 0;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid #444;
  transition: 0.2s ease;
  background-color: white;
}

#contact-form input:focus {
  border-color: var(--primary);
}

/* #contact-form input[type='submit'] {
    border-radius: 50px;
    border: 1px solid transparent;
    background-image: linear-gradient(to top, #fe6503, #ee861d);
    font-size: 18px;
    width: 284px;
    color: #fff;
    font-weight: bold;
  }

  #contact-form input[type='submit']:hover {
    background: transparent;
    border-color: #ffffff;
    color: #000000;
  } */




/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

footer {
  background: #252020;
  padding: 120px 0;
}

footer .section-title {
  padding-bottom: 10px;
}

footer h2 {
  font-size: 20px;
}

footer a,
footer p {
  color: #909090;
}

footer address p {
  margin-bottom: 0;
}

.footer-info {
  margin-right: 2em;
}

.footer-info h2 {
  color: #ffffff;
  padding: 0;
}

.footer_menu h2 {
  margin-top: 2em;
}

.footer_menu ul {
  margin: 0;
  padding: 0;
}

.footer_menu li {
  display: inline-block;
  list-style: none;
  margin: 5px 10px 5px 0;
}



/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
  padding: 10px;
  margin: 0;
  list-style: none;
}

.social-icon li {
  display: inline-block;
}

.social-icon li a {
  color: white;
  font-size: 18px;
  transition: all 0.25s;
  padding: 10px;
}

.social-icon li a:hover {
  background: white;
  color: #333;
}

.logo-color{
  color: rgb(0, 32, 73);
  text-transform: uppercase;
}

/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 1170px) {
  #contact {
    height: auto;
  }

  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: inherit;
  }

  /* #contact-form {
      padding: 1em 0;
      border-radius: 8px;
      background-color: #fff;
      padding: 33px 16px 20px;
      width: 40%;
      align-self: flex-start;
      padding: 42px 21px 34px 27px;
  } */
  /* .contactset1 
    {
    padding: 48px 23px 450px 27px;
    padding: 1em 0;
    border-radius: 7px;
    background-color: #fff;
    width: 30%;
    align-self: flex-start;
    margin: 0 auto;
    } */
}

@media only screen and (max-width: 992px) {

  .contactset h4{
    font-size: 16px;
    margin-top: 0;
    margin: 25px 0;
  }

  #contact {
    padding: 10px 0;
  }

  #contact .heading h1{
    font-size: 1.6em;
  }

  #contact .heading h2{
    font-size: 1.5em;
  }

  /* .mob-header-img {
    display: block !important;
  } */

  /* .desktop-loan-img {
    display: none;
  } */

  .contactset form {
    flex-direction: column;
    padding: 14px;
  }

  #contact .loan-categories > div{
    flex-direction: column;
    padding: 5px;
    text-align: center;
    justify-content: center;
  }

  #contact .loan-categories>div .sub-point {
    display: none;
  }

  #contact .loan-categories>div p:nth-child(1) {
    margin-bottom: 0;
    margin-top: 10px;
  }

  .contactset form .phone-input {
    border: 1px solid #ccc;
    width: 100%;
    outline: none;
    padding: 10px;
    padding-left: 10px;
    border-radius: 7px;
    margin-bottom: 10px;
  }

  .contactset form p {
    display: none;
  }

  #about figure {
    vertical-align: auto;
    margin-left: 0;
    transition: 0.25s;
    padding: 20px;
    width: 100%;
    cursor: default;
  }

  #cities {
    padding: 30px 35px;
  }

  section,
  footer {
    padding: 40px 0;
  }

  .about-info,
  .footer-info {
    margin-bottom: 50px;
  }

  .contact-image {
    margin-top: 50px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
  .custom-navbar .nav li a {
    padding-right: 10px;
    padding-left: 10px;
  }

  /*  #contact-form {
     
    width: 295px;
    padding: 42px 23px 219px 10px;     
  } */
}

@media only screen and (max-width: 767px) {

  h1 {
    font-size: 2.5em;
  }

  h1, h2, h3 {
    line-height: normal;
  }

  .custom-navbar {
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    text-align: center;
  }

  .custom-navbar .navbar-brand,
  .custom-navbar .nav li a {
    line-height: normal;
  }

  .custom-navbar .nav li a {
    padding: 10px;
  }

  .custom-navbar .navbar-brand {
    font-weight: 700;
    font-size: 22px;
  }

  .footer-info {
    margin-right: 0;
  }

}


@media only screen and (max-width: 580px) {
  h2 {
    font-size: 1.8em;
  }

  .contact-image {
    margin-top: 0;
  }

  #contact-form {

    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 2em;
  }

}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v22/XRXV3I6Li01BKofINeaB.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/nunito/v22/XRXV3I6Li01BKofINeaB.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}