@font-face{
	font-family: "shinonomeMin16";
	src: url("fonts/JF-Dot-ShinonomeMin16.woff2") format("woff2"),
	url("fonts/JF-Dot-ShinonomeMin16.woff") format("woff"),
	url("fonts/JF-Dot-ShinonomeMin16.ttf") format("truetype");
}
@keyframes blinkingUpdate{
	0%{opacity: 1;}
	80%{opacity:1;}
	81%{opacity:0;}
	100%{opacity: 0;}
}
/* micro clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}
/* micro clearfix */

/* shell and box*/
div.nw_status_shell{
	position: relative;
	width: 1024px;
	height: 640px;
}

div.nw_status{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-width: 18px;
	border-style: ridge;
	border-color: #a0a0a0;
	background-color: #101010;
}
div.popupWindowShell{
	display: none;
	position: absolute;
	margin: auto;
	top:18px;
	left: 18px;
	width: 1024px;
	height: 640px;
	background-color: #101010;
	opacity: 0.9;
}
div.popupWindowInside{
	display: none;
	position: absolute;
	margin: auto;
	width: 800px;
	height: 480px;
	top: 18px;
	left: 18px;
	bottom: 0;
	right:0;
	background-color: #101010;
	border-style: solid;
	border-color: #4040ff;
	border-width: 12px;
	opacity: 1;
}
div.popupWindowInside div.textArea{
	display: block;
	position: relative;
	width: 720px;
	height: 400px;
	top: 10px;
	left: 30px;
	padding: 4px;
	border-style: solid;
	border-width: 4px;
	border-color: #808080;
	color:#ffffff;
	overflow-y: scroll;
}
div.popupWindowInside div.textArea p{
	position: relative;
}
div.textArea a:link{
	text-decoration: underline;
	color: #80ffff;
}
div.textArea a:visited{
	text-decoration: underline;
	color: #80dddd;
}
/* p default and category*/

 p{
	color: #ffffff;
	position: absolute;
	font-family: shinonomeMin16;
	font-weight: 100;
	font-size: 16px;
	margin: 0;
	padding:2px;
	box-sizing: border-box;
}
p.button{
	background-color: #c0ffff;
	border-width: 4px;
	border-style: outset;
	border-color: #40f0f0;
	width: 80px;
	height: 48px;
	color: #000000;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
}
p.button.pressed{
	background-color: #2020ff;
	border-width: 4px;
	border-style: inset;
	border-color: #0000f0;
	width: 80px;
	height: 48px;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
}
p.button.x2y2{
	height: 24px;
	padding: 1px;
	border-width: 2px;
}
p.button.y2{
	height: 24px;
	padding: 1px 2px;
	border-width: 2px 4px;
}
p.equipment{
	height: 40px;
	width: 80px;
	border-style: solid;
	border-width: 2px;
	padding: 1px;
	box-sizing: border-box;
}
p.equipment.connectedNte{
	border-color: #88ffaa;
	background-color: #88ffaa;
	color: #000000;
}
p.bandwidthSmall{
	font-size: 12px;
}
p.discardRatioPermilleSmall{
	font-size: 16px;
}
p.discardRatioPermilleSmall::after{
	font-size: 10px;
	content: '/1000';
}
p.discardRatioPermilleSmall::before{
	font-size: 12px;
	content: '廃棄 ';
}
p.discardRatioPercentSmall{
	font-size: 16px;
}
p.discardRatioPercentSmall::after{
	font-size: 12px;
	content: '%';
}
p.discardRatioPercentSmall::before{
	font-size: 12px;
	content: '廃棄 ';
}
p[data-graph-link]{
	cursor: pointer;
}

span.showOnlyConnected:not(.connectedNte){
	display:none;
}
p.equipment span.connectedNte{
	background-color: #ff0000;
	color: #ffffff;
}
/* p size decoration */
p.x2y2{
	transform: scale(2,2);
	transform-origin: left top;
}
p.x2{
	transform: scale(2,1);
	transform-origin: left top;
}
p.y2{
	transform: scale(1,2);
	transform-origin: left top;
}


/* p decoration */
p.blinking{
	animation: blinkingUpdate 1s infinite alternate;
}

/* rank color */
.rank_zero{
	background-color: #404040;
	color: #000000;
	fill: #404040;
	stroke: #404040;
}
.rank_idle{
	background-color: #808080;
	color: #000000;
	fill: #808080;
	stroke: #808080;
}
.rank_verylow{
	background-color: #a0ffff;
	color: #000000;
	fill: #a0ffff;
	stroke: #a0ffff;
}
.rank_low{
	background-color: #00ff00;
	color: #000000;
	fill: #00ff00;
	stroke: #00ff00;
}
.rank_medium{
	background-color: #ffff00;
	color: #000000;
	fill: #ffff00;
	stroke: #ffff00;
}
.rank_high{
	background-color: #ffa000;
	color: #000000;
	fill: #ffa000;
	stroke: #ffa000;
}
.rank_veryhigh{
	background-color: #ff0000;
	color: #ffffff;
	fill: #ff0000;
	stroke: #ff0000;
}
.rank_congested{
	background-color: #800080;
	color: #ffffff;
	fill: #800080;
	stroke: #800080;
}

/* p indivisual */
p.newerVersionButton{
	animation: blinkingUpdate 1s infinite alternate;
}
/* svg styles */
svg .equipment{
	stroke: #ffffff;
	stroke-width: 2px;
}
svg .equipmentText{
	fill: #ffffff;
	font-family: shinonomeMin16;
}
svg .inRank, svg .outRank, svg .speedTestLine{
	stroke-width: 2px;
}
svg .speedTestLine{
	fill: #d0ffff;
	stroke: #d0ffff;
}
