body {
  margin-bottom: 0;
}

h1 {
  font-size: 22px;
}

.header-small {
  font-size: 70%;
}

.dark-theme .text-muted {
  color: white;
}

.container {
  background-color: white;
}

.noUi-handle.noUi-handle-lower:before,
.noUi-handle.noUi-handle-lower:after {
  background: none;
}

.noUi-handle.noUi-handle-lower {
  border-radius: 50%;
  width: 16px;
  height: 16px;
  left: -8px;
  background-color: #01a4e1;
  box-shadow: none;
  border: none;
}

.noUi-base {
  background-color: #bfcbd3;
  border: none;
}

.noUi-horizontal {
  height: 8px;
  margin-top: 4px;
}

.noUi-connect {
  background-color: #3080c3;
  border: none;
}

.noUi-active {
  background-color: orange !important;
}

.light-blue {
  color: #01a4e1;
}

.dark-blue {
  background-color: #3080c3;
  color: white;
}

.light-background {
  background-color: #f7fafc;
}

.with-border {
  border-bottom: 1px solid #d2dde3;
}

.dark-blue .checkbox-custom + .checkbox-custom-label:before,
.dark-blue .radio-custom + .radio-custom-label:before{
  background-color: #003755;
}

.option {
  margin-bottom: 10px;
}

#car-pictures-container {
  padding-left: 0;
  padding-right: 0;
}

#car-pictures li img {
  height: 520px;
}

@media (min-width: 1100px) {
  #car-pictures li img {
    height: 610px;
  }
}

#car-pictures-container {
  position: relative;
}

#car-title-card {
  position: absolute;
  bottom: 23px;
  left: 58px;
  background-color: white;
  z-index: 10;
  padding-left: 16px;
  padding-right: 16px;
}

h4.heading {
  font-weight: bold;
}

.btn.btn-sq {
  font-size: 18px;
  padding: 14px 24px;
  font-weight: bold;
  border-radius: 2px;
}

.equipment-cell {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

.equipment-cell:nth-child(0) {
  border-top: 1px solid #ddd;
}

.table.table-striped tr:nth-child(odd),
.row-odd .equipment-cell {
  background-color: #f7fafc;
}

.left.floated {
  float: left;
}

.seller-logo {
  text-align: center;
  margin: 0 auto;
}

.rounded.photo {
  border-radius: 50%;
  width: 128px;
}

.monthly_price_header { margin-top: 10px; }

@media (max-width: 992px) {
  .text-right-sm {
    text-align: right;
  }

  #car-pictures li img {
    height: 520px;
  }
}

@media (max-width: 767px) {

  #monthly-pay-container.is-stuck {
    box-shadow: 0px 2px 12px 6px rgba(0,0,0,0.2);
  }

  .text-right-xs {
    text-align: right;
  }

  #car-pictures li img {
    height: 470px;
  }

  .checkbox-custom-label {
    width: 100%;
  }

  .checkbox-custom-label:before {
    float: right;
  }

  .noUi-handle.noUi-handle-lower {
    width: 22px;
    height: 22px;
    left: -11px;
    top: -7px;
  }
}

@media (max-width: 476px) {
  #car-pictures li img {
    height: 240px;
  }
}

#monthly-pay-container.is-stuck {
  width: 100%;
  z-index: 300;
  padding-top: 8px;
  padding-bottom: 8px;
}

.calc-table td:first-child {
  width: 60%;
}

.checkbox-toggle {
  display: inline-block;
  position: relative;
  cursor: pointer;
  height: 18px;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 8px;
  width: 34px;
  margin-top: 12px;
}

.checkbox-toggle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-toggle .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 34px;
  border-radius: 14px;
  background-color: #003755;
}

.is-buy-form .dialog-leasing-info {
  display: none;
}

.checkbox-toggle input:checked ~ .checkmark {
  background-color: #aaa;
}

.checkbox-toggle .checkmark > .indicator {
  display: block;
  position: absolute;
  width: 14px;
  z-index: 2;
  background: white;
  border-radius: 50%;
  left: 2px;
  top: 2px;
  bottom: 2px;
}

.checkbox-toggle input:checked ~ .checkmark > .indicator {
  right: 2px;
  left: auto;
}

.checkbox-toggle:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-toggle input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-toggle .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
}

.tax-toggle-row {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tax-toggle-row .label-text {
  vertical-align: top;
  line-height: 44px;
  padding-left: 5px;
  padding-right: 5px;
}

.dialog-container {
  position: relative;
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.dialog-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,0.3);
  z-index: 1000;
}

.dialog {
  display: block;
  bottom: 8px;
  outline: 0;
  position: absolute;
  z-index: 1010;
  background-color: white;
  color: #333;
  padding: 8px;
  max-width: 100%;
  width: 600px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
}

.dialog input,
.dialog textarea {
  border-radius: 0;
}

.dialog-footer {
  margin-top: 12px;
}

.calc-table {
  text-align: left;
}

/* TOGGLE STYLING */
.period-toggle {
  box-sizing: border-box;
  font-size: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

.period-toggle input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}

.period-toggle input + label {
  margin: 0;
  padding: .75rem 2rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: 1px solid #DDD;
  border-left-width: 0px;
  background-color: #FFF;
  font-size: 12px;
  cursor: default;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color .15s ease-out,  color .25s ease-out,  background-color .15s ease-out, box-shadow .15s ease-out;
  /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
  /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
  display: flex;
  justify-content: center;
  align-items: center;
  /* ----- */
}

.dark-theme .period-toggle input + label {
  background-color: #4b4b4b;
  border-color: #1a1a1a;
  color: #fff;
}


.period-toggle input + label:first-of-type {
  border-left-width: 1px !important;
}
/*
.period-toggle input + label:first-of-type {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.period-toggle input + label:last-of-type {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-left: none;
}

body.tax_included .period-toggle-last-label {
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}
*/
.period-toggle input:hover + label {
  border-color: #213140;
}
.period-toggle input:checked + label {
  background-color: #4B9DEA;
  color: #FFF;
  box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
  border-color: #4B9DEA;
  z-index: 1;
}
.period-toggle input:focus + label {
  outline: dotted 1px #CCC;
  outline-offset: .45rem;
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
.period-status {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}
.period-status span {
  font-weight: 600;
  color: #B6985A;
}
.period-status span:first-of-type {
  display: inline;
}
.period-status span:last-of-type {
  display: none;
}
@media (max-width: 800px) {
  .period-status span:first-of-type {
    display: none;
  }
  .period-status span:last-of-type {
    display: inline;
  }
}

body.tax_included .toggle-period-business-only {
  display: none;
}
