Skylords Reborn
No edit summary
No edit summary
Line 595: Line 595:
 
cursor: pointer;
 
cursor: pointer;
 
user-select: none;
 
user-select: none;
  +
-webkit-user-select: none;
 
pointer-events: auto;
 
pointer-events: auto;
 
font-size: 15px;
 
font-size: 15px;

Revision as of 15:40, 26 July 2021

/* ******************************************** */
/* CSS placed here will be applied to all skins */
/* ******************************************** */

/* Image Formatting */
.FullWidthImage img, .full-width-img > img {
    height: auto;
    width: 100%;
}

.pi-theme-mastery {
    float: left;
}

/* hide visual editor link on section headers x 2 */
.mw-editsection-visualeditor, .mw-editsection-divider {
	display: none;
}

/* <code> and <pre> design */
code {
    background-color: #061e36;
    padding: 1px 4px;
    border: 1px solid #092949;
    border-radius: 2px;
    color: #fff;
}

pre {
    background-color: #061e36 !important;
    border: 1px solid #092949 !important;
    border-radius: 5px;
}

/* hide loading audio player */
.audio-button > * {
	display: none;
}

/* Tooltips */
body #tooltip-wrapper {
    z-index: 100000;
}
 
body .tooltip-loading {
	color: transparent;
    height: 32px !important;
    width: 32px !important;
    background-image: url('https://images.wikia.nocookie.net/nanaki/images/d/de/Ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center center;
}
 
body .main-tooltip {
    background-color: #082644;
    border: 1px solid #999;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    color: #ccc;
}

/* Skill Tabs */
dl.skill-tabs {
    margin: 0;
}
.skill-tabs .hidden-tab {
    display: none;
}
.skill-tabs > dt {
    background-color: rgba(0, 0, 0, .3);
    position: relative;
    padding: 0 1.3em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border-radius: .3em;
}
.skill-tabs > dd {
    margin-left: 17px;
}
.skill-tabs .prev-tab,
.skill-tabs .next-tab {
    position: absolute;
    top: 0;
    width: 50%;
    padding: 0 .3em;
    box-sizing: border-box;
    cursor: pointer;
    opacity: .5;
}
.skill-tabs .prev-tab:hover,
.skill-tabs .next-tab:hover {
    opacity: 1;
}
.skill-tabs .prev-tab {
    left: 0;
    text-align: left;
}
.skill-tabs .next-tab {
    right: 0;
    text-align: right;
}
.skill-tabs.toggle-tabs .prev-tab,
.skill-tabs.toggle-tabs .next-tab {
    width: 100%;
}

/* Template:Infobox map */
section[data-item-name="map-infobox-minimap"] .pi-item:not(.pi-header) {
    padding: 0;
}

/* Template:Edit Button Fix */
.edit-button .external:after {
    display: none !important;
}

/* Template:Message Box */
.noticebox {
    border: 2px solid #0c152c;
    border-radius: 7px;
    background-color: #091023;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: auto;
    margin: 0.5em 3em;
    font-size: 12px;
    line-height: 130%;
}
 
.noticebox .bg {
    border-radius: 3px;
    text-shadow: 0 0 10px #091023;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
 
.noticebox .bg table {
    background-color: rgba(9, 16, 35, 0.6);
    padding: 1em;
    width: 100%;
}
 
.noticebox .bg > img {
    position: absolute;
    z-index: -1;
    height: auto;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
 
.noticebox .quote {
    font-size: 90%;
    padding: 0 1em;
    vertical-align: top;
}
 
.noticebox .image {
    padding: 0 0.2em 0 0;
    width: 102px;
    vertical-align: top;
}
 
.noticebox .header {
    font-weight: 700;
    font-size: 130%;
    padding: 0;
    padding: 0.2em 0 0;
    vertical-align: top;
}
 
.noticebox .content {
    padding: 0.2em 0;
}
 
.noticebox .more {
    font-size: 90%;
    padding: 0.1em 1em 0;
}
 
.noticebox .content > div :first-child,
.noticebox .more > div :first-child {
    margin-top: 0;
}
 
.noticebox .content > div :last-child,
.noticebox .more > div :last-child {
    margin-bottom: 0;
}
 
.noticebox li {
    line-height: inherit;
}

/* Template:Scroll box */
.scroll-box-pre-design > ul {
  margin: 0 0 0 1.5em;
}

/* Card Grid Filtering */
#grid-filter-container {
	position: relative;
	overflow: hidden;
}

#grid-filter-container input, #grid-filter-container select {
    font-size: 14px;
    line-height: normal;
    width: 100%;
    height: 28px;
    color: #ccc;
    background-color: #060a16;
    border-radius: 5px;
    border: 1px solid #092949;
}

#grid-filter-dropdowns {
	background-color: #061E36;
    padding: 3px;
    margin: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#grid-filter-dropdowns > div:not(#grid-filter-reset) {
    margin: 0 2px;
    flex: 1 1 80px;
    min-width: 80px;
    max-width: 20%;
}
#grid-filter-dropdowns > div:first-child {
	margin-left: 0;
}
#grid-filter-reset {
	margin-left: 2px;
}
#grid-filter-buttons {
	clear: both;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin: 3px 0;
}
#grid-filter-buttons > div {
	background-color: #061E36;
	padding: 3px;
	margin: 0 3px;
}
#grid-filter-buttons > div:first-child {
	margin-left: 0;
}
#grid-filter-buttons > div:last-child {
	margin-right: 0;
}

#grid-filter-search-field {
	border-color: #092949 !important;
	border-width: 1px !important;
	background-color: #060a16 !important;
	padding: 0 5px;
}

#grid-matches {
	width: 100%;
	text-align: center;
	vertical-align: middle;
	font-size: 18px;
	margin-top: 8px;
	cursor: help;
}

#card-grid {
	padding-top: 10px;
    background-image: linear-gradient(rgb(6, 30, 54) 0px, rgba(6, 30, 54, 0) 100px);
    text-align: center;
    clear: both;
    overflow-y: hidden;
    transition: max-height 0.2s ease-out;
}
.grid-icon {
    display: inline-block;
    box-shadow: inset 0 0 10px 1px rgba(0,0,0,0.75);
    margin: 1px;
    position: relative;
    cursor: pointer;
}
.grid-icon:hover {
    box-shadow: 0 0 3px #aac,0 0 4px #111;
}
.grid-icon::after {
    content: '';
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.75);
}
.grid-icon:hover::after {
    box-shadow: none;
}

#grid-filter-container input[type="checkbox"] {
    display: none;
}
#grid-filter-container label {
    display: block;
    width: 49px;
    height: 39px;
    transition: opacity ease 0.3s;
    background-repeat: no-repeat;
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/5/5d/Gridfilter-sprite.png/revision/latest");
    cursor: pointer;
}

#grid-filter-reset-btn {
	width: 43px !important; /* remove important after js review */
	height: 35px !important; /* remove important after js review */
	display: flex;
	cursor: pointer;
    background-repeat: no-repeat;
    background-position: -2643px -3px;
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/5/5d/Gridfilter-sprite.png/revision/latest");
}
#grid-filter-reset-btn:hover {
    background-position: -2698px -3px; 
}

#grid-filter-orbs-field-1 + label {
    background-position: -3px -3px;
}

#grid-filter-orbs-field-1:hover + label {
    background-position: -58px -3px;
}

#grid-filter-container:not(.hide-fire) #grid-filter-orbs-field-1:checked + label:not(:hover) {
    background-position: -113px -3px;
}

#grid-filter-orbs-field-1:checked:hover + label {
    background-position: -168px -3px;
}

#grid-filter-orbs-field-2 + label {
    background-position: -223px -3px;
}

#grid-filter-orbs-field-2:hover + label {
    background-position: -278px -3px;
}

#grid-filter-container:not(.hide-frost) #grid-filter-orbs-field-2:checked + label:not(:hover) {
    background-position: -333px -3px;
}

#grid-filter-orbs-field-2:checked:hover + label {
    background-position: -388px -3px;
}

#grid-filter-orbs-field-3 + label {
    background-position: -443px -3px;
}

#grid-filter-orbs-field-3:hover + label {
    background-position: -498px -3px;
}

#grid-filter-container:not(.hide-nature) #grid-filter-orbs-field-3:checked + label:not(:hover) {
    background-position: -553px -3px;
}

#grid-filter-orbs-field-3:checked:hover + label {
    background-position: -608px -3px;
}

#grid-filter-orbs-field-4 + label {
    background-position: -2753px -3px;
}

#grid-filter-orbs-field-4:hover + label {
    background-position: -2808px -3px;
}

#grid-filter-container:not(.hide-shadow) #grid-filter-orbs-field-4:checked + label:not(:hover) {
    background-position: -2918px -3px;
}

#grid-filter-orbs-field-4:checked:hover + label {
    background-position: -2863px -3px;
}

#grid-filter-orbs-field-5 + label {
    background-position: -663px -3px;
}

#grid-filter-orbs-field-5:hover + label {
    background-position: -718px -3px;
}

#grid-filter-container:not(.hide-neutral) #grid-filter-orbs-field-5:checked + label:not(:hover) {
    background-position: -773px -3px;
}

#grid-filter-orbs-field-5:checked:hover + label {
    background-position: -828px -3px;
}

#grid-filter-orbsamount-field-1 + label {
    background-position: -883px -3px;
}

#grid-filter-orbsamount-field-1:hover + label {
    background-position: -938px -3px;
}

#grid-filter-orbsamount-field-1:checked + label {
    background-position: -993px -3px;
}

#grid-filter-orbsamount-field-1:checked:hover + label {
    background-position: -1048px -3px;
}

#grid-filter-orbsamount-field-2 + label {
    background-position: -1103px -3px;
}

#grid-filter-orbsamount-field-2:hover + label {
    background-position: -1158px -3px;
}

#grid-filter-orbsamount-field-2:checked + label {
    background-position: -1213px -3px;
}

#grid-filter-orbsamount-field-2:checked:hover + label {
    background-position: -1268px -3px;
}

#grid-filter-orbsamount-field-3 + label {
    background-position: -1323px -3px;
}

#grid-filter-orbsamount-field-3:hover + label {
    background-position: -1378px -3px;
}

#grid-filter-orbsamount-field-3:checked + label {
    background-position: -1433px -3px;
}

#grid-filter-orbsamount-field-3:checked:hover + label {
    background-position: -1488px -3px;
}

#grid-filter-orbsamount-field-4 + label {
    background-position: -1543px -3px;
}

#grid-filter-orbsamount-field-4:hover + label {
    background-position: -1598px -3px;
}

#grid-filter-orbsamount-field-4:checked + label {
    background-position: -1653px -3px;
}

#grid-filter-orbsamount-field-4:checked:hover + label {
    background-position: -1708px -3px;
}

#grid-filter-rarity-field-1 + label {
    background-position: -1763px -3px;
}

#grid-filter-rarity-field-1:hover + label {
    background-position: -1818px -3px;
}

#grid-filter-rarity-field-1:checked + label {
    background-position: -1873px -3px;
}

#grid-filter-rarity-field-1:checked:hover + label {
    background-position: -1928px -3px;
}

#grid-filter-rarity-field-3 + label {
    background-position: -1983px -3px;
}

#grid-filter-rarity-field-3:hover + label {
    background-position: -2038px -3px;
}

#grid-filter-rarity-field-3:checked + label {
    background-position: -2093px -3px;
}

#grid-filter-rarity-field-3:checked:hover + label {
    background-position: -2148px -3px;
}

#grid-filter-rarity-field-4 + label {
    background-position: -2203px -3px;
}

#grid-filter-rarity-field-4:hover + label {
    background-position: -2258px -3px;
}

#grid-filter-rarity-field-4:checked + label {
    background-position: -2313px -3px;
}

#grid-filter-rarity-field-4:checked:hover + label {
    background-position: -2368px -3px;
}

#grid-filter-rarity-field-2 + label {
    background-position: -2423px -3px;
}

#grid-filter-rarity-field-2:hover + label {
    background-position: -2478px -3px;
}

#grid-filter-rarity-field-2:checked + label {
    background-position: -2533px -3px;
}

#grid-filter-rarity-field-2:checked:hover + label {
    background-position: -2588px -3px;
}

#grid-filter-type-field-2 + label {
    background-position: -2973px -3px;
}

#grid-filter-type-field-2:hover + label {
    background-position: -3028px -3px;
}

#grid-filter-type-field-2:checked + label {
    background-position: -3083px -3px;
}

#grid-filter-type-field-2:checked:hover + label {
    background-position: -3138px -3px;
}

#grid-filter-type-field-3 + label {
    background-position: -3193px -3px;
}

#grid-filter-type-field-3:hover + label {
    background-position: -3248px -3px;
}

#grid-filter-type-field-3:checked + label {
    background-position: -3303px -3px;
}

#grid-filter-type-field-3:checked:hover + label {
    background-position: -3358px -3px;
}

#grid-filter-type-field-1 + label {
    background-position: -3413px -3px;
}

#grid-filter-type-field-1:hover + label {
    background-position: -3468px -3px;
}

#grid-filter-type-field-1:checked + label {
    background-position: -3523px -3px;
}

#grid-filter-type-field-1:checked:hover + label {
    background-position: -3578px -3px;
}

#grid-collapse > button, .edit-button span, #booster-nav2 > button {
	color: white;
	padding: 0.5rem;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
    pointer-events: auto;
    font-size: 15px;
    text-shadow: 0 0 5px black;
    border: 1px solid rgb(21, 59, 84);
    border-radius: 3px;
    background: linear-gradient(to bottom, rgb(31, 88, 125) 0%, rgb(31, 88, 125) 31%, rgb(21, 59, 84) 71%, rgb(21, 59, 84) 99%);
}

#grid-collapse button:hover, .edit-button span:hover, #booster-nav2 > button:hover {
	border: 1px solid steelblue;
	background: rgb(31, 88, 125);
}

#grid-collapse button:active, .edit-button span:active, #booster-nav2 > button:active {
	background: linear-gradient(to top,rgb(31,88,125) 0%,rgb(31,88,125) 31%,rgb(21,59,84) 71%,rgb(21,59,84) 99%);
}

.edit-button.no-gradient span:not(:hover) {
	background: rgb(21, 59, 84);
}

#card-grid.expanded {
	max-height: none !important;
}

#grid-collapse {
	text-align: center;
    padding-top: 10px;
    pointer-events: none;
}

#card-grid.list-of-cards.collapsed ~ #grid-collapse {
	margin: 0 0.5rem 0.5rem;
}

#card-grid.collapsed ~ #grid-collapse {
    position: absolute;
    padding-top: 0 !important;
    height: 80px;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(6,30,54,1) 75%);
    line-height: 120px;
}

/* disabling filter aspects */
.hide-fire #grid-filter-orbs-field-1 + label, .hide-frost #grid-filter-orbs-field-2 + label, .hide-nature #grid-filter-orbs-field-3 + label, .hide-shadow #grid-filter-orbs-field-4 + label, .hide-neutral #grid-filter-orbs-field-5 + label,
.hide-orbs #grid-filter-orbs-wrapper, .hide-orbsamount #grid-filter-orbsamount-wrapper, .hide-rarity #grid-filter-rarity-wrapper, .hide-type #grid-filter-type-wrapper {
	opacity: 0.5;
	pointer-events: none;
}

.card-viewer-color-fire img {
    filter: brightness(0) saturate(100%) invert(46%) sepia(69%) saturate(3899%) hue-rotate(354deg) brightness(100%) contrast(105%);
}

.card-viewer-color-frost img {
    filter: brightness(0) saturate(100%) invert(63%) sepia(95%) saturate(3896%) hue-rotate(192deg) brightness(99%) contrast(93%);
}

.card-viewer-color-nature img {
    filter: brightness(0) saturate(100%) invert(69%) sepia(63%) saturate(497%) hue-rotate(44deg) brightness(95%) contrast(91%);
}

.card-viewer-color-shadow img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(81%) saturate(4900%) hue-rotate(275deg) brightness(115%) contrast(121%);
}

.card-viewer-layer-fire img {
    filter: brightness(25%) sepia(45%) saturate(10000%) hue-rotate(343deg) brightness(85%) contrast(105%)
}

.card-viewer-layer-frost img {
    filter: brightness(65%) sepia() saturate(1500%) hue-rotate(165deg);
}

.card-viewer-layer-nature img {
    filter: sepia(63%) saturate(497%) hue-rotate(44deg) brightness(95%) contrast(91%);
}

.card-viewer-layer-shadow img {
    filter: brightness(22%) sepia() saturate(5000%) hue-rotate(277deg);
}

.card-viewer-layer-neutral img {
    filter: invert(10%) sepia(59%) saturate(339%) hue-rotate(2deg) brightness(92%) contrast(87%);
}

.card-viewer-unit-size img:nth-of-type(2) {
    margin-left: -5px;
}

.cv-card-container {
    font-size: 28px;
    display: table;
    position: relative;
    transform-origin: top left;
    height: 510px;
    width: 370px;
    color: white;
    overflow: hidden;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    line-height: 18px;
}

.cv-card-container > div {
    position: absolute;
}

.cv-art {
    top: 35px;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
}

.cv-bg {
	height: 100%;
	width: 100%;
	z-index: 30;
    background: no-repeat center;
}

.cv-bg > a, .cv-bg > strong {
    display: block;
    height: 100%;
    text-indent: -9999px;
}

.cv-bg-Blank, .cuv-bg-Blank {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/38/Faction_Blank_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-Fire {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/8/8e/Faction_Fire_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-Frost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/3d/Faction_Frost_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-Nature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/0/08/Faction_Nature_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-Neutral {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/c/c7/Faction_Neutral_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-Shadow {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/9/98/Faction_Shadow_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-FireFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/37/Faction_FireFrost_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-FireNature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/6/63/Faction_FireNature_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-FireShadow {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/d/d0/Faction_FireShadow_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-NatureFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/b/b3/Faction_NatureFrost_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-ShadowFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/6/61/Faction_ShadowFrost_Upgrade_0_Type_C_Frame.png/revision/latest");
}

.cv-bg-ShadowNature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/e/eb/Faction_ShadowNature_Upgrade_0_Type_C_Frame.png/revision/latest");
}

/* upgrade frames */
.cuv-bg-Fire {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/6/66/Faction_Fire_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-Frost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/a/a2/Faction_Frost_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-Nature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/0/06/Faction_Nature_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-Neutral {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/9/90/Faction_Neutral_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-Shadow {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/f/fb/Faction_Shadow_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-FireFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/f/f3/Faction_FireFrost_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-FireNature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/3d/Faction_FireNature_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-FireShadow {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/7/7d/Faction_FireShadow_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-NatureFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/4/42/Faction_NatureFrost_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-ShadowFrost {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/d/d9/Faction_ShadowFrost_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cuv-bg-ShadowNature {
	background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/b/be/Faction_ShadowNature_Upgrade_0_Type_U_Frame.png/revision/latest");
}

.cv-bg-spell {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    z-index: 50;
    text-align: center;
}

/* upgrades und charges */
 
.cv-promo-icon {
    top: 2px;
    left: 1px;
    z-index: 300;
}

.cv-name {
    top: 21px;
    left: 45px;
    z-index: 500;
    letter-spacing: -0.5px;
}

.cv-slot {
    top: 3px;
    right: 5px;
    z-index: 500;
    width: 91px;
    height: 85px;
    background: url("https://static.wikia.nocookie.net/skylords-reborn/images/2/2c/Tokenslot-sprite.png/revision/latest") center no-repeat;
}
.cv-slot-blank, .cv-edition-blank {
	background: unset !important;
}
.cv-slot-Fire {
    background-position: -2px -2px;
}
.cv-slot-FireNature {
    background-position: -97px -2px;
}
.cv-slot-Frost {
    background-position: -2px -91px;
}
.cv-slot-Nature {
    background-position: -97px -91px;
}
.cv-slot-Neutral {
    background-position: -192px -2px;
}
.cv-slot-Shadow {
    background-position: -192px -91px;
}

.cv-orb1 {
	width: 20px;
	height: 20px;
    bottom: 435px;
    right: 12px;
    z-index: 1000;
}

.cv-orb2 {
	width: 20px;
	height: 20px;
    bottom: 430px;
    right: 30px;
    z-index: 1000;
}

.cv-orb3 {
	width: 20px;
	height: 20px;
    bottom: 430px;
    right: 49px;
    z-index: 1000;
}

.cv-orb4 {
	width: 20px;
	height: 20px;
    bottom: 435px;
    right: 67px;
    z-index: 1000;
}

.cv-orb-Fire {
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/30/Orbs-sprite.png/revision/latest") -2px -2px;;
}
.cv-orb-Frost {
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/30/Orbs-sprite.png/revision/latest") -26px -2px;;
}
.cv-orb-Nature {
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/30/Orbs-sprite.png/revision/latest") -50px -2px;;
}
.cv-orb-Neutral {
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/30/Orbs-sprite.png/revision/latest") -74px -2px;;
}
.cv-orb-Shadow {
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/30/Orbs-sprite.png/revision/latest") -98px -2px;;
}
 
.cv-cost {
    top: 24px;
    right: 31px;
    min-width: 40px;
    z-index: 1100;
    font-size: 22px;
    text-align: center;
}
 
.cv-squad {
    top: 305px;
    left: 30px;
    z-index: 500;
    font-size: 26px;
    letter-spacing: -0.5px;
}
 
.cv-aff-icon {
    top: 293px;
    right: 12px;
    z-index: 500;
    width: 46px;
    height: 46px;
    background: url("https://static.wikia.nocookie.net/skylords-reborn/images/8/80/Affinities-sprite.png/revision/latest") center no-repeat;
}
.cv-aff-icon-Fire {
    background-position: -2px -2px;
}
.cv-aff-icon-Frost {
    background-position: -52px -2px;
}
.cv-aff-icon-Shadow {
    background-position: -102px -2px;
}
.cv-aff-icon-Nature {
    background-position:  -152px -2px;
}

.cv-abilities {
    top: 335px;
    left: 25px;
    right: 10px;
    z-index: 550;
    font-size: 24px;
}

.cv-abil, .cv-abil-none {
	display: flex;
	align-items: center;
	height: 30px;
}

.cv-abil::before {
	content: '';
	display: inline-block;
	width: 40px;
	height: 40px;
	transform: scale(0.75);
	margin-right: 2px;
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/e/e0/Abilites-sprite.png/revision/latest") center no-repeat;
}
.cv-abil > .cv-upgradeparts, .cv-abil-none > .cv-upgradeparts {
	width: 30px;
	height: 30px;
	background: url("https://static.wikia.nocookie.net/skylords-reborn/images/e/e0/Abilites-sprite.png/revision/latest") center no-repeat;
}
.cv-abil-active-fire::before {
    background-position: -3px -3px;
}
.cv-abil-active-frost::before {
    background-position: -49px -3px;
}
.cv-abil-active-nature::before {
    background-position: -3px -49px;
}
.cv-abil-active-shadow::before {
    background-position: -49px -49px;
}
.cv-abil-active::before {
	margin-top: 4px;
    background-position: -95px -3px;
}
.cv-abil-autocast-fire::before {
    background-position: -95px -49px;
}
.cv-abil-autocast-frost::before {
    background-position: -3px -95px;
}
.cv-abil-autocast-nature::before {
    background-position: -49px -95px;
}
.cv-abil-autocast-shadow::before {
    background-position: -95px -95px;
}
.cv-abil-autocast::before {
    background-position: -141px -3px;
}
.cv-abil-godspell-fire::before {
    background-position: -141px -49px;
}
.cv-abil-godspell-frost::before {
    background-position: -141px -95px;
}
.cv-abil-godspell::before {
    background-position: -3px -141px;
}
.cv-abil-godspell-shadow::before {
    background-position: -49px -141px;
}
.cv-abil-godspell-nature::before {
    background-position: -95px -141px;
}
.cv-abil-passive-fire::before {
    background-position: -141px -141px;
}
.cv-abil-passive-frost::before {
    background-position: -187px -3px;
}
.cv-abil-passive-nature::before {
    background-position: -187px -49px;
}
.cv-abil-passive-shadow::before {
    background-position: -187px -95px;
}
.cv-abil-passive::before {
    background-position: -187px -141px;
}
.cv-abil-toggle-fire::before {
    background-position: -3px -187px;
}
.cv-abil-toggle-frost::before {
    background-position: -49px -187px;
}
.cv-abil-toggle-nature::before {
    background-position: -95px -187px;
}
.cv-abil-toggle-shadow::before {
    background-position: -141px -187px;
}
.cv-abil-toggle::before {
    background-position: -187px -187px;
}
/*.cv-abil-upgrade-0 {
    background: unset !important;
}*/
.cv-abil-upgrade-1 {
    background-position: -233px -3px !important;
}
.cv-abil-upgrade-2 {
    background-position: -233px -39px !important;
}
.cv-abil-upgrade-3 {
    background-position: -233px -75px !important;
}
 
.cv-weapon {
    bottom: 10px;
    left: 16px;
    z-index: 500;
}
 
.cv-damage {
    bottom: 19px;
    left: 75px;
    z-index: 500;
}
 
.cv-size {
    bottom: 3px;
    left: 150px;
    z-index: 500;
}

.cv-counter {
  bottom: 3px;
  left: 32px;
  z-index: 500;
}

.cv-health {
    bottom: 19px;
    left: 225px;
    z-index: 500;
}
 
.cv-edition {
    bottom: 5px;
    right: 5px;
    z-index: 600;
    height: 58px;
    width: 58px;
    background: url("https://static.wikia.nocookie.net/skylords-reborn/images/3/37/Editions-sprite.png/revision/latest") center no-repeat;
}
.cv-edition-Amii-Common {
    background-position: -2px -2px;
}
.cv-edition-Amii-Rare {
    background-position: -64px -2px;
}
.cv-edition-Amii-Ultra-Rare {
    background-position: -126px -2px;
}
.cv-edition-Amii-Uncommon {
    background-position: -188px -2px;
}
.cv-edition-Lost-Souls-Common {
    background-position: -250px -2px;
}
.cv-edition-Lost-Souls-Rare {
    background-position: -312px -2px;
}
.cv-edition-Lost-Souls-Ultra-Rare {
    background-position: -374px -2px;
}
.cv-edition-Lost-Souls-Uncommon {
    background-position: -436px -2px;
}
.cv-edition-Renegade-Common {
    background-position: -498px -2px;
}
.cv-edition-Renegade-Rare {
    background-position: -560px -2px;
}
.cv-edition-Renegade-Ultra-Rare {
    background-position: -622px -2px;
}
.cv-edition-Renegade-Uncommon {
    background-position: -684px -2px;
}
.cv-edition-Twilight-Common {
    background-position: -746px -2px;
}
.cv-edition-Twilight-Rare {
    background-position: -808px -2px;
}
.cv-edition-Twilight-Ultra-Rare {
    background-position: -870px -2px;
}
.cv-edition-Twilight-Uncommon {
    background-position: -932px -2px;
}

.cv-card-container > div:not(.cv-bg):not(.cv-name):not(.cv-squad):not(.cv-abilities) {
    pointer-events: none;
}

/* Social Icons */
.social-media-icons {
    display: flex;
    justify-content: space-around;
    margin: 15px 0 !important;
    list-style: none !important;
}
.social-media-icons a {
    width: 42px;
    height: 42px;
    display: block;
    border-radius: 4px;
    text-decoration: none !important;
    overflow: hidden;
}
.social-media-icons a:hover {
    opacity: 0.6;
}
.facebook-icon a.external {
    background: url("https://vignette.wikia.nocookie.net/skylords-reborn/images/f/f8/Facebook_Social_Media_Icon.png/revision/latest/scale-to-width-down/28") center no-repeat #304c87 !important;
}
.twitter-icon a.external {
    background: url("https://vignette.wikia.nocookie.net/skylords-reborn/images/1/1e/Twitter_Social_Media_Icon.png/revision/latest/scale-to-width-down/28") center no-repeat #0097d3 !important;
}
.twitch-icon a.external {
    background: url("https://vignette.wikia.nocookie.net/skylords-reborn/images/d/dc/Twitch_Social_Media_Icon.png/revision/latest/scale-to-width-down/28") center no-repeat #6441a5 !important;
}
.patreon-icon a.external {
    background: url("https://vignette.wikia.nocookie.net/skylords-reborn/images/0/03/Patreon_Social_Media_Icon.png/revision/latest/scale-to-width-down/28") center no-repeat #ff6600 !important;
}
.youtube-icon a.external {
    background: url("https://vignette.wikia.nocookie.net/skylords-reborn/images/6/60/Youtube_Social_Media_Icon.png/revision/latest/scale-to-width-down/28") center no-repeat #cc332d !important;
}

/* Template:Ability */
.ability {
	padding: 1rem;
	margin: 1rem 0;
	font-size: 13px;
	box-shadow: black 0 2px 5px 0;
	color: #D5D4D4;
    background: #061e36 top right/82px no-repeat;
    position: relative;
}

.tabbertab > .mw-empty-elt + .ability {
	margin-top: 0.5rem;
}

.ability > div {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	justify-content: space-between;
}

.ability-header {
	align-items: center;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	padding: 0 0.5rem 0.25rem;
	margin-bottom: 0.75rem;
}

.ability-name {
	color: #9797fc;
	text-shadow: 0 2px black;
	font-size: 18px;
	font-weight: 600;
}

.ability-body {
	margin: 0 0.5rem;
}

.ability-icon {
	margin-right: 0.75rem;
	margin-bottom: 0.25rem;
	box-shadow: black 0 2px 5px 0;
	width: 64px;
}

.ability-text {
	flex: 1;
	margin-bottom: 0.25rem;
}

.ability-tabs {
	margin-left: 0.75rem;
	margin-bottom: 0.25rem;
}

.ability_Z {
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/b/bf/Z_Ability_Background_Icon.png/revision/latest");
}
.ability_X {
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/8/81/X_Ability_Background_Icon.png/revision/latest");
}
.ability_C {
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/5/57/C_Ability_Background_Icon.png/revision/latest");
}
.ability_V {
    background-image: url("https://static.wikia.nocookie.net/skylords-reborn/images/c/c9/V_Ability_Background_Icon.png/revision/latest");
}

/* T:Card icon */
.card-icon > span {
	display: inline-block;
	line-height: 0;
	position: relative;
}
.card-icon > span > span {
	bottom: 0;
	right: 0;
	position: absolute;
}

/* styles for M:Card|for_each tables */
tr.search-item > td:first-child {
	background-color: #313d4d;
}
.booster-content-list tr.search-item > .yea {
	text-align: center;
	color: limegreen;
}
.booster-content-list tr.search-item > .nay {
	text-align: center;
	color: #ff6e6e;
	font-weight: 700;
}
.tr-force-show {
	display: table-row !important;
}

/* Booster Pack Sim */
#booster-nav > label > input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
#booster-nav > label > img {
	padding: 5px 0;
	background-color: #092949;
	cursor: pointer;
	border: 2px solid transparent;
}
#booster-nav > label > input:checked + img {
	border: 2px solid #c9aa71;
}
#booster-nav2 > button {
	width: 125px;
	margin: 0 10px
}

.bcard {
	position: relative;
	transform-style: preserve-3d;
	transform: rotateY(180deg);
}
.bcard:not(.card--flipped) .custom-tooltip {
	visibility: hidden;
	pointer-events: none;
}
.bcard.card--flipped {
	animation: cardFlip .275s forwards linear;
}
.bcard-back {
	backface-visibility: hidden;
	position: absolute;
	z-index: 4;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transform: rotateY(180deg);
	background: url('https://static.wikia.nocookie.net/skylords-reborn/images/c/cb/Card_Back_Artwork.png/revision/latest/scale-to-width-down/185') no-repeat;
}
@keyframes cardFlip {
  0% {
    transform: rotateZ(0deg) rotateY(180deg);
  } 
  50% {
    transform: rotateZ(-10deg) rotateY(90deg);
  }
  100% {
    transform: rotateZ(0deg) rotateY(0deg);
  }
}


/* Module:Gallery */
.gallery-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.gallery-navigation > div {
	margin: 0.5rem;
}
.gallery-navigation > div > div:first-child {
	overflow: hidden;
	margin: auto;
	border: 1px solid var(--theme-border-color);
}
.gallery-navigation > div > div:last-child {
	margin-top: 0.5rem;
	text-align: center;
}
.gallery-navigation img {
	object-fit: cover;
    width: 100%;
    height: 100%;
}

/* [[Loading Screens]] */
.list-of-loading-screens .floatleft, .list-of-loading-screens .floatright {
	margin-top: 0.25rem;
}

/* T:Mi image alignment */
.custom-tooltip.mi img {
	vertical-align: text-top;
}