/*
Theme Name: Pollard
Author: Stephanie Gardner Ornelas
Author URI: http://sgardnerdesign.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pollard
Tags: Custom

Pollard is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

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

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Structure
# Typography
# Elements
# WordPress Stuff
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Roboto', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

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

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	line-height: 1.2;
}

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

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

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

input {
	line-height: normal;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

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

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/
#page {
	width: 100%;
	margin: 0 auto;
}

#masthead {
	width: 100%;
	background-color: #FFF;
	position: fixed;
	border-bottom: 1px solid #ccbfd0;
	z-index: 90;
}

.masthead-content {
	width: 960px;
	margin: 0 auto;
}

#content {
	width: 960px;
	min-height: 600px;
	margin: 0 auto;
	padding-top: 90px;
}

.site-branding {
	float: left;
	width: 300px;
}

h1.site-title a {
	display: block;
	background: url('images/Pollard_Lab_Logo.png') no-repeat;
	width: 350px;
	height: 51px;
	background-size: 350px 51px;
	text-indent: -9999px;
}

#colophon {
	background-color: #7b4e7d;
}

/* FOOTER */

.footer-content {
	width: 900px;
	margin: 0 auto;
	padding: 30px 0;
	position: relative;
}

/*.footer-content .widget-area {
	float: left;
} */

.footer-content #text-3 { /* Social buttons */
	margin: 2px 0 25px 0;
} 

.footer-content p.copyright {
	clear: left;
	width: 190px;
	font-size: 12px;
	line-height: 1.4;
	color: #FFF;
}

.footer-content #text-3 .fa {
	font-size: 22px;
	margin-right: 8px;
}

.logos {
	position: absolute;
    right: 0;
    top: 30px;	
	width: 430px;
}

.logos a {
	display: block;
	text-indent: -9999px;
}

.footer-content ul#menu-secondary-menu {
	list-style: none;
	position: absolute;
	top: 30px;
	left: 235px;
	-webkit-margin-before: 0;
    -webkit-margin-after: 0;
	-webkit-padding-start: 0;
	margin: 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ea6224;
}

.footer-content ul#menu-secondary-menu li {
	float: left;
	margin-right: 15px;
	line-height: 1;
}

.footer-content ul#menu-secondary-menu li:last-child {
	margin-right: 0;
	padding-right: 0;
	border-right: none;
}

ul#menu-secondary-menu a {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
}

.footer-content .widget_search {
	position: absolute;
	top: 85px;
	left: 235px;
}

a.gladstone {
	float: left;
	width: 300px;
	height: 19px;
	background: url('images/gladstone-institutes.png') no-repeat;
	background-size: 300px 19px;
	margin: 20px 26px 0 0;
}

a.ucsf {
	float: right;
	background: url('images/ucsf-white.png') no-repeat;
	width: 100px;
	height: 65px;
	background-size: 100px 65px;
}

/* COLUMN LAYOUT */

.column-1-left {
	float: left;
}

.column-2 {
	padding-left: 230px;
}

.one-column {
	width: 210px;
}

.three-column {
	width: 900px;
}

.three-column h2,
.three-column h3 {
	clear: none;
}

/* LARGE */

@media (max-width: 960px) {
	
	.site-branding {
		float: none;
	}
	
	/* COLUMN LAYOUT */
	
	.three-column {
		width: 96%;
	}
}

@media (max-width: 900px) {
	
	.masthead-content {
		width: 96%;
	}
	
	#content {
		width: 96%;
	}

	.site-branding {
		width: 250px;
	}
	
	/* FOOTER */

	.footer-content {
		width: 94%;
		padding: 20px 0;
	}
	
	.footer-content #text-3 { /* Social buttons */
		margin: 12px 0 25px 0;
	} 
	
	.logos {
		top: 140px;	
	}

}

/* MEDIUM */

@media (max-width: 600px) {
	
	/* COLUMN LAYOUT */
	
	.column-1-left {
		float: none;
	}

	.column-2 {
		padding-left: 0;
	}
	
	.one-column {
		width: 300px;
		margin: 0 auto;
	}
}

/* SMALL */

@media (max-width: 470px) {

	/* FOOTER */
	
	.footer-content {
		width: 90%;
	}
	
	.footer-content #text-3 { /* Social buttons */
		margin: 12px 0 20px 0;
	}
	
	.footer-content p.copyright {
    	width: 300px; 
	}
	
	.footer-content ul#menu-secondary-menu {
		top: 110px;
		left: 0;
	}
	
	.footer-content .widget_search {
		top: 165px;
		left: 0px;
	}
	
	.logos {
		position: relative;	
    	top: 110px;
		width: 430px;
	}
	
	a.gladstone {
		float: none;
		margin-bottom: 1.5em;
	}
	
	a.ucsf {
		float: none;
	}
}

@media (max-width: 400px) {
	
    .masthead-content {
		width: 300px;
	}
	
	#content {
		width: 300px;
		min-height: 400px;
	}

	.site-branding {
		width: 250px;
	}
		
	h1.site-title a {
		width: 250px;
		height: 36px;
		background-size: 250px 36px;
	}
	
	/* FOOTER */
	
	.footer-content {
		width: 300px;
	}
	
	.footer-content .widget-area {
		float: none;
	}

	.footer-content #text-3 { /* Social buttons */
		margin-bottom: 1em;
	} 

	.footer-content #text-3 .fa {
		margin-right: 12px;
	}
	
	.logos {
    	top: 125px;
		width: 300px;
	}
	
	/* COLUMN LAYOUT */

	.three-column {
		width: 300px;
	}
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #444;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
h2 {
	margin: 0 0 -0.5em 0;
}
h3 {
	margin: 1em 0 0.5em 0;
}

p {
	margin: 0.5em 0 1em 0;
}

p.indent-left {
	padding-left: 1.5em;
}

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: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.bold {
	font-weight: 700;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	font-size: 0.9em;
}

td, th {
	padding: 2px 5px;
	word-wrap: break-word; 
	max-width: 300px;
}


/*--------------------------------------------------------------
# WordPress Stuff
--------------------------------------------------------------*/
.edit-link {
	display: none;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

input[type="submit"] {
	color: #FFF;
	font-size: 18px;
	line-height: 1;
	border: none;
	background: transparent;
	width: 28px;
	padding-top: 3px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	border-color: #000;
}

input[type="submit"]:hover {
	color: #ea6224;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	border-color: #000;
} 
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #000;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	font-size: .9em;
	color: #666;
	border: none;
	border-radius: 3px;
	padding: 3px 6px;
}

input[type="search"] {
	float: left;
	margin-right: 4px;
	width: 150px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

@media (max-width: 400px) {

	input[type="search"] {
		width: 200px;
	}
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #ea6224;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

a:visited {
	color: #ea6224;
}

a:hover,
a:focus,
a:active {
	color: #7b4e7d;
}

#colophon a {
	color: #FFF;
}

#colophon a:hover,
#colophon a:focus,
#colophon a:active {
	color: #ea6224;
}

.single-post #colophon li.menu-item-93 a, /* News */
#colophon li.current-menu-item a {
	color: #ea6224;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	float: right;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 35px 0 0 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	margin-left: 40px;
	padding: 8px 0;
}

.main-navigation a {
	display: block;
	color: #000;
	font-size: 14px;
	font-weight: 700;
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current-page-ancestor > a,
.main-navigation a:hover {
	color: #ea6224;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 0;
	left: -999em;
	z-index: 99999;
	background-color: #FFF;
	padding-top: 10px;
}

.main-navigation ul ul a {
	font-size: 12px;
	line-height: 1.3;
	width: 80px;
}

.main-navigation ul ul li {
	margin: 0;
	padding: 0 10px 10px 10px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus > ul {
	left: -10px;
}

/* .main-navigation ul ul li:hover > ul,
.main-navigation ul ul li:focus > ul {
	left: 100%;
} */

.main-navigation ul li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	color: #ea6224;
}

.main-navigation ul li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	color: #000;
}

.main-navigation ul li ul a:hover,
.main-navigation ul li ul a:focus {
	color: #ea6224;
}

.main-navigation ul li.current_page_ancestor:hover ul li.current_page_item a,
.main-navigation ul li.current-menu-ancestor:hover ul li.current-menu-item a {
	color: #ea6224;
}


/* Small menu. */

.main-navigation.toggled ul {
	display: block;
	margin: 0;
	padding: 0 0 20px 0;
}

#page .menu-toggle {
	color: #000;
    border-radius: 0;
	border-left: none;
	border-right: none;
    background: transparent;
	position: absolute;
	top: 36px;
	right: 20px;
    width: 24px;
    text-indent: -9999px;
}
 
.border-icon {
    height: 19px;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}
 
.border-icon:before {
    content: "";
    position: absolute; 
    top: 5px;
    left: 0;
    width: 100%;
    border-top: 3px solid #000;
}

.border-icon:focus:before {
	border-color: #000;
}

.main-navigation.toggled {
	float: none;
}

.main-navigation.toggled li {
	float: none;
	margin-left: 0;
	padding: 6px 0;
	text-align: center;
}

.main-navigation.toggled a {
	font-size: 16px;
	text-align: center
}

.main-navigation.toggled ul ul {
	box-shadow: 0 0 0 0 transparent;
	float: none;
	position: relative;
	left: 0;	
	padding: 3px 0 0 0;
}

.main-navigation.toggled ul ul a {
	font-size: 13px;
	width: 100%;
}

.main-navigation.toggled ul li ul,
.main-navigation.toggled ul li ul {
	left: 0;
}

/* LARGE */

@media screen and (min-width: 960px) {
	
	.menu-toggle,
	.menu-open {
		display: none;
	}
	
	.main-navigation ul {
		display: block;
	}
}

/* SMALL */

@media screen and (max-width: 400px) {
	
	#page .menu-toggle {
		top: 28px;
	}
	
	.main-navigation ul {
		
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

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

.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-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.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;
	table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.header-image {
	width: 960px;
	height: 229px;
	background-repeat: no-repeat;
	background-size: 960px 229px;
	margin-bottom: 30px;
}

h1.entry-title {
	margin: -60px 0 0 30px;
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

h2.entry-title {
	margin-bottom: 20px;
	line-height: 1.2;
}

#page .entry-content {
	width: 900px;
	margin: 1em auto 0 auto;
}

#page .entry-content ul {
    margin: 0 0 1.5em 2.5em;
	-webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
	padding-bottom: 1em;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.blog .header-image {
	margin-bottom: 30px;
}

.blog h2 {
	margin: 0;
}

.entry-title-post {
	font-size: 1.2em;
	font-weight: 700;
	text-transform: uppercase;
}

.single-post .post {
	margin-top: 30px;
}

.single-post .header-image {
	display: none;
}

.single-post h2.entry-title-post {
	margin-bottom: 10px;
}

#page .post .entry-content {
    margin: 0;
}

.blog-posts {
	width: 900px;
	margin: 0 auto;
}

.post p {
	margin: 0;
	-webkit-margin-before: 0;
    -webkit-margin-after: 0;
}

.post {
	padding-bottom: 20px;
    border-bottom: 1px dashed #7b4e7d;
}

.blog .wp-post-image {
	width: 100px;
	height: auto;
	margin-right: 20px;
	float: left;
}

/* HOMEPAGE */

.header-image-home {
	width: 960px;
	height: 425px;
}

p.mission {
	color: #111;
	margin: 10px 0 40px 0;
}

.home #page .entry-content {
	margin: 0 auto;
}

h3.news-home {
	color: #7b4e7d;
	font-size: 1.6em;
	margin: 0 0 15px 0;
	padding-bottom: 20px;
	border-bottom: 1px dashed #7b4e7d;	
}

span.post-title {
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: 700;
}

.news-posts-home {
	border-top: 2px solid #7b4e7d;
	margin-bottom: 50px;
	padding: 20px 0 10px 0;
	border-bottom: 2px solid #7b4e7d;
}

.news-posts-home-post {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px dashed #7b4e7d;	
}

.news-posts-home p {
	margin: 0;
	font-size: 1.1em;
}

#page .entry-content ul#homepage-buttons {
	list-style: none;
	width: 900px;
	margin: 30px 0;
	-webkit-margin-before: 0;
    -webkit-margin-after: 0;
	-webkit-padding-start: 0;
	padding-left: 0;
}

ul#homepage-buttons li {
	float: left;
	width: 195px;
	margin: 0 40px 0 0;
}

ul#homepage-buttons li:last-child {
	margin-right: 0;
}

#homepage-buttons a.research {
	background: url('https://docpollard.org/wordpress/wp-content/uploads/2017/03/btn-research.jpg') no-repeat;
}

#homepage-buttons a.publications {
	background: url('https://docpollard.org/wordpress/wp-content/uploads/2017/03/btn-publications.jpg') no-repeat;
}

#homepage-buttons a.resources {
	background: url('https://docpollard.org/wordpress/wp-content/uploads/2017/03/btn-resources.jpg') no-repeat;
}

#homepage-buttons a.people {
	background: url('https://docpollard.org/wordpress/wp-content/uploads/2017/04/btn-people.jpg') no-repeat;
}

#homepage-buttons a.img-btn {
	display: block;
	text-indent: -9999px;
	width: 195px;
	height: 195px;
	background-size: 195px 195px;
}

#homepage-buttons a {
	font-size: 18px;
	line-height: 1;
	color: #111;
}

#homepage-buttons a:hover {
	color: #eb6324;
}


/* SEARCH */

.search-results .posted-on {
	display: none;
}

.search-results h2.entry-title {
	margin-bottom: -0.5em;
}

.search-results .page {
    padding-bottom: 10px;
    border-bottom: 1px dashed #7b4e7d;
}


/* LARGE */

@media (max-width: 900px) {
	
	.header-image {
		width: 100%;
		height: 206px;
		background-size: 100% auto;
		margin-bottom: 10px;
	}
	
	#page .entry-content {
		width: 96%;
		margin: 1em auto 0 auto;
	}
	
	.blog-posts {
		width: 96%;
	}
	
	/* HOMEPAGE */

	.header-image-home {
    	width: 100%;
    	height: auto;
	}
	
	#page .entry-content ul#homepage-buttons {
    	width: 470px;
    	margin: 20px auto;
	}
}

@media (max-width: 800px) {
	
	.header-image {
		height: 185px;
	}
}
	
@media (max-width: 700px) {
	
	.header-image {
		height: 160px;
	}
}
	
/* MEDIUM */

@media (max-width: 600px) {
	
	.header-image {
		height: 140px;
	}
}

@media (max-width: 525px) {
	
	.header-image {
		height: 122px;
	}
}

@media (max-width: 470px) {
	
	.header-image {
		height: 108px;
	}
	
	/* HOMEPAGE */

	#page .entry-content ul#homepage-buttons {
    	width: 300px;
	}
	
	ul#homepage-buttons li {
    	width: 130px;
    	margin: 0 20px 0 0;
	}
	#homepage-buttons a.img-btn {
    	width: 130px;
    	height: 130px;
    	background-size: 130px 130px;
	}
}

/* SMALL */

@media (max-width: 430px) {
	
	.header-image {
		height: 100px;
	}
}

@media (max-width: 400px) {
	
	.header-image {
		height: 70px;
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
