* {
  box-sizing: border-box;
}

.panelBase {
  position: absolute;
  z-index: 998;
  right: 0;
  top: 0;
  border-radius: 12px;
}

.col-12 {
  padding: 8px;
  width: 100%;
}

/*toggle*/
/*!*caption hover*!*/
/*.highlight-caption:hover {*/
/*    background-color: #696969;*/
/*}*/

/*tooltip*/
.popup {
  position: relative;
}
.popup .popupText {
  position: absolute;
  visibility: hidden;
  width: 90%;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 7px 0;
  z-index: 1;
  bottom: calc(100% + 7px);
  left: 5%;
  font-size: 13px;
  color: #292c35;
  background-color: #818388;
  font-weight: bold;
  border-radius: 8px;
}
.popup .show {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip:hover {
  background-color: #454953;
  border-radius: 12px;
  border: solid 1px #c7c7c7;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #454953;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  position: absolute;
  z-index: 1000;
  bottom: 100%;
  left: 98%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.settings-tooltip {
  position: relative;
  display: inline-block;
}

.settings-tooltip .tooltiplargetext {
  visibility: hidden;
  min-width: 200px;
  background-color: #454953;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #c7c7c7;
  position: absolute;
  z-index: 1000;
  bottom: 100%;
  left: 98%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 2px;
  margin-bottom: 8px;
}

.settings-tooltip .tooltiplargetext::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}

.settings-tooltip:hover .tooltiplargetext {
  visibility: visible;
  opacity: 1;
}

.modal {
  display: none; /* Hidden by default */
  position: absolute; /* Stay in place */
  z-index: 1500; /* Sit on top */
  right: 0;
  top: 0;
  width: 300px; /* Full width */
  overflow: auto; /* Enable scroll if needed */
}

/* Modal Content/Box */
.modal-content {
  background-color: #454953;
  color: #ffffff;
  border: solid 1px #ffffff;
  margin-top: 98px;
  margin-left: 17px;
  width: 266px;
  border-radius: 12px;
  font-size: 16px;
}
.modal-header {
  padding: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
}

.modal-body {
  padding-top: 24px;
  padding-left: 30px;
  padding-right: 30px;
  justify-content: space-between;
  display: flex;
}
.modal-footer {
  border-top: 1px solid #e0e0e0;
  margin-top: 48px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  justify-content: space-around;
}
.modal-button {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
}

.miniButtonContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-left: 10px;
  margin-top: 12px;
  padding: 9px 0 9px 0;
  background-color: #3e4149;
  cursor: pointer;
  border: 1px solid #3e4149;
}

.miniButtonContainer:hover {
  border: 1px solid #2196f3;
}
.imageContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  border: 1px solid #292c35;
  padding: 7px;
  background-color: #292c35;
  margin-right: 12px;
  cursor: pointer;
}
.imageContainer:hover {
  border: 1px solid #2196f3;
}
.tutorialContainer {
  height: 40px;
  width: 40px;
  padding: 8px;
  margin: 12px;
  border-radius: 50%;
  background-color: #454953;
}

.flagContainer {
  border-radius: 50%;
  border: 1px solid #9e9e9e;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}
.flagContainer:hover {
  border: 1px solid #2196f3;
}

.flagContainerMini {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  margin: 6px 0px;
  background-color: #292c35;
}
.flagContainerMini:hover {
  border: 1px solid #2196f3;
}

.loading {
  border: 1px solid rgb(0, 38, 255);
}
.finishing {
  border: 1px solid #2196f3;
}
