@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css");

/* CSS Variables */
:root {
  --blue: #222d6b;
  --blue-hover: #444d6b;
  --red: #a82020;
  --red-hover: #ca4020;
  --off-white: #efefef;
  --dark: #666;
}
/* End variables */

body,
html {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 300;
  background: #fff;
  color: #444;
}

.cursor-pointer {
  cursor: pointer;
}

.bgImage {
  background-image: url("backdrop.png");
  background-position: right;
  background-repeat: no-repeat;
  background-size: 55%;
}

/* Media queries for above - hide if too small */
@media screen and (max-width: 800px) {
  .bgImage {
    background-image: none;
  }
}
/* End */

.EnterButton {
  font-size: 1.4rem;
}

.EnterButton > * {
  color: red !important;
}

/* Bootstrap modifiers */

.img-grayscale {
  filter: grayscale(100%);
}

.img-grayscale:hover {
  filter: grayscale(25%);
}

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

.navbar-dark,
.bg-dark {
  background-color: var(--blue) !important;
}

.btn {
  font-weight: 200;
}

.btn-primary {
  background-color: var(--blue);
  border: 1px solid var(--blue);
}

.alert-sm {
  font-size: 0.8em;
}

.card {
  box-shadow: 5px 5px 15px #ddd;
}

.card-header {
  background-color: var(--blue);
  color: var(--off-white);
  opacity: 0.9;
}

label {
  font-weight: 400;
}

/* End Bootstrap modifiers */

/* Text modifiers */
.text-lightweight {
  font-weight: 300;
}
/* End text modifiers */

.img-lineitem {
  max-width: 50px;
  height: auto;
}

.hidden {
  display: none;
}

footer {
  background: var(--blue);
  color: var(--off-white);
  margin-top: 50px;
  padding: 20px;
}

footer .credits {
  font-size: 0.7em;
}

/* Animation */
@keyframes FadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.FadeToVisible {
  animation-name: FadeIn;
  animation-duration: 2s;
}

/* End animations */

/* Slider */

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

/* 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;
  transition: 0.4s;
}

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

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

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

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

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

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

/* End Slider */
