/* code by Micah Bucy (aka eternalsword) */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("deviantart.com") {
/* code commented out overrides the shadow as well */

/*
p.dev :hover {
        background: #546359 !important;
}
*/

.dev-100 p.dev .shadow {
        display: table-cell !important;
}
.dev-100 {
        width: 103% !important;
}
.dev-100, .dev-100 * { 
        padding-left: 0px !important; 
        padding-right: 0px !important;
}
.dev-100 p.dev .shadow > a {
        display: table-cell !important;
        text-align: center !important;
        height: 179px !important; /* 129px for those without big thumbnails */
        width: 246px !important;
        vertical-align:middle !important;
        background-color: transparent !important;
}
.dev-100 p.dev :hover {
        background-color: #546359 !important;
}
.dev-100 p.dev .shadow > a > img {
        vertical-align:middle !important;
}

/* fix for main section pages */ 
.dev-100 p.dev .dev-text:hover, .dev-100 p.dev .dev-text:hover * {
        background-color: rgb(178, 184, 178) !important;
}

/* fix for a quirk in devlit thumbnails */
.dev-thumbnails .dev-100 p.devlit .shadow a{
        background-color: transparent !important;
        height: 98% !important;
        width: 98% !important;
        margin: auto !important;
        z-index: 100 !important;
}
}