
div.rounded {
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -mox-border-radius: 25px;
  -o-border-radius: 25px;
  border: 1px solid #444;
  padding: 20px;
  width: 80%;
  height: auto;
  box-shadow: 10px 10px  5px rgba(0,0,0,0.3);
  -moz-box-shadow: 10px 10px  5px rgba(0,0,0,0.3);
  -webkit-box-shadow: 10px 10px  5px rgba(0,0,0,0.3);
  -o-box-shadow: 10px 10px  5px rgba(0,0,0,0.3);

}
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

table.grid2 {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 350px;
}

table.grid2 tr th,
table.grid2 tr td {
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 5px;
  -moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none;  user-select: none;
}

table.grid2 tr th.right,
table.grid2 tr td.right {
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  text-align: right;
  padding: 5px;
}

table.grid2 tr th:first-child,
table.grid2 tr td:first-child {
  border-left: 1px solid #bbb;
}

table.grid2 tr th {
  background: #fff;
  border-top: 1px solid #bbb;
  text-align: left;
}

table.grid2 tr.alt td {
  background: #eee;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  text-align: left;
}

/* top-left border-radius */
table.grid2 tr:first-child th:first-child {
  border-top-left-radius: 6px;
}

/* top-right border-radius */
table.grid2 tr:first-child th:last-child {
  border-top-right-radius: 6px;
}

/* bottom-left border-radius */
table.grid2 tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}

/* bottom-right border-radius */
table.grid2 tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}

input[type="text"][disabled] {
   color: #ccc;
}


input[type="time"][disabled] {
   color: #ccc;
}

table.grida { table-layout: fixed; padding: 0pt; align: left; margin: 0pt; border-width: 1px 0pt 0pt 1px; }
table.grida tr td {  white-space: nowrap !important; border-width: 0pt 1px 1px 0pt;  background-color: #ffffff; padding: 4px; font-size: 16px; vertical-align: top; margin: 0pt; height: 24px; }
table.grida tr.alt0 td { white-space: nowrap !important; border-width: 0pt 1px 1px 0pt;  background-color: #ffffff; padding: 4px; margin: 0pt; font-size: 16px; }
table.grida tr.alt1 td { white-space: nowrap !important; border-width: 0pt 1px 1px 0pt;  background-color: #dddddd; padding: 4px; margin: 0pt; font-size: 16px; }
table.grida tr.alt2 td { white-space: nowrap !important; border-width: 0pt 1px 1px 0pt;  background-color: #eeeeee; padding: 4px; margin: 0pt; font-size: 16px; color: #222222; }
table.grida th { white-space: nowrap !important; border-width: 0pt 1px 1px 0pt;  padding: 4px; margin: 0pt; overflow: hidden; font-size: 16px; }


/* The Modal (background) */
.detail_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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.25); /* Black w/ opacity */
}

/* Modal Content */
.detail_modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.detail_modal_close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.detail_modal_close:hover,
.detail_modal_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

img.grayscale {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(0%); /* Chrome 19+ & Safari 6+ */
}

img.grayscale:hover {
  filter: none;
  -webkit-filter: grayscale(100%);
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  margin: 0pt;
  padding: 6px 6px;
  border: none;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}


input[disabled]{
  background-color:#bbbbbb;
  color: #777777;
  border: none;
}

input[type=checkbox][disabled]{
  background-color:#aaaaaa;
  color: #777777;
}

.checkbox {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}

.checkbox > span {
    color: #222222;
    padding: 0.5rem 0.25rem;
}

.checkbox > input {
    height: 25px;
    width: 25px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #294894;
    border-radius: 4px;
    outline: none;
    transition-duration: 0.3s;
    background-color: #96a5cb;
    cursor: pointer;
  }

.checkbox > input:checked {
    border: 1px solid #96a5cb;
    background-color: #294894;
}

.checkbox > input:checked + span::before {
    content: '\2714';
    display: block;
    text-align: center;
    color: #ffffff;
    position: absolute;
    left: 0.5rem;
    top: 0.2rem;
}

.checkbox > input:active {
    border: 2px solid #96a5cb;
}

.checkbox > input:disabled {
  border-color: #cccccc;
  background-color:#aaaaaa;
  color: #777777;
}

/*the container must be positioned relative:*/
.memax_select {
  position: relative;
  font-family: Arial;
  border: 1px solid;
}

.memax_select select {
  display: none; /*hide original SELECT element:*/
}

.memax-selected {
  background-color: #fff;
}

/*style the arrow inside the select element:*/
.memax-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #aaa transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.memax-selected.select-arrow-active:after {
  border-color: transparent transparent #aaa transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.memax-items div,.memax-selected {
  color: #222;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.memax-items {
  position: absolute;
  background-color: #eee;
  color: #222;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.memax-hide {
  display: none;
}

.memax-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.track-dialog {
  position: absolute;
  display: none;
  top: 5%;
  left: 5%;
  padding: 50px 50px 50px 50px;
  width: 1024px;
  border: 2px solid #222;
  background-color: #fff;
  border-radius: 25px;
  color: #222222;
  transition: 0.5s;
  z-index: 7;
}

.track-dialog-content {
  font-size: 24px;
  text-align: left;
  padding: 10px;
  padding-top: 50px;
  position: relative;
  display: block;
  width: 85vw;
  color: #222222;
}

.track-dialog-content input.text {
  font-size: 24px;
  width: 300px;
}

.track-dialog-content table {
  font-size: 24px;
}

.track-dialog-content table tr {
  border: none;
}

.track-dialog-content table td {
  font-size: 24px;
  text-decoration: none;
  padding: 2px;
  border: none;
}

.degreeContainer {
  position: relative;
  display: block;
  width: 40vw;
}

.degreeSlider {
  width: 400px;
  height: 3px;
  margin: 0px;
  padding: 0px;
  background: #324C85;
  outline: none;
  /*-webkit-transition: .2s;
  transition: opacity .2s; */
}

.degreeSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #324C85;
  cursor: pointer;
}