/*!
 *
 * Radar Simulation
 * Stylesheet
 * v0.0.2
 *
 */


/* Global Styles
/* -------------------- */

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: #006400;
}

h1 {
  font-size: 21px;
  margin-top: 0;
}

h2 {
  font-size: 19px;
  margin-top: 0;
}

p {
  margin: 0 0 10px;
}

button {
  width: auto;
  padding: 4px 8px;
  border: solid #000000 2px;
  border-radius: 3px;
  background: #c0c0c0;
  font-size: 16px;
  cursor: pointer;
}

button:hover,
button:focus {
  background: #a0a0a0;
}

/* Layout
/* -------------------- */

.wrapper {
  position: relative;
  width: 1200px;
  height: 700px;
  margin: 0 auto;
}
  
.left-column {
  position: absolute;
  top: 10px;
  left: 0;
  width: 330px; 
  height: 635px;
  color: #000000;
}

.left-column > * {
  border-radius: 4px;
}
  
.center-column {
  position: absolute;
  top: 10px;
  left: 350px; 
  width: 650px;
  height: 650px;
  color: #00ff00;
}

.right-column {
  position: absolute;
  top: 10px;
  right: 0;
  width: 195px; 
  height: 75px;
  background: #f0f0f0;
}


/* Left Column
/* -------------------- */

.header {
  position: absolute;
  width: 345px;
  height: 57px;
  border-radius: 4px;
  background-color: white;
  color: #000000;
}

.site-title a {
  text-decoration: none;
  color: #000000;
}

#next {
  float: right;
}
  
#scenario {
  position: absolute;
  left: 0;
  top: 60px;
  width: 325px; 
  height: 570px;
  padding: 10px;
  background: #d3d3d3;
  font-size: 16px;
}

#scenario-description {
  margin-bottom: 10px;
}
  
#timer {
  text-align: left;
  font-size: 24px;
  font-weight: bold;
}
  
#start {
  float: left;
  font-size: 18px;
  padding: 10px 16px;
}
#Npage {
  float: right;
  width: auto;
  padding: 10px 16px;
  border: solid #000000 2px;
  border-radius: 3px;
  background: #c0c0c0;
  font-size: 16px;
  cursor: pointer;
}

#start.active {
  background-color: #006400;
}
  
#cursor {
  position: absolute;
  width: 175px;
  height: 60px;
  left: 0;
  top: 80px;
  padding: 10px; 
  background: #000000;
  color: #00ff00;
  font-size: 20px;
  text-align: left;
}
  
#radar-controls-1 {
  position: absolute;
  width: 175px;
  height: 40px;
  left: 0;
  top: 162px;
  padding: 10px;
  background: #000;
  color: #0f0;
}
  

/*
#ebl1 {
  position: absolute;
  margin-left: 10px;
  margin-top: 10px;
}
  
#L1 {
  position: absolute;
  margin-left: 10px;
  margin-top: 50px;
}
  
#ebl1Bearing {
  position: absolute;
  margin-left: 40px;
  margin-top: 50px;
  font-size: 16px;
}
  
#R1 {
  position: absolute;
  margin-left: 80px;
  margin-top: 50px;
}
  
#ebl1Offset {
  position: absolute;
  margin-left: 10px;
  margin-top: 100px;
}
  
#range1 {
  position: absolute;
  margin-left: 10px;
  margin-top: 146px;
}
  
#ebl2 {
  position: absolute;
  margin-left: 30px;
  margin-top: 10px;
}
  
#L2 {
  position: absolute;
  margin-left: 30px;
  margin-top: 50px;
}
  
#ebl2Bearing {
  position: absolute;
  margin-left: 60px;
  margin-top: 50px;
}
  
#R2 {
  position: absolute;
  margin-left: 100px;
  margin-top: 50px;
}
  
#ebl2Offset {
  position: absolute;
  margin-left: 30px;
  margin-top: 100px;
}
  
#range2 {
  position: absolute;
  margin-left: 30px;
  margin-top: 146px;
}
*/


/* Center Column
/* -------------------- */

#controls {
  cursor: crosshair;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  font-size: 13px;
  font-weight: 600;
}

#controls canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

#controls-leftTop,
#controls-leftBottom,
#controls-rightTop,
#controls-rightBottom {
  pointer-events: none;
  position: absolute;
  width: 100px;
  max-height: 100px;
  overflow: hidden;
}

#controls-leftTop     { left: 10px; top: 10px; }
#controls-leftBottom  { left: 10px; bottom: 10px; }
#controls-rightTop    { right: 10px; top: 10px; text-align: right; }
#controls-rightBottom { right: 10px; bottom: 10px; text-align: right; }
  
canvas#radar {
  cursor: crosshair;
  background-color: #0000cd;
}


/* Right Column
/* -------------------- */

/*
#labelCompass {
  position: absolute;
  margin-left: 10px; 
  margin-top: 10px;
}
*/

#own-ship {
  padding: 10px;
  font-size: 20px;
  text-align: left;
  border-bottom: 1px solid #999;
}

#course {
  position: absolute;
  margin-left: 145px; 
  margin-top: 0px;
  width: 35px;
  height: 20px;
  display: block;
  border: #000000, 4px;
  border-radius: .3em;
  background: #ffffff;
  font-size: 16px;
}
  
#ad-box {
  position: absolute;
  margin-left: 1px; 
  top: 320px;
  width: 195px;
  height: 250px;
  display: block;
  border: #000000;
  background: #ffffff;
  font-size: 16px;
}
input {
	width: 16px;
	height: 12px;
	margin-left: 5px;
}

/* Footer
/* -------------------- */
  
.footer {
  position: absolute;
  top: 660px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  font-size: 11px;
  text-align: center;
  color: white;
}
    