body {
padding: 0px;
margin:0px;
font-family: Arial, Helvetica, sans-serif;
font-size: calc(12px + 1vmin);
width:100%;
height:100%;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
 -webkit-transition:all 0.5s ease-out;
    -moz-transition:all 0.5s ease-out;
    -o-transition:all 0.5s ease-out;
    -ms-transition:all 0.5s ease-out;
    transition:all 0.5s ease-out;
    overflow: hidden;
 /* background: linear-gradient(#00111e 30%, #033d5e);
   background: -webkit-linear-gradient(#00111e 30%, #033d5e);
  background: -moz-linear-gradient(#00111e 30%, #033d5e);
  background: -o-linear-gradient(#00111e 30%, #033d5e);
background-color: rgba(0,0,0,1);  */

}       
#settings {
	position: absolute;
	z-index: 10001;
	bottom: 2px;
	right:2px;
	color: white;
	/*background-image: url(music.png);*/
	background-size:100%;
}
#settings:hover {
	background-color: rgba(155,155,255,0.5);
}
#mute {
	position: absolute;
	z-index: 10001;
	top: 2px;
	right:2px;
	color: white;
	/*background-image: url(music.png);*/
	background-size:100%;
}
#mute:hover {
	background-color: rgba(155,155,255,0.5);
}
#HUD {
	z-index:31;
	pointer-events:none;
}

html {
	padding:0px;
	margin:0px;
}
#BG {
	

}
#top {
	font-family: "Kurale", serif;
	
	
	z-index: 25;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	background-color:rgba(245,245,220,0.4);
	position:fixed;
	text-align: center;
	font-size:0.8em;
	box-shadow:inset 0em 3px 0em 0px rgba(0,0,50,1),inset 3px 0px 0em 0px rgba(0,0,50,1),inset -3px 0px 0em 0px rgba(0,0,50,1);
}

#Effects {
	z-index: 24;
}
#UpgradesPanel {
	position: absolute;
	background-color: rgba(0,0,0,0.4);
	background-color:rgba(15,139,161,0.3);
	color:white;
	/*text-shadow:0em 0.05em 0em rgba(15,139,161,1), 0em 0em 0.2em white;*/
	/*box-shadow:inset 0em 0em 5px 4px rgba(250,250,250,0.7),inset 0em 0em 20px 10px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1),inset 0em 0em 2px 2px rgba(15,139,161,1);*/
	z-index: 30;
	display: none;
	text-align: center;
	overflow-x: none;

}


#PanelMain {
	height:90%;
	width:100%;
	
}
#PanelTop {
	height:10%;
	width:100%;
	font-size: 0.9em;
	
}
.ascField {
	position: relative;
	background-color: rgba(0,0,0,0.9);
	margin-top:5%;
	height:40%;
	float: left;
	border-radius:0em;
	box-shadow:
	inset 0em 0em 4px 2px rgba(15,139,161,1),
	0em 0em 2px 2px rgba(15,139,161,1),
	inset 0em 0em 2px 2px rgba(15,139,161,1);
	
	width:90% ;
	margin-left: 5% !important;
	margin-right: 5% !important;
	padding-bottom: 2%;
}
.Field {
	position: relative;
	background-color: rgba(0,0,0,0.9);
	margin-top:5%;
	height:40%;
	float: left;
	border-radius:0em;
	box-shadow:
	inset 0em 0em 4px 2px rgba(15,139,161,1),
	0em 0em 2px 2px rgba(15,139,161,1),
	inset 0em 0em 2px 2px rgba(15,139,161,1);
	justify-content: space-between;
	flex-wrap:wrap; 
	display:flex;
	width:90% ;
	margin-left: 5% !important;
	margin-right: 5% !important;
	padding-bottom: 2%;

}
.Field::after {
  content: '';
  width: 90%;
}
.upButUpgrade:last-child { /* or `:nth-child(n + 4)` */
  order: 1;
}
.hiddenField {
	width: 92%;
}

#TurretBehavior {
	height:auto !important;
}
#DroneBehavior {
	height:auto !important;
}

.Field img{
	
	
	right:30%;
	
}
#HUDDIV {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 25;

}
.close {
	position: absolute;
	right:0;
	top:0;
	text-align: center;
	border-top-right-radius:inherit;
	border-top-left-radius:inherit;
	border-bottom-left-radius:inherit;
	border-bottom-right-radius:inherit;
	background-color:rgba(15,139,161,0.3);
	color:white;
	text-shadow:none;
	/*box-shadow:inset 0em 0em 5px 4px rgba(250,250,250,0.7),inset 0em 0em 20px 10px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1),inset 0em 0em 2px 2px rgba(15,139,161,1);*/
}
.close:hover {
	background-color:rgba(15,39,61,1);
	color:rgba(0,0,0,1);
	
}
.buyX {
	position: absolute;
	left:-7%;
	top:5%;
	width:7%;
	height:50%;
	text-align: center;
	border-top-right-radius:inherit;
	border-top-left-radius:inherit;
	border-bottom-left-radius:inherit;
	border-bottom-right-radius:inherit;
	color:white;
	text-shadow:none;
	
}
.buyXBut {
	font-size: 0.7em;
	float:none;
	/*height:30%;*/
	margin-top:3%;
	width:100%;
	background-color:rgba(15,139,161,0.3);
	/*box-shadow:inset 0em 0em 5px 4px rgba(250,250,250,0.7),0em 0em 2px 2px rgba(15,139,161,1),inset 0em 0em 2px 2px rgba(15,139,161,1);*/
	
}
.buyXBut:hover {
	background-color:rgba(15,139,161,0.2);
	color:rgba(0,0,0,1);
	
}
.buyXBut.selected {
	background-color:rgba(15,139,161,1);
	/*box-shadow:inset 0em 0em 5px 4px rgba(250,250,250,0.7),inset 0em 0em 20px 10px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1),inset 0em 0em 2px 2px rgba(15,139,161,1);*/
}
.floatRight {
	float:right;
}
.floatLeft {
	float:left;
}
#ascendBut {
	display:block;
}
#Ascension {
	display: none;
	z-index: 101;
	position: absolute;
	height:10%;
	width:10%;
	line-height: 2em;
	/*padding-bottom: -0.5em;*/
	text-shadow:none;
	border-bottom-right-radius:0.3em;
	border-bottom-left-radius:0.3em;
	border-top-right-radius:0.1em;
	border-top-left-radius:0.1em;
}
#AscensionBot {
	bottom:10%;
	position: absolute;
	width:100%;
}
#Ascension:hover{
	background-color: rgba(15,139,161,0.5);
}
.upBut {
	position: relative;
	float:left;
	font-size: 0.6em;
	text-align: center;
	padding:0.1em;
	background-color: rgba(50,200,255,0.2);
	color:rgba(15,139,161,1);
	text-shadow:none;/*0em 0.05em 0em silver, 0em 0em 0.2em white;*/
	
	/*box-shadow:inset 0em 0em 1px 1px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1);*/
	
}
.Upgrade {
	height:70%;
	float: left;
	width:22.5%;
}
.upButUpgrade {
	position: relative;
	font-size: 0.6em;
	text-align: center;
	padding:0.1em;
	background-color: rgba(50,200,255,0.2);
	color:rgba(15,139,161,1);
	text-shadow:none;/*0em 0.05em 0em silver, 0em 0em 0.2em white;*/
	
	/*box-shadow:inset 0em 0em 1px 1px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1);*/
	
}
.settingBut {
	position: relative;
	font-size: 0.6em;
	text-align: center;
	padding:0.5em;
	margin:0.5em;
	background-color: rgba(50,200,255,0.2);
	color:rgba(15,139,161,1);
	text-shadow:none;
	
}
.settingBut:hover {
	
	background-color: rgba(0,0,0,1);
	color:rgba(15,139,161,1);
	
	
	
}

.cannotAfford {
	background-color:rgba(255,0,0,0.5);
	color:rgba(155,0,0,1);
}
.upButUpgrade:hover {
	/*transform:scale(1.1);*//*
	width:150%;*/
	text-align: center;
	z-index: 50;
	width:65%;
	background-color: rgba(0,0,0,1);
	color:rgba(15,139,161,1);
	/*box-shadow: 0em 0em 1px 1px rgba(15,139,161,1),inset 0em 0em 3px 3px rgba(15,139,161,1);*/
	
	
}
.upButDrone {

	/*margin:0.5em;
	margin-top:1.5em;*/
}

.upBut:hover {
	text-align: center;
	width:65%;
	background-color: rgba(0,0,0,1);
	color:rgba(15,139,161,1);
	/*box-shadow: 0em 0em 1px 1px rgba(15,139,161,1),inset 0em 0em 3px 3px rgba(15,139,161,1);*/
	
	
}
.setBut {
	border-radius:20%;
	padding-top:1em;
	padding-bottom:1em;
	position: relative;
	font-size: 0.6em;
	text-align: center;
	text-shadow: none;
	background-color: rgba(15,139,161,0.4);
	color:white;
	
	
	
/*	box-shadow:inset 0em 0em 1px 1px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1);*/
	
}
.setBut:hover {
	text-align: center;
	background-color: rgba(15,139,161,0.1);
	color:white;
	/*box-shadow: 0em 0em 1px 1px rgba(15,139,161,1),inset 0em 0em 3px 3px rgba(15,139,161,1);*/
	
	
}
.but {
	display:none;
	text-align: center;
	position: relative;
	font-size: 0.7em;
	color:white;
	
	background-color:rgba(15,139,161,0.4);
	/*box-shadow:inset 0em 0em 5px 10px rgba(15,139,161,0.4),0em 0em 2px 1px rgba(15,139,161,1),inset 0em 0em 2px 1px rgba(15,139,161,1);*/
	
}
.locked {
	width:100%;
	height:100%;
	position: absolute;
	left: 0;
	top: 0;
	box-shadow:inset 0em 0em 100px 50px rgba(0,0,0,0.5);
	background-color:rgba(0,0,0,0.5);
	pointer-events:none;
	z-index: 10;

}
.price {
	float:bottom;
	position: absolute;
	bottom:0;
	font-size: 1em;
	width:100%;
	pointer-events:none;
	background-color:rgba(255,255,255,0.6);
	color:rgba(20,20,255,1);
}
.price.cannotAfford {
	color: rgba(100,0,0,1);
	background-color: rgba(150,150,150,0.8);
}
.but.locked:hover {
	
}
.but:hover {
	background-color: darkgrey;
	background-color:rgba(15,139,161,0.8);
}


#Title {
	position: absolute;
	color:white;
	white-space: nowrap;
	font-size: 5.5em;
	text-shadow:0em 0.1em 0em rgba(15,139,161,1), 0em 0em 0.2em white;
	/*box-shadow:inset 0em 0em 1em 10px rgba(15,139,161,1),0em 0em 2px 3px rgba(15,139,161,1),inset 0em 0em 2px 3px rgba(15,139,161,1);*/
	text-align: center;
}
#PointsCP {

	/*border-top-left-radius:2em;*/
	/*border-top-right-radius:2em;*/
	/*border-bottom-right-radius:50em;*/
	text-align: center;
}
#PointsDP {
	/*border-top-right-radius:2em;*/
	/*border-top-left-radius:2em;*/
	/*border-bottom-right-radius:5em;*/
	text-align: center;
}
.Points {
	/*box-shadow:inset 0em 0em 25px 5px rgba(15,139,161,1);*/
	font-weight: bold;
	font-size: 0.8em;
	color:white;
	text-shadow:0em 0.05em 0em silver, 0em 0em 0.2em white;
	position: absolute;
	padding-top:0.2em;
	text-align: center;

}
.Cont {
	width: 40%;

}
.Cont img {
	pointer-events:none;
	
}
.unclickImage {
	pointer-events:none;
}
#pauseSpawn {
	position: absolute;
	
	text-shadow:none;
	border-bottom-right-radius:0.5em;
	border-bottom-left-radius:0.5em;
}
#switchTanks {
	position: absolute;
	
	text-shadow:none;
	border-bottom-right-radius:0.5em;
	border-bottom-left-radius:0.5em;
}
#LeftCont {
	position: absolute;
	left:0px;
	top:0;
}
#RightCont {
	position: absolute;
	right:0px;
	top:0;
}
.panel {
	
	z-index: 1;
}

#canvases {
	position: absolute;
	/*box-shadow:inset 0em 0em 100px 10px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1),inset 0em 0em 2px 2px rgba(15,139,161,1);*/
}
canvas {
	margin:0;
	padding:0;
	position:absolute;
	top:0;
	left:0;

}
.spellName {
	font-size: 0.8em;
	float:left;
	font-weight:bold;
	pointer-events:none;
}
.spellCoolDown{
	font-size: 0.6em;
	float:none;
	position: absolute;

	pointer-events:none;
}
.spellDuration{
	font-size: 0.6em;
	float:none;
	position: absolute;
	pointer-events:none;
}
.spellDescription{
	font-size: 0.5em;
	font-style: italic;
	float:none;
	position: absolute;
	pointer-events:none;
}
.spellCD{
	position: absolute;
	pointer-events:none;
}	
#Spells{
	position: absolute;
	z-index: 99;
	/*box-shadow:inset 0em 0em 1px 1px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1);*/
	background-color: rgba(15,139,161,0.3);
	border-top-left-radius: 10em;
	/*border-top-right-radius:1em;*/
	bottom: 0;
}
.spell {
	position: relative;
	box-shadow:inset 0em 0em 1px 1px rgba(15,139,161,1),0em 0em 2px 2px rgba(15,139,161,1);
	text-align: center;
	background-color: rgba(5,15,75,1);
	color:white;
	left:50%;
	z-index: 101;
	
	border-bottom-left-radius:1em;


}
.hiliteOverlay {
	fill:rgba(50,150,255,0.5);
	display:none;
	position: absolute;
	pointer-events: none;
	left: 0;
	top:0;
	width:100%;
	height:100%;
	z-index: 2000;
}
.innerPath {
	fill:rgba(0,0,0,0);
	stroke:white;
	stroke-opacity: 0.8;
	stroke-width: 3px;
	animation: pathglow 2s infinite;
	pointer-events: none;
}
@keyframes pathglow {
	50% {
		stroke-opacity:0.1;
		stroke-width:6px;
		stroke:black;
	}
	100% {
		stroke:white;
		stroke-opacity:0.8;
		stroke-width:3px;
	}
}
.hilite {
	-webkit-clip-path: inset(5% 20% 15% 10%);
	clip-path: inset(5% 20% 15% 10%);
}
.flash {
	background-color: rgba(255,255,255,0.5);/*rgba(255,255,255,1);*/
	animation-name: example;
	animation-duration: 2s;
	pointer-events: none;
}
@keyframes example {
  50% {
    transform: scale(1.5, 1.5);
    opacity: 0;
  }
  99% {
    transform: scale(0.001, 0.001);
    opacity: 0;
  }
  100% {
    transform: scale(0.001, 0.001);
    opacity: 1;
  }
}
.spell span {
	display: none;
}
.spell:hover span {
	display:block;
}
.spell:hover {
	 -webkit-transition:all 0.5s ease-out;
    -moz-transition:all 0.5s ease-out;
    -o-transition:all 0.5s ease-out;
    -ms-transition:all 0.5s ease-out;
    transition:all 0.5s ease-out;
}
.ready:hover {
	/*background-color:rgba(15,239,251,1);*/
}
.active {
	box-shadow: inset 0em 0em 0.2em 0.3em rgba(15,139,161,0.5),inset 0em 0em 0.3em 0.1em white, 0em 0em 0.5em 0.3em rgba(15,139,161,1);
	/*background-color:rgba(15,139,161,1);*/
}
.cooling {
	box-shadow: none;
	background-color:rgba(85,89,81,1);
	border:1px solid grey;
}
.ready {
	/*background-color:rgba(15,239,161,1);*/
}
.upButTxt {
font-size: 0.5em;

}


