@import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap");

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 1.1em;
  background-color: #000000;
  overscroll-behavior-y: contain;
}

.article-image {
  width: 100%;
}

select {
  border-radius: 5px;
  padding: 5px;
}

input {
  border-radius: 5px;
  padding: 5px;
}

input[type=text] {
  width: 20em;
}

input[type=email] {
  width: 20em;
}

input[type=password] {
  width: 20em;
}

textarea {
  width: 20em;
}

textarea {
  border-radius: 5px;
  padding: 5px;
}

label {
  font-weight: bold;
}

h1 {
  /*font-size: 1.1em;*/
  font-weight: bold;
}

.main {
  width: 50%;
  margin: 0 auto;
  padding-top: 1em;
}

/* GRID */
/* GRID LAYOUT */
.grid_outer {
  background: #660000; /* was c82 */
  padding: 5px;
  border-radius: 10px;
  margin: 0 auto;
}

.grid_inner {
  margin: 0;
  background: url(/img/brand/backgroundlong800x1200.jpg) no-repeat;
  background-size: 100% 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  overflow: auto;
}

.grey-font {
  color: #CCCCCC;
}

.white-font {
  color: #ffffff;
}

/* BUTTON */
button {
  display: inline-block;
  padding: 0.3em 1em;
  margin: 0 0.1em 0.1em 0;
  border: 0.16em solid rgba(255, 255, 255, 0);
  border-radius: 2em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #FFFFFF;
  text-shadow: 0 0.04em 0.04em rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: all 0.2s;
  background-color: #600000;
  font-size: 1em;
}

button:hover:not(:disabled) {
  border-color: rgb(255, 255, 255);
}

button:disabled {
  background-color: #888;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ddd;
  cursor: not-allowed;
  text-shadow: none;
  opacity: 0.6;
}

.container-90 {
  width: 90%;
  margin: 0 auto;
}

.col-30 {
  width: 100%;
  margin-top: 6px;
}

.col-60 {
  width: 100%;
  margin-top: 6px;
}

.small-text {
  font-size: 0.9em;
}

.small-text-blue {
  font-size: 0.9em;
  color: #0000EE;
}

.big-text {
  font-size: 1.1em;
}

.underline {
  text-decoration: underline;
}

.form-error {
  color: red;
  font-size: 0.8em;
  padding-left: 5px;
}

.form-success {
  color: #1e88e5;
  font-size: 0.8em;
  padding-left: 5px;
  font-weight: bold;
}

.explanation-text {
  font-size: 0.8em;
  line-height: 0.5em;
}

/* review page */
.review-field {
  margin: 0.8em 0;
}

.review-field label {
  display: block;
  margin-bottom: 0.3em;
}

.review-input {
  display: block;
  width: 100%;
  max-width: 36rem;
  box-sizing: border-box;
  font: inherit;
}

.review-score {
  max-width: 12rem;
}

.review-status {
}

.submit-success {
  font-weight: bold;
}

.review-error {
  color: red;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-card {
  margin: 0.8em 0;
  padding: 0.8em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  overflow-wrap: anywhere;
}

.review-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.review-card-score {
  white-space: nowrap;
}

#user-name-header {
  font-weight: bold;
  font-size: 2em;
}

/* MODAL */
.app-modal-body {
  width: 20%;
}

.modal-close-button {
  width: 1em;
  height: 1em;
  float: right;
}

/* SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

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

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

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

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

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

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

/* ipad PRO */
@media all and (max-width: 65em) {
  .main {
    width: 90%;
  }

  .app-modal-body {
    width: 50%;
  }
}

/* ipad! */
@media all and (max-width: 50em) {
  .main {
    width: 90%;
  }

  .app-modal-body {
    width: 50%;
  }
}

@media all and (max-width: 30em) {
  .main {
    width: 90%;
  }

  button {
    display: block; /* >> fullscreen */
    margin: 0.2em auto;
    width: 100%;
  }

  input[type=text] {
    width: 95%;
  }

  input[type=email] {
    width: 95%;
  }

  input[type=password] {
    width: 95%;
  }

  textarea {
    width: 95%;
  }

  .emoji-mart {
    width: 80% !important;
    position: absolute;
    top: 20%;
    z-index: 200;
  }

  .app-modal-body {
    width: 75%;
  }
}

/* You can add global styles to this file, and also import other style files */
