/**
* Execs Detail Limo - site additions
*
* style.css and responsive.css are the original Gorent template stylesheets,
* left untouched so the template can be updated cleanly. This file is loaded
* after both and covers only what the template did not ship with: the
* why-choose-us grid, the full services list, the fleet gallery, the
* call-to-action band, the policy page, and small form/navigation states.
*
* No new colours are introduced - every rule uses the existing custom
* properties from style.css, so the palette is identical.
*
TABLE OF CONTENTS

    + Logo
    + Navigation
    + Buttons
    + Signature block
    + Section intros
    + Why Choose Us
    + Fleet preview
    + Services page
    + Fleet page
    + Call to action
    + FAQ page
    + Text pages
    + 404
    + Forms
    + Responsive

*/


/**************************************
*
*         LOGO
*
***************************************/


#logo img {
	width: 240px;
	max-width: 100%;
}

#logo-footer img {
	width: 300px;
	max-width: 100%;
}


/**************************************
*
*         NAVIGATION
*
***************************************/


.menu li a.current {
	color: var(--color-gold);
}

.social-link li a.header-phone {
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	white-space: nowrap;
}

.social-link li a.header-phone i {
	color: var(--color-gold);
	margin-right: 8px;
}


/**************************************
*
*         BUTTONS
*
***************************************/


.btn + .btn {
	margin-left: 15px;
}

.btn-ghost {
	background-color: transparent;
	border: 1px solid var(--color-gold);
	color: var(--color-white);
}

.btn-ghost:hover {
	background-color: var(--color-gold);
	color: var(--color-white);
}

.cta-buttons {
	margin-top: 30px;
}

.cta-buttons .btn {
	margin: 5px;
}


/**************************************
*
*         SIGNATURE BLOCK
*
***************************************/


.wrapper-signature {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.signature-name img.signature-mark {
	width: auto;
	height: 70px;
	border-radius: 0;
	-o-object-fit: contain;
	object-fit: contain;
}


/**************************************
*
*         CONTENT LINKS
*
***************************************/


/* The template styles links inside specific blocks but leaves body copy links
   at the browser default, which is unreadable blue on this palette.
   Buttons are excluded — a .btn already has white text on a gold fill, and
   recolouring it gold would make the label invisible. */
.content a:not(.btn),
.contact-block a:not(.btn),
.aboutus-content a:not(.btn),
.booking-content a:not(.btn) {
	color: var(--color-gold);
}

.content a:not(.btn):hover,
.contact-block a:not(.btn):hover,
.aboutus-content a:not(.btn):hover,
.booking-content a:not(.btn):hover {
	color: var(--color-white);
}


/**************************************
*
*         EDGE
*
***************************************/


/* The big number floats left. Without a block formatting context the copy
   wraps back underneath it once it runs past the number's height. */
.single-edge > div {
	overflow: hidden;
}


/**************************************
*
*         SECTION INTROS
*
***************************************/


.wrapper-intro {
	max-width: 900px;
	margin-bottom: 70px;
}

.wrapper-intro p {
	font-size: 18px;
}

.services-cta {
	margin-top: 50px;
}


/**************************************
*
*         WHY CHOOSE US
*
***************************************/


#advantages {
	background-color: var(--color-dark);
}

.wrapper-advantages {
	-ms-flex-pack: distribute;
	justify-content: space-around;
}

.single-advantage {
	width: calc(33.333333% - 20px);
	padding: 40px 25px;
	margin: 10px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid rgba(203, 189, 154, 0.2);
	border-radius: 3px;
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.single-advantage:hover {
	border-color: var(--color-gold);
}

.single-advantage i {
	font-size: 34px;
	color: var(--color-gold);
	margin-bottom: 25px;
	display: block;
}

.single-advantage h3 {
	font-size: 22px;
	margin-bottom: 15px;
}


/**************************************
*
*         FLEET PREVIEW
*
***************************************/


#fleet-preview {
	background-color: var(--color-light-dark);
}

#fleet-preview .single-our-fleet {
	margin-bottom: 0;
}


/**************************************
*
*         SERVICES PAGE
*
***************************************/


.wrapper-services-full {
	max-width: 1200px;
}

.single-service {
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	padding: 50px 0;
	border-bottom: 1px solid rgba(203, 189, 154, 0.2);
}

.single-service:last-child {
	border-bottom: none;
}

.single-service.reversed {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.single-service-icon {
	width: 25%;
	text-align: center;
	padding: 0 30px;
}

.single-service-icon img {
	max-width: 70px;
	margin: 0 auto 20px auto;
}

.single-service-icon .service-number {
	color: var(--color-gold);
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 40px;
	display: block;
}

.single-service-content {
	width: 75%;
}

.single-service-content h3 {
	font-size: 30px;
	margin-bottom: 15px;
}

.single-service-content .subtitle {
	color: var(--color-gold);
	margin-bottom: 20px;
}


/**************************************
*
*         FLEET PAGE
*
***************************************/


.fleet-features {
	margin-bottom: 30px;
}

.fleet-features li {
	margin-bottom: 10px;
	color: var(--color-dark-gray);
}

.fleet-features li i {
	color: var(--color-gold);
	margin-right: 10px;
	font-size: 13px;
}

.fleet-gallery {
	margin: 0 -10px 60px -10px;
}

.fleet-gallery figure {
	width: calc(33.333333% - 20px);
	margin: 10px;
	overflow: hidden;
	border: 1px solid rgba(203, 189, 154, 0.2);
	border-radius: 3px;
}

.fleet-gallery img {
	width: 100%;
	-webkit-transition: all;
	-o-transition: all;
	transition: all;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.fleet-gallery figure:hover img {
	-webkit-transform: scale(1.06);
	-ms-transform: scale(1.06);
	transform: scale(1.06);
}

.fleet-gallery figcaption {
	padding: 12px 15px;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-gold);
}


/**************************************
*
*         CALL TO ACTION
*
***************************************/


#cta {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding-top: 100px;
	padding-bottom: 100px;
}

.wrapper-cta {
	max-width: 800px;
}

.wrapper-cta h2 {
	margin-bottom: 20px;
}

.wrapper-cta p {
	font-size: 18px;
}


/**************************************
*
*         FAQ PAGE
*
***************************************/


.wrapper-faq {
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

.faq-still-asking {
	margin-top: 40px;
	padding: 25px;
	border: 1px solid rgba(203, 189, 154, 0.2);
	border-radius: 3px;
}

.faq-still-asking p {
	margin-bottom: 0;
}

.faq-still-asking a {
	color: var(--color-gold);
}

.faq-still-asking a:hover {
	color: var(--color-white);
}

/* The template expects a tall portrait image here. Let a landscape photo fill
   the column instead of sitting in the bottom corner of an empty half. */
.faq-img {
	padding: 100px 0 100px 50px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.faq-img img {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-height: 420px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 3px;
}


/**************************************
*
*         TEXT PAGES
*
***************************************/


.wrapper-page-content {
	max-width: 900px;
}

.wrapper-page-content .content a {
	color: var(--color-gold);
}

.wrapper-page-content .content a:hover {
	color: var(--color-white);
}

.wrapper-page-content .content h2 {
	font-size: 28px;
	margin-top: 50px;
	margin-bottom: 20px;
}

.wrapper-page-content .content .subtitle {
	color: var(--color-gold);
}

.policy-table {
	width: 100%;
	margin-bottom: 30px;
	border-collapse: collapse;
	border: 1px solid rgba(203, 189, 154, 0.2);
}

.policy-table th,
.policy-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid rgba(203, 189, 154, 0.2);
}

.policy-table th {
	color: var(--color-white);
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	background-color: var(--color-dark);
}

.policy-table tbody tr:last-child td {
	border-bottom: none;
}

.policy-updated {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid rgba(203, 189, 154, 0.2);
	font-size: 14px;
}


/**************************************
*
*         PRICING PAGE
*
***************************************/


/* Headline hourly rate */

.rate-headline {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 40px;
	margin-bottom: 60px;
	border: 1px solid var(--color-gold);
	border-radius: 3px;
	background-color: var(--color-dark);
}

.rate-headline-figure {
	width: 30%;
	text-align: center;
	padding-right: 30px;
}

.rate-headline-body {
	width: 70%;
}

.rate-headline-body h3 {
	font-size: 26px;
	margin-bottom: 10px;
}

.rate-amount {
	display: block;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1;
	color: var(--color-gold);
}

.rate-unit {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--color-dark-gray);
}

.rate-minimum {
	color: var(--color-white);
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	margin-bottom: 10px;
}


/* Route rate table */

.rate-table td:last-child {
	white-space: nowrap;
}

.rate-figure {
	display: inline-block;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--color-gold);
	margin-right: 12px;
}

.rate-note {
	display: inline-block;
	font-size: 13px;
	color: var(--color-dark-gray);
	white-space: normal;
}

.policy-table .charge-free {
	color: var(--color-white);
}

.policy-table .charge-partial,
.policy-table .charge-full {
	color: var(--color-gold);
}


/* Grace periods */

.wrapper-grace {
	margin: 0 -10px 30px -10px;
}

.single-grace {
	width: calc(33.333333% - 20px);
	margin: 10px;
	padding: 30px 25px;
	text-align: center;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid rgba(203, 189, 154, 0.2);
	border-radius: 3px;
}

.single-grace i {
	display: block;
	font-size: 26px;
	color: var(--color-gold);
	margin-bottom: 18px;
}

.grace-value {
	display: block;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 30px;
	color: var(--color-white);
	margin-bottom: 8px;
}

.single-grace h3 {
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: 12px;
}

.single-grace p {
	font-size: 14px;
	margin-bottom: 0;
}


/* Waiting time / additional stops */

.wrapper-rate-cards {
	margin: 0 -10px 30px -10px;
}

.single-rate-card {
	width: calc(50% - 20px);
	margin: 10px;
	padding: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid rgba(203, 189, 154, 0.2);
	border-radius: 3px;
	background-color: var(--color-dark);
}

.single-rate-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
}

.rate-figure-large {
	display: block;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	font-size: 36px;
	color: var(--color-gold);
	margin-bottom: 18px;
}

.rate-figure-large small {
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-dark-gray);
}

.single-rate-card p {
	font-size: 15px;
	margin-bottom: 12px;
}

.single-rate-card p:last-child {
	margin-bottom: 0;
}


/* Other terms */

.wrapper-terms {
	margin: 0 -10px;
}

.single-term {
	width: calc(50% - 20px);
	margin: 10px;
	padding: 30px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid rgba(203, 189, 154, 0.2);
}

.single-term h3 {
	font-size: 20px;
	margin-bottom: 15px;
}

.single-term h3 i {
	color: var(--color-gold);
	margin-right: 10px;
	font-size: 17px;
}

.single-term p {
	margin-bottom: 12px;
}

.single-term p:last-child {
	margin-bottom: 0;
}


/**************************************
*
*         404
*
***************************************/


.wrapper-header-content.pages.page-404 p {
	max-width: 500px;
	margin: 0 auto;
	font-size: 18px;
}


/**************************************
*
*         CONTACT PAGE
*
***************************************/


.contact-block + .contact-block {
	margin-top: 40px;
}

.contact-block h3 {
	font-size: 22px;
	margin-bottom: 15px;
}

/* Painted dark so the map area does not flash white while the iframe loads. */
.wrapper-map {
	background-color: var(--color-dark);
}

.wrapper-map iframe {
	background-color: var(--color-dark);
}


/**************************************
*
*         FORMS
*
***************************************/


.contact-form label,
.booking-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-dark-gray);
	font-family: "Epilogue", sans-serif;
}

.booking-form h3,
.contact-form h3 {
	font-size: 24px;
	margin-bottom: 25px;
}

.booking-form textarea,
.booking-form select {
	border: none;
	outline: none;
	padding: 20px;
	background-color: var(--color-gray);
	border-radius: 3px;
	width: 100%;
	display: block;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: var(--color-dark);
}

.booking-form textarea {
	min-height: 120px;
}

.booking-form button.btn {
	width: 100%;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.contact-form .has-error,
.booking-form .has-error {
	-webkit-box-shadow: 0 0 0 2px #ff0000;
	box-shadow: 0 0 0 2px #ff0000;
}

.contact-form .btn[disabled],
.booking-form .btn[disabled] {
	opacity: 0.6;
	cursor: default;
}

/* Rendered visible by PHP when JavaScript is off; script.js fades it in otherwise. */
.res-contact.is-visible,
.res-booking.is-visible {
	display: block;
}


/**************************************
*
*         RESPONSIVE
*
*  Same breakpoints as responsive.css: 1000px, 600px, 400px.
*
***************************************/


@media all and (max-width: 1000px) {

	#logo img {
		width: 200px;
	}

	/* The header is position:absolute over the hero, and the hero centres its
	   content inside a fixed height. Once the headline wraps to four or five
	   lines on a phone the content grows past the top of the hero and collides
	   with the logo. Let the hero grow instead, and reserve the header's height. */
	.wrapper-header-content {
		height: auto;
		min-height: 600px;
		padding-top: 150px;
		padding-bottom: 80px;
	}

	/* Inner-page banners keep their own shorter height. */
	.wrapper-header-content.pages {
		min-height: 400px;
		padding-top: 140px;
	}

	.single-advantage {
		width: calc(50% - 20px);
	}

	.single-service,
	.single-service.reversed {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.single-service-icon,
	.single-service-content {
		width: 100%;
		padding: 0;
	}

	.single-service-icon {
		text-align: left;
		margin-bottom: 20px;
	}

	.single-service-icon img {
		margin: 0 0 15px 0;
	}

	.fleet-gallery figure {
		width: calc(50% - 20px);
	}

	.single-grace {
		width: calc(50% - 20px);
	}

	.wrapper-signature {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}

	.wrapper-signature .btn {
		margin-top: 25px;
	}

}

@media all and (max-width: 600px) {

	#logo img {
		width: 170px;
	}

	.wrapper-header-content {
		padding-top: 130px;
	}

	/* 3px of tracking pushes this line past the edge of a phone screen. */
	.suptitle {
		letter-spacing: 2px;
	}

	#logo-footer img {
		width: 260px;
		margin: 0 auto;
	}

	.single-advantage,
	.fleet-gallery figure,
	.single-grace,
	.single-rate-card,
	.single-term {
		width: calc(100% - 20px);
	}

	.rate-headline {
		padding: 30px 20px;
	}

	.rate-headline-figure,
	.rate-headline-body {
		width: 100%;
		padding-right: 0;
	}

	.rate-headline-figure {
		margin-bottom: 25px;
	}

	.rate-headline-body {
		text-align: center;
	}

	/* Rate and note stack instead of forcing the table wider than the screen. */
	.rate-table td:last-child {
		white-space: normal;
	}

	.rate-figure {
		display: block;
		margin-right: 0;
		margin-bottom: 4px;
	}

	.btn + .btn {
		margin-left: 0;
	}

	.cta-buttons .btn {
		display: block;
		margin: 10px auto;
		max-width: 280px;
	}

	.policy-table th,
	.policy-table td {
		padding: 12px 10px;
		font-size: 14px;
	}

}
