body {
  font-family: 'Lato';
  background-color: #d2232a !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 1.5em;
}

hr.star-light,
hr.star-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.star-light:after,
hr.star-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f005';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.star-light {
  border-color: #fff;
}

hr.star-light:after {
  color: #fff;
  background-color: #18BC9C;
}

hr.star-dark {
  border-color: #2C3E50;
}

hr.star-dark:after {
  color: #2C3E50;
  background-color: white;
}

section {
  padding: 6rem 0;
}

section h2 {
  font-size: 2.25rem;
  line-height: 2rem;
}

a.contact {
  color: inherit;
}

a.contact:hover {
  color: inherit;
  text-decoration: none;
}

.fa-xl {
  font-size: 1.5em;
}

@media (min-width: 992px) {
  section h2 {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-social {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  line-height: 2rem;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
  font-family: 'Montserrat';
}

#mainNav .navbar-brand {
  color: #000000;
}

#mainNav .navbar-nav {

  margin-top: 1rem;
  letter-spacing: 0.0625rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #000000;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #FFF;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #FFF;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #FFF;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
  outline: none !important;
  box-shadow: none !important;
}

#mainNav .navbar-toggler:hover, #mainNav .navbar-toggler:focus, #mainNav .navbar-toggler:active {
  color: #fff !important;
  background-color: #242424 !important;
  border-color: #242424 !important;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    font-size: 2em;
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    font-size: 0.9em;
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.8em;
  }
}

header.masthead {
  padding-top: calc(2rem + 126px);
  padding-bottom: 2rem;
}

.portfolio {
  margin-bottom: -15px;
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .portfolio {
    margin-bottom: -30px;
  }
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
}

.portfolio-modal .portfolio-modal-dialog {
  padding: 3rem 1rem;
  min-height: calc(100vh - 2rem);
  margin: 1rem calc(1rem - 8px);
  position: relative;
  z-index: 2;
  -webkit-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
}

.portfolio-modal .portfolio-modal-dialog .close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.portfolio-modal .portfolio-modal-dialog .close-button i {
  line-height: 38px;
}

.portfolio-modal .portfolio-modal-dialog h2 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .portfolio-modal .portfolio-modal-dialog {
    min-height: 100vh;
    padding: 5rem;
    margin: 3rem calc(3rem - 8px);
  }
  .portfolio-modal .portfolio-modal-dialog h2 {
    font-size: 3rem;
  }
}

.floating-label-form-group {
  position: relative;
  border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-left: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}

.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #e9ecef;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #18BC9C;
}

.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #2C3E50;
  color: #fff;
}

.copyright {
  color: #000;
  background-color: #d2232a;
  font-family: 'Montserrat';
}

.copyright a {
  color: #000;
}

.copyright a:focus, a:hover, a:active {
  color: #000;
}

.btn {
  border-width: 2px;
}

.bg-primary {
  background-color: #242424 !important;
}

.bg-secondary {
  background-color: #d2232a !important;
}

.text-primary {
  color: #18BC9C !important;
}

.text-secondary {
  color: #2C3E50 !important;
}

.text-middle {
  vertical-align: middle !important;
}

.btn-primary {
  color: #212526;
  background-color: #F8F9F6;
  border-color: #F8F9F6;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #212526 !important;
  background-color: #ADAEAC !important;
  border-color: #ADAEAC !important;
}

.btn-user {
  width: 200px;
  margin: 20px;
}

.btn-admin {
  padding: 0.4rem 1rem;
  margin: -34px 0px 20px 0px;
}

.row {
  margin-bottom: 5px;
}

.btn-new {
  margin: 5px;
}

.btn-new-success {
  margin: 0px 10px 10px 10px;
}

.btn-right {
  float: right;
}

.btn-secondary {
  background-color: #2C3E50;
  border-color: #2C3E50;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #1a252f;
  border-color: #1a252f;
}

.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-xs {
  padding  : .40rem .60rem;
  font-size  : .875rem;
  line-height  : .5;
  border-radius : .2rem;
}

.btn-hidden {
  display: none;
}

.btn-radio.active {
  color: #212526 !important;
  background-color: #ADAEAC !important;
  border-color: #ADAEAC !important;
}

@media (max-width: 500px) {
  .col-btn-group {
    flex-basis: initial !important;
    margin-top: 14px;
  }

  .btn-group, .btn-radio {
    width: 100%;
  }
}

.load {
  width: 100%;
}

hr {
  margin: 40px;
	border: 0;
	height: 2px;
	background-image: -webkit-linear-gradient(left, rgba(205,35,45,0), rgba(205,35,45,0.75), rgba(205,35,45,0));
	background-image: -moz-linear-gradient(left, rgba(205,35,45,0), rgba(205,35,45,0.75), rgba(205,35,45,0));
	background-image: -ms-linear-gradient(left, rgba(205,35,45,0), rgba(205,35,45,0.75), rgba(205,35,45,0));
	background-image: -o-linear-gradient(left, rgba(205,35,45,0), rgba(205,35,45,0.75), rgba(205,35,45,0));
}

hr.no-margin {
  margin: 1rem !important;
}

hr.small-margin {
  margin: 30px 0px 10px 0px !important;
}

.col-btn-new {
  width: 90%;
  margin: 25px auto;
  padding: 0px;
}

.col-admin {
  padding: 0px !important;
}

.btn-width-toggle {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
}

.btn-width-toggle label {
  width: 100%;
}

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

.d-none {
  display: none;
}

td.invisible {
  padding: 0.25rem !important;
}

table.invisible {
  width: 100%;
}

table.invisible td {
  padding: 0.25rem !important;
  vertical-align: middle !important;
  border-top: initial !important;
}

table.invisible .min-width {
  min-width: 100px;
}

.thead-small th {
  border-bottom: 0px !important;
  padding: 0.5rem !important;
}

table .far, table .fas {
  margin: 0px 4px;
}

table .fa-long-arrow-alt-down {
  margin: 0px 3px !important;
  font-size: 24px !important;
  vertical-align: middle !important;
}

table a {
  color: white !important;
  text-decoration: none !important;
}

table a:hover {
  color: white !important;
}

.bg-grey {
  background-color: #101010 !important;
}

.search-bar {
  position: fixed;
  top: 69px;
  z-index: 1000;
  padding: 1.5rem 15px;
  background-color: #242424;
  margin-left: -15px;
}

.search-bar-admin {
  position: relative !important;
  top: 0px !important;
  margin-left: 0px !important;
  padding: 1.5rem 0px !important;
}

.search-bar span {
  margin-top: 1rem;
  width: 33%;
}

.search-bar input {
  display: inline-block;
  width: calc(100% - 46px - 30px);
  vertical-align: middle;
}

.search-bar a {
  border-width: 1px;
}

.search-bar .left {
  text-align: left;
}

.search-bar .center {
  text-align: center;
}

.search-bar .right {
  text-align: right;
}

span.left {
  float: left;
}

span.center {
  float: left;
}

span.right {
  float: right;
}

a.btn-allRecords {
  width: 94%;
}

span.left.day {
  padding-left: 10px;
}

.tooltip-inner {
  text-align: left !important;
}

.tooltip-inner tr td:last-child {
  padding-left: 10px;
}

@media (max-width: 500px) {
  .search-bar span {
    width: 100%;
    text-align: center !important;
  }

  .search-bar input {
    display: inline-block;
    width: calc(100% - 46px);
    vertical-align: middle;
  }

  span.left.day {
    padding-left: 0px;
  }

  a.btn-allRecords {
    width: 100%;
  }

  #admin_container {
    font-size: 0.5rem !important;
  }

  #admin_container .btn {
    font-size: 0.75rem !important;
  }

  #admin_container .table th, #admin_container .table td {
    padding: 0.75rem 0.25rem !important;
  }
}

form {
  width: 90%;
  margin: 20px auto;
}

.form-inline .center {
  margin: auto;
}

.form-inline .form-control {
  float: left !important;
  width: auto !important;
}

.small-bottom > span {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.small-bottom-2 > span {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.form-button {
  padding-top: 10px;
  text-align: center !important;
}

.btn-form {
  margin: 10px 20px;
}

.form-check-padding {
  padding-bottom: 20px;
}

.time-left {
  width: 30% !important;
  float: left;
}

.time-right {
  width: 30% !important;
  float: right;
}

.lh {
  line-height: calc(24px + 1rem);
}

#gdpr p {
  width: 90%;
  margin: auto;
}

@media (min-width: 992px) {
  table .far, table .fas {
    margin: 0px 10px;
  }

  form {
    width: 50%;
  }

  .col-btn-new {
    width: 50%;
  }

  #gdpr p {
    width: 60%;
  }
}

.alert-danger {
  display : flex;
  align-items : center;
}

.alert-danger .text {
  width: calc(100% - 36px);
}

#pin {
    background: #242424;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    color: rgba(255, 255, 255, 0.2);
}

.dots {
    width: 50%;
    display: flex;
    justify-content: space-around;
    padding: 1em;
}

.dot {
    position: relative;
    background: #FCF9F6;
    border-radius: 0.8em;
    width: 0.8em;
    height: 0.8em;
    transform: scale3d(0.7, 0.7, 0.7);
}

.dot.active {
    animation: growDot .5s ease;
    animation-fill-mode: forwards;
}

.dot.wrong {
    animation: wrong .9s ease;
}

.dot.correct {
    animation: correct .9s ease;
}

#pin p {
    font-size: .8em;
}

.numbers {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-around;
    align-content: flex-end;
}

.number {
    position: relative;
    width: 2.4em;
    height: 2.4em;
    margin: 0.4em;
    border-radius: 2.4em;
    color: #212526;
    background-color: #FCF9F6;
    text-align: center;
    line-height: 2.4em;
    font-weight: 400;
    font-size: 1.8em;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease;
}

.number:hover {
    background-color: #ADAEAC;
}

.number:before {
    content: "";
    position: absolute;
    left: -2px;
    width: 2.4em;
    height: 2.4em;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.4em;
    transition: all .5s ease;
}

@keyframes growDot {
    100% {
        background: #ADAEAC;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes wrong {
    20% {
        background: crimson;
    }
    40% {
        transform: translate(-15px, 0);
    }
    60% {
        transform: translate(10px, 0);
    }
    80% {
        transform: translate(-5px, 0);
    }
}

@keyframes correct {
    20% {
        background: limegreen;
    }
    40% {
        transform: translate(0, -15px);
    }
    60% {
        transform: translate(0, 10px);
    }
    80% {
        transform: translate(0, -5px);
    }
}
