/*
	Accessibility (WCAG 2.0 AA) colour and link fixes.
	Loaded after the theme and Additional CSS, see inc/accessibility.php.
*/

/* Text links: #a3938d was 2.9:1 on white, #73635d is 5.7:1 on white and 4.7:1 on the beige footer.
   Links inside text are underlined so they don't rely on colour alone. */
.wpb_text_column a:not(.btn):not(.button),
.wpb_wrapper p a:not(.btn):not(.button),
main p a:not(.btn):not(.button),
.copyrights a,
footer .widget p a,
footer .widget li a:not(.btn) {
	color: #73635d;
	text-decoration: underline;
}

/* Form text and placeholders: #8e8e8e was 3.3:1 on white. */
.eb-field,
.guestspicker,
.wpcf7-form .form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	color: #555555;
}

::placeholder {
	color: #6e6e6e;
	opacity: 1;
}

/* Buttons on the beige background: #897f7f was 3.2:1. */
.eb-btn-text,
.wpcf7-form .wpcf7-submit,
.btn.eb-btn,
.button.btn-lg {
	color: #5f5656;
}

/* The desktop "Book Now" tab had white text on a transparent background over light images. */
html body #rg-book {
	background: #1f1f1f !important;
}

/* Second copy of WPBakery rows that reuse the same id (renamed to -dup2 in the HTML). */
div#rooms-bg-dup2 {
	background: url(/wp-content/uploads/sq-bg-2.jpg);
	background-repeat: no-repeat;
	background-position: center right;
}

div#rooms-bg2-dup2 {
	background: url(/wp-content/uploads/sq-bg-3.jpg);
	background-repeat: no-repeat;
	background-position: center left;
}

@media only screen and (max-width: 991px) {
	div#rooms-bg-dup2,
	div#rooms-bg2-dup2 {
		padding-top: 10% !important;
	}
}

@media only screen and (max-width: 767px) {
	div#rooms-bg-dup2,
	div#rooms-bg2-dup2 {
		padding-bottom: 0% !important;
	}
}

/* Blog posts: meta line, notices and search field. #7d8693 was 3.7:1. */
body .meta_part,
body .meta_part a,
body .author-avatar > a,
body a[rel="category tag"],
body .widget_recent_entries a,
body .widget_archive li a,
body .widget_categories li a,
body .widget_meta li a,
body .widget_recent_comments li a {
	color: #5f6773 !important;
}

body .alert.alert-simple {
	color: #5c6170 !important;
}

body .alert.alert-simple a {
	color: #73635d !important;
	text-decoration: underline;
}

body .widget input[name="s"],
body input[name="s"].form-control {
	color: #555555 !important;
}

/* Decorative vertical title on the homepage: #e2c9b5 was 1.6:1, large text needs 3:1. */
body .v-text {
	color: #a68a72 !important;
}

/* Similar Rooms cards: h4 became h3 for a valid heading order, same look as before. */
.room-details h3.room-title {
	font-family: Roboto, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 19.8px;
	letter-spacing: 0.2px;
	text-transform: none;
	color: #ffffff;
	margin: 0;
	padding: 0;
}

/* Text for screen readers only. */
.zc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Content h4 renumbered to h3 (zc-h4) for a valid heading order, same look as before. */
body h3.zc-h4 {
	font-size: 22px;
	line-height: 1.1;
}
