@font-face {
   font-family: bahnschrift;
   src: url(../fonts/bahnschrift.ttf);
}

body {
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#controls {
    position: absolute;
    top: 0;
    left: 1060px;
    width: 305px;
    height: 640px;
    display: inline;
    background-color: white;
    font-family: bahnschrift;
    color: #4c6a94;
}

#logo {
    position: absolute;
    top: 5px;
    left: 0;
    z-index: 9;
}

#logo:hover {
    cursor: pointer;
}

#checkControls {
    padding-top: 65px;
}

#gridBox {
    position: relative;
    left: -3px;
}

#dirBox {
    position: relative;
    left: -40px;
}

.checkBoxes {
    display: block;
    position: relative;
    padding-top: 3px;
    padding-left: 90px;
    font-size: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 9;
}

.checkBoxes input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 60px;
  height: 20px;
  width: 20px;
  background-color:  #C4D8F2; /* #88B1E4; */
  border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.checkBoxes:hover input ~ .checkmark {
    background-color: #4C6A94;
}

/* When the checkbox is checked, add a blue background */
.checkBoxes input:checked ~ .checkmark {
  background-color: #4C6A94;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkBoxes input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkBoxes .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #C4D8F2;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.efieldButton {
    background-color: #C4D8F2;
    color: #4C6A94;
    font-size: 20px;
    border-radius: 4px;
    padding: 1px;
    text-align: center;
    border: 2px solid #C4D8F2;
    z-index: 9;
}

.efieldButton:hover {
    border: 2px solid  #4C6A94;
}

.efieldButton:focus {
    outline: none;
}

#modeSelectDiv {
    text-align: center;
}

#modeSelect {
    position: relative;
    width: 190px;
    margin-top: 10px;
    text-align-last: center;
    outline: none;
}

#modeSelect:focus {
    outline: none;
}

#modeContainer {
    position: relative;
    height: 150px;
}

.chargeOptions {
    padding-top: 10px;
}

#pointChoices {
    display: none;
}

#mValue {
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

#sliderBox {
    position: relative;
    width: 100%;
    display: none;
    z-index: 9;
}

.slider {
    -webkit-appearance: none;
    width: 50%;
    margin-left: 25%;
    margin-top: 10px;
    height: 15px;
    background: #C4D8F2;
    border-radius: 7px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background:  #4C6A94;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background:  #4C6A94;
    cursor: pointer;
}

#dipoleChoices {
    display: none;
}

#capChoices {
    display: none;
}

#boxCharges {
    display: none;
    padding-left: 55px;
}

#bChargeSize {
    padding-left: 30px;
    font-size: 20px;
}

#sensorDiv {
    width: 305px%;
    height: 160px;
    margin-top: 5px;
}

.sIcon {
    width: 97px;
    height: 110px;
    display: inline-block;
    text-align: center;
}

#sensorDiv {
    position: relative;
    z-index: 2;
}

#VmeterIcon {
    display: block;
    margin-left: 25px;
}

#clearDiv {
    postion: relative;
    width: 305px;
    height: 25px;
}

#clearButton {
    position: relative;
    width: 200px;
    left: 50%;
    margin-left: -100px;
}

#clearButton:focus {
    border: 2px solid #C4D8F2;    
}

#infoDiv {
    margin-top: 20px;
}

#notesButton {
    position: relative;
    width: 150px;
}

#aboutButton {
    position: relative;
    width: 150px;
}

#notesModal, .updateModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 11; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 585px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#notesContent {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    font-family: bahnschrift, sans-serif;
    font-size: 110%;
    font-weight: 450;
    color: #4C6A94;
    cursor: default;
}

.update-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 12px;
    width: 50%;
    font-family: bahnschrift, sans-serif;
    font-size: 100%;
    font-weight: 450;
    color: #4C6A94;
}

#notesClose, .updateClose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#notesClose:hover, #notesClose:focus, .updateClose:hover, .updateClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#notesContent p {
    margin-bottom: 10px;
    margin-top: 0px;
}

#notesContent h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

#aboutModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 11; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#aboutContent {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    font-family: bahnschrift, sans-serif;
    font-size: 100%;
    font-weight: 450;
    color: #4C6A94;
    cursor: pointer;
}

#aboutClose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#aboutClose:hover, #notesClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#changeLogTitle {
    font-family: bahnschrift, sans-serif;
    font-size: 120%;
    font-weight: 1000;
    color: #4C6A94;
}
    
.verNumber {
    font-family: bahnschrift, sans-serif;
    font-size: 100%;
    font-weight: 600;
    color: #4C6A94;
    margin-top: -12px;
    padding: 0;
}

.change {
    font-family: bahnschrift, sans-serif;
    font-size: 100%;
    font-weight: 350;
    color: #4C6A94;
    margin-top: -20px;
    padding: 0;
}
