.paddingclass {
  padding: 10px;
}

#quickTutorialsDiv {
  padding: 5vw;
}

.imageInCard {
  width: 50%;
  margin: auto;
  position: relative;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  position: relative;
  height: 100%;
  /* width: 45vw; */
}

/* .container {
  padding: 2px 16px;
} */

.hamburger {
  font-size: 50px !important;
}

.klickDriveProfileBox>p {
  margin: 0;
  padding: 0;
}

.klickDriveProfileBox>span {
  margin: 0;
  padding: 0;
}

.diagnosticsEmptyBox {
  opacity: 0.5;
}

.appHeader {
  height: 60px !important;
}

.appCapsule {
  padding-top: 60px !important;
}

#outer {
  width: 100%;
  text-align: center;
}

.inner {
  display: inline-block;
}

.plusMinusButton {
  border-radius: 5px;
  margin: 10px;
}

.maxSpeedValue {
  width: 100%;
  padding: 0;
  margin: 0;
  color: black !important;
}

.switch-toggle {
  float: left;
  background: #242729;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 50px;
  margin-top: 10px;
}

.switch-toggle>.label2 {
  margin: 0;
  width: 50%;
}

.switch-toggle>.label3 {
  margin: 0;
  width: 33.3%;
}

.switch-toggle>.label4 {
  margin: 0;
  width: 25%;
}

.switch-toggle input {
  position: absolute;
  opacity: 0;
}

.switch-toggle input+label {
  padding: 7px;
  float: left;
  color: #fff;
  cursor: pointer;
}

.switch-toggle input:checked+label {
  background: #adff2f;
  color: black;
  border-radius: 5px;
}


.save-button {
  background: #adff2f;
  color: black;
  font-size: large;
}

.save-button-outline {
  background: black;
  color: #adff2f;
  border: 1px solid #adff2f;
  font-size: large;
}

.save-button:active {
  border: 4px solid white;
  color: black;
}

.save-button:focus {
  border: 4px solid white;
  color: black;
}

.save-button-red {
  background: red;
  color: white;
  font-size: large;
}

.save-button-red:active {
  border: 4px solid white;
}


.myButton {
  position: relative;
  border-radius: 15px;
  height: 50px;
  background-color: #efefef;
}

.myButton:active {
  transform: scale(0.98);
  -webkit-transform: scale(0.98);
  -moz-transform: scale(0.98);
  -ms-transform: scale(0.98);
  -o-transform: scale(0.98);
  box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
  -webkit-appearance: none;
}

.dot {
  height: 35px;
  width: 35px;
  margin: 15px;
  background-color: rgba(255, 0, 0, 0.4);
  border-radius: 50%;
  z-index: 999;
  display: inline-block;
}

.statusDotWithIcon {
  min-width: 36px;
  max-width: 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
  font-size: 20px;
  border-radius: 400px;
  margin-right: 16px;
  background-color: rgba(255, 0, 0, 0.4);
}

#snackbarText {
  margin: 0;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden;
  /* Hidden by default. Visible on click */
  width: 250px;
  /* Set a default minimum width */
  margin-left: -125px;
  /* Divide value of min-width by 2 */
  background-color: #333;
  /* Black background color */
  color: #fff;
  /* White text color */
  text-align: center;
  /* Centered text */
  border-radius: 2px;
  /* Rounded borders */
  padding: 16px;
  /* Padding */
  position: fixed;
  /* Sit on top of the screen */
  z-index: 999;
  /* Add a z-index if needed */
  left: 50%;
  /* Center the snackbar */
  bottom: 30px;
  /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  /* -webkit-animation: fadein 0.5s, fadeout 0.5s; */
  /* animation: fadein 0.5s, fadeout 0.5s; */
  animation: fadeIn 1s;
  -webkit-animation: fadeIn 1s;
  -moz-animation: fadeIn 1s;
  -o-animation: fadeIn 1s;
  -ms-animation: fadeIn 1s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* test */
.tgl {
  display: none;
}

* {
  box-sizing: border-box;
}

.tgl+.tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: #3f9ddd;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

.tgl+.tgl-btn:after,
.tgl+.tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}

.tgl+.tgl-btn:after {
  left: 0;
  border-radius: 50%;
  background: #fff;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.tgl+.tgl-btn:before {
  display: none;
}

.tgl:checked+.tgl-btn:after {
  left: 50%;
}

.tgl:checked+.tgl-btn {
  background: #2ecc71;
}

.mySlider {
  position: relative;
  margin: auto;
  width: 90%;
  text-align: center;
}

#body {
  background-color: #F1F1F1;
}

.homeInfoSmall {
  position: relative;
  margin: auto;
  text-align: center;
  padding-left: 15px;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 5px;
  border-radius: 8px;
  margin-bottom: 2vh;
  width: 46%;
  height: min-content;
  background-color: black;
  border: 1px solid white;
}

.homeInfoSmall>h2 {
  color: #d1d1d1;
}

.homeInfoSmall>h1,
h3 {
  color: white;
}

.homeInfoVerySmall {
  position: relative;
  margin: auto;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 2vh;
  width: 10%;
  height: min-content;
  background-color: #f6f5f5;
  border: 1px solid gray;
}

.homeInfoVerySmall p {
  font-weight: bold;
  margin-bottom: 10px;
}

.homeInfoVerySmall p+p {
  font-weight: normal;
  font-size: 150%;
  margin-bottom: 5px;
}


.homeInfoSmallOption2 {
  width: 75%;
}

.homeInfoSmallOption3>h3 {
  font-size: 5vh !important;
}

.homeInfoSmallOption3>h1 {
  font-size: 8vh !important;
}

#mainDiv {
  display: inline-flex;
  width: 100%;
  height: min-content;
}

.homeInfo {
  position: relative;
  margin: 0 auto;
  text-align: center;
  padding-left: 15px;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 5px;
  border-radius: 8px;
  margin-bottom: 2vh;
  /* margin-right: 1em;*/
  width: 90%;
  background-color: black;
  border: 1px solid white;
}

#mainDiv .homeInfo {
  margin-right: 0.5em;
  margin-left: 0.5em;
}

.homeInfo>h3,
.homeInfo>h1 {
  margin: 0;
  padding: 0;
  color: white;
}

.homeInfo>h2,
.homeInfoSmall>h3 {
  color: #d1d1d1;
  margin: 0px;
  padding: 0px;
}

.speedLimitText {
  /* color: #96ceb4 !important; */
  color: #adff2f !important;
  width: 50%;
  height: 60px;
  margin: 0;
  padding: 0;
  display: inline;
}

.mainSvgClass {
  padding: 2px;
  width: 98%;
  margin-top: 5px;
  margin-bottom: 0px;
  /* background-color: lightgray; */
  border-radius: 5px;
}

.buttonBottomGreen {
  border-bottom: 5px solid #adff2f !important;
}

body.dark-mode-active .buttonBottomGreen {
  border-bottom: 5px solid #adff2f !important;
}

body.dark-mode-active #batteryPercPath {
  fill: white !important;
}

body.dark-mode-active .carousel-indicators li {
  background-color: white;
}

body.dark-mode-active .carousel-control-prev-icon:after,
body.dark-mode-active .carousel-control-next-icon:after,
.rs-label {
  color: white !important;
}

body.dark-mode-active .contactButton {
  color: white;
  border-color: whitesmoke;
}

body.dark-mode-active .hr,
.btn-outline-dark {
  border: 1px solid whitesmoke;
  background-color: whitesmoke;
}

body.dark-mode-active .btn-outline-dark.active {
  background-color: transparent !important;
  color: whitesmoke !important;
  border: 1px solid white !important;
}

body .hr {
  border: 1px solid #888888;
}

.rs-label {
  color: black !important;
}

body.dark-mode-active .rs-label {
  color: white !important;
}

.carousel-indicators li {
  background-color: black;
}

.carousel-item .container {
  height: 50vh;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-next-icon:after {
  content: '>';
  font-size: 35px;
  color: black;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 35px;
  color: black;
}

/* slider */
.rs-range {
  margin-top: 10px;
}

.rs-label {
  position: relative;
  transform-origin: center center;
  display: block;
  background: transparent;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  padding-top: 10px;
  box-sizing: border-box;
  left: attr(value);
  color: black;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
  font-size: 30px;
}

.settings-card {
  width: 60em;
  margin: 1em auto;
  padding: 0.3em 10em;
  color: white;
  background-color: black;
  border: 1px solid white;
}

.settings-card .card-title {
  color: white;
}

.diagnosticsGroup {
  border: 3px solid white;
  padding: 0.3em;
}

#diagnosticsDiv {
  padding: 1em;
}

.diagnosticsCell {
  width: 10em;
  margin-bottom: 1em;
  background-color: black;
  border: 1px solid white;
  border-radius: 8px;
  color: white;
}

#diagnosticsDiv>h1 {
  color: white;
}

.diagnosticsCell>h2 {
  color: white;
}

.highDiagnosticBoxes div {
  height: 7em;
}

#driveDiv {
  width: 85%;
}

#masterDiv {
  width: 15%;
}

#masterDiv .diagnosticsCell {
  width: 100%;
  margin: 1em;
  margin-bottom: 0.1em;
  margin-top: 0.2em;
}

.diagnosticsGroup .row {
  margin: 0 1em;
}

#handlebarDiv {
  width: 50%;
}

#baseCommandDiv {
  width: 50%;
}

#flashlightHeaderButton {
  position: fixed;
  z-index: 3000;
  bottom: 1em;
  right: 0px;
  border: 2px solid #F3FF77;
}


.flashlightHeaderButtonOff {
  background-color: #1a1919;
  color: #F3FF77;
}

.flashlightHeaderButtonOn {
  background-color: #F3FF77;
  color: #1a1919;
}

body {
  color: white;
  background-color: black;
}

.appHeader.scrolled.bg-primary .headerButton {
  color: white;
}

#joystickBatterySvg {
  margin-top: 1em;
}

#mainSvg {
  margin-top: 1.5em;
}

.appFooter {
  border-top: 3px solid white;
  background: black;
  color: white;
}

.appFooter .footer-title {
  color: white;
}

#modal-content {
  background-color: black;
}

.image-listview>li .item .in {
  color: white;
}

.menuSelect {
  background: black;
  color: white;
}

.close-sidebar-button {
  display: none;
}

.icon-box {
  background-color: #adff2f;
  color: black;
}

#logContainer {
  color: white;
}

#tripResetButton {
  position: absolute;
  background: red;
  color: white;
  border-radius: 1000px;
  line-height: normal;
  margin-left: 5px;
  font-size: 1em;
  bottom: 4px;
  right: 35%;
  height: 1.7em;
}

#tripResetButton:active {
  border: 1px solid white
}

.manualUpdateForm {
  color: white;
  background-color: black;
  border: 1px solid white;
  padding: 1em;
}

.mainContentDiv>h2 {
  color: white;
}

.logoFooter {
  color: black;
  background-color: #adff2f;
}

.contactButton {
  margin: 0.5em;
  width: 30%;
  height: 3.5em;
}

.contactButtonLarge {
  width: 75%;
  margin: auto;
  margin-bottom: 100px;
}

#debugContent>* {
  width: 100%;
  margin: 1em;
}

#debugContent>.btn {
  width: 50%;
  margin: 1em;
}

#contactsDiv {
  width: 40%;
  margin: 0 auto;
}

#infoDiv {
  width: 40%;
  margin: 0 auto;
}

#logTableDiv>.table thead th {
  color: white;
  border-bottom: 2px solid white;
}

.firmwareVersionDisplayContainer {
  display: inline-flex;
  font-size: large;
}

.progress {
  height: 2em;
  background-color: white;
  width: 60%;
  margin: 0 auto;
  margin-top: 1em;
}

.progress-bar {
  color: white;
  background: red;
  height: unset;
  font-size: unset;
}

.image-listview>li .item .in {
  width: fit-content;
}

.updateAvailableNotifications {
  font-size: xxx-large;
  margin-left: 0.1em;
  color: red;
}

.contactSelect {
  width: calc(100% - 2em);
  height: 3em;
  font-size: larger;
  margin: 1em;
  text-overflow: ellipsis;
}

#contactDistributorName {
  font-size: larger;
  margin: 1em;
  text-align: center;
}

.small-button {
  width: 1.5em;
  display: inline-flex;
  background-color: greenyellow;
  color: black;
  font-size: larger;
  border-radius: 10000px;
  height: 1.5em;
  padding-left: 0.5em;
  border: unset;
  font-weight: bolder;
  margin: 0.05em;
}

.small-button-red {
  background-color: red;
  color: white;
  padding-left: 0.4em;
}

.flush-list-group-item {
  background-color: black;
  border-bottom: 1px solid gray;
  text-align: left;
  font-size: medium;
}

.menu-button {
  color: black;
  margin-left: 16px;
  border-radius: 15px;
  min-height: 35px !important;
  margin: 7.5px 0 7.5px 16px;
  width: 50%;
  background-color: greenyellow;
  padding-top: 7.5px !important;
  cursor: pointer;
}

#driveProfilesButtonContainer {
  display: grid;
}

.driveProfileButton {
  width: 60%;
  margin: 0.3em auto;
  border-width: medium;
}

.driveProfileButton:hover {
  color: white;
  border-color: white;
}

#floatingSaveButton {
  z-index: 1000;
  position: fixed;
  bottom: 3em;
  left: 5em;
  width: 5em;
}

#floatingSaveButton>button {
  height: 3em;
  width: 230px;
  margin-top: 1em;
}

#floatingSaveButton>button:active,
#floatingSaveButton>button:focus,
#floatingSaveButton>button:hover {
  color: black;
  background-color: greenyellow;
}

.saveNotification {
  color: red;
  display: inline;
  font-size: larger;
  vertical-align: middle;
}

.hidden-production {
  display: none !important;
}

.quickTutorials-card {
  background: black;
  border: 1px solid white;
  padding-top: 1em;
}


.externalLink:after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0 3px 0 5px;
  width: 25px;
  padding: 0.2em;
  background: greenyellow;
  border-radius: 10000em;
}

.info-column {
  margin-bottom: 3em;
}

.info-column>div {
  width: -webkit-fill-available;
}

.modalContainer {
  background-color: #00000094;
  position: fixed;
  z-index: 199999;
  top: 0;
  height: 100%;
  padding-top: 15%;
  width: 100%;
  padding-left: 2em;
  padding-right: 2em;
}

.modalBody {
  background: black;
  color: red;
  border: 5px solid white;
  border-radius: 10px;
  margin: 0 auto;
  width: 40%;
  padding: 2em;
  font-size: 18px;
}

.share-document-button {
  height: -webkit-fill-available;
  margin-left: 0.5em;
  padding: 0;
}

.share-document-button>ion-icon {
  margin-right: 01;
}

.modalButtonContainer .btn{
  width: 100%;
  margin: 0.5em auto;
  max-width: 15em;
}

/*mobile only styles*/
@media only screen and (max-width: 600px) {

  .modalButtonContainer .btn{
    max-width: 100%;
  }

  #floatingSaveButton {
    bottom: 1em;
    left: 1em;
  }

  #mainDiv {
    display: block;
  }

  .homeInfo {
    height: fit-content;
  }

  .homeInfoImportant {
    width: -webkit-fill-available;
  }

  .settings-card {
    width: unset;
    margin: 0 auto;
    padding: 0.3em 1em;
    border-radius: 0;
    margin-top: 2vh;
  }

  #mainDiv .homeInfo {
    margin-right: 0em;
    margin-left: 0em;
    margin: 0 auto;
    margin-bottom: 2vh;
  }

  #sidebarPanel .modal-body {
    margin-bottom: 2em;
  }

  #tripResetButton {
    position: absolute;
    background: red;
    color: white;
    border-radius: 1000px;
    line-height: normal;
    margin-left: 5px;
    font-size: 1em;
    bottom: 4%;
    right: 13%;
    height: 1.7em;
  }

  #debugContent>.btn {
    width: 90%;
    margin: 1em;
    height: 4em;
    font-size: large
  }

  #contactsDiv {
    width: -webkit-fill-available;
  }

  .contactButton {
    width: 100%;
    margin: 1em;
  }

  #infoDiv {
    width: -webkit-fill-available;
  }

  .progress {
    width: 80%;
  }

  .modalContainer {
    padding-top: 60%;
  }

  .modalBody{
    width: 100%;
  }
}


/*loader styles*/
.lds-ring {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  margin: 4px;
  border: 4px solid black;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: black transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}