/* radio-toggle
   The radio toggle widget is composed of 2 radio buttons with the look of a toggle switch.
 */

/* Contains the common CSS constants for the whole application. */
/*#region Common colors*/
/*#endregion Common colors*/
/*#region Shadow colors*/
/*#endregion Shadow colors*/
/*#region Text*/
/* Dark color for text in the application */
/*#endregion Text*/
/*#region Content constants*/
/*#endregion*/
/*#region Z-indexes*/
/* Has to be higher than map canvas. */
/* Has to be higher than expanded map place holder. */
/* Has to be higher than expand map button. */
/* The layouts z indexes are for internal purposes only.
                                They are not for styling. */
/*#endregion Z-indexes*/
/*#region Global time picker constants*/
/*#endregion Global time picker constants*/
.radio-toggle {
  background: white;
  border: 1px solid #d9d7d0;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
}
/* Hide the radio button input */

.radio-toggle input[type="radio"] {
  -moz-appearance: none;
  height: 0px;
  margin: 0px;
  padding: 0px;
  width: 0px;
  border: none;
}
.radio-toggle input[type="radio"]:focus {
  box-shadow: none;
}
/* The focus ring */

.radio-toggle input[type="radio"]:focus + label {
  box-shadow: 0 0 0 2px #548ee7;
  /* Set z-index so it doesn't go under the other button */
  z-index: 0;
}
.radio-toggle label {
  background-color: white;
  border-radius: 16px;
  color: #333333;
  cursor: pointer;
  flex-grow: 1;
  padding: 8px;
  text-align: center;
  overflow: hidden;
}
.radio-toggle input[type="radio"]:checked + label {
  background-color: #2972e1;
  color: white;
}
