/* basic settings and resets */
/* --------------------------------------------------------------------------------------------- */

html {
    overflow-y: scroll;
}
html, body {
    height: 100%;
}
body {
    background-color: #ddd;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    margin: 0;
    min-width: 960px;
    padding: 0;
}
form {
    margin: 0;
}
img {
    border: 0;
}
.clear {
    clear: both;
    min-height: 1px;
}
h1, h2, h3, h4, h5, h6, p {
    padding: 0;
    margin: 0 0 0.3em 0;
    font-size: 100%;
}
ul {
    margin: 0.6em auto 0.8em auto;
}
h1 {
    font-size: 120%;
}
h2 a {
    text-decoration: none;
}
h1, h2, h2 a, h3, strong, b {
    color: #333;
}
/* h3 is on listing pages for visit website link */
h3 {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	font-size: 120%;
	padding: 5px 0;
	text-align: center;
}
p {
    margin-bottom: 0.8em;
    line-height: 130%;
}
img {
    border: none;
}
.small {
    font-size: 85%;
}

/* layout */
/* --------------------------------------------------------------------------------------------- */

#top {
    position: absolute;
}
#container {
    background: #ddd url(/gui/bg.main.gif) center repeat-y;
    min-height: 100%;
    margin: 0 auto -75px auto; /* margin-bottom same as #footer height */
    width: 960px;
}
* html #container {
    height: 100%;
}
#header {
    background: #ddd url(/gui/bg.header-footer.gif) center top no-repeat;
    height: 75px;
}
#main {
    float: left;
    margin: -10px 0 0 10px;
    width: 610px;
}
#sidebar {
    float: right;
    margin: -10px 14px 0 0;
    margin: -10px 14px 0 0;
    width: 300px;
}
* html #main, * html #sidebar  {
    /* fix double float margin bug */
    display: inline;
}
#footer-spacer {
    clear: both;
    height: 75px; /* sames as #footer height */
}
#footer {
    background: #ddd url(/gui/bg.header-footer.gif) center bottom no-repeat;
    height: 75px; /* if changes, also change #footer-spacer height and #containe margin-bottom */
    margin: auto;
    position: relative;
    width: 960px;
}

/* sidebar */
/* --------------------------------------------------------------------------------------------- */

#sidebar .left {
	float: left;
	margin-left: 4px;
	width: 160px;
}
#sidebar .right {
	float: right;
	margin-right: 4px;
	width: 125px;
}
#sidebar .right img {
	margin-bottom: 5px;
}

/* background boxes */
/* --------------------------------------------------------------------------------------------- */

/* small screenshots */
.box-75x56 {
	width: 86px;
	height: 68px;
	padding: 5px 0 0 5px;
	margin-right: 5px;
	/*margin-top: 0.8em; /* #listings h2 + 0.2 */
	background-image: url(/gui/box-75x56.png);
	position: absolute;
	background-repeat: no-repeat;
}
/* large screenshots */
/* ad under the large screenshots */
.box-300x225 {
    margin-right: 5px;
}
.box-300x225, .box-300x250 {
    float: left;
    height: 250px;
    width: 300px;
}
/* push the google ad slightly back up in relation to the screenshot */
.box-300x250 {
	margin-top: -2px;
}


/* listing page */
/* --------------------------------------------------------------------------------------------- */

.listing-boxes {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	height: 250px;
	margin-bottom: 7px;
	padding-top: 5px;
}
.listing-boxes .box-300x225 div {
	background-color: #541d2f;
	border-bottom: 1px solid white;
	color: white;
	font-size: 11px;
	height: 19px;
	line-height: 19px;
	text-align: center;
}

/* listings in search results and category pages */
/* --------------------------------------------------------------------------------------------- */

#listings {
	border-bottom: 1px solid #ccc;
	padding-bottom: 4px;
}
#listings p {
	margin-bottom: 0.3em;
}
#listings h2, #listings p {
	padding-left: 100px;
}
#listings .row {
	border-top: 1px solid #ccc;
	padding-top: 8px;
	margin-top: 8px;
	min-height: 70px;
}

/* blog page */
/* --------------------------------------------------------------------------------------------- */

.postinfo {
	border-bottom: 1px solid #ccc;
	padding-bottom: 8px;
	margin-bottom: 6px;
}

/* paging */
/* --------------------------------------------------------------------------------------------- */

.paging {
	font-size: 85%;
	margin-bottom: 1em;
	color: #ccc;
	padding-top: 1.5em;
}
.paging span {
	border: 1px solid #ccc;
}
.paging a, .paging span.selected {
	text-decoration: none;
	border: 1px solid #541d2f;
}
.paging span, .paging a {
	color: #541d2f;
	padding: 1px 3px;
}
.paging a:hover, .paging span.selected {
	background-color: #ccc;
	color: #000;
}

/* top/bottom nav */
/* --------------------------------------------------------------------------------------------- */

.nav, #footer-follow {
	font-size: 13px;
	color: white;
	margin: 0;
	padding: 0;
}
.nav li {
	float: left;
	list-style: none;
	margin-right: 15px;
}
.nav a {
	color: white;
	text-decoration: none;
}
.nav a:hover {
	text-decoration: underline;
}
#header form {
	float: right;
	margin-top: 10px;
	padding-right: 20px;
}
#footer .nav {
	padding-left: 16px;
	padding-top: 43px;
}
#searchbox {
	width: 150px;
}
#footer-follow {
	position: absolute;
	right: 242px;
}
#footer-facebook, #footer-twitter {
	height: 0px;
	overflow: hidden;
	padding-top: 38px;
	position: absolute;
	top: 32px;
	width: 101px;
}
#footer-facebook {
	left: 725px;
}
#footer-twitter {
	left: 838px;
}
#logo {
	float: left;
	height: 50px;
	left: 0;
	top: 0;
	width: 230px;
}

/* superfish menus */
/* --------------------------------------------------------------------------------------------- */

#menu {
	margin-left: 5px;
	margin-top: 5px;
}

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
	font-size: 13px;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			200px; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			200px; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			200px; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
	margin-bottom:	1em;
}
.sf-menu a {
	padding: 9px 9px;
	text-decoration:none;
}
.sf-menu li li a {
	border-top: 1px solid #fff;
	font-size: 12px;
}
.sf-menu li li li a {
	border-left: 1px solid #fff;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #fff;
}
.sf-menu li {
	background:		#541d2f;
}
.sf-menu li li {
	background:		#774052;
}
.sf-menu li li li {
	background:		#9a6375;
}
.sf-menu li a:hover, .sf-menu li.sfHover {
	background-color: #774052;
}
.sf-menu li li a:hover, .sf-menu li li.sfHover {
	background-color: #9a6375;
}
.sf-menu li li li a:hover {
	background-color: #bd8698;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	27px;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url(/gui/superfish-arrows-ffffff.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url(/gui/superfish-shadow.png) no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/* tla in right sidebar */
/* --------------------------------------------------------------------------------------------- */

#tla {
	font-size: 12px;
	margin: 5px 0 0 5px;
}
#tla ul {
	margin: 2px 0 0 15px;
	padding: 0;
}

/* common/general stuff */
/* --------------------------------------------------------------------------------------------- */

.divider {
	border-bottom: 1px solid #ccc;
	margin-bottom: 6px;
}
#form-comments {
	display: none;
}
.limage {
	float: left;
	margin: 0 10px 10px 0;
}
.rimage {
	float: right;
	margin: 0 10px 10px 0;
}
div.cimage {
	text-align: center;
	margin-bottom: 10px;
}
