
:root {
    --max-form-width:80%;
}

html {
  margin:    0 auto;
  max-width: 1080px;
}

body {
  background-image: url('/images/bg-combo.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
}

img {
  display: block;
  margin: auto;
}

label {
    font:
        1rem "Fira Sans",
        sans-serif;
        color: white;
}

form {
    width: var(--max-form-width);
    margin: auto;
}

input[type=text],[type=email] {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  box-sizing: border-box;
  opacity: 50%;
}

textarea {
    width:100%;
    resize: none;
    opacity: 50%;
}

div.btn-container {
    position: relative;
    width: 56px;
    margin: 10px auto;
}

div.terms-title {
    font-weight: 800;
    width: var(--max-form-width);
    margin:auto;
    margin-top: 10px;
    color: white;
}

div.terms-text {
    white-space: pre-line;
    width: var(--max-form-width);
    margin:auto;
    font-size: 10pt;
    color:white;
}

/* Language selector */
div.language-selector {
    width: 178px;
    margin: auto;
}

div.lang-selected {
  font-weight: 900;
  color: #000000;
}

div.lang-deselected {
  font-weight: 400;
  color: #808080;
}

div.switch-text {
    display: inline;
    vertical-align: middle;
    font:
        1rem "Fira Sans",
        sans-serif;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 28px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Dive centre selection */

div.dive-centre-title {
    margin-top: 1rem;
    font:
        1rem "Fira Sans",
        sans-serif;
    font-weight: 900;
    color: white;
}

div.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 105px);
  border-width: 1px;
  color: white;
  border: solid;
}

div.version-text {
  margin: auto;
  width: fit-content;
  font-size: 0.8rem;
  color: white;
}

