/* ================================================
GENERAL
================================================ */

h1 {
	font-family: oswald, Arvo;
	margin: 0px 10px 10px;
	font-weight: bold;
	color: #333;
	font-size: 40px;
	text-shadow: 0 0 0 transparent, 1px 1px #fff;
}

h2 {
	font-family: oswald, Arvo;
	margin: 0px 0 10px;
	color: #333;
	font-size: 32px;
}

h3 {
	font-family: 'oswald';
	text-shadow: 0 0 0 transparent, 1px 1px #fff;
}

h4 {
	font-family: 'oswald';
}

ul, p, h1, h2, h3, h4 {
	margin-left: 10px;
}

li {
	line-height: 1.4em;
}

a:link {
	color: #29739a;
	padding-bottom: 1px;
	border-bottom: 1px dotted #29739a;
}

a, a:link {
	color: #661519;
	padding-bottom: 1px;
	border-bottom: 1px dotted #661519;
}

a:hover {
	color: #661519;
	padding-bottom: 1px;
	border-bottom: 1px solid #661519;
}

a:visited {
	color: #661519;
	padding-bottom: 1px;
	border-bottom: 1px dotted #661519;
}

hr {
	background: url(./img/divider2px.jpg) repeat-x left bottom transparent;
	border: 0 none;
	height: 2px;
}

img {
	background: #eee;
	border: 1px solid #ccc;
	float: left;
	margin: 10px 10px 20px 10px;
	max-width: 100%;
}

#web_maps img {
	background: #eee;
	border: 1px solid #ccc;
	float: left;
	/* margin: 10px 0 20px 10px; */ 
	max-width: 100%;
}

#web_maps h3 {
	font-size: 22px;
	line-height: 1.5em;
}

#web_maps p {
	font-size: 12px;
	line-height: 1.5em;
}

.hide {
	display: none;
	text-indent: -9000px;
}

.summary {
	font-size: 18px !important;
	line-height: 1.5em;
	font-family: georgia !important;
	margin-right: 20px;
	text-shadow: 0 0 0 transparent, 1px 1px #fff;
}

.maptitle {
	font-size: 22px !important;
	line-height: 1.5em;
	font-family: georgia !important;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	text-shadow: 0 0 0 transparent, 1px 1px #fff;
}

.amp {
	font-style: italic;
	font-family: "Palatino Linotype", "Book Antigua"
}

.button {
	color: #08233e;
	font: 1.6em oswald, verdana, sans-serif;
	padding: 10px;
	float: left;
	margin: 10px 0 10px 25px;
	background: url(./img/overlay.png) repeat-x center #ffe04f;
	/* background-color:rgba(255,224,79,1); */
	border: 1px solid #ffcc00;
	-moz-border-radius: 10px;
	border-bottom: 1px solid #9f9f9f;
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
	cursor: pointer;
}

span.button:hover {
	background: url(./img/overlay2.png) repeat-x center #ffe04f;
	border: 1px solid #ffcc00;
}

/* ================================================
HEADER
================================================ */

#header {
	background: url(./img/header_drkblue.jpg) repeat-x top left;
	float: left;
	width: 100%;
	border-radius: 5px 5px;
	box-shadow: 5px 5px 3px #ccc;
	margin-bottom: 30px;
}

.tnc_logo {
	float: right;
	background: url(./img/tnclogo_h2.png) no-repeat;
	height: 50px;
	width: 300px;
	margin: 10px 0 10px;
}

.map_logo {
	float: left;
	background: url(./img/mapslogo_drkblue.jpg) no-repeat top left;
	height: 70px;
	width: 280px;
	margin: 0 0 0 5px;
}

#nav_main {
	background: url(./img/header_drkblue.jpg) repeat-x;
	float: right;
	border-radius: 8px;
}

#nav_main ul {
	list-style: none;
	float: right;
	margin: 25px auto 0 !important;
}

#nav_main ul li {
	list-style: none;
	float: left;
	margin-left: 3px;
	margin-right: 8px;
	text-align: center;
	font-size: 22px !important
}

#nav_main ul li a {
	font-family: 'oswald';
	font-size: 22px !important;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 0 transparent, 1px 1px #000000;
	padding: 2px 6px 3px;
	line-height: 1em;
}

#nav_main ul li a:link {
	border-bottom: 0;
}

#nav_main ul li a.active {
	color: #ffe04f;
	background: #195677;
	border-radius: 5px;
	background: #023555;
	/* blue */
	/*  background: #094c2d;
		background: #023555; background #4c130e*/
}

#nav_main ul li a:hover {
	color: #ffe04f;
	background: #195677;
	border-radius: 5px;
	background: #094c2d;
	background: #4c130e;
	background: #023555;
}

#nav_main ul li a:visited {
	border-bottom: 0;
}

/* ================================================
MAIN
================================================ */

#main {
	background: #fff;
	-moz-border-radius: 0 0 5px 5px;
	-moz-box-shadow: 10px 10px 5px #ccc;
	border-radius: 3px;
	margin: 20px 0;
}

/* ================================================
PRIMARY
================================================ */

#primary {
	margin: 0px 0;
	background: #fff;
	box-shadow: 3px 3px 5px #ccc;
	border-radius: 5px;
	border: 1px solid #ccc;
}

#primary h1 {
	margin-left: 20px;
	margin-right: 40px;
	margin-top: 20px;
}

#primary h2 {
	margin-left: 20px;
	margin-right: 40px;
}

#primary h3 {
	margin-left: 20px;
	margin-right: 40px;
}

#primary ul {
	margin-left: 20px;
	margin-right: 40px;
	font-family: verdana;
	font-size: 11px;
	line-height: 1.6em;
	text-shadow: none;
}

#primary img {
	margin: 0 15px 10px 20px;
	border: 1px solid #777;
}

#primary p {
	font-size: 13px;
	line-height: 1.5em;
	font-family: verdana;
	margin-top: 0;
	margin-left: 20px;
	margin-right: 40px;
	text-shadow: none;
}

/* ================================================
SIDEBAR
================================================ */

#secondary {
	font-size: 11px;
	line-height: 1.6em;
	margin-top: 0px;
}

/* ================================================
FOOTER
================================================ */

#footer {
	background: url(./img/divider2px.jpg) repeat-x left top transparent;
	margin-top: 20px;
}

#footer ul {
	list-style: none;
	float: left;
	margin: 20px auto;
}

#footer ul li {
	list-style: none;
	float: left;
	margin-right: 20px;
	text-align: center;
	font-size: 11px;
	font-family: verdana;
}

/* ================================================
HOME
================================================ */

#home img {
	border: 10px solid #fff;
	margin-left: 0px;
	box-shadow: 5px 5px 5px #ccc;
	-moz-border-radius: 3px;
	float: right;
}

#home h1 {
	margin: 0px 10px 20px 0;
	text-shadow: 0 0 0 transparent, 1px 1px #fff;
}

#home h2 {
	margin: 0 10px 20px 0;
	text-shadow: 1px 1px 1px #fff;
}

#home p {
	margin-left: 0;
	font-size: 16px;
}

#home p, ul {
	font-family: georgia;
	margin-right: 20px;
	line-height: 1.5em;
	text-shadow: 0 0 0 transparent, 1px 1px 1px #fff;
	/* first part of this is a hack because Chrome doesn't display text-shadow correctly. */
}

#home ul {
	margin-left: 40px;
}

#home li {
	font-size: 16px;
	line-height: 1.4em;
	margin-left: 0;
	list-style: disc;
}

#home_webmaps img {
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;
}

/*

/* removes left margin from <ul> */

#home_updates ul {
	margin-left: 0;
}

#home_updates li {
	margin-left: 0;
	list-style: none !important;
	line-height: 1.4em;
	margin-bottom: 20px;
}

/* removes left margin from <li> and bullet points */

/* ================================================
GIS DATA
================================================ */

.map {
	margin-bottom: 10px !important;
	padding-bottom: 5px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-shadow: 2px 2px 2px #ccc;
}

.map:hover {
	box-shadow: 4px 4px 4px #B2B0B0;
}

.map.last {
	border-bottom: 0;
}

.map p {
	font-size: 13px;
	line-height: 1.5em;
	font-family: verdana;
	margin-right: 20px;
	margin-bottom: 15px;
}

.map li {
	font-size: 11px;
	font-family: verdana;
}

.map img {
	margin-top: 10px;
	max-width: 93%;
}

.map h2 {
	margin-top: 0;
	font-size: 30px;
}

.view {
	cursor: pointer;
}

/* .download {background: #ecede7; margin: 5px 10px; padding: 5px; border: 1px solid #ccc; display: block; width: 93%;} */

.download {
	font-size: 11px;
	float: left;
}

.download ul li {
	list-style: none;
	float: left;
	margin-right: 10px;
}

/* ================================================
WEB MAPS
================================================ */

.webmap {
	margin-bottom: 15px !important;
	padding-bottom: 5px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-shadow: 2px 2px 2px #ccc;
}

.webmap:hover {
	box-shadow: 4px 4px 4px #B2B0B0;
}

.webmap.last {
	border-bottom: 0;
}

.webmap p {
	font-size: 13px;
	line-height: 1.5em;
	font-family: verdana;
	margin-bottom: 10px;
	margin-right: 5px;
}

.webmap ul {
	margin: 0;
}

.webmap li {
	font-size: 11px;
	font-family: verdana;
}

.webmap img {
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 90%;
	border: 1px solid #777;
}

.webmap h2 {
	margin: 5px 10px 10px;
	font-size: 20px;
	line-height: 1.3em;
	font-size: 13px;
	font-weight: bold;
	font-family: verdana;
}

ul.webmap_view {
	font-size: 11px;
	margin-left: 10px;
	margin-top: 10px;
}

ul.webmap_view li {
	list-style: none;
	float: left;
	margin-right: 15px;
}

/* ================================================
ABOUT
================================================ */

.staff {
	float: left;
	clear: both;
	border-bottom: 0px solid #ccc;
	margin-bottom: 20px;
	width: 100%;
}

.position {
	font-family: georgia;
	font-size: 16px;
	line-height: 1.3em;
	font-style: italic;
	margin-bottom: 10px;
	/* clear: both; display: inline-block; */
}

/* .staff a				{color: #333; border-bottom: 0;}
.staff a:hover		{border-bottom: 1px dotted #333;} */

#about h2 a {
	position: absolute;
	border-bottom: 0;
}

#about h2 a:hover {
	border-bottom: none;
}

#about img.mail {
	border: 0 !important;
	background: #fff;
	position: relative;
	float: left;
	margin-left: 10px;
	margin-top: 15px;
	margin-right: 10px;
}

/* ================================================
TEST STUFF
================================================ */

.testmap {
	border: 10px solid #fff;
	border-radius: 3px;
	box-shadow: 2px 2px 2px #ccc;
}

.breadcrumb {
	font-family: verdana !important;
	font-size: 11px !important;
	margin: 5px 5px !important;
	color: #333;
	float: right !important;
	display: block;
}

/* ================================================
CSS for gallery 
================================================ */

.btn {
	padding: 4px;
	border: 1px solid black;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	background: #999; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#999999'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #ccc,  #999); /* for firefox 3.6+ */
}

.inl-items {
	display: inline-block
}1

.block-div {
	margin-bottom: 3px;
	margin-top: 0;
}

ul.block-div {
	margin-left: 2px;
}

ul.block-div li {
	margin-bottom: 0;
}

.list {
	padding: 0;
	margin: 0;
}

ul.list > li:nth-child(3n+4) {
	sizeclear: both;
}

.justify {
	text-align: justify;
}

.gallery-item {
	display: block;
	float: left;
	width: 220px;
	background-color: white;
	margin-bottom: 5px;
	margin-right: 5px;
	border: 1px solid #ccc;
}

.gallery-title  {
	margin: 5px 10px 10px;
	font-size: 20px;
	line-height: 1.5em;
	font-size: 13px;
	font-weight: bold;
	font-family: verdana;
}