* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

body {
  font-family: Arial;
  background-color: #3498DB;
  padding: 50px;
}

.login {
  margin: 20px auto;
  width: 300px;
}

.login-screen {
  background-color: #FFF;
  padding: 20px;
  border-radius: 5px
}

.app-title {
  text-align: center;
  color: #777;
}

.login-form {
  text-align: center;
}

.control-group {
  margin-bottom: 10px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.output {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

#images {
  text-align: center;
}

input {
  text-align: center;
  background-color: #ECF0F1;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 200;
  width: 250px;
  padding: 10px 0;
  transition: border .5s;
}

input[type="checkbox"] {
  vertical-align: middle;
  position: relative;
  bottom: .15em;
  -ms-transform: scale(1.5);
  /* IE */
  -moz-transform: scale(1.5);
  /* FF */
  -webkit-transform: scale(1.5);
  /* Safari and Chrome */
  -o-transform: scale(1.5);
  /* Opera */
}

input[type="checkbox"].foo {
  width: 10px;
  vertical-align: middle;
  position: relative;
}

input[type="checkbox"].sub {
  width: 10px;
  margin: 5px 5px 5px 15px;
  font-size: 10px;
  font-weight: 10;
}

input[type="radio"].ts {
  width: 20px;
}

input:focus {
  border: 2px solid #3498DB;
  box-shadow: none;
}

.btn {
  border: 2px solid transparent;
  background: #3498DB;
  color: #ffffff;
  font-size: 16px;
  line-height: 25px;
  padding: 10px 0;
  text-decoration: none;
  text-shadow: none;
  border-radius: 3px;
  box-shadow: none;
  transition: 0.25s;
  display: block;
  width: 250px;
  margin: 0 auto;
}

.checkboxes {
  text-align: center;
}

.checkboxes input {
  margin: 0 5px 0 30px;
}

.btn:hover {
  background-color: #2980B9;
}

.login-link {
  font-size: 12px;
  color: #444;
  display: block;
  margin-top: 12px;
}

.switch {
  position: relative;
  top: 60px;
  width: 400px;
  height: 50px;
  text-align: center;
  margin: -40px auto 30px;
  background: #083e61;
  transition: all 0.2s ease;
  border-radius: 25px;
}

.switch span {
  position: absolute;
  pointer-events: none;
  width: 40px;
  height: 8px;
  top: 40%;
  left: 45%;
  background: #2980B9;
  display: inline-block;
  transition: all 0.2s ease;
}

.switch span:after {
  content: "";
  border-radius: 100%;
  display: inline-block;
  position: absolute;
  width: 14px;
  height: 14px;
  top: -3px;
  left: -4px;
  background: #2980B9;
  transition: all 0.2s ease;
}


input[name=rdo] {
  display: none;
}

.switch label {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.2);
  line-height: 47px;
  width: 200px;
  transition: all 0.2s ease;
}

label[for=spectroscopy] {
  position: absolute;
  left: 0px;
}

label[for=imaging] {
  position: absolute;
  right: 0px;
}

#imaging:checked~.switch {
  background: #083e61;
}

#imaging:checked~.switch span {
  background: #2980B9;
}

#imaging:checked~.switch span:after {
  background: #2980B9;
  left: 33px;
}

#spectroscopy:checked~.switch label[for=spectroscopy] {
  color: rgb(255, 255, 255);
  text-indent: 25px;
  width: 175px;
}

#spectroscopy:checked~.switch label[for=imaging] {
  text-indent: -20px;
  width: 225px;
}

#imaging:checked~.switch label[for=imaging] {
  color: rgb(255, 255, 255);
  text-indent: -60px;
  width: 175px;
}

#imaging:checked~.switch label[for=spectroscopy] {
  text-indent: -20px;
  width: 225px;
}

.dataframe {
  font-size: 11pt;
  font-family: Arial;
  border-collapse: collapse;
  border: 0.5px solid rgb(58, 58, 58);
  margin-left: auto;
  margin-right: auto;
}

.dataframe td,
th {
  padding: 5px;
  text-align: center;
}

.dataframe th {
  background-color: rgb(197, 218, 223);
}

.dataframe tr:nth-child(3n+1) {
  background-color: rgb(253, 255, 160);
}

.dataframe tr:nth-child(3n+2) {
  background-color: rgb(195, 255, 194);
}

.dataframe tr:nth-child(3n) {
  background-color: rgb(255, 206, 206);
}

table tr:nth-of-type(3n) td {
  border-bottom: 4px solid rgb(0, 0, 0);
}

table td:first-child {
  border-left: 4px solid rgb(0, 0, 0);
}

table td:last-child {
  border-right: 4px solid rgb(0, 0, 0);
}

table tr:first-child {
  border-top: 4px solid rgb(0, 0, 0);
}

table th:first-child {
  border-left: 4px solid rgb(0, 0, 0);
}

table th:last-child {
  border-right: 4px solid rgb(0, 0, 0);
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  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 */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}