/*
File: layout.css
Purpose: Layout styles for Anzwers website
*/
body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000;
}

img { border-color:#aaa; }
h1 {
	font-size:18px;
  padding:0; margin:0;
}

a {
	color: blue;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: blue;
}

#header {
	height: 79px;
	width: 100%;
	background: #003165 url('/images/HeaderBG.png') 100% 100% repeat-x;
	border-bottom: 3px solid #eee;
	color: #fff;
}

#header .logo {
	width: 223px;
	height: 79px;
	background: url('/images/HeaderLogo.png') 0 0 no-repeat;
	float: left;
}

#header #search {
	width: 550px;
	height: 69px;
	padding: 10px 0 0 50px;
	margin: 0;
  position: absolute;
  left: 200px;
}

#header #search input.search_box {
	width: 430px;
}

#header #search ul {
    margin: 0;
	padding: 0;
	list-style: none;
}

#header #search ul li {
	margin: 0;
	padding-right: 20px;
	display: inline;
}

#header .ans_search {
	margin: 5px 0;	
}

#header .ans_country input {
	margin: 0 3px 0 0;
	padding: 0;
	vertical-align: middle;
  width:13px;
  height:13px;
  overflow:hidden;
}

#header .ans_country label {
	display: block;
	float: left;
	margin-right: 20px;
}

#header a,
#footer a {
	color: #fff;
	text-decoration: none;
}

#header a:hover,
#footer a:hover {
	text-decoration: underline;
	color: #fff;
}

#container {
	background: #fff;
	padding: 15px;
}

#adbanner {
	position: relative;
	text-align: center;
  padding-bottom: 20px;
}

#footer {
	position: relative;
	text-align: center;
	color: #fff;
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
	background: #3498CA url('/images/FooterBG.png') 0 0 repeat-x;
	height: 50px;
}

#footer .logo {
	position: absolute;
	right: 0;
	top: 0;
	width: 126px;
	height: 50px;
	background: url('/images/FooterLogo.png') 100% 0 no-repeat;
}

#footer #quickSearch {
	width: 650px;
	margin: 0 auto;
	padding-top: 13px;
}

#footer #quickSearch input.search_box {
	width: 320px;
}

#footer #quickSearch .ans_search {
	margin: 0 10px;	
	float: left;
}

#footer #quickSearch .ans_country {
	float: left;
}

#footer #quickSearch .ans_country input {
	margin: 0 3px 0 0;
	padding: 0;
	vertical-align: middle;
}

#footer #quickSearch .ans_country label {
	display: block;
	float: left;
	margin-right: 20px;
}

#properties {
  margin:10px 0;
  font-size:11px;
	text-align: center;
}
#properties a, #properties a:visited { 
  color:#000;
  text-decoration:none;
}
#properties a:hover { 
  text-decoration:underline;
}
#copyright {
	padding-top: 15px;
}

#copyright p {
	margin-top: 0;
	padding-top: 0;
}

ul#footerLinks {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul#footerLinks li {
	display: inline;
	margin: auto 10px;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

h1.subhead, h2.subhead, h3.subhead {
	margin-top: 4px;
}

/* Organic Listings */
.main_result {
	padding: 10px 10px 10px 0px;
	margin: 0px 0px 0px 0px;
}
.main_result_text{
	font-size: 14px;
	color: #000000;
}
.main_result_description{
	font-size: 12px;
	color: #000000;
}
a.main_result_text:link, a.main_result_text:visited {
	color:  #0000FF;
	text-decoration: underline;
}
a.main_result_text:hover {
	color:  #0000FF;
	text-decoration: underline;
}
a.main_result_url_bottom:link, a.main_result_url_bottom:visited {
	font-size: 12px;
	color: #008000;
	text-decoration: none;
}
a.main_result_url_bottom:hover {
	color: #008000;
  text-decoration: underline;
}

/* Sponsored Listings */
.adbox_shaded {
  border:1px solid #b5d3ff;
  background-color:#f7fafd;
  padding:10px;
}
.adtext {
  color: #000000; 
  text-decoration: none;
}
a.adtext:link, a.adtext:visited {
  color: #000000; 
  text-decoration: none;
}
a.adtext:hover {
  color: #000000; 
  text-decoration: none;
}
.adtextr, .adtextr a, .adtextr a:visited { font-size:12px; }

/* Ad Banners */
.adbannertop { margin:0 0 10px 0; }

/* Directory Home */
#mainCat {
  font-size: 14px;
  font-weight: bold;
  color: #00f;
  text-decoration: underline;
}
#mainCat:hover {
  text-decoration: none;
}
#subCat {
  font-size: 12px;
  color: #000000;
  text-decoration: none;
}
#subCat:hover {
  text-decoration: underline;
}

/* Directory Category */
.dirloc { padding:0 0 10px 0; }
.dirloc a, .dirloc a:visited {
  font-size:12px;
  color:#00f;
  text-decoration:underline;
}
.dirloc a:hover { text-decoration:none; }
.cats { 
  margin:0 0 5px 0;
  font-size:13px;
}
.catlist { margin:5px 0; padding:0;list-style:none; }
.catlist a:link, .catlist a:visited {
  font-size:13px;
  color:#00f;
  text-decoration:underline;
}
.catlist a:hover { text-decoration:none; }


