/*
Theme Name: Comparative Physiology
Theme URI: https://comparativephys.ca
Version: 3.0.10
Description: Custom theme based off of the Divi theme.
Author: Barking Dog Studios
Author URI: http://barking.ca
Template: divi
*/

@import url("../divi/style.css");


/* Publications
----------------------------------------------------------------------------- */
.publication-list {
	margin-top: 12px;
}

.publication-item {
	margin-bottom: 40px;
}

.publication-title {
	font-size: 22px;
}

.publication-button {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 5px;
	background-color: #ddd;
	color: #666;
}

.publication-button:hover,
.publication-button:focus {
	background-color: #2ea3f2;
	color: #fff;
}


/* Members
----------------------------------------------------------------------------- */
.member-list {
	margin-top: 12px;
}

@media only screen and (min-width: 768px) {
	.member-item {
		position: relative; /* Contains absolute positioned elements */
		margin-bottom: 40px;
		padding-left: 220px;
		min-height: 180px;
	}

	.member-item img {
		position: absolute;
		top: 0;
		left: 0;
	}
}

.member-button {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 5px;
	background-color: #ddd;
	color: #666;
}

.member-button:hover,
.member-button:focus {
	background-color: #2ea3f2;
	color: #fff;
}


@media only screen and (min-width: 768px) {
	.member-details-thumb {
		float: left;
		margin: 30px 30px 0 0;
	}

	.member.type-member.has-post-thumbnail {
		overflow: hidden;
	}
}


/* Pagination
----------------------------------------------------------------------------- */
.bds-pagination {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	text-align: center;
}

.bds-pagination ul {
	list-style: none;
}

.bds-pagination li {
	display: inline-block;
	padding: 0 4px;
}


/* Footer
----------------------------------------------------------------------------- */
@media only screen and (min-width: 980px) {
    #main-footer .et_pb_widget.widget_search {
        width: 100%;
    }
}

@media only screen and (min-width: 1101px) {
    .widget_search #s {
        width: 142px;
    }
}

.et_pb_widget a:hover {
    text-decoration: underline;
}

.footer-widget,
.et_pb_widget a,
#footer-widgets .footer-widget li a {
	color: #c8c8c8;
}

#footer-widgets .footer-widget li a:hover {
    text-decoration: underline;
    color: #c8c8c8 !important;
}


/* News
----------------------------------------------------------------------------- */
.site-news {
	margin-top: 12px;
	margin-bottom: 40px;
}

.site-news-title {
	margin-bottom: 8px;
	padding-bottom: 8px;
	font-size: 19px;
	border-bottom: 1px solid #eee;
}

.site-news-item {
	margin-bottom: 12px;
}

.site-news-subtitle {
	margin-bottom: 0;
	padding-bottom: 0;
	font-size: 16px;
	color: #2ea3f2;
}

.site-news-subtitle a {
	color: #2ea3f2;
}

.site-news-subtitle a:hover {
	text-decoration: underline;
}

.site-news-date {
	margin-bottom: 0;
	color: #666;
}

.all-news {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 5px;
	background-color: #ddd;
	color: #666;
}

.all-news:hover,
.all-news:focus {
	background-color: #2ea3f2;
	color: #fff;
}


/* Misc.
----------------------------------------------------------------------------- */
.footer-widget iframe,
.footer-widget .widget_text {
	width: 100%;
}
