/* Copyright (c) 2014 Brad Conte (brad@bradconte.com, http://myanimelist.net/profile/B-Con)
 * License: http://opensource.org/licenses/MIT
 * (Summary: You may use, edit, and redistribute this all you want. Just keep the top two lines of this file that credit me and mention the license.)
 *
 * Description: This is the CSS theme for my MAL list at http://myanimelist.net/animelist/B-Con .
 * They generate the HTML, I just style it. Their HTML is quirky, to say the least parts, so I
 * have a few hacks in here.
 *     This is an original work. Both the CSS and the set of "status" remote-control style
 * icons that come with it. See the license information above.
 *
 */

@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic');

/* There are rules for mal_control_strip in the site's stylesheets included after this.
 */
#mal_control_strip {
    background: #222222 !important;
    /* box-shadow: 0 0 9px #222222; */
}

body {
    background-color: #efefef;
    color: #222222;
    font-family: 'Open Sans',Arial,Sans-Serif;
    font-size: 12px;
}

/* Determines the positioning of the list. */
#list_surround {
    margin: 10px auto 10px auto;
    width: 1060px;
    padding: 0 50px;
    box-sizing: border-box;
    background-color: transparent;
}

/* All links on your list. */
a {
    color: #ffffff;
    text-decoration: none;
}
a:visited {
    color: #ffffff;
    text-decoration: inherit;
}
a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* The list views up top. */

#list_surround {
  width: 1060px;
  margin-left: auto;
  margin-right: auto; }
  #list_surround br:first-child + tab\le td:nth-child(1) {
    background-color: #009CAD; }
    #list_surround br:first-child + tab\le td:nth-child(1):hover {
      background-color: #008BAE; }
  #list_surround br:first-child + tab\le td:nth-child(2) {
    background-color: #0072C6; }
    #list_surround br:first-child + tab\le td:nth-child(2):hover {
      background-color: #0061C8; }
  #list_surround br:first-child + tab\le td:nth-child(3) {
    background-color: #DF5628; }
    #list_surround br:first-child + tab\le td:nth-child(3):hover {
      background-color: #D15025; }
  #list_surround br:first-child + tab\le td:nth-child(4) {
    background-color: #AB234B; }
    #list_surround br:first-child + tab\le td:nth-child(4):hover {
      background-color: #901C3F; }
  #list_surround br:first-child + tab\le td:nth-child(5) {
    background-color: #5E34BA; }
    #list_surround br:first-child + tab\le td:nth-child(5):hover {
      background-color: #5530A6; }
  #list_surround br:first-child + tab\le td:nth-child(6) {
    background-color: #7f7f7f; }
    #list_surround br:first-child + tab\le td:nth-child(6):hover {
      background-color: #777777; }

#list_surround > table:first-of-type {
    margin: 25px 0 0 0;
    border-spacing: 0 0 0 0;
    table-layout: fixed;
}

.status_not_selected {
    font-size: 11px;
    padding: 0px;
    width: 90px;
    height: 40px;
/*    background-color: #d6d6d6; */
    border-radius: 0%;
}
.status_selected {
    font-size: 13px;
    padding: 0px;
    width: 90px;
    height: 40px;
/*    background-color: #ffffff; */
    border-radius: 0%;
    color: #ffffff;
    font-weight: bold;
}

.status_not_selected:hover, .status_selected:hover {
     font-weight: bold; 
/*     background-color: #efefef; */
/*     color: #ffffff; */
} 


.status_selected a {
    color: inherit;
}

/*
 * The table rows for each show.
*/

/* Header classes for Currently Watching, Completed, Dropped, etc... */
.header_title {
    font-size: 34px;
    font-weight: bold;
    margin: 25px 0 4px 0;
}

.header_cw + tab\le .tab\le_header, .header_cw ~ .hide {
  background-color: #009CAD; }
.header_cw *, .header_cw ~ tab\le a:visited, .header_cw ~ tab\le a:link, .header_cw ~ tab\le a:active {
  color: #009CAD; }
  
.header_cw span:after {
    display: inline-block;
    content: "";
    margin: 0px 0px -6px 13px;
    height: 35px;
    width: 35px;
    background: transparent url('https://www.dropbox.com/s/uo634mtuxbx0nkm/mal-icon-theme-black-white-small.png?raw=1') no-repeat;
    background-position: 0px -70px;
}

.header_completed + tab\le .tab\le_header, .header_completed ~ .hide {
  background-color: #0072C6; }
.header_completed *, .header_completed ~ tab\le a:visited, .header_completed ~ tab\le a:link, .header_completed ~ tab\le a:active {
  color: #0072C6; }

.header_completed span:after {
    display: inline-block;
    content: "";
    margin: 0px 0px -6px 13px;
    height: 35px;
    width: 35px;
    background: transparent url('https://www.dropbox.com/s/uo634mtuxbx0nkm/mal-icon-theme-black-white-small.png?raw=1') no-repeat;
    background-position: 0px -105px;
}

.header_onhold + tab\le .tab\le_header, .header_onhold ~ .hide {
  background-color: #DF5628; }
.header_onhold *, .header_onhold ~ tab\le a:visited, .header_onhold ~ tab\le a:link, .header_onhold ~ tab\le a:active {
  color: #DF5628; }
  
.header_onhold span:after {
    display: inline-block;
    content: "";
    margin: 0px 0px -6px 13px;
    height: 35px;
    width: 35px;
    background: transparent url('https://www.dropbox.com/s/uo634mtuxbx0nkm/mal-icon-theme-black-white-small.png?raw=1') no-repeat;
    background-position: 0px 0px;
}

.header_dropped + tab\le .tab\le_header, .header_dropped ~ .hide {
  background-color: #AB234B; }
.header_dropped *, .header_dropped ~ tab\le a:visited, .header_dropped ~ tab\le a:link, .header_dropped ~ tab\le a:active {
  color: #AB234B; }
  
.header_dropped span:after {
    display: inline-block;
    content: "";
    margin: 0px 0px -6px 13px;
    height: 35px;
    width: 35px;
    background: transparent url('https://www.dropbox.com/s/uo634mtuxbx0nkm/mal-icon-theme-black-white-small.png?raw=1') no-repeat;
    background-position: 0px -35px;

}

.header_ptw + tab\le .tab\le_header, .header_ptw ~ .hide {
  background-color: #5E34BA; }
.header_ptw *, .header_ptw ~ tab\le a:visited, .header_ptw ~ tab\le a:link, .header_ptw ~ tab\le a:active {
  color: #5E34BA; }
  
.header_ptw span:after {
    display: inline-block;
    content: "";
    margin: 0px 0px -6px 13px;
    height: 35px;
    width: 35px;
    background: transparent url('https://www.dropbox.com/s/uo634mtuxbx0nkm/mal-icon-theme-black-white-small.png?raw=1') no-repeat;
    background-position: 0px -140px;
}

/* The "Anime Title", "Score", "# Eps" columns. */
.table_header {
/*    background-color: #222222;*/
    color: #FFFFFF !important;
    padding: 8px 6px;
}

/* headerLink represents the color of the links inside the_header */
.table_headerLink {
    color: #FFFFFF !important;
}
.table_headerLink:visited {
    color: #FFFFFF !important;
}
.table_headerLink:hover {
    color: #FFFFFF !important;
}

.animetitle {
    font-weight: bold;
    color: #222222;
}

/* The td's for the show listing rows. Act on these instead of tr's. */
[class^=td] {
    background-color: #FBFBFB;
    padding: 4px 6px;
    border-bottom: 1px dotted #d6d6d6;
}

/* Hovering over a row highlights it. */
tr:hover [class^=td] {
    color: #222222;
    background-color: #efefef;
    /* border-bottom: 1px solid #d8fff7; */
}

tr:hover .animetitle,
tr:hover [class^=td] a {
    color: #222222;
}

/* The "#" column. Check for the class for the "more" drop-down box. */
[class^=td]:first-child:not(.borderRBL) {
    color: #888888;
}

/* Hack for the idiot borders on the "#" column header that are hard-coded in
 * the HTML. Borders are on all sides, but I don't want it like that, so make
 * the unwanted borders match the background. */
td.table_header:first-child {
    border-color: transparent;
/*    border-radius: 5px 0 0 0;    For rounded corners */
}
/* To keep the table's right border from including the header. */
td.table_header:last-child {
    border-right-color: transparent;
    /*border-radius: 0 5px 0 0;    For rounded corners */
}

/* Border around the entire table.
 * Just do the sides, the top and bottom are implicit. */
[class^=td]:first-child,
.table_header:first-child {
    border-left: 1px solid transparent;
}

[class^=td]:last-child,
.table_header:first-child {
    border-right: 1px solid transparent;
}

/* The "Edit - More" options. */
[class^=td] div[style^='float'] {
    margin-left: 7px;
}
[class^=td] div[style^='float'] a {
    color: #888888;
}
/* To add a bit more decoration to the "Edit - More" options.
[class^=td] div[style^='float']:before {
    content: "[";
}
[class^=td] div[style^='float']:after {
    content: "]";
} */

/* Controls the select form decoration (the drop down select box). */
.form {
    border-color: #222222;
    border-style: solid;
    border-width: 1px;
    color: #222222;
    font-family: Arial,Sans-Serif;
    font-size: 12px;
    padding: 2px;
}

/* Style the "rewatching", "airing", etc, statuses that come behind a show title. */
a + small {
    margin-left: 5px;
    padding: 1px 4px;
    border-radius: 7px;   /* Have it as rounded as possible. */
    background-color: #efefef;
    color: #8e8e8e;
}

tr:hover a + small {
    background-color: #ffffff;
    color: #8e8e8e;
}

/* There's only one td in this row. */
td.category_totals {
    background-color: #b0b0b0;
    color: #ffffff;
    padding: 8px 6px;
    text-align: center;
/*    border-radius: 0 0 5px 5px; */
}

#grand_totals {
    margin: 15px 0;
    padding: 10px 0;
    font-size: 18px;
    text-align: center;
    v-align: center;
    background-color: #8e8e8e;
    color: #ffffff !important;
}

/*
copyright contains the "Producted by Garrett Gyssler" text
DO NOT REMOVE OR HIDE THIS DIV
IF FOUND TO BE REMOVED, YOUR LIST WILL BE REMOVED TOO
*/
#copyright {
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
}
