/*
Theme Name: StauberDesign
Theme URI: http://underscores.me/
Author: Megan Coleman Design
Author URI: http://megancoleman.com/
Description: Stauber Design Custom Theme
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: stauberdesign
Domain Path: /languages/

StauberDesign is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

@import "flexslider.css";

/* @group Reset
================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	min-height: 100%;
}
body {
	background: #fff;
	overflow-x: hidden;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}
/* @end */


/* @group Global
================================================== */

#page, header {
	margin: 0 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
}

h1 {
	margin: 0px 0 43px 0;
	/*width: 80%;*/
}
	body.services .intro h1 {
		margin: 5px 0 43px 20px;	
		width: auto;
	}

h2, h3 {
	margin-bottom: 1.5em;
}

/*body.post-type-archive-work h2 {
	padding: 2px 4px;
	margin: -6px 0 0 0; 
}
*/

/*.intro h1 {
	clear: both;
	margin: 20px 20px 30px 20px;
}*/

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}
	#page ul {
		margin: 0 0 1.5em 0;
	}
	#page ul.gfield_checkbox {
		margin: 0;
	}
ul {
	list-style: none;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
#page ul li {
	background: url(/wp-content/themes/stauberdesign/images/bullet-gray.png) no-repeat 0 6px;
    background-size: 20px 20px;
    padding: 0 0 10px 30px;
}
	#page ul.gform_fields li {
		padding: 5px 0;
		background: none;
	}
	#page ul.slides li, #page ul.side-nav li, #page ul.flex-direction-nav li {
		background: none;
		padding: 0;
	}
	#page ul li.field_description_above {
		padding-top: 20px;
	}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: 700;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small, #page p small a {
	font-family: quasimoda, sans-serif;	
	font-weight: 300;
	font-size: 1.2rem;
	font-size: 12px;
	line-height: 1.2;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
	margin-bottom: 5px;
}
	body.single-post .twocolright-a img.wp-post-image {
		margin-top: 8px;
	}
	.uagb-post__image img {
		margin-bottom: 0 !important;
	}

button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
	margin-top: 0 !important;
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* 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/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

::placeholder {color: #231f20;}
:-ms-input-placeholder {color: #231f20;}
::-ms-input-placeholder {color: #231f20;}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #00aeef;
	font-weight: 700;
	text-decoration: none;
}
	body.home .entry a,
	body.blog .entry a {
		color: #000;
	}
	li.telephone a {
		color: #58595b;
	}
	/*body.post-type-archive-work .threecol a {
		font-weight: 700;
	}*/
	/*p.meta a {
		color: #58595b;
		font-weight: 300;
	}
	*/
a:visited {
	color: #00aeef;
}
a:hover,
a:focus,
a:active {
	color: #004151;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}


/* @end */

/* @group Typography
================================================== */

/* 
	Quasimoda Regular: quasimoda 300
	Quasimoda Bold: quasimoda 700
	Essonnes Regular: essonnes-display 100
*/

body, input, select, textarea {
	font-family: quasimoda, sans-serif;	
	font-weight: 300;
}

.wp-block-quote {
		background: url(/wp-content/themes/stauberdesign/images/quote.png) 0 60px no-repeat;
		background-size: 50px;
		width: auto;
		margin: 0 auto;
		padding: 60px 0 60px 70px;
}
	.has-background .wp-block-quote {
	background: url(/wp-content/themes/stauberdesign/images/quote.png) 0 70px no-repeat;
    background-size: 50px;
    padding: 80px 0 80px 75px;
	}

blockquote, #page blockquote p {
	font-family: essonnes-display, Georgia, Times, serif;
	font-size: 28px; font-size: 2.8rem;
	line-height: 1.3;	
	font-weight: 300;
	color: #231f20;
}

blockquote p {
	margin: 0 0 10px 0;
	/*display: inline;*/
}

blockquote cite {
	font-style: normal;
	color: #898b89;
	margin: 0;
	display: inline;
}

h1 {
	font-size: 36px; font-size: 3.6rem;
	line-height: 1.2;
	font-weight: 300;
	color: #000;
}
	.entry h1 {
		font-weight: 700;
		}
	body.single-work #page h1 {
		font-weight: 700;
		font-size: 42px; font-size: 4.2rem;
		margin: 50px 0 20px 0;
	}
	body.blog h1,
	body.services h1 {
		font-size: 22px; font-size: 2.2rem;
		line-height: 1.4;
		font-weight: 300;		
	}

h2 {
	font-size: 36px; font-size: 3.6rem;
	font-weight: 300;
	line-height: 1.2;
}

	body.blog h2 a img {
    margin-bottom: 15px;
	}

.gform_description {
	font-size: 18px; font-size: 1.8rem;
	font-weight: 400;
	line-height: 1.4;
}

h3 {
	font-size: 16px; font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.4;
}

body.blog h2 {
	font-size: 16px; font-size: 1.6rem;
	line-height: 1.3;
	margin: 10px 0;
}
	body.blog h2 a {
		font-weight: 700;
	}

.gform_description {
	color: #00aeef;
}

p span.large-text {
	font-size: 22px; font-size: 2.2rem;
	line-height: 1.4;
}

/*body.post-type-archive-work h2 {
	font-size: 13px; font-size: 1.3rem;
}*/

#page .work-tags p, #page .work-tags strong {
	font-size: 12px; font-size: 1.2rem;
	line-height: 1.4;
	color: #898b89;
	}


p,
body,
button,
input,
select,
textarea,
li  {
	font-size: 22px; font-size: 2.2rem;
	line-height: 1.4;
	color: #231f20;
	font-weight: 300;
}
	input, select, textarea {
		letter-spacing: 0;
	}
	p span.large-text {
		color: #231f20;
	}
	#page .twocolsplit-b p {
		font-size: 12px; font-size: 1.2rem;
		line-height: 1.5;
	}
	
.main-navigation li {
	font-style: normal;
	font-weight: 300;
	font-size: 36px; font-size: 3.6rem;
	line-height: 1.4;
}	

ul.contactinfo li,
form.mc4wp-form p, 
.twocolsplit-b p,
p.copy  {
	font-size: 18px; font-size: 1.8rem;
	line-height: 1.6;
}

.mc4wp-form label, .mc4wp-form input[type="email"], .mc4wp-form input[type="text"], .mc4wp-form input[type="submit"],
p.meta {
	font-size: 11px; font-size: 1.1rem;	
	line-height: 2;
}

p.copy {
	font-weight: 400;
}
p.copy a {font-weight: normal;}


#page p.cta a {
	font-size: 18px; font-size: 1.8rem;
	line-height: 2;
	font-weight: 400;
}

#page .twocolleft-a p {
}

/* @end */

/* @group Header
================================================== */

.topbar {
	padding: 0;
	width: 100%;
	margin: 0 auto;
	min-height: 20px;
	position: relative;
	z-index: 1;
}

#logo {
	float: left;
	margin: 0 0 0 20px;
}

#logo img:hover {
	opacity: .6;
}


body.services header {
	background: #eaeaea url('images/back-coffee.jpg') no-repeat top left;
	background-size: 100%;
}

body.services .intro {	
	width: 100%;
	margin: 0 auto 0 auto;
	position: relative;
	min-height: 300px;
}

body.services .intro h1 {
	position: absolute;
	bottom: 25px;	
	margin-bottom: 0;
}


/* @end */

/* @group Menu
================================================== */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
	padding-right: 20px;
	margin: 10px 0;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	text-transform: lowercase;
	color: #000;
	font-weight: 300;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a,
body.post-type-archive-work li#menu-item-1846 a,
body.single-work li#menu-item-1846 a,
body.single-post .main-navigation li#menu-item-1845 a,
body.blog .main-navigation li#menu-item-1845 a,
body.page-services li#menu-item-3280 a,
body.tax_books li#menu-item-3775 a,
body.tax_brands li#menu-item-3776 a,
body.single-post li#menu-item-3650 a {
	font-weight: 700;
}

.main-navigation a:hover {
	color: #00aeef;
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
	background: url('images/menu2.png') no-repeat left top;
	background-size: 30px 30px;
	width: 30px;
	height: 30px;
	float: right;
	text-indent: -10000px;
	margin: -33px 43px 0 0;
}

/* @end */

/* @group Content / Layout
================================================== */

.inner {
	padding: 10px 20px;
}
	#feat_subpages .inner {
		padding: 30px 20px 15px 20px;
	}
	.testimonial .inner {
		padding: 30px 0 10px;
	}
	footer .inner {
		padding: 40px 20px 40px 20px;
	}
	

.threecol {
	clear: both;
	margin-bottom: 30px;
	overflow: auto;
}

.twocolsplit-b {
	margin-bottom: 40px;
}

.slides li {
	padding-bottom: 10px;
}
.side-nav {
	margin: 0 0 20px 0;
	min-height: 45px;
}

#page ul.side-nav li {
	float: left;
	list-style: none;
	margin: 0;
	border-left: 1px solid #f1f1f3;
	padding: 10px 15px 0 15px;
}
	#page ul.side-nav li:first-child {
		border-left: none;
		padding-left: 0;
	}

.wp-block-column.has-background {
	width: 100vw;
	left: 50%;
	right: 50%;
	margin: 50px -50vw 50px -50vw;

	/*margin-left: -40px;
    margin-right: -40px;
	margin-top: 60px;
	margin-bottom: 60px;*/
}	
	
blockquote {
	clear: both;
	margin: 0 0 40px 0;
}

blockquote span {
	margin-left: -8px;
	position: absolute;
}	

.entry {
	clear: both;	
	overflow: hidden;
	margin-bottom: 35px;
}
	.entry h2 a:hover {
		opacity: .5;
	}

#subscribe {
	margin-bottom: 15px;
}

p.meta {
	margin-bottom: 5px;
}

.addthis_inline_share_toolbox {
	margin-bottom: 25px;
}

div.nav-next span {
	padding-left: 20px;
}
	div.nav-next span:first-child {
		border: 0;
		padding-left: 0;
		padding-right: 5px;
	}
	
.cta {
	color: #00aeef;
	margin: 20px 0 40px;
	clear: both;
}	
.cta a {
	background: #E3F3F7;
	padding-top: 4px;
}	

.testimonial {
	width: 100%;
	overflow: auto;
}

.line {
	height: 2px;
	width: 100%;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00aeef+0,ffffff+100 */
	background: #00aeef; /* Old browsers */
	background: -moz-linear-gradient(left, #00aeef 0%, #ffffff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #00aeef 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #00aeef 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00aeef', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
	clear: both;
}

.topbar .line {
	margin-left: 20px;
	width: 95%;
}

body.services .topbar .line {
	display: none;
	background: transparent;
}

.back_color {
	background: #F2F1EF;
	width: 100%;
	overflow: auto;
	margin-bottom: 30px;
}


body.page-contact .fullwidth,
body.page-thank-you .fullwidth {
	background-color: #fff;
	width: 100%;
	padding-bottom: 15px;
}

#nav-below {
	clear: both;
	margin-bottom: 40px;
}

.wp-block-buttons {
	margin: 50px 0;
}


.wp-block-image {
	margin: 50px 0;
}
	.wp-block-column .wp-block-image {
		margin: 8px 0 50px;
		vertical-align: top;
	}

.gform_legacy_markup_wrapper .gform_footer input.button, .gform_legacy_markup_wrapper .gform_footer input[type=submit] {
	margin: 0 !important;
}

.wp-block-buttons,
.wp-block-buttons>.wp-block-button,
.gform_footer.top_label {
	width: fit-content !important;	
	background: linear-gradient(to right, #82cee8, #e1f3f7);
    padding: 1px;
}

.wp-block-button__link,
.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type=submit],
.gform_wrapper .gform_footer input.gform_button,
.gform_wrapper .gform_footer button.gform_button {
	text-align: left;
	padding: 5px 15px 10px 20px;
	background: white;
	border: none;
	font-family: quasimoda, sans-serif;
	font-size: 3.6rem;font-size: 36px !important;
	font-weight: 700;
	color: #00aeef !important;
}

.gform_wrapper .gform_footer input.button {
	border-radius: none !important;
	-webkit-appearance: none !important;
	-webkit-border-radius: 0 !important;
	border: 1px solid white;
}

	.is-style-outline>.wp-block-button__link:not(.has-background), .wp-block-button__link.is-style-outline:not(.has-background),
	.wp-block-button.is-style-outline>.wp-block-button__link, .wp-block-button .wp-block-button__link.is-style-outline,
	.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background), .wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
    background-color: white;
    border-radius: 0;
	border: none;
	padding: 5px 20px 10px 20px !important;
}

.gform_legacy_markup_wrapper .gform_footer {
	margin: 40px 0 !important;
	padding: 2px !important;
}

.gform_legacy_markup_wrapper .gfield_checkbox li label {
	max-width: 100% !important;
}

.wp-block-column {
	margin: 0 30px 0 0;
}

.uagb-post__inner-wrap {
	background: none !important;
}

.wp-block-gallery {
	margin-bottom: 40px;
	margin-top: 60px;
}


.uagb-post__image {	
    z-index: -1;
    position: relative;
}
.uagb-post__text {
	display: none;
	margin-left: 40px !important;
	margin-right: 40px !important;
}

.uagb-post__text.uagb-post__title {
	margin-top: -265px;
	/*position: absolute;
	top: 36px;*/
	opacity: 1;
}

.uagb-post__title, .uagb-post__excerpt {
	margin-bottom: 15px !important;
}

.uagb-post__excerpt {
	/*top: 80px;
	position: absolute;*/
}

.uagb-post__text.uagb-post__cta {	
	/*top: 200px;
	position: absolute;*/
}

.uagb-post-grid .uagb-post__cta {
	display: none;
}

.uagb-post__cta {
	background: #00aeef !important;
	padding: 5px;
}

.uagb-post-grid .uagb-post__excerpt p {
		font-size: 17px !important;
		line-height: 1.4em !important;
	}

.uagb-post-grid .wp-block-button__link {
	color: #fff !important;
}

.uagb-post__inner-wrap:hover .uagb-post__text {
	display: block;
}

.uagb-post__inner-wrap:hover img {
	opacity: .1;
	background: #fff;
}

.uagb-post__inner-wrap:hover .uagb-post__cta {
	display: inline-block;
}

.uagb-post__cta .wp-block-button__link,
.uagb-post__inner-wrap:hover .uagb-post__cta .wp-block-button__link {
	font-size: 18px !important;
	padding: 5px 10px 10px 10px !important;
}

#page .uagb-post-grid .uagb-post__inner-wrap,
#page .uagb-post-grid .uagb-post__inner-wrap:hover {
	overflow:visible !important;
}
#page .uagb-post-grid .uagb-post__inner-wrap:hover {
	padding-bottom: 100px;
}
div.fullwidthgroup {margin: 0 calc(50% - 50vw) !important;}
div.fullwidthgroup .wp-block-group__inner-container {padding: 20px 0;}
div.fullwidthgroup div.wp-block-columns {max-width: 1000px; margin: 0 auto;}
div.fullwidthgroup div.wp-block-columns div.wp-block-columns {padding: 0 0 30px 0;}


/* @end */

/* @group Homepage
================================================== */

.wp-block-image.fade-in { 
	animation: fadeIn 10s; 
	-webkit-animation: fadeIn 10s;
	-moz-animation: fadeIn 10s;
	-o-animation: fadeIn 10s;
	-ms-animation: fadeIn 10s;
	margin: 15px 0 50px;
}

	@keyframes fadeIn {
	  0% { opacity: 0; }
	  100% { opacity: 1; }
	}
	
	@-moz-keyframes fadeIn {
	  0% { opacity: 0; }
	  100% { opacity: 1; }
	}
	
	@-webkit-keyframes fadeIn {
	  0% { opacity: 0; }
	  100% { opacity: 1; }
	}
	
	@-o-keyframes fadeIn {
	  0% { opacity: 0; }
	  100% { opacity: 1; }
	}
	
	@-ms-keyframes fadeIn {
	  0% { opacity: 0; }
	  100% { opacity: 1; }
	}

.intro h2 {
	background: url(/wp-content/themes/stauberdesign/images/arrow-black.png) no-repeat 0 13px;
    background-size: 25px 25px;
    padding: 0px 0 10px 0;
	text-indent: 35px;
}


body #page .inner {
	padding-bottom: 0 !important;
}



hr.wp-block-separator {
	border: 1px solid #f0f2f2;
	background-color: #f0f2f2;
	height: 2px;
	margin: 40px 0;
}
	

/* @end */

/* @group Landing Pages
================================================== */


/* Presentation Story Studio Page */

body.landing-page #page {
	margin: 0 auto 0;
}

/* body.landing-page #site-navigation {display: none;}
body.landing-page #logo {float: right;} */

 .stats h2 {
	font-family: "abril-display", serif;
	font-weight: 400;
	font-style: normal;
	margin: 50px 0 0 0;
	font-size: 5.0rem;
	margin-top: 50px;
	color: #32a5d1;
}

h2.sans, .stats h2.sans {
	font-family: 'quasimoda', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-top: 0;
}
 .stats h3 {
	font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
}

.stats h4 {
	font-size: 36px;
	font-size: 3.6rem;
	line-height: 1.2;
	font-weight: 300;
	font-family: quasimoda, sans-serif;
	margin-top: 50px;
	
}

.wp-block-uagb-call-to-action {
	padding-top: 60px;
	padding-bottom: 40px;
}

body.landing-page .uagb-block-08acd534.wp-block-uagb-call-to-action .uagb-cta__title {
	margin-bottom: 35px;
}

body.landing-page .uagb-cta__title,
body.landing-page .uagb-cta__desc,
body.home .uagb-cta__desc {
	color: #fff;
}

.wp-block-uagb-call-to-action .wp-block-button__link {
	color: #fff !important;
}

.wp-block-column .wp-block-image.quote {
	margin-bottom: 20px;
}

@media all and (max-width: 1100px) {
	div.stats {
		padding: 0 30px;
	}
	body.landing-page h2.uagb-cta__title {
		font-size: 36px;
		font-size: 3.6rem;
	}
	body.landing-page .uagb-cta__desc {
		margin-bottom: 40px !important;
	}
}

/* @end */


/* @group Custom Post Type Masonry Gallery
================================================== */

.dpt-image-overlay .sub-entry {
	padding: 20px 20px 20px 20px !important;
}

.dpt-image-overlay .sub-entry {
	background: #00aeef !important;
    width: 100% !important;
	display: none !important;
}

.dpt-image-overlay .dpt-entry:hover .sub-entry {
	display: block !important;
}

/* @end */

/* @group Forms
================================================== */

#page .gform_confirmation_message {
	margin-bottom: 20px;
	font-size: 3.8rem;
	line-height: 1.2;
	font-weight: 300;
	color: #00aeef;
}

#page .gform_wrapper .validation_message {
color: #00aeef;
}
#page .gform_wrapper li.gfield.gfield_error, #page .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	border-top: none;
	border-bottom: none;
}

#page .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .gform_wrapper li.gfield_error textarea {
border: 1px solid #00aeef;
}
	body.page-subscribe #page li#field_3_5,
	body.page-subscribe #page li.gchoice_3_5_1,
	body.page-subscribe #page li#field_3_6 {
		border: none !important;
	}

#page .gform_wrapper .gfield_error .gfield_label {
color: #00aeef;
}

#page .gform_wrapper div.validation_error {
color: #00aeef !important;
border-top: 2px solid #00aeef !important;
border-bottom: 2px solid #00aeef !important;
}

#page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	background: #fff;
	border-radius: 0;
	border: none;
	padding: 10px 0;
}
	body.page-contact #page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
		background: #fff;
	}

body .gform_wrapper ul li.gfield {
	margin: 0 !important;
}

#page .gform_wrapper li,
.gform_wrapper .gfield_description,
.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label
{
	font-size: 18px !important;
	font-size: 1.8rem !important;
	font-weight: 300;
}

#page .gform_wrapper li {
	border-bottom: 1px solid #e9e9e9;
}
	#page li#field_2_7,
	#page li.gchoice_2_7_1,
	#page li#field_2_10,
	#page li#field_2_11,
	#page li.gchoice_2_13_1,
	#page li#field_2_13
	{border: none;}

.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
	margin-bottom: 0 !important;
}

/*.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type=submit] {
	font-size: 18px !important;
	font-size: 1.8rem !important;
	line-height: 1;
	color: #00aeef;
	margin: 20px 0 40px;
	background: #E3F3F7;
	padding: 5px 5px 0 0;
	border: none;
}*/

#page .gform_wrapper .field_description_below .gfield_description {
    padding-top: 0;
    margin-left: 16px;
}

.gfield_checkbox label {
	font-weight: 300 !important;
}

.gform_wrapper textarea {
	border: none;
	padding: 10px !important;
	margin-top: 10px;
}

#page .gform_wrapper .gfield_description {	
	padding: 8px 16px 6px 0;
}

/* @end */

/* @group Asides
================================================== */

aside#sidebar {
	margin-bottom: 15px;
	overflow: auto;
}

.twocolright-a aside {
	border-bottom: 1px solid #f1f1f3;
	padding-bottom: 10px;
	margin-bottom: 0;
}

.twocolright-a #nav-below {
	margin-bottom: 30px;
}

#subscribe select {
	margin-bottom: 5px;
}

/* @end */


/* @group Media
================================================== */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* @end */

/* @group Navigation
================================================== */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: left;
	text-align: left;
	width: 50%;
	font-size: 2.4rem; font-size: 24px;
}
[class*="navigation"] .nav-next a {
	font-weight: 700;
}

/* @end */


/* @group Widgets
================================================== */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}
/* @end */

/* @group Footer
================================================== */

footer {
	clear: both;
	padding: 0;
}

.footerback, body.page-contact .fullwidth.footerback {
	background: #f6f8f8;
}

ul.contactinfo {
	list-style: none;
	margin: 0 0 20px 0;
}

ul.contactinfo li {
	display: inline;
	margin-right: 15px;
}
ul.contactinfo li a {
	font-weight: 700;
}

footer img {
	vertical-align: middle;
}

.mc-field-group {
	border-bottom: 1px solid #f1f1f3;
	float: left !important;
	margin-right: 10px;	
}

.mc4wp-form p {
	font-weight: 700;
	float: left;
	margin-right: 5px;
}

.mc4wp-form label {
	float: left;
	padding: 0px 4px 2px;
	width: 70px;
}

.mc4wp-form label.cptch_label {
	width: 240px;
}

.mc4wp-form input {
	float: left;
}

.mc-field-group, .mc4wp-form input[type="submit"] {
	float: left;
	clear: both;
	margin-bottom: 10px;
}

.mc4wp-form input[type="email"], .mc4wp-form input[type="text"], input.search-field {
	border: none;
	padding: 0px 2px 2px;
	width: 200px;
}
	input.search-field {
		width: 300px;
	}
	form.mc4wp-form span.cptch_span input.cptch_input {
		border: 1px solid #f1f1f3 !important;
		border-radius: 0 !important;
	}

.mc4wp-form input[type="submit"],
input.search-submit {
	border: 1px solid #f1f1f3;
	background: #fff;
	font-weight: 700;
	color: #004151;
	padding: 1px 8px;
}

.mc4wp-form input[type="submit"] {
	margin: 10px 0 0 0;
}

p.copy {
	clear: both;
}

/* @end */

/* @group Clear Fix 
================================================== */
.clearfix:after { 
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}
/* @end */


/* @group Infinite Scroll
================================================== */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}
/* @end */

/* @group Media Queries
================================================== */

/* ------------------- under 1000px ------------------*/
@media all and (max-width: 62.5em) { 
	.wp-block-column.has-background,
	.wp-block-group.has-background {
    left: 0; 
    right: 0;
    margin: 0;
    padding: 0 40px;
	}
	.wp-block-quote {
		width: auto;
	}
	
	header {
		margin: 0;
	}

	.topbar {
		padding: 0;
		margin-bottom: 30px;
	}
	
	#logo {
		padding: 0;
		width: 160px;
		z-index: 1;
		position: relative;
		margin-left: 40px;
	}
	
	.menu-toggle {
		margin-top: -125px;
		margin-right: 15px;
	}
	
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
		margin-top: 120px;
	}
	
	.toggled .menu-main-navigation-container {
		padding: 40px 0 25px 40px;
	}
	
	#site-navigation.toggled {
		margin-top: -140px;
		z-index: 2;
	}
	.toggled h1.menu-toggle {
		margin: 15px 15px 0 0;
		background: url('/wp-content/themes/stauberdesign/images/menu-close2.png') no-repeat left top;
		background-size: 30px 30px;
		width: 30px;
		height: 30px;
	}
	.toggled .reverselogo {
		background-image: url('/wp-content/themes/stauberdesign/images/logo2_reversed.png');
		background-size: 210px 22px;
		display: block;
		width: 210px;
		height: 22px;
		margin: 25px 15px 0px 15px;
	}
	.main-navigation {
		background-color: #00aeef;
		z-index: 1;
	}
	.main-navigation li {
		float: none;
		font-size: 40px; 
		line-height: 1.2;
		}
	.main-navigation a {
		text-transform: lowercase;
	}	
	.main-navigation a {
		color: #fff;
		font-weight: 300;
	}
	
	.main-navigation li.current_page_item a, .main-navigation li.current-menu-item a, .main-navigation a:hover, body.post-type-archive-work li#menu-item-1846 a, body.single-work li#menu-item-1846 a {
		opacity: 1;
		color: #fff;
	}
	
	h1,
	body.blog h2,
	h2,
	body.page-brands p strong {
		font-size: 24px; font-size: 2.4rem;
		line-height: 1.2;		
	}
	
	body.services .intro h1 {
		padding: 0 20px;
	}
	
	body.single-work #page h1 {
		font-size: 24px; font-size: 2.4rem;
	}
	
	.hidden {
		display: none;
	}
	body.blog h2 a img {
		display: block;
	}
	
	body.blog .entry {
		max-width: 300px;
	}
	
	article.uagb-post__inner-wrap {
		position: relative !important;
		top: auto !important;
		float: left;
		min-height: 250px !important;
		overflow: hidden;
	}
	
	.uagb-post__image {
		/*height: 250px !important;*/
	}
	
	.uagb-post__inner-wrap:hover {
		/*background: #ededed !important;*/
	}
	
	.uagb-post__inner-wrap:hover img {
	opacity: 1 !important;
	background: transparent !important;
	}
	
	.uagb-post__text {
	/*margin-left: 30px !important;
	margin-right: 30px !important;*/
	margin: 5px 0 10px 0 !important;
	display: block !important;
}

	.uagb-post__text.uagb-post__title {
	/*margin-top: -230px;*/
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.8rem !important;
	}
	
	.uagb-post__excerpt {
		padding-bottom: 0;
		margin-bottom: 0 !important;
	}
	
	.uagb-post__text.uagb-post__title a,
	.uagb-post__excerpt,
	.uagb-post__cta a {
		font-size: 16px !important;
		line-height: 1.2em !important;
	}
	
	.uagb-post__cta {
		/*background: transparent !important;
		padding: 0 !important;*/
		display: inline-block !important;
	}
	
	.uagb-block-feb1fcf7.uagb-post-grid .uagb-post__inner-wrap .wp-block-button.uagb-post__text.uagb-post__cta,
	.uagb-post__inner-wrap:hover .uagb-post__cta {
		padding: 5px !important;
	}
	
	.uagb-block-cb2ce63f .uagb-post__inner-wrap .uagb-post__cta {
     padding-bottom: 5px !important; 
	}
	
	.wp-block-button.uagb-post__text.uagb-post__cta .uagb-text-link.wp-block-button__link {
		/*background: transparent !important;
		color: #00aeef !important;
		padding: 0 !important;*/
	}
	
	.wp-block-column.has-background {
		margin: 0 -40px;
	}
	
	.wp-block-quote,
	.wp-block-column.has-background .wp-block-quote {
    background: url(/wp-content/themes/stauberdesign/images/quote.png) 0 35px no-repeat;
    background-size: 35px;
    padding: 85px 0 40px 0;
	}
	blockquote, #page blockquote p {
	font-size: 22px;
    font-size: 2.2rem;
	}
	
	
	body.page-brands p strong {
	padding-left: 23px;
    background: url(/wp-content/themes/stauberdesign/images/arrow.png) no-repeat left 11px;
	background-size: 16px 17px;
	}
	
	footer .inner {
		padding: 40px;
	}
	
	ul.contactinfo li, p.copy, p.backtotop {
	font-size: 1.6rem;
    line-height: 1.4;
	}
	
	li.instagram-link,
	li.linkedin-link {
		text-indent: -99999px;
	}
	
	li.instagram-link a {
	background: url(/wp-content/themes/stauberdesign/images/social-ig.png) no-repeat;}
	li.linkedin-link a {
	background: url(/wp-content/themes/stauberdesign/images/social-li.png) no-repeat;	
	}
	
	li.instagram-link a,
	li.linkedin-link a {
    background-size: 30px;
    width: 30px;
    height: 30px;
    display: inline-block;
	}
	
	li.instagram-link a:hover,
	li.linkedin-link a:hover {
		opacity: .7;
	}
	
	ul.contactinfo li a {
    padding-top: 4px;
}


.wp-block-column .wp-block-image {
		margin: 8px 0 0; }


}


/* ------------------- 600px up ------------------*/
@media all and (min-width: 37.5em) { 	

	.backtotop {
		display: none;
	}
	
	.threecol img {
		width: 100%;
		margin-bottom: 0;
	}
	
	.threecol {
		width: 48.924731182796%; /* 455/930 */
		margin-right: 2.150537634409%; /* 20/930 */
		float: left;
		clear: none;
	}
	
	div.threecol:nth-of-type(even) {margin-right: 0;}
	
	.grid-item, .grid-sizer {
		float: left;
		width: 31%; /* 310/1000 */
	}
	/*.grid-item .entry {
		padding: 0 15px;
	}
	*/
	/*body.post-type-archive-work h2 {background: #f2f3f5;}*/

}

/* ------------------- 700px up ------------------*/
@media all and (min-width: 43.75em) { 

	/*.threecol img {
		float: left;
	}
	.threecol p {
		float: left;
		width: 350px;
		margin-left: 15px;
	}*/
	footer .mc-field-group, footer .mc4wp-form input[type="submit"] {
		float: none;
		clear: none;
		margin-bottom: 0;
	}
	.onecol {
		width: 66.129032258065%; /*615/930*/
	}
	.twocolsplit-a {
		width: 60%; /*600/1000*/
		margin-right: 3.5%; /* 35/1000 */
		float: left;
	}
	
	.twocolsplit-b {
		width: 31.5%; /*315/1000*/
		float: right;
	}
	
	.twocolleft-a {
		width: 64.5%; /*645/1000*/
		margin-right: 3.5%; /* 35/1000 */
		float: left;
	}
	.twocolleft-b {
		width: 32%; /*320/1000*/
		float: left;
	}
	.twocolright-a {
		width: 32%; /*320/1000*/
		margin-right: 3.5%; /* 35/1000 */
		float: left;
	}
	.twocolright-b {
		width: 64.5%; /*645/1000*/
		float: left;
	}
}

/* ------------------- 800px up ------------------*/
@media all and (min-width: 50em)  { 
	
	.wp-block-image.fade-in { 
	margin: 0 90px 74px;
}

	
	body.services .intro h1 {
		position: absolute;
		bottom: 30px;
		left: 34.4086%; /* 320/930 */
		right: 1.612903225806%;	
	}
	
	body.services .intro h1 {
		margin-bottom: 50px;
	}
	
	.col1 {
		float: left;
		width: 32.26%; /* 300/930 */
		margin-right: 1.6129%; /* 15/930 */
	}
	
	.col2 {
		float: left;
		width: 66.129%; /* 615/930 */
	}
}

/* ------------------- 1000px up ------------------*/
@media all and (min-width: 62.5em)  { /* 1000/16 = 62.5 */
	
	.main-navigation {
		float: right;
		width: auto;
		margin-top: -115px;
		margin-right: 10px;
	}
	
	header, #page, footer, #feat_subpages {
		width: 1040px;
		margin: 0 auto 70px;
	}	
		body.services header,
		body.page-id-5861 #page,
		body.post-type-archive-work #page {
			width: 100%;
		}

		body.post-type-archive-work .wp-block-uagb-container {
			width: 1040px;
			margin: 0 auto;
}

		footer {
			margin-bottom: 0;
		}
	.topbar {
		padding: 0;
		width: 1040px;
		left: 0;
		right: 0;
		min-height: 20px;
	}

	body.services .intro {
		width: 1000px;
		min-height: 370px;
	}
	

	#page .entry h1 {
		width: auto;
	}
	.twocolsplit-b p {
		padding-right: 100px;
	}
	aside .mc-field-group, aside .mc4wp-form input[type="submit"] {
		float: none;
		clear: none;
		margin-bottom: 0;
	}
	div.flexslider {
		height: auto;
	}
	.threecol {
		width: 31%; /* 310/1000 */
		margin-right: 3.5%; /* 35/1000 */
		float: left;
		clear: none;
	}
	
	div.threecol:nth-of-type(even)
	 {
		margin-right: 3.5%; /* 35/1000 */
	}
	div.threecol:nth-of-type(3n+0) {
		margin-right: 0;
	}
	.threecol img, .threecol p {
		float: none;
		width: auto;
		margin: 0;
	}
	.threecol img {
		width: 100%;
	}
	
	.has-background .wp-block-quote {
	width: 920px;
	}
	
	body.single-post article {padding-right: 150px;}
}

/* @end */

/* @group IE Hacks
================================================== */

html.ie8 #logo,
html.ie7 #logo {float: none;}

html.ie8 .topbar,
html.ie7 .topbar {background: #fff;}

html.ie7 #site-navigation {margin-top: -10px;}
html.ie7 .skip-link {display: none;}
html.ie7 .mc4wp-form input[type="submit"] {padding: 1px 1px;}

/* @end */

/* @group Print Styles
================================================== */

/* @end */