/* ------------------------------------------------------------------
   Target Tours India - Morocco pages
   Loaded after styless.css. Only styles the tt-* classes used by
   morocco.html and the eight morocco-*.html tour pages.
   ------------------------------------------------------------------ */

/* ---------- hero slider ---------- */

.tt-slider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.tt-slides {
  position: relative;
}

.tt-slide {
  display: none;
}

.tt-slide.is-active {
  display: block;
}

.tt-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fade between slides once scripting is available */
.js .tt-slide {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .7s ease;
}

.js .tt-slide.is-active {
  position: relative;
  opacity: 1;
}

.tt-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(35, 47, 62, .55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background .15s ease;
}

.tt-slider-nav:hover,
.tt-slider-nav:focus {
  background: rgba(35, 47, 62, .85);
  outline: none;
}

.tt-prev { left: 16px; }
.tt-next-btn { right: 16px; }

.tt-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  line-height: 1;
}

.tt-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}

.tt-slider-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 5px;
}

/* ---------- package cards ----------
   The cards reuse the site's own .box-efft / .span4 classes from
   styless.css. Only the two extra lines are styled here. */

.tt-route-line {
  display: block;
  font-size: 12.5px;
  color: #232f3e;
  font-weight: 600;
  margin: 2px 0 8px;
  line-height: 1.5;
}

.tt-card-foot {
  margin-top: 6px;
  padding-bottom: 4px;
}

.tt-view {
  display: inline-block;
  float: right;
  font-size: 12.5px;
  font-weight: 700;
  color: #232f3e;
  border: 1px solid #232f3e;
  padding: 5px 15px;
  border-radius: 3px;
  transition: background .15s ease, color .15s ease;
}

.box-efft a:hover .tt-view {
  background: #232f3e;
  color: #fff;
}

.tt-card-foot:after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- price ---------- */

.tt-por {
  font-size: 13px;
  font-weight: 600;
  color: #4a5560;
}

/* ---------- detail page ---------- */

.tt-duration-line {
  font-size: 15px;
  color: #6b7683;
  margin: 4px 0 16px;
  font-weight: 400;
}

.tt-meta {
  background: #f4f6f8;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.tt-meta span {
  display: block;
  margin-bottom: 6px;
}

.tt-meta span:last-child { margin-bottom: 0; }

.tt-meta i {
  color: #232f3e;
  margin-right: 8px;
  width: 14px;
}

.tt-sec-head {
  font-size: 22px;
  color: #232f3e;
  font-weight: 700;
  margin: 34px 0 14px;
}

.tt-itinerary {
  border-top: 1px solid #e7eaed;
}

.tt-day {
  border-bottom: 1px solid #e7eaed;
  padding: 15px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.tt-day-head {
  margin-bottom: 6px;
}

.tt-daynum {
  display: inline-block;
  min-width: 58px;
  font-size: 11px;
  letter-spacing: .6px;
  color: #8a939c;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: top;
  padding-top: 3px;
}

.tt-day-head h3 {
  display: inline;
  font-size: 15.5px;
  color: #232f3e;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.tt-day-body p {
  margin: 0 0 0 58px;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.tt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tt-list li {
  padding: 8px 0 8px 27px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px dotted #e7eaed;
}

.tt-list li:before {
  position: absolute;
  left: 0;
  top: 8px;
  font-family: FontAwesome;
  font-size: 13px;
}

.tt-list-yes li:before { content: "\f00c"; color: #1a7f4b; }
.tt-list-no  li:before { content: "\f00d"; color: #b3261e; }

.tt-note {
  margin-top: 26px;
  font-size: 13px;
  color: #8a939c;
}

/* ---------- booking form ---------- */

.tt-booking-form.introform {
  padding-top: 50px;
  border: none;
}

.tt-booking-form form {
  background: #f4f6f8;
  border-radius: 5px;
  padding: 22px;
}

.tt-booking-form h3 {
  font-size: 17px;
  margin: 0 0 14px;
  color: #232f3e;
}

.tt-booking-form .form-control,
.tt-booking-form .form-control1 {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.tt-booking-form textarea.tt-feedback {
  resize: vertical;
  min-height: 76px;
}

.tt-flex-label {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  margin: -2px 0 12px;
  color: #555;
}

.tt-flex-label input {
  width: auto;
  margin: 0 6px 0 0;
  display: inline-block;
}

.tt-next {
  background: #232f3e;
  display: block;
  width: 100%;
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 5px;
  padding: 11px 26px;
  cursor: pointer;
  transition: background .15s ease;
}

.tt-next:hover,
.tt-next:focus { background: #1a2430; }
.tt-next:disabled { background: #6b7683; cursor: not-allowed; }

.tt-reply-note {
  display: block;
  text-align: center;
  font-size: 11.5px;
  color: #6b7683;
  margin-top: 7px;
}

/* Honeypot - invisible to people, reachable by bots */
.tt-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- mobile ---------- */

@media (max-width: 991px) {
  .tt-booking-form.introform { padding-top: 24px; }
}

@media (max-width: 767px) {
  .tt-slider-nav { width: 34px; height: 34px; font-size: 19px; }
  .tt-prev { left: 8px; }
  .tt-next-btn { right: 8px; }
  .tt-slider-dots { bottom: 8px; }

  .tt-day-body p { margin-left: 0; }
  .tt-daynum { display: block; margin-bottom: 3px; }
  .tt-day-head h3 { display: block; }

  .tt-sec-head { font-size: 19px; }
  .tt-view { margin-left: 0; display: block; text-align: center; }

  /* stops iOS zooming the page when a field is focused */
  .tt-booking-form .form-control,
  .tt-booking-form .form-control1 { font-size: 16px; }
}
