/*
 * @name: Misceleaneous non generic modules etc.
 * @site: http://www.stbarbara.com.au
 * @author: RBurnie, Hugeobject, http://www.hugeobject.com.au
 */

/* = MAP LINK PARAGRAPH for div#sub_2 = ====================================================================== */
/*
USAGE:	NB: use clearfix class
		only these elements in this order
		<p class="map-link clearfix">
			<img src="images/australia.jpg" /> (always first)
			(in between text NOT WRAPPED IN TAGS UNLESS inline tags)
			<a href="#">View map</a> (always last)
		</p>
*/

p.map-link {
	position: relative;
	/*padding-left: 2px !important;*/ /* taken out as affecting the sub_2 image and pushing everything over to the left too much. try another solution if this affects other parts of the site */
}
p.map-link img {
	float: right;
}
p.map-link a {
	position: absolute;
	bottom: 0;
	left: 20px;
}
/* = MAP VIEWER DIV for div#main where image has black space on side = ======================================== */
div.map-viewer {
	width: 350px;
	background: #000;
	margin: 0.2em 0;
}

/* = OVERWRITE TYPO3 STYLES FOR SEARCH PLUGIN = ____________________________________________ */
.tx-indexedsearch-res table,
.tx-indexedsearch-res th,
.tx-indexedsearch-res td,
.tx-indexedsearch .tx-indexedsearch-searchbox table,
.tx-indexedsearch .tx-indexedsearch-searchbox th,
.tx-indexedsearch .tx-indexedsearch-searchbox td,
.tx-indexedsearch-sectionlinks table,
.tx-indexedsearch-sectionlinks th,
.tx-indexedsearch-sectionlinks td { border: 0; }
.tx-indexedsearch .tx-indexedsearch-searchbox input.tx-indexedsearch-searchbox-button { margin-left: 0; }

td.tx-indexedsearch-icon, 
td.tx-indexedsearch-result-number, 
td.tx-indexedsearch-title, 
td.tx-indexedsearch-percent {
	background: #F07C00;
	border-bottom:1px solid #EFEFEF !important;
	color: #fff;
}
td.tx-indexedsearch-title a,
td.tx-indexedsearch-title a:visited {
	color: #fff;
	font-weight: bold;
}
td.tx-indexedsearch-descr, td.descr {
	background:#FFFFFF;
}
td.tx-indexedsearch-info {
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid #999;
	background:#FFFFFF !important;
}

.tx-indexedsearch-secHead {
	margin-bottom: 5px;
}
.tx-indexedsearch-secHead td.tx-indexedsearch-title,
.tx-indexedsearch-secHead td.tx-indexedsearch-result-count {
	border: 0 !important;
	background: #fff !important;
}
.tx-indexedsearch-secHead a,
.tx-indexedsearch-secHead a:visited {
	font-size: 1.4em;
	color: #333 !important;
	text-decoration: none;
}

/*
Promo button
*/
a.promo-btn {
    display: block;
    width: 199px;
    margin: 0 auto;
    background: #f07c00 url(../images/promo-btn-bg.gif) repeat-y;
    color: #fff;
    text-decoration: none;
    font: 11px Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 !important;
}
a.promo-btn span {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
a.promo-btn span.pb1 { background: transparent url(../images/promo-btn-top.gif) top left no-repeat; }
a.promo-btn span.pb2 { background: transparent url(../images/promo-btn-btm.gif) bottom left no-repeat; }
a.promo-btn span.pb3 {
    background: transparent url(../images/promo-btn-arrow.gif) center right no-repeat;
    width: 169px;
    padding: 4px 20px 4px 10px;
}