/* General */

body {
    margin: 0;
    padding: 0;
    background: #333;
    font-size: 12px;
    line-height: 1.1em;
    font-family: sans-serif;
}

div, form, ul, li, p {
    margin: 0;
    padding: 0;
} 

hr {
    height: 1px;
    border-bottom: 1px solid #444;
    margin: 1em 0;
}

img {
    border: none;
}
th {
    text-align: left;
}
h1 {
    font-size: 14pt;
}
h2 {
    font-size: 12pt;
    padding: 0;
}
h3, h4, h5, h6 {
    font-weight: normal;
}
table, th, td {
    border: none;
}


/* Page : whole page */

#page {
    width: 880px;
    padding: 0 8px;
    margin: 0 auto;
    /* background: #eee url("page.png") top left repeat-y; */
    background-color: #FFFFFF;
}

/* Header : Flash banner */

#header {
}

/* section_menu : top menu */

#section_menu {
    height: 18px;
    background: #333;
}

#section_menu li {
    float: left;
    margin: 0 2px 0 0;
    list-style-type: none;
}

#section_menu li a {
    display: block;
    border: 1px solid #fff;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    padding: 0 10px 0 5px;
    color: #fff;
    background: #444 url("menu-bg-inactive.png") bottom right no-repeat; 
}
#section_menu li.active a,
#section_menu li a:hover {
    background: #080 url("menu-bg-active.png") bottom right no-repeat; 
}

/* Sidebar */

#sidebar {
    float: left;
    width: 114px;
    padding: 3px;
    background: #ece9d8;
    color: #333333;
    text-align: center;
}
#sidebar ul {
    margin: 10px 0;
    padding: 0;
}
#sidebar li {
    margin: 2px 0;
    padding: 0;
    list-style-type: none;
}
#sidebar a {
    display: block;
    text-decoration: none;
}

/* Sidebar : Login */

#login label {
    display: block;
    text-align: left;
}
#login .field input {
    /* Not inherited in IE */
    font-size: 10px;
    font-family: sans-serif;
    width: 110px;
    border: 1px solid #888;
}
#login .checkbox {
    text-align: center;
}
#login .button{
    color: #fff;
    background: #444;
    border-style: outset;
}

/* Sidebar : Search list */

#search_list a {
    font-size: 12px;
    line-height: 16px;
    border: 1px solid #333333;
    width: 112px;  /* length of <li> - border (1px x 2) */
    color: #fff;
    background-color: #080;
}
#search_list a:hover {
    color: #000;
    background-color: #ffee88;
}

/* Sidebar : category list */

.category_list a {
    font-size: 12px;
    line-height: 16px;
    width: 114px;
    color: #fff;
    background: #333 url(cat-bg.png) top left repeat-x;
}
.category_list a:hover {
    color: #000;
    background: #ffee88;
}

/* Sidebar : actress_list */

.actress_list li {
    float: left;
    font-size: 9px;
    width: 57px;  /* 114px / 2 */
}
.actress_list a {
    color: #222;
}

/* Sidebar : misc links */

.misc_links {
    clear: both;
}
.misc_links p {
    padding: 10px 0;
    line-height: 1.5em;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

/* General set up for the boxes */

.box h2 {
    float: left;
    display: inline;
    height: 20px;
    padding: 0 20px 0 3px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    background: #333 url("title-left.png") top right no-repeat;
    clear: right;
}

.box {
    float: left;
    display: inline;
    margin: 4px 0 4px 4px;
    background: #fff url("title-right.png") top right repeat-x;
    width: 754px;
}
.box div {
    clear: left;
    border: 1px solid #000;
    margin-bottom: -1px;
}
.box div div {
    clear: none;
    border: none;
    margin: 0;
}

/* The hack */

.clear {
    clear: both;
}

/* Main content area */

#content {
    background-color: #fff;
    margin: 0 0 0 120px;
    padding: 1px 0 20px 0;  /* you need top 1px for FireFox */
}
#content.front_page {
    background-color: #ddd;
}

/* Top page sections */

#top_head {
    margin: 0 0 20px 0;
}
#top_head table,
#top_head tr,
#top_head td {
    border: none;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
}
#top_head table,
#top_head img {
    float: left;
}
#top_row_2,
#top_row_3,
#top_row_4 {
    width: 760px;
    float: left;
    display: inline;
}

/* Common for all movies */

.movie_info div {
    height: 244px;
    background-color: #ece9d8;
}
.movie_info div div {
    height: auto;
    border-top: 1px solid #000;
    margin: -1px 2px 0 324px;
    padding: 2px 0 3px;
}
.movie_info div div.download {
    height: 40px;
}
.movie_info div div.download div {
    width: 113px;
    height: 40px;
    border: none;
    margin: 0;
    padding: 0;
    float: left;
    display: inline;
    text-align: center;
}
.movie_info .large_still {
    border: 1px solid #000;
    float: left;
    display: inline;
    width: 320px;
    height: 240px;
    margin: 0px;
    padding: 0;
}
.movie_info .small_still {
    border: 1px solid #000;
    float: left;
    display: inline;
    width: 120px;
    height: 90px;
    margin: 0 1px 0px 0;
    padding: 0;
}
.movie_info p {
    margin-bottom: 1px;
}
.speed_meter {
    width: 36px;
    height: 36px;
}

/* Image replacement for "buttons" */

.ir_download,
.ir_share,
.ir_free_download,
.ir_warehouse,
.ir_request,
.ir_details,
.ir_exclusive,
.ir_revival,
.ir_revival_wait,
.ir_rss,
.ir_dl_trouble {
   display: block;
   height: 0; 
    padding: 2px 0 0 0;
    overflow: hidden;
    margin: 1px auto;
    line-height: 2em;
}
.ir_download {
    width: 80px;
    padding-top: 20px;
    background-image: url("download.gif");
}
.ir_share {
    width: 80px;
    padding-top: 20px;
    background-image: url("share.gif");
}
.ir_free_download {
    width: 83px;
    padding: 48px 0 0 0;
    background-image: url("sample_button.gif");
}
.ir_warehouse {
    width: 80px;
    padding-top: 20px;
    background-image: url("warehouse.gif");
}
.ir_request {
    width: 80px;
    padding-top: 20px;
    background-image: url("request.gif");
}
.ir_revival_wait {
    width: 80px;
    padding-top: 20px;
    background-image: url("revival-wait.gif");
}
.ir_details {
    width: 80px;
    padding-top: 20px;
    background-image: url("details.gif");
}
.ir_rss {
    width: 28px;
    padding-top: 14px;
    background-image: url("rss.gif");
}
.ir_dl_trouble {
    width: 138px;
    background-image: url("dl-trouble.gif");
}
.ir_exclusive {
    width: 60px;
    padding-top: 38px;
    background-image: url("exclusive2.gif");
}
.ir_revival {
    width: 40px;
    padding-top: 25px;
    background-image: url("revival2.gif");
}

/* Image replacement for others */

.ir_non_recommended,
.ir_free_sample {
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    margin: 0 auto;
	background-color: #ece9d8;
}
.ir_non_recommended {
    padding-top: 34px;
    width: 41px;
    background-image: url("non_recommended.gif");
}
.ir_free_sample {
    padding-top: 39px;
    width: 137px;
}

/* Information box */

#latest_info {
    width: 180px;
    float: right;
    display: inline;
	background-color: #ffebcd;
}
#latest_info div {
    height: 240px; /* 240 as per free_sample - padding and borders*/
    width: 172px;
    margin: 0px;
    padding: 3px;
    overflow: auto;
    border: 1px solid #000;
	background-color: #ffebcd;
}
#latest_info p {
    margin-bottom: 1em;
}

/* Specific settings for movies */

#new_movies {
	background-color: #ece9d8;
}
#new_movies div.item {
    height: auto;
}
#new_movies .description {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: 0px;
}
#new_movies .stats {
    width: 370px;
}
#new_movies .details {
    float: left;
    display: inline;
}
#new_movies .stats p {
    float: right;
    display: inline;
}
    
#new_movies h3{
    color: #333;
    font-size: 10pt;
    padding: 10px 0px 0px 5px;
    margin: 0;
	background-color: #ece9d8;
}
    
#free_sample {
    width: 480px;
    float: left;
    display: inline;
    height: 284px; /* 40 for image + 20 for h2 + margins*/
}
#free_sample .today {
    width: 480px;
    margin: 0 2px 0 0;
    padding: 0;
    height: 120px;
    overflow: hidden;
    position: relative;
}
#free_sample .download {
    width: 480px;
    margin: 0 0 0 0;
    padding: 0;
    height: 125px;
    overflow: auto;
}

/* Front page info boxes */
#dl_tools,
#join_info,
#verisign,
#short_sample,
#speed_meter_info {
    width: 364px;
}
#dl_tools p,
#join_info p,
#verisign p,
#short_sample p,
#speed_meter_info p {
    margin: 2px;
}
#dl_tools img {
    display: block;
    width: 236px;
    height: 210px;
    margin: auto;
}
#join_info img {
    width: 82px;
    height: 49px;
    border: 1px solid #000;
    margin: 2px 2px 2px 10px;
    float: right;
    display: inline; /* IE hack */
}
#verisign img {
    float: right;
    display: inline;
    margin: 20px;
}
#speed_meter_info p {
    margin-right: 20px;
}
#speed_meter_info img {
    float: right;
    display: inline;
    margin: 20px;
}

/* Recommended and non_recommended */
#recommended,
#non_recommended {
    width: 332px;
	background-color: #ece9d8;
    margin: 0;
}
#recommended div {
    border: 4px solid #ff6600;
    border-top: none;
	background-color: #ece9d8;
}
#non_recommended div {
    border: 4px solid #008800;
    border-top: none;
	background-color: #ece9d8;
}
#recommended div div,
#non_recommended div div {
    border: none;
}
#recommended.box h2 {
    background: #800 url("title-red-left.png") top right no-repeat;
}
#recommended.box {
    background: #fff url("title-red-right.png") top right repeat-x;
	background-color: #ece9d8;
}
#recommended img,
#non_recommended img {
    border: 1px solid #000;
    margin: 30px 3px 3px 3px;
    float: right;
    display: inline;
}
#recommended h3,
#non_recommended h3 {
    padding: 10px 10px 0 0;
}

#content.text_page {
    font-size: 14px;
    line-height: 1.4em;
    padding: 1px 1em 1em;
}
#content.text_page p {
    padding: 3px 0px 3px 10px;
}
.text_page h1 {
    font-size: 24px;
    border-bottom: 1px solid #000;
    line-height: 24px;
}
.text_page h2 {
    border: 1px solid #333;
    font-size: 16px;
    background-color: #ECE9D8;
    color: #333;
    padding: 4px;
    font-weight: bold;
}
.text_page a {
    color: #44f;
    text-decoration: underline;
}
.text_page ul,
.text_page ol {
    margin: 0 0 1em 1em;
    padding: 3px 0px 3px 10px;
}
.text_page img {
    padding: 0 10px 0 0;
}
.text_page li {
	list-style-type: square;
}

ul.pager {
    text-align: center;
    margin: 0 0 10px 0;
}
ul.pager li {
    display: inline;
    margin: 0 5px;
}

.details th {
    text-align: right;
}

table.all_list {
    border-spacing: 0;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
}
table.all_list td,
table.all_list th {
    font-size: 10px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 0;
    padding: 2px;
}

/* Lists by genre or actress */

ul.title_list {
}
ul.title_list li {
    list-style: none;
    width: 360px;
    height: 160px;
    float: left;
    display: inline;
    font-size: 10px;
    margin: 0 0 10px 5px;
}
ul.title_list h2 {
    font-size: 12px;
    clear: left;
    margin: 0px 0 3px 0;
}
ul.title_list .a {
    width: 102px;
    float: left;
    display: inline;
    margin: 0;
    height: 102px;
}
ul.title_list .a img {
    border: 1px solid #000;
    width: 100px;
    height: 100px;
    margin: 0;
    float: left;
    display: inline;
}
ul.title_list .b {
    float: left;
    display: inline;
    margin: 0 0 0 3px;
    width: 358px;
}
ul.title_list .c {
    width: 328px;
    float: left;
    display: inline;
}
ul.title_list .c div {
    float: left;
    display: inline;
    text-align: left;
    margin: 0 3px 0 0;
}
ul.title_list table {
    width: 100%;
    border-spacing: 0 3px;    
    margin: 0 0 0 3px;
}
ul.title_list th {
    border-top: 1px solid #080;
    border-right: 1px solid #080;
    padding: 2px 2px 3px 3px;
    width: 65px;
    white-space: nowrap;
}
ul.title_list td {
    border-bottom: 1px solid #080;
    padding: 3px 3px 2px 2px;
}

#join_info img,
#verisign img {
    float: right;
    display: inline;
    margin: 23px 0 3px 3px;
}

#top_row_3 .box h2 {
    display: inline;
    float: none;
    clear: right;
    line-height: 22px;
}
#top_row_3 .box p {
    margin: 0.5em 0;
}

