/********************************************
   AUTHOR:  			Scott Sampson
   WEBSITE:   			http://www.greyeddesign.co.uk/
	TEMPLATE NAME: 	Greyed Design Mk X
   VERSION:          2.0
 *******************************************/

/********************************************
   HTML ELEMENTS
********************************************/

/* top elements */
* {
	padding: 0; margin: 0;
}
body {
	margin: 0; 	padding: 0;
	font: normal 16px/1.5em Tahoma, 'Trebuchet MS', sans-serif;
	color: #FFF;
	text-align: center;
	background: #000;
}

/* links */
a {
	color: #F88F26;
	background-color: inherit;
	text-decoration: none;
    font-weight: bold;
}
a:hover {
	color: #FFF;
	background-color: inherit;
    text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font: bold 1.3em 'Trebuchet MS', Arial, Sans-serif;
	color: #A0080D;
}
h1 { font-size: 110%; }
h2 { font-size: 105%; text-transform:uppercase;}
h3 { font-size: 100%;}

#main h1 {
	font: normal 1.5em 'Trebuchet MS', Arial, Sans-serif;
	color: #DBD0A3;
}
#sidebar h2 {
	font-family:  'Trebuchet MS', Arial, Sans-serif;
    font-weight: bold;
	background: #000 url(../images/arrow.gif) no-repeat 10px .7em;
	padding: 7px 0 7px 35px;
	color: #A0080D;
}

p, h1, h2, h3 {
	margin: 0;
	padding: 10px 15px;
}

ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #FFF;
    font-size: 90%;
}
ul span, ol span {
	color: #CCC;
}

/* images */
img {
	border: 0;
}
img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {
  border: 0;
}
a:hover img {
  border: 0;
}
img.portfolioLeft{
  border: 0;
}


code {
  margin: 5px auto;
  padding: 10px;
  width: 80%;
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 90%/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #111;
  border: 1px solid #f88f26;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 20px;
    color: #fff;
  	background: #111;
   font: bold 90%/1.5em 'Trebuchet MS', Sans-serif;
}

/* form elements */
form {
	margin: 15px;
	padding: 0;
	background: #000;
   border: 1px dashed #151515;
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border: 1px solid #CCC;
	font: normal 95% Verdana, sans-serif;
	color:#000;
	background: #CCC;
}
textarea {
	width: 250px;
	padding:2px;
	border: 1px solid #CCC;
	font: normal 1em Verdana, sans-serif;
	height:100px;
	display:block;
	color:#000;
	background: #CCC;
}
input.button {
	margin: 0;
	font: bold 1em Tahoma, Sans-serif;
	border: 1px solid #CCC;
	padding: 2px 3px;
	color: #000;
	background: #CCC;
}

/* search form */

div.searchform{
  width: 210px;
}
p.ajaxSearch_intro{
  display: none;
}


.searchform fieldset{
  border: 0;
}

#ajaxSearch_form {
	position: absolute;
	/*bottom: 10px; */right: 110px;
	background-color: transparent;
	border: none;
    width: 210px;
	margin:  0; padding: 0;
       }
       #ajaxSearch_input {
	margin: 0 ; padding: 0 ;
	width: 130px;
	background: #000;
	color: #FFF;
	height: 20px;
	border: 1px solid #7E050A;
	vertical-align: top;
    font-size: 95%;
       }
       #ajaxSearch_submit {
    position: absolute;
    right: 5px;
    top: 5px;
	font-size: 100%;
	background: #000;
	color: #f00;
	width: 70px;
	height: 22px;
	border: 1px dashed #7E050A;
	padding: 0px;
	vertical-align: top;
       }
       #ajaxSearch_output {
           border: 1px solid #444;
           padding: 10px;
           background: #fff;
           display: block;
           height: auto;
           vertical-align: top;
       }
       .AS_ajax_result {
           color: #444;
           margin-bottom: 3px;
       }
       .AS_ajax_resultLink {
           text-decoration: underline;
       }
       .AS_ajax_resultDescription{
           color: #555;
       }
       .AS_ajax_more {
           color: #555;
       }

/***********************
	  LAYOUT
************************/

#header-content, #footer-content, #content {
	width: 83%;
}

/* header */
#header {
	background: #444 url(../images/headerbg.jpg) repeat-x 0 0;
	height: 120px;
	text-align: left;
}
#header-content {
	position: relative;
	margin: 0 auto; padding: 0;
}
#header-content #logo {
	position: absolute;
	font: bold 50px Verdana, 'Trebuchet Ms', Sans-serif;
	letter-spacing: -2px;
	color: #000;
	margin: 0; padding: 0;
    text-indent: -9999px;
    width: 400px;
    height: 105px;
    background: url(../images/header.png) no-repeat;

	/* change the values of left and top to adjust the position of the logo */
	top: 5px; left: 20px;
}
#header-content #slogan {
	position: absolute;
	font: bold 12px 'Trebuchet Ms', Sans-serif;
	text-transform: none;
	color: #000;
	margin: 0; padding: 0;

	/* change the values of left and top to adjust the position of the slogan */
	top: 75px; left: 218px;
}


/* content */
#content-wrap {
	clear: both;
	float: left;
	background: #000;
	width: 100%;
}
#content {
	text-align: left;
	padding: 0; margin: 0 auto;
}
#content p{
  font-size: 90%;
}
#content ul{
  list-style-type: none;
  list-style: none;
}


/* sidebar */
#sidebar {
	float: right;
	width: 260px;
	margin: 10px 0;
    padding: 0;
}
#sidebar ul {
	list-style:none;
	margin: 0;
	padding: 5px 0 15px 0;
}
#sidebar ul li {
	padding: 0 10px;
}
#sidebar ul li.active{
	padding: 0 .3em 0 0;
	background: #000;
	border-right: 5px solid  #D30F16;
	color: #D30F16;
    text-align: right;
}


#sidebar ul a {
	display: block;
	font-weight:bold;
	color: #6A6A6A;
	height: 1.5em;
	text-decoration: none;
	padding:.3em 0 .3em 15px;
	background: #000;
	border-bottom: 1px dashed #151515;
	line-height: 1.5em;
}
#sidebar ul a.top{
	border-top: 1px dashed #151515;
}
#sidebar ul a:hover {
	padding: .3em 0 .3em 10px;
	background: #000;
	border-left: 5px solid  #D30F16;
	color: #D30F16;
}
#sidebar .sidebox {
	background: #000;
	margin: 45px 15px 10px 15px;
}
#sidebar .testimonials{
  margin: 45px 15px 10px 15px;
}
#sidebar .testimonials p.quote{
  border: 2px solid #404040;
  font-size: 80%;
}
#sidebar .aff {
  background: #000;
  margin: 25px 15px 10px 15px;
}


#sidebar .aff a img{
  border: 3px solid #000;
}

#sidebar .aff p a:hover{
  border: 3px solid #000;
  text-decoration: none;
}

#sidebar .aff p a:hover{
  border: 3px solid #000;
  text-decoration: none;
}

#sidebar .aff img:hover{
  border: 3px solid #000;
  text-decoration: none;
}

/* main */
#main {
	margin: 10px 0;
	padding: 0 270px 0 0;
}

/* footer */
#footer {
	clear: both;
    height: 150px;
	margin: 0; padding: 0;
	border-top: 1px solid #68050A;
	font-size: 95%;
	text-align: left;
}
#footer h2, #footer p {
	padding-left: 0;
}
#footer-content {
	margin: 0 auto;
}
#footer-content a {
	text-decoration: none;
	color: #8A8A8A;
}
#footer-content a:hover {
	text-decoration: underline;
	color: #FFF;
}
#footer-content ul {
	list-style: none;
	margin: 0; padding: 0;
}
#footer-content .col {
	width: 32%;
	padding: 0 5px 30px 15px;
}
#footer-content .col2 {
	width: 30%;
	padding: 0 0 30px 0;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.comments {
	text-align: right;
	border: 1px dashed #151515;
	padding: 5px 10px;
	margin: 20px 15px 10px 15px;
}

dl dt{
  font-weight: bold;
  width: 100%;
  background-color: #333333;
  padding-left: 5px;
}
dl dd{
  margin-left: 15px;
}
  dl dd dl{
    margin-left: 15px;
  }
    dl dd dl dt{
      background-color: #444;
    }
      dl dd dl dd{
        margin-left: 15px;
      }


p.more {
  text-align: right;
  color: red;
}

img.bio{
  float: left;
  margin-right: 5px;
  border: 3px solid #444
}

abbr{
  border-bottom: 1px dotted #fff;
  cursor: help;
}
li img{
  border: 0;
}

img.aff{
  border: 0;
}

p.testimonial{
  border: 1px solid #f00;
  margin: 5px 0;
}
p.testimonial span{
  font-weight: bold;
  font-style: italic;
}
                           #SLB-Wrapper {
  margin:0.5em 0;
  margin:auto;
  font-family:Verdana;
  text-align: left;
  position: absolute;
}

/* LIGHTBOX */

#SLB-Wrapper #SLB-Background{
  position: absolute;
  left:7px;
  top:7px;
  float:left;
}

#SLB-Wrapper #SLB-Top {
  background:transparent no-repeat scroll 100% 0;
  height:28px;
  margin:0 0 0 18px;
}
#SLB-Wrapper #SLB-Top img {
  float:right;
  border:0px;
  margin:6px 10px;
}

#SLB-Wrapper #SLB-Top div {
  background:transparent no-repeat scroll 0 0;
  font-size:0;
  height:28px;
  left:-18px;
  line-height:0;
  position:relative;
  width:18px;
}

#SLB-Wrapper #SLB-Bottom {
  background:transparent no-repeat scroll 0 43%;
  height:20px;
  margin:0 18px 0 0;
}

#SLB-Wrapper #SLB-Bottom #SLB-BottomRight {
  background:transparent no-repeat scroll 100% 43%;
  font-size:0;
  height:20px;
  right:-18px;
  line-height:0;
  position:relative;
  width:100%;
  float:right;
}

#SLB-Wrapper #SLB-Bottom.SLB-bbnav, #SLB-Wrapper #SLB-Bottom.SLB-bbnav #SLB-BottomRight{
  height:52px;
}

#SLB-Wrapper #SLB-Bottom.SLB-bbnav {
  background-position:0 100%;
}
#SLB-Wrapper #SLB-Bottom.SLB-bbnav #SLB-BottomRight{
  background-position:100% 100%;
}

#SLB-Wrapper #SLB-Contenido {
  border-left: 7px solid #000;
  border-right: 7px solid #000;
}

#SLB-Wrapper #SLB-Bottom #SLB-Navegador{
  font-size: 11px;
  color: #fff;
  height:30px;
  border-left:0px;
  border-right:0px;
  padding:10px 0px;
  margin:0;
  line-height:11px;
  float:left;
  width:100%;
}

#SLB-Wrapper #SLB-Navegador img{
  border:0px;
}

#SLB-Wrapper #SLB-Navegador strong{
  display: block;
}

#SLB-Wrapper #SLB-Bottom #SLB-Navegador img.btLeft{
  float: left;
  margin: 0 10px 0 0;
}
#SLB-Wrapper #SLB-Bottom #SLB-Navegador img.btRight{
  float: right;
  margin: 0 0 0 10px;
  position:relative;
  right:17px;
}

.blog{
  background-color: #222;
}

.piwik{ display: none;}
