@media all and (min-width: 1200px) {
  #app {
    max-width: 1000px;
    margin: 0 auto;
  }
}
@media all and (min-width: 960px) and (max-width: 1199px) {
  #app {
    max-width: 900px;
    margin: 0 auto;
  }
}

@media all and (max-width: 599px) {
  img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
}

@media all and (min-width: 600px) {
  section {
    clear: both;
    display: block;
  }
  #event-details-container {
    clear: none;
  }
  img {
    width: 60%;
    height: 300px;
    float: left;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
  }
}

hr {
  clear: both;
  margin-bottom: 20px;
  margin-top: 20px;
}

section {
  margin: 20px;
}

.material-icons {
  padding-right: 10px;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
p {
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
}

h1 {
  font-size: 48px;
}

h2 {
  margin-bottom: 0px;
}

p {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 0px;
}

#guestbook > p {
  font-weight: lighter;
  font-size: 14px;
}

input {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 14px;
  padding: 4px 0;
  background: 0 0;
  text-align: left;
  color: inherit;
}

button.clicked {
  background-color: rgb(60, 67, 154);
  border-color: rgb(60, 67, 154);
  color: white;
  outline-color: rgb(60, 67, 154);
}

button,
button.firebaseui-id-submit.mdl-button--raised.mdl-button--colored {
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  border-color: rgb(60, 67, 154);
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  box-shadow: none;
  color: rgb(60, 67, 154);
  cursor: default;
  display: inline-flex;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 36px;
  justify-content: center;
  margin: 8px 16px;
  outline-color: rgb(60, 67, 154);
  overflow: hidden;
  padding: 0px 15px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Custom changes to template by Ridwan */
/* TODO: remove me */
/* #tax-distributor-submit-button {
  background-color: #18aa31;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
} */

/* Inline-block style so sliders are aligned */
label {
  display: block;
  font-size: 18px;
  margin-top: 5px;
  margin-bottom: 0px;
}

input[type='range'],
span {
  display: inline-block;
  vertical-align: middle;
}

input[type='range'] {
  width: 75%;
  margin-right: 10px;
}

input[type='checkbox'] {
  margin-left: 10px;
}

span {
  width: 40px;
  text-align: left;
}

/* Light theme */
body {
  background-color: #ffffff;
  color: #0f0f0f;
}

/* Dark theme */
body.dark-mode {
  background-color: #1a1a1a;
  color: #c2c2c2;
}

input[type='range'] {
  -webkit-appearance: none;
  background-color: #bd5fff;
  height: 5px;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.dark-mode input[type='range'] {
  -webkit-appearance: none;
  background-color: #40dca5;
  height: 5px;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.dark-mode input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#tax-distributor-submit-button[disabled] {
  color: #ccc;
  background-color: #ddd;
  cursor: not-allowed;
}

input[type='range']:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  /* add any other styles you want for disabled sliders */
}

.dark-mode button.clicked {
  background-color: rgb(60, 154, 67);
  border-color: rgb(60, 154, 67);
  color: black;
  outline-color: rgb(60, 154, 67);
}

.dark-mode button,
.dark-mode button.firebaseui-id-submit.mdl-button--raised.mdl-button--colored {
  background-color: rgba(0, 0, 0, 0);
  border-color: rgb(60, 154, 67);
  color: rgb(60, 154, 67);
  outline-color: rgb(60, 154, 67);
}
