.top-row {
  margin-top: 50px;
}

.booking-details h3 {
  color: #5d5da5;
  font-weight: bold;
  margin-top: 10px;
}

.booking-details strong {
  color: #5d5da5;
}

.motorhome-grid .thumbnail {
	min-height: 365px;
  padding-top: 15px;
}
.motorhome-grid .thumbnail .btn-row .btn {
	position: relative;
	bottom: 0;
}

.motorhome-grid .caption {
	min-height: 275px;
	position: relative;
}

.motorhome-grid .caption .btn-row {
	padding: 15px;
}

.motorhome-grid .caption .title {
	min-height: 3.75em;
}

/* Added by Eric 2018-05-16 */
.motorhome-grid .caption .titleselected {
	min-height: 3.75em;
	color: #5d5da5;
}

/* Added by Eric 2019-03-28 to control the height of the vehicle name on the Search results page (motorhomes_base.html)
* when the name is just a string.
*/
.control-vehicle-name-height-car {
  -webkit-line-clamp: 3;
  overflow : hidden;
  text-overflow: ellipsis;
  white-space: wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  min-height: 5.15em;
  max-height: 5.15em;
}
.control-vehicle-name-height-rv {
  -webkit-line-clamp: 3;
  overflow : hidden;
  text-overflow: ellipsis;
  white-space: wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  min-height: 4.50em;
  max-height: 4.50em;
}

.motorhome-grid .caption .reviews {
	margin-top: 0px;
}

.motorhome-grid .caption .more-info {
	width: 100%;
	margin-top: 10px;
}

.motorhome-grid .caption .options {
	width: 100%;
	margin-top: 10px;
}

.motorhome-grid .caption .change-options {
	width: 100%; 
	margin-top: 10px;
	background-color: #3c3c3c;
	opacity: 0.65;
	border-color: #c3c3c3;
}

.motorhome-grid .caption .options-light {
	width: 100%;
	margin-top: 10px;
	background-color: #3c3c3c;
	opacity: 0.10;
	border-color: #c3c3c3;
}

.motorhome-grid .caption .change-options-light {
	width: 100%; 
	margin-top: 10px;
	background-color: #3c3c3c;
	opacity: 0.10;
	border-color: #c3c3c3;
}

.motorhome-grid .caption .book-now {
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	/* width: 100%; removed by Eric 2018-04-25 */
}

.motorhome-grid .caption .book-now: {
	background-color: #3c3c3c;
	opacity: 0.65;
  border-color: #c3c3c3;
}

.motorhome-grid .caption .book-now:hover {
	opacity: 0.5;
}


.motorhome-grid .caption .book-now-light {
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	/* width: 100%; removed by Eric 2018-04-25 */
}

.motorhome-grid .caption .book-now-light: {
	background-color: #3c3c3c;
	opacity: 0.10;
  border-color: #c3c3c3;
}

.motorhome-grid .caption .book-now-light:hover {
	opacity: 0.05;
}

.motorhome-grid .caption .book-after {
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	/* width: 100%; removed by Eric 2018-04-25 */
  /* background-color: #008000;  added but removed by Eric, removed 2018-07-09 because it merely caused green to flash; changed in motorhome-btn.js instead */
	opacity: 0.65; 
  /* border-color: #008000; added but removed by Eric, removed 2018-07-09 because it merely caused green to flash; changed in motorhome-btn.js instead */
}

.motorhome-grid .caption .book-after-red {
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	opacity: 0.65; 
}

.motorhome-grid .caption .book-after-light {
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	opacity: 0.20; 
}

.motorhome-grid img {
	max-height: 100px;
	border-radius: 4px;
}

.motorhome-grid .price {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 0.2em;
	/* Changed by Eric 2017-08-17: margin-bottome was 1em */
}

/* Added by Eric 2018-05-16 */
.motorhome-grid .priceselected {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 0.2em;
	color: #5d5da5;	
}


.motorhome-grid .popover img {
	max-width: 100%;
}

.flip-container {
	perspective: 1000;
	position: relative;
	-webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

.flip-container.flip .flipper {
  -webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 100%;
	height: 100px;
}

.flipper {
  -webkit-transition: 0.6s;
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
}

.flipper img {
	max-width: 95%;
}

.front, .back {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

.front {
	z-index: 2;
	/* for firefox 31 */
  -webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.flip-container i {
  position: absolute;
  top: -10%;
  left: 100%;
  border-radius: 50%;
  color: #fff;
  width: 32px;
  height: 32px;
  line-height: 60px;
  background: #5d5da5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  -webkit-transform: translate(-50%, -50%) scale(0);
  transform: translate(-50%, -50%) scale(0);
  -webkit-transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
  transition: all 300ms 0ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
  z-index: 1;
}

.flip-container:hover i {
	-webit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  -webkit-transition: all 300ms 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 300ms 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flip-container .fa-rotate-left:before {
    content: "\f0e2";
    display: block;
    position: relative;
    top: -43%;
    padding-left: 1px;
    font-size: 1.45em;
    -webkit-transition: all 0.3s ease;
	  transition: all 0.3s ease;
}

.flip-container .rotate-icon.fa-rotate-left:before {
	-webkit-transform: rotate(-180deg);
	transform: rotate(-180deg);
}

.motorhome-grid .caption .btn:focus {
	outline: 5px auto #5d5da5;
}

/* Added by Eric 2017-09-12: for use after a user selects a vehicle for options or booking. */
.motorhome-selection img {
	border-radius: 4px;
}

#motorhomeOptionsModal .row {
	margin: 10px;
}

#motorhomeOptionsModal .img-thumbnail {
	margin-bottom: 15px;
}

#motorhomeOptionsModal .nav-tabs {
	background: #dde;
    border-radius: 5px 5px 0 0;
}

#motorhomeOptionsModal .nav-tabs a {
	color: #5d5da5;
}

#motorhomeOptionsModal h3 {
	color: #5d5da5;
}

#motorhomeOptionsModal ul.nav > li {
	border-bottom: none;
}

#motorhomeOptionsModal .nav-tabs > li {
    margin-bottom: -3px;
}

#motorhomeOptionsModal dt,
#motorhomeOptionsModal strong {
	color: #5d5da5;
}

#motorhomeOptionsModal .price-details {
	margin-top: 0;
}

#motorhomeOptionsModal .price-details h4 {
	display: inline-block;
}

#motorhomeOptionsModal .price-details .grand-total {
	font-size: 29px;
}


#motorhomeInfoModal .row {
	margin: 10px;
}

#motorhomeInfoModal .img-thumbnail {
	margin-bottom: 15px;
}

#motorhomeInfoModal .img-map {
	max-width: 95%;
}

#motorhomeInfoModal .img-logo {
	max-width: 67%;
}

#motorhomeInfoModal .nav-tabs {
	background: #dde;
    border-radius: 5px 5px 0 0;
}

#motorhomeInfoModal .nav-tabs a {
	color: #5d5da5;
}

#motorhomeInfoModal h2 {
	text-transform: capitalize;
	color: #5d5da5;
}

#motorhomeInfoModal h3 {
	text-transform: capitalize;
	color: #5d5da5;
}

#motorhomeInfoModal ul.nav > li {
	border-bottom: none;
}

#motorhomeInfoModal .nav-tabs > li {
    margin-bottom: -3px;
}

#motorhomeInfoModal dt,
#motorhomeInfoModal strong {
	color: #5d5da5;
}

#motorhomeInfoModal .price-details {
	margin-top: 0;
}

#motorhomeInfoModal .price-details h4 {
	display: inline-block;
}

#motorhomeInfoModal .price-details .grand-total {
	font-size: 29px;
}


#motorhomeBookModal .row {
	margin: 10px;
}

#motorhomeBookModal .img-thumbnail {
	margin-bottom: 15px;
}

#motorhomeBookModal .nav-tabs {
	background: #dde;
    border-radius: 5px 5px 0 0;
}

#motorhomeBookModal .nav-tabs a {
	color: #5d5da5;
}

#motorhomeBookModal h3 {
	color: #5d5da5;
}

#motorhomeBookModal ul.nav > li {
	border-bottom: none;
}

#motorhomeBookModal .nav-tabs > li {
    margin-bottom: -3px;
}

#motorhomeBookModal dt,
#motorhomeBookModal strong {
	color: #5d5da5;
}

#motorhomeBookModal .price-details {
	margin-top: 0;
}

#motorhomeBookModal .price-details h4 {
	display: inline-block;
}

#motorhomeBookModal .price-details .grand-total {
	font-size: 29px;
}

#motorhomeReviewsModal .row {
	margin: 10px;
}

#motorhomeReviewsModal .img-thumbnail {
	margin-bottom: 15px;
}

#motorhomeReviewsModal .nav-tabs {
	background: #dde;
    border-radius: 5px 5px 0 0;
}

#motorhomeReviewsModal .nav-tabs a {
	color: #5d5da5;
}

#motorhomeReviewsModal h3 {
	text-transform: capitalize;
	color: #5d5da5;
}

#motorhomeReviewsModal ul.nav > li {
	border-bottom: none;
}

#motorhomeReviewsModal .nav-tabs > li {
    margin-bottom: -3px;
}

#motorhomeReviewsModal dt,
#motorhomeReviewsModal strong {
	color: #5d5da5;
}


#vehicle-photos .img-thumbnail {
	width: 100%;
}

.taxes-list {
	margin-bottom: 10px;
}

.lead-para {
	margin-top: 20px;
}

#insurance ul {
	padding-left: 20px;
	margin-left: 0;
}

#insurance ul li ul li {
	margin-top: 5px;
}

#insurance ul.list-unstyled {
	padding: 0;
}

#insurance .fa-caret-right {
	color: #5d5da5;
}

/* Added by Eric 2018-05-08: for use with legacy data entered in the vendor_policies_registry table, in the keytext = insurance entries. */
.specs-medium {  
	text-transform: capitalize;
	font-size: 18px;
}
