/*
Theme Name: Riverside Architectural
Author: Intrinzic
Author URI: http://intrinzicbrands.com/
Version: 2.0
*/
/**
 * Table of Contents
 *
 * 1.0 - Normalize (normalize.css)
 * 2.0 - Global
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 *   6.3 - Pagination
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 11.0 - Content
 *   11.1 - Header
 *   11.2 - Footer
 *   11.3 - Page
 * 12.0 - Media Queries
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

/**
 * 2.0 - Global
 */

html {
	background: transparent url('img/global/bg.jpg') no-repeat top center / cover;
	box-sizing: border-box;
	color: #fed086;
	font-family: sans-serif;
	font-weight: 400;
	font-size: 62.5%;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	margin: 0;
}

.site {
	overflow: hidden;
	position: relative;
}

.site.open {
	position: fixed;
}

/* placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: #fed086;
	font-weight: bold;
}

:-moz-placeholder {
	color: #fed086;
	font-weight: bold;
}

::-moz-placeholder {
	color: #fed086;
	font-weight: bold;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #fed086;
	font-weight: bold;
}

@media screen and (min-width: 1024px) {
	.desktop_w {
		margin: 0 auto;
		max-width: 1350px;
		width: 100%;
	}
}


/**
 * 3.0 - Typography
 */

/**
 * 4.0 - Elements
 */

.video {
	height: 0;
	margin-bottom: 15px;
	padding-bottom: 56.25%; /* 16:9 */
	position: relative;
}

.video iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

@media screen and (min-width: 1024px) {

}


/**
 * 5.0 - Forms
 */


/**
 * 6.0 - Navigation
 */

header #menu_c {
	background-color: #000;
	height: 100vh;
	left: 0;
	padding: 0 50px;
	position: absolute;
	top: 100%;
	transition: transform 0.3s ease;
	transform: translateX(100%);
	z-index: 9998;
	width: 100%;
}

#page.site.open header #menu_c {
	transform: translate(0);
}

header #menu_c nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

header #menu_c nav ul li a {
	color: #9a8479;
	display: block;
	font-size: 1.6rem;
	font-weight: bold;
	padding: 1.2vh 0;
	text-transform: uppercase;
}

header #menu_c nav ul li a:hover,
header #menu_c nav ul li.current-menu-item a {
	color: #fed086;
}

header #close_c {
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 9999;
}

@media screen and (min-width: 1024px) {
	header #menu_c {
		background: transparent;
		bottom: auto;
		height: auto;
		left: auto;
		padding: 0;
		position: relative;
		top: auto;
		transition: none;
		transform: none;
		width: 100%;
	}

	header #menu_c nav {
		height: 100%;
	}

	header #menu_c nav > ul {
		display: flex;
		height: auto;
		justify-content: flex-end;
		margin: 80px 0 0 0;
	}

	header #menu_c nav > ul > li {
		display: inline;
		margin: 0;
		position: relative;
	}

	header #menu_c nav > ul > li:first-child {
		display: none;
	}

	header #menu_c nav ul li a {
		font-size: 1.8rem;
		font-weight: 700;
		padding: 0;
	}

	header #menu_c nav > ul > li > a {
		border-right: 2px solid #9a8479;
		font-size: 1.4rem;
		padding: 0 25px;
	}

	header #menu_c nav > ul > li:last-child > a {
		border-right: none;
		padding: 0 0 0 25px;
	}
}


/**
 * 6.1 - Links
 */

a {
	color: #fed086;
	text-decoration: none;
}

@media screen and (min-width: 1024px) {

}


/**
 * 6.2 - Menus
 */

/**
 * 6.3 - Pagination
 */

/**
 * 7.0 - Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}


/**
 * 8.0 - Alignments
 */

.alignleft {
	float: left;
	margin: 0.375em 1.75em 1.75em 0;
}

.alignright {
	float: right;
	margin: 0.375em 0 1.75em 1.75em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.75em;
}

blockquote.alignleft {
	margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}

blockquote.alignright {
	margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}

blockquote.aligncenter {
	margin-bottom: 1.473684211em;
}


/**
 * 9.0 - Clearings
 */

.clear:before,
.clear:after,
blockquote:before,
blockquote:after,
.entry-content:before,
.entry-content:after,
.entry-summary:before,
.entry-summary:after,
.comment-content:before,
.comment-content:after,
.site-content:before,
.site-content:after,
.site-main > article:before,
.site-main > article:after,
.primary-menu:before,
.primary-menu:after,
.social-links-menu:before,
.social-links-menu:after,
.textwidget:before,
.textwidget:after,
.content-bottom-widgets:before,
.content-bottom-widgets:after {
	content: "";
	display: table;
}

.clear:after,
blockquote:after,
.entry-content:after,
.entry-summary:after,
.comment-content:after,
.site-content:after,
.site-main > article:after,
.primary-menu:after,
.social-links-menu:after,
.textwidget:after,
.content-bottom-widgets:after {
	clear: both;
}


/**
 * 11.0 - Content
 */


@media screen and (min-width: 1024px) {

}


/**
 * 11.1 - Header
 */

header {
	padding: 20px;
	position: relative;
	z-index: 500;
}

header #logo_nav_menu_close_c #logo_nav_c > div.desktop_w {
	display: flex;
	justify-content: space-between;
}

header a#logo {
	display: block;
	width: 160px;
	z-index: 9998;
}

header a#logo img {
	width: 100%;
}

/* https://github.com/callmenick/Animating-Hamburger-Icons */

.c-hamburger {
	border: none;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	display: block;
	font-size: 0;
	height: 26px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-indent: -9999px;
	transition: background 0.3s;
	width: 26px;
}

.c-hamburger:focus {
	outline: none;
}

.c-hamburger span {
	background: #9a8479;
	display: block;
	height: 3px;
	left: 0px;
	position: absolute;
	right: 0px;
	top: 11px;
}

.c-hamburger span::before {
	top: -8px;
}

.c-hamburger span::before,
.c-hamburger span::after {
	background-color: #9a8479;
	content: "";
	display: block;
	height: 3px;
	left: 0;
	position: absolute;
	width: 100%;
}

.c-hamburger span::after {
	bottom: -8px;
}

.c-hamburger--htx {
	background-color: transparent;
}

.c-hamburger--htx span {
	transition: background 0s 0.3s;
}

.c-hamburger--htx span::before {
	transition-property: top, transform;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
	transition-delay: 0.3s, 0s;
	transition-duration: 0.3s, 0.3s;
}

.c-hamburger--htx span::after {
	transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {

}

.c-hamburger--htx.is-active span {
	background: none;
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
	transition-delay: 0s, 0.3s;
}

.c-hamburger--htx.is-active span::before {
	top: 0;
	transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
	bottom: 0;
	transform: rotate(-45deg);
}

@media screen and (min-width: 1024px) {
	header {
		padding: 0;
	}

	header div.desktop_w {
		display: flex;
		padding: 25px 0;
	}

	header a#logo {
		flex: 0 0 240px;
		height: 54px;
		width: 240px;
	}

	header #close_c {
		display: none;
	}
}


/**
 * 11.2 - Footer
 */

footer {
	background-color: #000;
}

footer div.desktop_w {
	background: transparent url('img/global/footer_slogan.png') no-repeat center bottom 10px / 300px auto;
	padding: 20px 20px 50px 20px;
}

footer nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

footer nav ul::before {
	content: '';
	background: transparent url('img/global/footer_icon.png') no-repeat 0 0 / contain;
	height: 100px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100px;
}

footer nav ul li a {
	color: #9a8479;
	display: block;
	font-size: 1.6rem;
	font-weight: bold;
	padding: 1.2vh 0;
	text-align: center;
	text-transform: uppercase;
}

footer nav ul li a:hover,
footer nav ul li.current-menu-item a {
	color: #fed086;
}

footer #footer_social_c {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

footer #footer_social_c a {
	background-color: #d15e14;
	border-radius: 50%;
	color: #000;
	font-size: 2.4rem;
	line-height: 4.0rem;
	margin: 0 10px;
	text-align: center;
	width: 40px;
}

footer #address_c {

}

footer #address_c div,
footer #address_c a {
	color: #9a8479;
	display: block;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}

footer #memberships_c {
	margin: 20px 0;
}

footer #memberships_c div,
footer #memberships_c a {
	color: #5a4a42;
	display: block;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}

footer #memberships_c div.header {
	font-style: italic;
}

@media screen and (min-width: 1024px) {
	footer {
		margin: 100px 0 0 0;
	}

	footer div.desktop_w {
		background: transparent url('img/global/footer_slogan.png') no-repeat right 10px bottom 10px / 420px auto;
		padding: 0 0 20px 0;
	}

	footer nav {
		display: flex;
		height: 100%;
		justify-content: center;
	}

	footer nav > ul {
		display: flex;
		justify-content: center;
	}

	footer nav ul::before {
		height: 150px;
		left: -100px;
		top: -70px;
		width: 150px;
	}

	footer nav > ul > li {
		display: inline;
		margin: 0;
		position: relative;
	}

	footer nav ul li a {
		font-size: 1.8rem;
		font-weight: 700;
		padding: 0;
	}

	footer nav > ul > li > a {
		border-right: 2px solid #9a8479;
		font-size: 1.4rem;
		padding: 0 25px;
	}

	footer nav > ul > li:last-child > a {
		border-right: none;
		padding: 0 0 0 25px;
	}

	footer #footer_social_c,
	footer #memberships_c {
		margin: 30px 0;
	}
}

/**
 * 11.3 - Page
 */

.wpcf7 form div.input {
	margin: 0 0 10px 0;
}

.wpcf7 form input,
.wpcf7 form textarea {
	background-color: transparent;
	border: 1px solid #fed086;
	border-radius: 0;
	color: #fff;
	font-size: 1.6rem;
	line-height: 2.2rem;
	padding: 10px;
	text-transform: none;
	width: 100%;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.wpcf7 form input.wpcf7-not-valid,
.wpcf7 form textarea.wpcf7-not-valid {
	background-color: #c3232d;
	color: #fff;
}

.wpcf7 div.input select.wpcf7-not-valid {
	background-color: #c3232d;
}

.wpcf7 form textarea {
	height: 200px;
}

.wpcf7 form .submit {
	margin: 35px 0 0 0;
}

.wpcf7 form .submit button {
	background-color: transparent;
	border: none;
	border-radius: 0;
	color: #fed086;
	cursor: pointer;
	display: inline-block;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1;
	padding: 15px 0;
	text-align: center;
	width: 100%;
}

.wpcf7 form .submit button:hover {
	color: #d15e14;
}

.wpcf7 form .wpcf7-validation-errors {
	background-color: #ff0000;
	border: none;
	color: #fff;
	font-family: 'AvenirLTStd-Book', Helvetica, Arial, sans-serif;
	font-size: 2.0rem;
	margin: 0 0 2px 0;
	padding: 20px;
}

.wpcf7 form .wpcf7-not-valid-tip {
	display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	color: #fff;
	font-size: 1.6rem;
	line-height: 2.2rem;
	margin: 0 0 20px 0;
	padding: 10px;
}

@media screen and (min-width: 1024px) {
	.wpcf7 form input,
	.wpcf7 form select,
	.wpcf7 form textarea {

	}

	.wpcf7 form .submit {
		text-align: right;
		width: 100%;
	}

	.wpcf7 form .submit button {
		width: auto;
	}

	.wpcf7 form .wpcf7-validation-errors {
		font-size: 2.4rem;
		padding: 30px;
	}

	.wpcf7 form.invalid .wpcf7-response-output,
	.wpcf7 form.unaccepted .wpcf7-response-output {
		flex: 0 0 100%;
	}
}


/**
 * 12.0 - Media Queries
 */

/**
 * Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}
