html{
	height:100%;
	width:100%;

	--mini-character-icon-width: 60px;
	--item-manager-item-size: 150px;
	--font-size: 0.8em;

	--background-invert-filter: invert(100%);
	font-family: helvetica, sans-serif;


	--color-rarity-default : #6a6156;
	--color-rarity-common : #b0c3d9;
	--color-rarity-uncommon : #5e98d9;
	--color-rarity-rare : #4b69ff;
	--color-rarity-mythical : #8847ff;
	--color-rarity-legendary : #d32ce6;
	--color-rarity-ancient : #eb4b4b;
	--color-rarity-immortal : #e4ae39;
	--color-rarity-stange : #CF6A32;
	--color-rarity-unusual : #ffd700;
}
body.theme-dark {
	--main-bg-color-bright: #41454d;
	--main-bg-color-dark: #21252b;
	--theme-popup-bg-color: #333333;
	--theme-text-color: #EEEEEE;

	--theme-text-color-warning:orange;
	--theme-filter-invert-dark:invert(100%);

	--theme-context-menu-bg-color: #333333;
	--theme-context-menu-item-bg-color: #333333;
	--theme-context-menu-item-selected-bg-color: #333333;
	--theme-context-menu-submenu-bg-color: #333333;
	--theme-context-menu-submenu-fg-color: #888888;
	--theme-context-menu-item-hover-bg-color: #000000;

	--theme-scene-explorer-bg-color: #222222;
	--theme-scene-explorer-entity-header-hover-bg-color: #000000;
}
body.theme-light {
	--main-bg-color-bright: #D7D3CB;
	--main-bg-color-dark: #DEDAD4;
	--theme-popup-bg-color: #CCCCCC;
	--theme-text-color: #111111;

	--theme-text-color-warning:#ff6a00;
	--theme-filter-invert-light:invert(100%);
}
body{
	font-family: tf2build,Verdana,sans-serif;
	font-size: var(--font-size);
	margin:0px;
	overflow: hidden;
	background-color: #000000;
	height:100%;
	width:100%;
	display: flex;
	color: var(--theme-text-color);
}


a{
	color: var(--theme-text-color);
	text-decoration: none;
}
a:active, a:hover {
	outline: 0;
	color: #0055AA;
}
a:hover {
	color: var(--theme-text-color);
}
input{
	background-color: var(--main-bg-color-bright);
	color: var(--theme-text-color);
	box-sizing: border-box;
}
select{
	background-color: var(--main-bg-color-bright);
	color: var(--theme-text-color);
}
input::placeholder{
	color: var(--theme-text-color);
}
label{
	white-space: nowrap;
}

.loadout-application{
	height:100%;
	width:100%;
	display: flex;
}
.loadout-application-content{
	display: flex;
	flex:1;
	flex-direction: column;
}
.loadout-application-advertisement-header{
	cursor: pointer;
}
.loadout-application-advertisement-header div:first-child{
	font-size: 1.5em;
}
.loadout-application-left-panel{
	max-width: 50%;
}
.loadout-toolbar{
	position:absolute;
	top:5px;
	right:5px;
	z-index:5;
	display:flex;
	pointer-events: none;
}
.loadout-toolbar-button{
	height:30px;
	width:30px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	margin:4px;
	cursor:pointer;
	pointer-events: all;
}
.loadout-toolbar-button.disabled{
	opacity: 50%;
}
.loadout-toolbar-button-canvas{
	background-image: url('./img/icons/overscan.svg');
}
.loadout-toolbar-button-item-list{
	background-image: url('./img/icons/list.svg');
}
.loadout-toolbar-button-effects{
	background-image: url('./img/icons/effects.svg');
	background-size: auto 100% !important;
}
.loadout-toolbar-button-pause{
	background-image: url('./img/icons/pause.svg');
}
.loadout-toolbar-button-play{
	background-image: url('./img/icons/play.svg');
}
.loadout-toolbar-button-facials{
	background-image: url('./img/icons/faceicon.svg');
}
.loadout-toolbar-button-picture{
	background-image: url('./img/icons/camera.svg');
}
.loadout-toolbar-button-sfm{
	background-image: url('./img/icons/sfm_logo.svg');
}
.loadout-toolbar-button-3d{
	background-image: url('./img/icons/3dprint.svg');
}
.loadout-toolbar-button-bug{
	background-image: url('./img/icons/bug.svg');
}
.loadout-toolbar-button-options{
	background-image: url('./img/icons/options.svg');
}
.loadout-toolbar-button-advanced{
	background-image: url('./img/icons/options2.svg');
}
.loadout-toolbar-button-about{
	background-image: url('./img/icons/more.svg');
}
.loadout-toolbar-button-share{
	background-image: url('./img/icons/share.svg');
}
.loadout-toolbar-button-patreon{
	background-image: url('./img/icons/patreon_logo.svg');
}

.loadout-canvas-container{
	flex: auto;
}

.loadout-canvas-fps{
	position: absolute;
	top:0px;
	left: 0px;
}
.loadout-canvas-wear-panel{
	position: absolute;
	bottom: 0px;
	left: 20px;
	width: 300px;
	margin: 10px;
	display: flex;
	font-size: 1.5em;
}
.loadout-canvas-wear-panel > div{
	padding: 5px;
	white-space: nowrap;
}

.loadout-canvas-wear-panel-minmax{
	display: flex;
}
.loadout-canvas-wear-panel-min{
	flex: 1;
}
.loadout-canvas-wear-panel-max{
	flex: 1;
	text-align: right;
}
.loadout-canvas-wear-panel-value{
	width: 50px;
	background-color: rgba(0, 0, 0, 0);
	text-align: center;
	border-width: 0px;
}
.loadout-canvas-wear-panel-range{
	width: 100%;
}

.background-invert-filter{
	filter: var(--background-invert-filter);
}
.loadout-about-outer{
	z-index: 15;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	display: flex;
}
.loadout-about-inner{
	background-color: rgba(0, 0, 0, 0.7);
	margin:auto;
	padding:10px;
	position:relative;
	pointer-events: all;
}
.loadout-about-inner .title{
	text-align: center;
	font-size: 2em;
	margin-bottom: 1em;
}
.loadout-close-button{
	position:absolute;
	height:16px;
	width:16px;
	top:13px;
	right:13px;
	background-image: url('./img/icons/close.svg');
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.effect-manager-effect-list{
	display: flex;
	flex-direction: column;
}
.effect-manager-effect{
	background-color: var(--main-bg-color-bright);
	color: var(--main-text-color-dark2);
	font-size: calc(2 * var(--font-size));
	padding: 3px;
	display: inline-block;
	width: 300px;
	margin: 1px;
	position: relative;

	text-overflow: ellipsis;
	white-space: nowrap;
}
.effect-manager-effect-remove-button{
	position: absolute;
	top: 1px;
	right: 5px;
	color: var(--main-text-color-dark2);
	pointer-events: all;
	cursor: pointer;
}
.effect-manager-effect-remove-button::after {
	content: '\274c';
}
.effect-manager-color{
	width:50px;
	height:50px;
	display:inline-block;
}
.option-line{
	display: block;
	width: 100%;
	padding: 5px;
}
.option-button {
	background-color: var(--main-bg-color-bright);
	color: var(--main-text-color-dark2);
	border-radius: 1px;
	display:inline-block;
	cursor:pointer;
	padding: 8px;
	color:white;
	pointer-events:all;
}

.loadout-application-content-header{
	--loadout-application-header-menu-height: 20px;
	overflow: visible !important;
}
.loadout-application-content-header > div, .loadout-application-content-header > div > div{
	overflow: visible;
}

.loadout-application-content-content{
	flex: 1;
}

.loadout-itemmanager{
	overflow: visible;
	flex-direction: column;
}
.loadout-paint-panel{
	height: 100%;
	overflow: hidden;
	flex-direction: column;
}
.loadout-paint-panel-header{
	flex: 0 0 auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
.loadout-paint-panel-header custom-toggle-radio-group{
	font-size: 2em;
}
.loadout-paint-panel-content{
	overflow: hidden;
	flex-direction: column;
}
.loadout-skins-panel{
	overflow: hidden;
	flex-direction: column;
}

.loadout-paint-panel-filter{
	/*display: table;*/
	/*padding: 5px;*/
}
.loadout-paint-panel-filter-advanced{
	width: 100%;
}
.loadout-paint-panel-filter-advanced .content {
	display: table;
}
.loadout-paint-panel-filter-advanced .content>div{
	display: table-row;
}
.loadout-paint-panel-filter-advanced .content>div>*{
	display: table-cell;
}
.loadout-paint-panel-filter-advanced .content>div>:nth-child(2){
	width: 100%;
}

.loadout-paint-panel-filter>div{
	display: flex;
}
.loadout-paint-panel-filter>div>*{
	display: table-cell;
}
.loadout-paint-panel-filter>div>:nth-child(2){
	width: 100%;
}
.loadout-paint-panel-filter label{
	padding: 5px;
}
.loadout-paint-panel-filter-price{
	display: flex;
}
.loadout-paint-panel-filter-price-input{
	margin: 5px;
	text-align: center;
	width: 50%;
	box-sizing: border-box;
	max-width: 50px;
}
.loadout-paint-panel-stattrak{
	margin: 5px;
	font-size: 1.2em;
}
.loadout-paint-panel-uid{
	margin: 5px;
	font-size: 1.2em;
}

.loadout-paint-panel-paint-list{
	overflow-y: auto;
}
.loadout-paint-panel-paint-list-paint{
	font-size: 1.2em;
	padding: 5px;
	/*background-color: red;*/
	background-color: var(--main-bg-color-dark);
	cursor: pointer;
}
.loadout-paint-panel-paint-list-paint:hover{
	background-color: blue;
}
.loadout-paint-panel-paint-list-paint-detail{
	display: none;
}
.loadout-paint-panel-wear{
	bottom: 0px;
	left: 20px;
	margin: 10px;
}
.loadout-paint-panel-wear-label{
	text-align: center;
	font-size: 1.2em;
}
.loadout-sticker-panel{
	overflow: hidden;
	flex-direction: column;
	max-width: 300px;
	display: flex;
}
.loadout-sticker-panel-selected{
	flex: 0 0 auto;
}
.loadout-sticker-panel-selector{
	flex: 1;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.6);
	flex-direction: column;
}
.loadout-sticker-panel-sticker-add{
	cursor: pointer;
	font-size: 1.5em;
	background-image: url('./img/nosticker.png');
	width: 80px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
.loadout-sticker-panel-sticker-add.selected{
	filter: brightness(2);
}
.loadout-sticker-panel-filter{
	/*display: table;*/
}
.loadout-sticker-panel-filter label{
	padding: 5px;
}
.loadout-sticker-panel-filter>div{
	display: flex;
}
.loadout-sticker-panel-filter>div>*{
	display: table-cell;
}
.loadout-sticker-panel-filter>div>:nth-child(2){
	width: 100%;
}
.loadout-sticker-panel-sticker-list{
	display: flex;
	overflow-y: auto;
	flex-wrap: wrap;
	justify-content: space-around;
}
.loadout-sticker-panel-sticker-list-sticker{
	cursor: pointer;
	width: 80px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
}
.loadout-sticker-panel-filter-advanced{
	width: 100%;
}
.loadout-sticker-panel-filter-advanced .content{
	display: table;
}
.loadout-sticker-panel-filter-advanced .content>div{
	display: table-row;
}
.loadout-sticker-panel-filter-advanced .content>div>*{
	display: table-cell;
}
.loadout-sticker-panel-filter-advanced .content>div>:nth-child(2){
	width: 100%;
}



.loadout-itemmanager-header-slot{
	padding: 20px;
	position: relative;
	cursor: pointer;
}

.loadout-itemmanager-header-slot-header{
	/*height: var(--loadout-application-header-menu-height);*/
	font-size: 2em;
}

.loadout-itemmanager-header-slot-header::after{
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 8px dashed;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	content: '';
}
.loadout-itemmanager-header-slot-content{
	position: absolute;
	z-index: 10000;
	overflow-y: auto;
	max-height: calc(100vh - 100px);
	background-color: var(--main-bg-color-dark);
	overflow: auto;
}
.loadout-itemmanager-header-slot-weapon{
	height: 30px;
	cursor: pointer;
	white-space: nowrap;
	font-size: 1.5em;
	padding: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.loadout-itemmanager-paints-paint{
	height: 100px;
	padding: 5px;
}


.loadout-itemmanager-paints-paint{
}

.flex-panel{
	display: flex;
	box-sizing: border-box;
	pointer-events: all;
	overflow: auto;
	position: relative;
}

.weapon-list{
	overflow-y: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-content: flex-start;
	flex: 1;
}
.weapon-list-weapon{
	width: 400px;
	/*background-color: red;*/
	background-color: var(--main-bg-color-dark);
	margin: 10px;
	display: flex;
	flex-direction: column;
}
.weapon-list-weapon-title{
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	font-size: 2em;
}
.weapon-list-weapon-rarity{
	font-size: 1.2em;
	text-align: center;
	padding: 4px;
}
.rarity-default{
	background-color:var(--color-rarity-default);
}
.rarity-common{
	background-color:var(--color-rarity-common);
}
.rarity-uncommon{
	background-color:var(--color-rarity-uncommon);
}
.rarity-rare{
	background-color:var(--color-rarity-rare);
}
.rarity-mythical{
	background-color:var(--color-rarity-mythical);
}
.rarity-legendary{
	background-color:var(--color-rarity-legendary);
}
.rarity-ancient{
	background-color:var(--color-rarity-ancient);
}
.rarity-immortal{
	background-color:var(--color-rarity-immortal);
}
.rarity-stange{
	background-color:var(--color-rarity-stange);
}
.rarity-unusual{
	background-color:var(--color-rarity-unusual);
}


.weapon-list-weapon-image{
	width: 100%;
}
.weapon-list-weapon-wears{
	display: flex;
	justify-content: center;
	flex: 1;
}
.weapon-list-weapon-wear{
	font-size: 1.5em;
	cursor: pointer;
	padding: 5px;
	text-align: center;
}
.weapon-list-weapon-open3d{
	font-size: 2em;
	background-color: blue;
	text-align: center;
	cursor: pointer;
}
.weapon-list-weapon-desc, .weapon-list-paintkit-desc{
	text-align: center;
	width: 100%;
	overflow: hidden;
	font-size: 0.75em;
	display: none;
}
.weapon-list-weapon-wear-listings{
	display: none;
}
.weapon-list-weapon-wear-price-stattrak{
	color:orange;
}
.weapon-list-weapon-wear-price-souvenir{
	color:yellow;
}

#weapons-body{
	flex-direction: column;
}




@media screen and (max-device-width: 999px) {
	.loadout-application{
		flex-direction: column;
	}
	.loadout-application-advertisement-header{
		display: none;
	}
}
