/*
Theme Name:     Digital Atlas of the Flora of Virginia
Description:    Child theme for the Twenty Twelve theme
Author:         RYP Marketing
Author URI:     http://rypmarketing.com/
Template:       twentytwelve                             
*/
html, body {

}

body {
	background-color: white;
	padding: 0 1em 1em 1em;
	min-width: 900px;
}

	#content {
		/* padding: 1em 0.5em; */
	}
	
		#content a[href^="mailto:"] {
			background: url( /media/images/icons/mail-icon.png ) top left no-repeat;
			padding-left: 18px;
		}
		
		div.js-tooltip {
			background-color: #FFED99;
			border: 1px solid #DB905C;
			padding: 0.5em;
		}
	
		#group-nav div {
			float: left;
			margin-right: 1em;
		}
		
			#group-nav div img {
				border: none;
				display: block;
			}
	
		#content {
			padding: 10px;
		}

		#content h1 {
			margin-bottom: 0.5em;
		}
		
		#content .message {
			margin: 1em 0;
			padding: 1em;
			max-width: 35em;
		}
		
			#content .message h1 {
				color: #DB905C;
				font-size: 1em;
				font-weight: bold;
			}
			
			#content .message p {
				margin: 0;
			}
		
			#content .message.error {
				background-color: #FFED99;
				border: 1px solid #DB905C;
			}
	
		#content p {
			margin-bottom: 1em;
			/*
			max-width: 35em;
			width: auto !important;
			width: 35em;
			*/
		}
	
		#content strong {
			background-color: #FFED99;
			font-weight: normal;
			padding: 0 0.25em;
		}
		
			#content a strong {
				padding: 0;
				text-decoration: inherit;
			}
		
		#content ul {
			margin: -1em 0 1em 2em;
		}
					
		#content ul.column-list {
			-moz-column-count: 5;
			-moz-column-gap: 1em;
			-webkit-column-count: 5;
			-webkit-column-gap: 1em;
			column-count: 5;
			column-gap: 1em;
		}
		
			#content ul.column-list-3 {
				-moz-column-count: 3;
				-moz-column-gap: 1em;
				-webkit-column-count: 3;
				-webkit-column-gap: 1em;
				column-count: 3;
				column-gap: 1em;
			}

			.citations {
				font-size: .8em;
				font-style: italic;
			}

			#content .citations p {
				margin: 0;
				padding: 0;
			}

	#footer {
		background-color: #9AA7C6;
		color: #DBE0EC;
		font-size: 0.8em;
	}
	
		#footer a {
			color: #DBE0EC;
		}
	
		#footer p {
			padding: 0.25em 0.75em;
		}

	#header {
		background-color: #DB905C;
		color: #FFED99;
		padding: 0.25em 0.5em;
	}
	
		#header a {
			color: #FFED99;
		}
		
		#header a:hover {
			color: #DBE0EC;
		}
	
		#breadcrumbs {
			float: right;
		}

		#header h1 {
			position: relative;
			top: 20px;
			width: 400px;
		}
	
		#header h1 a {
			text-decoration: none;
		}
.header-search span {
    float: left;
    padding: 0 15px;
}
		.header-search {
			float: right;
			width: 585px;
		}

		.header-search dt {
			float: left;
			margin-right: 5px;
		}

			.search-button {
				padding: 2px 5px;
			}


		
	#image-gallery {
		background-color: #FCFDEE;
		border: 1px solid #E5AC51;
		float: right;
		margin: 0 0 1em 1em;
		padding: 1em;
		width: 150px;
	}
	
		#image-gallery p {
			margin: 0;
			width: auto;
		}
		
	#nav {
		background-color: #B8C492;
		height: 38px;
	}
	
		#nav * {
			font-size: 1em;
		}
		
			#nav dl {
				margin-left: 0.667em;
			}
		
				#nav dl dt {
					color: #E4EAD1;
					font-weight: bold;
					float: left;
					margin-right: 1em;
					padding: 0.25em 0;
				}
				
				#nav dl dd {
					color: #677634;
					float: left;
				}
				
					#nav dl dd a {
						color: #677634;
					}
			
					#nav dl dd form {
						margin-right: 1em;
						padding: 0.25em 0;
					}
					
						#nav dl dd form input.text {
							background-color: #E4EAD1;
							border: 1px solid #677634;
							color: #677634;
							line-height: 1em;
							font: 10px/1em "Trebuchet MS", Tahoma, sans-serif;
						}
					
						#nav dl dd form input.button {
							font: 10px "Trebuchet MS", Tahoma, sans-serif;
						}
				
					#nav dl dd ul.replace-with-zmenu li.root {
						background-color: #B8C492;
						padding: 0.25em 0;
						margin-right: 1em;
					}
				
				#nav dl dd ul.replace-with-zmenu li ul {
					
				}
				
					#nav dl dd ul.replace-with-zmenu li ul li {
						background-color: #E4EAD1;
						border-top: 1px solid #B8C492; /** Firefox rounding error workaround **/
						padding: 0 0.5em;
						width: 15em;
					}
					
					#nav dl dd ul.replace-with-zmenu li ul li a {
						color: #677634;
					}
					
					#nav dl dd ul.replace-with-zmenu li ul li a:hover {
						color: #9AA7C6;
					}
					
	#plants-detail {
		margin: 1em 0;
	}
	
		#plants-detail dt {
			font-weight: bold;
		}
		
		#plants-detail dd {
			margin-left: 1em;
			max-width: 34em;
		}
					
	#skip-link {
		font-size: 8pt;
	}

	/*
 * Clearfix: contain floats - via HTML5BoilerPlate
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/*
* Desktop and Laptop Displays - Responsive Design
*/
@media only screen 
and (min-width : 760px) {
	#skip-link {
		display: none;
	}
}

@media only screen 
and (max-width : 999px) {
	#nav dt {
		display: none;
	}
}

/*
* Wordpress Styles
*/

#primary {
	float: left;
	padding: 1em 0 0 0;
	width: 79%;
}

#secondary {
	float: right;
	/* padding: 1em 0 1em 1em; */
	width: 19%;
}

.entry-title a {
	color: #000;
	text-decoration: none;
}

.blog .post,
.archive .post {
	border: 1px solid #B8C492;
	margin: 1em 0 2em 0;
	padding: 2em;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}

.entry-meta {
	font-size: .8em;
	font-style: italic;
}

.widget {
	padding: 0 0 1em 2em;
}

.widget-title {
	background: #B8C492;
	color: #677634;
	margin: 1em 0 .5em 0;
	text-align: center;
}

.widget li {
	margin-left: 2em;
}

.nav-single {
	margin-top: 2em;
	font-size: .8em;
	border-top: 1px solid #eee;
}

.nav-next {
	float:right;
}

/*
* Twentytwelve Styles
*/
/* Shared Post Format styling */
article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}

li.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
	border-radius: 2px;
	box-shadow: none;
	padding: 0;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
	padding: 10px 10px 0 0;
	border: 0;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	/*border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);*/
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* Navigation */
.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}
#nav-above {
	padding: 24px 0;
	padding: 1.714285714rem 0;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous,
.previous-image {
	float: left;
	width: 50%;
}
.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
}
.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 0;
	margin: 3.428571429rem 0;
}

/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.author-info {
	border-top: 1px solid #ededed;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	overflow: hidden;
}
.author-description p {
	color: #757575;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
}
.author.archive .author-avatar {
	margin-top: 0;
}




/* Assistive text */
.assistive-text,
.site .screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}
.main-navigation .assistive-text:hover,
.main-navigation .assistive-text:active,
.main-navigation .assistive-text:focus {
	background: #fff;
	border: 2px solid #333;
	border-radius: 3px;
	clip: auto !important;
	color: #000;
	display: block;
	font-size: 12px;
	padding: 12px;
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 100000; /* Above WP toolbar */
}

/*
* Menu from twentytwelve
*/
.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0 0 0 5px;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
		color: #677634;
		padding: 1px 8px 4px 8px;
		margin: 5px 0 0 0;
	}
	.main-navigation li a {
		border-bottom: 0;
		white-space: nowrap;
	}
	.main-navigation li a:hover {
		background: #d3dbba;
	}
	.main-navigation li {
		margin: 0 40px 0 0;
		margin: 3px 8px 0 0;
		position: relative;
		padding: 0;
	}
	.main-navigation li:hover {
		background: #d3dbba;
	}
	.main-navigation li ul {
		display: none;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
		background: #d3dbba;
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul {
		border-left: 0;
		display: block;
	}
	.main-navigation li ul li a {
		display: block;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation li ul li a:hover {
		
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		
	}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 480px) {


.header-search {
float: none;
}

#header h1 {
position: static;
}

#header h1 a {
display: block;
}

.search-form input {
display: block;
}

.search-form input {
margin-left: 3.4615384615384615384615384615385em;
}

#content {
max-width: 100% !important;
}

body {
width: 100%;
padding: 1em 2%;
min-width: 0px;
}


#group-nav {
margin-bottom: 160px;
}

#group-nav img {
margin: 1.5em auto 0;
}

#group-nav div {
width: 100%;
margin: 0;
text-align: center;
float: none;
}

#content ul.column-list, #content ul.column-list-3 {
-webkit-column-count: 1 !important;
column-count: 1 !important;
}

.column-list li {
  width: 100%;
}

#breadcrumbs { float: none; }

* { Box-sizing: Border-box } 
#image-gallery { width: 100%; }

#image-gallery img { width: 50%; margin: 0 auto 1.5em;}
#image-gallery p { text-align: center; }

#secondary { display: none; }
#primary { width: 100%; }

}

@media only screen and (min-width: 960px) {
	.responsiveMenuSelect {
		display: none;
	}
}

@media only screen and (max-width: 480px) {
	.responsiveMenuSelect {
		display: block;
margin: 0 auto;
	}
	
	#menu-top-menu-1 {
		display: none;
	}

.responsiveSelectContainer { padding-top: 5px; }

}