/*
Theme Name: Building School
Theme URI: http://swooshable.com/buildingschool
Description: A browser containing building tutorials
Version: 0.1
Author: Linus Bohman
*/


/* RESET ------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border: 0;font-weight: inherit;font-style: inherit;font-size: 100%;line-height: 1;font-family: inherit;text-align: left;vertical-align: baseline;}
a img, :link img, :visited img {border: 0;}
table {border-collapse: collapse; border-spacing: 0;}
ol, ul {list-style: none;}
q:before, q:after, blockquote:before, blockquote:after {content: "";}

/* CLEARFIX ------------------*/
.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
.clearfix {display: inline-block;}
html[xmlns] .clearfix {display: block;}
* html .clearfix {height: 1%;}


/* GENERAL LAYOUT -------------------*/

body {
	background-color: #EFEFEF;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #444;
}

html, body, iframe {
  height: 99.8%;
  width: 100%;
}
iframe {
  width: 100%;
}

/* TOOLBAR -------------------*/

#toolbar {
  position: fixed;
  background: transparent url(img/bg-toolbar.png) top left repeat;
  padding: 10px;
  width: 100%;
  border-bottom: 6px solid #CFE583;
  border-right: 6px solid #CFE583;
}

h1 a {
  font-weight: bold;
  margin: 0 20px 0 0;
}

.menu .content {
  display: none;
  position: absolute;
  left: 0;
  clear: both;
  width: 850px;
  background: #F5F9E6;
  overflow: hidden;
  padding: 40px;
  border: #CFE583 solid 10px;
  margin: 0 40px;
  color: #747D67;
  border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}

.menu:hover .content, .menu:focus .content {
  display: block;
}

.menu h2 {
  background-color: #38393F;
  color: #FFF;
  padding: 5px 10px;
  margin-right: 10px;
  font-size: 11px;
  cursor: default;
}

#toolbar .content li {
  width: 479px;
  float: left;
  padding: 0 0 0 40px;
  border-left: 1px solid #CFE583;
  margin: 0 0 0 40px;
}
#toolbar .content li:first-child {
  padding: 0;
  margin: 0;
  border: 0;
  width: 290px;
}
#toolbar #about li {
  width: 290px;
}
#toolbar #about li:first-child {
  width: 479px;
}

.menu p {
  margin-bottom: 1em;
  line-height: 1.4em;
}

.menu p a {
  color: #A3B668;
  text-decoration: none;
}

.menu p a:hover {
  color: #444; 
}

.menu em {
  font-style: italic;
}

.menu p.authors {
  font-size: 0.8em;
}

form {
  margin-top: 1em;
}

form textarea,
form input[type="text"] {
  width: 100%;
  font-size: 1.2em;
  border: 1px solid #A3B668;
  padding: 3px;
  outline: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
form textarea {
  height: 100px;
}

form label {
  margin: 1em 0 0.3em;
  display: block;
  font-size: 1em;
}
form label:first-child {
  margin-top: 0;
}

form input[type="submit"] {
  margin: 1em 0 0 0 !important;
}

p.success,
.tdomf_form_message  {
  margin: 0 !important;
  padding: 20px !important;
  background: #FF8585;
  border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	color: #B63735;
}
.tdomf_form_message font {
  color: #B63735 !important;
  margin: 0 5px;
  font-weight: bold;
}
p.success,
.tdomf_form_message p {
  margin-bottom: 0;
}
p.success {
  background-color: #CFE583;
  color: #A3B668;
  font-weight: bold;
}

#shadow1 {
  top: 53px !important;
  left: 401px !important;
  height: 380px !important;
}
#ajaxProgress1 {
  left: 620px !important;
  width: 150px !important;
  background: none !important;
}

#toolbar .postcount {
  margin-left: 40px;
  font-size: 12px;
  color: #CFE583;
}
#toolbar .postcount .entries {
  font-size: 34px;
  font-weight: bold;
  color: #A3B668;
}

/* LESSON-LIST -------------------*/
#lesson-list {
  margin: 90px auto 40px auto;
  width: 730px;
}

#lesson-list #filter {
  display: none;  /* Only for people with JS */
  overflow: hidden;
  margin: -10px 0 0 ;
}

#filter li {
  float: left;
  line-height: 1.3em;
  font-weight: bold;
  margin-right: 5px;
}

#filter a {
  text-transform: lowercase;
}

#lesson-list .site-img {
  float: right;
  margin-left: 20px;
  border: 20px solid #DDD;
  max-width: 120px;
}

#lesson-list .lesson {
  padding: 40px 20px 20px;
  margin-top: 20px;
  border-top: dashed 3px #CFE583  ;
}
#lesson-list .lesson:first-child {
  margin-top: 0;
  border-top: 0;
  padding: 20px;
}

#filter a,
#lesson-list .more-info .more-info-expand a,
#lesson-list h3 a {
  text-decoration: none;
  color: #747D67;
}
#filter .current a,
#filter a:hover,
#lesson-list .more-info .more-info-expand a:hover,
#lesson-list h3 a:hover {
  color: #A3B668;
}

#lesson-list a.pdf,
#lesson-list a.new-window {
  background: url(img/pdf.png) right 10px no-repeat;
  padding-right: 28px ;
}
#lesson-list a.new-window  {
  background: url(img/new-window.png) right 10px no-repeat;
}

p.tags, p.categories {
  overflow: hidden;
  clear: left;
}

p.tags {
  margin: 15px 0 0;
}

#lesson-list .more-info {
  font-weight: normal;
  float: right;
  clear: right;
  margin-top: -24px;
}

#lesson-list .more-info .more-info-label {
  background: url("img/more-info.png") no-repeat scroll left top transparent;
  display: none;
  height: 24px;
  width: 24px;
  text-indent: -99999em;
  cursor: pointer;
  float: right;
}

#lesson-list .more-info .more-info-expand {
  clear: right;
  font-size: 0.7em;
  padding: 20px;
  background-color: #DDD;
  width: 120px;
}

#lesson-list .more-info .more-info-expand .added {
  margin-top: 0.4em;
}

#lesson-list .more-info .more-info-expand span {
  display: block;
}


/* FRONT -------------------*/
#front-menu, #front-collapsible, #front-home, #front-icons, #front-go {
  position: absolute;
  display: block;
}

#front-menu {
  top: 80px;
  left: 253px;
  width: 247px;
  background: url(img/front-menu-arrow.png) no-repeat top right;
  padding: 20px 100px 0 0;
}

#front-home {
  top: 73px;
  left: 45px;
  width: 206px;
  background: url(img/front-home-arrow.png) no-repeat top left;
  padding: 200px 0 0 0;
}

#front-collapsible {
  top: 75px;
  right: 20px;
  width: 250px;
  display: none;
  background: url(img/front-collapsible-arrow.png) no-repeat top right;
  padding: 100px 20px 0 0;
}

#front-icons {
  top: 295px;
  left: 350px;
  width: 386px;
  background: url(img/front-icon-underline.png) no-repeat bottom left;
  padding: 0 0 40px 0;
}


/* UTIL -------------------*/
#toolbar br,
#front-collapsible {
  display: none;
}

/* header */
#front-menu, #front-collapsible, #front-home, #front-icons, #front-go,
#lesson-list h2,
#lesson-list h3,
.menu .content h3 {
  font-weight: bold;
  font-size: 2em;
  letter-spacing: -1px;
  margin-bottom: 0.5em;
}
#lesson-list h2 {
  font-size: 3em;
  letter-spacing: -2px;
  text-transform: lowercase;
}

/* tags and category buttons */
p.tags span, p.categories span, h1 a,
form input[type="submit"], .menu h2, p.tags a, p.categories a, #browse a, #minimize {
  border: 0;
  font-size: 18px !important;
  display: block;
  padding: 6px 12px;
  background: #ddd;
  color: #777;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 22px;
  border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	text-align: center;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	float: left;
	text-decoration: none;
	margin: 0 5px 5px 0;
}
form input[type="submit"]:hover, p.tags a:hover, p.categories a:hover, #browse a:hover, #minimize:hover {
  cursor: pointer;
  background: #A3B668;
  color: #FFF;
}

.menu:hover h2 {
  background-color: #CFE583;
  color: #FFF  ;
}

.menu h2 {
  float: none;
  margin: 0 5px 0 0;
}
#toolbar > div {
  float: left;
}

h1 a {
  background-color: #222;
  color: #FFF;
  margin: 0 5px 0 0;
}
h1 a:hover {
  background-color: #666;
}

p.tags span, p.categories span {
  background-color: #A3B668;
  color: #FFF;
}

#minimize {
  float: right !important;
  margin: 0;
}
