html,body {
    font-family: Arial, Sans-Serif, Verdana;
    background-color: #fafafa;
    font-size: 12px;
    color: #000000;
    margin: 0px;
    padding: 0px;
    height: 100%;
}
a {
    color: #247ab7;
    font-weight: normal;
    text-decoration: none;
}
a:hover {
    color: #61ace1;
    font-weight: normal;
    text-decoration: none;
}
a img {
    border: 0px solid #ffffff;
}
form {
    padding: 0px;
    margin: 0px;
}

#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:1000px;
	background: url(/images/bg.jpg) no-repeat;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}
#header {
	height: 355px;
}
#content {
	margin-top:-15px;
	padding-bottom:28px;
	text-align: left!important;
}
#footer {
	position:absolute;
	width:100%;
	text-align: center;
	bottom:0; /* stick to bottom */
	clear: both;
}
#search {
    left:490px;
    top:155px;
    position:absolute;
    text-align:left;
    width:385px;
}
#site {
    font-size:20px;
    padding-left:15px;
    text-align:left;
}
#search_btn {
    height:32px;
    margin:-39px 0 0 356px;
    position:absolute;
    width:32px;
    background: url(/images/search_btn.png) no-repeat;
}
#search_box{
    height:45px;
    text-align:left;
    width:398px;
    background: url(/images/search.png) no-repeat;
}
#search_box input {
    border:0 solid;
    font-size:22px;
    height:26px;
    margin:8px 18px;
    width:330px;
}
#menu {
    font-size:11px;
    padding-top:2px;
    text-align:right;
}
#menu a {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
}
#menu a:hover {
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}
#ptitle {
    text-align: right!important;
    margin-right: 25px;
}
#ptitle h1 {
    background: url(/images/arrow.png) no-repeat 0 5px;
    padding: 0 0 0 25px;
    margin: 0;
    display: inline;
    font-weight: normal;
    font-size: 24px;
    color: #000;
}

#main_left {
    width: 775px;
    float: left;

}
#main_right {
    width: 204px;
    float: right;
}

#counter {
    float: left;
    padding: 2px 0 3px 16px;
    font-size: 13px;
}

#cloud {
    text-align: center;
}

/* start boxes */
div.box {
    margin-bottom: 12px;
}
div.box_head {
    height: 16px;
    background: url(/images/box.png) no-repeat;
}
div.box_body {
    background: url(/images/boxbg.png) repeat-y;
    padding: 0 15px;
    text-align: left;
    overflow: hidden;
}
div.box_end {
    height: 16px;
    background: url(/images/box.png) no-repeat 0 -16px;
}
div.box_title {
    color:#333333;
    height: 14px;
    font-weight:bold;
    margin: 0 0 10px -13px;
    padding-left:60px;
}
div.bt { background: url(/images/arrows.png) no-repeat 0 -28px; }
div.gt { background: url(/images/arrows.png) no-repeat 0 -14px; }
div.rt { background: url(/images/arrows.png) no-repeat 0 0;}
div.yt { background: url(/images/arrows.png) no-repeat 0 -42px;}
div.ot { background: url(/images/arrows.png) no-repeat 0 -56px;}

/* end boxes */

/* start table */
div.table {
    margin-bottom: 12px;
}
div.table_head {
    height: 22px;
    background: url(/images/table.png) no-repeat;
}
div.table_body {
    background: #ffffff url(/images/tablebg.png) repeat-y;
    padding: 0;
    text-align: left;
    overflow: hidden;
}
div.table_end {
    height: 22px;
    background: url(/images/table.png) no-repeat 0 -22px;
}

/* start table title */

#table_title {
    color: #666;
    margin-top:-15px;
    position:absolute;
}
#item_menu_site,
#item_menu_title,
#item_menu_size,
#item_menu_seeds,
#item_menu_leechers,
#item_menu_health,
#item_menu_delete {
    float: left;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    height: 17px;
    padding: 5px 0 0 5px;
}
#item_menu_title { width: 440px; text-align: left; padding-left: 24px; }
#item_menu_size { width: 65px; }
#item_menu_seeds { width: 60px; }
#item_menu_leechers { width: 60px; }

#sort_img {
    position: relative;
    float:left;
    width: 10px;
    height: 19px;
    top: 5px;
    overflow: hidden;
}
div.sort_asc {
    background: url(/images/sort.png) no-repeat -10px 0;
}
div.sort_desc {
    background: url(/images/sort.png) no-repeat 0 0;
}
div.sort_title { left: 24px; }
div.sort_size { left: 486px; }
div.sort_seeds { left: 546px; }
div.sort_leechers { left: 612px; }
div.sort_health { left: 669px; }

/* end table title */

/* end table */


/* table items */

#items {
    margin: 3px 0;
    overflow: hidden;
}
div.item {
    border-top:1px solid #BBBBBB;
    font-size:12px;
    margin:0 3px 0 3px;
    overflow:hidden;
    padding:4px 0;
    width: 769px;
}
div.gray {
    background-color: #f6f6f6!important;

}
div.item:hover {
    background-color: #ededed;
}
div.item div {
    float: left;
    overflow: hidden;
}
div.item_title {
    width: 440px;
    padding: 3px 6px 3px 26px;
    font-size: 13px!important;
    white-space: nowrap;
}
div.item_title div {
    position: absolute;
    height:16px!important;
    width:16px!important;
    left: 8px;
}
div.item_size {
    width: 74px;
    padding: 4px 3px;
    text-align:center;
    white-space: nowrap;
}
div.item_seeds {
    width: 54px;
    padding: 4px 3px;
    text-align:center;
}
div.item_leechers {
    width: 54px;
    padding: 4px 3px;
    text-align:center;
}
div.item_health {
    width: 53px;
    height: 13px!important;
    margin: 6px 4px 3px 4px;
    background: url(/images/health.png) no-repeat;

}
div.h0  { background-position: 6px 0; }
div.h1  { background-position: 6px -13px; }
div.h2  { background-position: 6px -26px; }
div.h3  { background-position: 6px -39px; }
div.h4  { background-position: 6px -52px; }
div.h5  { background-position: 6px -65px; }
div.h6  { background-position: 6px -78px; }
div.h7  { background-position: 6px -91px; }
div.h8  { background-position: 6px -104px; }
div.h9  { background-position: 6px -117px; }
div.h10 { background-position: 6px -130px; }

div.item_delete {
    width: 16px;
    height: 16px!important;
    margin: 3px 6px 3px 8px!important;
    cursor: pointer;
    background: url('/images/icons.png') no-repeat;
    text-align:center;

}
span.highlight_search{
    font-weight: bold;
}
span.highlight_filter{
    background-color: #ffff00;
}

/* end table items */


/* pagination */
#pagination1 {
    font-size: 11px;
    padding: 2px 2px 3px 0;
    float:right;
    text-align: right;
    overflow:hidden;
}
#pagination2 {
    overflow:hidden;
}
#pagination1 ul,
#pagination2 ul {
    padding: 0;
    margin: 0;
    overflow:hidden;
    list-style: none;
}
#pagination1 li,
#pagination2 li {
    float: left;
    display: inline;
    margin: 2px;
    padding: 0;
}
#pagination1 li.active span {
    font-weight: bold;
    padding:0 3px;
}
#pagination2 li.active span {
    font-weight: bold;
    display: block;
    height: 16px;
    padding: 8px 0;
    width: 31px;
    text-align: center;
    background: url(/images/page.png) no-repeat;
}
#pagination1 li a {
    padding: 0 3px;
}
#pagination2 li a {
    color: #ff3300;
    display: block;
    height: 16px;
    padding: 8px 0;
    text-decoration: none;
    width: 31px;
    text-align: center;
    background: url(/images/page.png) no-repeat 0 -64px;
}
#pagination2 li a:hover {
    background: url(/images/page.png) no-repeat 0 -32px;
    color: #dd3300;
}
/* end pagination */

/* start tabs */
#tabs {
    clear: both;
    margin:0 15px;
    width: 745px;
    padding-bottom: 1px;
    overflow: hidden;
}
div.tab {
    float: left;
    display: inline;
    cursor: pointer;
    font-size: 11px;
    font-family: tahoma;
    margin: 0 1px -5px 0;
    white-space:nowrap;
}
div.tab_close {
    background: url(/images/tab_close.png) no-repeat;
    display: inline;
    cursor:pointer;
    float:left;
    height:10px;
    margin-left:-18px;
    margin-top: 9px;
    width:10px;
    overflow: hidden;
}
div.tab_close:hover {
    background-position: -10px 0;
}
div.tab_name {
    text-align: center;
    padding: 7px 20px 8px 7px;
    margin: 0 6px;
    float: left;
    display: inline;
}
div.tab_right {
    float: left;
}
div#tab0 {
    padding-right: 14px!important;
    padding-left: 13px!important;
}
div.selected div.tab_name {
    background-color: #f5fcff;
    background: url(/images/tabs_bg.png) repeat-x 0 0;
    color: #247ab7;
    padding: 6px 20px 9px 7px;
}
div.selected div.tab_right {
    background: url(/images/tabs_end.png) no-repeat right 0;
}
div.selected img.tab_close {
    margin-top:8px;
}
div.selected {
    background: url(/images/tabs_end.png) no-repeat 0 0;
}

div.not_selected div.tab_name {
    background-color: #ffffff;
    background: url(/images/tabs_bg.png) repeat-x 0 -30px;
    color: #666666;
}
div.not_selected div.tab_right {
    background: url(/images/tabs_end.png) no-repeat right -30px;
}
div.not_selected {
    background: url(/images/tabs_end.png) no-repeat 0 -30px;
}

div.not_selected:hover div.tab_name {
    background: url(/images/tabs_bg.png) repeat-x 0 -60px;
    color: #333333;
}
div.not_selected:hover div.tab_right {
    background: url(/images/tabs_end.png) no-repeat right -60px;
}
div.not_selected:hover {
    background: url(/images/tabs_end.png) no-repeat 0 -60px;
}

/* end tabs */

#sites {
    clear: both;
    overflow: hidden;
    width: 100%;
}
#sites div {
    float:left;
    height:16px;
    width:16px;
    margin: 4px;
    cursor: pointer;
}
.state_loading {
    background:url('/images/loading_small.gif') no-repeat!important;
}

.state_empty {
    cursor: not-allowed!important;
}
div.torrent_site{
    float:left;
    height:16px;
    width:16px;
    margin: 4px;
    cursor:pointer;
}
#select_mode{
    margin:10px 5px 1px 5px;

}

/* start filters */
#filters {
    font-size: 11px;
    text-align: left;
    color: #000;
    overflow: hidden;
    line-height: 22px;
}
#filters div, #filters input {
    float: left;
}
#filter_string {
    width:150px;
    font-size: 11px;
    padding:0;
    height:13px;
}
#filter_seeds_to,
#filter_leechers_to {
    width:72px;
    font-size: 11px;
    padding:0;
    height:13px;
}
#filter_size_from,
#filter_seeds_from,
#filter_leechers_from{
    width:66px;
    font-size: 11px;
    padding:0;
    height:13px;
}
#filter_size_to {
    width:54px;
    font-size: 11px;
    padding:0;
    height:13px;
}
#filters div.filter_search,
#filters div.filter_to {
    height: 16px;
    width: 16px;
    position: relative;
}
div.filter_search {
    background: url(/images/icons.png) no-repeat 0 -32px;
    margin-right: 4px;
}
div.filter_to {
    background: url(/images/icons.png) no-repeat 0 -48px;
    margin: 0 5px;
}
/* end filters */


div.state_enabled#s_ExtraTorrent,
div.ico_ExtraTorrent              {background:url('/images/sites.png') no-repeat 0 0;}
div.state_empty#s_ExtraTorrent,
div.state_disabled#s_ExtraTorrent {background:url('/images/sites.png') no-repeat -16px 0;}

div.state_enabled#s_BTJunkie,
div.ico_BTJunkie              {background:url('/images/sites.png') no-repeat 0 -16px;}
div.state_empty#s_BTJunkie,
div.state_disabled#s_BTJunkie {background:url('/images/sites.png') no-repeat -16px -16px;}

div.state_enabled#s_Ligg,
div.ico_Ligg              {background:url('/images/sites.png') no-repeat 0 -32px;}
div.state_empty#s_Ligg,
div.state_disabled#s_Ligg {background:url('/images/sites.png') no-repeat -16px -32px;}

div.state_enabled#s_Seedpeer,
div.ico_Seedpeer              {background:url('/images/sites.png') no-repeat 0 -48px;}
div.state_empty#s_Seedpeer,
div.state_disabled#s_Seedpeer {background:url('/images/sites.png') no-repeat -16px -48px;}

div.state_enabled#s_AnyTorrentsDownload,
div.ico_AnyTorrentsDownload              {background:url('/images/sites.png') no-repeat 0 -64px;}
div.state_empty#s_AnyTorrentsDownload,
div.state_disabled#s_AnyTorrentsDownload {background:url('/images/sites.png') no-repeat -16px -64px;}

div.state_enabled#s_VerTor,
div.ico_VerTor              {background:url('/images/sites.png') no-repeat 0 -80px;}
div.state_empty#s_VerTor,
div.state_disabled#s_VerTor {background:url('/images/sites.png') no-repeat -16px -80px;}

div.state_enabled#s_Torrentz,
div.ico_Torrentz              {background:url('/images/sites.png') no-repeat 0 -96px;}
div.state_empty#s_Torrentz,
div.state_disabled#s_Torrentz {background:url('/images/sites.png') no-repeat -16px -96px;}

div.state_enabled#s_ThePirateBay,
div.ico_ThePirateBay              {background:url('/images/sites.png') no-repeat 0 -112px;}
div.state_empty#s_ThePirateBay,
div.state_disabled#s_ThePirateBay {background:url('/images/sites.png') no-repeat -16px -112px;}

div.state_enabled#s_Mininova,
div.ico_Mininova              {background:url('/images/sites.png') no-repeat 0 -128px;}
div.state_empty#s_Mininova,
div.state_disabled#s_Mininova {background:url('/images/sites.png') no-repeat -16px -128px;}

div.state_enabled#s_Fenopy,
div.ico_Fenopy              {background:url('/images/sites.png') no-repeat 0 -144px;}
div.state_empty#s_Fenopy,
div.state_disabled#s_Fenopy {background:url('/images/sites.png') no-repeat -16px -144px;}

div.state_enabled#s_Fulldls,
div.ico_Fulldls              {background:url('/images/sites.png') no-repeat 0 -160px;}
div.state_empty#s_Fulldls,
div.state_disabled#s_Fulldls {background:url('/images/sites.png') no-repeat -16px -160px;}

div.state_enabled#s_TorrentReactor,
div.ico_TorrentReactor              {background:url('/images/sites.png') no-repeat 0 -176px;}
div.state_empty#s_TorrentReactor,
div.state_disabled#s_TorrentReactor {background:url('/images/sites.png') no-repeat -16px -176px;}

div.state_enabled#s_Demonoid,
div.ico_Demonoid              {background:url('/images/sites.png') no-repeat 0 -192px;}
div.state_empty#s_Demonoid,
div.state_disabled#s_Demonoid {background:url('/images/sites.png') no-repeat -16px -192px;}

div.state_enabled#s_NewTorrents,
div.ico_NewTorrents              {background:url('/images/sites.png') no-repeat 0 -208px;}
div.state_empty#s_NewTorrents,
div.state_disabled#s_NewTorrents {background:url('/images/sites.png') no-repeat -16px -208px;}


div.clear {
    clear: both;
}

hr {
    border-top: 1px solid #cccccc;
    border-bottom: 0px;
    height: 1px;
}


#form_content {
    clear: both;
    font-size: 14px;
    width: 580px;
    text-align: right;
    margin: 0 auto;
}
#form_content div.form_item {
    clear: both;
    padding-top: 1px;
}
#form_content div.form_item label {
    width: 150px;
    padding: 3px 5px;
    text-align: right;
    font-weight: bold;
    color: #444;
    height: 20px;
    float: left;
}
#form_content div.form_item input.txt {
    padding: 3px 5px;
    margin-left: 5px;
    float: left;
    width: 400px;
}
#form_content div.form_item textarea {
    padding: 3px 5px;
    margin-left: 5px;
    float: left;
    width: 400px;
}


