html {
  background-color: #ffaa5a2e;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  margin: 0;
}

.projectsBody {
  padding-top: 58px;
}

.projectsHeader {
  padding: 0 34px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #8080801c;
  font-size: 30px;
}

#projectsTable.loading {
  display: none;
}

#projectsTable {
  width: fit-content;
  margin: 54px auto 0;
  border-collapse: collapse;
  height: 650px;
  display: block;
  overflow-y: auto;
}

#projectsTable thead {
  font-size: 22px;
}

#projectsTable tbody {
  font-size: 18px;
}

#projectsTable tbody tr {
  border-bottom: 1px solid #00000026;
}

#projectsTable th {
  text-align: left;
  padding: 10px;
  color: #bd3b3b;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fdefe0;
}

#projectsTable td {
  padding: 10px;
}

.tableOptions {
  text-align: right;
}

.nameHeader {
  width: 45%;
}

.nameCell {
  display: block;
  width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1265px) {
  .nameCell {
    width: 300px;
  }
  .nameHeader {
    width: 35%;
  }
}

@media screen and (max-width: 1038px) {
  .nameCell {
    width: 200px;
  }
  .nameHeader {
    width: 30%;
  }
}

.tableOption {
  margin: 0 8px;
  cursor: pointer;
}

.tableOption.load {
  color: #138fd9;
}

.tableOption.rename {
  color: #5ba337;
}

.tableOption.delete {
  color: #df3d17;
}

.newProjectButton {
  box-shadow: inset 0px 1px 0px 0px #f7c5c0;
  background: linear-gradient(to bottom, #ffaa5a 5%, #fa8212 100%);
  background-color: #ffaa5a;
  border-radius: 6px;
  border: 1px solid #c96100;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #bd620e;
}

.newProjectButton:hover {
  background: linear-gradient(to bottom, #fa8212 5%, #ffaa5a 100%);
  background-color: #fa8212;
}

#spinnerWrapper {
  display: none;
}

#spinnerWrapper.active {
  display: block;
  width: 350px;
  height: 35px;
  position: absolute;
  top: 300px;
  width: 100%;
}

.loadingSpinnerRing {
  margin: 0 auto;
  height: 50px;
  width: 50px;
}

.loadingSpinnerRing div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin: 8px 0;
  border: 4px solid #bd3b3b;
  border-radius: 50%;
  animation: loadingSpinnerRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #bd3b3b transparent transparent transparent;
}

.loadingSpinnerRing div:nth-child(1) {
  animation-delay: -0.45s;
}

.loadingSpinnerRing div:nth-child(2) {
  animation-delay: -0.3s;
}

.loadingSpinnerRing div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes loadingSpinnerRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.projectListError {
  display: none;
}

.projectListError.active {
  display: block;
  position: absolute;
  top: 300px;
  width: 100%;
  text-align: center;
  color: red;
}

.projectListEmpty {
  display: none;
}

.projectListEmpty.active {
  display: block;
  position: absolute;
  top: 300px;
  width: 100%;
  text-align: center;
}


/* Firefox */

#projectsTable {
  scrollbar-width: auto;
  scrollbar-color: #bd3b3b #ffffff;
}


/* Chrome, Edge, and Safari */

#projectsTable::-webkit-scrollbar {
  width: 16px;
}

#projectsTable::-webkit-scrollbar-track {
  background: #ffead3;
}

#projectsTable::-webkit-scrollbar-thumb {
  background-color: #bd3b3b;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

#newProjectModal {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #0000003d;
  font-family: 'Inter', sans-serif;
}

#newProjectModal.active {
  display: block;
}

#newProjectModal .newProjectModalContent {
  position: relative;
  margin: 25vh auto;
  max-width: 450px;
  max-height: 492px;
  overflow: auto;
  background-color: white;
  padding: 10px 15px 15px 15px;
  border-radius: 10px;
  box-shadow: 5px 5px 30px;
}

.newProjectModalContentTitle {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 12px;
}

.projectActionButton {
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 6px;
}

.projectActionButton.save {
  color: white;
  box-shadow: inset 0px 1px 0px 0px #c0c7f7;
  background: linear-gradient(to bottom, #5a85ff 5%, #8faaf7 100%);
  background-color: #5a85ff;
  border: 1px solid #002795;
}

.projectActionButton.cancel {
  color: black;
  margin-left: 10px;
  box-shadow: inset 0px 1px 0px 0px #e9e9e9;
  background: linear-gradient(to bottom, #cacaca 5%, #7e7e7e 100%);
  background-color: #cacaca;
  border: 1px solid #868686;
}

.projectActionButton.save:hover {
  background: linear-gradient(to bottom, #8faaf7 5%, #5a85ff 100%);
  background-color: #8faaf7;
}

.projectActionButton.cancel:hover {
  background: linear-gradient(to bottom, #7e7e7e 5%, #cacaca 100%);
  background-color: #7e7e7e;
}

.projectActionButtons {
  display: flex;
  justify-content: end;
}

.projectActionButton.disabled,
.projectActionButton.disabled:hover {
  color: #999999;
  box-shadow: unset;
  background: unset;
  background-color: #d6d6d6;
  border: unset;
  cursor: not-allowed;
}

.nameAndInput {
  margin: 32px 0;
}

.snackText {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #6db95f;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

.snackText.failure {
  background-color: #bd3b3b;
}

.snackText.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}


/* loading spinner */

.loadingSpinner {
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 1100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.loadingSpinner * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body.loader .loadingSpinner span {
  top: 18%;
}

.loadingSpinner>span {
  display: block;
  width: 48px;
  height: 48px;
  padding: 4px;
  background-color: #ffffff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -o-border-radius: 100%;
  -ms-border-radius: 100%;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  margin-left: -24px;
  top: -50px;
  -webkit-transition: ease-in-out 0.1s;
  -moz-transition: ease-in-out 0.1s;
  -o-transition: ease-in-out 0.1s;
  -ms-transition: ease-in-out 0.1s;
  transition: ease-in-out 0.1s;
  -webkit-box-shadow: #000 0px 5px 10px -5px;
  -moz-box-shadow: #000 0px 5px 10px -5px;
  -o-box-shadow: #000 0px 5px 10px -5px;
  -ms-box-shadow: #000 0px 5px 10px -5px;
  box-shadow: #000 0px 5px 10px -5px;
}

.loadingSpinner>span>svg {
  fill: transparent;
  stroke: #1a73e8;
  stroke-width: 5;
  animation: loader_dash 2s ease infinite, loader_rotate 2s linear infinite;
}

@keyframes loader_dash {
  0% {
    stroke-dasharray: 1, 95;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -25;
  }
  100% {
    stroke-dasharray: 85, 95;
    stroke-dashoffset: -93;
  }
}

@keyframes loader_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}