/*
Theme Name: Smoke Alarm Pro
Theme URI: http://wordpress.org/
Description: 
Version: 1.0
Author: Mind Medium Creative
Author URI: http://mindmediumcreative.com/
Tags: custom
*/




/* TEST
------------------------------------------------------------ */
/*
#header {
  background-color: lightblue;
}
  #navigation {
    background-color: orange;
  }
  form#searchform {
    background-color: pink;
  }
#section {
  background: lightgreen;
}
  #sidebar {
    background-color: wheat;
  }
  #content {
    background-color: pink;
  }
*/







/* MAIN
------------------------------------------------------------ */
body {
  font-size: 12px;
  background: url(images/body_bg.png) center top;
  font-family: Arial, 'Lucida Grande', Verdana, Arial, Sans-Serif;
  color: #000;
}
a {
  color: #ffc000;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}






/* CONTAINER
------------------------------------------------------------ */
#container_outer {
  background: url(images/container_outer_bg.png) center top repeat-x;
  overflow: auto;
}
#container {
  position: relative;
}




/* HEADER
------------------------------------------------------------ */
#header {
  clear: both;
  margin: 0 auto;
  position: relative;
  /*overflow: auto;*/
  overflow: hidden;
  
  width: 100%;
  height: 185px;
  /*background: url(images/header_bg_with_nav.jpg) center top no-repeat;*/
  background: url(images/header_bg_with_nav.jpg) center top no-repeat;
  
}

#header div#logo {
  clear: both;
  position: relative;
  margin: 0 auto;
  width: 320px;
  height: 100px;
  margin-top: 20px;
}
#header div#logo a {
  display: block;
  width: 100%;
  height: 100%;
}
#header div#logo a span {
  display: none;
}
#header div.description {
  display: none;
}





/* HEADER - NAVIGATION
------------------------------------------------------------ */
#navigation {
  position: relative;
  /*width: 900px;*/
  width: 900px;
  margin: 0 auto;
  margin-top: 13px;
  height: 40px;
}
#navigation ul {
}
#navigation ul li {
  
}
#navigation ul li a {
  position: absolute;
  height: 40px;
}
#navigation ul li a span {
  display: none;
}


/* specific */
#navigation ul li.alarm-reviews a {
  width: 126px;
  left: 171px;
}
#navigation ul li.new-alarms a {
  width: 110px;
  left: 297px;
}
#navigation ul li.safety-tips a {
  width: 99px;
  left: 407px;
}
#navigation ul li.alarm-laws a {
  width: 107px;
  left: 506px;
}
#navigation ul li.alarm-finder a {
  width: 115px;
  left: 613px;
}

/* specific - hover, current */
body.category-smoke-alarm-reviews #navigation ul li.alarm-reviews a,
#navigation ul li.alarm-reviews a:hover {
  background: url(images/1_alarm_reviews.png);
}
body.category-new-smoke-alarms #navigation ul li.new-alarms a,
#navigation ul li.new-alarms a:hover {
  background: url(images/2_new_alarms.png);
}
body.page-permalink-smoke-alarm-safety-tips #navigation ul li.safety-tips a,
#navigation ul li.safety-tips a:hover {
  background: url(images/3_safety_tips.png);
}
body.page-permalink-smoke-alarm-laws #navigation ul li.alarm-laws a,
#navigation ul li.alarm-laws a:hover {
  background: url(images/4_alarm_laws.png);
}
body.page-permalink-smoke-alarm-finder #navigation ul li.alarm-finder a,
#navigation ul li.alarm-finder a:hover {
  background: url(images/5_alarm_finder.png);
}






/* SECTION
------------------------------------------------------------ */
#section_outer {
  margin: 0 auto;
  /*width: 918px;*/
  background: url(images/section_outer_bg.png) center top repeat-y;
}
#section {
  /*width: 900px;*/
  width: 860px;
  padding: 20px;
  padding-top: 8px; /* header_bg.png already has 12px in the image */
  margin: 0 auto;
  overflow: auto;
  background: #FFF;
}

  




/* SECTION - CONTENT
------------------------------------------------------------ */
#content {
  float: left;
  width: 600px !important;
  min-height: 800px;
  margin-bottom: 20px;
}



#content h2 {
  margin-top: 0 !important;
  margin-bottom: 5px;
  font-size: 20px;
  border-bottom: 1px dashed #dcb526;
  padding-bottom: 5px;
}
#content h2 a {
  color: #000;
}

#content h2.pagetitle {
  font-size: 24px;
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#content h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 2px;
}

#content p {
  line-height: 17px;
  margin-bottom: 10px;
}
#content p.buy a {
  color: red;
  font-size: 14px;
  background: pink;
  padding: 5px;
}



td.state {
  font-weight: bold;
}

td.city_url,
td.fire_url,
td.alarm_url {
  /*text-align: center;*/
}





/* SECTION - SIDEBAR
------------------------------------------------------------ */
#sidebar {
  float: right;
  width: 240px;
}

#sidebar h2 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 5px;
  
}
#sidebar a {

}
#sidebar ul li ul {
  margin-bottom: 20px;
  margin-left: 20px;
  list-style: disc outside;
  line-height: 16px;
}
#sidebar ul li ul li {
}
#sidebar ul li ul li a {
}

#sidebar ul li.banner {
  width: 240px;
  height: 400px;
  overflow: hidden;
  clear: both;
  margin-bottom: 10px;
}
#sidebar ul li.banner a {
}
#sidebar ul li.banner img {
}


/* browsing */
#sidebar ul li.browsing {
  margin-bottom: 10px;
}
#sidebar ul li.browsing p {
  line-height: 15px;
}


/* search */
form#searchform {
  position: relative;
  margin-bottom: 10px;
  display: block;
  height: 89px;
  background: url(images/search_background.png) repeat-x;
}

form#searchform div {
}
form#searchform div label {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #FFF;
  font-size: 22px;
}
form#searchform div p {
  position: absolute;
  left: 10px;
  top: 35px;
  color: #CCC;
}
form#searchform div input#s {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border: 0;
  padding: 3px;
  background: #FFF;
  width: 166px;
}
form#searchform div input#searchsubmit {
  position: absolute;
  right: 10px;
  bottom: 10px;
}



/* SECTION - BOTTOM
------------------------------------------------------------ */
#bottom {
  clear: both;
  overflow: auto;
  margin-top: 10px;
  height: 100px;
  background: url(images/footer_logo.png) 10px top no-repeat;
}
#bottom div.banner {
  width: 728px;
  height: 90px;
  float: right;
}



/* FOOTER
------------------------------------------------------------ */
#footer {
  clear: both;
  overflow: auto;
  margin: 0 auto;
  height: 60px;
  background: url(images/section_footer_bg.png) center top no-repeat;
}

#footer p.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
}
/* specific */
body.wordpress.page.page-permalink-about #footer ul li.about a {
  color: #C00;
}



/* FORMS
------------------------------------------------------------ */
div.form-container {
  margin-top: 20px;
}

p.legend { margin-bottom: 1em; }
p.legend em { color: #C00; font-style: normal; }

div.errors { margin: 0 0 10px 0; padding: 5px 10px; border: #FC6 1px solid; background-color: #FFC; }
div.errors p { margin: 0; }
div.errors p em { color: #C00; font-style: normal; font-weight: bold; }

div.form-container form {
  margin-bottom: 20px;
}
div.form-container form p { margin: 0; }
div.form-container form p.note { margin-left: 170px; font-size: 90%; color: #333; }
div.form-container form fieldset { margin: 10px 0; padding: 10px; border: #DDD 1px solid; }
div.form-container form legend { font-weight: bold; color: #666; display: none; }
div.form-container form fieldset div { padding: 0.25em 0; }
div.form-container label, 
div.form-container span.label { margin-right: 10px; padding-right: 10px; width: 150px; display: block; float: left; text-align: right; position: relative; }
div.form-container label.error, 
div.form-container span.error { color: #C00; }
div.form-container label em, 
div.form-container span.label em { position: absolute; right: 0; font-size: 120%; font-style: normal; color: #C00; }
div.form-container input.error { border-color: #C00; background-color: #FEF; }
div.form-container input:focus,
div.form-container input.error:focus, 
div.form-container textarea:focus {	background-color: #FFC; border-color: #FC6; }
div.form-container div.controlset label, 
div.form-container div.controlset input { display: inline; float: none; }
div.form-container div.controlset div { margin-left: 170px; }
div.form-container div.buttonrow { margin-left: 170px; }


/* TABLES
------------------------------------------------------------ */
div.table-container {
}
div.table-container table {
  width: 100%;
}
div.table-container table thead {
}
div.table-container table thead tr {
  background: #F3F3F3;
  /*text-align: center;*/
  text-align: left;
  font-weight: bold;
  color: #999;
  
}
div.table-container table thead tr th {
  padding: 5px;
}
div.table-container table tbody {
}
div.table-container table tbody tr {
}
div.table-container table tbody tr:hover {
  /*background: #F0F0F0;*/
}
div.table-container table tbody tr td {
  padding: 5px;
}
/**/
div.table-container table tfoot {
}




/********************************************************************************/
/********************************************************************************/
/********************************************************************************/
/********************************************************************************/
/********************************************************************************/








/* Begin Typography & Colors */

.thread-alt {
  background-color: #f8f8f8;
}
.thread-even {
  background-color: white;
}
.depth-1 {
  border: 1px solid #ddd;
}

.even, .alt {
  border-left: 1px solid #ddd;
}

.entry p a:visited {
  color: #b85b5a;
}

.commentlist li, #commentform input, #commentform textarea {
}
.commentlist li ul li {
}
.commentlist li {
}

.commentlist li .avatar { 
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  background: #fff;
}

.commentlist cite, .commentlist cite a {
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
  }

.commentlist p {
  font-weight: normal;
  line-height: 1.5em;
  text-transform: none;
  }

#commentform p {
  }

.commentmetadata {
  font-weight: normal;
  }

#sidebar {
  }

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
  color: #777;
  }

code {
  font: 1.1em 'Courier New', Courier, Fixed;
  }

acronym, abbr, span.caps
{
  font-size: 0.9em;
  letter-spacing: .07em;
  }



#wp-calendar #prev a, #wp-calendar #next a {
  font-size: 9pt;
  }

#wp-calendar a {
  text-decoration: none;
  }

#wp-calendar caption {
  font-weight: bold;
  text-align: center;
  }

#wp-calendar th {
  font-style: normal;
  text-transform: capitalize;
  }
/* End Typography & Colors */



/* Begin Structure */


.post {
  margin: 0 0 40px;
  text-align: justify;
  }

.post hr {
  display: block;
  }

.widecolumn .post {
  margin: 0;
  }

.narrowcolumn .postmetadata {
  padding-top: 5px;
  }

.widecolumn .postmetadata {
  margin: 30px 0;
  }

.widecolumn .smallattachment {
  text-align: center;
  float: left;
  width: 128px;
  margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
  text-align: center;
  margin: 5px 0px;
}

.postmetadata {
  clear: both;
}

.clear {
  clear: both;
}


/* End Structure */



/*  Begin Headers */

h2.pagetitle {
  margin-top: 30px;
  text-align: center;
}


h3 {
  padding: 0;
  margin: 30px 0 0;
  }

h3.comments {
  padding: 0;
  margin: 40px auto 20px ;
  }
/* End Headers */



/* Begin Images */
p img {
  padding: 0;
  max-width: 100%;
  }

/*  Using 'class="alignright"' on an image will (who would've
  thought?!) align the image to the right. And using 'class="centered',
  will of course center the image. This is much better than using
  align="center", being much more futureproof (and valid) */

img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
  }

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
  }

.alignright {
  float: right;
  }

.alignleft {
  float: left
  }
/* End Images */



#commentform input {
  width: 170px;
  padding: 2px;
  margin: 5px 5px 1px 0;
  }

#commentform {
  margin: 5px 10px 0 0;
  }
#commentform textarea {
  width: 100%;
  padding: 2px;
  }
#respond:after {
    content: "."; 
      display: block; 
      height: 0; 
      clear: both; 
      visibility: hidden;
  }
#commentform #submit {
  margin: 0 0 5px auto;
  float: right;
  }
/* End Form Elements */



/* Begin Comments*/
.alt {
  margin: 0;
  padding: 10px;
  }

.commentlist {
  padding: 0;
  text-align: justify;
  }

.commentlist li {
  margin: 15px 0 10px;
  padding: 5px 5px 10px 10px;
  list-style: none;

  }
.commentlist li ul li { 
  margin-right: -5px;
  margin-left: 10px;
}

.commentlist p {
  margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
  margin: 5px 0;
  }

.nocomments {
  text-align: center;
  margin: 0;
  padding: 0;
  }

.commentmetadata {
  margin: 0;
  display: block;
  }
/* End Comments */







/* Begin Calendar */
#wp-calendar {
  empty-cells: show;
  margin: 10px auto 0;
  width: 155px;
  }

#wp-calendar #next a {
  padding-right: 10px;
  text-align: right;
  }

#wp-calendar #prev a {
  padding-left: 10px;
  text-align: left;
  }

#wp-calendar a {
  display: block;
  }

#wp-calendar caption {
  text-align: center;
  width: 100%;
  }

#wp-calendar td {
  padding: 3px 0;
  text-align: center;
  }

#wp-calendar td.pad:hover { /* Doesn't work in IE */
  background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
  cursor: help;
  }

acronym, abbr {
  border-bottom: 1px dashed #999;
  }

blockquote {
  margin: 15px 30px 0 10px;
  padding-left: 20px;
  border-left: 5px solid #ddd;
  }

blockquote cite {
  margin: 5px 0 0;
  display: block;
  }

.center {
  text-align: center;
  }

.hidden {
  display: none;
  }

hr {
  display: none;
  }

a img {
  border: none;
  }

.navigation {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 60px;
  }
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  /*
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  */
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End captions */










/* PAGE - SMOKE ALARM FINDER
------------------------------------------------------------ */
body.page-permalink-smoke-alarm-finder #content h3.search_results {
  font-size: 18px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #CCC;
}

body.page-permalink-smoke-alarm-finder #content div.block {
  margin-bottom: 50px;
}
body.page-permalink-smoke-alarm-finder #content div.block h4 {
  font-size: 14px;
  margin-bottom: 5px;
}
body.page-permalink-smoke-alarm-finder #content div.block p.msg {
  color: red;
}
body.page-permalink-smoke-alarm-finder #content div.block div.alarm {
  margin-bottom: 20px;
}












/* PAGE - SMOKE ALARM LAWS
------------------------------------------------------------ */
body.page-permalink-smoke-alarm-laws #content {
  margin-bottom: 500px;
}
body.page-permalink-smoke-alarm-laws #content p.note.zoom {
  margin-top: -5px;
  font-size: 11px;
  text-align: right;
}
body.page-permalink-smoke-alarm-laws #content div.table-container {
  margin-top: 50px;
}
body.page-permalink-smoke-alarm-laws #content div.table-container tr.anchor td {
  padding-top: 30px;
}





