.debug {
	border: 1px solid #999;
	background-color: #eee;
	padding: 10px;
	overflow: auto;
}

html, body, form {
	margin: 0;
	padding: 0;
}

a:focus {
    -moz-outline-style: none;
}
a:hover {
	background-color: #eee;
}

#home-page, #error-page {
	background: #ddd;
}

#home-page #wrap, #error-page #wrap {
	position: relative;
	width: 400px;
	margin: 50px auto 0 auto;
	background: white;
	border: 1px solid #999;
	padding: 50px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#home-page h1, #error-page h1 {
	margin: 0 auto;
	padding: 0;
}
#home-page h1 a, #error-page h1 a {
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-indent: -1000px;
	background: white url(../images/nyt_explorer_big.gif) no-repeat 0 0;
}
#home-page h1, #home-page h1 a, #error-page h1, #error-page h1 a {
	width: 314px;
	height: 56px;
}
#home-page h2, #home-page h3, #error-page h2, #error-page h3 {
	font-family: arial, sans-serif;
	font-weight: normal;
	text-align: center;
	color: #666;
}
#home-page h2, #error-page h2 {
	font-size: 16px;
}
#home-page h3, #error-page h3 {
	font-size: 14px;
	margin-bottom: 5px;
}
#home-page form {
	position: relative;
	text-align: center;
	margin: 40px 0;
}
#home-page #query {
	font-size: 16px;
	width: 300px;
}
#home-page input {
	vertical-align: middle;
}
#home-page #poweredby {
	position: absolute;
	bottom: 10px;
	left: 10px;
}

#home-page #top-people .filter {
	margin-bottom: 10px;
}
#home-page #top-people form {
	margin: 0;
	font-family: arial, sans-serif;
	font-size: 12px;
	color: #666;
}
#home-page #top-people select {
	font-size: 10px;
}
#home-page .tag-cloud {
	font-family: arial, sans-serif;
	text-align: center;
	margin-bottom: 20px;
}
#home-page .tag-cloud span {
	padding: 0 2px;
	vertical-align: baseline;
	white-space: nowrap;
}
#home-page .tag-cloud a:link, #home-page .tag-cloud a:visited, #home-page .tag-cloud a:hover {
	color: #33f;
}

#error-page h2 {
    color: red;
    margin-bottom: 40px;
}
#error-page p {
    font-family: arial;
    font-size: 13px;
}



#results-page {
	background: #fff;
}

#results-page #search {
	/*background: #fff url(../images/gradient.png) repeat-x 100% 0;*/
	/* looks great but need alpha transparent bg image for h1 just below */
	background: #eee;
	border-bottom: 2px solid #999;
	padding: 20px 10px;
	margin: 0;
}
#results-page h1 {
	margin: 0;
	padding: 0;
	float: left;
	margin-right: 10px;
}
#results-page h1 a {
	display: block;
	width: 158px;
	height: 28px;
	overflow: hidden;
	text-indent: -1000px;
	background: white url(../images/nyt_explorer_small.gif) no-repeat 0 0;
}
#results-page #search p {
	margin: 2px 0;
	padding: 0;
}
#results-page #nav {
	position: absolute;
	top: 5px;
	right: 10px;
	font-family: arial, sans-serif;
	font-size: 13px;
	color: #666;
}
#results-page #nav a {
	display: block;
	padding-left: 20px;
	background: transparent url(../images/comment.png) no-repeat 0 0;
}
#results-page #nav a:visited {
	color: blue;
}


#results-page #results {
	padding: 10px;
	margin-right: 420px;
}
#results .suggestion {
	font-family: arial, sans-serif;
	font-size: 16px;
	color: #c00;
}
#results .suggestion a {
	font-weight: bold;
	font-style: italic;
}
#results .count {
	margin: 0 0 10px 0;
	padding: 0;
	font-family: arial, sans-serif;
	font-size: 12px;
	color: #666;
}
#results .query {
	font-weight: bold;
}
.result {
	margin-bottom: 15px;
}
.result h3, .result .date, .result .byline, .result .body {
	font-family: arial, sans-serif;
}
.result h3 {
	margin: 0;
	font-size: 16px;
}
.result .date, .result .byline {
	color: #666;
	font-size: 12px;
}
.result .body {
	display: block;
	font-size: 13px;
}
.result .body a { /* full article link */
	white-space: nowrap;
}
.result .thumbnail {
	float: right;
	margin-left: 10px;
	margin-top: 5px;
}

#facets {
    position: relative;
	float: right;
	width: 380px;
	padding: 10px;
	margin: 10px;
	border: 1px solid #ccc;
	background: #F4F7D9;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#facets h2 {
	margin: 0;
	padding: 0;
	font-family: arial, sans-serif;
	font-size: 18px;
	font-weight: normal;
}
#facets label, #facets p {
    font-size: 13px;
	font-family: arial, sans-serif;
}
#facets p {
    margin: 0;
    padding: 0;
}
#facets .facet {
	float: left;
	width: 180px;
	margin-right: 10px;
	margin-top: 10px;
}
#facets .facet-current {
    float: none;
    width: auto;
}
#facets .facet-clear {
	clear: left;
}
#facets h3 {
	font-family: arial;
	font-size: 13px;
	font-weight: bold;
	margin: 0;
	margin-bottom: 5px;
}
#facets .facet {
    position: relative;
}
#facets a.remove_facet {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-indent: -200px;
    overflow: hidden;
    vertical-align: top;
    background: transparent url(../images/x.png) no-repeat 0 0;
}
#facets a.remove_facet:link, #facets a.remove_facet:visited, #facets a.remove_facet:active, #facets a.remove_facet:hover {
    /* for the remove refinement link */
    color: blue;
    text-decoration: none;
}
#facets ol {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#facets li {
	position: relative;
}
#facets .facet li input {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	padding: 0;
}
#facets .facet li label {
	display: inline-block;
	margin-left: 18px;
	vertical-align: top;
	font-weight: normal;
}

#facets .action {
    position: absolute;
    top: 12px;
    right: 10px;
}
#facets .action a:link, #facets .action a:visited, #facets .action a:active, #facets .action a:hover {
    color: blue;
    font-family: arial, sans-serif;
    font-size: 12px;
}

#add_facet {
    display: inline;
    margin-right: 10px;
}
#add_facet label {
    font-weight: bold;
}
#add_facet .msg {
    font-family: arial, sans-serif;
    font-size: 12px;
    color: red;
    font-weight: bold;
}

#results-page #poweredby {
	border-top: 1px solid #ccc;
	padding: 10px 0;
	margin-right: 410px;
	margin-left: 10px;
	margin-top: 30px;
}

#poweredby {
	font-size: 12px;
	font-family: arial, sans-serif;
	color: #666;
	margin: 0;
}

.pagination {
    background: white;
    margin-top: 40px;
    font-family: arial, sans-serif;
	text-align: center;
    /* self-clearing method: */
}
.pagination a, .pagination span {
    font-size: 13px;
    padding: .2em .5em;
    display: inline-block;
    margin-right: 1px;
}
.pagination span.disabled {
    color: #999;
    border: 1px solid #DDD;
}
.pagination span.current {
    font-weight: bold;
    background: #eee;
    color: #333;
    border: 1px solid #ccc;
}
.pagination a {
    text-decoration: none;
    color: #105CB6;
    border: 1px solid #ccc;
}
.pagination a:hover, .pagination a:focus {
    background: #eee;
}
.pagination .page_info {
    background: #2E6AB1;
    color: white;
    padding: .4em .6em;
    width: 22em;
    margin-bottom: .3em;
    text-align: center;
}
.pagination .page_info b {
    color: #003;
    background: #6aa6ed;
    padding: .1em .25em;
}
.pagination h2 {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}
