.clear {
	clear: both;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.replace span { /* dwyer image replacement */
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.image-message {
	line-height: 1;
	font-size: 1.2em;
}

a.image-prev {
	font-size: 1.2em;
}

a.image-next {
	font-size: 1.2em;
}

a.pdf-link {
	background: url(../_images/theme/icons/pdf_icon.png) center right no-repeat;
	padding-right: 16px;
}

.hidden {
	display: none;
}

/*
**
*/

p.quote {
	font-style: oblique;
	margin-left: 50px;
	margin-right: 50px;
	color: #740;
}

p.more-hidden {
	display: none;
}

p.more {
	text-align: center;
}

p.more a {
	display: block;
	margin: 0 auto;
	background-image: url(/_images/theme/buttons/more_btn.png);
	background-repeat: no-repeat;
	width: 31px;
	height: 26px;
}

p.more a:link, p.more a:visited, a {
	background-position: left top;
}

p.more a:hover, p.more a:active, a {
	background-position: left bottom;
}

a.overlay-prev, a.overlay-next { 
	display: inline-block;
	background-repeat: no-repeat;
	background-position: left top;
	width: 9px;
	height: 15px;
}

a.overlay-prev { background-image: url(/_images/theme/buttons/back_arrow_btn.png); }
a.overlay-next { background-image: url(/_images/theme/buttons/fwd_arrow_btn.png); }

a.overlay-prev:hover, a.overlay-next:hover { 
	background-position: left bottom; 
}


.image-nav, .tour-nav {
	line-height: 1; 
}

.image-nav *, .tour-nav * {
	vertical-align: top;
}

.image-nav   a.image-prev   { background-repeat: no-repeat; display: inline-block; width: 9px; height: 15px; }
.image-nav   a.image-next   { background-repeat: no-repeat; display: inline-block; width: 9px; height: 15px; }
.tour-nav    a.tour-prev    { background-repeat: no-repeat; display: inline-block; width: 9px; height: 15px; }
.tour-nav    a.tour-next    { background-repeat: no-repeat; display: inline-block; width: 9px; height: 15px; }

.image-nav   a.image-prev   { background-position: left  top; }
.image-nav   a.image-next   { background-position: right top; }
.tour-nav    a.tour-prev    { background-position: left  top; }
.tour-nav    a.tour-next    { background-position: right top; }

.image-nav   a.image-prev   span { display: none; }
.image-nav   a.image-next   span { display: none; }
.tour-nav    a.tour-prev    span { display: none; }
.tour-nav    a.tour-next    span { display: none; }

.image-nav   a.image-prev:hover   { background-position: left  bottom; }
.image-nav   a.image-next:hover   { background-position: right bottom; }
.tour-nav    a.tour-prev:hover    { background-position: left  bottom; }
.tour-nav    a.tour-next:hover    { background-position: right bottom; }

.image-nav   a.image-prev   { background-image: url(/_images/theme/buttons/back_arrow_btn.png); }
.image-nav   a.image-next   { background-image: url(/_images/theme/buttons/fwd_arrow_btn.png); }
.tour-nav    a.tour-prev    { background-image: url(/_images/theme/buttons/back_arrow_btn.png); }
.tour-nav    a.tour-next    { background-image: url(/_images/theme/buttons/fwd_arrow_btn.png); }

/*
**
*/

img.image-smallicon,
img.image-icon,
img.image-tiny,
img.image-thumbnail,
img.image-small,
img.image-medium,
img.image-large,
img.image-preview_160,
img.image-preview_170,
img.image-preview,
img.image-hsp1,
img.image-hsp2,
img.image-hsp3,
img.image-hsp4,
img.image-hsp5
{
	background: #dddddd;
}

/*
**
*/

div#hsp-marker-popup_tl, 
div#hsp-marker-popup_tr, 
div#hsp-marker-popup_bl, 
div#hsp-marker-popup_br {
	height: 20px;
	width: 20px;
}

div#hsp-marker-popup_tl { background: url(/_images/markers/t-l.png) left top no-repeat; }
div#hsp-marker-popup_tr { background: url(/_images/markers/t-r.png) left top no-repeat; }
div#hsp-marker-popup_bl { background: url(/_images/markers/b-l.png) left top no-repeat; }
div#hsp-marker-popup_br { background: url(/_images/markers/b-r.png) left top no-repeat; }

div#hsp-marker-popup_t,
div#hsp-marker-popup_l,
div#hsp-marker-popup_r,
div#hsp-marker-popup_b {
	height: 20px;
	width: 20px;
}

div#hsp-marker-popup_t {
	background: url(/_images/markers/t.png) left top no-repeat;
}

div#hsp-marker-popup_l {
	background: url(/_images/markers/l.png) left top no-repeat;
}

div#hsp-marker-popup_r {
	background: url(/_images/markers/r.png) left top no-repeat;
}

div#hsp-marker-popup_b {
	background: url(/_images/markers/b.png) left top no-repeat;
}


div#hsp-marker-popup_beak {
	margin-top: -10px;
	width: 55px;
	height: 25px;
	background: url(/_images/markers/dart.png) left top no-repeat;
}

div#hsp-marker-popup_close {
	margin-top: 15px;
	margin-left: -20px;
	width: 17px;
	height: 17px;
	background-image: url(/_images/markers/close_btn.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	cursor: pointer;
}

div#hsp-marker-popup_close:hover {
	background-position: left bottom;
}

div#hsp-marker-popup_contents {
	position: relative;
	background: white;
}

div.hsp-marker-box img.image-0 {
/*	cursor: pointer; */
}


/*
**
*/

a.terms-of-use-link, span.geohistory-credit a {
	color: rgb(119, 119, 204);
	text-decoration: underline;
}

/*
**
*/

#filters {
	padding-bottom: 20px;
}

#filters h3, #filters h4 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 1.1em;
	font-weight: normal;
}

#filters ul {
	margin-top: 0;
	margin-bottom: 0;
}

#filters a.all-filter, #filters li {
	font-size: 1.1em;
}

#filters li h4 {
	font-size: 100%;
}

#filters li li {
	font-size: 100%;
}

#filters a.selected {
	font-weight: bold;
}

/*
**
*/

div.login-feedback {
	line-height: 1.2em;
	color: #FF0000;
}

/*
**
*/

input.wide-input {
	width: 50%;
}


/*
**
*/

#overlay a#overlay-close {
	display: block;
	width: 17px;
	height: 17px;
	background-image: url(/_images/theme/close_btn.jpg);
	background-position: left top;
	background-repeat: no-repeat;
}

#overlay a#overlay-close:hover{
	background-position: left bottom;
}

#overlay span.overlay-message {
	font-size: 1em;
	color: #666;
}
#overlay #overlay-caption p {
	font-size: 1em;
	margin: 5px 0;
}
#overlay a span {
	display: none;
}
#overlay .overlay-nav {
	padding: 7px 0;
}
#overlay a.overlay-prev, #overlay a.overlay-next {
	position: relative;
	top: 4px;
}

#overlay #overlay-caption p:first-child {
	font-size: 1.2em;
	color: #000;
}
#overlay-holder {
	background: url(/_images/theme/overlay_bkg.jpg) left top repeat-x #FFF;
}