html {
    height: 100%;
    margin-bottom: 1px;
}
body, h1, h2, h3, h4, p, form, fieldset {
    margin: 0;
    padding: 0;
}
body {
    font-size: 12px;
    font-family: arial, sans-serif;
    margin: 0;
    padding: 0 0 10px;
    color: #333333;
	background-color: #eeeeee;
}

dl {
    margin: 0 0 0.5em;
}
p {
    margin-bottom: 0.5em;
}
a {
    color: #0099CC;
    text-decoration: none;
}
a:hover {
    color: #0099CC;
    text-decoration: underline;
}
a:focus {
    outline: none;
}
img {
    border: none;
}
hr {
    border-top: 1px dotted #999;
    border-bottom: 0px;
    height: 1px;
}

.pager {
    white-space: nowrap;
    font-size: 1.1em;
}
.pager .results {
    padding-right: 0.5em;
    color: ;
}
.pager .currentPage {
    font-weight: bold;
    padding: 0 0.75em;
    color: #66A326;
    font-weight: bold;
}
.pager a {
    padding: 0 0.75em;
    color: #99CC00;
    font-weight: normal;
}
.pager a:hover {
    background: #66A326;
    color: #ffffff;
}

#footer {
    clear: both;
}

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

#footer-block {
	color:#cccccc; 
	text-align:center;
	width: 975px;
	margin: 0 auto;
	padding: 20px;
	font-size:11px;
}

#stefan {
	margin: 0 auto;
	width: 975px;
	background-color: #ffffff;
	border-left: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}

/*
======================Image shadow==========================*/

.alpha-shadow {
  float: left;
  background: url(../images/shadowAlpha.png) no-repeat bottom right !important;
  background: url(../images/shadow.gif) no-repeat bottom right;
  margin: 4px 0px 0px 4px !important;
}

.alpha-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  margin: -4px 4px 4px -4px;
  padding: 4px;
} 

.alpha-shadow-small {
  float: left;
  background: url(../images/shadowAlpha.png) no-repeat bottom right !important;
  background: url(../images/shadow.gif) no-repeat bottom right;
  margin: 2px 0px 0px 2px !important;
}

.alpha-shadow-small img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #c9c9c9;
  margin: -2px 2px 2px -2px;
  padding: 2px;
} 

/*
======================2 Cols Fluid============================*/
#rightCol {
    float: right;
	width: 200px;
}

#middleOutput {
    float: left;
	width: 550px;
}

#middleCol {
    float: left;
    height: 380px; /* Sets min height for IE */
    padding: 10px;
	width: 770px;
}
html > body #middleCol {
    /* Sets min height for gecko */
    height: auto;
    min-height: 380px;
}
#layout-3Cols #middleCol {
    width: 655px;
    /* 6 is for borders width : (2+1) x 2 */
}

#layout-noCols #middleCol {
    width: 955px;
}


/*
=========================Header===============================*/
#header {
    border-bottom: 2px solid #FFFFFF;
}
#header .wrapLeft {
    background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/header_tl.gif') left top no-repeat;
}
#header .wrapRight {
    background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/header_tr.gif') right top no-repeat;
}
#header .wrap {
    position: relative;
    height: 70px;
    margin: 0 20px;
    background: #99CC00 url('http://www.stefanaschan.com/themes/default/images/backgrounds/header_tm.gif') left top repeat-x;
}
#header span#logo {
    font-size: 30px;
    font-family: "Trebuchet MS";
}
#header a#logo {
    color: #FFFFFF;
    text-decoration: none;
}
#header #logo img {
    position: relative;
    top: 7px;
    left: 0;
}
#header #bugReporter {
    position: absolute;
    bottom: 0px;
    right: -10px;
}

/*
=======================Breadcrumbs============================*/
#breadcrumbs {
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-top: none;
    font-family: arial;
    font-size: 0.8em;
}
#breadcrumbs .inner {
    padding: 0.4em 0 0.4em 1em;
    border: 1px solid #BBBBBB;
}
#breadcrumb {
    float: left;
}
a.breadcrumbs {
    font-weight: bold;
    color: #66A326;
}

/*
======================Main Content============================*/
h1 {
    font-size: 1.2em;
/*
    margin: 0em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #666666;
*/
    color: #666666;
}
h2 {
    margin-top: 0.5em;
    font-size: 1.1em;
}
ul {
    margin: 0.5em 0 0.5em 1em;
    padding-left: 0.5em;
}
li {
    padding-left: 0.5em;
}

/*
===============Generic columns presentation===================*/
.two-cols {
    height: 100%;
    overflow: hidden;
}
.two-cols .col {
    float : left;
	width : 49%;
	margin-left : 1%;
}
.two-cols .first {
	width : 50%;
	margin-left : 0;
}

/*
==================Default Forms Styling=======================*/

fieldset {
    margin: 0 0 1em;
    padding: 10px;
    border: 1px solid #F6F6F6;
}

fieldset h3 {
    font-size: 1em;
    color: #0099CC;
    margin: 0 0 15px 0;
}

fieldset.inside { /*
    -------------- also for pages without form (e.g. module/overview) */
    background: #F6F6F6;
}
fieldset.options {
    clear: left;
    border-top: none;
}
fieldset.options h3 {
/*
    visibility: hidden;
*/
	display: none;
}
fieldset.options h3.show {
    visibility: visible;
}

/*
===================Form Elements Styling======================*/
textarea {
    font-family: arial, sans-serif;
}

input[type="text"], 
input[type="password"], 
input[type="file"],
select, 
textarea {
    border-width: 1px;
    border-style: solid;
    border-color: #7c7c7c #c3c3c3 #ddd #c3c3c3;
    background: #fff url(../images/fieldbg.gif) repeat-x top;
	padding: 2px;
}

input, select, textarea {
    font-size: 100%;
}

input.text {
    padding: 2px 0;
}

form label {
    font-weight: normal;
    color: #666666;
}

/* SIZES */
.third {
	width:32% !important;
}
.half {
	width:48% !important;
}
.full {
	width:100% !important;
}
input.small, select.small {
	width:25%;
}
input.medium, select.medium {
	width:50%;
}
input.large, select.large {
	width:99%;
}
input.tags {
	width:315px;
}
textarea.small {
	height:5.5em;
}
textarea.medium {
	height:10em;
}
textarea.large {
	height:20em;
}

/* BUTTONS */
.button {
    font-size: 110%;
    margin-right: 5px;
    /*border: 1px solid #666;*/
}

/*
====================Form Fields Layout========================*/
/* --
Definition lists are used to display fields labels and values
-----*/
dl.onSide dt {
    float: left;
    width: 120px;
    padding-right: 20px;
    text-align: right;
}
dl.onSide dd{
    margin-left: 140px;
    margin-bottom: 0.5em;
}
dl.onRegister dt {
    float: left;
    width: 220px;
    padding-right: 20px;
    text-align: right;
}
dl.onRegister dd{
    margin-left: 240px;
    margin-bottom: 0.5em;
}
dl.onTop dd {
    margin: 0;
}
dd .error {
    display: block;
}

/*
======================No forms layout=========================*/
div.fieldsetlike { /*
--------------------- as some pages don't use forms/fieldsets
- e.g. user/profile, we have to put data in a fieldset like
- div to have same render ------------------------------------*/
    padding: 10px 0;
}
div.fieldsetlike h3 {
    font-size: 1em;
    color: #666666;
}

/*
==================Default Tables Styling======================*/
/*  In a transition period, we'll use a sglTable class to style tables
    Everyone is encouraged not to use tables for layout purposes
    TODO: remove this when all layout tables have been replaced */
.wide {
    width: 60%;
}
.large {
    width: 85%;
}
table {
    border-collapse: collapse;
}
table .nowrap {
    white-space: nowrap;
}
.sglTable td, .sglTable th {
    border-width : 0 0 1px 0;
	border-style : solid;
	border-color : #BBBBBB;
	padding : 2px 5px;
	vertical-align : top;
}
.sglTable th {
    text-align: left;
    border-bottom-color: #666666;
}
th a {
    display: block;
    color: #666 !important;
}
tr.expand td {
    border-bottom: none;
}
td.expand {
    padding: 1em 5px;
}
th.sortedAsc a {
    background: url('http://www.stefanaschan.com/themes/default/images/th-sortAsc.gif') 95% 50% no-repeat;
    color: #66A326 !important;
}
th.sortedDesc a {
    background: url('http://www.stefanaschan.com/themes/default/images/th-sortDesc.gif') 95% 50% no-repeat;
    color: #66A326 !important;
}
th a:hover {
    text-decoration: none;
    color: #66A326 !important;
}
tr.alternateRow td, tr.backDark {
    background-color: #FBFFEF; /*F0FFD9*/
}
tr.selectedRow td {
    background: #F6F5F2; /*D0DCE0*/
}
/*
tr.rowHover td, tr:hover td {
  background: #F0FFD9;
}
*/
/*
=========================Footer===============================*/
#footer .wrapLeft {
    background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/footer_bl.gif') left bottom no-repeat;
}
#footer .wrapRight {
    background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/footer_br.gif') right bottom no-repeat;
}
#footer .wrap {
    position: relative;
    margin: 0 20px;
    padding: 10px 0 5px;
    background: #99CC00 url('http://www.stefanaschan.com/themes/default/images/backgrounds/footer_bm.gif') left bottom repeat-x;
    text-align: center;
}
#footer p {
    margin-bottom: 0.1em;
    color: #666666;
    font-size: 0.8em;
}

/*
======================Messages & Errors=======================*/
.message {
    text-align: center;
}
.message div {
    width: 70%;
    margin: 1em auto;
    padding: 0.5em;
    -moz-border-radius: 0.3em;
}
.errorMessage {
    border: 2px solid #FF3300;
    color: #FF3300;
}
.infoMessage {
    border: 2px solid #66A326;
    color: #99CC00;
}
.error, .required {
    color: #FF3300;
}

/* PEAR Errors
  --------------------*/
div.errorContainer {
    width: 80%;
    margin: 1em auto;
    padding: 0.5em;
    border: 2px solid #FF3300;
    -moz-border-radius: 0.3em;
    font-family: arial;
}
div.errorHeader {
    margin-bottom: 0.5em;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #FF3300;
}
div.errorContent {
    text-align: left;
}

/*
============================Flags=============================*/
a.langFlag {
    margin: 0 5px;
}

/*
========================Miscellaneous=========================*/
.floatLeft {
    float: left;
}
.floatRight {
    float: right;
}
.clear {
    clear: both;
}
.spacer {
    clear: both;
    display: block;
    visibility: hidden;
    line-height: 1px;
	background-color: #ffffff;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.hide {
    display: none;
}
.narrow {
    width: 45%;
}
.full {
    width: 100%;
}
.button {

}
.noBg {
    background: none;
}
pre.codeExample {
    padding: 1em;
    background-color: #F6F6F6;
    border: 1px solid #666666;
    border-left: 5px solid #666666;
    font-size: 1em;
}

/*
========================Comments=========================*/

#addComment fieldset {
    padding: 10px;
    border: 1px solid grey;
}
#addComment input[type="text"] {
    width: 200px;
}

/*
========================Miscellaneous2=========================*/

.tipOwner {
    position: relative;
    cursor: help;
    }
.tipOwner .tipText {
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    border: 1px solid transparent;
    border-color: #ffffff #333333 #333333 #ffffff;
    background-color: #FFE5F8;
    color: #184a84;
    text-align: center;
    width: 15em;
    padding: 2px 5px;
        -moz-opacity: 0.85;
    }
.tipOwner:hover .tipText {
    display: block;
}


#debug {
    color: #333333;
    position: absolute;
    z-index: 999;
    top: 0px;
    right: 0px;
    border: 1px black solid;
    margin: 10px;
    padding: 5px;
    width: 150px;
    height: 300px;
/*
    background-color: #ffffff;
*/
        -moz-opacity: 0.85;
    opacity: 0.85;
        text-align: left;
    overflow: auto;
}
#debug a, #debug a:visited {
    color: #999999;
}

/*
TO REMOVE WHEN ALL TEMPLATES ARE CONSOLIDATED
======================Default Theme BC========================*/
.wideButton {
    /* use button instead */
    width: 8em;
}

/***** tabbed navigation *****/

#optionsLinks {
	background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-line.gif') bottom repeat-x;
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

#optionsLinks {
	font-size: 12px;
	font-weight: normal;
}

#optionsLinks br {
	clear: both;
}

#optionsLinks h2 {
	background: none;
	min-height: 15px;
	margin-bottom: 0;
}

#optionsLinks ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 1em;
	list-style: none;
}

#optionsLinks li {
	margin: 0 1px 0 0;
	padding: 0 5px 0 0;
	background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-back.png') 100% -100px;
	float: left;
	border-bottom: 1px solid #bbb;
    text-align: center;
}

#optionsLinks li.current {
	border-bottom: 1px solid #fff;
	background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-back.png') 100% 0;
}

#optionsLinks li a, #optionsLinks li a:visited, #optionsLinks li span {
	display: block;
	float: left;
	padding: 5px 11px 2px 16px;
	text-align: center;
	white-space: nowrap;
	background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-back.png') 0 -100px;
	text-decoration: none;
	min-height: 17px; /* fixes FX/Mac issue */
	color: #666;
}

#optionsLinks li.current a, #optionsLinks li.current span {
	background: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-back.png') 0 0; 
} /*IE6*/

#optionsLinks li.sub-comments a, #optionsLinks li.sub-comments a:visited, #optionsLinks li.sub-comments span, #optionsLinks li.sub-comments a, #optionsLinks li.sub-comments span {
	background-image: url('http://www.stefanaschan.com/themes/default/images/backgrounds/tab-back-comment.png');
	padding-left: 28px;
}

#optionsLinks li:hover {
	background-position: 100% -200px;
}

#optionsLinks li:hover a {
	background-position: 0 -200px;
}

#optionsLinks li.current:hover {
	background-position: 100% 0;
}

#optionsLinks li.current:hover a {
	background-position: 0 0;
	text-decoration: underline;
}


.jsAlert {
    width: 60%;
    margin: 1em auto 0 auto;
    padding: 0.5em;
    -moz-border-radius: 0.3em;
    border: 2px solid #FF3300;
    color: #FF3300;
	text-align: center;
}

/* ---------- WYSIWIG.CSS ------------ */

img {
    border: none;
}

.imageRight {
	float:right;
	padding-left:10px;
}
.imageLeft {
	float:left;
	padding-right:10px;
}
.tabBorder {
	border: #666666 solid 1px;
	border-collapse: collapse;
}
.tabBorder td {
	border: #666666 solid 1px;
	padding: 5px;
}

.link {
    color: #D79600;
	background: url('../images/icons/link.gif') left center no-repeat;
	padding-left: 14px;
	background-color:#FFFFFF;
}

a.link:link,
a.link:visited,
a.link:hover,
a.link:active {
    color: #D79600;
	background: url('../images/icons/link.gif') left center no-repeat;
	padding-left: 14px;
}
a.link:hover {
    color: #D79600;
	background: url('../images/icons/link.gif') left center no-repeat;
	padding-left: 14px;
    text-decoration: underline;
}

* html a.link { 
	display: inline-block; 
}

.header_orange {
	font-weight:bold;
	font-size:13px;
	color: #dd7700;
	margin: 0 5px;
	background-color:#FFFFFF;
}

.style1 {
	color: #B7C922;
	font-weight: bold;
}

h1.pageTitle {
	background-image: url('../images/home/titlepage.gif');
	background-repeat:no-repeat;
	background-position:left bottom;
	margin: 0 0 10px 0;
	padding: 0 0 0 35px;
    font-weight: normal;
	font-family:"Trebuchet MS", Arial;
	font-size: 20px;
	color: #F8B611;
	border-bottom: 1px #F8B611 solid;
	height: 26px;
}

.sidebox_full_nomargin {
	width: 100%;
	margin: 0;
	background: url(../images/home/sbbody-r.gif) no-repeat bottom right;
	font-size: 100%;
}
 
.boxhead_clear {
	background: url(../images/home/sbhead-r_p.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: left;
}
.box_header {
	background: url(../images/home/sbhead-l.gif) no-repeat top left;
	margin: 0;
	padding: 1px 8px;
	font-family: "Arial Narrow", Arial;
	font-weight: bold;
	color: #ffffff;
	font-size: 6px;
	text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.box_header_clear {
	background: url(../images/home/sbhead-l_p.gif) no-repeat top left;
	margin: 0;
	padding: 1px 8px;
	font-family: "Arial Narrow", Arial;
	font-weight: bold;
	color: #ffffff;
	font-size: 6px;
	text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.box_header_big {
	background: url(../images/home/sbhead-l.gif) no-repeat top left;
	margin: 0;
	padding: 1px 8px;
	font-family: "Arial Narrow", Arial;
	font-weight: bold;
	color: #ffffff;
	font-size: 16px;
	text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.boxbody {
	background: url(../images/home/sbbody-l.gif) no-repeat bottom left;
	margin: 0;
	color: #333333;
	font-size: 12px;
	padding: 0px 8px 9px 6px;
	text-align:center;
}


/*************************/
/*      MEDIA LIST       */
/*************************/

.moduleToolbar {
    float: left;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border: 1px solid #E8F3F3;	
	background-color: #F8FAFA;
}
.moduleToolbar li {
    display: inline;
    float:left;
    list-style-type: none;
    margin: 0 15px 0 5px;
}
.moduleToolbar a:hover {
    text-decoration: none;
}
.moduleToolbar a span {
    display: block;
    margin: 0;
    color: #666666;
    font-weight: normal;
}

.extrabar {
    float: left;
    width: 100%;
    background: #F0F4F4;
    border: 1px solid #E8F3F3;
    border-top: 3px solid #E8F3F3;
}
.extrabarInner {
    padding: 10px;
}

.moduleContent {
    float: left;
    width: 100%;
    margin: 10px 0;
}

/*****************************/
/*   MEDIA LIST THUMB VIEW   */
/*****************************/
div.thumb {
    float: left;
    margin: 0 0 5px 5px;
    text-align: center;
}

div.thumbBox {
    position: relative;
    /* TODO This should be more flexible */
    /* and not depend on a 70px maxsize */
    width: 128px;
    height: 158px;
    border: 1px solid #F6F6F6;
    -moz-border-radius: 0.5em;
}
div.thumbMedia {
    margin: 0 auto;
    padding: 4px 0;
    width: 128px;
    height: 108px;
}
div.thumbBox:hover {
    background: #F6F6F6;
}
.thumbMedia img {
    border: 2px solid #FFFFFF;
}

div.thumbToolbar {
    line-height: 120%;
}
div.thumbToolbar small {
    color: #666666;
}
div.thumbToolbar a {
    color: #666666;
    text-decoration: underline;
}
div.thumbToolbar a:hover {
    color: #66A326;
}
div.thumbInfo {
    display: none;
}

div.thumb:hover .thumbBox {
    
}
div.thumb:hover .thumbToolbar span {
    visibility: visible;
}

div.thumbMedia {

}

.thumb h3 {
    width: 124px;
    overflow: hidden;
    font-size: 0.8em;
    font-weight: normal;
    color: #666666;
}

/*************************/
/*      MEDIA EDIT       */
/*************************/
#content form li {
    margin-right: 290px;
}

#mediaImage {
    position: absolute;
    width: 270px;
    top: 1em;
    right: 0;
}
div.mediaDetail {
    padding: 2px 10px;
}


/* ----------------------------------- */

#imageLeft {
	float:left; 
	width:254px;
}

#imageMiddle {
	float:left; 
	width:254px; 
	margin-left:5px;
}

#imageRight {
	float:left; 
	width:252px; 
	margin-left:5px;
}

div.mediaBorder {
	width:242px; 
	float: left;
	padding: 5px;
	margin-bottom: 5px;
}

div.mediaBorder:hover {
    background-color: #F8FAFA;
}

