@media only screen and (max-width: 600px) {
  body {
    margin: 0;
  }

  .site-wrapper-inner {
    vertical-align: top !important;
  }

  .cover-container {
    height: calc(100% - 160px);
  }

  .cover {
    height: 100%;
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden; /* Prevents any potential overflow issues */
  background-size: cover;
  background: radial-gradient(circle at left top, rgb(12, 180, 206), rgb(0, 108, 255) 100%);
  text-align: center;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.home-button {
  margin: 16px 0;
  font-family: sans-serif;
  background-color: #4285f4;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  display: inline-block;
  font-size: 16px;
}

.unauthorized-text {
  font-family: sans-serif;
  text-shadow: none;
  color: #444;
}

.site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  /* For at least Firefox */
  min-height: 100%;
}

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}

.cover-container {
  max-width: 500px;
  margin: 0 auto;
}

/* Padding for spacing */
.inner {
  padding: 0px;
}

.cover {
  padding: 16px;
  background: rgba(250, 251, 255, 0.9);
  min-height: 400px;
  position: relative;
}

.cover .btn-lg {
  font-weight: bold;
}

.site-wrapper-inner {
  vertical-align: middle;
}

.login-title {
  color: #444;
  text-shadow: none;
  font-size: 26px;
  margin: 32px 0 40px 0;
}

.login-subtitle {
  font-size: 15px;
  margin: 8px 0;
}

.login-header {
  background: rgb(0, 0, 0, 0.1);
  border-radius: 5px 5px 0 0;
}

.login-footer {
  height: 50px;
  background-color: rgb(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  line-height: 50px;
  width: 100%;
  color: white;
}

.contact-us {
  color: #ffe922;
  text-decoration: none;
}

.contact-us:hover {
  color: #ffe922;
  text-decoration: underline;
}

img.login-screen {
  display: block;
  margin: 0 auto;
  width: 8rem;
  padding: 8px 0;
}

img.login-screen-loader {
  display: block;
  margin: 0 auto;
  padding-bottom: 10px;
  width: 6rem;
}

.microsoft-btn {
  height: 50px;
  margin: 0 auto;
  width: 290px;
  background: #fff;
  color: #444;
  border: 1px solid #ccc;
  display: block;
  text-decoration: none;
  text-shadow: none;
}

.microsoft-btn:hover {
  font-weight: 500;
  color: #444;
  background: #eee;
  box-shadow: 0 0 1px 0 rgba(89, 89, 89, 0.3);
}

.microsoft-logo-btn {
  height: 50%;
  margin-right: 16px;
  /* vertical-align: middle; <-- Removed, Flexbox handles this */
}

.microsoft-inner-btn {
  /* line-height: 50px; <-- Removed, Flexbox handles this */
  /* vertical-align: middle; <-- Removed, Flexbox handles this */
  height: 100%;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
}

.center-button #my-google-signin > div {
  text-align: center;
  margin: 0 auto;
}

.center {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
}

/* Progress Bar */

.progress {
  position: relative;
  height: 4px;
  display: block;
  width: 100%;
  background-color: #99b6e4;
  border-radius: 2px;
  background-clip: padding-box;
  margin: 0.5rem 0 1rem 0;
  overflow: hidden;
}

.progress .indeterminate {
  background-color: white;
}

.progress .indeterminate:before {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
  animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.progress .indeterminate:after {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  -webkit-animation-delay: 1.15s;
  animation-delay: 1.15s;
}

@-webkit-keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
}

@-webkit-keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
}
