/* 
    Created on : 29-Nov-2013, 11:16:23 AM
    Author     : Kezian
    Version    : 1.0
    Infos      :
*/

/* Override MAL parameters */
#mal_control_strip, #mal_control_strip td {
    background: transparent !important;
    height: 0 !important;
}
#mal_cs_pic, #mal_cs_listinfo, #mal_cs_links {
    border: none !important;
}
#mal_cs_pic img {
    display: none;
}

/* Before parameters */
#mal_cs_listinfo:before, #mal_cs_links:before, #mal_cs_otherlinks:before, #mal_cs_powered,
#list_surround > table:first-of-type:before, .header_cw + table:before, .header_completed + table:before, 
.header_onhold + table:before, .header_dropped + table:before, .header_ptw + table:before {
    position: fixed !important;
    right: 5px;
    width: 65px;
    padding: 3px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 7px;
    z-index: 12;
}

/* Profile content and position */
#mal_cs_listinfo:before {
    content: "Profile";
    top: 5px !important;
}
#mal_cs_listinfo {
    top: -3px !important;
}

/* Links content and position */
#mal_cs_links:before {
    content: "MyLists";
    top: 38px !important;
}
#mal_cs_links {
    top: 30px !important;
}

/* Others content and position */
#mal_cs_otherlinks:before {
    content: "Links";
    top: 71px !important;
}
#mal_cs_otherlinks {
    top: 68px !important;
}

/* Display content and position */
#list_surround > table:first-of-type:before {
    content: "Display";
    top: 104px;
}
#list_surround > table:first-of-type {
    top: 96px;
}

/* Order content and position */
.header_cw + table:before, .header_completed + table:before, .header_onhold + table:before, 
.header_dropped + table:before, .header_ptw + table:before {
    content: "Order";
    top: 137px;
}
.header_cw + table, .header_completed + table, .header_onhold + table, 
.header_dropped + table, .header_ptw + table {
    top: 129px;
}
/* Order End */

/* Search content and position */
#mal_cs_powered {
    top: 161px !important;
    right: 14px !important;
}
#mal_cs_powered a {
    display: none !important;
}

#searchBox {
    width: 68px !important;
    font-size: 15px !important;
    padding: 4px 8px;
    border-radius: 7px;
    border: none; 
    text-align: center;
}
#searchListButton {
    margin: 6px 0 0px 58px !important;
    padding: .5em !important;
    border-radius: 7px;
}

/* Box parameters */
#mal_cs_listinfo, #mal_cs_links, #mal_cs_otherlinks,
#list_surround > table:first-of-type, .header_cw + table, .header_completed + table,
.header_onhold + table, .header_dropped + table, .header_ptw + table {
    display: block;
    position: fixed !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    overflow: hidden;
    z-index: 13;
    text-align: center;
}

#mal_cs_listinfo, #mal_cs_links, #mal_cs_otherlinks {
    right: 78px;
    z-index: 14;
}

#list_surround > table:first-of-type, .header_cw + table, .header_completed + table,
.header_onhold + table, .header_dropped + table, .header_ptw + table {
    right: 88px;
}

/* Menus transition */
#mal_cs_listinfo:hover, #mal_cs_links:hover, #mal_cs_otherlinks:hover,
#list_surround > table:first-of-type:hover, .header_cw + table:hover, .header_completed + table:hover,
.header_onhold + table:hover, .header_dropped + table:hover, .header_ptw + table:hover {
    width: auto !important;
    height: auto !important;
}

/* Status and Header box parameters */
#mal_cs_links a:nth-of-type(2), #mal_cs_otherlinks a:nth-of-type(n+2) {
    /*margin-top: -0.8em !important; */
}

#list_surround > table:first-of-type td, .table_header {
    display: block;
    width: 100%;
}

#mal_cs_listinfo a, #mal_cs_links a, #mal_cs_otherlinks div:nth-of-type(n+2) a,
#list_surround > table:first-of-type a, [title="Compatibility Score"], 
.table_header a {
    display: block;
    margin: 8px 12px 4px;
    padding: 3px 16px;
    border-radius: 7px;
    font-size: 15px !important;
    font-weight: bold !important;
}

#mal_cs_otherlinks div:nth-of-type(2) {
	font-size: 15px !important;
    font-weight: bold !important;
}

/* Your are wieving your/other list */
#mal_cs_otherlinks div:first-of-type{
    display: block;
    width: 85%;
    margin-left: 5%;
    padding: 6px 6px;
    border-radius: 7px;
}

/* Header box */
.header_cw, .header_completed, .header_onhold,
.header_dropped, .header_ptw {
    display: none;
}

/* Hide header when All Anime displayed */
#list_surround > table:nth-of-type(n+4) ~ .header_cw + table,
#list_surround > table:nth-of-type(n+4) ~ .header_completed + table,
#list_surround > table:nth-of-type(n+4) ~ .header_onhold + table,
#list_surround > table:nth-of-type(n+4) ~ .header_dropped + table,
#list_surround > table:nth-of-type(n+4) ~ .header_ptw + table {
    display: none;
}

/* Number and tags hidden*/
.table_header:first-of-type, .table_header[width="125"] {
    display: none;
}

#fancybox-outer {
    border-radius: 7px;
}

