@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --theme-color: #226597;
  --text_color: #304163;
}

body, html {
  font-family: 'Lato', sans-serif;
  background-color: #FFFFFF !important;
  scroll-behavior: smooth;
  height: 100%;
}

main {
  flex: 1 0 auto;
}

table thead th {
  border:  none !important;
}

form .error {
  color: #ff0000;
}

.card {
  padding: 10px;
}

a {
  text-decoration: none !important;
}

.table-title {
  max-width: fit-content;
}

/* sticky header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 10000;
}
/* sticky header */

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hide-scrollbar::-webkit-scrollbar {
	display: none;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
.hide-scrollbar {
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}

.form-control {
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--theme_color);
}

.zoom-on-hover:hover {
  display: inline-block;
  transition: .3s ease-in-out;
  transform: scale(1.1);
  color: var(--theme-color) !important;
}

button {
  box-shadow: none !important;
}

.vote-avg {
  position: absolute;
  top: 12px;
  right: 15px;
  border-radius: 3px;
  padding: 3px 10px;
  color: #FFFFFF;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  opacity: .8;
}

.footer {
  font-size: 12px;
  text-align: center;
  padding: 40px 0;
  background-color: #000000;
  color: #c4c4c4;
}

.footer img {
  width: 40px;
}

#progress {
  background-color: red;
  position: fixed;
  top: 0;
  height: 5px;
  z-index: 10;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  opacity: 1;
  transition: width .01s ease;
}

.fadeOut {
  opacity: 0 !important;
  transition: opacity .5s !important;
}

.fadeIn {
  opacity: 1 !important;
  transition: opacity .5s !important;
}

@media(max-width: 991px) {
  /* mobile modal */
  .modal {
      top: initial !important;
      bottom: -100% !important;
      height: auto !important;
      transition: .1s ease-in-out !important;
      width: 100%;
  }

  .modal.show {
      bottom: 0 !important;
  }

  .modal .modal-dialog {
      margin: 0;
      max-height: 100% !important;
      max-width: 100% !important;
  }

  .modal .modal-content {
      border: none;
      border-radius: 0;
      height: 100% !important;
      max-height: 100vh !important;
  }

  .modal .modal-footer button {
      width: 46%;
      height: 53px;
  }

  .modal .modal-footer {
      display: flex;
      justify-content: center;
  }
  /* mobile modal */

  .footer {
    display: none;
  }

  main {
    padding-bottom: 70px;
  }
}