body {
	font-family: 'Verdana';

	  background-color:#269;
	  background-image: linear-gradient(white 2px, transparent 2px),
	  linear-gradient(90deg, white 2px, transparent 2px),
	  linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
	  linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
	  background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
	  background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

.rack1 {
		position: absolute;
		left: 50px;
		top: 70px;
		width:1160px;
		height:2260px;
		border: 60px solid #9AA4AD;
}
.rack2 {
		position: absolute;
		left: 1220px;
		top: 70px;
		width:1160px;
		height:2260px;
		border: 60px solid #9AA4AD;
}
.rack3 {
		position: absolute;
		left: 2400px;
		top: 70px;
		width:1160px;
		height:2260px;
		border: 60px solid #9AA4AD;
}
.rack4 {
		position: absolute;
		left: 3570px;
		top: 70px;
		width:1160px;
		height:2260px;
		border: 60px solid #9AA4AD;
}

#switchbtn {
	position:absolute;
    top: -10px;
    left: 900px;
    z-index:10;
}
#switchinfo {
	position:absolute;
    top: -10px;
    left: 50px;
    z-index:20;
}

#baudApanel1 {
	background-image:url("../images/rack1_bg.png");
	width:1128px;
	height:1720px;
	z-index:10;
	position:relative;
	padding:0 40px;
}

#baudBpanel1 {
	width:1128px;
	height:1500px;
	z-index:10;
	position:absolute;
	top:960px;
	padding:0 40px;	
}

#baudCpanel1 {
	background-image:url("../images/rack2_bg.png");
	width:1128px;
	height:1094px;
	z-index:10;
	position:relative;
	padding:0 40px;
}

#baudDpanel1 {
	background-image:url("../images/rack3_bg.png");
	width:1128px;
	height:1101px;
	z-index:10;
	position:relative;
	padding:0 40px;
}

#baudEpanel1 {
	background-image:url("../images/rack4_bg.png");
	width:1128px;
	height:1202px;
	z-index:10;
	position:relative;
	padding:0 40px;
}

.psipanel {
	position: absolute;
	left: -40px;
	top: -40px;
	width: 1120px;
	height: 1000px;
}

.baytitle {
	width:60px;
	position: absolute;
    top: -18px;
    left: 550px;
	font-weight:bold;
}

.paneltitle {
	width:60px;
	margin:0px auto;
	font-weight:bold;
}

/* Rotary Switches */
.rotaryswitch {
	background-image:url("../images/rotary_bg.png");
	width: 90px;
	height: 100px;
    background-repeat:no-repeat;
    cursor:pointer;
    position:relative;
    margin:10px 20px;
    float:left;
}
.rotaryswitch DIV {
	background-image:url("../images/rotary.png");
	background-repeat:no-repeat;
	width: 100px;
	height: 100px;
    position:relative;
	-ms-transform: rotate(20deg); /* IE 9 */
	-webkit-transform: rotate(20deg); /* Chrome, Safari, Opera */
	transform: rotate(20deg);
-webkit-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
   -moz-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
     -o-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
        transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); /* easeOutQuint */
}
.rotaryon {
	-ms-transform: rotate(-20deg) !IMPORTANT; /* IE 9 */
	-webkit-transform: rotate(-20deg) !IMPORTANT; /* Chrome, Safari, Opera */
	transform: rotate(-20deg) !IMPORTANT;
-webkit-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
   -moz-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
     -o-transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); 
        transition: all 500ms cubic-bezier(0.230, 1.000, 0.320, 1.000); /* easeOutQuint */
}

.rotaryswitch[data-label]::before {
	content: attr(data-label);
	position:absolute;
	top:90px;
	left:40px;
	font-size:13px;
	color:black;
	width: 100px;
	margin:0 auto;
}

/*
Bulb Strips
*/

#bulbpanel {
	position: absolute;
	top:700px;
	left:320px;
	z-index:8;
}

#bulbpanel2 {
	position: absolute;
	top:900px;
	left:320px;
	z-index:8;
}

#bulbpanel3 {
	position: absolute;
	top:1003px;
	left:320px;
	z-index:8;
}

.bulblabel {
	background-image: url(../images/bulb_strip_label.png);
	height:24px;
	width:580px;
	background-repeat: no-repeat;
}

.bulbstrip {
	background-image: url(../images/bulb_strip_bg.png);
	height:26px;
	background-repeat: repeat-x;
	padding:0 30px;
}

.bulbholder {
	background-image: url(../images/bulb_holder.png);
	width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    float: left;
    position:relative;
    margin: 1px;
}

.bulbholder[data-label]::before {
	content: attr(data-label);
	font-family: 'Caveat', cursive;
	position:absolute;
	top:-20px;
	left:0px;
	font-size:11px;
	color:black;
	width: 24px;
	text-align:center;
}

.bulb {
    float: left;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    position: relative;
    margin: 4px;
}

.bulbred {
    background-image: url(../images/bulb_red.png);
}
.bulbyellow {
    background-image: url(../images/bulb_yellow.png);
}

.bulbon {
    background-position: 0px -14px;
}

#resultpanelinfo {
	position:absolute;
    top: 660px;
    left: 480px;
    z-index:20;
}

#startswitch {
	position:absolute;
	top:1050px;
	left:950px;
	width: 130px;
	height: 49px;
    background-image:url("../images/start_switch.png");
    background-repeat:no-repeat;
    cursor:pointer;
    z-index:10;
    background-position:-130px 0px;
}
#startswitch[data-label]::before {
	content: attr(data-label);
	position:absolute;
	top:-15px;
	left:0px;
	font-size:11px;
	color:black;
	width: 130px;
	text-align:center;
}
.startR {
	background-position: -260px 0px !IMPORTANT;
}
.startL {
	background-position: 0px 0px !IMPORTANT;
}

#stopbutton {
	position:absolute;
	top:1050px;
	left:130px;
	width: 66px;
	height: 76px;
    background-image:url("../images/stop_button.png");
    background-repeat:no-repeat;
    cursor:pointer;
    z-index:10;
    background-position:0px 0px;
}
#stopbutton[data-label]::before {
	content: attr(data-label);
	position:absolute;
	top:-15px;
	left:0px;
	font-size:11px;
	color:black;
	width: 66px;
	text-align:center;
}
.stophit {
	background-position: -66px 0px !IMPORTANT;
}

#resetswitch {
	position:absolute;
	top:950px;
	left:950px;
	width: 130px;
	height: 49px;
    background-image:url("../images/reset_switch.png");
    background-repeat:no-repeat;
    cursor:pointer;
    z-index:10;
    background-position:-130px 0px;
}
#resetswitch[data-label]::before {
	content: attr(data-label);
	position:absolute;
	top:-15px;
	left:0px;
	font-size:11px;
	color:black;
	width: 130px;
	text-align:center;
}
.resetR {
	background-position: -260px 0px !IMPORTANT;
}
.resetL {
	background-position: 0px 0px !IMPORTANT;
}

.relaycover {
	width: 1128px;
	height: 104px;
	background-image:url("../images/relay_cover.png");
    background-repeat:no-repeat;
    position:relative;
}
.relaycover[data-txtl]::before {
	content: attr(data-txtl);
	position:absolute;
	top:42px;
	left:50px;
	font-size:15px;
	color:black;
	width: 66px;
	text-align:center;
}
.relaycover[data-txtr]::after {
	content: attr(data-txtr);
	position:absolute;
	top:42px;
	left:1000px;
	font-size:15px;
	color:black;
	width: 66px;
	text-align:center;
}

#plugboxbtn {
	position:absolute;
    top: 775px;
    left: 0px;
    z-index:10;
}

#plugboxinfo {
	position:absolute;
    top: 740px;
    left: -392px;
    z-index:10;
}

#plugbox {
	width: 196px;
	height: 463px;
	background-image:url("../images/plug_box_new.png");
    background-repeat:no-repeat;
    position:absolute;
    top: 600px;
    left: -170px;
    z-index:10;
}

.plugrow {
	width: 184px;
	padding-top:2px;
	clear:both;
	padding-left: 32px;
}

.plugrow1 {
	padding-top:42px;
}

.plugrowlabel {
	float:left;
	width: 21px;
	height: 30px;
	background-repeat:no-repeat;
	position:relative;
	background-image:url("../images/plugrow_label.png");
	margin-left:12px;
}
.plugrowlabel[data-label]::before {
	content: attr(data-label);
	position:absolute;
	top:4px;
	left:2px;
	font-size:16px;
	color:white;
	width: 21px;
	text-align:center;
}

.plughole {
	float:left;
	width: 16px;
	height: 32px;
	background-repeat:no-repeat;
	cursor:pointer;
	background-position:0px 0px;
	position:relative;
	background-image:url("../images/plug_box_plugs_new.png");
}

.plugblank {
	float:left;
	width: 16px;
	height: 16px;
	background-repeat:no-repeat;
	background-position:0px -16px;
	position:relative;
	background-image:url("../images/plug_box_plugs.png");
}

.jackplug {
	background-position:-16px 0px;
}

#teletype {
	position: absolute;
	left: 150px;
	top: 1700px;
	width:800px;
	height: 483px;
	background-image:url("../images/teletype.png");
}

#tape {
	position: absolute;
	left:95px;
	bottom:0px;
	width:48px;
	height:205px;
}
#tapetop {
	position: absolute;
	left:95px;
	bottom:216px;
	width:48px;
	height:76px;
}

#tapedetail {
	position: absolute;
	left:-80px;
	bottom:240px;	
	border:3px solid #333;
	width:150px;
	height:150px;
	border-radius:90px;
	background-color:#bbb;
}

#tapecloseupbg {
	position:relative;
	left:20px;
	top:28px;
	width:106px;
	height:85px;
	background-image:url("../images/tapeclosebg.png");
}

#tapecloseup {
	position:relative;
	transform: scale(2);
	width:48px;
	height:30px;
	left:29px;
	top:28px;
	z-index:7;
}

#teletypebtn {
	position:absolute;
    top: 145px;
    left: 82px;
    z-index:10;
}

[data-type="tapeline"] {
	width:48px;
	height:8px;
	background-repeat:no-repeat;
	background-image:url("../images/tapechars.png");
	margin:2px 0;
}

.chr/ { background-position:0px 0px; }
.chrA { background-position:0px -8px; }
.chrB { background-position:0px -16px; }
.chrC { background-position:0px -24px; }
.chrD { background-position:0px -32px; }
.chrE { background-position:0px -40px; }
.chrF { background-position:0px -48px; }
.chrG { background-position:0px -56px; }
.chrH { background-position:0px -64px; }
.chrI { background-position:0px -72px; }
.chrJ { background-position:0px -80px; }
.chrK { background-position:0px -88px; }
.chrL { background-position:0px -96px; }
.chrM { background-position:0px -104px; }
.chrN { background-position:0px -112px; }
.chrO { background-position:0px -120px; }
.chrP { background-position:0px -128px; }
.chrQ { background-position:0px -136px; }
.chrR { background-position:0px -144px; }
.chrS { background-position:0px -152px; }
.chrT { background-position:0px -160px; }
.chrU { background-position:0px -168px; }
.chrV { background-position:0px -176px; }
.chrW { background-position:0px -184px; }
.chrX { background-position:0px -192px; }
.chrY { background-position:0px -200px; }
.chrZ { background-position:0px -208px; }
.chr3 { background-position:0px -216px; }
.chr4 { background-position:0px -224px; }
.chr8 { background-position:0px -232px; }
.chr- { background-position:0px -232px; }
.chr5 { background-position:0px -240px; }
.chr+ { background-position:0px -240px; }
.chr9 { background-position:0px -248px; }

#display {
	position: absolute;
	left: 110px;
	top: 1225px;
	width:900px;
	height: 405px;
	background-image:url("../images/display.png");
	box-shadow: 30px 30px rgba(0,0,0,0.5);;
}

.displaybulb {
    float: left;
    width: 29px;
    height: 29px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    position: relative;
    margin: 4px 4px 11px 6px;
}

.displaybulb[data-bulb]::before {
	content: attr(data-bulb);
	font-family: 'Gochi Hand', cursive;
	position:absolute;
	top:0px;
	left:8px;
	font-size:24px;
}

.displaybulbred {
    background-image: url(../images/display_bulb_red.png);
}
.displaybulbyellow {
    background-image: url(../images/display_bulb_yellow.png);
}

.displaybulb2 {
    float: left;
    width: 29px;
    height: 29px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    position: relative;
    margin: 4px 4px 12px 52px;
}

.displaybulbon {
    background-position: 0px -29px;
}

#displaycable {
	position: absolute;
	left: 55px;
	top: 1370px;
	width:1086px;
	height: 81px;
	background-image:url("../images/cable.png");
}

.counterdisplayrow {
	height:42px;
	position:absolute;
	top:46px;
	left:19px;
}
.countersection {
	width:195px;
	float:left;
}
.countersectionsm {
	width:78px;
	float:left;
}

#counterswitchinfo {
	position:absolute;
    top: 1055px;
    left: 50px;
    z-index:20;
}

#counterpanelinfo {
	position:absolute;
    top: 1180px;
    left: 130px;
    z-index:20;
}

#flippages {
	z-index: 1;
	position:absolute;
	top:1200px;
	left:2485px;   
	width:1000px;
	height:800px;
}

#pagebtns {
	z-index: 1;
	position:absolute;
	top:2000px;
	left:2485px; 
	width:1000px;
	padding:0 25px;
}

#testdata {
	font-family: 'Roboto Mono', monospace;
	background-color:white;
	padding:20px;
	-webkit-box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	width:1000px;
	height:800px;
}

#dechipage {
	font-family: 'Roboto Mono', monospace;
	background-color:white;
	padding:20px;
	-webkit-box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.2);
	width:1000px;
	height:800px;
}

.resultdisplayrow {
	height: 42px;
	position:absolute;
	top:147px;
	left:-2px;
}

.helpbox {
    -webkit-box-shadow: 20px 20px 50px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 20px 20px 50px 0px rgba(0,0,0,0.75);
    box-shadow: 20px 20px 50px 0px rgba(0,0,0,0.75);
    position: absolute;
    z-index: 200;
    background-color:#337ab7;
    color:white;
    padding:10px;
    border: 5px solid white;
    font-size: 16px;
    cursor:pointer;
    width: 500px;
    display:none;
}

#help1 {
	left:1200px;
	top:-30px;
}

#help2 {
	left:1200px;
	top:500px;
}

#help3 {
	left:1400px;
	top:-300px;
}

#counterswitches {
	position: absolute;
	top:902px;
	left:13px;
	width: 300px;
	height: 147px;
	z-index:50;
	padding-left:25px;
	background-image:url("../images/switchpanel_bg.png");
}

.ctrlswitch {
	float:left;
	width: 50px;
	height: 147px;
	background-repeat:no-repeat;
	cursor:pointer;
	background-position:0px -147px;
	position:relative;	
}

.ctrlswitchup {
	background-position:0px 0px;
}
.ctrlswitchdn {
	background-position:0px -294px;
}

.ctrlswitchblack {
	background-image:url("../images/sw2_toggle_black.png");
}
.ctrlswitchred {
	background-image:url("../images/sw2_toggle_red.png");
}
.ctrlswitchyellow {
	background-image:url("../images/sw2_toggle_yellow.png");
}
.ctrlswitchgreen {
	background-image:url("../images/sw2_toggle_green.png");
}
.ctrlswitchgray {
	background-image:url("../images/sw2_toggle_gray.png");
}
.ctrlswitchblue {
	background-image:url("../images/sw2_toggle_blue.png");
}
.ctrlswitchbrown {
	background-image:url("../images/sw2_toggle_brown.png");
}
.ctrlswitchblank {
	background-image:url("../images/sw2_toggle_blank.png");
}

.dnarr {
  height:52px;
  width:49px;
  background-repeat:no-repeat;
  background-image:url("../images/dnarrow.png");
  background-color: transparent;
  position:absolute;
  top:400px;
  left:93px;
  cursor:pointer;
  z-index:22;
}

.fade {
  opacity: 0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}
.fade50 {
  opacity: 0.5;
}
.fade:hover {
  opacity: 1;
}

#cribset {
	width:132px;
	font-family: 'Roboto Mono', monospace;
	float:right;
}
#cribset #titleL {
	padding-left: 24px;
	font-size: 15px;
}
#cribset #titleR {
	padding-left: 5px;
	font-size: 15px;
}
.tapeltr {
	padding-left: 55px;
	font-size: 10px;
}
#newcrib {
	width:90px;
	font-family: 'Roboto Mono', monospace;
}

#cribset_btns {
	float:left;
	width:80%;
	font-size: 10px;
}

.tab-content {
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding: 4px;
}

.modal-dialog {
	margin: 0px;
	position:absolute;
}
.navbar {
	z-index:20;
}