body {
  line-height: normal;
}

#dimensions {
  font-family: monospace;
  padding: 20px;
  border: 1px solid #ccc;
  margin: 20px;
}

.row {
  all: unset;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0%;
  /* margin-top: 5px; */
}

.flex-item {
  flex: 1 1 100%;
  text-align: center;
}

@media (max-width: 868px) {
  .row {
    flex-direction: column;
  }
}

/* ------------- */
/* Timer Display */
/* ------------- */
.timer-display {
  position: relative;
  background: #f2460d;
  color: black;
  font-family: 'Roboto mono', monospace;
  /*  font-size beregnes i script.js ud fra height og width på denne blok */
  /* padding: 2vh 2vw;
  margin: 1vw; */

  padding: 10px 20px;
  margin: 0 10px;
}

.timer-time {
  color: white;
  margin-right: 0;
  padding-right: 0;
}

.timer-small {
  font-size: 0.7275em;
}

.timer-warning {
  font-size: 60%;
  text-align: right;
  color: yellow;
  position: absolute;
  right: 2%;
  top: 2%;
}

.timer-break,
.timer-rounds,
.timer-extra {
  font-weight: 600;
  font-size: 35%;
  margin: 0;
}

.timer-top {
  font-size: 35%;
  font-weight: bold;
  margin: 0;
}

.timer-title {
  position: absolute;
  bottom: 0;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 60%;

  /* Center it horizontally */
  left: 50%;
  transform: translateX(-50%);
}

.timer-icon-container {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 0;
  margin: 0;
  padding-top: 15px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timer-icons {
  font-size: 40%;
}

.timer-button {
  position: relative;
  border: none;
  width: 0;
  padding: 0;
  margin-right: 12px;
}

.timer-button:disabled {
  cursor: not-allowed;
}

/* ------------ */
/* Audio button */
/* ------------ */
.timer-buttons {
  margin-top: 7px;
  margin-left: 12px;
  margin-right: 12px;
  display: block;
}

.timer-buttons button {
  margin-top: 8px;
  display: inline-block;
  cursor: pointer;
  border: 1px solid #babfc3;
  padding: 7px 16px;
  min-height: 32px;
  min-width: 32px;
  color: #202223;
  background: #FAFAFA;
  border-radius: 10px;
  font-weight: 400;
  font-size: 10px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 0px;
}

.timer-buttons button:hover {
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
  background: #f6f6f7;
  outline: 1px solid transparent;
}

/* --------------  */
/* Timer Settings  */
/* --------------  */
#settings {
  background-color: #fefefe;
  float: right;
  padding: 0;
  z-index: 1;
  /* height: 300px; */
  overflow: auto;
  /* min-width: 537px; */
}

.settings-content {
  display: block;
  padding: 10px;
  /* width: 420px; */
  height: auto;
}

.lbl {
  text-align: right;
  white-space: nowrap;
  padding-right: 4px;
}

.fld {
  width: 41px;
}

.time {
  width: 41px;
}

.frm {
  display: inline-block;
  max-width: 50%;
}

/* 
.btn-default {
  color: #333;
  background-color: #ebebeb;
  border-color: #adadad;
} */
/* 
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.preset-button {
  position: relative;
  border: none;
  width: 0;
  padding: 4px;
  margin-right: 12px;
}

.preset-button:disabled {
  cursor: not-allowed;
}


/* ---------- */
/* Select tag */
/* ---------- */
select option,
select {
  background-color: white;
}

#color-select {
  font-weight: bold;
  color: white;
  /* font-size: 150%; */
}

/* select option[value="1"],
select.o1 {
  background-color: green;
}

select option[value="2"],
select.o2 {
  background-color: red;
}

select option[value="3"],
select.o3 {
  background-color: orange;
} */

/* ------- */
/* Image - */
/* ------- */
.image-container {
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;

  padding: 10px 10px 10px 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  min-width: 310px;
  min-height: 310px;
  max-height: 90%;
  max-width: 90%;
  overflow: auto;
}

/* Styling for the image */
.image-container img {
  /* padding-top: 25px; */
  max-width: 100%;
  height: auto;
}

/* Styling for the close button */
.closeHelpBtn {
  font-size: 300%;
  position: absolute;
  top: 1.5%;
  right: 1.5%;
  /* background-color: #f44336; */
  background-color: transparent;
  /* color: white; */
  color: black;
  border: none;
  padding: 5px 10px;
  padding-top: 0;
  cursor: pointer;
}