/*****************/
/* NEW QUOTE BOX */
/*****************/

.tc-quote-box {
  text-align: center;
  padding: 50px 0px;
}

.tc-quote-box > form {
  padding: 15px 20px 0px 20px;
  display: inline-block; /*ie7*/
  zoom: 1;
  *display: inline; /*ie7end*/
  background: rgba(216, 216, 216, 0.74);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.tc-quote-box > form .section {
  display: inline-block; /*ie7*/
  zoom: 1;
  *display: inline; /*ie7end*/
  margin-bottom: 5px;
}

.tc-quote-box > form .section-split {
  display: none;
}

.tc-quote-box > form .section.hide,
.tc-quote-box > form .section-split.hide {
  display: none !important;
}

.tc-quote-box input[type="text"],
.tc-quote-box select {
  height: 30px;
  padding: 5px;
  font-size: 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-sizing: content-box;
  border-bottom-width: 2px;
  outline-color: #008dd4;
  font-family: "Muli", "Open Sans", sans-serif;
}

.tc-quote-box > form .journey-type {
  width: 75px;
}

.tc-quote-box > form [name="pickup"],
.tc-quote-box > form [name="via"],
.tc-quote-box > form [name="destination"],
.tc-quote-box > form [name="hourly-pickup"],
.tc-quote-box > form [data-name="pickup"],
.tc-quote-box > form [data-name="via"],
.tc-quote-box > form [data-name="destination"],
.tc-quote-box > form [data-name="hourly-pickup"] {
  width: 160px;
  position: relative;
  z-index: 2;
}

.tc-quote-box .add-multiple-vias {
  position: relative;
  font-size: 12px;
  background: #f9f9f9;
  width: 120px;
  margin-right: -120px;
  padding: 2px;
  display: inline-block;
  z-index: 1;
  color: #3e3e3e;
  text-decoration: none;

  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.45);

  left: -171px;
  bottom: -32px;
  cursor: pointer;
}

.tc-quote-box .add-multiple-vias:hover {
  background: #f2f2f2;
}
.tc-quote-box .add-multiple-vias:active {
  background: #ebebeb;
}
.tc-quote-box .add-multiple-vias .glyphicon {
  font-size: 10px;
}

.tc-quote-box > form [data-multiple-vias] {
  cursor: pointer;
  text-align: center;
}

.tc-quote-box > form [name="date"],
.tc-quote-box > form [name="hourly-date"],
.tc-quote-box > form [name="return"],
.tc-quote-box > form [data-name="date"],
.tc-quote-box > form [data-name="hourly-date"],
.tc-quote-box > form [data-name="return"] {
  width: 150px;
}

.tc-quote-box > form [name="people"],
.tc-quote-box > form [data-name="people"] {
  width: 110px;
}

.tc-quote-box .btn,
.tc-quote-box .btn.disabled {
  height: auto;
  padding: 5px 10px !important;
  line-height: 31px;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}

@media screen and (max-height: 600px) {
  #quote-journey-details-modal .modal {
    margin-top: 10px;
  }
}

@media screen and (max-height: 400px) {
  #quote-journey-details-modal .modal-body {
    max-height: 175px;
    overflow: auto;
  }
}

#quote-journey-details-modal .quote-journey-field {
  margin-bottom: 5px;
  text-align: center;
}

#quote-journey-details-modal .quote-journey-field input {
  width: 270px;
  box-sizing: border-box;
  font-family: "Muli", "Open Sans", sans-serif;
}
#quote-journey-details-modal .quote-journey-field label {
  width: 90px;
  text-align: right;
  margin-right: 5px;
  display: inline-block; /*ie7*/
  zoom: 1;
  *display: inline; /*ie7end*/
}

#quote-journey-details-modal .quote-journey-field .glyphicon {
  font-size: 10px;
  cursor: pointer;
}

#quote-journey-details-modal .quote-journey-field .glyphicon.glyphicon-blank {
  visibility: hidden;
}

#taxicode-home-top {
  background: #0876bb url("https://c0528cdec47b37ba5c52-8ce6c0268e04d770fa1682d5e5e14057.ssl.cf1.rackcdn.com/main-min.jpg") no-repeat center center;
  background-size: cover;
}

#taxicode-home-top .promotional-text {
  color: white;
  padding: 30px 10px;
}

#taxicode-home-top .promotional-text2 {
  color: white;
  padding: 30px 10px;
  display: none;
}

#taxicode-home-top .links {
  float: right;
  padding: 30px;
}

#taxicode-home-top .white-logo {
  float: left;
  padding: 30px;
}

#taxicode-home-top .white-logo img {
  width: 260px;
  max-width: 90%;
}

#taxicode-home-top .taxicode-number {
  color: white;
  font-size: 18px;
  margin: -30px 0px 20px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#taxicode-home-top .taxicode-number a {
  cursor: pointer;
}

#taxicode-home-top .how-does-it-work-container {
  height: 60px;
  padding: 40px 0px 70px;
  text-align: center;
}

@media screen and (min-width: 1400px) {
  #taxicode-home-top .white-logo {
    padding: 30px;
  }
  #taxicode-home-top .tc-quote-box {
    padding: 70px 0px;
  }
  #taxicode-home-top .how-does-it-work-container {
    padding: 60px 0px 90px;
  }
}

@media screen and (min-width: 1600px) {
  #taxicode-home-top .white-logo {
    padding: 30px;
  }
  #taxicode-home-top .tc-quote-box {
    padding: 90px 0px;
  }
  #taxicode-home-top .how-does-it-work-container {
    padding: 80px 0px 110px;
  }
}

@media screen and (max-width: 1230px) {
  .tc-quote-box > form {
    width: 640px;
  }
  .tc-quote-box > form .section.locations-section {
    margin-bottom: 20px;
  }

  .tc-quote-box .add-multiple-vias {
    border-radius: 0px;
    box-shadow: none;
    bottom: -32px;
  }
}

#quote-page-quotebox .tc-quote-box > form .section.locations-section {
  margin-bottom: 20px;
}

#quote-page-quotebox .tc-quote-box .add-multiple-vias {
  box-shadow: none;
  bottom: -32px;
}

#quote-page .tc-quote-box > form .section-split {
  display: inline;
}

.form-labels {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 665px) {
  #taxicode-home-top .promotional-text {
    padding: 10px 10px 0px;
    display: none;
  }
  #taxicode-home-top .promotional-text2 {
    padding: 30px 10px 20px;
    display: block;
  }
  #taxicode-home-top .promotional-text2 .big-title {
    display: none;
    font-size: 24px;
    line-height: 32px;
  }
  #taxicode-home-top .promotional-text2 .small-title {
    font-size: 18px;
    line-height: 24px;
  }
  #taxicode-home-top .promotional-text .big-title {
    font-size: 24px;
    line-height: 32px;
  }
  #taxicode-home-top .promotional-text .small-title {
    font-size: 18px;
    line-height: 24px;
  }

  #taxicode-home-top .white-logo,
  #taxicode-home-top .links {
    padding: 10px 0px 10px 10px;
  }

  #taxicode-home-top .white-logo {
    padding-bottom: 0;
  }

  #taxicode-home-top .white-logo img {
    width: 234px;
  }

  #taxicode-home-top .how-does-it-work-container {
    padding: 0px 0px 20px;
  }

  .form-labels {
    display: none;
  }

  .tc-quote-box {
    padding-top: 20px;
  }

  .tc-quote-box > form {
    width: 300px;
  }
  .tc-quote-box > form input {
    min-width: 280px;
    max-width: 280px;
    margin-bottom: 5px;
  }
  .tc-quote-box > form select {
    min-width: 260px;
    max-width: 260px;
    margin-bottom: 5px;
  }
  .tc-quote-box > form .btn {
    min-width: 290px;
    max-width: 290px;
    margin-bottom: 5px;
  }

  #quote-page-quotebox .tc-quote-box > form .section.locations-section,
  .tc-quote-box > form .section,
  .tc-quote-box > form .section.locations-section {
    margin-bottom: 0px;
  }

  #quote-page-quotebox .tc-quote-box .add-multiple-vias,
  .tc-quote-box .add-multiple-vias {
    width: 97%;
    margin: 15px 0px;
    padding: 7px 0px;
    box-shadow: none;
    left: 0px;
    bottom: 0px;
    display: inline-block;
    text-align: center;
  }

  #quote-journey-details-modal .quote-journey-field input {
    width: 200px;
    box-sizing: border-box;
  }
  #quote-journey-details-modal .quote-journey-field label {
    width: 50px;
    text-align: right;
    margin-right: 5px;
    display: inline-block; /*ie7*/
    zoom: 1;
    *display: inline; /*ie7end*/
  }
}

/************************/
/* TAXICODE DATE PICKER */
/************************/

.tc-datepicker {
  transition: height 0.3s linear;
  text-align: center;
}

.tc-datepicker .arrow {
  text-align: center;
  color: white;
  margin-top: -20px;
  font-size: 14px;
  text-shadow:
    0px 1px 0px #fff,
    0px -1px 1px rgba(0, 0, 0, 0.51);
}

.tc-datepicker .arrow.bottom {
  margin-top: 0px;
  margin-bottom: -20px;
  text-shadow:
    0px -1px 0px #fff,
    0px 1px 1px rgba(0, 0, 0, 0.51);
}

.tc-datepicker select {
  border-radius: 0px;
  border-bottom-width: 2px;
}

.tc-datepicker .seperator {
  vertical-align: middle;
  background: #ccc;
  width: 1px;
  padding: 0px;
  height: 160px;
}

.tc-datepicker .ui-datepicker {
  display: inline-block !important;
}

.tc-datepicker .ui-datepicker-calendar td {
  width: 30px;
}

.tc-datepicker .ui-datepicker-calendar td a:hover {
  background: #f4f4f4;
}

.tc-datepicker .ui-datepicker-prev {
  float: left;
}

.tc-datepicker h3 {
  margin-bottom: 10px;
  font-weight: bold;
}

.not-valid {
  border-color: #e24242 !important;
  box-shadow: 0px 0px 4px #e24242;
}

.complex-anchor {
  margin: 15px 0px;
}
