/*
Theme Name: NQHT modern
Theme URI: www.nqht.org/
Description: Official theme for North Queensferry Heritage Trust
Version: 2.0
Author: Steven Park
Author URI: www.stevenpark.info
Tags:

CONTENTS
+#00+ Temporary over-rides
+#01+ Init. & Resets
+#02+ Containers
+#03+ Nav
+#04+ Typeography
+#05+ Generic
+#06+ General Content
+#07+ Sidebar Widgets
+#08+ Page specific
+#09+ Features (Plugins etc)
+#10+ In development

Colours used;
# - body colour
# - header colour (post creative blue)
# - hr's, footer text color

*/
/* +#00+ Temporary over-rides +++++++++++++ */


/* +#01+ Init. & Resets +++++++++++++++++++ */
blockquote,q{quotes:"" "";}
body{line-height:1;}
caption,th,td{font-weight:normal;text-align:left;}
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,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,
tfoot,thead,tr,th,td{border:0;font:100% inherit;outline:0;vertical-align:baseline;}
table{border-collapse:collapse;border-spacing:0;}
th,td{text-align:left;vertical-align:top;}
#header ul,#header li,#nav,#nav li,#nav-discover,#nav-discover ul,#nav-discover li,
#footer ul,#footer li,#sidebar ul,#sidebar li{list-style:none;margin:0;padding:0;}
html,#header *,body,#footer *,div,span,img,fieldset,h1,h2,h3,h4,h5,h6,p,cite{margin:0;padding:0;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}

/* +#02+ Containers +++++++++++++++++++++++ */
body {
  margin: 0 auto;
  padding: 0 0 10px 0;
  background: #c6bfb4 url(.././images/system/body-bg.jpg);
  text-align: center;
}
#page {
  margin: 0 auto 50px auto;
  padding: 0 0 0 0;
  width: 955px;
  text-align: left;
}
#content {
  float: left;
  margin: 0 -240px 0 0;
  width: 925px;
  padding: 15px 10px;
  background: #fff url(.././images/system/sidebar-bg.gif) 100% 0 repeat-y;
}
.wrapper-outer {
  overflow: auto;
  margin: 5px 0;
  width: 945px;
  height: 0.01%;
  background: #fff url(.././images/system/sidebar-bg.gif) 100% 0 repeat-y;
}
#content .wrapper {
  margin: 0 235px 0 0;
  position: relative;
}
#sidebar {
  float: right;
  width: 210px;
  padding-left: 10px;
  margin: 5em 15px 0 0;
}
#footer {
  clear: both;
  text-align: center;
}
#footer p {
  margin: 0;
  line-height: 30px;
  background: #005969 url(.././images/system/shadow-bg.gif) repeat-x bottom;
  color: #eee;
}
.wrapper-outer, #footer, #nav, #nav-discover {
  border: solid 5px #fff;
}
/* Header */
#header {
  position: relative;
  margin: 0;
}
#header h1 {
  padding: 0;
  margin: 0 0 5px 0;
  height: 100px;
  text-indent: -9999px;
  background: transparent url(.././images/system/header2.jpg) no-repeat;
}

/* +#03+ Nav ++++++++++++++++++++++++++ */
/* Nav */
#nav {
  width: 700px;
  height: 35px;
  overflow: hidden;
  background: transparent url(.././images/system/nav.gif) no-repeat;
}
#header #nav {
  border-bottom: none;
}
#nav li {
  display: inline;
  float: left;
  text-indent: -9999px;
}
#nav li a {
  color: #fff;
  line-height: 35px;
  display: block;
  text-decoration: none;
  outline: none;
}
#nav li a {
  background: transparent url(.././images/system/nav.gif) no-repeat;
}
#nav li a:hover {
  background-position: 0 -35px;
}
li#nav-home a 		{width: 65px; background-position: 0 0;}
li#nav-about a 		{width: 65px; background-position: -65px 0;}
li#nav-events a 	{width: 71px; background-position: -130px 0;}
li#nav-projects a 	{width: 79px; background-position: -201px 0;}
li#nav-membership a 	{width: 107px; background-position: -280px 0;}
li#nav-publications a 	{width: 107px; background-position: -386px 0;}
li#nav-forum a 		{width: 70px; background-position: -493px 0;}
li#nav-contact a 	{width: 76px; background-position: -563px 0;}
li#nav-links a 		{width: 60px; background-position: -640px 0; border-right: none;}

li#nav-home a:hover, li#nav-home.nav-selected a 		{background-position: 0 -35px;}
li#nav-about a:hover, li#nav-about.nav-selected a 		{background-position: -65px -35px;}
li#nav-events a:hover, li#nav-events.nav-selected a 		{background-position: -130px -35px;}
li#nav-projects a:hover, li#nav-projects.nav-selected a		{background-position: -201px -35px;}
li#nav-membership a:hover, li#nav-membership.nav-selected a	{background-position: -280px -35px;}
li#nav-publications a:hover, li#nav-publications.nav-selected a {background-position: -386px -35px;}
li#nav-forum a:hover, li#nav-forum.nav-selected a 		{background-position: -493px -35px;}
li#nav-contact a:hover, li#nav-contact.nav-selected a 		{background-position: -563px -35px;}
li#nav-links a:hover, li#nav-links.nav-selected a 		{background-position: -640px -35px;}

/* Nav - Discover */
#nav-discover {
  width:230px;
  height:35px;
  z-index:100;
  position: absolute;
  right: 0;
  top: 105px;
}
#header #nav-discover {
  border-bottom: none;
}
#nav-discover li a {
  display:block;
  text-decoration:none;
  width:230px;
  text-align:center;
  color:#fff;
  background:#ef8415;
  line-height:35px;
  overflow:hidden;
}
#nav-discover li {
  float:left;
  position:relative;
}
#nav-discover li ul {
  display: none;
}
/* specific to non IE browsers */
#nav-discover li:hover a {
  color:#fff;
  background:#d76e01;
}
#nav-discover li:hover ul {
  display:block;
  position:absolute;
  top:30px;
  left:0;
  width:105px;
}
#nav-discover li:hover ul li {
  border-top: solid 1px #d9d9d9;
}
#nav-discover li:hover ul li a.hide {
  background:#d76e01;
  color:#fff;
}
#nav-discover li:hover ul li:hover a.hide {background:#d76e01;}
#nav-discover li:hover ul li ul {
  display: none;
}
#nav-discover li:hover ul li a {
  display:block;
  background: #53747e;
}
#nav-discover li:hover ul li a:hover {
  background: #2062a7;
}
#nav-discover li:hover ul li:hover ul {
  display: block;
  position: absolute;
  left: 105px;
  top: 0;
}
#nav-discover li:hover ul li:hover ul.left {left:-105px;}

/* +#04+ Typeography ++++++++++++++++++++++ */
body {
  /* Font stack from http://www.codestyle.org/ */
  font: 62.5%/1.3 Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L", Times, "Times New Roman", serif;
  color: #2f2f2f;
}
#page {
  font-size: 1.3em;
}
h1, h2, h3, h4, h5, h6, p {
  margin: 0 0 15px 0;
}
h1, h2 {
  color: #53747e;
}
h1 {
  font-size: 2.2em;
}
h2 {
  font-size: 1.5em;
  text-shadow: 0 1px 1px #9f9f9f;
}
h3, h4 {
  font-size: 1.1em;
}
h1 a {
  color: #fff;
}
h2 {
  margin: 0 0 15px 0;
  font-weight: normal;
}
h2.pagetitle {
  margin: 0 -235px 20px 0;
  border-bottom: solid 1px #d9d9d9;
  padding-bottom: 2px;
}
.pagetitle {
  font-size: 1.8em;
  font-weight: normal;
}
p.entry-date {
  margin-top: -10px;
}
a:link, a:visited, a:active, a:hover {
 text-decoration: none;
 color: #5b9f0e;
 font-weight: bold;
 font-size: 1.1em;
}
a:hover, a:focus {
  color: #3d6f00;
}
#footer a {
  color: #fff;
}
#footer a:focus {
  text-decoration: underline;
}

/* +#05+ Generic ++++++++++++++++++++++++++ */
.clear			{clear: both;}
.clearleft		{clear: left;}
.clearright		{clear: right;}

.left			{text-align: left;}
.center			{text-align: center;}
.right			{text-align: right;}
.centered		{display: block; margin-left: auto; margin-right: auto;}
.floatleft		{float: left;}
.floatright		{float: right;}

.w-quarter		{width: 25%;}
.w-third		{width: 33%;}
.w-half			{width: 50%;}
.w-twothird		{width: 66%;}
.w-threequarter {width: 75%;}
.w-full			{width: 100%;}

.flatspacing	{margin: 0; padding: 0;}

.remove			{display: none;}
.invisible		{visibility: hidden;}
/*.hide			{position: absolute; top: -9999px;}*/

/* +#06+ General Content ++++++++++++++++++ */

/* Pagination */
.pagination {
  position: relative;
  padding: 5px 8px;
  height: 1.4em;
  clear: both;
  margin: 25px 0;
  border-top: solid 1px #d9d9d9;
}
.status {
  width: 30%;
  position: absolute;
  left: 33%;
  text-align: center;
  margin: 0;
}
.prev_page {
  width: 30%;
  margin: 0;
}
.next_page {
  width: 30%;
  margin: 0;
  right: 10px;
  top: 5px;
  position: absolute;
  text-align: right;
}
table .pagecount {
  margin: 0;
  text-align: center;
}
/* Details Table & Lists */
table.detailslist {
  width: 100%;
  margin-bottom: 10px;
}
.detailslist th {
  background: #005969 url(.././images/system/shadow-bg.gif) repeat-x bottom;
  color: #eee;
  padding: 5px 5px;
  font-weight: bold;
  border: 1px solid #d9d9d9;
}
.detailslist td {
  border: 1px solid #d9d9d9;
  padding: 3px 5px;
}
.nav_categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
#content ul.nav_categories li, #sidebar ul.nav_categories li {
  list-style: none;
  border-bottom: solid 1px #d9d9d9;
  padding: 5px 0;
}

/* Purchase Items */
.purchase-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.purchase-item-description {
  float: right;
  width: 455px;
}
.purchase-item-description h2, .purchase-item-description h3 {
  margin: 0;
  line-height: 1em;
}
.purchase-item-description h3 {
  margin: 10px 0;
}
.purchase-item-price {
  font-style: italic;
  font-size: 1.6em;
  font-weight: normal;
  color: #8f8f8f;
}
.purchase-item-details {
  float: left;
  width: 200px;
  padding: 10px;
  text-align: center;
  background: #f0efe0;
  margin-bottom: 15px;
}
.purchase-item-details img.product-image {
  width: 200px;
}
.purchase-item-buttons {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.purchase-item-buttons li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  border-top: solid 1px #d9d9d9;
  padding-top: 5px;
}
/* Features */
.feature {
  background: #e3ded7;
  padding: 10px;
  margin-bottom: 10px;
}
.feature h2 {
  background: #d5cb9a;
  color: #2f2f2f;
  font-size: 1.3em;
  padding: 0.1em 5px;
  margin: -10px -10px 10px -10px;
  border-bottom: solid 2px #fff;
}
.feature ul {
  margin: 0;
  padding: 0 0 0 20px;
}
/* Misc content */
.img-left {
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}
hr {
  height: 1px;
  border: none;
  border-top: 1px solid #d9d9d9;
  margin: 10px 0 15px 0;
  clear: both;
}
.link-pdf {
  background: transparent url(.././images/system/pdf-icon.gif) no-repeat;
  display: block;
  padding: 0 0 5px 35px;
}

/* +#07+ Sidebar Widgets ++++++++++++++++++ */


/* +#08+ Page specific ++++++++++++++++ */
/* Homepage */
.homepage #content .wrapper {
  margin: 0;
}
.homepage #content {
  background: #fff;
}
/* Homepage - Intro */
#home-intro {
  background: #d8cfa1;
  height: 250px;
  padding: 10px;
  margin-top: 5px;
  position: relative;
  border: solid 5px #fff;
}
#home-intro .main-feature {
  position: absolute;
  top: 10px;
  right: 10px;
}
#home-intro .main-feature {
  width: 220px;
  height: 250px;
}
#home-intro .main-feature .main-feature-text {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  background: #000;
  width: 220px;
  border-top: 2px solid;
  min-height: 100px;
}
#home-intro .main-feature-text h3 {
  margin: 5px 8px 0 8px;
  color: #fff;
}
#home-intro .main-feature-text p {
  margin: 5px 8px;
}
/* Homepage - Slideshow */
#home-intro .slideshow {
  width: 690px;
  height: 250px;
}
#slideshow-container {
  position: relative;
  height: 250px;
  width: 690px;
}
#slideshow-container img {
  width: 470px;
  height: 250px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#slideshow-container-controls,
#slideshow-single .entry-summary {
  position: absolute;
  top: 10px;
  left: 480px;
  width: 220px;
  height: 250px;
  background: #fff;
}
#slideshow-container-controls div {
  cursor: pointer;
  width: 218px;
  height: 82px;
  background: #878160 url(.././images/system/feature-shadow-bg-off.gif) repeat-x bottom;
  margin: 0 0 2px 2px;
  overflow: hidden;
}
#slideshow-container-controls > .toc-active {
  margin-left: -8px;
  margin-right: 8px;
  width: 228px;
}
#slideshow-container-controls div.toc-active {
  background: #005d6e url(.././images/system/feature-shadow-bg-on.gif) repeat-x bottom;
}
#slideshow-container-controls div.toc-active:hover {
  background: #2062a7 url(../../images/system/feature-shadow-bg-on.gif) repeat-x bottom;
}
#slideshow-container-controls {
  z-index: 99;
}
#slideshow-container-caption {
  width: 470px;
  height: 100px;
  border-top: 2px solid #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #000;
  z-index: 10;
  overflow: hidden;
}
#slideshow-container-caption * {
  width: 450px;
}
* html #slideshow-container-caption {
  width: 100%;
}
#slideshow-container h3, #slideshow-container-controls h3 {
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 1.1em;
  padding: 5px 8px 0 8px;
}
#slideshow-container p, #slideshow-container-controls p {
  color:#eee;
  margin: 0;
  line-height: 1.2em;
  padding: 5px 8px;
}
#slideshow-single .entry-summary {
  border-left: 2px solid #fff;
  width: 202px;
  height: 245px;
  padding: 5px 8px 0 8px;
  color: #fff;
  background: #005d6e url(../../images/system/feature-shadow-bg.gif) repeat-x bottom;
}
/* Homepage - Welcome */
#home-welcome {
  margin: -15px -10px 20px -10px;
  position: relative;
  min-height: 250px;
  padding: 10px;
  background: #eae5c8 url(.././images/system/welcome-text-bg.jpg) right top no-repeat;
}
#home-welcome-text {
  margin-left: 5px;
  width: 480px;
}
#home-welcome-text h2 {
  color: #53747e;
  font-size: 1.85em;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
  width: 550px;
  text-shadow: 0 1px 1px #2f2f2f;
}
#home-welcome-text p {
  margin: 0 10px 10px 0;
}
#home-welcome-text p.welcome-main {
  font-size: 1.1em;
}
#home-welcome-text p strong {
  font-size: 1.1em;
  text-shadow: 0 1px 1px #9f9f9f;
}
/* Homepage - Latest */
#home-latest {
  overflow: auto;
}
#home-latest .entry {
  margin-bottom: 10px;
}
#home-latest p {
  margin: 5px 0;
}
#home-latest-projects, #home-latest-news, #home-latest-events, #home-get-involved {
  width: 220px;
  float: left;
  margin-right: 15px;
}
#home-get-involved {
  margin-right: 0px;
}
#home-latest .entry {
  border-bottom: solid 1px #e8e3cb;
  padding-bottom: 5px;
}
.homepage .entry h3 {
  margin-bottom: 5px;
}
/* Contact Form */
#contact-form .contactfield {
  background: #f3f2e4;
  padding: 10px;
  border-bottom: 1px #fff solid;
}
#contact-form label {
  width: 6em;
  display: block;
  text-align: right;
  margin-right: 10px;
  float: left;
}
#contact-form input {
  width: 200px;
}
#contact-form textarea {
  width: 450px;
}
#contact-form .button {
  width: 8em;
  margin-left: 7em;
}
#user-response .error {
  padding: 2px 5px;
  margin-bottom: 5px;
  background: #ffcfd2;
}
.input-error {
  border: solid 1px red;
}
#contact-form #captcha_label {
  float: none;
  width: 550px;
  text-align: left;
  margin-bottom: 10px;
  padding-left: 7em;
}
#contact-form #captcha_img {
  display: block;
  margin: 0 0 10px 7em;
}
#contact-form #captcha_field {
  display: block;
  margin: 0 0 10px 7em;
}
/* Gallery */
.gallery, .gallery-item {
  width: 100%;
}
.gallery td {
  text-align: center;
}
.gallery td.thumbs, .gallery-item td {
  padding: 10px;
  background: #f0efe0;
  border: solid 2px #fff;
}

/* +#09+ Features (Plugins etc) +++++++++++ */


/* +#10+ In development +++++++++++++++++++ */
#slideshow-container-controls p {
  font-weight: normal !important;
}
#home-login label {
  width: 80px;
  display: block;
  float: left;
}
#home-login .input {
  width: 110px;
  font-size: 0.9em;
}
#home-login .form-remember {
  font-size: 0.9em;
}
#home-login .form-submit {
}
#home-login .form-passwordreset{
  font-size: 0.9em;
  margin-bottom: 0;
}
.tint1, .tint2, .tint3 {
  border: 1px solid #b6b595;
  padding: 5px 8px;
}
.tint1 {
  background: #f3f2e4;
}
.tint2 {
  background: #e0ecef;
}
.tint3 {
  background: #ffefbf;
}
.admin-edit {
  position: absolute;
  left: -70px;
  padding: 2px 5px;
  width: 40px;
  top: -5px;
  background: #fff;
  text-align: center;
}
.detailslist td {
 -moz-box-shadow: inset 0 0 5px #e9e9e9;
 -webkit-box-shadow: inset 0 0 5px #e9e9e9;
  box-shadow: inset 0 0 5px #e9e9e9;
}
.thumbs {
 -moz-box-shadow: inset 0 0 12px #c9c9c9;
 -webkit-box-shadow: inset 0 0 12px #c9c9c9;
  box-shadow: inset 0 0 12px #c9c9c9;
}
.wrapper-outer, #footer, #nav, #nav-discover,
.thumbs img, #home-intro  {
 -moz-box-shadow: 0 0 5px #1f1f1f;
 -webkit-box-shadow: 0 0 5px #1f1f1f;
  box-shadow: 0 0 5px #1f1f1f;
}
#sub-nav-discover {
 -moz-box-shadow: 0 3px 8px #4f4f4f;
 -webkit-box-shadow: 0 3px 8px #4f4f4f;
  box-shadow: 0 3px 8px #4f4f4f;
  width: 230px !important;
  overflow: hidden;;
}
#nav-discover #nav-discover-nq a {
  text-indent: -9999px;
  background: transparent url(.././images/system/nav.gif) no-repeat -700px 0;
}
#nav-discover #nav-discover-nq a:hover, #nav-discover li#nav-discover-nq.nav-selected a {
  background-position: -700px -35px;
}
#nav-discover #nav-discover-nq ul a {
  text-indent: 0;
  padding: 5px;
  line-height:1.2em !important;
  font-weight: normal;
  letter-spacing: -0.01em;
  background: #ef8415;
}
#nav-discover #nav-discover-nq ul a:hover {
  background: #f2a100 url(.././images/system/nav-discover-bg.gif) repeat-x -700px bottom !important;
}
#nav-discover, #nav-discover * {
  z-index: 99999px;
}

.marker-1 {color: #ffb400; font-size: 1.1em;}
.marker-2 {color: #ff0f7e; font-size: 1.1em;}
.marker-3 {color: #33b1e2; font-size: 1.1em;}


/* Tables */
table {
  margin-bottom: 10px;
}
#sidebar table {
  width: 100%;
}
table th {
  background: #005969 url(.././images/system/shadow-bg.gif) repeat-x bottom;
  color: #eee;
  padding: 5px 5px;
  font-weight: bold;
  border: 1px solid #d9d9d9;
}
table td {
  border: 1px solid #d9d9d9;
  padding: 3px 5px;
}
