/*
	Theme Name: Legalise Freedom
	Author: Jamie Woolgar
*/

/* Generic Styles
-----------------*/


body{
  background:url('img/background-main.png') top left repeat-x #CECECE;
  font:normal normal 85% arial,sans-serif;
  line-height:1.4em;
  color:#2d2d2d;
}

::-moz-selection{
  background:#2E4697;
}

::selection{
  background:#2E4697;
}

h1{
  margin:0;
  position:absolute;
  top:-500px;
  font-size:0.7em;
}

h2{
  margin:0;
  padding:0 0 12px 0;
  font-size:1.5em;
  font-weight:bold;
}

h2 a,h2 a:active,h2 a:visited,h2 a:hover{
  text-decoration:none;
  color:#2d2d2d;
}

h3{
  margin:0;
  padding:0 0 12px 0;
  font-size:1.3em;
  font-weight:bold;
}

h4{
  margin:0;
  padding:0 0 12px 0;
  font-size:1.1em;
  font-weight:bold;
}

ul,ol{
  margin:0;
  padding:0 0 12px 20px;
}

ul{
  list-style-type:square;
}

p{
  margin:0;
  padding:0 0 12px 0;
}

#sidebar ul{
  margin:0;
  padding:0;
  list-style-type:none;
}

a,a:active,a:visited{
  color:#2E4697;
  text-decoration:underline;
}

a:hover{
  text-decoration:none;
}

/* Layout Styles
----------------*/

header{
  height:207px;
  width:978px;
}

#outerWrap{
  background:url('img/background-header.png') top center no-repeat transparent;
}

#innerWrap{
  width:978px;
  margin:0 auto 0 auto;
}

#main{
  background:url('img/background-content.png') top center repeat-y transparent;
  overflow:auto;
  padding:0 9px 0 21px;
}

#sidebar{
  background:url('img/sidebar-background.jpg') top left no-repeat transparent;
  width:246px;
  padding:15px 6px 0 6px;
  float:right;
}

#content{
  padding-bottom:10px;
  overflow:auto;
}

/* Navigation
-------------*/

nav{
  height:41px;
  width:978px;
  font:normal normal 1.3em verdana,sans-serif;
}

nav ul{
  list-style-type:none;
  margin:0 0 0 9px;
  padding:0;
}

nav li{
  display:block;
  height:38px;
  float:left;
  width:auto;
  padding:0 2px 0 0;
  background:url('img/nav-border.png') top right no-repeat transparent;
}

nav a,nav a:visited,nav a:active{
  width:auto;
  padding:7px 17px 0 15px;
  height:31px;
  color:#fff;
  float:left;
  display:block;
  text-decoration:none;
}

nav a:hover,nav .current a,nav .current a:active,nav .current a:visited{
  background:url('img/nav-on.png') top left repeat-x transparent;
}

nav .social,nav .social li{
  height:auto;
  float:right;
  padding:0;
  background-image:none !important;
}

nav .social ul{
  margin:0 9px 0 0;
  float:right;
  display:block;
}

nav .social img{
  width:18px;
  height:18px;
  float:right;
  display:block;
  margin:9px 8px 0 0;
}

nav .social a,nav .social a:visited,nav .social a:active{
  width:26px;
  padding:0;
  height:18px;
  display:inline;
  text-decoration:none;
}

nav .social a:hover{
  background:none;
  opacity:0.9;
}


/* Tag Cloud
------------*/

#sidebar #tagCloud{
  background:url('img/sidebar-rule.png') top left repeat-x transparent;
  color:#8D96BA;
  padding:12px 3px 12px 3px;
}

#tagCloud a,#tagCloud a:active,
#tagCloud a:visited,#tagCloud a:hover{
  color:#8D96BA;
}

/* Search Form
--------------*/

#searchform{
  background:url('img/sidebar-rule.png') top left repeat-x transparent;
  padding:12px 3px 10px 3px;
  overflow:auto;
  line-height:1.1em;
}

#searchform #s{
  border:1px solid #A3AAC7;
  padding:2px 1px 2px 1px;
  font:normal normal 0.9em arial,sans-serif;
  color:#bbb;
  float:left;
  width:164px;
}

#searchform #s:focus{
  color:#555;
}

#searchform .submit{
  background:url('img/submit-background.png') 0px -1px repeat-x #4A517C;
  border:1px solid #4A517B;
  padding:2px 0 2px 0;
  text-align:center;
  width:65px;
  float:right;
  font:normal normal 0.9em arial,sans-serif;
  color:#fff;
}

#searchform .submit:hover,
#searchform .submit:focus{
  background:#4D5690;
}

/* Twitter Feed
---------------*/

#Twitter{
  background:url('img/sidebar-rule.png') top left repeat-x transparent;
  padding:12px 5px 15px 5px;
  color:#7B7B7D;
  font-size:0.9em;
}

#Twitter h2{
  font:normal normal 1.3em arial,sans-serif;
  color:#4D5690;
  margin:0;
  padding:0;
}

#Twitter a,#Twitter a:active,#Twitter a:visited{
  color:#8E94B8;
}

#Twitter h2 a,#Twitter h2 a:active,#Twitter h2 a:visited{
  text-decoration:none;
  color:#4D5690;
}

#Twitter h2 a:hover{
  text-decoration:underline;
}

#Twitter li{
  padding:15px 0 0 0;
}

.twitterwidget-title{
  display:none;
}

/* Donate widget
----------------*/

#donate{
  background:url('img/sidebar-rule.png') top left repeat-x transparent;
  padding:12px 5px 15px 5px;
  color:#7B7B7D;
  font-size:0.9em;
}

#donate h2{
  font:normal normal 1.3em arial,sans-serif;
  color:#4D5690;
  margin:0;
  padding:0 0 10px 0;
}

#donate a,#donate a:active,#donate a:visited{
  color:#7B7B7D;
  background:url('img/coffee-cup.png') 160px 0px no-repeat transparent;
  padding:5px 115px 40px 0;
  display:block;
  text-decoration:none;
}

#donate h2 a,#donate h2 a:active,#donate h2 a:visited{
  text-decoration:none;
  color:#4D5690;
  display:inline;
  width:auto;
  top: 0;
  background:transparent;
  height:auto;
  padding:0;
}

#donate h2 a:hover{
  text-decoration:underline;
}


/* Content
----------*/

.entry{
  float:left;
  width:663px;
  margin:20px 0 0 0;
  padding:7px 7px 0 7px;
  position:relative;
  background:url('img/entry-background.jpg') top left no-repeat transparent;
}

.theDate{
  padding:0;
  position:relative;
  top:-12px;
  font-style:italic;
}

.entry img{
  margin-top:5px;
  margin-bottom:5px;
  border:1px solid #EBECF3;
}

.attachment-thumbnail,
.attachment-medium{
  float:left;
  margin:0 10px 5px 0;
}

.aligncenter,.wp-caption.aligncenter{
  margin:5px auto 5px auto;
}

.alignleft,.wp-caption.alignleft{
  float:left;
  margin:5px 10px 5px 0;
}

.alignright,.wp-caption.alignright{
  float:right;
  margin:5px 0 5px 10px;
}

.wp-caption{
  margin:5px 0 5px 0;
  border:1px solid #EBECF3;
  background:#F6F7FA;
  padding:5px 2px 5px 2px;
}

.wp-caption img{
  margin:0 auto 0 auto;
  display:block;
}

.wp-caption p{
  padding:5px 0 0 0;
  margin:0;
  text-align:center;
}

.powerpress_player{
  clear:both;
  padding:5px 0 0 0;
}

.single .powerpress_player{
  padding:17px 0 0 0;
}

.powerpress_links{
  font-size:0.9em;
  font-style:italic;
}

.powerpress_links a{
  font-style:normal;
}

.readMore{
  font-size:0.9em;
  margin-top:0;
  position:relative;
  top:-12px;
}

.readMore strong{
  font-size:1.3em;
}

.entry a,.entry a:active,.entry a:visited{
  text-decoration:none;
}

.entry a:hover{
  text-decoration:underline;
}

.addthis_toolbox{
  float:right;
  position:absolute;
  bottom:72px;
  width:128px;
  right:0;
}

.with-audio .addthis_toolbox {
    bottom: 82px;
}

.tagList{
  position:relative;
  top:-30px;
  float:right;
  padding:0;
  margin:0;
  right:0;
  height:10px;
  overflow:visible;
  width:410px;
  font-size:0.9em;
  line-height:1.1em;
  font-style:italic;
  text-align:right;
}

/* Search intro
---------------*/

#searchIntro{
  margin:20px 7px 0px 7px;
  padding:0;
  font-weight:bold;
  font-style:italic;
}

/* Pagination
-------------*/

.archive-button {
  position: relative;
  top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  clear: both;
}

.paginate{
  float:right;
  margin:4px 5px 0 0;
  padding: 10px 0 0 0;
}

.paginate .wp-paginate .current{
  background:#2E4697;
  color:#fff;
  font-weight:bold;
  padding:2px 6px 2px 6px;
  border:0;
}

.paginate .wp-paginate a,
.paginate .wp-paginate a:active,
.paginate .wp-paginate a:visited{
  background:#F6F7FB;
  color:#2E4697;
  padding:2px 6px 2px 6px;
  border:1px solid #EBEBF3;
}

.paginate .wp-paginate a:hover{
  text-decoration:none;
  background:#EBEBF3;
}


/* Music page
-------------*/

.music{
  float:left;
  width:680px;
  margin:20px 0 0 0;
  position:relative;
}

.music img{
  border:1px solid #EBECF3;
  float:left;
  margin:0 2px 2px 0;
}

.music a:hover img{
  opacity:0.8;
}



/* Donation form
---------------------*/


#donateForm {
  margin: 0;
  padding: 0 10px 0 10px;
  width: 300px;
  border: 1px solid #EBEBF3;
  background: #F6F7FB;
  overflow: auto;
}

#donateForm div {
  width: 150px;
  float: left;
  margin: 10px 0 10px 0
}

#donateForm label {
  float: left;
  margin: 0 10px 0 0;
}

input#single,input#month {
  position: relative;
  top: 2px;
}

input#damount {
  border:1px solid #A3AAC7;
  padding:2px 1px 2px 1px;
  font:normal normal 0.9em arial,sans-serif;
  color:#555;
  float:left;
  width:44px;
}

input#damount:focus{
  color:#555;
}
  
#submit{
  background:#4A517C;
  border:1px solid #4A517B;
  padding:2px 0 2px 0;
  text-align:center;
  width:148px;
  float: left;
  font:normal normal 0.9em arial,sans-serif;
  color:#fff;
}

#submit:hover,
#submit:focus{
  background:#4D5690;
}

.paypal #submit {
  font-size: 1.2em;
  clear: both !important;
  width: auto !important;
  padding-left: 10px;
  padding-right: 10px;
  float: none;
}

.paypal p {
  padding: 20px 0 0 0;
  font-size: 0.9em;
  clear: both;
}

.donate-icons {
  margin: 30px 0 0 0 !important;
  border: 0 !important;
}

.err {
  color: #d00;
}


/* Footer
---------*/

footer{
  clear:both;
  height:37px;
  background:url('img/footer.png') top left repeat-x transparent;
}

footer ul{
  width:950px;
  margin:0 auto 0 auto;
  padding:10px 0 0 0;
  font-size:0.9em;
  text-align:right;
  color:#fff;
  list-style-type:none;
}

footer li{
  display:inline;
}

footer a,footer a:active,footer a:visited{
  color:#fff;
  text-decoration:none;
}

footer a:hover{
  text-decoration:underline;
}

/* Audio Player */

.audio-player {
    font-size: 0.9em;
}

.audiojs {
    width: 100%;
}

.audiojs .scrubber {
    width: 74%;
}

.audio-player-meta {
    padding-top: 0.5em;
}

/* Colorbox
-----------*/

#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

#cboxOverlay{background:#000;}
#colorbox{}
    #cboxContent{margin-top:20px;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:5px solid #000; background:#fff;}
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(img/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(img/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #cboxNext:hover{background-position:bottom right;}
        #cboxLoadingOverlay{background:#000;}
        #cboxLoadingGraphic{background:url(img/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(img/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #cboxClose:hover{background-position:bottom center;}