/*
Template Name: Mileage Price Calculator
Template URL: https://redwanweb.online/price-calculator
Description: Personal Project to Calculate the Pricing for Per millage & equibment
Author: Redwan Hussain
Author URI: https://redwanweb.online/
Version: 1.0.3
*/
/*=================================
    CSS Index Here
==================================*/
/*
01. Element Base
    1.1. Typography
02. Element Style
    2.1. Form
*/
/*=================================
    CSS Index End
==================================*/
/*=================================
   01. Theme Base
==================================*/
/*------------------- 1.1. Typography -------------------*/
:root {
  --theme-color: #F25000;
  --body-bg: #ffffff;
  --body-color: #4C4C4C;
  --title-color: #070707;
  --secondary-color: #1F1F1F;
  --smoke-color: #EEEEEE;
  --light-color: #f8f9fa;
  --black-color: #000000;
  --white-color: #ffffff;
  --yellow-color: #fec624;
  --success-color: #28a745;
  --error-color: #dc3545;
  --border-color: rgba(76,76,76, 0.30);
  --title-font: "Barlow", sans-serif;
  --body-font: "Roboto", sans-serif;
  --icon-font: 'Font Awesome 6 Pro';
  --main-container: 1300px;
  --container-gutters: 30px;
  --section-space: 110px;
  --section-space-mobile: 80px;
  --section-title-space: 60px;
  --ripple-ani-duration: 5s;
  border: none;
}

html,
body {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--body-color);
  background-color: var(--body-bg);
  line-height: 28px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

iframe {
  border: none;
  width: 100%;
}

.slick-slide:focus,
button:focus,
a:focus,
a:active,
input,
input:hover,
input:focus,
input:active,
textarea,
textarea:hover,
textarea:focus,
textarea:active {
  outline: none;
}

input:focus {
  outline: none;
  box-shadow: none;
}

img:not([draggable]),
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid var(--border-color);
}

th {
  font-weight: 700;
  color: var(--title-color);
}

td,
th {
  border: 1px solid var(--border-color);
  padding: 9px 12px;
}

a {
  color: var(--theme-color);
  text-decoration: none;
  outline: 0;
  transition: all ease 0.4s;
}
a:hover {
  color: var(--title-color);
}
a:active, a:focus, a:hover, a:visited {
  text-decoration: none;
  outline: 0;
}

button {
  transition: all ease 0.4s;
}

img {
  border: none;
  max-width: 100%;
}

ins {
  text-decoration: none;
}

pre {
  background: #f5f5f5;
  color: #666;
  font-size: 14px;
  margin: 20px 0;
  overflow: auto;
  padding: 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

span.ajax-loader:empty,
p:empty {
  display: none;
}

p {
  margin: 0 0 18px 0;
  color: var(--body-color);
  line-height: 1.63;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
p a,
span a {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.h1,
h1,
.h2,
h2,
.h3,
h3,
.h4,
h4,
.h5,
h5,
.h6,
h6 {
  font-family: var(--title-font);
  color: var(--title-color);
  text-transform: none;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px 0;
}

.h1,
h1 {
  font-size: 48px;
}

.h2,
h2 {
  font-size: 40px;
}

.h3,
h3 {
  font-size: 36px;
}

.h4,
h4 {
  font-size: 30px;
}

.h5,
h5 {
  font-size: 24px;
}

.h6,
h6 {
  font-size: 20px;
}

/* Large devices */
@media (max-width: 1199px) {
  .h1,
  h1 {
    font-size: 40px;
  }
  .h2,
  h2 {
    font-size: 36px;
  }
  .h3,
  h3 {
    font-size: 30px;
  }
  .h4,
  h4 {
    font-size: 24px;
  }
  .h5,
  h5 {
    font-size: 20px;
  }
  .h6,
  h6 {
    font-size: 16px;
  }
}
/* Small devices */
@media (max-width: 767px) {
  .h1,
  h1 {
    font-size: 36px;
  }
  .h2,
  h2 {
    font-size: 30px;
  }
  .h3,
  h3 {
    font-size: 26px;
  }
  .h4,
  h4 {
    font-size: 22px;
  }
  .h5,
  h5 {
    font-size: 18px;
  }
  .h6,
  h6 {
    font-size: 16px;
  }
}
/*------------------- 1.1. Input -------------------*/
select,
.form-control,
.form-select,
textarea,
input {
  width: 100%;
  height: 60px;
  padding: 0 45px 0 30px;
  font-size: 16px;
  font-family: var(--body-font);
  color: var(--body-color);
  background-color: var(--smoke-color);
  border: none;
  border-radius: 9999px;
}
select:focus,
.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
  background-color: var(--white-color);
}
select::-moz-placeholder,
.form-control::-moz-placeholder,
.form-select::-moz-placeholder,
textarea::-moz-placeholder,
input::-moz-placeholder {
  color: var(--body-color);
}
select::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder,
.form-select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder {
  color: var(--body-color);
}
select:-ms-input-placeholder,
.form-control:-ms-input-placeholder,
.form-select:-ms-input-placeholder,
textarea:-ms-input-placeholder,
input:-ms-input-placeholder {
  color: var(--body-color);
}
select::placeholder,
.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder,
input::placeholder {
  color: var(--body-color);
}

.form-select,
select {
  display: block;
  width: 100%;
  line-height: 1.5;
  vertical-align: middle;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 26px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

textarea.form-control,
textarea {
  min-height: 150px;
  padding-top: 16px;
  padding-bottom: 17px;
  border-radius: 0;
}

input[type=checkbox] {
  visibility: hidden;
  opacity: 0;
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  display: none;
}
input[type=checkbox]:checked ~ label:before {
  content: "\f00c";
  color: var(--white-color);
  background-color: var(--theme-color);
  border-color: var(--theme-color);
}
input[type=checkbox] ~ label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: block;
  margin-bottom: 0;
  line-height: 1.4;
}
input[type=checkbox] ~ label:before {
  content: "";
  font-family: var(--icon-font);
  font-weight: 700;
  position: absolute;
  left: 0px;
  top: 3.5px;
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  height: 18px;
  width: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
}

input[type=radio] {
  visibility: hidden;
  opacity: 0;
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  display: none;
}
input[type=radio] ~ label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  line-height: 1;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0;
}
input[type=radio] ~ label::before {
  content: "\f111";
  position: absolute;
  font-family: var(--icon-font);
  left: 0;
  top: -4px;
  width: 20px;
  height: 20px;
  padding-left: 0.5px;
  font-size: 0.4em;
  line-height: 18.95px;
  text-align: center;
  border: 1px solid var(--theme-color);
  border-radius: 100%;
  font-weight: 700;
  background: var(--body-bg);
  color: transparent;
  transition: all 0.2s ease;
}
input[type=radio]:checked ~ label::before {
  border-color: var(--theme-color);
  background-color: var(--theme-color);
  color: var(--white-color);
}

label {
  margin-bottom: 0.5em;
  margin-top: -0.3em;
  display: block;
  color: var(--body-color);
  font-family: var(--body-font);
  font-size: 16px;
}

.form-group {
  margin-bottom: var(--bs-gutter-x);
  position: relative;
}
.form-group > i {
  position: absolute;
  right: calc(var(--bs-gutter-x) / 2 + 30px);
  top: 21px;
  font-size: 16px;
  color: #A0ABB4;
}
.form-group.has-label > i {
  top: 50px;
}

textarea.is-invalid,
select.is-invalid,
input.is-invalid,
.was-validated input:invalid {
  border: 1px solid var(--error-color) !important;
  background-position: right calc(0.375em + 0.8875rem) center;
  background-image: none;
}
textarea.is-invalid:focus,
select.is-invalid:focus,
input.is-invalid:focus,
.was-validated input:invalid:focus {
  outline: 0;
  box-shadow: none;
}

textarea.is-invalid {
  background-position: top calc(0.375em + 0.5875rem) right calc(0.375em + 0.8875rem);
}

.row.no-gutters > .form-group {
  margin-bottom: 0;
}

.form-messages {
  display: none;
  margin: 0;
  padding: 10px 15px;
  margin-top: 15px;
  border-radius: 4px;
}
.form-messages > pre:last-child {
  margin-bottom: 0;
}
.form-messages > pre:first-of-type {
  margin-top: 0;
}
.form-messages.success {
  background-color: var(--success-color);
  color: var(--white-color);
  display: block;
}
.form-messages.error {
  background-color: var(--error-color);
  color: var(--white-color);
  display: block;
}
.form-messages pre {
  padding: 0;
  background-color: transparent;
  color: inherit;
}

/*=================================
    02. Elements
==================================*/
/*------------------- 2.1. Form -------------------*/
.calculator-section {
  background-color: #d3d3d3;
  padding: 80px 0;
}

.calculator-form {
  padding: 60px 40px;
  border-radius: 10px;
  background-color: var(--white-color);
}
.calculator-form .form-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 45px;
}
.calculator-form .feature-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.calculator-form .form-group {
  margin-bottom: 20px;
}
.calculator-form .form-control,
.calculator-form .form-select {
  border: 1px solid #eee;
  background-color: transparent;
  font-size: 14px;
  height: 50px;
  padding-left: 20px;
  border-radius: 8px;
  padding-right: 20px;
}
.calculator-form .form-control.address-autocomplete {
  padding-right: 50px;
}
.calculator-form label {
  font-weight: 600;
  font-family: var(--title-font);
  color: var(--title-color);
}
.calculator-form .form-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.calculator-form .view-address {
  position: absolute;
  right: calc(var(--bs-gutter-x) + 10px);
  top: 46px;
  border: none;
  background-color: transparent;
  padding: 0;
  line-height: 1;
}
.calculator-form .map-address {
  position: absolute;
  left: calc(var(--bs-gutter-x) / 2);
  right: calc(var(--bs-gutter-x) / 2);
  top: calc(100% - 2px);
  background-color: #fff;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.4s;
  z-index: 91;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}
.calculator-form .map-address.active {
  opacity: 1;
  visibility: visible;
}
.calculator-form .map-address span {
  font-size: 14px;
  font-weight: 400;
  display: block;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  padding: 7px 15px;
  background-color: #fff;
  line-height: 1.4;
  transition: all ease 0.4s;
}
.calculator-form .map-address span:hover {
  background-color: var(--bs-primary);
  color: var(--white-color);
}
.calculator-form .feature-btns .btn {
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
}
.calculator-form .feature-btns .btn img {
  position: relative;
  top: -1px;
  max-width: 0.8rem;
  margin-right: 5px;
}
.calculator-form .view-estimate {
  display: none;
}
.calculator-form .view-estimate.active {
  display: inline-block;
}

@media (max-width: 767px) {
  .calculator-form {
    padding: 30px 20px;
  }
  table.table.table-borderless.mb-0 {
    font-size: 12px;
  }
  table.table.table-borderless.mb-0 td,
  table.table.table-borderless.mb-0 th {
    padding: 0 5px;
  }
}

/*# sourceMappingURL=calculator-style.css.map */
