/*
Color.Red='#e6194B';
Color.Green='#3cb44b';
Color.Yellow='#ffe119';
Color.Blue='#4363d8';
Color.Orange='#f58231';
Color.Purple='#911eb4';
Color.Cyan='#42d4f4';
Color.Magenta='#f032e6';
Color.Lime='#bfef45';
Color.Pink='#fabebe';
Color.Teal='#469990';
Color.Lavender='#e6beff';
Color.Brown='#9A6324';
Color.Beige='#fffac8';
Color.Maroon='#800000';
Color.Mint='#aaffc3';
Color.Olive='#808000';
Color.Apricot='#ffd8b1';
Color.Navy='#000075';
Color.Grey='#a9a9a9';
Color.White='#ffffff';
Color.Black='#000000';
*/

/*overwrite model open on body*/
body {
	padding: 0 !important;
}
/*overwrite boostrap card*/
.card{
	font-family: fangsong;
    font-size: small;
}
/*make sure heading shows when dialog open*/
.modal-dialog {
	margin-top: 3.5rem !important;
}

.cover-page {
	height: 99vh;
}
.game-content {
	display: none;
}

.game-info-section{
	position: fixed;
	width: 100%;
	z-index: 2;
	padding: 13px;
	background-color: #eee;
	z-index: 1100;
}

.game-switch {
	font-size: 20px;
	margin:5px;
}
.game-switch.on {
	color:#f58231;
}

.heart-beat{
	display: inline-block;
	height: 35px;
	width: 35px;
}
.heart-beat svg {
	margin-bottom: 5px;
	margin-right: 5px;
}

.game-info {
	margin-left: 10px;
}
.game-info span {
	margin-right: 20px; 
}
.game-info .date{
	font-size: larger;
	font-weight: bold;
}

.statistic{
	width: 85%;
	margin:0 10%;
}
.statistic span{
	display: inline-block;
	width: 200px;
}

.INCUBATIONSTAGE{
	color:#a9a9a9;
}

.ILLNESSSTAGE{
	color:#e6194B;
}

.RECOVERSTAGE{
	color: #ffe119;
}

.FULLYRECOVERED{
	color:#bfef45;
}

.HOSTDEAD{
	color:#000000;
}

.piechart{
	position: fixed;
	top: 65px;
	right: 0px;
	width: 300px;
}

.event-log {
	position: fixed;
	right: 0px;
	bottom: 100px;
	height: 40vh;
	width: 300px;
	overflow-y: scroll;
	font-size: 11px
}

.event-log div {
	margin: 4px 0px;
}

/*tree*/
.tf-custom .tf-nc {
	height: 1em; width: 1em;
	background-color: dodgerblue;
	border-color: dodgerblue;
	padding: 0;
	border-radius: 50%;
}

.tf-custom .tf-nc:before,
.tf-custom .tf-nc:after {
	border-left-color: dodgerblue;
	border-left-width: 2px;
}

.tf-custom li li:before {
	border-top-color: dodgerblue;
	border-top-width: 2px;
}
/*overwrite*/
.tf-gap-zero li {
	padding: 0 !important;
}

.data-panel{
	font-size: 11px;
}
.data-panel span{
	display: inline-block;
	width: 16%;
	height: 40px;
	position: relative;
}
.real-data span{
	width: 16%;
}
.medical-data span{
	width: 10.66%;
}
.game-data span{
	width: 13.7%;
}

.data-panel label{
	position: absolute;
	top: 0px;
	width: 100%;
	text-align: center;
}
.data-panel b{
	position: absolute;
	top: 14px;
	width: 100%;
	text-align: center;
}
.data-panel small{
	position: absolute;
	bottom: 0px;
	width: 100%;
	text-align: center;
}

.game-state-machine {}

.buff-queue{
	position: fixed;
	width: 100%;
	top: 60px;
	left: 0px;
}
.buff-queue a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 5px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	text-align: center;
}
.buff-queue a.WAITING{
}
.buff-queue a.PROCESSING{
}
.buff-queue a.ACTIVATE{
	border: 1px solid #bfef45;
	background: #bfef45;
}
.buff-queue i {
	line-height: 40px;
	font-size: 30px;
	color: #e6194b;
}
.buff-queue i.fa-crosshairs,
.buff-queue i.fa-user-secret,
.buff-queue i.fa-shield{
	color: #3cb44b;
}

.buff-queue p {
	display: none;
	font-size: 10px;
}

.job-queue-section{
	position: fixed;
	bottom: 60px;
	width: 100%;
}
.job-queue-section .queue {
	min-height: 42px;
}
.job-queue-section .queue.complete-jobs{
	background-color: beige;
}

.job-queue-section a {
	display: inline-block;
	width: 80px;
	height: 30px;
	margin: 5px 5px 5px 30px;
	position: relative;
}


.job-queue-section .waiting-jobs{
	width: 180px
}

.job-queue-section a.WAITING{
	background: #fffac8;
}
.job-queue-section a.PROCESSING{
	background: #fc3;
}
.job-queue-section a.ACTIVATE{
	background: darkkhaki;
}
.job-queue-section p {
	text-align: center;
	font-size: 10px;
}

.job-queue-section i {
	position: absolute;
    left: -30px;
    font-size: 20px;
    padding: 5px;
    background: #999ea3;
    color: #f8f9fa;
}

.progress-indicator{
	position: absolute;
	height: 100%;
	top: 0;
	right: 0;
	background-color: rgba(255,255,255,0.5);
	transition: width 0.5s linear;
}

#infection-trace .modal-dialog {
	max-width: 90% !important;
}

.footer-nav{
	position: fixed;
	width: 100%;
	bottom:0px;
	right: 0px;
	background-color: #eee;
	z-index: 2;
	padding: 5px 5px 0px 5px;
}

.user-actions span{
	font-size: x-large;
	padding: 15px;
}

#user-actions-policy ul{
	width: 50%;
    display: inline-block;
}

.history-log h1 {
	text-align: center;
}

.current-loans {

}
.current-loans p{
	background-color: #ffd8b1
}
.current-loans i {
	background: #a9a9a9;
    color: #911eb4;
    padding: 7px;
    margin-right: 20px;
    font-size: 20px;
}

.infected-person-info {
	background-color: #eee;
}
.infected-person-info i {
	font-size: 25px;
    padding: 15px;
    margin-right: 20px;
    background: #000;
}

.individual-inspect {
	width: 180px;
    float: right;
    right: 25px;
    top: 10px;
}

.skill-box {
	width: 100%
}

.skill-box-row{

}
.skill-box-cell{
	display: inline-block;
    width: 16.5%;
    text-align: center;
    color: darkgray;
}

.skill-box-cell.item{
	font-size: 50px;
}
.skill-box-cell.level{
	font-size: 20px;
	position: relative;
	top: -10px;
}

.skill-box-cell.level .fa-lock{
	cursor: not-allowed;
}
.skill-box-cell.level .fa-star-o{
	cursor: pointer;
}

.skill-box-cell.unlockable {
	cursor: pointer;
}
.skill-box-cell.unlocked {
	color: #bfef45;
}


.virus-sample {
	background: slategrey;
    padding: 8px;
}

.virus-sample .virus-desc{
	display: inline-block;
	width: 60%;
}

.virus-sample .virus-desc i{
	padding: 10px;
    background: #eee;
    color: purple;
}

.virus-sample .research-progress .progress{
	font-size: 9px;
	height: 9px;	
}


.virus-sample .research-budget-display {
	display: inline-block;
	width: 10%;
	font-size: 12px;
}
.virus-sample .research-budget{
	display: inline-block;
	width: 30%;
	height: 45px;
    line-height: 45px;
}
.virus-sample .research-budget input {
	height: auto !important;
}


.virus-root {
	cursor: grab;
}
.virus-root:hover{
	color: orangered;
}

.popover {

}
.popover-header {
	font-size: 10px
}
.popover-body {
	font-size: 9px;
}

.buff-skill {
	position: relative;
    top: -6px;
    text-align: center;
    display: inline-block;
    width: 25%;
}
.buff-skill span {
	position: relative;
}
.buff-skill i {
	font-size: 25px;
    padding: 10px 14px;
    background: #f58231;
    color: white;
    margin: 0px 5px;
    border-radius: 10px;
}
.buff-skill .count-down {
	position: absolute;
    right: 7px;
    font-size: 25px;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    font-weight: bold;
    color: #6c757d;
    visibility: hidden;
}
.buff-skill .cooling i{
	background: burlywood !important;
	color: #eee!important;
}
.buff-skill .cooling .count-down{
	visibility: visible!important;
}

.bg-mask {
	background-color: #2bb8aa!important;
}
.bg-medicine {
	background-color: #fc3!important;
}
.bg-protectivegear {
	background-color: #3c9f59!important;
}
.bg-ventilator {
	background-color: #911eb4!important;
}