/*
Theme Name:     Wright-Ryan
Author:         3c32
Author URI:     http://3c32.com
Description:	WordPress child theme that borrows nifty, semantic HTML5 templates from the default Twentyeleven theme.
Template:       twentyeleven
*/

/*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css */

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/*
 * Prevents modern browsers from displaying 'audio' without controls
 */

audio:not([controls]) {
    display: none;
}

/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */

[hidden] {
    display: none;
}


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Keeps page centred in all browsers regardless of content height
 * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html {
    font-size: 100%; /* 1 */
    overflow-y: scroll; /* 2 */
    -webkit-text-size-adjust: 100%; /* 3 */
    -ms-text-size-adjust: 100%; /* 3 */
}

/*
 * Addresses margins handled incorrectly in IE6/7
 */

body {
    margin: 0;
}

/* 
 * Addresses font-family inconsistency between 'textarea' and other form elements.
 */

body,
button,
input,
select,
textarea {
    font-family: sans-serif;
}


/* =============================================================================
   Links
   ========================================================================== */

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

/*
 * Addresses outline displayed oddly in Chrome
 */

a:focus {
    outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */

a:hover,
a:active {
    outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
*/

b, 
strong { 
    font-weight: bold; 
}

blockquote {
    margin: 1em 40px;
}

/*
 * Addresses styling not present in S5, Chrome
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE6/7/8/9
 */

mark {
    background: #ff0;
    color: #000;
}

/*
 * Corrects font family set oddly in IE6, S4/5, Chrome
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
 */

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */

/* 1 */

q {
    quotes: none;
}

/* 2 */

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 75%;
}

/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

ul,
ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside 'a' element in IE6/7/8/9
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */

figure {
    margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

/*
 * Corrects margin displayed oddly in IE6/7
 */

form {
    margin: 0;
}

/*
 * Define consistent margin and padding
 */

fieldset {
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects alignment displayed oddly in IE6/7
 */

legend {
    border: 0; /* 1 */
    *margin-left: -7px; /* 2 */
}

/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/*
 * 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
 * 2. Corrects inner spacing displayed oddly in IE6/7
 */

button,
input {
    line-height: normal; /* 1 */
    *overflow: visible;  /* 2 */
}

/*
 * Corrects overlap and whitespace issue for buttons and inputs in IE6/7
 * Known issue: reintroduces inner spacing
 */

table button,
table input {
    *overflow: auto;
}

/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 */

button,
html input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    cursor: pointer; /* 1 */
    -webkit-appearance: button; /* 2 */
}

/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Addresses excess padding in IE8/9
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Corrects inner padding displayed oddly in S5, Chrome on OSX
 */

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
 * Corrects inner padding and border displayed oddly in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}


/* =============================================================================
   Tables
   ========================================================================== */

/* 
 * Remove most spacing between table cells
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* =============================================================================
   Primary styles
   Author: 3c32.com
   ========================================================================== */

a, a:link, a:visited {
	color: #ac3232;
	text-decoration: none;
}
a:hover {
	color: #8d2929;
}
html {
	background: black;
}
body {
	font: 13px/1.385 sans-serif;
	background: white;

}
body, select, input, textarea {
	color: #444;
	font-family: Mako, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.container {
	position: relative;
	margin: 0 10.4%;
}
#page {
	position: relative;
	overflow: hidden;
	padding-top: 166px;
}
#main {
	z-index: 0;
	padding-bottom: 100px;
	min-height: 400px;
}

/* header */
#branding {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 96px;
	background: #f1f1f1;
	box-shadow: 0 2px 1px rgba(0,0,0,.14);
}

#branding .container {
	height: 100%;
}

#site-title {
	z-index: 100;
	position: absolute;
	top: 27px;
	left: 55px;
	margin: 0;
	background: white;
}

.wr-homes #site-title {
	top: 25px;
}
#site-title a {
	background: url(img/logo.png);
	width: 105px;
	height: 100px;
	background-size: 105px 100px;
}
#site-description {
	display: none;
}
#branding #searchform {
	display: none;
}
#branding ul {
	margin: 0;
	padding: 0;
}
#quicklinks {
	position: absolute;
	bottom: 50px;
	right: 12px;
	line-height: 1;
	font-size: 11px;
	text-transform: uppercase;
}
#quicklinks a {
	color: #858585;
}
#quicklinks li {
	float: left;
	margin-right: 1em;
}
#access {
	position: absolute;
	bottom: 0;
	right: 0;
	font: 23px Brawler, Georgia, serif;
}
#access a {
	color: black;
}
#access li {
	float: left;
	padding: 6px 1px 1px 1px;
	border-bottom: 5px solid transparent;
	margin-left: 1em;
	position: relative;
}
#access li:hover {
	border-color: #ab0000;
}
#access ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #111;
	font-size: 14px;
	margin-top: 5px;
	padding: 5px 0;
	font-family: Mako, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	width: 150px;
	min-width: 100%;
}
#access ul ul li {
	float: none;
	border-bottom: 0;
	padding: 0;
	margin: 0;
	border-top: 1px dotted #777;
}
#access ul ul li:first-child {
	border-top: 0;
}
#access ul ul li a {
	color: white;
	display: block;
	padding: 3px 10px;
}
#access ul ul li a:hover {
	background: #333;
}
#access ul li:hover ul {
	display: block;
}
#access ul li:hover ul li {
	border: 0;
}
#access ul li:hover ul ul {
	display: none;
}

.gform_wrapper li::before{
   content:none !important;
}

/* content */ 
#primary {
	width: 100%;
	float: right;
	margin: 0 0 0 -245px;
	z-index: 0;
}

#secondary {
	width: 245px;
	float: left;
	z-index: 1;
}
#content {
	margin: 0 0 0 245px;
	font-size: 15px;
}
#content p {
	line-height: 1.6;
	color: #444444;
}
#content h1 {
	color: #A21616;
	font-size: 40px;
	font-family: 'Brawler', serif;
}
#content h2 {
	color: #272727;
	font-size: 30px;
	font-family: 'Mako', sans-serif;
}
#content h3 {
	color: #A21616;
	font-size: 20px;
	font-family: 'Brawler', serif;
}
#content h4 {
	color: #444444;
	font-size: 12px;
	font-family: 'Mako', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.alignright, .alignleft, .aligncenter, .alignnone {
	margin-bottom: 1em;
}

.alignleft {
	float: left;
	margin-right: 2%;
}

.alignright {
	float: right;
	margin-left: 2%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	padding-left: 2px;
	padding-right: 2px;
	margin-top: .2em;
	color: #ECECEC;
	font-size: 0.8em;
	line-height: 1.2;
	text-align: center;
}

/* Block Quotes */
blockquote {
	position: relative;
	width: 70%;
	height: auto;
	margin: 1.5em auto;
	padding: 0.5em 5%;
	border-top: 1px solid #A21616;
	border-bottom: 1px solid #A21616;
	quotes: "\201C""\201D""\2018""\2019";
	
	font-family: 'Brawler', serif;
}

blockquote p {
	color: #292929;
	font-size: 32px;
	line-height: 1.2;
	padding-left: 60px;
}

@media (max-width: 600px) {
	blockquote {
		float: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	blockquote p {
		font-size: 18px;
	}
}

blockquote:before {
	position: absolute;
	top: 1em;
	margin-right: 0.25em;
	vertical-align: -0.4em;
	content: open-quote;
	color: #A21616;
	font-size: 72px;
	line-height: 0.1em;
}

.team {
	margin-top: 65px;
}

.team-member {
	float: left;
	width: 50%;
	padding-right: 50px;
	margin-bottom: 50px;
	box-sizing: border-box;
}

.team-member-image {
	float: left;
	margin-right: 24px;
}

.team-member a.read-more {
	display: block;
	cursor: pointer;
	text-align: left;
	margin-top: 5px;
}

.team-member-content {
	max-height: 150px;
	overflow: hidden;
	-webkit-transition: max-height 2s;
    transition: max-height 2s;
}

.team-member-content.expanded {
	max-height: 600px;
}

#content .team-member-content h2 {
	color: #A21616;
	font-size: 20px;
	line-height: 1;
	font-family: 'Brawler', serif;
}

#content .team-member-content h3 {
	color: #444444;
	font-size: 12px;
	line-height: 1.3;
	text-transform: uppercase;
	font-family: 'Mako', sans-serif;
	letter-spacing: 1px;
	margin: 0 0 0.2em;
}

#content .team-member-content p {
	font-size: 13px;
}

@media only screen and (max-width: 770px) {
	.team-member {
		float: none;
		width: 100%;
		padding-right: 0;
	}
}

@media only screen and (max-width: 400px) {
	.team-member {
		text-align: center;
	}
	
	.team-member-image {
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
	
	.team-member-content {
		max-height: none;
	}
	
	.team-member a.read-more {
		display: none;
	}
}

.scrollable #content h2,
.entry-title,
.page-title,
.home .galleria-info-title {
	font: 40px Brawler, Georgia, serif;
	color: #A21616;
  margin-top: 0;
}
.archive .entry-title {
  margin-top: 1em;
}
.post .entry-title {
	margin-bottom: .5em;
}
.page .entry-title {
	margin-bottom: 0.1em;
}
.page #content h2:first-child {
	margin-top: 0;
	margin-bottom: 0.2em;
}
#content ul {
	list-style: none;
	padding: 0;
	line-height: 1.5;
}
#content li {
	position: relative;
	padding-left: 1em;
}
#content li::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "> ";
	padding-right: 6px;
	color: #991616;
}
.category-archive-meta {
	border-bottom: 7px solid #e2e2e2;
}
.by-author {
	display: none;
}
.category .entry-title {
	margin-bottom: 10px;
}

/* sidebar */
#secondary .widget {
	margin: 0 60px 6px 6px;
	padding: 6px;
	border-bottom: 1px solid #eee;
}
.widget_section-subnav {
	line-height: 30px;
	font-size: 14px;
	white-space: nowrap;
}
#secondary .widget_section-subnav .widget-title {
	font-weight: normal;
	font-family: 'Mako', Arial, sans-serif;
	font-size: 1.2em;
	line-height: 30px;
}
#secondary .widget_section-subnav .widget-title a {
	color: #000;
}
#secondary .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
#secondary .sub-menu .sub-menu {
	display: none;
	padding: 0 0 0 10px;
	font-size: 85%;
}
#secondary .current-menu-item .sub-menu {
	display: block;
}
.widget_section-subnav a {
	color: #666;
}
#secondary .widget_section-subnav li.active a,
.widget_section-subnav .current-menu-item a {
	color: #ac3232;
}
#secondary .widget-title {
	font: normal 14px/1.5 Brawler, Georgia, serif;
	color: black;
	margin: 0;
}
#secondary .widget p {
	margin-top: 0;
}

/* footer */
#colophon {
	position: relative;
	background: black;
	color: white;
	padding: 16px 32px;
}
#colophon .widget,
#site-generator {
	font-size: 12px;
}
#colophon .vcard {
	font-size: 13px;
}
#colophon .widget-title {
	font: 20px Brawler, Georgia, serif;
	color: #ae0000;
	margin: 0;
}
#colophon .widget_text {
	float: left;
	max-width: 30%;
}
.wr-homes #colophon .widget {
	float: none;
	max-width: none;
}
#colophon ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#colophon .widget_nav_menu {
	float: right;
	max-width: 70%;
}
#colophon .widget_nav_menu .menu > li {
	display: inline-block;
	vertical-align: top;
	padding: 0 1.2em;
	border-right: 1px solid #aaa;
  min-height: 140px;
}
.no-csscolumns #colophon .widget_nav_menu .menu > li {
	height: auto;
}
#colophon .widget_nav_menu .menu li li {
	white-space: nowrap;
}
#colophon .widget_nav_menu .menu > li:last-child {
	border: none;
}
#colophon .widget_nav_menu .menu > li > a {
	text-transform: uppercase;
	font: bold 14px Brawler, Georgia, serif;
}
#colophon .widget_nav_menu .menu > .portfolio {
	max-width: none;
	width: 226px;
}
#colophon .widget_nav_menu .portfolio .sub-menu {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2; 
}
#colophon .widget_nav_menu ul ul ul {
	display: none;
}
#colophon .widget_nav_menu ul ul a {
	color: white;
}
#site-generator p {
	color: #555;
	clear: left;
}

/* scrollable */
.scrollable #secondary,
.scrollable #branding {
	position: fixed;
}
.js .scrollable #content .entry-title {
	display: none;
}
.js .scrollable #content h2 {
	margin-top: 65px;
	padding-top: 65px;
	border-top: 1px solid #eee;
}
.js .scrollable #content h2#root {
	margin-top: 0;
	padding-top: 0;
	border: none;
}
.scrollable-index {
	display: none;
}
.js .scrollable #secondary .scrollable-index {
	display: block;
}

/* portfolio */
#portfolio-items li {
	float: left;
	padding: 0;
	width: 24%;
	margin: 0 0 10px 0;
	position: relative;
}

#portfolio-items li a {
	display: block;
}

#portfolio-items li a.description {
	display: block;
	padding: 5px 8px;
	background: rgba(255, 255, 255, 0.85);
	text-align: center;
	color: black;
	font-family: 'Brawler', serif;
	font-size: 13px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 98%;
	box-sizing: border-box;
}

#portfolio-items li:hover a.description {
	background: rgba(255, 255, 255, 0.95);
}

#portfolio-items li:before {
	content: "";
	display: none;
}
#portfolio-items img {
	vertical-align: middle;
	width: 98%;
	height: auto;
}
.portfolio .page-title .more {
	background: #f1f1f1;
	color: #666;
	display: inline-block;
	border-radius: 6px;
	padding: 6px;
	margin-left: 1em;
	font-size: 50%;
	vertical-align: bottom;
}
.portfolio #content {
	min-height: 700px;
}
#isotope-filters {
	text-align: center;
	margin: 2em 0;
}
#isotope-filters ul {
	display: inline;
}
#isotope-filters li:before {
	display: none;
}
#isotope-filters li {
	display: inline-block;
	font-size: 15px;
	padding: 0 .6em;
	margin: 2px 0.9px;
	border: 2px solid #F1F1F1;
	border-radius: 23px;
	line-height: 1.8;
}
#isotope-filters li.active {
	border-color: black !important;
	background-color: black; 
}
#isotope-filters li:hover {
	border-color: #ddd;
}
#isotope-filters li:active {
	border-color: #AC3232;
}
#isotope-filters .active a {
	color: white;
}
#isotope-filters a {
	color: black;
}
#isotope-filters a span {
  opacity: .5;
  font-size: 13px;
}
#isotope-filters .active a span {
  opacity: 1;
}
#isotope-filters h2 {
	display: inline-block;
	color: #888;
	font-weight: normal;
	margin: 1px 1em;
}


/* project archive */
.archive .project {
	float: left;
	width: 33%;
	min-height: 310px;
	margin-top: 6px;
	margin-bottom: 15px;
}
.archive .project .entry-thumbnail img,
.archive .project .entry-summary p {
	width: 300px;
	max-width: 99%;
	height: auto;
}
.archive .project .entry-title,
.archive .project .entry-title a {
	color: black;
	font: normal 14px Brawler, serif !important;
	line-height: 1.3em !important;
	margin: 4px 0;
	width: 300px;
	max-width: 99%;
}
.archive .project p {
	margin: 0;
	font-size: 12px;
}
.archive .project p a {
	display: block;
	font-weight: bold;
}
.archive .project .edit-link,
.archive .project .entry-format {
	display: none;
}

/* project single */
.single-project article .container {
	margin: 0;
}
.single-project .entry-title {
  margin-bottom: .5em;
}
.single-project aside #content .entry-title {
	margin-top: .5em;
}
.single-project .entry-content {
	width: 66%;
	float: left;
}

/* project sidebar */
.single-project .project-sidebar {
	width: 28%;
	float: left;
	clear: none;
	margin: 1em 0 1em 5%;
}
.single-project .entry-thumbnail img {
  max-width: 100%;
  height: auto;
}
.single-project .entry-thumbnails .gallery-item {
	float: left;
	clear: none;
	display: block;
	width: 33%;
  padding: 0 3px 3px 0;
  margin: 0;

  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.single-project .entry-content .entry-thumbnails .gallery-item {
  width: 20%;
}
.single-project .entry-thumbnails .gallery-item img {
  display: block;
  max-width: 100%;
	height: auto;
}
.single-project .entry-thumbnails .gallery-caption {
  display: none;
}
.single-project .entry-thumbnails .gallery-item:first-child {
	display: none;
}
.single-project .post-meta {
	border-left: 1px solid #e2e2e2;
}
.single-project #content .post-meta li {
	padding-left: 5%;
}
.single-project #content .post-meta li:before {
	display: none;
}
.single-project .post-meta-key {
	font-weight: bold;
}
.single-project #nav-single {
	position: relative;
  float: right;
  z-index: 1;
	top: 10px;
}
.wr-homes.single-project #nav-single {
  right: 50px;
}
.single-project #nav-single a b {
	position: relative;
  top: -3px;
	display: inline-block;
  vertical-align: middle;
	width: 25px;
	height: 25px;
	line-height: 80%;
	font-size: 25px;
	text-align: center;
	color: #666;
  border-radius: 2px;
}
.single-project #nav-single a:hover b {
	background: #f0f0f0;
}
.single-project #nav-single a {
	color: #888;
}
.single-project #nav-single a:hover {
  color: #991616;
}
.single-project #nav-single a:active b {
	top: -2px;
}
.wr-comm .single-project .back {
  position: absolute; 
  top: -24px;
  left: 0;
  margin: 0;
}
#related-projects h2 {
	margin-top: 1em;
	border-top: 7px solid #e2e2e2;
}

#fancybox-title {
	display: none !important;
}

/* gallery page */
.gallery #content,
.gallery #primary,
.gallery #main {
	margin: 0;
	padding: 0;
	min-height: 0;
}
.gallery .container {
	margin: 0 16px;
}
.gallery #page {
	padding-top: 0;
}
.gallery .page-header,
.gallery .entry-thumbnail {
	display: none;
}
.gallery #branding {
	background: transparent url('/wp-content/uploads/2012/08/png80-10.png');
}

/* galleria */
.js .wright-ryan .galleria article {
	display: none;
}
.js .wright-ryan .galleria {
	background: black url(js/libs/galleria/themes/classic/classic-loader.gif) no-repeat center;
}
.wright-ryan .galleria .galleria-errors{
	display: none;
}
.wright-ryan .galleria-stage {
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}
.wright-ryan .galleria-container {
	width: 100% !important;
}
.wright-ryan .galleria-thumbnails-container {
	left: 0;
	bottom: 5px;
	width: 395px;
	height: 55px;
	z-index: auto;
}
.wr-homes.single-project .galleria-thumbnails-container {
  width: auto;
}
.wright-ryan .galleria-thumbnails-list {
	margin: 0 15px;
}
.no-rgba .wright-ryan .galleria-thumbnails-list {
	background: transparent;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000050,endColorstr=#00000050);
	zoom: 1;
}
.wright-ryan .galleria-thumbnails .galleria-image {
	width: 60px;
	height: 38px;
	margin: 8px 5px 8px 0;
	z-index: 100;
	opacity: .6;

  -webkit-transition: all 0.5s ease;  
     -moz-transition: all 0.5s ease;  
      -ms-transition: all 0.5s ease;  
       -o-transition: all 0.5s ease;  
          transition: all 0.5s ease;  

}
.wright-ryan .galleria-thumbnails .galleria-image:hover,
.wright-ryan .galleria-thumbnails .galleria-image.active {
	opacity: 1;
}
.wright-ryan .galleria-info {
	top: auto;
	bottom: 5px;
	height: 55px;
	right: 0;
	width: auto;
	left: 0;	
	background-color: rgba(0, 0, 0, .5);
}
.wright-ryan .galleria-info .go{
	width: 20px;
	height: 20px;
	position: absolute;
	right: 15px;
	bottom: 0.55em;
	z-index: 1;
	background: url(img/ui-icons.png) no-repeat 0 -200px;
}
.no-rgba .wright-ryan .galleria-info {
	background-color: #111;
}
.wright-ryan .galleria-info-text {
	display: block;
	background: none;
	padding: 0;
}
.wright-ryan .galleria-info-title {
	line-height: 55px;
	height: 55px;
}
.wright-ryan .galleria-info-title a {
	color: white;
	display: block;
	float: right;
	padding-right: 50px;
	height: 100%;
	white-space: nowrap;
	position: relative;
	z-index: 2;
}
.wright-ryan .galleria-info-description {
	display: none !important;
}
.wright-ryan .galleria-thumb-nav-left,
.wright-ryan .galleria-thumb-nav-right,
.wright-ryan .galleria-info-link,
.wright-ryan .galleria-info-close,
.wright-ryan .galleria-image-nav-left,
.wright-ryan .galleria-image-nav-right {
    background-image: url(img/slideshow-controls.png);
    background-repeat: no-repeat;
    opacity: .6;
}
.wright-ryan .galleria-thumb-nav-left,
.wright-ryan .galleria-thumb-nav-right {
	height: 56px;
	background-position: -495px 10px;
}
.wright-ryan .galleria-thumb-nav-right {
	background-position: -578px 10px;
}


/* accordion sidebar */
.home #secondary {
	position: absolute;
	top: 108px;
	right: 20px;
	max-width: 400px;
	width: 100%;
}
.home #secondary .widget,
.home #secondary .widget-title,
.home #secondary .widget a {
	font: 12px Mako, Arial, sans-serif;
	color: black;
}
.home #secondary .widget {
	background: #f1f1f1;
	background: rgba(255,255,255,.75);
	margin: 0 0 1px 0;
	padding: 7px;
	border: none;
}
.home #secondary .widget ul {
	list-style: none;
	margin: 0;
	padding: 0 60px 0 0;
}
.home #secondary .widget ul,
.home #secondary .widget p {
	margin: 0;
	color: #444;
	font-size: 11px;
}
.home #secondary .widget-title {
	position: relative;
	outline: none;
	cursor: pointer;
	padding-right: 20px;
}
.home #secondary .widget-title:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 16px;
	background: url(img/ui-icons.png) no-repeat 0 -100px;
}
.home #secondary .ui-state-active .ui-icon {
	background-position: 0 0;
}
.home #secondary .ui-widget-content {
	padding: 3px 0;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, .6)
}

.upw-posts .entry-content p:last-child {
	margin-bottom: 0;
}

.upw-posts .quote .entry-content p {
	font-style: italic;
}

.upw-posts article:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.upw-posts .quote {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
}

/**** Isotope filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
          transition-duration: 0s;
}

/* homes site */
.wr-homes.gallery #branding {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	background: url('/wp-content/uploads/2012/08/png80-10.png');
}
.wr-homes .home #secondary .widget {
	background: hsla(0, 0%, 91%, .75);
}
.wr-homes #site-title {
	background: none;
}
.wr-homes #site-title a {
	background-image: url(img/logo-homes.png);
	width: 109px;
	height: 132px;
	background-size: 109px 132px;
}
.wr-homes #colophon {
	padding: 0;
	min-height: 60px;
}
.wr-homes #colophon .widget {
	padding: 14px;
}
.wr-homes #colophon .widget:nth-child(2),
.wr-homes #colophon #text-5 {
	float: right;
	text-align: right;
	font-size: 11px;
}
.wr-homes #site-generator {
	display: none;
}
.wr-homes #secondary {
	margin-top: 20px;
}
.wr-homes.home #secondary {
	display: none;
}

/* galleria customizations */
.wr-homes .galleria-stage {
	background: hsl(0,0%,2%);
}
.wr-homes .ui-expanded .galleria-stage {
	bottom: 245px;
}
.wr-homes .ui-expanded .galleria-info {
	bottom: 250px;
}
.wr-homes .ui-expanded .galleria-thumbnails .galleria-image {
    height: 202px;
    width: 267px;
}
.wr-homes .ui-expanded .galleria-thumbnails-container {
	bottom: 22px;
	height: 202px;
	width: 1090px;
	margin: 0 auto;
	padding: 0 40px;
}
.wr-homes .ui-expanded .galleria-carousel .galleria-thumbnails-list {
	padding-left: 0;
	margin: 0;
}
.wr-homes .ui-expanded .galleria-thumb-nav-left,
.wr-homes .ui-expanded .galleria-thumb-nav-right {
	top: 100px;
	width: 30px;
	height: 30px;
	border-radius: 15px;
}
.wr-homes .ui-expanded .galleria-thumb-nav-left {
	background-position: -494px 0;
}
.wr-homes .ui-expanded .galleria-thumb-nav-right {
	background-position: -572px 0;
}
.wr-homes .thumb-info {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 9px;
	font-size: 11px;
	color: black;
	background: #f1f1f1;
	background: rgba(236, 236, 236, .65);
}
.wr-homes .ui-expanded .thumb-info {
	display: block;
}
.wr-homes .ui-expanded .thumb-info .go {
	display: none;
}
.wr-homes .thumb-info > * {
	margin: 0;
	display: none;
}
.wr-homes .thumb-info h1 {
	font: normal 17px/1.3 Brawler, Georgia, serif;
	display: block;
}
.wr-homes .ui-expanded .galleria-thumbnails .galleria-image.active .thumb-info,
.wr-homes .ui-expanded .galleria-thumbnails .galleria-image:hover .thumb-info {
	background: rgba(236, 236, 236, .9)
}
.wr-homes .galleria-ui-toggle {
	position: absolute;
	bottom: 0;
	width: 60px;
	height: 56px;
	border-radius: 3px 3px 0 0;
	margin: 0 auto;
	cursor: pointer;
	z-index: 3;
	background: black url(img/slideshow-controls.png) no-repeat -179px 13px;
	left: 420px;
}
.wr-homes .ui-expanded .galleria-ui-toggle {
	background-position: -79px 13px;
}

/* transitions */
.wr-homes .galleria-stage,
.wr-homes .galleria-info,
.wr-homes .galleria-ui-toggle {
  -webkit-transition: all 0.5s ease;  
     -moz-transition: all 0.5s ease;  
      -ms-transition: all 0.5s ease;  
       -o-transition: all 0.5s ease;  
          transition: all 0.5s ease;  
}

/* single project */
.wr-homes.single-project .project .container {
	margin: 10px 60px 20px 60px;
}
.wr-homes.single-project .galleria-info-text,
.wr-homes .ui-expanded .galleria-info {
	display: none;
}
.wr-homes.single-project .galleria-info {
	background-image: none;
}
.wr-homes.single-project .entry-content,
.wr-homes.single-project .post-meta,
.wr-homes.single-project #related-projects {
	float: left;
}
.wr-homes.single-project #related-projects h2 {
	border: none;
	color: #b30d0d;
	font-size: 14px;
	margin: 0;
}
.wr-homes.single-project #related-projects ul {
	margin: 0;
}
.wr-homes.single-project .post-meta,
.wr-homes.single-project #related-projects {
	width: auto;
	padding: .3em 1em;
	margin: 0 0 0 40px;
	border-left: 1px solid #eee;
}
.wr-homes.single-project #related-projects li a,
.wr-homes.single-project #related-projects li:before {
	color: #666;
}
.wr-homes.single-project .entry-content {
	margin: 0;
	width: 50%;
}
.wr-homes .galleria-ui-toggle{
	display: none !important;
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden, .assistive-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (max-width: 1390px) {
	#colophon {
		height: auto !important;
	}
  	#colophon .widget {
		max-width: none;
  		text-align: center;
  		padding: 0;
		float: none !important;
		text-align: center !important;
		clear: both;
	}
	#colophon .widget_nav_menu {
		max-width: none;
		margin: 3em 0;
	}
}

@media only screen and (max-width: 1100px) {
	#main, .container {
		margin: 0 16px;
	}
	#colophon .widget_nav_menu .menu > .portfolio {
		width: auto;
	}
	#colophon .widget_nav_menu .portfolio .sub-menu {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	#colophon .widget_nav_menu .menu > li {
		height: 180px;
	}
	.wr-homes .ui-expanded .galleria-thumbnails-container {
		width: 815px !important;
	}
}

@media only screen and (max-width: 992px) {
	#branding {
		height: auto;
		position: relative !important;
		box-shadow: none;
		text-align: center;
	}
	#branding .container{
		height: auto;
	}
	#site-title {
		z-index: 100;
		position: relative;
		top: 0;
		left: 0;
		background: white;
		padding: 20px;
	}
	#site-title a {
		margin: 0 auto;
	}
	#quicklinks {
		position: relative;
		bottom: 0;
		right: 0;
	}
	#quicklinks li {
		display: inline-block;
		float: none;
		margin: 0;
		padding: 0;
	}
	#quicklinks li a {
		padding: 0.7em 0.5em;
		display: block;
	}
	#access {
		position: relative;
		padding: 1em 0
	}
	#access li {
		display: inline-block;
		float: none;
		margin: 0;
		padding: 0;
	}
	#access li a {
		padding: 0.3em 0.5em;
		display: block;
	}
	#access li ul {
		display: none !important;
	}
	#primary {
		width: 100%;
		float: none;
		margin: 0;
	}
	#secondary {
		width: 100%;
		float: none;
	}
	#page {
		padding-top: 0;
	}
	#content {
		margin: 0;
		padding: 1em 0;
	}
	#content img {
		display: block;
		height: auto !important;
		width: auto !important;
		max-width: 100% !important;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 880px) {
  /* Style adjustments for viewports 768px and over go here */
	.scrollable #secondary,
	.scrollable #branding {
		position: absolute;
	}
	#access {
		font-size: 20px;
	}
	.wright-ryan .galleria-info-title {
		font-size: 25px;
	}
	.wr-homes .ui-expanded .galleria-thumbnails-container {
		width: 542px !important;
	}
}

@media only screen and (max-width: 860px) {
	#colophon .widget_nav_menu .menu > li {
		padding: 0 1.2em 1em;
		border-right: 0;
		min-height: 0;
		width: 100% !important;
		height: auto;
	}
}

@media only screen and (max-width: 770px) {
	#access {
		font-size: 18px;
	}
	.wright-ryan .galleria-thumbnails-container,
	.wright-ryan .galleria-ui-toggle {
		visibility: hidden !important;
	}
	.wright-ryan .galleria-image-nav-left, 
	.wright-ryan .galleria-image-nav-right {
		opacity: .5;
	}
	.wr-homes .galleria-stage,
	.wr-homes .galleria-info {
		bottom: 0 !important;
	}
}

@media only screen and (max-width: 680px) {
	.single-project #nav-single {
		display: block;
		float: none;
		text-align: center;
		margin-bottom: 1.5em;
	}
	.wright-ryan .galleria-info-title {
		font-size: 19px;
	}
	.wright-ryan .galleria-info-title a {
		padding-right: 40px;
	}
	#access {
		font: normal 15px Mako, Arial, sans-serif;
	}
	body:not(.home) #secondary .widget:not(.widget_section-subnav) {
		margin: 0;
		display: none;
	}
	.scrollable #content h2,
	.entry-title,
	.page-title {
		font-size: 22px;
		font-weight: bold;
	}
	.archive .project {
		min-height: 0;
	}
	.archive .project .entry-summary {
		display: none;
	}
	.js .scrollable #content h2 {
		margin-top: 2em;
	}
	.home #secondary {
		position: static;
		width: 100%;
	}
	.home #secondary .widget-title,
	.home #secondary .widget a {
		font-size: 17px;
		color: #222;
	}
	.home #secondary .widget {
		font-size: 15px;
		padding: 10px;
		background: #f1f1f1;
	}
	.wr-homes.single-project .entry-content,
	.wr-homes.single-project .post-meta,
	.wr-homes.single-project #related-projects {
		float: none;
		width: auto;
		margin-left: 0;
	}
}

.social-media-icon {
	display: inline-block;
	text-align: left;
	margin-right: 0.8em;
	text-indent: -9999px;
	overflow: hidden;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	background-color: black;
	background-repeat: no-repeat;
	background-image: url(img/social-media-icons-inverted.png);
	background-position: 0 center;
	opacity: 0.5;
}

.social-media-icon:hover {
	background-color: #ac3232;
	opacity: 1;
}

.social-media-icon[href*='houzz'] {
	background-position: 0 center;
}
.social-media-icon[href*='pinterest'] {
	background-position: -28px center;
}
.social-media-icon[href*='facebook'] {
	background-position: -56px center;
}
.social-media-icon[href*='twitter'] {
	background-position: -84px center;
}
.social-media-icon[href*='google'] {
	background-position: -112px center;
}
.social-media-icon[href*='youtube'] {
	background-position: -140px center;
}
.social-media-icon[href*='vimeo'] {
	background-position: -168px center;
}
.social-media-icon[href*='flickr'] {
	background-position: -196px center;
}
.social-media-icon[href*='feed'] {
	background-position: -224px center;
}
.social-media-icon[href*='linkedin'] {
	background-position: -252px center;
}
.social-media-icon[href*='zillow'] {
	background-position: -280px center;
}

/* video home page */
.page-template-template-videohome #content, .page-template-template-videohometest #content,
.page-template-template-videohome #primary, .page-template-template-videohometest #primary,
.page-template-template-videohome #main, .page-template-template-videohometest #main {
	margin: 0;
	padding: 0;
	min-height: 0;
}
.page-template-template-videohome .container, .page-template-template-videohometest .container {
	margin: 0 16px;
}
.page-template-template-videohome #page, .page-template-template-videohometest #page {
	padding-top: 0;
}
.page-template-template-videohome .page-header, .page-template-template-videohometest .page-header,
.page-template-template-videohome .entry-thumbnail, .page-template-template-videohometest .entry-thumbnail {
	display: none;
}
.page-template-template-videohometest #content {
	position: relative;
}
.page-template-template-videohometest .mute-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}2, h3 { page-break-after: avoid; }
}