/* Core */
* {
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
}

a img {
	border: none;
}

img.pngicon {
	width: 16px;
	height: 16px;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

tr.alt td {
	background-color: #F6F6F6;
}

tr.alt th {
	background-color: #FFF;
}

p.nomatch {
	padding: 50px 45px;
	font-style: italic;
	text-align: center;
}

.info {
	border: 1px solid #0012FF;
	background: url(../../img/icons/infobig.gif) 10px 20px no-repeat #F4F9FF;
	padding: 20px 20px 20px 70px;
	min-height: 50px;
	_height: 50px;
}

p.error, div.error {
	border: 1px solid red;
	background: url(../../img/icons/warnbig.gif) 10px 20px no-repeat #FDFFC8;
	padding: 20px 20px 20px 70px;
}

body {
	background: url(../../img/v3/bg.gif) top left repeat-x #F2F2E7;
	padding: 15px 0;
}

input[type="submit"] {
	padding: 1px 6px;
	cursor: pointer;
}

div#wrap {
	width: 774px;
	border: 1px solid #999;
	border-bottom: 2px solid #AAA;
	background-color: White;
	margin: 0 auto;
}

	div#wrap div.pad {
		padding: 5px 5px 28px;
		background: url(../../img/v3/bot.gif) bottom left no-repeat transparent;
	}

	div#wrap div.padsans {
		padding: 5px;
		background: white;
	}

div#tagline {
	font-family: Verdana,sans-serif;
	padding: 5px 0 0;
	text-align: center;
	font-size: 10px;
	color: #4D5768;
}

	div#tagline a:link, div#tagline a:visited, div#tagline a:active {
		color: #4D5768;
		text-decoration: none;
	}

	div#tagline a:hover {
		color: #190099;
		text-decoration: underline;
	}

.dataFix {
	font-size: 8pt;
	margin: 0;
	color: #131C47;
	display: inline;
}
/* End Core */

p, div, span, label, h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Tahoma, Verdana;
}

p, div, span, label {
	font-size: 14px;
	color: #555555;
}

p {
	margin: 1em 0;
	text-align: left;
	line-height: 1.3;
}

.note {
	color: #666;
	font-style: italic;
}

.devnote {
	color: Red;
}

.error {
	color: Red;
}

.list {
	list-style: none;
}

div.ad {
	margin: 5px 0;
}

	div.ad img {
		display: block;
		margin: 0 auto;
		border: 1px solid black;
	}

ul, ol {
	margin: 0 5px 10px 10px;
}

li {
	margin: 0 0 5px 10px;
}

img.break {
	display: block;
	margin: 5px 0 10px 0;
}

h4 {
	font-style: italic;
	margin-bottom: 5px;
}

div#content h4 {
	font-size: large;
	font-weight: normal;
}


/* DIRECTORY */
table.directory {
	width: 100%;
	table-layout: fixed;
}

	table.directory th {
		text-align: left;
		border-bottom: 2px solid #AAA;
	}

	table.directory td {
		vertical-align: top;
	}

		table.directory td.head {
			text-align: center;
			font-size: 16px;
			font-weight: bold;
			font-style: italic;
		}

td.PhoneCell {
	width: 8em;
}

img.directorylogo {
	float: right;
	border: 1px solid black;
	margin: 0 0 10px 10px;
}
/* /DIRECTORY */

/* Top of articles */
h1 {
	color: #545454;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
	font-style: italic;
	font-size: 1.5em;
	margin: 0 0 5px 0;
	letter-spacing: -1px;
	line-height: 1;
}

h2 {
	color: #545454;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
	font-size: large;
	margin: 0;
	letter-spacing: -1px;
}

/* HEADER */
div#header {
	width: 764px;
	height: 116px;
	background: url(../../img/v3/snd/top.jpg) top left no-repeat #111F4E;
	position: relative;
}

	div#header h4 {
		margin: 0;
		background: url(../../img/v3/snd/logo.jpg) top left no-repeat #111F4E;
		position: absolute;
		top: 2px;
		left: 40px;
		text-indent: -9999px;
		font-size: 1px;
		overflow: hidden;
	}

		div#header h4 a {
			display: block;
			width: 224px;
			height: 110px;
		}

	div#header ul, div#header li {
		margin: 0;
		padding: 0;
	}

	div#header li {
		position: absolute;
		top: 81px;
		height: 24px;
		text-indent: -9999px;
		font-size: 1px;
		overflow: hidden;
	}

		div#header li a {
			display: block;
			height: 24px;
		}

li#aboutnav {
	left: 378px;
}

li#discovernav {
	left: 416px;
}

li#relocatenav {
	left: 472px;
}

li#calendarnav {
	left: 527px;
}

li#directorynav {
	left: 586px;
}

li#educationnav {
	left: 647px;
}

li#linksnav {
	left: 710px;
}

	li#aboutnav a,
	li#discovernav a,
	li#relocatenav a,
	li#calendarnav a,
	li#directorynav a,
	li#educationnav a,
	li#linksnav a,
	li#aboutnav a:hover,
	li#discovernav a:hover,
	li#relocatenav a:hover,
	li#calendarnav a:hover,
	li#directorynav a:hover,
	li#educationnav a:hover,
	li#linksnav a:hover {
		background: url(../../img/v3/snd/topnav.gif) 0 0 no-repeat transparent;
	}

li#aboutnav a {
	width: 38px;
}

li#discovernav a {
	background-position: -38px 0;
	width: 56px;
}

li#relocatenav a {
	background-position: -94px 0;
	width: 55px;
}

li#calendarnav a {
	background-position: -149px 0;
	width: 59px;
}

li#directorynav a {
	background-position: -208px 0;
	width: 61px;
}

li#educationnav a {
	background-position: -269px 0;
	width: 63px;
}

li#linksnav a {
	background-position: -332px 0;
	width: 36px;
}

li#aboutnav a:hover {
	background-position: 0 -24px;
}

li#discovernav a:hover {
	background-position: -38px -24px;
}

li#relocatenav a:hover {
	background-position: -94px -24px;
}

li#calendarnav a:hover {
	background-position: -149px -24px;
}

li#directorynav a:hover {
	background-position: -208px -24px;
}

li#educationnav a:hover {
	background-position: -269px -24px;
}

li#linksnav a:hover {
	background-position: -332px -24px;
}
/* /HEADER */

/* MAIN */
div#main {
	padding: 174px 0 0;
}

div.pad {
	margin-bottom: -32px;
}

body#welcome div#main {
	background: url(../../img/v3/snd/h/qol.jpg) top left no-repeat white;
}

body#message div#main {
	background: url(../../img/v3/snd/h/message.jpg) top left no-repeat white;
}

body#commercial div#main {
	background: url(../../img/v3/snd/h/commercial.jpg) top left no-repeat white;
}

body#history div#main {
	background: url(../../img/v3/snd/h/history.jpg) top left no-repeat white;
}

body#links div#main {
	background: url(../../img/v3/snd/h/links.jpg) top left no-repeat white;
}

body#coty div#main {
	background: url(../../img/v3/snd/h/coty.jpg) top left no-repeat white;
}

body#hw34 div#main {
	background: url(../../img/v3/snd/h/hw34.jpg) top left no-repeat white;
}

body#calendar div#main {
	background: url(../../img/v3/snd/h/calendar.jpg) top left no-repeat white;
}

body#directory div#main {
	background: url(../../img/v3/snd/h/directory.jpg) top left no-repeat white;
}

body#directorysans div#main {
	background: url(../../img/v3/snd/h/directorysans.jpg) top left no-repeat white;
}

body#education div#main {
	background: url(../../img/v3/snd/h/education.jpg) top left no-repeat white;
}

body#relocate div#main {
	background: url(../../img/v3/snd/h/relocate.jpg) top left no-repeat white;
}

body#sotm div#main {
	background: url(../../img/v3/snd/h/sotm.jpg) top left no-repeat white;
}

body#DogPound div#main, body#Boosters div#main {
	background: url(../../img/v3/snd/h/DogPound.jpg) top left no-repeat white;
}

body#gear div#main {
	background: url(../../img/v3/snd/h/gear.jpg) top left no-repeat white;
}

body#terms div#main {
	background: url(../../img/v3/snd/h/terms.jpg) top left no-repeat white;
}

body#site div#main {
	background: url(../../img/v3/snd/h/site.jpg) top left no-repeat white;
}

body#discover div#main {
	background: url(../../img/v3/snd/h/discover.jpg) top left no-repeat white;
}

body#outdoor div#main {
	background: url(../../img/v3/snd/h/outdoor.jpg) top left no-repeat white;
}

body#camping div#main {
	background: url(../../img/v3/snd/h/camping.jpg) top left no-repeat white;
}

body#attractions div#main {
	background: url(../../img/v3/snd/h/attractions.jpg) top left no-repeat white;
}

body#cc div#main {
	background: url(../../img/v3/snd/h/cc.jpg) top left no-repeat white;
}

body#user div#main {
	background: url(../../img/v3/snd/h/user.jpg) top left no-repeat white;
}

body#cmf div#main {
	background: url(../../img/v3/snd/h/cmf.jpg) top left no-repeat white;
}

body#getaway div#main {
	background: url(../../img/v3/snd/h/getaway.jpg) top left no-repeat white;
}

body#dq div#main {
	background: url(http://last.madisonsd.com/img/v3/snd/h/miracle.jpg) top left no-repeat white;
}

body#localNews div#main {
	background: url(../../img/v3/snd/h/news.jpg) top left no-repeat white;
}

body#webcam div#main {
	background: url(../../img/v3/snd/h/webcam.jpg) top left no-repeat white;
}

body#localSports div#main {
	background: url(../../img/v3/snd/h/sports.jpg) top left no-repeat white;
}

body#classic div#main {
	background: url(../../img/v3/snd/h/classic.jpg) top left no-repeat white;
}

body#hof div#main {
	background: url(../../img/v3/snd/h/hof.jpg) top left no-repeat white;
}

body#shelterfest div#main {
	background: url(../../img/v3/snd/h/shelterfest.jpg) top left no-repeat white;
}

body#webcam h2 {
	color: Red;
}

div.confine {
	width: 430px;
}

div#content {
	min-height: 400px;
}

div.contentpad {
	padding: 28px 10px 0 15px;
	position: relative;
}
/* /MAIN */

/* SIDEBAR */
div#sidebar {
	width: 322px;
	float: right;
	min-height: 396px;
	background: url(../../img/v3/snd/siderep.gif) top left repeat-y white;
}

	div#sidebar div.top {
		background: url(../../img/v3/snd/sidetop.gif) top left no-repeat transparent;
	}

	div#sidebar div.bottom {
		background: url(../../img/v3/snd/sidebot.gif) bottom left no-repeat transparent;
		min-height: 396px; /* Give top 1px padding to prevent margin collapsing issues */
		padding: 1px 30px 20px 50px;
	}

	div#sidebar ul, div#sidebar .sbsec {
		margin: 0 0 15px;
	}

	div#sidebar li {
		display: block;
		margin: 0 10px 3px 15px;
		font-size: 0.9em;
	}

	div#sidebar p {
		font-size: 0.9em;
		margin: 0 10px 7px 15px;
	}

	div#sidebar a:link, div#sidebar a:visited, div#sidebar a:active {
		color: #565656;
	}

	div#sidebar a:hover {
		color: black;
	}

	div#sidebar h3 {
		background: url(../../img/v3/snd/sbh.gif) 0 3px no-repeat transparent;
		padding-left: 15px;
		color: #0E1319;
		font-size: 1.1em;
	}

	div#sidebar hr {
		border: none;
		height: 8px;
		background: url(../../img/v3/snd/navhr.png) left bottom no-repeat transparent;
		margin: 0 0 1em 0;
	}
	/* /SIDEBAR */

	/* CHUNK */
	div#sidebar div.chunk {
		padding: 1px 0 10px;
		margin: 0 0 10px;
		background: url(../../img/v3/snd/navhr.png) left bottom no-repeat transparent;
	}
/* /CHUNK */



/* GALLERY */
div.gallery {
	width: 423px;
	height: 185px;
	background: url(../../img/v3/gal/bg.jpg) left top no-repeat transparent;
	margin: 0 0 0 10px;
}

	div.gallery div {
		margin: 0;
		padding: 65px 0 0 0;
	}

	div.gallery img {
		border: 2px solid white;
	}

	div.gallery a {
		display: block;
		float: left;
		width: 100px;
		text-align: center;
		margin: 0 0 0 30px;
		padding: 0;
	}
/* /GALLERY */

/* ImgGallery */
div.ImgGallery {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 1em 0;
	padding: 20px 10px;
	width: 100%;
	background: #DDDAC9;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #ccc;
}

	div.ImgGallery h2 {
		margin: 0 20px;
		padding: 0;
		color: #1C1E4E;
		text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
	}

		div.ImgGallery h2 + p {
			margin: 0 20px 1em;
			padding: 0;
			font-size: 0.8571428571428571em;
		}

	div.ImgGallery ul {
		margin: 0;
		overflow: auto;
		list-style: none;
	}

	div.ImgGallery li {
		float: left;
		width: 33.33333333333333%;
		margin: 0 0 5px;
		padding: 0;
	}

		div.ImgGallery li.FullWidth {
			width: 99%;
		}

	div.ImgGallery .ImgGalleryItem {
		display: block;
		text-align: center;
		border: none;
	}

	div.ImgGallery img {
		display: inline-block;
		border: 2px solid white;
	}

#ImgGalleryWrap {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	margin: 0;
	padding: 3%;
	background: #777;
	background: rgba(0,0,0,.5);
	text-align: center;
}

	#ImgGalleryWrap img {
		display: block;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		margin: 3em auto 1em;
		padding: 0;
		border: solid 5px #fff;
	}

	#ImgGalleryWrap .ImgGalleryClose {
		display: inline-block;
		margin: 0;
		padding: .333em .777em;
		font-weight: bold;
		text-decoration: none;
		background: #333;
		color: #fff;
		border: solid 2px #fff;
		border-radius: 4px;
	}

	#ImgGalleryWrap .ImgGalleryPrev, #ImgGalleryWrap .ImgGalleryNext {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		display: block;
		padding: 25% 0 0;
		width: 25%;
		color: #999;
		color: rgba(255,255,255,.333);
		text-align: center;
		text-decoration: none;
		font-weight: bold;
		font-size: 7em;
		line-height: 1;
	}

	#ImgGalleryWrap .ImgGalleryNext {
		left: auto;
		right: 0;
	}

		#ImgGalleryWrap .ImgGalleryPrev:hover, #ImgGalleryWrap .ImgGalleryNext:hover {
			color: #fff;
		}

		#ImgGalleryWrap .ImgGalleryPrev span, #ImgGalleryWrap .ImgGalleryNext span {
			display: none;
		}

/* YoutubeGallery */
.YoutubeEmbed {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 75%;
	margin: 1em 0 2em;
}

	.YoutubeEmbed iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}


/* SIDE CONTACT BUTTON */
div#sidebar div.contactbutton {
	margin: 5px 0 20px;
}

div.contactbutton a {
	display: block;
	margin: 0 0 0 10px;
	width: 152px;
	height: 49px;
	background: url(../../img/v3/snd/contact.png) 0 0 no-repeat transparent;
	text-indent: -9999px;
	font-size: 1px;
	overflow: hidden;
}

	div.contactbutton a:hover {
		background: url(../../img/v3/snd/contact-o.png) 0 0 no-repeat transparent;
	}
/* /SIDE CONTACT BUTTON */
/* /SIDE MISC BUTTON */
div#sidebar div.entrybutton {
	margin: 5px 0 10px;
}

div.entrybutton a {
	display: block;
	margin: 0 0 0 10px;
	width: 152px;
	height: 49px;
	background: url(../../img/v3/snd/entry.png) 0 0 no-repeat transparent;
	text-indent: -9999px;
	font-size: 1px;
	overflow: hidden;
}

	div.entrybutton a:hover {
		background: url(../../img/v3/snd/entry.png) 0 -53px no-repeat transparent;
	}

/* EDITS */
.headerFix {
	margin-bottom: -15px;
}

h2 {
	padding-top: 3px;
	padding-bottom: 5px;
}

#camNotice {
	color: Red !important;
}

/* NEWS PAGE */
.newsTable {
	width: 400px;
}

	.newsTable th {
		border-bottom: 2px solid #AAAAAA;
		text-align: left;
	}

	.newsTable td {
		min-width: 100px;
		padding: 3px;
	}

.nTable {
	width: 400px;
}

.hNews {
	border-bottom: solid 2px #AAAAAA;
	width: 400px;
}

body#localNews p a {
	text-decoration: none;
}

.articleProvider {
	font-style: italic;
	color: Black;
}

.articleTitle {
	color: Blue;
}

.articleStory {
	color: Black;
}

/*CLASSIC PAGE*/
#classic-map {
	position: relative;
}

	#classic-map span {
		position: absolute;
		top: 7px;
		font-size: 1.5em;
	}

	#classic-map a {
		text-decoration: none;
	}

		#classic-map a:hover span {
			text-decoration: underline;
			color: Black;
		}

/*Bread Crumbs*/
p.breadcrumb {
	font-size: 8pt;
	padding-left: 10px;
	font-weight: bold;
}

	p.breadcrumb a, body#localNews p.breadcrumb a {
		color: #0D256F !important;
		text-decoration: none;
	}

/*Add This specific calendar for now*/
.addthis_button {
	position: absolute;
	right: -20px;
	top: 7px;
}

#schedule {
	width: 450px;
}

/* Misc */
.hide {
	display: none;
}

table.table1 {
	margin: 0 0 1em;
	border-collapse: collapse;
}

	table.table1 th, table.table1 td {
		padding: 1px 4px;
		border: solid 1px #777;
	}
