/*
 Theme Name:   Our Bodies, Ourselves
 Description:  Theme for Our Bodies, Ourselves developed by Cornershop Creative in early 2014. Requires 'Crate' theme, which contains all styling and logic.
 Author:       Cornershop Creative
 Author URI:   https://cornershopcreative.com
 Template:     crate
 Version:      1.0.0
 Text Domain:  obos
*/

	.entry-thumbnail .attachment-large { display: none; }
	@media screen and (max-width: 500px) {
		.home #content .loop .entry-thumbnail { height: auto; }
		.entry-thumbnail .attachment-thumbnail { display: none; }
		.entry-thumbnail .attachment-large {
			display: block;
			height: auto;
			margin: 0;
			max-width: 100%;
			max-height: 999%;
		}
	}
	
/* Homepage refresh 3/2018 */

/* Removing padding in main nav so that new nav items will fit */

body nav ul li a {
	padding: 6px 5px 7px;
}

/* Taking emphasis off of last-child in nav, since it's not Donate anymore */

body nav ul li:last-child a {
	font-weight: normal;
	color: #187384;
}

body nav ul li:last-child a:hover {
	color: #2abdd8;
	text-shadow: none;
}

/* Making pink stripe much smaller on desktop */

body #top-links {
	height: 5px;
}

/* Making the pink stripe regular size on mobile so hamburger nav is visible */

@media only screen and (max-width: 570px) {
	body #top-links {
		height: 40px;
	}
}

/* Adjusting Google custom search - size, box-shadow, and border */

#___gcse_1 {
	width: 300px;
	float: right;
}

input[name="search"] {
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.gsc-input {
	border: 1px solid #ccc;
}

body .gsc-search-box-tools .gsc-search-box .gsc-input {
	padding-right: 0 !important;
}