/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* bootstrap overrides */
.container {
  max-width: 840px;
}
.btn-success {
  background: #40babd;
  border: 1px solid #40babd;
  color: #fff !important;
}
.btn-success:hover,
.btn-success:active,
.btn-success:focus {
  background: #3aa7aa !important;
  color: #fff !important;
  border: 1px solid #3aa7aa !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.shadow-sm {
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(64, 186, 189, 0.25) !important;
  box-shadow: 0 0.125rem 0.25rem rgba(64, 186, 189, 0.25) !important;
}
.custom-control-label::before {
  border-color: #40babd !important;
}
.custom-checkbox,
.custom-control-input,
.custom-control-label {
  cursor: pointer;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #40babd !important;
}
.custom-checkbox
  .custom-control-input:checked:focus
  ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
}
.custom-select {
  border-color: #40babd !important;
  cursor: pointer;
}
.custom-select:focus {
  border-color: #40babd;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
}
.form-control {
  border: 1px solid #40babd;
}
.form-control:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(64, 186, 189, 0.25);
}

/* error message */
.error-box {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  background: #e34b4b;
  color: #fff;
}

/* stick footer to the bottom of the page */
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  background-color: #f6f6f6;
}
main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/* header */
header {
  color: #e2e8f0;
  background-color: #494d55;
  border-top: 5px solid #40babd;
  border-bottom: 5px solid #40babd;
}
header h1 {
  color: #40babd;
}
header h1 span {
  color: #e2e8f0;
}
@media (max-width: 767.98px) {
  header h1 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.3rem;
  }
}
@media (max-width: 575.98px) {
  header h1 {
    font-size: 1.8rem;
  }
}

/* Generator */
.generator.list-group {
  border: 1px solid #40babd;
}
.list-group-item {
  border-color: rgba(64, 186, 189, 0.25);
}
.custom-checkbox label {
  letter-spacing: 1px;
  color: #666;
}
.custom-checkbox label.similars {
  font-family: 'Courier New', Courier, monospace;
}

/* Callout */
.callout {
  border-left: 0.5rem solid rgb(255, 87, 71) !important;
  background-color: #3aa7aa;
  color: #fff;
}

/* result */
.form-control.result {
  color: #008040;
}

/* Footer */
footer {
  margin-top: auto;
  font-size: 0.85rem;
  background: #262626;
  color: #adadad;
}
footer a {
  color: rgba(255, 255, 255, 0.85);
}
footer a:hover,
footer a:focus {
  color: rgba(255, 255, 255, 0.95);
}
footer .list-inline-item {
  font-size: 1.2rem;
}
