/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: #808080; content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}

/* Giving headers and TOC a little extra space */
#WikiaMainContent h2 {
   margin-top: 20px;
}
.toc {
   margin-top: 20px;
}

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* Forum formatting (by -Algorithm & -Splaka) */
.forumheader {
   border: 1px solid #aaa;
   margin-top: 1em;
   padding: 12px;
}
.forumlist td.forum_edited a {
   color: black;
   text-decoration: none;
}
.forumlist td.forum_title a {
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
   font-weight: bold;
   background: url(/images/4/4e/Forum_new.gif) center left no-repeat;
   padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
   font-weight: normal;
   background: none;
   padding-left: 20px;
}
.forumlist th.forum_title {
   padding-left: 20px;
}

/* Recent changes byte indicators */
.mw-plusminus-pos {
   color: #006500;
}
.mw-plusminus-neg {
   color: #8B0000;
}

/* Image frame fix */
div.tright, div.tleft {
   border: 1px solid silver;
}

div.thumbinner {
   background: inherit;
   border: none;
   color: inherit;
}
#article div.thumb {
   color:inherit;
}

/***** End of default Wikia rules. *****/

div.dablink {
    font-style: italic;
    margin-left: 4em;
    margin-bottom: 1em;
}
abbr {
    border-bottom: dotted 1px gray;
    cursor: help;
}
div.boilerplate {
    margin: 0 1em;
    padding: 0.5em;
}

.navbox {
    clear: both;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}
.navbox a {
    white-space: nowrap;
}
.navbox-header {
    font-weight: bold;
}

/** Compatibility */
.collapsed .collapseLink {
    font-weight: bold;
}
.wikiaPhotoGallery-slider-body .horizontal div.description-background {
    opacity: 0.7;
}

/** Custom classes **/

/* For {{TOC limit}} */
.toclimit-2 ol ol,
.toclimit-3 ol ol ol,
.toclimit-4 ol ol ol ol,
.toclimit-5 ol ol ol ol ol,
.toclimit-6 ol ol ol ol ol ol,
.toclimit-7 ol ol ol ol ol ol ol {
    display: none;
}

.wikiamobile {
    display: none;
}

table.upgrades td:last-child {text-align: center;}
table.objectives td:last-child, table.objectives th:last-child {
    text-align: right;
}

table.objectiverewards {text-align: right;}
table.objectiverewards td:first-child + td {text-align: left;}
table.objectiverewards th {width: 50px;}
table.objectiverewards th:first-child {width: auto;}

.smaller {font-size: 88%;}

.browser-tooltip {
    border-bottom: dashed 1px silver;
    cursor: pointer;
}

.pd-tooltip {
    display: inline;
    position: relative;
}
.pd-tooltip-elem {
    border-bottom: 1px dashed silver;
    cursor: pointer;
}
.pd-tooltip-popup {
    position: absolute;
    top: 1.2em;
    left: 0;
    background-color: white;
    opacity: 0;
    padding: 0.5em;
    text-align: justify;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: visibility 0s linear 0.2s,opacity 0.2s linear;
    -moz-transition: visibility 0s linear 0.2s,opacity 0.2s linear;
}
.pd-tooltip:hover .pd-tooltip-popup {
    border: 1px solid silver;
    border-radius: 10px;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.wikia-gallery-item + .wikia-gallery-item + .wikia-gallery-item .pd-tooltip-popup,
.wikia-gallery-item + .wikia-gallery-item + .wikia-gallery-item + .wikia-gallery-item .pd-tooltip-popup { /* Hack */
    left: auto;
    right: 0;
}

.weapon_mod {
    clear: left;
}
.weapon_mod th {
    border-left: 1px solid grey;
    padding-left: 0.5em;
}
.weapon_mod th:first-child {
    border-left: none;
}
.weapon_mod td {
    min-width: 2em;
    padding-right: 0.5em;
}

#bigOilEngines[data-bigoil-elem="D"] td:not([data-elem="D"]) *,
#bigOilEngines[data-bigoil-elem="He"] td:not([data-elem="He"]) *,
#bigOilEngines[data-bigoil-elem="N"] td:not([data-elem="N"]) *,
#bigOilEngines[data-bigoil-nozzles="1"] td:not([data-nozzles="1"]) *,
#bigOilEngines[data-bigoil-nozzles="2"] td:not([data-nozzles="2"]) *,
#bigOilEngines[data-bigoil-nozzles="3"] td:not([data-nozzles="3"]) *,
#bigOilEngines[data-bigoil-pressure="le"] td[data-pressure=">"] *,
#bigOilEngines[data-bigoil-pressure="ge"] td[data-pressure="<"] *
{visibility: hidden;}