/* {{{ Reset */

* { margin:0; padding:0; }
body { background: #fff url(../../images/template/background.jpg) no-repeat left top; color: #4b4740; font: 100%/1.4 Georgia, Times, serif; }
img { border: 0; }

/* }}} */
/* {{{ Header */

body {
    margin-top: 30px;
    min-width: 880px;
}

#main {
    max-width: 1000px;
}

#header {
	border-bottom: 10px solid #a5151e;
	margin: 0 0 15px 6%;
	position: relative;
	background: #2a2a2a;
	background: rgba(38,38,38,0.98);
	height: 44px;
	padding-top: 70px;
	zoom: 1;
}

#header h1 {
	background: transparent url(../../images/template/dino.png) no-repeat left top;
	position: absolute;
	left: -130px;
	margin: 0;
	top: -30px;
	width: 381px;
	height: 227px;
	z-index: 1;
}

#header h1 a,
#header h1 span {
	display: inline;
	float: left;
	font-family: MetaBold, Trebuchet MS, sans-serif;
    font-weight: bold;
	letter-spacing: -2px;
	font-size: 50px;
	color: #fff;
	text-decoration: none;
	padding: 0 40px;
	margin: 70px 100px 0 130px;
	text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

#header h1 a:hover {
	text-decoration: none;
	color: #eee;
	text-shadow: 0 1px 5px rgba(0,0,0,0.4),
	             0 0 10px rgba(255,255,255,0.4);
}

#header-contents {
	position: absolute;
	bottom: 0;
	text-align: right;
	padding-left: 270px;
}

#nav {
	margin: 0;
	float: left;
}

#nav li {
	background: none;
	padding: 0;
	float: left;
}

#nav a,
#nav span {
	color: #ccc;
	display: block;
	padding: 15px 15px;
	font-family: MetaBold, Trebuchet MS, sans-serif;
	font-weight: bold;
	font-size: 15px;
}

#nav a:hover,
#nav a:focus {
	text-decoration: none;
	color: #f59d56;
}

#nav .selected,
#nav .on {
	background: url(../../images/template/menu-divider.png) bottom right repeat-x;
	color: #f59d56;
}

#quick-search {
	white-space: nowrap;
	float: left;
	padding: 13px 0 5px 15px;
	line-height: 1;
}

#quick-search #q {
	width: 170px;
	border: 1px solid #1e4262;
	background: #fff url(../../images/template/search-icon.png) 2px 50% no-repeat;
	box-shadow: inset 1px 1px 1px rgba(100,100,100,0.5);
	font-size: 11px;
	padding: 2px 4px 2px 20px;
	height: 17px;
	position: relative;
	z-index: 2;
	vertical-align: middle;
	color: #333;
}

#quick-search #q:-moz-placeholder {
	color: #999;
}

#quick-search-btn {
	vertical-align: middle;
	position: relative;
	left: -16px;
	z-index: 1;
}

/* }}} */
/* {{{ Footer */

#footer {
	background: #2a2a2a;
	border-top: 13px solid #a5151e;
	clear: both;
	color: #999;
	margin: 105px 0 0 6%;
	padding: 25px 0 50px 64px;
	position: relative;
	padding-right: 14%;
	height: 1%;
}

	#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer p { color:#999; }
	.footer-nav { list-style:none; margin:0; }
	.footer-nav li { font-size:12px; background:none; padding-left:0; margin-bottom: 0.25em; }
	.footer-nav-title { font-family:Arial, sans-serif; font-size:12px; }
	#footer .col-span { font-size:13px; }
	#footer .six-col { background:#2a2a2a; }
	#copyright { font-size:11px; padding-top:11px; }
	#copyright-links { line-height:1; }
	#copyright-links a { font-size:11px; }

	#languages { float:right; margin-left:20px; }
	#languages select { margin-left:10px; }

#footer-wrap {
	clear:both;
	background: transparent url(../../images/template/screen/bg_body_2.jpg) no-repeat left bottom;
}

/* }}} */
/* {{{ Everything Else */

#localnav {
	float: right;
	width: 240px;
	margin: 0 0 1em;
	list-style: none;
	position: relative;
	z-index: 99;
}

	#localnav ul.first { border-top: 0; }
	#localnav ul { list-style: none; margin: 0; }
	#localnav a, #localnav span, #localnav strong { display: block; color: #4b4740; border-bottom: 1px solid #eaeaea; padding: .35em 2px; }
	#localnav a:hover, #localnav a:focus { color: #148CB5; }
	#localnav a.on, #localnav strong, #localnav span.on { font-weight: bold; color: #b91e27; }
	#localnav li { background-image: none; padding: 0; margin: 0; font: bold 14px MetaBold, Trebuchet MS, sans-serif; }
	#localnav li.first, #localnav li:first-child { border-top: 0; }
	#localnav li ul {  }
	#localnav li li { font: normal 12px Georgia, serif; }
	#localnav li li a {  }

#main {
	position: relative;
	padding: 0 6%;
	zoom: 1;
}

#main-content {
	margin: 0 0 0 40px;
	zoom: 1;
}

#main.with-menu #main-content {
	margin-right: 260px;
}

#primary-wrap { float:left; margin-right:-250px; width:100%; }
#primary { margin-right:250px; }

#sub { float:right; width:230px; margin: 40px 0 0; }


/*-------------------------------------------
    Promos
-------------------------------------------*/
#adopt-box {
	background: url(../../images/promos/adopt-box.png) 100% 100% no-repeat;
	padding-bottom: 19px;
	margin-bottom: 20px;
}

#adopt-box p {
	padding: 55px 120px 10px 30px;
	margin: 0;
	font-weight: bold;
	font-style: italic;
	font-family: georgia, serif;
	color: #fff;
	font-size: 20px;
	line-height: 1.2;
	background: url(../../images/promos/adopt-box.png) 0 0 no-repeat;
}

#adopt-box p a:link,
#adopt-box p a:visited {
	color: #a5151e;
}


/*-------------------------------------------
    Legacy Layouts
-------------------------------------------*/
#side { float: left; width: 23%; margin-bottom: 1em; }
#mainContent.right { float: left; width: 64%; }
#side.right { float: right; width: 35%; }
#side.left {
	width: 32%;
	margin-right: 3%;
}

.key-point { background: #eee url("../../images/template/screen/key-point-top.png") top left repeat-x; padding: 35px 15px 15px 15px; margin-bottom: 1em; }
.key-point:after { background: url("../../images/template/screen/key-point-bottom.png") bottom left repeat-x; margin: 0 -15px -15px -15px; content: " "; display: block; height: 28px; clear: both;}
	.key-point h2, .key-point h3, .key-point h4, .key-point h5 { margin-top: 0; }

p.important,
div.important {
  background-color: #fff0c0;
  border: solid black 1px;
  padding: 0.5em;
}

p.note:before { content: "Note: ";}
p.note {
   font-style: italic;
   border: solid 1px;
   padding: 0.5em;
}
/* Product Specific CSS */

.productlist h3 { border: none; }
.key-point h1, .key-point h3 { margin: 0; }
#product-desc h2 { text-indent: -700em; height: 25px; line-height: 2px; font-size: 2px;}
#product-desc p { margin: 1em 0; padding-left: 170px; }
#product-desc ul, #key-desc { padding-left: 190px; margin-bottom: 0; }
#product-side, #key-side { margin-left: 65%; }
#product-side ul, #key-side ul { margin-left: 0; padding-bottom: 0; padding-left: 20px; }
#product-side li, #key-side { padding-bottom: 0.2em; }
#product-desc, #key-desc { padding: 40px 0 25px 0; color: #4C5C5C; width: 60%; float: left; line-height: 140%; }
#key-desc { padding: 0; }
#key-side { color: #4C5C5C; }
.product-firefox { background: url("https://www.mozilla.org/images/product-firefox-screen.png") no-repeat; }
.product-thunderbird { background: url("https://www.mozilla.org/images/product-thunderbird-screen.png") no-repeat; }
.product-camino { background: url("https://www.mozilla.org/images/product-camino-screen.png") no-repeat; }
.product-mozilla { background: url("https://www.mozilla.org/images/product-mozilla-screen.png") no-repeat; }
#product-side .download h3 { color: #1D9101; font-weight: bold; margin: 0; font-size: 140%; }

ul.snav {/* section navigation or short navigation, whichever you prefer */
margin: 0.7em 10%; padding: .2em; text-align: center; list-style-type: none; }
ul.snav > li { margin: 0; padding: 0; background: none; color: #ccc; }
ul.snav > li { display: inline; }
ul.snav > li:before { content: " | "; }
ul.snav > li:first-child:before { content: ""; }


/*-------------------------------------------
    Defaults
-------------------------------------------*/
li, p, code, dd, dt { font-size:14px; }
	p { margin-bottom:1em; }
		p.section { margin:0; }
ul li { list-style-type: none; background: transparent url(../../images/template/screen/bullet.png) no-repeat 0 0.5em; padding-left: 10px; }

dl { margin-bottom: 1em; }
	dt { text-transform: uppercase; font-weight: bold;}
	dd { margin: 0 0 0.5em 0.5em; }

h1, h2, h3, h4, h5, h6 { color:#2a2a2a; font-family: MetaBold, Trebuchet MS, sans-serif; font-weight:bold; }
	h1 { font-size:45px; margin:.55em 0; color:#b91e27; }
	h2 { font-size:25px; margin:.75em 0; }
	h3 { font-family: MetaBold, Trebuchet MS, sans-serif; font-size:13px; margin:.8em 0; font-weight: bold; }
		.section h3 { margin-top: 0; }
	h4 { font-size:15px; margin:.85em 0; }
	h5 { font-size:12.5px; margin:.875em 0; }

ul, ol { margin:1em 0 1em 30px; }
	li ul, li ol { margin:0 0 0 30px; }

td, th { padding: 0.2em; }

table.data { border-collapse: collapse; margin: 0.5em auto; border: 1px solid; }
	table.data caption { margin: 1em auto 0.2em; font-size: small; font-style: italic; text-align: center; }
	table.data thead th { background: #e4ecec; empty-cells: hide; }
	table.data th, table.data td { border: 1px solid #ccc; }
	tr.odd { background: #F5F5F5;}
	table.data tbody th:first-child { text-align: right; }
	table.data thead th { vertical-align: middle; }

pre { background:#eee; border:1px solid #ccc; margin:1em; padding:1em; }

a:link, a:visited { color:#148cb5; text-decoration:none; }
a:hover, a:focus { text-decoration: underline; }

img.x { display: block; float: left; margin: 0 10px 10px 0; }
img.left  { margin: 0 10px 10px 0; float: left; }
img.right { margin: 0 0 10px 10px; float: right; }
img.frame {
  border:10px solid #f3f3f3;
  background:#fff;
  padding:6px;
  box-shadow: 0 0 6px #bbb;
  -moz-box-shadow: 0 0 6px #bbb;
  -webkit-box-shadow: 0 0 6px #bbb;
}
img.frame.left {  margin-right:16px;}
img.frame.right {  margin-left:16px;}

object, embed { display: block; margin: 0 auto 20px; background-color: #fff; padding: 7px; }
.video-holder { background: transparent url(../../images/template/screen/video-bg.png) no-repeat 50% 50%; min-height: 375px; min-width: 428px; /*display: table-cell; vertical-align: middle;*/ }
	.video { background-color: rgba(0, 0, 0, 0.2); padding: 7px; margin-left: auto; margin-right: auto; position: absolute; top: 50%; left: 50%; }

blockquote { margin: 1em; }

fieldset {
  background: #F0F0F0;
  border:1px solid #e1e1e1;
  padding: 1em;
  border-radius:6px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  
}
fieldset legend {
  font-weight: bold;
  font-family:Georgia,serif;
}

/*-------------------------------------------
    Modules
-------------------------------------------*/
.clearfix:after, #main:after, .projects:after, .cols:after, #news:after, #header:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; }

#skip, #quick-search label { display: block; position:absolute; left:-9999px; }

.section { border-bottom:1px solid #c3c3c3; padding:2em 0; overflow:hidden; position: relative; }
#primary .section { border-bottom: none; border-top:1px solid #c3c3c3; }
#primary .section.first { border-top: none; padding-top: 0; }

/*.left { float:left; padding-bottom:999px; margin:0 20px -999px 20px; overflow:hidden; }
.right { padding-bottom:999px; margin:0 20px -999px 20px; overflow:hidden; float: right; }
	.left img, .right img { float: none; display: inline; }*/

.cols { clear:both; } /* @todo: add more col possibilities */
	.three-col { float:left; width:30%; margin-right:5%; }
        .five-col { float:left; width:17.4%; padding-right:2.6%; }
	.six-col { float:left; width:14.5%; padding-right:2.6%; }
	.cols > *:last-child { margin-right:0; padding-right:0; }

	.col-span { border-bottom:1px solid #404040; padding-bottom:15px; }

ul.rows { border-top: 1px solid #dbe2e8; margin: 0 0 1em; }
	ul.rows li { border-bottom: 1px solid #dbe2e8; padding: 1em 10px; background: none; }

#crumbs {
	margin: 0 6%;
	padding: 0 0 0 36px;
	font-size: 12px;
	position: relative;
	z-index: 2;
	clear: both;
	letter-spacing: 0.1em;
}

#crumbs #crumbs-contents {
	padding: 2px 4px;
	xbackground: #fff;
}

#crumbs a {
	text-transform:uppercase;
	color:#2987AD;
	font-family:"Trebuchet MS", sans-serif;
	font-weight:bold;
	font-size: 80%;
	letter-spacing: 1px;
}

h1#page-title {
	margin: 10px 6% 15px 6%;
	padding: 0 0 0 40px;
	font-size: 45px;
	color: #b91e27;
	line-height: 1;
}

#main .first { border-top:3px solid #c3c3c3; }

.lead { font-family:Georgia, serif; font-size:20px; }

.cta { background:#dadada url(../../images/template/screen/bg_cta.png) repeat-x 0 0; padding:20px; margin: 0 0 30px; }
	.cta h4 { font: 250% Georgia, serif; text-transform: none; color: #fff; }
	.cta p { color:#565353; line-height: 1.7; font-style: italic; }
	.cta h4 + p:first-line { font-weight: bold; }

.powered-by { background: transparent url(../../images/template/screen/powered-by-mozilla.png) no-repeat 0 0; width: 205px; height: 73px; text-indent: -9999px; position: relative; left: -3px; margin: 0; }



/*-------------------------------------------
    Edit Page
-------------------------------------------*/
.modified { position:absolute; top:7px; right:128px; font-size:12px; color:#767676; }
.edit { position:absolute; top:0; right:0; width:110px; border:1px solid #cacaca; z-index:1; }
.edit dt { padding:5px 10px; color:#148cb5; background:transparent url(../../images/template/widgets/down-arrow.png) no-repeat 90px center; font-size:12px; }
.edit dd { background:#eaeaea; font-size:11px; }
.edit dd a { margin:0 5px; padding:5px; display:block; border-bottom:1px solid #c3c3c3; }
	.edit dd:last-child a { border:none; }

.edit dd { display:none; }
.edit:hover dd { display:block; }

/*-------------------------------------------
    Buttons
-------------------------------------------*/
.button a{
  display: inline-block;
  padding:0.5em 1em;
/*  font-size:2em;*/
  color:#1075B3 !important;
  text-shadow:0px 1px 0 #fff;
	font-family: Arial, sans-serif;
  font-weight:bold;
  text-align:center;
  border:1px solid #C9C8C9;
  border-color:#C9C8C9 #999999 #999999 #C9C8C9;
  border-color:#999999 #808080 #4d4d4d;  
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  background: #d3d3d3 url('../../images/template/widgets/button-bg.png') 0 0 repeat-x;  
}
.button a:hover{
  background: #f2f2f2 url('../../images/template/widgets/button-bg.png') 0 -132px repeat-x; 
  text-shadow:0px -1px 0 #fff;
  text-decoration:none;
  border-color:#4d4d4d #4d4d4d #4d4d4d;
}
.button {
  display:inline-block;
  border:4px solid #57A6C5;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  margin:0 0 1em -6px;
}
.button.donate {
  border-color:#FBC51B;
}
.button img{
  margin:0 0.75em 0 0  ;
}


/*-------------------------------------------
    BUGS

	Bugs are coded to be self contained.
	Anything that's a bug has a class of "bug".
	It also has an id that makes it
	individual.
-------------------------------------------*/
#get-involved { text-align: center; margin: 0 0 46px; width: 263px; overflow: hidden; }
	#get-involved a { display: block; }
	#get-involved a span { display: block; background: transparent url(../../images/template/screen/get-involved.png) no-repeat 52% 0; width: 263px; height: 172px; text-indent: -9999px; }

#grant-details { border-top: 1px solid #999; border-bottom: 1px solid #999; }
#grant-details ul { overflow: hidden; }
#grant-details ul li { width: 33%; float: left; }

#home #sub .bug { margin: 0 0 0 20px; }

.bug h2 { font-size: 20px; margin-bottom: 0; line-height: 1.2; }
.bug h3 { font-size: 13px; color: #666; font: 120% Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.1em; }

.looking-for-firefox { text-align:center; width:150px; margin:0 auto; }
.looking-for-firefox img { float:none; display:inline; }
.looking-for-firefox strong { font-size:16px; font-family:Georgia, serif; color:#2a2a2a; font-weight:normal; display:block; }
.looking-for-firefox a { display:block; }

.projects {
	padding:10px;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}

/* }}} */
/* {{{ Media Queries */

@media screen and (max-width: 980px) {
	#nav a,
	#nav span {
		font-size: 13px;
		padding: 15px 12px;
	}

	#header,
	#footer,
	#crumbs,
	h1#page-title {
		margin-left: 3%;
	}
	#main { padding-left: 3%; }
}

@media screen and (max-width: 1070px) {
	#quick-search #q {
		width: 85px;
	}
}

/* }}} */
