/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

.touch-display,
.touch-display * {
  cursor: none !important;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #bd2130;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: #d6d4d4;
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}

.room-occupied-label {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 700;
  pointer-events: none;
  text-shadow: none;
}

.room-occupied-label span {
  padding: .22em .65em;
  border: 3px solid #c53d45;
  border-radius: .22em;
  background: rgba(255, 255, 255, .82);
  color: #b62638;
  font-size: 10vw;
  line-height: 1;
  letter-spacing: .08em;
  text-shadow: 0 1px 0 #fff;
}

@media (max-width: 768px) {
  .room-occupied-label span {
    font-size: 4rem;
  }
}

.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}

/* Keep the treatment composition optically centred on the room displays. */
.treatment-content {
  transform: translateX(6vw);
}

.treatment-content .col-md-7 {
  padding-left: 2.5rem;
}

@media (max-width: 768px) {
  .treatment-content {
    transform: none;
  }

  .treatment-content .col-md-7 {
    padding-left: 1.5rem;
  }
}
