/*-----------------------------------------------------------------------------
Main Stylesheet

version:   1.0
author:    Colby Blaisdell
email:     ccblaisdell@moxiemachine.com
website:   http://moxiemachine.com/
-----------------------------------------------------------------------------*/

body {background:#f3eb89 url(img/bg.jpg) no-repeat 50% 0;text-align:center;color:#5b5836;}
#bhome {background-image:url(img/adam-home-bg.jpg);}
#ribbon {background:#fff url(img/ribbon-bg.gif) repeat-x 0 100%;float:left;width:100%;margin-top:10px;}
#bhome #ribbon {margin-top: 270px;}
#ribbon h2 {float:left;width:275px;height:58px;overflow:hidden;font-family:Georgia, serif;font-size:3.7em;margin:0 24px 0 0;line-height:1;border-right:1px dotted #e8e4ad;padding:15px 40px 10px 0;}
#ribbon h2 a {text-decoration:none;display:block;width:275px;height:58px;background:url(img/logo-trans.png) no-repeat 0 0;text-indent:-4000px;}
#nav {float:left;list-style:none;margin:18px 0 0;}
#nav li {float:left;}
#nav a {display:block;float:left;height:48px;padding: 0px 16px;background:url(img/nav-bg.png) no-repeat;overflow:hidden;text-indent:-4000px;}

h3 {margin-bottom:0.5em;}

#portfolio_link a {width:100px;background-position:16px 16px;}
#links_link a {width:51px;background-position:-120px 16px;}
#contact_link a {width:87px;background-position:-198px 16px;}

#portfolio_link a:hover {background-position:16px -71px;}
#links_link a:hover {background-position:-120px -71px;}
#contact_link a:hover {background-position:-198px -71px;}

#inner_ribbon, #wrapper {width:690px;margin:0 auto;text-align:left;}
#content {float:left;width:100%;margin-top:40px;}
#bhome #content {margin:0;}
#footer {float:left;width:100%;margin-top:40px;color:#9d964b;}
#footer a {color:#9d964b;}
#quotation {float:right;width:334px;}
#quotation .smaller {margin-top:10px;}
#copyinfo {float:left;width:275px;text-align:right;line-height:2.25em;padding-top:1px;}

#content a {background:#f6eea3;}
a:link {color:#144097;}
a:visited {color:#4d5f83;}
a:hover, a:active {color:#1556d7;background:#f7f2b2;}

/* portfolio
*/
#bportfolio h2 {clear:both;}
#bportfolio #content ul {list-style:none;margin:0 0 0 -40px;}
#bportfolio #content li {float:left;width:142px;height:142px;margin:0 0 40px 40px;}
#bportfolio #content li a {display:block;float:left;border:10px solid #e1d67a;}
#bportfolio #content li a:hover {border-color:#d8cd6d;}
#bportfolio #content img {display:block;float:left;}
#bportfolio #content a
{ -moz-border-radius: 10px; -khtml-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; }
#facebox .body img {display:block;}
#facebox .body h2, #portfolio_details h2 {margin:1em 0 0;width:450px;}
#facebox .body .close_image {float:right;}
#facebox .footer span {float:left;color:#666;text-transform:uppercase;font-size:0.846em;}
.pics-h, .pics-v {width:450px;height:300px;padding:0;margin:0;}
.pics-v {height:672px;}
.pics-h img, .pics-v img {top:0;left:0;}
.slideshow {position:relative;}
.slideshow .prev, .slideshow .next {display:block;width:29px;height:23px;position:absolute;z-index:101;top:45%;background:transparent;}
.slideshow .prev {left:-5px;}
.slideshow .next {right:-5px;}
.slideshow .prev:active, .slideshow .next:active {-moz-outline-style:none;}

/* Biblical Series info
*/
#series_info {width:550px;}
#series_info h2 {padding-bottom:1.5em;}
#general_info {padding-bottom:1.5em;border-bottom:1px solid #ddd;margin-bottom:3em;}
#book_info {margin-bottom:2em;}
#book_info img {float:left;margin: 0 0 1.5em 0;position:relative;top:0.75em;}
#book_info h3, #book_info p {margin-left:235px;margin-top:10px;}

/* Links
*/
#babout #links ul {list-style:none;padding-left:0;margin-left:0;margin-bottom:3.5em;}
#babout #links li, #babout #content h3 {clear:both;}
#babout #links li a {display:block;float:left;background:#f6eea3;padding:0.25em 0.75em;}
#babout #links li a:hover {background:#f7f2b2;}

#babout #links {width:275px;float:left;}
#babout #upcoming_shows {width:334px;float:right;}
#babout #past_shows {width:275px;float:left;clear:left;}
#babout #past_presentations {width:334px;float:right;}

#babout #articles_info {}
#babout #articles_info ul {}
#babout #articles_info ul a {}

a.photos {display:block;float:left;background:#f6eea3;padding:0.25em 0.75em;margin-bottom:1.5em;}
a.photos:hober {background:#f7f2b2;}

/* contact
*/
#bcontact dd {margin-left:0;}

/*---- sIFR ---*/
.sIFR-flash {
visibility: visible !important;
margin: 0;
padding: 0;
}

.sIFR-unloading .sIFR-flash {
visibility: hidden !important;
}

.sIFR-replaced, .sIFR-ignore {
visibility: visible !important;
}

.sIFR-alternate {
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
display: block;
overflow: hidden;
}

.sIFR-replaced div.sIFR-fixfocus {
margin: 0pt; 
padding: 0pt; 
overflow: auto; 
letter-spacing: 0px; 
float: none;
}

.sIFR-dummy { 
width: 0px;
height: 0px;
margin-left: 42px;
z-index: 0;
}

/*---- Header styling ---*/
.sIFR-active #quotation {
visibility: hidden;
font-family: Verdana;
line-height: 1em;
font-size: 18px;
}
.sIFR-active h2 {
font-size:18px;
}

/* Facebox
*/
#facebox .b {
  background:url(img/b.png);
}

#facebox .tl {
  background:url(img/tl.png);
}

#facebox .tr {
  background:url(img/tr.png);
}

#facebox .bl {
  background:url(img/bl.png);
}

#facebox .br {
  background:url(img/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}
#facebox .loading img {margin: 0 auto;}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
