
/*** FUSION CSS Template - design & coding: www.digitalnature.ro ***/

/*** version 1.0 ***/


/* global prop. */
*{
  margin: 0;
  padding: 0;
}

html, body{
 height:100%;
}

body{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 0.75em;
  font-style: normal;
  color: #000;
}

body{
  background: transparent url(../images/main-bg.gif) repeat-x left 200px;
  min-height:100%;
  height:auto !important; /* ie ignores it */
  height:100%; /* fix */
  position: relative;
}

a{
  color: #2d83d5;
  text-decoration: underline;
}

a:hover{
  color: #fff;
  background: #2d83d5;
  text-decoration: none;
}

p img{
  border: 1px;
  color:#AD6615;
}

img{
  border: 0;
}

p{
  line-height: 150%;
  margin: 4px 0 7px;
}

small{
  font-size: 90%;
}


h2{
  font-family: "Palatino Linotype", Georgia, "Tahoma", "Century Schoolbook L", Arial, Helvetica;
  font-size: 200%;
  font-weight: normal;
  margin: 3px 0 5px;
}

h3{
  font-family: "Palatino Linotype", Georgia, "Tahoma", "Century Schoolbook L", Arial, Helvetica;
  font-size: 150%;
  font-weight: normal;
  margin: 3px 0 5px;
}

#sidebar h2{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 140%;
  margin: 16px 0 2px 0;
}

/* actual layout width: default is 960px (for 1024x768+); 100% = fluid width */
#page{
  width: 960px;
  min-width: 780px;
  margin:0 auto;
  position: relative;
}

#cssControls{
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 10px;
}


/*** HEADER AREA ***/

/* logo position */
a#logo{
  top: 0px;
  left: 500px;
  position: absolute;
}

#header h1{
  font-family: "Trajan Pro" "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-weight: bold;
  position: absolute;
  color: #fff;
  top: 90px;
  font-size: 320%;
  letter-spacing:-0.06em;
}

#header h1 a{
  color: #fff;
  text-decoration: none;
}

#header h1 a:hover{
  background: none;
  color: #AD6615;
}

#header h5{
  font-family: "Trajan Pro" "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  position: absolute;
  color: #fff;
  top: 132px;
  font-size: 100%;
}

#page-wrap1{
  background: transparent url(../images/header-bg.jpg) repeat-x left top;
}

#page-wrap2{
  background: transparent url(../images/header-center.jpg) no-repeat center top;
  height: 200px;
  min-height: 500px;
  width: 100%;
  display:block;
}

#header{
  height: 200px;
  z-index: 2; /* fix for stupid ie6/7 bug */
  position:relative;
}


/* top navigation */
#topnav{
  color: #ffffff;
  padding-top: 20px;
}

#topnav a{
  font-size: 110%;
  text-transform: uppercase;
  text-decoration: none;
  color: #afb0b3;
  padding: 0 8px;
}

#topnav a:hover{
  text-decoration: none;
  background: none;
  color: #fff;
}


/* header tabs */
#tabs {
 font-size:14px;
 height:29px;
 line-height:normal;
 position: absolute;
 top: 171px;
 left: 0;
}

#tabs ul {
 list-style:none;
}

#tabs li {
 display:inline;
}

#tabs a {
 float:left;
 background:url(../images/tab-left.png) no-repeat left top;
 color:#0470a0;
 padding-left:10px;
 margin-right:3px;
 text-decoration:none;
 color:#cfcfcf;
 cursor: pointer; /* IE 7 bug-fix */
}

#tabs a span{
 float:left;
 display:block;
 background:url(../images/tab-right.png) no-repeat right top;
 height: 29px;
 padding-right: 10px;
}

#tabs a span span{
 display:block;
 background:none;
 height: auto;
 padding: 4px 4px 0 4px;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float:none;}
/* End IE5-Mac hack */
#tabs a:hover span {
 color:#cfcfcf;
}

#tabs a:hover{
 background-position:0% -29px;
 color:#fff;
}
#tabs a:hover span{
 background-position:100% -29px;
 color:#fff;
}

#tabs a.active {
 background-position:0% -58px;
 color:#000;
}
#tabs a.active span {
 background-position:100% -58px;
 color:#000;
}

/* sub-menus */
#tabs ul li{
float:left;
position:relative;
}

#tabs ul ul {
  background:#eeeeef url(images/tab-subnav.png) repeat-x left top;
  position:absolute;
  display:none;
  width:200px;
  top:29px;
  left: 0;
  margin: 0;
  padding: 4px 0;
  line-height: 100%;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
}

#tabs ul ul ul{
  border: 1px solid #999;
  -moz-border-radius: 4px;
}

#tabs ul a.active ul, #tabs ul li.current_page_item ul,  #tabs ul li.current-cat ul{
  background: #fff;
}

#tabs ul.active ul ul, #tabs ul li.current_page_item ul ul, #tabs ul li.current-cat ul ul{
  border: 1px solid #666666 !important;
}

#tabs ul li ul a{
  width:180px;
  height:auto;
  float:left;
  background: none;
  margin: 0;
  padding: 4px 10px;
  color: #000;
  font-weight: normal;
  line-height: 125%;
}

#tabs ul li ul a span, #tabs ul li ul a span span{
  margin: 0;
  padding: 0;
  height: auto;
  float: none;
}

#tabs ul ul a:hover, #tabs ul ul a:hover,
#tabs ul a.active ul a:hover, #tabs ul li.current_page_item ul a:hover, #tabs ul li.current-cat ul a:hover{
  color:#fff;
  background:#09c6eb url(images/tab-subnav-active.gif) repeat-x left top;
}

#tabs ul li ul a span, #tabs ul li ul a span{
  background: none;
}

#tabs ul ul ul{
  top:auto;
}

#tabs ul li ul ul {
  left:195px;
  top: 4px;
}

#tabs ul li:hover ul ul, #tabs ul li:hover ul ul ul, #tabs ul li:hover ul ul ul ul{
  display:none;
}
#tabs ul li:hover ul, #tabs ul li li:hover ul, #tabs ul li li li:hover ul, #tabs ul li li li li:hover ul{
  display:block;
}


/*** MAIN ***/

#main-wrap{
  float: left;
  width: 100%;
}

#main{
  display: block;
}


/* for accesibility (eg. if sidebar needs removed on some pages) */
.with-sidebar{
  margin-right: 340px;  /* sidebar width + some padding */
}

#main-content{
  padding-top: 40px;
}

#main-content h1{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 250%;
  margin: 12px 0 4px;
  font-weight: bold;
  letter-spacing:-0.06em;
}

#main-content h3{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 150%;
  font-weight: bold;
  margin: 6px 0 2px;
  letter-spacing:-0.06em;
}

#main-content h4{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 125%;
  font-weight: bold;
  margin: 10px 0 2px;
}

#main-content h5{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 115%;
  font-weight: normal;
  margin: 5px 0 2px;
  text-transform: uppercase;
  font-style: italic;
}

#main-content h6{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 110%;
  font-weight: bold;
  margin: 5px 0 2px;
}

#main-content ul li{
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-size: 100%;
  margin: 5px 4% 2px;
  list-style-type: disc
}

/* sort news links */
#sortlinks{
  display: block;
  margin: 5px 0 20px;
}


/* secondary tabs */

.menu {
 font-size:14px;
 height:35px;
 line-height:normal;
 left: 0;
 padding-left: 12px;
 background:transparent url(../images/mtab-bg.png) repeat-x left bottom;
 margin: 10px 0 20px;
}

.menu ul {
 list-style:none;
}

.menu li {
 display:inline;
}

.menu a {
 float:left;
 background:url(../images/mtab-left.png) no-repeat left -35px;
 color:#0470a0;
 padding-left:6px;
 margin-right:3px;
 text-decoration:none;
 text-transform: uppercase;
 color:#8c8b8b;
 cursor: pointer; /* IE 7 bug-fix */
}

.menu a span{
 float:left;
 display:block;
 background:url(../images/mtab-right.png) no-repeat right -35px;
 height: 35px;
 padding-right: 6px;
}

.menu a span span{
 display:block;
 background:none;
 height: auto;
 padding: 7px 10px 0 10px;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
.menu a span {float:none;}
/* End IE5-Mac hack */
.menu a:hover span {
 color:#cfcfcf;
}

.menu a:hover{
 background-position:0% -70px;
 color:#fff;
}
.menu a:hover span{
 background-position:100% -70px;
 color:#fff;
}

.menu a.active {
 background-position:0% 0px;
 color:#ed2124;
}
.menu a.active span {
 background-position:100% 0px;
 color:#ed2124;
}


.story, .post{
  background: transparent url(../images/div-h2.gif) repeat-x left 8px;
  padding-top:8px;
  margin-bottom: 18px;
  display: block;
  position: relative;
}

.story h2 a, .post h2 a, .story h3 a, .post h3 a{
  color: #000;
  text-decoration: none;
}

.story h2 a:hover, .post h2 a:hover, .story h3 a:hover, .post h3 a:hover{
  background: none;
  color: #ed1f24;
}


/* voting */

.story .vote{
  width: 70px;
  height: 89px;
  background: transparent url(../images/vote-up.png) no-repeat left top;
  float:left;
  display: block;
  position: relative;
}

.story .vote span.votenumber{
  text-align: center;
  width: 70px;
  display: block;
  margin-top: 10px;
  position: absolute;
  top: 0;
  left: 0;
}

.story .vote a{
  color: #fff;
  text-decoration: none;
}

.story .vote span.votenumber a{
  font-size: 30px;
}

.story .vote span.votenumber a:hover{
  background: none;
  text-decoration: underline;
}


.story .vote span.subtext{
  background: transparent url(../images/vote-text.png) no-repeat left top;
  text-align: center;
  width: 70px;
  height: 29px;
  position: absolute;
  top: 62px;
  left: 0;
}

/* story header */

.story .postheader, .post .postheader{
  display: block;
  margin-left: 74px;
  position: relative;
}

.story p.postcategory, .post p.postcategory{
  color: #e5e5e5;
}

.story .postinfo, .post .postinfo{
  background: transparent url(../images/postinfo-bg.png) no-repeat right bottom;
}

.story .postinfo p, .post .postinfo p{
  padding: 4px 10px;
}


/* story body */

.story .postbody, .post .postbody{
  clear: left;
  margin: 10px 0 0 0;
  display: block;
}

.story p.postcontrols, .post p.postcontrols{
  text-align: right;
  color: #e5e5e5;
}

.story p.postcontrols a, .story p.postcategory a,
.post p.postcontrols a, .post p.postcategory a{
  padding: 0 2px;
}


a.comments, .story p.postcontrols a.comments, .post p.postcontrols a.comments{
  background-image:url(../images/comments.png);
  background-repeat: no-repeat;
  background-position: 2px 2px;
  padding-left: 19px;
}

a.no.comments, .post p.postcontrols a.no.comments{
  color:#ed1f24;
}

a.no.comments:hover, .post p.postcontrols a.no.comments:hover{
  background-color: #ed1f24;
  color: #fff;
}


/* comments */

.comment{
  background: transparent url(../images/comment-div-bg.png) repeat-y 96px bottom;
}

.comment .wrap{
  background: transparent url(../images/comment-div-start.png) no-repeat 96px top;
  min-height: 120px;
  position: relative;
}

.comment .avatar{
  float: left;
  width: 90px;
  padding-top:10px;
}

.comment .details{
  display: block;
  margin-left: 108px;
}

.comment .details .head{
  background: transparent url(../images/postinfo-bg.png) repeat-x left bottom;
  padding: 2px 10px;
  display: block;
  position: relative;
  color: #8f9090;
}

span.rate{
  right: 8px;
  position: absolute;
}

span.rate a.karma{
  font-family: "Arial Black", Helvetica, Sans, FreeSans, Jamrul, Garuda, Kalimati;
  font-weight: bold;
  font-size: 110%;
  text-decoration: none;
  padding: 0;
}

span.rate a.karma.negative{ color:#ed2124; }
span.rate a.karma.positive{ color:#6fb23c; }

span.rate a.karma:hover{
  background: none;
}

span.rate a.ratelink{
  padding: 4px;
  text-decoration: none;
}

span.rate a.ratelink.up{ background: transparent url(../images/thumb-up.gif) no-repeat left center;      }
span.rate a.ratelink.down{ background: transparent url(../images/thumb-down.gif) no-repeat left center;      }


.comment .details .text{
  background: transparent url(../images/comment-bg.png) repeat-x left top;
  padding: 3px 10px;
  min-height: 40px;
}


/* sidebar */

#sidebar{
  background: transparent url(../images/side-start.png) no-repeat left top;
  float: left;
  display: block;
  margin-left: -320px;   /* sidebar width! */
  width: 320px;          /* sidebar width! */
  position: relative;
  margin-top: 36px;
}

#sidebar .wrap{
  background: transparent url(../images/side-bg.png) no-repeat right top;
  margin-left: 32px;
  width: 270px; /* actual size is +36px right-padding + shadows (around 320px) */
  padding: 20px 36px 0 0;
  min-height: 350px;
}

#sidebar ul, #sidebar ul, li{
  list-style-type: none;
  line-height: 150%;
}


/* sidebar menu */

#sidebar ul.nav, #sidebar ul.nav li{
  list-style-type: none;
}

#sidebar ul.nav li{
  background: transparent url(../images/div-h.gif) repeat-x left bottom;
  padding: 2px 0 3px;
  display:block;
}

/* no bg on the last menu item */
#sidebar ul.nav li.last{
  background: none
}


#sidebar ul.nav ul{
  margin: 0px 0 12px;
}

#sidebar ul.nav ul ul{
  margin: 0px 0 8px; /* lower bottom-padding for 2+ level menu */
}

/* 2nd level menu */
#sidebar ul.nav li li{
  background: none;
  padding: 0;
  margin-left: 25px;
}

/* 3rd ... n levels */
#sidebar ul.nav li li li{
  margin-left: 10px;
}

#sidebar ul.nav li a{
  background: none;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 110%;
  padding: 3px 8px;
  color: #000;
  position: relative;
}

#sidebar ul.nav li a:hover{
  background: #f0efef url(../images/side-nav-bg.png) repeat-y right top;
  color: #ed2124;
}

#sidebar ul.nav li a span{
  background: transparent url(../images/b1.gif) no-repeat left 3px;
  padding-left: 17px;
}

#sidebar ul.nav li a:hover span{
  background-position: left -185px;
  color: #ed2124;
}

#sidebar ul.nav li li a{
  text-transform: none;
  font-size: 100%;
  padding: 0;
}

#sidebar ul.nav li li a:hover{
  background: none
}


#sidebar ul.nav li li a span{
  background: none;
  padding: 0;
}

#sidebar ul.nav li a span.rss{
  background: transparent url(../images/side-nav-rss.gif) no-repeat left top;
  display: none;
  width:26px;
  position: absolute;
  height: 13px;
  right: 0;
  padding: 0 10px 0 0;
  top: 0;
  text-decoration: none;
  cursor: pointer;
  z-index: 5;
}

#sidebar ul.nav li a span.rss:hover{
  background-position: 0px -13px;
}


/* sidebar search */

#searchtab{
  background: transparent url(../images/search-bg.png) no-repeat left top;
  margin: 20px 0;
}

#searchtab .inside{
  background: transparent url(../images/search-go.png) no-repeat right top;
  height: 40px;
  position: relative;
}

#searchtab input{
  border: 0;
  background: none;
  font-size: 12px;
  padding: 0px;
}

#searchtab input.searchfield, #searchtab input#s{
  position: absolute;
  top: 6px;
  left: 46px;
  color: #e5e5e5;
  padding: 0px;
}

#searchtab input.searchbutton, #searchtab input#searchsubmit{
  position: absolute;
  right: 37px;
  top: 6px;
  color: #e5e5e5;
  text-transform: uppercase;
  padding: 0px;
}

#searchtab label{
  display: none;
}


#searchtab input.searchbutton:hover{
  color: #fff;
}




/*** FOOTER ***/

#footer{
  background: transparent url(../images/div-h2.gif) repeat-x left top;
  padding: 20px 0;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.error{
  color:#ed1f24;
}

form input{
  padding: 2px 8px;
}


