/*
Theme Name: Rebecca Tuhus Dubrow
Theme URI: http://rebeccatuhusdobrow.net
Description: Custom theme
Author: Adam Walter
Author URI: http://flingodesign.com
Version: 2
*/

/*
----------------------------------------------------------------
     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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;	padding: 0;	border: 0;	outline: 0;	font-size: 100%; vertical-align: baseline;	background: transparent; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table {	border-collapse: collapse; border-spacing: 0; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }


/*
----------------------------------------------------------------
     BASE STYLES
---------------------------------------------------------------- */

body {
	background-color: #f9f7eb;
	border-top: 6px solid #008dc9;
	font-family: 'Vollkorn', serif;
	color: #454545;
	padding-bottom: 50px;
}

a {
	transition: color 200ms ease-out;
}

a:link, a:visited {
	color: #d92a81;
	text-decoration: none;
}

a:hover, a:focus {
	color: #008dc9;
}

.content { margin-top: 80px; }

#contact .content {	margin-top: 230px; }

article { margin-bottom: 40px; }

.work-list article {
	padding-bottom: 40px;
	border-bottom: 1px solid #ded8cc;
}

.work-list article.last { border-bottom: none; }
footer { margin-top: 80px !important; }
.show-on-desktops { display: none !important; }
.show-on-phones { display: block !important; }

@media (min-width: 768px) {
	.hide-on-desktops { display: none !important; }
	.show-on-desktops { display: block !important; }
	.show-on-phones { display: none !important; }
}



/*
----------------------------------------------------------------
     NAVIGATION
---------------------------------------------------------------- */

.main-menu-small {
	margin-top: 10px;
}

.main-menu-image-sm {
	margin-right: 10px;
}

.home-link path {
	fill: #008dc9;
	transition: fill 200ms ease-out;
}

.home-link:hover path {
	fill: #d92a81;
}

nav[role="navigation"] {
	margin-top: 20px;
}

nav[role="navigation"] ul li {
	padding: 18px 0 12px 0;
	border-bottom: 1px solid #bebebe;
}

nav[role="navigation"] ul li:first-child {
	padding-top: 12px;
}

nav[role="navigation"] ul li:last-child {
	padding-bottom: 7px;
	border-bottom: none;
}

nav[role="navigation"] ul li a {
	display: block;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: #00a242;
	text-decoration: none;
	text-transform: lowercase;
}

nav[role="navigation"] a:hover {
	color: #d92a81;
}

nav[role="navigation"] ul li ul li {
	padding: 3px 0;
	border-bottom: none;
}

nav[role="navigation"] ul li ul li a {
	font-size: 16px;
	font-weight: 300;
}
.article-pagination {
	overflow: hidden;
	padding-top: 10px;
	font-weight: bold;
}

.article-pagination ul li {
	float: left;
	margin-left: 5px;
}

.article-pagination ul li:first-child {
	margin-left: 0;
}

.article-pagination ul li a {
	display: block;
	padding: 6px 8px;
	color: #ccc1ab;
	font-size: 14px;
}

.article-pagination ul li a:hover {
	color: #008dc9;
}

.article-pagination ul li a.current {
	color: #008dc9;
}


.article-pagination ul li a.next {
	background-color: #ccc1ab;
	color: #fdfbef;
	font-weight: normal;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

.article-pagination ul li a.next:hover {
	background-color: #008dc9;
}


/*
----------------------------------------------------------------
     ELEMENTS
---------------------------------------------------------------- */

.home .page-title {
	opacity: 0;
}

a.work-list-nav {
	display: inline-block;
	background-color: #008dc9;
	padding: 6px 15px;
	font-size: 14px;
	text-transform: uppercase;
	color: #fdfbef;
	text-shadow: none;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.work-list h1 a {
	color: #454545;
	padding-right: 35px;
}

.work-list h1 a:hover {
	color: #008dc9;
}

.alignright {
	float: right;
	margin: 0 0 20px 25px;
	background-color: #f1f1f1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.alignleft {
	float: left;
	margin: 0 25px 20px 0;
	background-color: #f3f0e0;
	padding: 10px;
	border: 1px solid #ebe7ce;
	border-radius: 4px;
}

.alignnone,
.aligncenter {
	margin: 20px;
	background-color: #f3f0e0;
	padding: 10px;
	border: 1px solid #ebe7ce;
	border-radius: 4px;
}

.wp-block-image img {
	display: block;
}

.content p.has-small-font-size {
	font-size: 13px;
}

.content p.has-normal-font-size {
	font-size: 16px;
}

.content p.has-medium-font-size {
	font-size: 20px;
}

.content p.has-large-font-size {
	font-size: 18px;
}

@media (min-width: 400px) {

	.content p.has-large-font-size {
		font-size: 24px;
	}
}

@media (min-width: 768px) {

	.content p.has-large-font-size {
		font-size: 30px;
	}
}

@media (min-width: 1000px) {

	.content p.has-large-font-size {
		font-size: 36px;
	}
}

.content p.has-huge-font-size {
	font-size: 48px;
}

article .entry .alignleft a:link,
article .entry .alignright a:link,
article .entry .aligncenter a:link,
article .entry .alignnone a:link,
article .entry .alignleft a:visited,
article .entry .alignright a:visited,
article .entry .aligncenter a:visited,
article .entry .alignnone a:visited {
	border-bottom: 0 none;
}

.wp-caption-text { display: none; }

.navigation .next-posts { float: right; }

.navigation .prev-posts { float: left; }

.four-o-four .content p { font-size: 22px; color: #7c7c7c; }
.four-o-four .content p.oops {
	font-size: 80px;
	font-style: italic;
	color: #CBC1AD;
	letter-spacing: -1px;
}



/*
----------------------------------------------------------------
     TYPOGRAPHY
---------------------------------------------------------------- */

#tab h1 span {
	display: inline-block;
	padding: 12px 16px;
	background-color: #008dc9;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 28px;
	font-weight: 300;
	text-transform: lowercase;
	color: #fdfbef;
	border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
}

.content {
	line-height: 1.25;
}

@media (min-width: 768px) {

	.contact .content {
		padding-top: 162px;
	}
}

.content p {
	font-size: 16px;
	line-height: 150%;
	margin-bottom: 12px;
	text-shadow: 0px 1px 0px #FFF;
}

.bio-intro {
	text-transform: uppercase;
	font-weight: bold;
}

.page-id-6 .content p {
	font-size: 18px;
}

article h1 {
	font-family: 'Source Sans Pro', serif;
	font-size: 34px;
	text-shadow: 0px 1px 0 #FFF;
}

article h2 {
	font-family: 'Source Sans Pro', serif;
	font-size: 22px;
	font-weight: 300;
	line-height: 1.25;
	text-shadow: 0px 1px 0 #FFF;
	margin: 4px 0;
}

article h3 {
	color: #7c7c7c;
	font-size: 12px;
	font-family: 'Source Sans Pro', sans-serif;
	line-height: 140%;
	text-transform: uppercase;
	margin: 10px 0;
}

article h3 a:link,
article h3 a:visited {
	color: #7c7c7c;
	border-bottom: 1px dashed #7c7c7c;
}

article h3 a:hover,
article h3 a:active {
	border-bottom-style: solid;
}

article .more {
	color: #d92a81;
}

article .entry a:link,
article .entry a:visited {
	color: #454545;
	border-bottom: 1px dashed #454545;
}

article .entry a:hover,
article .entry a:active {
	color: #000;
	border-bottom-style: solid;
	border-bottom-color: #000;
}

article p.source {
	margin-top: 40px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: bold;
	color: #7c7c7c;
}

article p.source a:link,
article p.source a:visited {
	font-weight: normal;
	color: #7c7c7c;
	border-bottom: 1px dashed #7c7c7c;
}

article p.source a:hover,
article p.source a:active {
	border-bottom-style: solid;
}

article blockquote {
	padding: 20px 100px 20px 50px;
	font-style: italic;
}

.single-page .content article header h2 {
	margin-bottom: 25px;
}

.single-page .content article header h3 {
	color: #7c7c7c;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 25px;
}

h1.no-content {
	font-size: 36px;
	font-weight: normal;
	text-shadow: 0px 1px 0 #FFF;
}

footer p {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12px;
	color: #bbb;
}

/*	--------------------------------------------------
	     Contact Forms
	-------------------------------------------------- */

.wpcf7 {
	max-width: 450px;
}

.wpcf7 p {
	margin-bottom: 1.5rem;
}

.wpcf7 label {
	font-size: 18px;
}

.wpcf7-text,
.wpcf7-textarea {
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid #bebebe;
	border-radius: 5px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	appearance: none;
	transition: all 200ms ease-out;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
	background-color: #f9f9f9;
	border-color: #008dc9;
}

.wpcf7-submit {
	padding: 0.5rem 1.5rem;
	border: 0;
	border-radius: 5px;
	background-color: #008dc9;
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
	font-weight: 300;
	text-transform: lowercase;
	appearance: none;
	cursor: pointer;
	transition: all 200ms ease-out;
}

.wpcf7-submit:focus,
.wpcf7-submit:hover {
	background-color: #d92a81;
}

.wpcf7-not-valid {
	border-color: #d92a81;
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 0.25rem;
	color: #d92a81;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.wpcf7 .wpcf7-response-output {
	padding: 0.75rem 1rem;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.wpcf7 .wpcf7-validation-errors {
	margin: 2rem 0 0 0;
}

/*	--------------------------------------------------
	     Mobile Tweaks
	-------------------------------------------------- */

@media only screen and (max-width: 768px) {

	body {
		border-top: 0 none;
		font-family: 'Vollkorn', serif;
		padding-bottom: 20px;
	}

	header.phone { text-align: center; }

	#main { margin-top: 40px; }
	.content { margin-top: 0; }
	.content p { line-height: 145%; }

	.mobile-menu-link {
		border-bottom: 0 none !important;
		display: block;
		padding: 8px 10px;
		margin-top: 5px;
		text-align: left;
		background-color: #008dc9;
		font-family: 'Source Sans Pro', sans-serif;
		font-size: 18px;
		text-transform: uppercase;
		font-weight: 700;
		color: #fff !important;
		text-shadow: none;
		border-radius: 4px;
	}

	#menu-mobile-nav {
		margin-top: 10px;
		text-align: left;
	}

	#menu-mobile-nav li a {
		display: block;
		padding: 8px 10px;
		margin-bottom: 6px;
		background-color: #008dc9;
		font-family: 'Source Sans Pro', sans-serif;
		font-size: 16px;
		font-weight: 700;
		text-transform: uppercase;
		color: #fff;
		border-radius: 4px;
	}

	#post-6 { margin-top: 0px; margin-bottom: 40px; }
	.page-id-6 .content p { font-size: 16px; }

	article .excerpt p {
		font-size: 14px;
	}

	article blockquote { padding: 20px; }
	article h1 {
		font-size: 22px;
		margin-bottom: 5px;
	}
	article h2 { font-size: 18px; }
	article h3 { font-size: 11px; }
	.work-list article {
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	.single-page .content article header { color: #454545; }
	.single-page .content article header h2 { margin-bottom: 20px; }
	.single-page .content article header h3 {
		font-size: 11px;
		margin-top: 0;
		margin-bottom: 20px;
	}
	.single-page article { margin-bottom: 0; }
	article p.source {
		font-size: 14px;
		margin-top: 20px;
	}
	.single-page .top a {
		border-bottom: 0 none !important;
		display: block;
		padding: 8px 10px;
		margin-top: 50px;
		background-color: #008dc9;
		font-family: 'Source Sans Pro', sans-serif;
		font-size: 16px;
		color: #fdfbef !important;
		text-shadow: none;
		border-radius: 4px;
	}

	.navigation { padding-bottom: 40px; }

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 0 0 20px;
	}

	footer { margin-top: 30px !important; }
	footer p { font-size: 10px; line-height: 140%; }

}
