.qtip {
  font-size: 12px;
  max-width: none;
}

.qtip a:link {
  color: #0067e1;
}

.qtip a:hover {
  color: #0761ae;
}

.qtip-blue {
  color: #477490;
}

.qtip-titlebar {
  font-size: 14px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.qtip-default .qtip-icon {
  background: transparent;
}

.qtip-icon .ui-icon {
  font-size: 15px;
  color: #477490;
}

.qtip-close {
  border: none;
}

.qtip-titlebar .qtip-close {
  right: 5px;
  top: 12px;
  margin: 0;
}

.qtip_content,
.cruiseSearchqTip,
.hotelSearchqTip,
.qtip_tour_content {
  display: none;
}

.qtip_cruiseSearchTip,
.qtip_hotelSearchTip {
  max-width: 700px;
}

.qtip-content .ak_qtip_content h5 b {
  text-decoration: underline;
}

.qtip-content .ak_qtip_content p {
  font-style: italic;
}

.qtip-content .ak_qtip_content ul {
  list-style: disc;
  margin: 10px 0 0 26px;
}

/* Every tip (but the tour deals' cards, styled on their own) as a small card: rounded corners, room
   around its words and a size that reads easily, in its own colors. */
.qtip:not(.qtip-tour_deals) {
  border-radius: 10px;
}

.qtip:not(.qtip-tour_deals) .qtip-content {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
}

/* The search forms' long Search Help tips keep their smaller type, so they stay on the screen. */
.qtip.qtip_cruiseSearchTip:not(.qtip-tour_deals) .qtip-content,
.qtip.qtip_hotelSearchTip:not(.qtip-tour_deals) .qtip-content {
  font-size: 12px;
  line-height: 1.4;
}

.qtip:not(.qtip-tour_deals) .qtip-titlebar {
  border-radius: 10px 10px 0 0;
}

/* Phones and narrow windows: a tip spans the screen so it never runs off it, but inset 12px from
   each edge, so it reads as a tip and not as a bar across the page. It is not
   lined up with its (i) any more, so its pointer is not drawn. */
@media (width <= 720px) {
  .qtip:not(.qtip-tour_deals) {
    box-sizing: border-box;
    width: calc(100% - 24px) !important;
    max-width: none;
    left: 12px !important;
  }

  .qtip:not(.qtip-tour_deals) .qtip-tip {
    display: none !important;
  }
}
