/*
 * <2nd & 3rd tier pages>
*/

div.index-table {
	/* Reset */
	padding: 0px;
	width:90%;
	margin:20px auto;

	/* Using relative border units to deal with zoom */
	/*border: 3px solid #CCBFA3;*/
	border: .3em solid gray;

	/* Not setting the width, otherwise the images
	 * SOMETIMES wrap after three in IE at a normal
	 * zoom */
	/* width:568px; */
	/* min-width:568px; */

	background-color:#EBEBA1;
	color: #FFFFCC;

	/* This is here because of floating issues */
	overflow: hidden;

	/* Center everything */
	text-align:center;

	/* Little aethetic stuff */
	border-spacing: .2em;
	margin-top: 10px;
	font-family:Arial, Helvetica, Sans Serif;
	border-collapse: separate;
}

div.index-table button {
	font-size:12px;
	font-style:normal;
	height:40px;
	width:125px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #ded17c;
}
div.index-table button:hover {

}
div.index-table button:active {

}

div.index-table .heading {
	/* Reset */
	margin: 0px;

	background-color: #5C3317;
	text-align:center;
	padding: 10px 100px 10px 100px;
	font-weight: bold;
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, sans-serif;
	font-size:85%;
}

div.index-table div.bird {
	/* Reset */
	margin: 0px;
	padding: 0px;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
	text-align:center;
	width: 141px;
	height: 170px;
	float: left;
}

div.index-table.ext-links-buttons .bird button {
	/* Adjust the odd space under the state names */
	margin-top:0px;
	margin-bottom:10px;
}
div.index-table.ext-links-buttons .bird {
	/* Not sure why this was here.  It seems
	 * far too large for the image on
	 * Birds_of_USA.html */
	/*height: 200px;*/
}

div.index-table p.state-bird-name {
	margin-top: 2px;
	margin-bottom: 1px;
	color: black;
	/* font-size: 0.9em; */
	font-size: 0.7em;
}

div.index-table img.missing.bird {
	cursor:pointer;
}

img.feature-image {
	height: 288px;
	width: 288px;
	padding: 10px;

	float: right;
}

div.audio-feature-image {
	text-align: center;
}
div.audio-feature-image img.feature-image {
	float: none;
}

/* This is my fix for the zooming in issue.  Now the page
 * should be able to be zoomed into at least 50 percent before
 * the .birds wrap after 3 */
/*
div.index-table div.bird {
	border-right: .1em solid #000;
	border-bottom: .1em solid #000;
}
div.index-table div.bird:nth-child(4n) {
	border-right: 0px solid #000;
}
*/

div.index-table div.bird a {
	display:block;
}

/*
 * Make the link a 'box' so that longer species
 * names don't make the images unalign so much
 *
 * This may no longer be used now that the bird
 * name is a button.
 */
div.index-table .bird a:first-child {
	display:inline-block;
	height:35px;
}
div.index-table div.bird a img, div.index-table .bird > button + img {
	/* Reset */
	margin: 0px;

	padding-top:10px;
	height:100px;
}

/* Bird Ethics page */
#bird-ethics h4:first-child {
	text-transform: uppercase;
}
#bird-ethics h4 {
	font-weight:bold;
}
#bird-ethics ol {
	counter-reset: ethics-counter;
	padding-left: 0px;
}
#bird-ethics ol li {
	list-style-type: none;
	padding-bottom: 5px;
}
#bird-ethics ol li:before {
	content: counter(ethics-counter, decimal) '. ';
	counter-increment: ethics-counter;
	margin-right: 0px;
	font-weight: bold;
}

#bird-ethics ol li ol {
	counter-reset: ethics-sub-counter;
	margin-left: 15px;
}
#bird-ethics ol ol li {
	list-style-type: none;
	padding-top: 5px;
	padding-bottom: 10px;
}
#bird-ethics ol li ol li:before {
	content: counter(ethics-counter, decimal) '(' counter(ethics-sub-counter, lower-alpha) "). ";
	counter-increment: ethics-sub-counter;
	margin-right: 0px;
	font-weight: bold;
}

#bird-ethics p:last-child {
	margin-top:15px;
	font-weight: bold;
}
/* /Bird Ethics page */

ul.bird-feeders li {
	font-weight:bold;
}


/*
 * <4th teir pages>
*/
div.display-table {
	width:90%;
	border: 2px solid #CCBFA3;
	overflow: auto;
	min-height: auto;
	padding: 5px;

	/* Center everything */
	text-align:center;
}

div.display-table div.feature {
	border: 0pt none;
	margin: 0px;
	padding: 0px;

	/* Center the image */
	width: 100%;
	text-align:center;
	/*margin-left:auto;
	margin-right:auto;*/

	/* Put in this float for the old layout */
	/*float:left;*/

	/* Prevent images from floating on this image */
	clear: right;
}

div.display-table div.feature img {
	/* Old dimentions */
	width:470px;
	height:470px;
}

div.display-table ul.thumbs {
	display: block;
	margin:5px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}
div.display-table ul.thumbs li {
	display: inline;
	margin: 0px;
	padding: 5px 0px 5px 0px;
}
div.display-table ul.thumbs li:first-child {
	padding: 0px;
}

div.display-table ul.thumbs li img {
	width:90px;
	height:90px;
}

/* Touch ups to includes */
#ExtraColumn div.liner div.Navigation {
	text-align:center;
}

/* info table */
table.bird-specs {
	width: 100%;
	border: 2px solid black;
	border-collapse: collapse;
}
table.bird-specs td, table.bird-specs th,  table.bird-specs tr {
	border: 1px solid black;
}

table.bird-specs thead tr {
	font-weight: bold;
}

table.bird-specs td:first-child {
	width: 28%;
}

#scrooll_div {
	width:100%;
}
table.long-bird-list {
	font-size: 0.8em;
}
table.long-bird-list td {
	word-wrap: break-word;
}
table.long-bird-list td.latin.bname {
	/*width:40px;*/
}

.table-striped > thead > tr > th, .table-striped > tfoot > tr > th {
   background-color: #ffd !important;
}
/*.table-striped > tbody > tr:nth-child(2n) > td {*/
.table-striped > tbody > tr:nth-child(2n) {
	/* Suppose to be transparent, but it isn't. */
	background-color: #ffc;
}
.table-striped > tbody > tr:hover {
	/* The above selector cancels the hover on the even rows */
	background-color: #ffffef;
}

#tbl-search {
	width:100%;
	text-align: right;
}

/* See more table */
div.see-more {
	width: 100%;
	background-color:#EBEBA1;
	text-align:center;
	margin-top:10px;
	padding-bottom:10px;
	border: 1px solid black;
}
div.see-more strong:first-child {
	background-color: #5C3317;
	display:block;
	width:100%;
	color: #FFFFCC;
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:10px;
}

.center {
	text-align:center;
}

h1.page-title, h2.page-title, h3.page-title {
	text-align:center;
}

h3.latin, td.latin {
	font-style: italic;
}
h3.page-title.fr:before {
	content: 'French: '
}


/* Site-map */
ul.site-map li {
	line-height: 2.5em;
}
/* /Site-map */

/* Correction to main style sheet */
#Footer {
	/* Fix the odd white space between the main box and the footer */
	/*padding: 13px 0px !important;*/
	/*padding: 0.8em 0px !important;*/ /* Should work between 67%-160% zoom */
	/*padding: 21px 0px !important;*/
}
/* /Correction to main style sheet */

/*
 * Orig style sheet, used to be in a <style> tag
 * */
#addSiteTo {
	width:90%;
	font-size:85%;
	text-align:center;
	padding:8px 0;
	border:1px solid #000;
	margin:12px auto;
	background-color: ;
}

#addSiteTo p {
	padding:2px 2px 4px;
	margin:0;
}

#addSiteTo img {
	border:0;
	padding:1px 0;
}

#addSiteTo .questionMark {
	padding:0;
	margin:1px auto;
	text-align:center;
	width:75%;
}

#addSiteTo .questionMark img {
	margin:0 4px 4px 0;
	padding:0;
}
/* /Orig style sheet, used to be in a <style> tag */

/* 'Fix' the position of the google ads */
.adsbygoogle {

}

.sticky {
	position: fixed;
	/*width: 100%;*/
	/*left: 0;*/
	top: 0;
	z-index: 100;
	border-top: 0;
}

/* /'Fix' the position of the google ads */

/* Bird Terminology */
#bird-terminology dl {
}
#bird-terminology dl dt {
	font-weight: bold;
}
#bird-terminology dl dd::before {
	content: ' ... ';
}
#bird-terminology dl dt, #bird-terminology dl dd {
	display:inline;
}
#bird-terminology dl dd {
	-webkit-margin-start: 1px;
}
#bird-terminology hr {
	width:100%;
}
/* /Bird Terminology */

/* Links */
ul.links-summary {
	list-style-type: none;
	padding-left:0px;
}
ul.links-summary li {
	margin-bottom: 10px;
}
ul.links-summary p.bullet-link::before {
	/*content: "â€¢ ";*/
	content: "- ";
}
ul.links-summary p.bullet-link {
	padding-left: 20px;
}
ul.links-summary p {
	margin-top: 0px;
	margin-bottom: 0px;
	-webkit-margin-before: 0px;
	-webkit-margin-after: 0px;
}
/* /Links */

/* Blog */
article.blog {
	margin-bottom: 45px;
}
article.blog p {
	color: #215E21;
}
/* /Blog */

/* Contact form */
form.contact label {
	font-weight:bold;
}
form.contact table tr th {
	text-align:right;
	vertical-align:right;
}
form.contact table {
	background-color:white;
	padding: 15px;
	margin: 0 auto;
}
/* /Contact form */

/* Font size.  style554b stipulates the relative font of
 * 85%, which gets messed up when Bootstrap is used,
 * because it sets the absolute of 14px. */
body {
	font-size: 17px;
}

/** Migration Chart Legend **/

div.migration-legend {
	margin: auto auto 10px auto;
	display: block;
	width:100%;
}
div.migration-legend ul {
	/* display: inline!important; */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div.migration-legend ul li {
	padding-left:20px;
	display:inline;
}
div.migration-legend ul li:first-child {
	padding-left:0px;
}

div.migration-legend ul li div.colour-block {
	display:inline-block;
	width:16px;
	height:16px;
	margin-right:3px;
	vertical-align:middle;
}
div.migration-legend ul li div.colour-block.summer { background-color:#f94920; }
div.migration-legend ul li div.colour-block.annual { background-color:#3457ec; }
div.migration-legend ul li div.colour-block.winter { background-color:#5bec34; }


/** /Migration Chart Legend **/

/** Audio Controls **/

div.bird-audio {
	display: inline-block;
	text-align:center;
	width: 100%;
	padding-top: 10px;
}
div.bird-audio audio {
	width: 80%;
	min-width: 300px;
}
div.bird-audio .playlist {
	width: 100%;
	margin-right:17px; /* Compensate a little for the width of the numbers */
	text-align:left;
}
div.bird-audio .playlist ol {
	/* Using a non-absolute results in the text not wrapping */
	margin-left:4%;
	margin-right:10%;
	text-align: center;
	list-style-position: inside;
}
div.bird-audio .playlist li {
	background-color: #ffffc0; /* yellow'ish */
	text-align: left;
	border: 1px solid black;
	cursor: pointer;
}
div.bird-audio .playlist li:nth-child(odd) {
	background-color: #b35000; /* brownish */
	color: white;
}

/** /Audio Controls **/

/** Video Controls **/

video.species-video {
	width: 100%;
}

div.bird-video .playlist {
	width: 100%;
	margin-right:17px; /* Compensate a little for the width of the numbers */
	text-align:left;
}
div.bird-video .playlist ol {
	/* Using a non-absolute results in the text not wrapping */
	margin-left:4%;
	margin-right:10%;
	text-align: center;
	list-style-position: inside;
}
div.bird-video .playlist li {
	background-color: #ffffc0; /* yellow'ish */
	text-align: left;
	border: 1px solid black;
	cursor: pointer;
}
div.bird-video .playlist li:nth-child(odd) {
	background-color: #b35000; /* brownish */
	color: white;
}

/** /Video Controls **/

@media screen and (max-width:765px) {
	div.index-table .heading {
		padding: 10px;
	}

	div.bird {
		width:32.5% !important;
	}

	div.bird img {
		float:none; text-align:center;
		margin:0 auto 0 auto !important;
	}

	.display-table {
		width:100%;
		margin:0 auto;
	}

	div.display-table ul.thumbs li img {
		display: inline!important;
		max-width:100%;
	}

	table.bird-specs td {
		max-width:15%;
		overflow-x: auto !important;
		white-space: normal;
	}
}

@media screen and (max-width:480px) {
	div.bird {
		width:48.5% !important;
	}

	div.bird img {
		float:none;
		text-align:center;
		margin:0 auto 0 auto !important;
	}

	table.bird-specs td {
		max-width:15%;
		overflow-x: auto !important;
		white-space: normal;
		font-size: 85%;
	}
}

@media screen and (min-width:765px) {
	/**
	  * On pages with only one bird, something other than the 141px above
	  * seemed to be controlling this element.  So here we re-force it to this width
	  * when no other media tag is handling it.
	 **/
	div.bird {
		width:141px !important;
	}
}

/* vim: ts=4 sw=4 noet sts=0
 */
