/* 
Title:		Master styles for screen media
Author: 	neilio@mozilla.com
*/

/* page structure 
--------------------------------------------- */

img {
    max-width: 100%;
}

@font-face {
	font-family: 'TitilliumMaps';
	src: url('../fonts/TitilliumMaps26L002.eot');
	src: local('☺'), url('../fonts/TitilliumMaps26L002.woff') format('woff'), url('../fonts/TitilliumMaps26L002.ttf') format('truetype');
}

@font-face {
	font-family: 'TitilliumMaps';
	src: url('../fonts/TitilliumMaps26L001.eot');
	src: local('☺'), url('../fonts/TitilliumMaps26L001.woff') format('woff'), url('../fonts/TitilliumMaps26L001.ttf') format('truetype');
	font-weight: bold;
}

body {
	font-size: 62.5%;
	font-family: "trebuchet ms", helvetica, sans-serif;
	color: #333;
	background: #efefee url(/img/bg-grad.jpg);
}

/* header 
--------------------------------------------- */

#header {
	background: url(/img/header-bg.png) no-repeat;
	width: 950px;
	margin: 0 auto;
	position: relative;
  z-index: 1;
}

.page #header {
    border-bottom: 1px solid #e9e9e9;
}

#logo {
  position: relative;
	float: left;
	width: 644px;
}

#logo h1 {
	text-indent: -5000px;
	width: 293px;
	height: 89px;
	background: url(/img/firebug-logo.png);
}

#logo h2 {
	margin: -25px 0 0 110px;
	letter-spacing: -1px;
}

#logo a {
    display: block;
    position: absolute;
    width: 400px;
    height: 75px;
}

#nav {
	position: absolute;
	right: 18px;
}

#nav li {
	float: left;
	width: 175px;
	height: 70px;
	position: relative;
}

#nav li a {
	display: block;
	position: absolute;
	width: 161px;
	height: 70px;
	padding: 16px 0 0 12px;
	font-size: 1.5em;
	color: #333;
	text-decoration: none;
}

#nav li a:hover {
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.4);
}

#nav li span {
	display: block;
	padding: 40px 8px 0 12px;
	line-height: 1;
	font-size: 0.85em;
}

#logo-install {
	padding-top: 90px;
	margin-bottom: 65px;
}

#install {
	float: right;
	width: 306px;
	color: #fff;
	text-align: center;
}

#install p {
	background: url(/img/button-bg.png);
	width: 250px;
	height: 52px;
	position: relative;
	border: 1px solid #d04949;
	margin: 15px 0 0 35px;
	-moz-box-shadow: 1px 1px 4px #666;
	-moz-border-radius: 7px;
	border-radius: 7px;
}

#install p a {
	display: block;
	width: 250px;
	height: 52px;
	position: absolute;
	font-family: TitilliumMaps;
	font-weight: bold;
	font-size: 1.5em;
	color: #fff;
	text-decoration: none;
	padding: 7px 0 0 0;
	*margin-left: -125px;
}

#install p:hover {
	-moz-box-shadow: 1px 1px 3px #000;
}

#install p a:hover {
	text-decoration: underline;
}

#install p span {
	display: block;
	padding-top: 30px;
	font-size: 0.8em;
}

#install ul {
	width: 90%;
	margin: 4px 0 0 30px;
	color: #333;
}

#install ul li {
	display: inline;
	margin-right: 12px;
	text-align: left;
}
 
#promo {
	width: 950px;
	margin: 0 auto 0 auto;
}

#boasting {
	width: 504px;
	border: 1px solid #e9e9e9;
	-moz-border-radius: 5px;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.6);
	padding: 10px 15px;
	float: left;
	min-height: 155px;
	position: relative;
	margin-left: 109px;
}

#boasting h2 {
	font-size: 1.6em;
	font-weight: bold;
	font-family: TitilliumMaps;
}

#boasting p {
	margin: 6px 0;
	font-size: 1.1em;
	line-height: 1.4em;
}

#boasting ul {
    margin: 6px 0 10px 0;
    list-style: none;
    list-style-image: url(/img/checkmark.png);
}

#boasting ul li {
    margin-left: 25px;
    line-height: 1.5em;
}

#boasting p:first-line {
	font-size: 1.2em;
}
	
#boasting p.moreinfo {
	text-align: right;
	position: absolute;
	bottom: 0;
	right: 10px;
	font-size: 1.1em;
}

#screencast {
	float: right;
	width: 275px;
	padding: 10px;
	border: 1px solid #e9e9e9;
	min-height: 135px;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.6);
	font-size: 0.9em;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
}

#screencast h3 {
	margin: 0 0 6px 0;
	font-size: 1.2em;
}

#screencast h4 {
	clear: left;
	margin-top: 12px;
	font-size: 1.2em;
}

#screencast img {
	float: left;
	margin: 0 4px 10px 0;
}

#zoom {
    z-index: 50;
}

#screencast li {
	list-style-type: circle;
	margin-left: 12px;
}

#header .bigfirebug {
    position: absolute;
    top: 248px;
    left: -135px;
    width: 264px;
    height: 211px;
    z-index: 5;
    background: url(/img/firebug-large.png) no-repeat;
}

/* main styles 
--------------------------------------------- */

#wrap {
	font-size: 1.3em;
	position: relative;
	margin: 0 auto;
}

a:link, a:visited {
	color: #b03631;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: "TitilliumMaps", helvetica, sans-serif;
}

h1 {
	font-size: 3em;
}

h2 {
	font-size: 2.0em;
}

h3 {
	font-size: 1.5em;
}

#features-wrap {
    background: url(/img/features-bg.png) repeat-x;
    margin: 0 auto;
    padding-left: 70px;
	*padding-bottom: 20px;
}

#features {
    width: 865px;
	margin: 20px auto 0 auto;
	padding: 0 0 0 65px;
}

#features dl {
	float: left;
	margin: 0 20px 15px 0;
}

#features dl img {
	float: left;
	margin: 4px 10px 30px 0;
}

#features dt {
	font: 1.4em TitilliumMaps, sans-serif;
	font-weight: 500;
}

#features dt a {
    text-decoration: none;
}

#features dt a:hover {
    text-decoration: underline;
}

#features dt img {
    margin-top: -3px;
}

#features dd {
    width: 260px;
    *width: 200px;
    *font-size: 0.96em;
}

.feature1 dl {
	background: url(/img/arrow.png) no-repeat center 7px;
	padding-top: 29px;
}

.feature2 {
    clear: left;
}

/* secondary styles 
--------------------------------------------- */

#secondary {
    background: #fff url(/img/secondary-bg.png) repeat-x top;
    width: 100%;
}

#article #secondary, #community #secondary, #downloads #secondary {
    border-top: 1px solid #d9d9d9;
}

#contentarea {
    width: 850px;
    margin: 0 auto;
    padding-left: 120px;
}

#content {
    width: 520px;
    float: left;
    padding: 10px 25px 0 0;
}

/* The downloads page doesn't have a right side bar so, the content area
can use more horizontal space */
#downloads #content {
    width: 750px;
}

#content h2.heading {
    padding: 0 0 10px;
    letter-spacing: -1px;
}

#blog, .article {
    margin: 10px 0 20px 0;
}

.post {
    margin: 0 0 10px 0;
}

.post h2 {
    letter-spacing: -1px;
    line-height: 1.0em;
}

.post ul li, .article ul li {
    list-style-type: disc;
    margin-left: 16px;
    line-height: 1.5;
}

.post ol li, .article ol li {
    list-style-type: decimal;    
    margin-left: 16px;
    line-height: 1.5;
}

.post h2 a, .article h2 a {
    text-decoration: none;
    font-size: .85em;
    font-weight: bold;
    color: #333;
}

.post h2 a:after, .article h2 a:after {
    content: " \00BB"
}

.post h2 a:hover, .article h2 a:hover {
    color: #b03631;
}

.postDate {
    border-bottom: 1px solid #eee;
    padding: 6px 0 2px 0;
    font-size: 0.9em;
}

.entry {
    margin: 8px 0;
    font-size: 1.0em;
    line-height: 1.5;
}

.entry h2 {
    font-size: 1.3em;
    margin: 10px 0;
}

.entry h2 a {
    color: #b03631;
}

.entry ol {
    list-style:decimal;
}

.entry ul {
    list-style: disc;
    margin-left: 18px;
}

.entry p {
    margin: 10px 0;
}

.postmetadata {
    background: url(/img/divider.png) no-repeat center bottom;
    padding-bottom: 40px;
}

#download .article ul {
    margin-bottom: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid #aaa;
}

.extension {
    margin: 0 0 2px 0;
    padding: 10px 0;
    border-top: 1px dotted #aaa;
}

#community .post h2 {
    font-size: 1.5em;
}

#community .post br {
    display: none;
}

#community .post {
    margin-bottom: 22px;
}

#community .post .entry {
    font: 0.85em/1.5 menlo, monaco, courier, monospace;
}

#community #articleheader,
#downloads #articleheader,
#firstrun #articleheader {
    padding: 0 0 20px 130px;
}

#firstrun #articleheader ul li,
#faq #articleheader ul li,
#help #articleheader ul li,
#community #articleheader ul li {
    height: 64px;
    line-height: 64px;
    vertical-align: middle;
    font-size: 2.5em;
    letter-spacing: -1px;
    position: relative;
}

#firstrun #articleheader ul li a,
#faq #articleheader ul li a,
#help #articleheader ul li a,
#community #articleheader ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    height: 60px;
    padding-left: 76px;
}

#firstrun #articleheader ul li a:hover,
#faq #articleheader ul li a:hover,
#help #articleheader ul li a:hover,
#community #articleheader ul li a:hover {
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.4);
    color: #999;
}

#firstrun #articleheader ul li a:hover:after,
#faq #articleheader ul li a:hover:after,
#help #articleheader ul li a:hover:after,
#community #articleheader ul li a:hover:after {
    content: " \00BB";
}

#firstrun #articleheader #twitter a,
#faq #articleheader #twitter a,
#help #articleheader #twitter a {
    color: #B03631
}

#irc {
    background: url(/img/irc.png) no-repeat;
}

#groups {
    background: url(/img/groups.png) no-repeat;
}

#twitter {
    background: url(/img/twitter.png) no-repeat;
}

#downloads #content dl {
    padding: 5px 0 10px 70px;
}

#downloads #content dt {
    font-size: 1.5em;
    clear: left;
    margin-bottom: 6px;
    position: relative;
    letter-spacing: -1px;
}

#downloads #release dt {
    font-size: 2.5em;
}

#downloads #release, #downloads #beta, #downloads #alpha {
    background: url(/img/download.png) no-repeat;
}

#downloads #content dt a {
    color: #333;
    text-decoration: none;
    display: block;
    left: -70px;
}

#release dt:hover, #beta dt:hover, #alpha dt:hover  {
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.4);
	color: #999;
}

#downloads #articleheader #lite dt {
    font-size: 1.2em;
}

#downloads #artcieheader dd {
    font-size: 1.2em;
}

#lite dd {
    padding-bottom: 4px;
}

#downloads #articleheader li {
    display: inline;
    margin-right: 20px;
}

#whatsnew15 {
    margin: 10px 0 0 0;
    display: none;
}

ul#whatsnew15 li {
    display: block !important;
    padding: 2px 0 2px 25px;
    background: url(/img/checkmark.png) no-repeat;
}

/* Sidebar */

#links {
	width: 257px;
	float: left;
	margin: 0;
	padding: 10px 0 0 0;
}

#links h2.heading {
	padding: 0 0 10px 0;
	margin-bottom: 20px;
	letter-spacing: -1px;
}

.delicious-posts h2 {
    font-size: 2em;
}

.delicious-posts a {
    text-decoration: none;
    font-size: 1.1em;
}

p.delicious-extended {
    margin-top: 2px;
    font-size: 1em;
}

#delicious-posts-firebug {
	margin: 10px 0;
}

h2.delicious-banner {
	font-size: 1.2em;
	margin-bottom: 10px;
}

#delicious-posts-firebug li {
	margin-bottom: 16px;
}

#sidenav {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#sidenav ul {
    margin: 8px 0 0 0;
}

#sidenav li {
    margin-bottom: 5px;
}

#sidenav li a {
    text-decoration: none;
}

#links li a:hover:after {
    content: " \00BB";
}

#sidenav.sponsors {
    text-align: left;
    content: "";
}

#sidenav.sponsors li a:hover:after {
    content: "";
}

#sidenav.sponsors li {
    margin-bottom: 20px; 
    border-bottom: solid 1px #EEEEEE;
}

.article {
    margin-top: 25px;
    line-height: 1.5;
}

.article p {
    margin-bottom: 10px;
}

#articleheader {
    position: relative;
    z-index: 2;
    margin: -50px auto 0;
    padding: 10px 0;
}

#articleheader img {
    display: block;
    margin: 0 auto;
}

.bigPara {
    font-size: 1.5em;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9e9e9; 
}

.section {
    clear: both;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9e9e9; 
}

.section h3 {
    margin-bottom: 10px;
    font-weight: bold;
}

.section img {
    float: right;
    margin: 0 0 10px 10px;
}


/* Added temporarily as additional style
   Will replace the current .section img as soon as all images are replaced by new ones */
.section img.new {
    -moz-box-shadow: 0 0 20px -2px rgba(0, 0, 0, 0.8);
    margin: 0 5px 15px 15px;
}

.smallScreen.border {
    border: 8px solid transparent;
    -moz-border-image: url(/img/smallScreenBorder.png) 8 8 repeat; /* Old Firefox */
    -webkit-border-image: url(/img/smallScreenBorder.png) 8 8 repeat; /* Safari */
    -o-border-image: url(/img/smallScreenBorder.png) 8 8 repeat; /* Opera */
    border-image: url(/img/smallScreenBorder.png) 8 8 repeat;
}

/* footer
--------------------------------------------- */

#footer {
	clear: both;
	background: #efefee url(/img/footer-bg.png) repeat-x;
	padding: 25px 0;
	position: relative;
	z-index: 1;
    overflow: hidden;
}

#footer .nav {
    width: 850px;
    margin: 0 auto;
    padding: 8px 0 30px 120px;
    font-family: TitilliumMaps;
    font-weight: 500;
    font-size: 1.2em;
    line-height: 1.3;
}

#footer .nav h3 {
    font-size: 1.5em;
    background: url(/img/firebug-tiny.png) no-repeat left 5px;
    padding-left: 35px;
    margin-left: -35px;
    letter-spacing: -1px;
}

#footer .nav a {
    color: #333;
    text-decoration: none;
}

#footer .nav a:hover {
    color: #b03631;
}

#footer .nav a:hover:after {
    content: " \00BB";
}

#whatsnav {
    position: absolute;
    left: 260px;
    top: 30px;
    padding: 10px 0 15px 50px;
    background: url(/img/brace.png) no-repeat;
    font-size: 0.9em;
}

#legal {
    width: 850px;
    margin: 15px auto 15px auto;
    padding-left: 20px;
    font-size: 0.8em;
}

#legal ul {
    float: right;
}

#legal li {
    float: left;
    margin-left: 10px;
    padding-top: 10px;
}

#legal li a {
    text-decoration: none;
}

#copyright {
    width: 600px;
    float: left;
}

#copyright img {
    float: left;
    padding-right: 10px;
}

#copyright p {
    padding-top: 8px;
}

#footer .bigfirebug {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 264px;
    height: 211px;
    z-index: 5;
    background: url(/img/firebug-large.png) no-repeat;
}

/* misc. 
--------------------------------------------- */

.group:after, .section:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#notfound #contentarea {
    background-color: transparent;
    margin: 40px 0 0 120px;
    width: 750px;
}

#notfound #content {
    width: 600px;
    height: 320px;
    background: url(/img/404.png) no-repeat;
    margin: 0 auto;
    padding: 110px 0 0 30px;
    font-size: 1.5em;
}

#notfound #content h1 {
    line-height: 1;
}

#notfound #content p {
    font-size: 1.2em;
}

/* Fancybox
------------------------------------------------------- */

#fancybox-loading {
	position: fixed;
	height: 40px;
	width: 40px;
	top: 50%;
	left: 50%;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 200;
}

* html #fancybox-loading {  /* for IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('/img/fancybox/fancy_progress.png') no-repeat;
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	display: none;
	z-index: 80;
}

* html #fancybox-overlay { /* for IE6 */
     position: absolute;
     width: 100%;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	margin: 0;
	z-index: 90;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	outline: none;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	left: -15px;
	height: 30px;
	width: 30px;
	background: url('/img/fancybox/fancy_close.png') top left no-repeat;
	cursor: pointer;
	z-index: 165;
	display: none;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	border: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	-ms-interpolation-mode: bicubic;
	outline: none;
	line-height: 0;
	font-size: 0;
	vertical-align: top;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
}

#fancybox-tmp {
	display: none;
	padding: 0;
	margin: 0;
	border: 0;
	vertical-align: top;
	overflow: auto;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: center;
	font-family: Arial;
	font-size: 12px;
	z-index: 112;
}

.fancybox-title-inside {
    padding: 10px 0;
	padding-top: 10px;
	color: #333;
}

.fancybox-title-outside {
    padding-top: 10px;
    color: #FFF;
    font-weight: bold;
}

#fancybox-title-wrap {
    display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background: transparent url('/img/fancybox/fancy_title_left.png') repeat-x;
}

#fancybox-title-main {
	line-height: 29px;
	background: transparent url('/img/fancybox/fancy_title_main.png') repeat-x;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background: transparent url('/img/fancybox/fancy_title_right.png') repeat-x;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	z-index: 111;
	display: none;
 	background-image: url("data:image/gif;base64,AAAA");
	outline: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112;
	cursor: pointer;
	display: block;
}

#fancybox-left-ico {
	left: -9999px;
	background: transparent url('/img/fancybox/fancy_nav_left.png') no-repeat;
}

#fancybox-right-ico {
	left: -9999px;
	background: transparent url('/img/fancybox/fancy_nav_right.png') no-repeat;
}

#fancybox-left:hover {
	visibility: visible;
}

#fancybox-right:hover {
	visibility: visible;
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

div.fancy-bg {
	position: absolute;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div#fancy-bg-n {
	top: -20px;
	width: 100%;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_n.png') repeat-x;
}

div#fancy-bg-ne {
	top: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_ne.png') no-repeat;
}

div#fancy-bg-e {
	right: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_e.png') repeat-y;
}

div#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_se.png') no-repeat;
}

div#fancy-bg-s {
	bottom: -20px;
	width: 100%;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_s.png') repeat-x;
}

div#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_sw.png') no-repeat;
}

div#fancy-bg-w {
	left: -20px;
	height: 100%;
	width: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_w.png') repeat-y;
}

div#fancy-bg-nw {
	top: -20px;
	left: -20px;
	width: 20px;
	height: 20px;
	background: transparent url('/img/fancybox/fancy_shadow_nw.png') no-repeat;
}

/*************************************************************************************************/
/* FAQ */

#faq h3 {
    padding-bottom: 4px;
    padding-top: 20px;
}

#faq #content {
    font-family: verdana,​arial,​helvetica,​clean,​sans-serif
    font-size: 12px;
}

#faq #content a {
    text-decoration: none;
}

#faq .faq-links a {
    color: black;
}

#faq .faq-links a:hover:after {
    color: #B03631;
    content: " »";
}

#faq #content a:hover {
    color: #B03631;
}

#faq dl.faq > dt {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 4px;
    font-size: 14px;
}

#faq ul.faq-links  {
    padding-left: 10px;
}

#faq .article li {
    list-style-image: url("../img/bullet.png");
    list-style-type: square;
}

#faq dl.faq .separator {
    margin-top: 15px;
    border-top: 1px solid lightgrey;
}

#faq dl.faq .separator > a {
    font-size: 12px;
    text-decoration: none;
    color: lightgrey;
}
