/* contains the styles common to all webpages */

.btn-success {
  background-color: #26a69a;
}

.btn-warning {
  background-color: #ffa726;
}

.btn-danger {
  background-color: #e91e63;
}
.content-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn,
.card {
  border-radius: 3px;
}

.btn-primary {
  background-color: #673ab7;
  border-color: #673ab7;
}

.text-primary {
  color: #4527a0 !important;
}

.text-success {
  color: #26a69a !important;
}

.text-danger {
  color: #e91e63 !important;
}

.btn-primary:hover {
  background-color: #4527a0;
  border-color: #4527a0;
}

.btn-primary:disabled {
  background-color: #9575cd;
  border-color: #9575cd;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: black;
  border-color: #e0e0e0;
}

main {
  padding-top: 56px;
  min-height: 100vh;
  background-color: #f5f5f5;
}

footer {
  height: 10vh;
}
.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.under-construction,
.error {
  display: flex;
  height: 80vh;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/*for the contact page*/
.contactus-heading {
  font-family: 'Google Sans Display', Arial, Helvetica, sans-serif;
  color: #202124;
  font-size: 12vh;
  font-weight: 100;
  letter-spacing: -0.5px;
  line-height: 8vh;
  margin-top: 7vh;
  margin-bottom: 5vh;
  padding-left: 72px;
}
.contactus-description {
  font-family: 'Google Sans', Arial, Helvetica, sans-serif;
  color: #5f6368;
  font-size: 4vh;
  font-weight: 400;
  letter-spacing: initial;
  line-height: 5vh;
  padding-left: 72px;
  max-width: 600px;
  padding-bottom: 8vh;
}

.office-name {
  font-family: 'Google Sans', Arial, Helvetica, sans-serif;
  font-size: 5vh;
  font-weight: 400;
  letter-spacing: -0.25px;
  line-height: 6vh;
  padding-left: 72px;
}
.office-address {
  color: #5f6368;
  font-family: 'Google Sans', Arial, Helvetica, sans-serif;
  font-size: 3vh;
  font-weight: 400;
  letter-spacing: initial;
  line-height: 4vh;
  padding-left: 72px;
}

.contact-buttons {
  padding-left: 72px;
  padding-bottom: 8vh;
}
.contact-card-group {
  align-items: center;
  display: inline-flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-basis: 35rem;
  flex-shrink: 1;
  margin-top: 8vh;
}
.contact-card {
  margin-right: 20px;
}
.ops-button {
  background-color: white;
  border-color: #0d6efd;
  color: #0d6efd;
}
.ops-button:hover {
  background-color: white;
  border-color: #0d6efd;
  color: #0d6efd;
}
.ops-button:active {
  background-color: white;
  border-color: #0d6efd;
  color: #0d6efd;
}
.card-text {
  padding-top: 10px;
}

@media screen and (max-aspect-ratio: 3 / 4) and (min-height: 32rem),
  only screen and (max-width: 60rem) and (min-height: 32rem) {
  :root {
    --heading-width: max(300, 80%);
  }
  .contactus-heading {
    margin-top: 20px;
    font-size: 50px;
    line-height: 50px;
    padding-left: 40px;
    max-width: var(--heading-width);
  }
  .contactus-description {
    padding-left: 40px;
    max-width: var(--heading-width)-10;
    font-size: 24px;
    justify-content: space-evenly;
  }
  .office-name {
    padding-left: 40px;
  }
  .office-address {
    padding-left: 40px;
  }
  .contact-buttons {
    padding-left: 40px;
  }
  .contact-button {
    margin-bottom: 10px;
  }
  .btn {
    font-weight: lighter;
    font-size: small;
  }
}

/*for the home-page*/

.application-home-login {
  display: -webkit-inline-box;
  display: inline-flex;
  flex-basis: 35rem;
  flex-direction: column;
  flex-shrink: 1;
  max-width: 30rem;
  padding: 1em 3em;
  height: 90vh;
  justify-content: center;
  align-items: center;
}

.application-home {
  padding-top: 20px;
  align-items: center;
  display: inline-flex;
  justify-content: space-evenly;
  min-height: 100%;
  width: 100vw;
}

.ani-check {
  animation-name: fade_ani;
  animation-duration: 1.3s;
}
.application-home-heading {
  font-family: 'Google Sans Display', Roboto, Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 3.25rem;
  padding-bottom: 0.5em;
}
.application-home-img {
  align-items: center;
  display: -webkit-inline-box;
  display: inline-flex;
  flex-direction: column;
  flex-basis: 45%;
  overflow: hidden;
  padding: 1em 3em;
}
@keyframes fade_ani {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-aspect-ratio: 3 / 4) and (min-height: 32rem),
  only screen and (max-width: 48.3rem) and (min-height: 32rem) {
  .application-home {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 2rem);
    padding: 0 1rem;
  }

  .application-home-img {
    display: none;
  }
  .btn {
    border-radius: 0px;
  }

  .application-home-heading {
    max-width: 100%;
    display: block;
    font-size: 2em;
  }
  .application-home-img {
    display: none;
  }
  .application-home-description {
    display: block;
  }
  .login_button {
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
}
.application-home-description {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5rem;
  color: #5f6368;
  color: var(--gm-color-caption, #5f6368);
  max-width: 30rem;
  padding-bottom: 3em;
}

/*for base.html*/
/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 1s;
  animation-name: animatetop;
  animation-duration: 1s;
}

@-webkit-keyframes animatetop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    /* top: -100px; */
    opacity: 0;
  }
  to {
    /* top: 0; */
    opacity: 1;
  }
}

.slot {
  width: 50px;
  height: 50px;
  font-size: 0.8em;
  cursor: pointer;
}

.open-slot {
  background-color: #e0e0e0;
  border: 2px solid #bdbdbd;
}

.your-slot {
  background-color: yellow;
}

.booked-slot {
  background-color: #f48fb1;
  pointer-events: none;
  border: 2px solid #f06292;
}

.slot-date {
  font-size: 0.9em;
  color: #455a64;
}

.slot:hover {
  background-color: #bdbdbd;
}

.selected {
  background-color: #9fa8da;
  border-color: #3949ab;
}
.selected:hover {
  background-color: #3949ab;
  color: white;
}

.rubrics-option {
  color: #455a64;
  margin-right: 3px;
  margin-bottom: 20px;
}

.swal-button--confirm,
.swal-button--cancel {
  padding: 7px 19px;
  border-radius: 2px;
  font-size: 12px;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
}

.swal-title {
  margin: 0px;
  font-size: 16px;
  margin-bottom: 28px;
}

.swal-text {
  text-align: center;
}
