MediaWiki:Common.css

From Helldivers Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* ==========================================================================
   Custom Wiki Variable Definitions
   ========================================================================== */
/* This import function is used to pull fonts from Google */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Orbitron:[email protected]&family=Saira+Extra+Condensed:wght@100;200;300;400;500;600;700;800;900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap&family=Saira+Semi+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Adding font variable so that they do not have to be changed in both the dark and light themes. */

:root {
    --wiki-body-font-family: 'Saira', sans-serif; /* Added Exo to fallback on san-serif. */
    --wiki-heading-font-family: 'Orbitron', 'Linux Libertine','Georgia','Times', serif;
    --wiki-body-font-weight: 400;
    --wiki-heading-font-weight:600;
    --wiki-body-font-size: 1.063rem;
}
/* Defines heading font for whole wiki. */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--wiki-heading-font-family);
    font-weight: var(--wiki-heading-font-weight);
}

b, strong {
    font-weight: 700;
}

/* End custom Wiki Variable Definitions */
/* ==========================================================================
   Default Loadout Wiki Common.css (DO NOT CHANGE WITHOUT COMMENT)
   ========================================================================== */
/* 
Changes when compared to the base DLW:
* Variable Value Changes (duh)
* Moved the following variables out to root instead of dark/light themes:
** --wiki-body-font-family
** --wiki-heading-font-family
* Added the following new variables:
* --wiki-body-font-weight
* --wiki-heading-font-weight
* --wiki-body-font-size
*/


.view-light {
    --wiki-body-background-image: Background_Helldiver.jpg;
    --wiki-body-background-color: #f6f6f6;
    --wiki-body-background-color--rgb: 246,246,246;
    --wiki-body-dynamic-color: #000000;
    --wiki-body-dynamic-color--rgb: 0,0,0;
    --wiki-body-dynamic-color--inverted: #ffffff;
    --wiki-body-dynamic-color--inverted--rgb: 255,255,255;
    --wiki-body-dynamic-color--secondary: #333;
    --wiki-body-dynamic-color--secondary--rgb: 51,51,51;
    --wiki-body-dynamic-color--secondary--inverted: #dddddd;
    --wiki-body-dynamic-color--secondary--inverted--rgb: 221,221,221;
    font-family: var(--wiki-body-font-family); 
    font-weight: var(--wiki-body-font-weight);
    font-size: var(--wiki-body-font-size);
    font-variant-numeric: tabular-nums;
    
    --wiki-content-background-color: #ffffff;
    --wiki-content-background-color--rgb: 255, 255, 255;
    --wiki-content-background-opacity: 1;
    --wiki-content-background-color--secondary: #fbfbfb;
    --wiki-content-background-color--secondary--rgb: 159,207,255;
    --wiki-content-border-color: #a7d7f9;
    --wiki-content-border-color--rgb: 167, 215, 249;
    --wiki-content-text-color: #222;
    --wiki-content-text-color--rgb: 17, 17, 17;
    --wiki-content-link-color: #0645ad;
    --wiki-content-link-color--rgb: 6, 69, 173;
    --wiki-content-link-label-color: #ffffff;
    --wiki-content-link-label-color--rgb: 255,255,255;
    --wiki-content-link-color--visited: var(--wiki-content-link-color);
    --wiki-content-link-color--visited--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-link-color--hover: var(--wiki-content-link-color);
    --wiki-content-link-color--hover--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-redlink-color: #222;
    --wiki-content-redlink-color--rgb: 186,0,0;
    --wiki-content-text-mix-color: #8a8b8b;
    --wiki-content-text-mix-color--rgb: 138,139,139;
    --wiki-content-text-mix-color-95: #eef0f0;
    --wiki-content-text-mix-color-95--rgb: 238,240,240;
    --wiki-content-dynamic-color: #000000;
    --wiki-content-dynamic-color--rgb: 0,0,0;
    --wiki-content-dynamic-color--inverted: #ffffff;
    --wiki-content-dynamic-color--inverted--rgb: 255,255,255;
    --wiki-content-dynamic-color--secondary: #333333;
    --wiki-content-dynamic-color--secondary--rgb: 51,51,51;
    --wiki-content-dynamic-color--secondary--inverted: #dddddd;
    --wiki-content-dynamic-color--secondary--inverted--rgb: 221,221,221;

    --wiki-heading-color: var(--wiki-content-text-color);
    --wiki-heading-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-accent-color: #333;
    --wiki-accent-color--rgb: 51, 102, 204;
    --wiki-accent-color--hover: #447ff5;
    --wiki-accent-color--hover--rgb: 68, 127, 245; 
    --wiki-accent-label-color: #ffffff;
    --wiki-accent-label-color--rgb: 255, 255, 255;
    --wiki-accent-link-color: #22214d;
    --wiki-accent-link-color--rgb: 34, 33, 77;

    --wiki-sidebar-background-color: var(--wiki-content-background-color);
    --wiki-sidebar-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-sidebar-background-opacity: 0.0;
    --wiki-sidebar-border-color: var(--wiki-body-background-color);
    --wiki-sidebar-border-color--rgb: var(--wiki-body-background-color--rgb);
    --wiki-sidebar-link-color: var(--wiki-content-link-color);
    --wiki-sidebar-link-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-sidebar-heading-color: var(--wiki-heading-color);
    --wiki-sidebar-heading-color--rgb: var(--wiki-heading-color--rgb);

    --wiki-navigation-background-color: var(--wiki-content-border-color);
    --wiki-navigation-background-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-background-color--secondary: #e8f2f8;
    --wiki-navigation-background-color--secondary--rgb: 232, 242, 248;
    --wiki-navigation-border-color: var(--wiki-content-border-color);
    --wiki-navigation-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-text-color: var(--wiki-content-link-color);
    --wiki-navigation-text-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-navigation-selected-background-color: var(--wiki-content-background-color);
    --wiki-navigation-selected-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-selected-border-color: var(--wiki-navigation-border-color);
    --wiki-navigation-selected-border-color--rgb: var(--wiki-navigation-border-color--rgb);
    --wiki-navigation-selected-text-color: var(--wiki-content-text-color);
    --wiki-navigation-selected-text-color-rgb: var(--wiki-content-text-color--rgb);

    --wiki-alert-color: #bf0017;
    --wiki-alert-color--rgb: 191,0,23;
    --wiki-alert-label-color: #ffffff;
    --wiki-alert-label-color--rgb: 255, 255, 255;
    --wiki-warning-color: #cf721c;
    --wiki-warning-color--rgb: 207,114,28;
    --wiki-warning-label-color: #000000;
    --wiki-warning-label-color--rgb: 0, 0, 0;
    --wiki-success-color: #0c742f;
    --wiki-success-color--rgb: 12,116,47;
    --wiki-success-label-color: #ffffff;
    --wiki-success-label-color--rgb: 255, 255, 255;
    
    --wiki-icon-general-filter: ;
    --wiki-icon-to-link-filter: invert(20%) sepia(93%) saturate(2141%) hue-rotate(210deg) brightness(83%) contrast(103%);
}

.view-dark {
    
    font-family: var(--wiki-body-font-family);
    font-weight: var(--wiki-body-font-weight);
    font-size: var(--wiki-body-font-size);
    font-variant-numeric: tabular-nums;
    --wiki-body-background-image: none;
    --wiki-body-background-color: #171717;
    --wiki-body-background-color--rgb: 23, 23, 23;
    --wiki-body-dynamic-color: #ffffff;
    --wiki-body-dynamic-color--rgb: 255,255,255;
    --wiki-body-dynamic-color--inverted: #000000;
    --wiki-body-dynamic-color--inverted--rgb: 0,0,0;
    --wiki-body-dynamic-color--secondary: #dddddd;
    --wiki-body-dynamic-color--secondary--rgb: 221,221,221;
    --wiki-body-dynamic-color--secondary--inverted: #333333;
    --wiki-body-dynamic-color--secondary--inverted--rgb: 51,51,51;
    
    --wiki-content-background-color: #202020;
    --wiki-content-background-color--rgb: 32,32,32;
    --wiki-content-background-opacity: 1.0;
    --wiki-content-background-color--secondary: #2b2b2b;
    --wiki-content-background-color--secondary--rgb: 43,43,43;
    --wiki-content-border-color: #991A51;
    --wiki-content-border-color--rgb: 153,26,81;
    --wiki-content-text-color: #ededed;
    --wiki-content-text-color--rgb: 237,237,237;
    --wiki-content-link-color: #6d8afb;
    --wiki-content-link-color--rgb: 109,138,251;
    --wiki-content-link-label-color: #000;
    --wiki-content-link-label-color--rgb: 0,0,0;
    --wiki-content-link-color--visited: var(--wiki-content-link-color);
    --wiki-content-link-color--visited--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-link-color--hover: var(--wiki-content-link-color);
    --wiki-content-link-color--hover--rgb: var(--wiki-content-link-color--rgb);
    --wiki-content-redlink-color: #FC3B2C;
    --wiki-content-redlink-color--rgb: 252,59,44;
    --wiki-content-text-mix-color: #868686;
    --wiki-content-text-mix-color--rgb: 134,134,134;
    --wiki-content-text-mix-color-95: #2a2a2a;
    --wiki-content-text-mix-color-95--rgb: 42,42,42;
    --wiki-content-dynamic-color: #ffffff;
    --wiki-content-dynamic-color--rgb: 255, 255, 255;
    --wiki-content-dynamic-color--inverted: #000000;
    --wiki-content-dynamic-color--inverted--rgb: 0, 0, 0;
    --wiki-content-dynamic-color--secondary: #dddddd;
    --wiki-content-dynamic-color--secondary--rgb: 221, 221, 221;
    --wiki-content-dynamic-color--secondary--inverted: #333333;
    --wiki-content-dynamic-color--secondary--inverted--rgb: 51, 51, 51;

    --wiki-heading-color:  var(--wiki-content-text-color);
    --wiki-heading-color--rgb: var(--wiki-content-text-color--rgb);

    --wiki-accent-color: #ff1980;
    --wiki-accent-color--rgb: 255,25,128;
    --wiki-accent-color--hover: #D82073;
    --wiki-accent-color--hover--rgb: 216,32,115;
    --wiki-accent-label-color: #000;
    --wiki-accent-label-color--rgb: 0,0,0;
    --wiki-accent-link-color: #22214d;
    --wiki-accent-link-color--rgb: 34, 33, 77;

    --wiki-sidebar-background-color: var(--wiki-content-background-color);
    --wiki-sidebar-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-sidebar-background-opacity: var(--wiki-content-background-opacity);
    --wiki-sidebar-border-color: var(--wiki-content-border-color);
    --wiki-sidebar-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-sidebar-link-color: var(--wiki-content-link-color);
    --wiki-sidebar-link-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-sidebar-heading-color: var(--wiki-heading-color);
    --wiki-sidebar-heading-color--rgb: var(--wiki-heading-color--rgb);

    --wiki-navigation-background-color: var(--wiki-content-border-color);
    --wiki-navigation-background-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-background-color--secondary: var(--wiki-content-background-color--secondary);
    --wiki-navigation-background-color--secondary--rgb: var(--wiki-content-background-color--secondary--rgb);
    --wiki-navigation-border-color: var(--wiki-content-border-color);
    --wiki-navigation-border-color--rgb: var(--wiki-content-border-color--rgb);
    --wiki-navigation-text-color: var(--wiki-content-link-color);
    --wiki-navigation-text-color--rgb: var(--wiki-content-link-color--rgb);
    --wiki-navigation-selected-background-color: var(--wiki-content-background-color);
    --wiki-navigation-selected-background-color--rgb: var(--wiki-content-background-color--rgb);
    --wiki-navigation-selected-border-color: var(--wiki-navigation-border-color);
    --wiki-navigation-selected-border-color--rgb: var(--wiki-navigation-border-color--rgb);
    --wiki-navigation-selected-text-color: var(--wiki-content-text-color);
    --wiki-navigation-selected-text-color-rgb: var(--wiki-content-text-color--rgb);

    --wiki-alert-color: #ce0018;
    --wiki-alert-color--rgb: 206,0,24;
    --wiki-alert-label-color: #000000;
    --wiki-alert-label-color--rgb: 0,0,0;
    --wiki-warning-color:#cf721c;
    --wiki-warning-color--rgb: 207,114,28;
    --wiki-warning-label-color: #000000;
    --wiki-warning-label-color--rgb: 0, 0, 0;
    --wiki-success-color: #0c742f;
    --wiki-success-color--rgb: 12,116,47;
    --wiki-success-label-color: #000000;
    --wiki-success-label-color--rgb: 0,0,0;
    
    --wiki-icon-general-filter: invert(100%);
    --wiki-icon-to-link-filter: invert(60%) sepia(70%) saturate(3715%) hue-rotate(206deg) brightness(101%) contrast(97%);
}

/*****************************
*     PortableInfoboxes      *
******************************/
:root {
    
    
    --pi-background: var(--wiki-content-background-color);
	--pi-secondary-background: var(--wiki-content-background-color--secondary);
	--pi-secondary-background--rgb: var(--wiki-content-background-color--secondary--rgb);
	--pi-secondary-background-label: var(--wiki-accent-color);
	--pi-border-color: var(--wiki-content-border-color)
}
.portable-infobox {
    border: solid;
    border-color: var(--pi-border-color);
    border-width: thin;
}

.portable-infobox .pi-title,
.portable-infobox .pi-header {
	text-align:center;
	font-size:1.5em;
	background:rgba(var(--pi-secondary-background--rgb), 0.8);
	color:var(--pi-secondary-background-label);
}

.portable-infobox .pi-data {
	background:rgba(var(--pi-secondary-background--rgb), 0.00);
}

.portable-infobox .pi-image {
	padding: 8px;
}

.pi-image-thumbnail {
	max-width:100%;
}

.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
	background: var(--pi-secondary-background);
	color: var(--pi-secondary-background-label);
}

/* overqualify these to overwrite normal content heading styles */
.mw-body .portable-infobox h2,
.mw-body .portable-infobox h3 {
	border-bottom: 0;
	font-family: inherit;
	font-weight: 700;
	margin: 0;
}


/*****************************
*   End PortableInfoboxes    *
******************************/

/*********************************************************************************************************************
* Semantically-correct horizontal lists (for Module:Navbox, and they're more machine-readable than {{*}}-formatting) *
**********************************************************************************************************************/
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	/*
	 * don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again
	 * We also want to reset margin-right in Minerva
	 */
	margin: 0; 
	display: inline;
}

/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
	display: inline;
}

/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}

/* TODO: :not() can maybe be used here to remove the later rule. naive test
 * seems to work. more testing needed. like so: */
.hlist dt:not(:last-child)::after {
	content: ": ";
}
.hlist dd:not(:last-child)::after,
.hlist li:not(:last-child)::after {
	content: " \00B7 ";;
	font-weight: bold;
}

/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}

.hlist ol > li {
	counter-increment: listitem;
}

.hlist ol > li::before {
	content: " " counter(listitem) "\a0";
}

.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
	content: " (" counter(listitem) "\a0";
}
/********************************************
* End semantically-correct horizontal lists *
*********************************************/

/**********************************************************
* Template:Navbox (needs semantic horizontal lists above) *
***********************************************************/
.navbox {
	clear: both;
	margin: 1em 0;
	padding: 3px;
	font-size: 90%;
	width: 100%;
	border: 1px solid var(--wiki-content-border-color);
	box-sizing: border-box;
}
.navbox-inner,
.navbox-subgroup {
	border-spacing: 0;
	width: 100%;
}
/* Reduce spacing between adjacent navboxes */
.navbox + .navbox {
	margin-top: -1px;
}
/* Spacing between rows */
.navbox-spacer {
	height: 2px;
}
/* Title bars and labels */
.navbox-title {
	font-weight: bold;
	font-size: 115%;
	padding: 0.25em 0.6em;
	line-height: 1.5em;
	color: var(--wiki-accent-label-color);
	background: var(--wiki-accent-color);
}
.navbox-title,
.navbox-abovebelow {
	padding-left: 1em;
	padding-right: 1em;
	text-align: center;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
	background: rgba(var(--wiki-accent-color--rgb), 0.18);
	color: var(--wiki-content-text-color);
	border: 1px solid var(--wiki-content-border-color);
}
.navbox .navbox-title a,
.navbox .navbox-title a:visited,
.navbox .navbox-title a.external,
.navbox .navbox-title a.external:visited {
	color: var(--wiki-accent-link-color);
}
.navbox-title .mw-collapsible-toggle {
	font-weight: normal;
	text-align: right;
}
.navbox-title-text {
	font-size: 105%;
}
/* Navbox-related links */
.navbox-title .navbar {
	float: left;
	margin-right: 0.5em;
}
.navbox-title .navbar a.external::after {
    content: unset;
}
/* Groups */
.navbox-group {
	font-weight: bold;
	padding: 0 0.5em;
	white-space: nowrap;
	text-align: center;
}
/* Zebra colouring for rows */
.navbox-even {
	background: #fff1;
}
/* Subgroups: equal group labels between different child navboxes */
.navbox-subgroup > tbody > tr {
	display: flex;
}
.navbox-subgroup .navbox-title {
    width: 100%;
}
.navbox-subgroup .navbox-group {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-basis: 11em;
	flex-grow: 1;
	flex-shrink: 0;
	white-space: normal;
}
/* Lists */
.navbox-list {
	width: 100%;
}
/* Mobile adjustments */
@media screen and (max-width: 1280px) {
	.mw-body .navbox-inner table {
        display: table;
	}
}
@media screen and (max-width: 720px) {
	.mw-body .navbox {
		display: none;
	}
}
/**********************
* End Template:Navbox *
***********************/


/*******************
* Main page layout *
********************/
#mp-box-welcome {grid-area: welcome;}
#mp-box-about {grid-area: about;}
#mp-box-links {grid-area: links;}
#mp-box-contribute {grid-area: contribute;}
#mp-box-featured {grid-area: featured;}
#mp-box-basics {grid-area: basics;}
#mp-box-gallery {grid-area: gallery;}
#mp-box-iconlists {grid-area: iconlists;}

/* Example Main Page 1 Grid Layout */
#mp-layout1-container {
	display:grid;
	grid-template-areas:
		"welcome"
		"about"
		"featured"
		"basics"
		"gallery"
		"links"
		"contribute";
	grid-template-columns:100%;
	gap:10px;
}

@media screen and (min-width:990px) {
	#mp-layout1-container {
		grid-template-areas:
			"welcome welcome"
			"about about"
			"featured basics"
			"gallery links"
			"contribute contribute";
		grid-template-columns:1fr 1fr;
	}
}

@media screen and (min-width:1350px) {
	#mp-layout1-container {
		grid-template-areas:
			"welcome welcome welcome"
			"about about basics"
			"featured featured basics"
			"gallery links links"
			"contribute contribute contribute";
		grid-template-columns: 2fr 1fr 2fr;
  }
}

/* Example Main Page 2 Grid Layout */
#mp-layout2-container {
	display:grid;
	grid-template-areas:
		"welcome"
		"links"
		"about"
		"gallery"
		"iconlists"
		"contribute";
	grid-template-columns:100%;
	gap:10px;
}

@media screen and (min-width:990px) {
	#mp-layout2-container {
		grid-template-areas:
			"welcome links"
			"gallery about"
			"iconlists about"
			"iconlists contribute";
		grid-template-columns: 3fr 2fr;
	}
}

@media screen and (min-width:1350px) {
	#mp-layout2-container {
		grid-template-areas:
			"welcome welcome links"
			"welcome welcome about"
			"gallery gallery about"
			"iconlists iconlists contribute";
		grid-template-columns: 3fr 2fr 2fr;
  }
}

/* Example Main Page 3 Grid Layout */
#mp-layout3-container {
	display:grid;
	grid-template-areas:
    "welcome"
    "about"
    "featured"
    "four"
    "priority"
		"projects"
    "wiki";
	grid-template-columns:100%;
	gap:10px;
}

@media screen and (min-width:990px) {
	#mp-layout3-container {
		grid-template-areas:
      "welcome welcome"
      "about about"
      "featured four"
			"priority projects"
      "wiki wiki";
		grid-template-columns:1fr 1fr;
	}
}

@media screen and (min-width:1350px) {
	#mp-layout3-container {
		grid-template-areas:
      "welcome welcome welcome"
      "about about four"
			"featured featured four"
			"priority projects projects"
			"wiki wiki wiki";
		grid-template-columns:2fr 1fr 2fr;
  }
}

.mp-box {
	display:flex;
	flex-flow:column nowrap;
	width: calc(100% - 2px);
	box-sizing: border-box;
	background:rgba(var(--wiki-content-background-color--secondary--rgb), 0.25);
	border:1px solid var(--wiki-content-border-color);
	padding:0px;
}

.mp-body {
	height: 100%;
	display: flex;
	padding:0.5em;
	flex-flow: column nowrap;
}

.mp-box.centered-content .mp-body {
	height: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
}

.mp-box.has-floating-image {
	display:block;
}

.mp-box.has-floating-image .mp-body {
	height:unset;
	display:block;
}

.mp-box h2 {
	text-align:center;
	font-weight:bold;
	font-family:var(--wiki-heading-font-family);
    overflow: initial;
	border-bottom: 1px solid var(--wiki-content-border-color);
	font-size: 150%;
	margin: 0;
	padding: 5px 0;
	color:var(--wiki-heading-color);
}

.mp-box .welcome-message {
    font-size: 200%;
    margin: 0;
    padding: 5px 0;
	color: #fff;
	filter: drop-shadow(0px 2px 3px #000);
}

#mp-banner-container {
	position: relative;
}

#mp-box-welcome {
	text-align:center;
	position:relative;
	overflow:hidden;
}

#mp-welcome {
	position: relative;
	height: 100%;
	font-family: var(--wiki-heading-font-family);
	z-index: 2;
	box-sizing: border-box;
}

#mp-welcome .welcome-subtitle {
	height: 100%;
	background:rgba(var(--wiki-content-dynamic-color--inverted--rgb), 0.85);
	padding:0.5em;
}

#mp-banner {
    position: absolute;
    top: 48px;
    width: 100%;
    height: 100%;
    filter: blur(5px);
    z-index: -1;
    background: url(/images/e/e0/MP_banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.view-dark #mp-banner {
	filter: blur(5px) brightness(50%);
}

.view-light #mp-banner {
	filter: blur(5px) contrast(50%);
}

/* [[Template:MP_link]] */
.mp-links {
  --gap:10px;
}

.mp-links > ul {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
	margin: 2px;
	gap:var(--gap);
}

.mp-links > ul > li {
	display:flex;
	flex-flow:column nowrap;
	align-items:stretch;
	text-align: center;
	box-sizing:border-box;
	flex: max(calc(50% - var(--gap)), 5em) 1 1;
	outline:1px solid var(--wiki-content-link-color);
	transition:0.1s ease-in;
}

.mp-links > ul > li:hover {
	background-color:rgba(var(--wiki-content-link-color--rgb), 0.2);
}

.mp-links.columns-1 > ul > li {flex: max(calc(100% - var(--gap)), 5em) 1 1;}
.mp-links.columns-2 > ul > li {flex: max(calc(50% - var(--gap)), 5em) 1 1;}
.mp-links.columns-3 > ul > li {flex: max(calc((100% / 3) - var(--gap)), 5em) 1 1;}
.mp-links.columns-4 > ul > li {flex: max(calc(25% - var(--gap)), 5em) 1 1;}
.mp-links.columns-5 > ul > li {flex: max(calc(20% - var(--gap)), 5em) 1 1;}
.mp-links.columns-6 > ul > li {flex: max(calc((100% / 6) - var(--gap)), 5em) 1 1;}
.mp-links.columns-7 > ul > li {flex: max(calc((100% / 7) - var(--gap)), 5em) 1 1;}

.mp-links > ul > li:hover a {
	text-decoration: underline;
}

.mp-links > ul > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height:100%;
	flex:1 1 auto;
	box-sizing:border-box;
	padding:5px;
}

.mp-links > ul > li > a:first-child {
  height:100%;
}

.mp-links > ul > li > a:last-child:not(:first-child) {
  height:unset;
}

.mp-links.stretch,
.mp-links.stretch > ul {
	height:100%;
}

.mp-links.side-image li {
	flex-flow:row nowrap;
}

/* MP icon lists */
.mp-iconlists {
	display: flex;
    flex-flow: wrap;
    gap: 5px 20px;
}

.mp-iconlists > .mp-iconlist {
	flex: 1;
    min-width: fit-content;
}

.mp-iconlist > h3 {
	padding: 0;
	margin: 0;
}

.mp-iconlist > ul {
	list-style: none;
	margin: 0;
}

/* MP gallery */
.mp-box ul.gallery {
    display: flex;
    flex-flow: wrap;
    gap: 5px 10px;
    align-items: flex-end;
    justify-content: space-evenly;
    margin: 0;
}

.mp-box ul.gallery .gallerytext {
	margin-top: 1em;
	padding: 0;
    background-color: var(--wiki-content-background-color--secondary);
    border: 1px solid var(--wiki-content-link-color);
}

.mp-box .gallerybox:hover .gallerytext {
    background-color: rgba(var(--wiki-content-link-color--rgb), 0.2);
}

.mp-box ul.gallery .gallerytext > p {
	margin: 0;
}

.mp-box ul.gallery .gallerytext a {
	display: block;
    padding: .5em 0;
}

/***********************
* End main page layout *
************************/

/***********************
* Start DRUID infoboxes *
************************/

.druid-container {
    /* These variables are designed to inherit from your wiki's color variables.
       If your wiki uses a different naming scheme, change the inner names to match yours.
       If your wiki doesn't use color variables you should consider doing so,
       otherwise you can replace the inner variables or the fallback values with colors that match your wiki.
    */
    --druid-background-color: var(--wiki-content-background-color, #ffffff);
    --druid-background-color--rgb: var(--wiki-content-background-color--rgb, 255, 255, 255);
    
    --druid-secondary-background-color: var(--wiki-accent-color, #36c);
    --druid-secondary-background-color--rgb: var(--wiki-accent-color--rgb, 51, 102, 204);
    --druid-secondary-background-label-color: var(--wiki-accent-label-color, #fff);
    --druid-secondary-background-label-color--rgb: var(--wiki-accent-label-color--rgb, 255, 255, 255);
    
    --druid-tertiary-background-color: var(--wiki-content-background-color--secondary, #eaecf0);
    --druid-tertiary-background-color--rgb: var(--wiki-content-background-color--secondary--rgb, 234, 236, 240);
    
    --druid-border-color: var(--wiki-content-border-color, #a7d7f9);
    --druid-border-color--rgb: var(--wiki-content-border-color--rgb, 167, 215, 249);
    
    --druid-link-color: var(--wiki-content-link-color, #0645ad);
    --druid-link-color--rgb: var(--wiki-content-link-color--rgb, 6, 69, 173);
    --druid-link-label-color: var(--wiki-content-link-label-color, #fff);
    --druid-link-label-color--rgb: var(--wiki-content-link-label-color--rgb, 255, 255, 255);
}

.druid-container {
    border: 4px solid var(--druid-border-color);
    border-radius: 3px;
    background: var(--druid-background-color);
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    width: 16.875em;
    box-sizing: border-box;
    border-collapse: collapse;
}

div.druid-container {
	width: 22em;
}

@media screen and (max-width: 450px) {
  .druid-container {
    width:100%;
  }
}

@media screen and (max-width: 720px) {
  .druid-container {
    float: none;
    margin: 0.5rem auto;
  }
}

.druid-main-images-file,
.druid-main-image {
    text-align:center;
}

.druid-infobox .druid-title,
.druid-infobox .druid-section {
    background:rgba(var(--druid-secondary-background-color--rgb), 0.75);
    color:var(--druid-secondary-background-label-color);
    text-align:center;
    font-size:1.5em;
    padding:1px;
}

.druid-section {
    font-size: 1.25em;
    font-weight: 500;
}

.druid-label {
    font-weight:bold;
    text-align: right;
	box-sizing: border-box;
}

.druid-row > .druid-label {
    width: 48%;
}

.druid-row > .druid-label,
.druid-row > .druid-data {
	padding-inline: 0.3em;
}

.druid-main-image,
.druid-main-images {
    padding:5px;
}

.druid-main-image img, 
.druid-main-images img {
    max-width:100%;
    height:auto;
}

.druid-main-images-labels {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: space-evenly;
    margin:0.25em;
    gap:0.25em;
}

.druid-main-images-label {
    cursor:pointer;
    flex:1 1 auto;
    text-align:center;
    transition:.1s ease-in;
    outline:1px solid var(--druid-link-color);
}

.druid-main-images-label.focused {
    background:var(--druid-link-color);
    color:var(--druid-link-label-color);
}

.druid-main-images-label:not(.focused):hover {
    background:rgba(var(--druid-link-color--rgb), 0.25);
}

.druid-toggleable-data:not(.focused),
.druid-main-images-file:not(.focused),
.druid-toggleable-heading:not(.focused) {
    display:none;
}

.druid-row:not(:has(.druid-grid)):has(.druid-toggleable-data-empty.focused) {
    display:none;
}

.druid-section:has(.druid-toggleable-heading-empty.focused) {
    display:none;
}

.druid-grid {
    display:grid;
    gap: 0.3em;
	padding: 0.35em;
}

.druid-grid-item {
    background:var(--druid-tertiary-background-color);
    padding:0.25em;
    border:1px solid rgba(var(--druid-border-color--rgb), 0.5);
    border-radius: 2px;
}

.druid-grid-item > .druid-label,
.druid-grid-item > .druid-data {
	text-align: center;
}

.druid-collapsed {
    display:none;
}

.druid-collapsible {
    cursor:pointer;
    position:relative;
}

.druid-collapsible::after {
    content:'\2013';
    display:block;
    position:absolute;
    right:10px;
    font-size:20px;
    font-weight:bold;
    color:var(--druid-secondary-background-label-color);
}

.druid-collapsible-collapsed::after {
    content:'+';
}

.druid-section-container:has(.druid-toggleable-data-empty.focused):not(:has(.druid-toggleable-data-nonempty.focused)):not(:has(.druid-data-nonempty)) {
  display: none;
}

/*****************************************
Div support
*****************************************/

div.druid-row {
    display:flex;
    margin-block: 1px;
}

div.druid-row + div.druid-row {
	margin-top: 0;
}

div.druid-row > .druid-label {
	background: var(--druid-tertiary-background-color);
}

.druid-infobox .druid-title {
  font-weight: 700;
}

.druid-infobox #toc {
    display:none;
}

/***********************
* End DRUID infoboxes  *
************************/

/*** Miscellaneous ***/
.responsive-image {
	max-width:100%;
	height:auto;
}

.view-dark .invert-on-dark,
.view-light .invert-on-light {
    filter:invert(100%);
}

@media screen and (min-width:720px) {
	.mobileonly {
		display:none;
	}
}
@media screen and (max-width:720px) {
	.nomobile {
		display:none;
	}
}

/**************************
* Start Modular Templates *
**************************/

/********* [[Template:Ambox]] *********/
.ambox {
	border: 1px solid var(--wiki-content-border-color);
	border-left: 10px solid var(--ambox-color);
	border-radius: 2px;
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 1em 0;
	padding: 3px .6em;
	background-color: var(--wiki-content-background-color--secondary);
	box-shadow: 2px 2px 5px 0px #0002;
}

@media (min-width: 720px) {
	.ambox {
		margin-inline: 10%;
	}
}

.ambox.tiny {
	padding: .04rem .5em;
	margin-inline: 0;
    width: fit-content;
}

.ambox + .ambox {
	margin-top: -.6em;
}

.ambox-content p {
	margin: .15em 0;
}

.ambox-title {
	font-weight: bold;
}

/********* [[Template:Hatnote]] *********/
.hatnote {
    padding: 1px 0 1px 1.6em;
    margin-bottom: 0.5em;
    font-style: italic;
    border-top: 1px solid var(--wiki-body-dynamic-color--secondary--inverted);
    border-bottom: 1px solid var(--wiki-body-dynamic-color--secondary--inverted);
}

.hatnote.icon {
	padding-left: 0;	
}

/********* [[Template:Spoiler]] *********/
.spoiler-content {
  background-color: rgb(127, 127, 127);
  transition: all 0.3s;
  cursor: pointer;
}

.spoiler-content > span {
  opacity: 0;
  transition: all 0.3s;
}

.spoiler-content > * {
  pointer-events:none;
}

.spoiler-content.show > * {
  pointer-events:unset;
}

.spoiler-content.show {
  background-color: rgba(127, 127, 127, 0);
}

.spoiler-content.show > span {
  opacity: 1;
}

/********* [[Template:Link icon]] *********/
.link-icon {
	display: inline-flex; 
	align-items: center;
    height: var(--link-icon-line-height);
    vertical-align: bottom;
}

.link-icon .regular {
    align-self: center;
}

.link-icon .regular a {
	display: flex;
}

.link-icon .regular img {
	height: var(--link-icon-size);
	max-width: var(--link-icon-size);
}

.link-icon .fallback {
	outline: 1px solid var(--wiki-content-text-color);
	border-radius: 50%;
	text-align: center;
	width: var(--link-icon-size);
	line-height: var(--link-icon-size);
}

.link-icon.notext .fallback {
	display: inline-block;
}

.link-icon.notext {
    display: inline;
}

/********* [[Template:Quote]] *********/
.quote {
    background: var(--wiki-content-background-color--secondary);
    border-radius: 5px;
    border: 2px solid var(--wiki-content-border-color);
    margin: .5em 0;
    padding: .5em;
}

.quote .block {
	display: block;
}

.quote .title {
	font-size: large;
    font-weight: bold;
}

.quote .content {
	font-style: italic;
}

.quote .author {
	font-weight: bold;
	text-align: end;
}

.quote .marks-wrapper {
	display: flex;
	gap: 5px;
}

.quote .marks-wrapper::before,
.quote .marks-wrapper::after {
	font-size: 100px;
    line-height: 0px;
}

.quote .marks-wrapper::before {
	content: "\201C";
	margin-top: 40px;
}

.quote .marks-wrapper::after {
	content: "\201D";
	align-self: end;
	margin-bottom: -10px;
}

/************************
* End Modular Templates *
*************************/
/* End Default Loadout Wiki Common.css */


/* ==========================================================================
   Custom Wiki CSS
   ========================================================================== */


/* Tabs Template */
:root {
	--tabs-border-color: var(--wiki-content-border-color);
	--tabs-background-color: var(--wiki-content-background-color);
}

table.tabs {
  border-collapse: collapse;
}
table.tabs .tab {
  padding: 0 0.5rem;
  border: 1px solid var(--tabs-border-color);
  background: var(--tabs-background-color);
  text-wrap: nowrap;
}
table.tabs .tab.tab-selected {
  border-bottom: none;
  background: inherit;
}
table.tabs .tab-spacer {
  width: 3px;
  border-bottom: 1px solid var(--tabs-border-color);
}
table.tabs .tab-spacer-end {
  width: 100%;
  border-bottom: 1px solid var(--tabs-border-color);
}
/* Tooltips highlighting */

.explain {
  border-bottom: 0;
  text-decoration: underline dotted;
  cursor: help;
}

/* End Tooltips highlighting */
/* Current main page layout */

div#mainpageheader {
    background: var(--wiki-body-background-color);
    text-align: left;
    border: 1px solid var(--wiki-content-border-color);
    color: var(--wiki-heading-color);
    font-size: 100%;
    padding: 1px 1px 3px 3px
}

body.page-Helldivers_Wiki h1.firstHeading {
    display: none
}

.MPheading {
	font-size: 2em;
	font-weight: 800;
	text-align: center;
	background:0 0;
	background-image: linear-gradient(to right,rgba(var(--wiki-sidebar-link-color--rgb),0) 0,var(--wiki-sidebar-link-color) 33%,var(--wiki-sidebar-link-color) 66%,rgba(var(--wiki-sidebar-link-color--rgb),0) 100%);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 100% 1px;
}
.page-Helldivers_Wiki .mw-parser-output .gallery {
	text-align: center;
	margin: 10px 0;
}

.mp-box {
  border:1px solid var(--wiki-content-border-color);
  margin:10px 0;
  padding:5px;
}
@media screen and (min-width: 1080px){
	.page-Helldivers_Wiki .mw-parser-output {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	.mainpage-left {
		width: calc(100% - 550px);
	}
	.mainpage-right {
		width: 500px;
	}
}

/* Template:FP links styles */
.fplinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
  text-align: center;
}

.fplink-outer {
  padding: 5px;
  flex-basis: calc(25% - 10px);
  width: calc(25% - 15px);
  min-width: 115px;
  display: inline-block;
  vertical-align: middle;
}

.fplink-wide {
  flex-basis: calc(33% - 10px);
  width: calc(33% - 15px);
}

.fplink-fullwidth {
  flex-basis: 100%;
  width: calc(100% - 15px);
  font-weight: bold;
}

.fplink {
  padding: 0.5em;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: table;
}

.fplink-plain {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.fplink-inner {
  display: table-row;
}

.fplink a {
  display: table-cell;
  vertical-align: middle;
  border-right-style: solid;
}

.fplink img {
  max-width: 150px;
  width: 100%;
  height: auto;
}

#fp-container {
  display:grid;
  grid-template-areas:"a" "b" "c";
  grid-template-columns:100%
}
@media screen and (min-width:990px) {
  #fp-container {
    grid-template-areas:"a b" "c c";
    grid-template-columns:50% 50%
  }
}
@media screen and (min-width:1350px) {
  #fp-container {
    grid-template-areas:"a b" "c c";
    grid-template-columns:auto 520px
  }
}

.fpbox {
  width:calc(100% - 2px);
  box-sizing:border-box;
}

.fp-section {
  display:flex;
  flex-wrap:wrap;
  overflow:hidden
}

#fp-top {
  grid-area:a
}
#fp-flex {
  grid-area:b
}
#fp-bottom {
  grid-area:c
}

/* End of Current main page layout */

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
   font-style: italic;
}
.allpagesredirect:after {
   color: var(--wiki-content-redlink-color); content: " (redirect)"
}
.watchlistredir {
   font-style: italic;
}
/* End of Mark redirects in Special:Allpages and Special:Watchlist */

/************************************************************
* CSS for Sprites *
************************************************************/


.sprite {
    display: inline-block;
    vertical-align: text-top;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat
}
.comment-sprite {
    background-image: url(/images/9/9c/CommentCSS.png);
}
/************************************************************
* End of CSS for Sprites *
************************************************************/
/************************************************************
* New Msg box alerts CSS  *
************************************************************/
.msgbox {
    display: flex;
    background: rgb(18, 18, 18);
    box-sizing: border-box;
    align-items: center;
    width: auto;
    padding: 0.4em 0.8em;
    margin: 0px auto 1em;
}

.msgbox + .msgbox {
  border-top:none;
  margin-top:-1em
}

:not(.msgbox) + .msgbox,
.msgbox:first-of-type {
  border-top-right-radius:.15em;
  border-top-left-radius:.15em
}

.msgbox #msgbox-iconimage,
.msgbox #msgbox-image {
  margin:0 1.5em 0 .5em
}

.msgbox-mini {
    padding: 0.4em 0.5em;
    margin: 0px 0px 1em;
}

.msgbox-mini #msgbox-icon {
    align-self: flex-start;
}

.msgbox-mini #msgbox-iconimage,
.msgbox-mini #msgbox-image {
  margin:0 .4em 0 .5em
}

.msgbox-mini #msgbox-text {
    font-size: small;
}

.msgbox-gray {
    background: rgb(50, 50, 50);
    border-left: 4px solid rgb(217, 217, 217);
}

.msgbox-red {
    background: #5b0707;
    border-left: 4px solid rgb(245, 188, 188);
}

.msgbox-purple {
    background: #421b88;
    border-left: 4px solid rgb(207, 188, 245);
}

.msgbox-orange {
    background: #8a5c03;
    border-left: 4px solid rgb(245, 226, 188);
}

.msgbox-yellow {
    background: #70700c;
    border-left: 4px solid rgb(245, 245, 188);
}

.msgbox-green {
    background: #0f790f;
    border-left: 4px solid rgb(188, 245, 188);
}

.msgbox-blue {
    background: #0e3d80;
    border-left: 4px solid rgb(188, 212, 245);
}

.msgbox-magenta {
    background: #9b0c84;
    border-left: 4px solid rgb(245, 188, 236);
}
/************************************************************
* End of New Msg box alerts CSS  *
************************************************************/
/* Wiki.gg Header Tweaks */
#p-personal .vector-menu-content #pt-anonuserpage,
#p-personal .vector-menu-content #pt-userpage a {
  padding-top: 0 !important;
  background-position: left center !important;
}
#pt-notifications-notice .mw-echo-notifications-badge {
    top:0px !important;
}
#pt-notifications-alert .mw-echo-notifications-badge {
    top:0px !important;
}
/* End Wiki.gg Header Tweaks */

/* General Tweaks */
pre {
  margin: 0;
}

#p-logo a:hover {
    filter: drop-shadow(1px 1px 7px var(--wiki-content-link-color));
}    
#p-logo a {
    transition: all 0.25s ease;
}

/* Styles for the toggle element in collapsible elements */
.mw-collapsible button.mw-collapsible-toggle,
.mw-collapsible button.mw-collapsible-toggle.mw-collapsible-toggle-collapsed {
  display: block;  /* Displays the toggle as a block-level element */
  float: left;  /* Floats the toggle to the left */
  margin-right: 0.5em;  /* Adds some right margin to the toggle */
  box-sizing: border-box;  /* Includes padding and border in the element's total width and height */
}

/* Styles for the toggle element */
.mw-collapsible-toggle {
  font-weight: bold;  /* Makes the toggle text bold */
}

/* ===================================================================
   Begin:Tabber Customization
   ===================================================================
   Classes: .tabber .tabber__tab
   Description: modifies tabber tabs to function better on mobile.
   =================================================================== */

.tabber__tabs {
  display:flex;
  overflow:auto hidden;
  scrollbar-width:none;
  flex-wrap: wrap;
}

.tabber__tab {
  font-weight: 600;
  display: flex;                                 
  flex-wrap: wrap;                              
  font-family: var(--wiki-heading-font-family);
}

    @media (max-width: 600px) {
        .tabber .tabber__tab {
            display: flex;
            flex-wrap: wrap;
            font-family: "Saira Semi Condensed", sans-serif;
            font-size: .9rem;
            font-weight: 500;
      }
    }

    @media (min-width: 601px) {
        .tabber .tabber__tab {
            font-size: .9rem;
            display: flex;
            flex-wrap: wrap;
      }
    }
/* End Tabber Customization */


.wikitable {
	text-align: center; 
}

caption:has(button.mw-collapsible-toggle-collapsed) { 
    width:max-content; 
}

.wikitable caption {
	text-align: left; 
}

/*
ul.gallery.mw-gallery-nolines {
    margin: 10px 0 0 0; /* Adjust the first value (top margin) as needed. noline galleries have weird indents at the start that put them off center to the content itself when left justified 
}*/

div.thumb.tnone {
    border:none; /* thumbnail video embeds had a weird outer border caused by their container div */
}
hr {
    height: 2px; /* <hr> lines that are not part of the header should be slightly thicker to not be confused with the normal header lines */
}

/* Remove "Local Video" text at the bottom left of videos within galleries */
.embedvideo-loader__footer {
    display:none;
}
/* temporary fix for EmbeddedVideo height in galleries https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/issues/94 */
.gallerybox figure.embedvideo {
    margin: auto; /* centers block */
    display: block; /* Eliminates weird gap at bottom */
}
/* End General Tweaks */
/* General Mobile-Specific Tweaks */
@media screen and (max-width: 1280px) {

}
@media screen and (max-width: 720px) {
	table.wikitable {
		display: table !important; /* Mediawiki pads tables on mobile for no reason. */
	}
}
/* End General Mobile-Specific Tweaks */

/* ==========================================================================
   Custom Wiki Classes
   ========================================================================== */
   
/** Flextablediv
*   Name: flextablediv 
*   Element Type: div
*   Description: puts tables within next to each other, with propper height and spacing adjustments 
**/
.flextablediv {
	display: flex; 
	flex-wrap: wrap;
	height: fit-content;
}
.flextablediv .wikitable {
      margin-right: 5px;
      height: fit-content;
    }
/** End Flextablediv **/

/** Headerimage
*   Name: headerimage 
*   Element Type: div
*   Description: puts the contained image into the center of the page, to be used as a page header.
*/

.headerimage {
  display: flex;
  padding: 10px;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.headerimage img {
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 25px;
}

@media screen and (max-width: 600px) {
  .headerimage {
    padding: 5px;
  }
}
/** End Headerimage **/

/** Centerdiv
*   Name: centerdiv 
*   Element Type: div
*   Description: puts contents in the center of the screen, use instead of the depricated <center> tag
*/
.centerdiv {
    text-align: center;
}
/** End Centerdiv **/

/** Tableleftjustify
*   Name: tableleftjustify 
*   Element Type: table
*   Description: shifts all cells in the table to be left justified instead of the default
*/
.tableleftjustified {
	text-align: left;
}

/** End Tableleftjustify **/

/** Secondcolumnright
*   Name: Firstcolumnleftjustified
*   Element Type: table
*   Description: shifts the second and all subsequent columns cells in the table to be right justified instead of the default
*/

.Secondcolumnright td:not(:first-child) {
  text-align: right;
}

/** End Firstcolumnleftjustified **/


/** Anatomythirdcolumncentered
*   Name: Anatomythirdcolumncentered
*   Element Type: table
*   Description: Used on the anatomy sections of the enemy pages. Aligns the AV values to be centered.
*/

.Anatomythirdcolumncentered td:nth-child(3) {
 text-align: center;
}

/** End Anatomythirdcolumncentered **/


/** table-weapon-stats
*   Name: table-weapon-stats
*   Element Type: table
*   Description: Used for formatting the "weapons detailed statistics" table to be the same as the infoboxes. e.g. [[AR-23 Liberator]]
*/


table.table-weapon-stats td {
border: none !important;
text-align: left !important;
}

	table.table-weapon-stats td:nth-child(1) {
	color:var(--wiki-heading-color) !important;
	font-weight: 700 !important;
	font-size: small !important;
	}
	
table.table-weapon-stats th {
color: var(--pi-secondary-background-label);
background: rgba(var(--pi-secondary-background--rgb),0.8) !important;
border: 1px solid rgba(var(--pi-secondary-background--rgb),0.8) !important;
}

table.table-weapon-stats tr {
border: 1px solid rgba(var(--pi-secondary-background--rgb),0.8) !important;
}

table.table-weapon-stats{
margin-right: 40px !important;
}

table.table-weapon-stats th a {
color: rgba(var(--pi-secondary-background--rgb),0.8)
}


/** End table-weapon-stats **/

/** Templateicons
*   Name: Templateicons
*   Element Type: img
*   Description: Uses CSS to properly load small icons and resize them at full quality
*/
.Templateicons img {
    width: 1.27em;
    height: 1.5em;
}
/** End Templateicons **/

/** Currencyicons
*   Name: Currencyicons
*   Element Type: img
*   Description: Uses CSS to properly load currency icons and resize them at full quality
*/
.Currencyicons img {
    width: 1.3em;
    height: 1.4em;
}
/** End Currencyicons**/


/** Medalicon
*   Name: Medalicon
*   Element Type: img
*   Description: Uses CSS to properly load Medal icon and resize them at full quality
*/

.Medalicon img {
    width: 1.125em;
    height: 1.5em;
}
/** End Medalicon**/


/** Automatonicon
*   Name: Automatonicon
*   Element Type: img
*   Description: Uses CSS to properly load Automaton icons and resize them at full quality
*/
.Automatonicon img {
    width: 1.714em;
    height: 1.5em;
}
/** End Automatonicon**/


/** Terminidicon
*   Name: Terminidicon
*   Element Type: img
*   Description: Uses CSS to properly load Terminid icons and resize them at full quality
*/
.Terminidicon img {
    width: 1.516em;
    height: 1.5em;
}
/** End Terminidicon**/


/** Stratagemcodeicon
*   Name: Stratagemcodeicon
*   Element Type: img
*   Description: Used in the 'Stratagem Code' template to display higher quality icons.
*/
.Stratagemcodeicon img {
    width: 1.75em;
    height: 1.75em;
}
/** End Stratagemcodeicon**/

/*
 * Custompoem
 *   Name: Custompoem
 *   Element Type: div
 *   Description: Uses CSS to center-align the poem content and display it as an inline-block element
 *   Use case: Helldivers 2 page has a poem that needed formatting
 */
.Custompoem {
  display: flex;
  justify-content: center;
  text-align: center;
  background: none;
  border: none;
  font-family: inherit;
  flex-grow: 1;
}
/** End Custompoem**/

/** Start Modification to MP Box**/

.mp-box div img{
	border-radius: 10px;
}

.Roundededges img{
	border-radius: 10px;
}

	.Roundededges .Templateicons img {
		border-radius: 0px;
	}



/** End Modification to MP Box**/

    /*
	===================================================================
	Begin:Custom_gallery
	===================================================================
	Custom_gallery
	Name: Custom_gallery
	Element Type: div
	Description: works with primaries and secondaries on the [[Weapons]]
	page. Modifies the standard gallery so that weapons can be displayed
	at higher resolution. This class also formats

	Notes: primary and secondaries are W:758 * H:406 pixels.   
	=================================================================== 

	===================================================================
	Div Custom Class: Custom_gallery
	===================================================================
	Variable Default Values:
	--image-width: 759 
	--image-height: 406
	--image-size-adjustment: .33
	--image-size-adjustment-mobile: .22
	===================================================================
	Instructions
	===================================================================
	Use variables via in-line style to customize div class 
	"Custom_weapon_gallery" for whatever ratio of image you want 
	to put into a gallery at full quality.

	Example:

	<div class = "Custom_weapon_gallery" 
	style="--image-width: 492; --image-height: 492; 
	--image-size-adjustment: .5; --image-size-adjustment-mobile: 
	.35;">

	For width and height, use the number of pixels in the original 
	image(s). Choose the largest image or things will not work.

	For image size adjustments, it will be trial and error. The
	ratio between mobile and desktop of 1:1.5 seems like a good 
	rough guess, but you never know. Good luck!
	=================================================================== 
                                                                     */

	.Custom_gallery {
		/* image variables */
		--image-width: 758;
		--image-height: 406;
		--ratio-width-to-height: calc(var(--image-width) / var(--image-height));

		/* size adjustment variables */
		--image-size-adjustment: .33;
		--image-size-adjustment-mobile: .22;

		/* gallery variables */
		--gallery-width: calc(calc(calc(var(--image-width) * .0625rem) * var(--image-size-adjustment)) + 1rem);
		--mobile-gallery-width: calc(calc(calc(var(--image-width) * .0625rem) * var(--image-size-adjustment-mobile)) + .5rem);
		--custom-gallery-alignment: left;

		/* normal properties */
		display: flex;
		flex-wrap: wrap;
		text-align: var(--custom-gallery-alignment);
		justify-content: var(--custom-gallery-alignment);
	}

		.Custom_gallery li.gallerybox > div,
		.Custom_gallery ul.gallery.mw-gallery-nolines > li,
		.Custom_gallery ul.gallery.mw-gallery-nolines > div {
			width: var(--gallery-width) !important;
		}

			@media (max-width: 600px) {
				.Custom_gallery li.gallerybox > div,
				.Custom_gallery ul.gallery.mw-gallery-nolines > li,
				.Custom_gallery ul.gallery.mw-gallery-nolines > div {
					width: var(--mobile-gallery-width) !important;
				}
			}

		.Custom_gallery img {
			width: calc(var(--image-width) * var(--image-size-adjustment) * .0625rem);
			height: calc(var(--image-height) * var(--image-size-adjustment) * .0625rem);
			object-fit: contain;
			text-align: center;
		}

        .Custom_gallery img:hover {
            filter: drop-shadow(1px 1px 7px var(--wiki-content-link-color));
            transform: scale(1.1); /* Adjust the scale value to control the zoom level */
            transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
        }

			@media (max-width: 600px) {
				.Custom_gallery img {
					width: calc(var(--image-width) * var(--image-size-adjustment-mobile) * .0625rem);
					height: calc(var(--image-height) * var(--image-size-adjustment-mobile) * .0625rem);
					object-fit: contain;
					text-align: center;
				}
                .Custom_gallery img:hover {
                    filter: drop-shadow(1px 1px 7px var(--wiki-content-link-color));
                    transform: scale(1.1); /* Adjust the scale value to control the zoom level */
                    transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
                }
			}

	.Custom_gallery ul.gallery div.gallerytext {
		font-family: 'Chakra Petch';
		font-weight: 500;
		font-size: .9rem;
		border: 0px;
	}

		@media (max-width: 600px) {
			.Custom_gallery ul.gallery div.gallerytext {
			font-family: 'Chakra Petch';
			font-weight: 500;
			font-size: .68rem;
			border: 0px;
			}
		}

	.Custom_gallery .Templateicons img {
		width: 1.03rem;
		height: 1.22rem;
	}

		@media (max-width: 600px) {
			.Custom_gallery .Templateicons img {
			width: .8744rem;
			height: 1.032rem;
			}
		}


/* ==========================================================================
   End:Template:Custom_gallery
   ========================================================================== */



/* End Custom Wiki Div Classes */


/* ==========================================================================
   Begin:Template:Warbond_Page
   ==========================================================================
*/

.warbond-page {
  --warbond-cell-width: 240px;
  --warbond-cell-height: 213px;
  --warbond-page-columns: 5;
  --warbond-page-rows: 3;
}

@media (min-width: 1651px) {
  .warbond-page {
    --warbond-cell-width:  8.4vw;
    --warbond-cell-height: 7.665vw;
  }
}

@media (min-width: 1081px) and (max-width: 1650px) {
  .warbond-page {
    --warbond-cell-width: 12vw;
    --warbond-cell-height: 10.95vw;
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .warbond-page {
    --warbond-cell-width: 14.4vw;
    --warbond-cell-height: 13.14vw;
  }
}

@media (max-width: 720px) {
  .warbond-page {
    --warbond-cell-width: 18vw;
    --warbond-cell-height: 16.425vw;
  }
}

.warbond-page {
  display: grid;
  grid: 1fr / 1fr 1fr 1fr 1fr 1fr;
  width: calc(var(--warbond-cell-width) * (var(--warbond-page-columns)));
  height: calc(var(--warbond-cell-height) * (var(--warbond-page-rows)));
}

.warbond-page div pre {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.warbond-cell {
  position: relative;
  width: var(--warbond-cell-width);
  height: var(--warbond-cell-height);
}

.warbond-cell:hover {
    box-shadow: 1px 1px 14px var(--wiki-content-link-color);
	transform: scale(1.1); /* Adjust the scale value to control the zoom level */
    transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
    z-index: 1;
}

.warbond-cell a {
  width: 100%;
  height: 100%;
}

.warbond-cell a > img {
  width: 100%;
  height: 100%;
}
.hide-medals .warbond-cell-medals-container {
	display: none;
}

.warbond-cell-medals-container {
    position: absolute;
    font-size: calc(var(--warbond-cell-width) * 0.12);
    right: calc(var(--warbond-cell-width) * 0.05);
    top: calc(var(--warbond-cell-height) * 0.05);
    background-color: #000b;
    padding: calc(var(--warbond-cell-width) * 0.015);
    border-radius: calc(var(--warbond-cell-width) * 0.05);
}

.warbond-cell-medals-container a > img {
    width: calc(var(--warbond-cell-width) * 0.09);
    height: calc(var(--warbond-cell-width) * 0.12);
}

.warbond-cell-x-1 { grid-column-start: 1; }
.warbond-cell-x-2 { grid-column-start: 2; }
.warbond-cell-x-3 { grid-column-start: 3; }
.warbond-cell-x-4 { grid-column-start: 4; }
.warbond-cell-x-5 { grid-column-start: 5; }
.warbond-cell-y-1 { grid-row-start: 1; }
.warbond-cell-y-2 { grid-row-start: 2; }
.warbond-cell-y-3 { grid-row-start: 3; }
.warbond-cell-y-4 { grid-row-start: 4; }
.warbond-cell-y-5 { grid-row-start: 5; }
.warbond-cell-x2-2 { grid-column-end: 2; }
.warbond-cell-x2-3 { grid-column-end: 3; }
.warbond-cell-x2-4 { grid-column-end: 4; }
.warbond-cell-x2-5 { grid-column-end: 5; }
.warbond-cell-x2-6 { grid-column-end: 6; }
.warbond-cell-y2-2 { grid-row-end: 2; }
.warbond-cell-y2-3 { grid-row-end: 3; }
.warbond-cell-y2-4 { grid-row-end: 4; }
.warbond-cell-y2-5 { grid-row-end: 5; }
.warbond-cell-y2-6 { grid-row-end: 6; }
.warbond-cell-w-1 { width: calc(var(--warbond-cell-width) *  1); }
.warbond-cell-w-1 { width: calc(var(--warbond-cell-width) *  1); }
.warbond-cell-w-2 { width: calc(var(--warbond-cell-width) *  2); }
.warbond-cell-w-3 { width: calc(var(--warbond-cell-width) *  3); }
.warbond-cell-w-4 { width: calc(var(--warbond-cell-width) *  4); }
.warbond-cell-w-5 { width: calc(var(--warbond-cell-width) *  5); }
.warbond-cell-h-1 { height: calc(var(--warbond-cell-height) * 1); }
.warbond-cell-h-2 { height: calc(var(--warbond-cell-height) * 2); }
.warbond-cell-h-3 { height: calc(var(--warbond-cell-height) * 3); }
.warbond-cell-h-4 { height: calc(var(--warbond-cell-height) * 4); }
.warbond-cell-h-5 { height: calc(var(--warbond-cell-height) * 5); }

/* ==========================================================================
   End:Template:Warbond_Page
   ==========================================================================
 */
/* End Custom Wiki CSS */