.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 60px;
    color: #fff;
    background-color: #220f25;
}

.title-container .title {
    font-size: 32px;
}

.title-container .home-btn {
    background-color: #37183c;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.title-container .home-btn:hover {
    background-color: #492050;
}

.visual-filters {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.chart-container {
  max-width: 1300px;
  margin: 50px auto;
}

.filter-disabled {
  background-color: #dadada !important;
  pointer-events: none;
}

.visual-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  box-shadow: 0px 0px 27px -6px rgba(0,0,0,0.4);
  padding: 40px;
  position: relative;
}

.visual-select .category {
  width: 200px;
  margin-bottom: 35px;
  position: relative;
}

.visual-select .category .error {
  position: absolute;
  color: #e20f39;
  top: 47px;
  font-size: 14px;
}

.visual-select .filters {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.visual-select .checkboxes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.visual-select .checkboxes > div {
  margin-bottom: 10px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.visual-select .checkboxes > div:last-child {
  margin-bottom: 0;
}

.visual-select .checkboxes > div label {
  padding-left: 4px;
}

.visual-select .checkboxes > div input {
  margin-left: 0;
}

.visual-select .checkboxes label, .visual-select .checkboxes input {
  cursor: pointer;
}

.visual-select .submit {
  margin-top: 40px;
  width: 100%;
  padding: 10px 30px;
  text-align: center;
  background-color: #37183c;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  border-radius: 5px;
  border: 1px solid rgb(55,24,60);
  transition: all 300ms ease-in-out;
}

.visual-select .submit:hover {
  background-color: #fff;
  color: #37183c;
}

.visual-select .reset-filters {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.visual-select .reset-filters i {
  margin-left: 8px;
  font-size: 18px;
}

.period {
  background-color: #f9f9f8;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 5px 10px;
  border-radius: 4px;
  color: #363b3e;
  height: 44px;
}

.loading-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10;
  pointer-events: none;
  visibility: hidden;
  transition:visibility 0.2s linear,background-color 0.2s linear;
}

.show-overlay {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.2);
}

.lds-dual-ring {
  display: none;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #220f25;
  border-color: #220f25 transparent #220f25 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.select-pure__select {
  align-items: center;
  background: #f9f9f8;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  color: #363b3e;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: left;
  min-height: 44px;
  padding: 5px 10px;
  position: relative;
  transition: 0.2s;
  width: 100%;
}

.select-pure__options {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  color: #363b3e;
  display: none;
  left: 0;
  max-height: 221px;
  overflow-y: scroll;
  position: absolute;
  top: 50px;
  width: 100%;
  z-index: 5;
}

.select-pure__select--opened .select-pure__options {
  display: block;
}

.select-pure__option {
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  box-sizing: border-box;
  height: 44px;
  line-height: 25px;
  padding: 10px;
}

.select-pure__option--selected {
  color: #e4e4e4;
  cursor: initial;
  pointer-events: none;
}

.select-pure__option--hidden {
  display: none;
}

.select-pure__selected-label {
  background: #220f25;
  border-radius: 4px;
  color: #fff;
  cursor: initial;
  display: inline-block;
  margin: 5px 10px 5px 0;
  padding: 3px 7px;
}

.select-pure__selected-label:last-of-type {
  margin-right: 0;
}

.select-pure__selected-label i {
  cursor: pointer;
  display: inline-block;
  margin-left: 7px;
}

.select-pure__selected-label i:hover {
  color: #e4e4e4;
}

.select-pure__autocomplete {
  background: #f9f9f8;
  border-bottom: 1px solid #e4e4e4;
  border-left: none;
  border-right: none;
  border-top: none;
  box-sizing: border-box;
  font-size: 16px;
  outline: none;
  padding: 10px;
  width: 100%;
}
.select-pure__placeholder--hidden {
  display: none;
}

.daterangepicker .btn-primary {
  background-color: #357ebd;
  color: #fff;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
}

.daterangepicker .btn-default {
  background-color: rgb(134, 3, 29);
  color: #fff;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
}

.chartjs-wrapper {
  position: relative;
  height:40vh;
  width: 90vw;
}

.x-button {
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
}

@media all and (min-width: 500px) {
  .visual-select .category {
    width: 230px;
  }
  .visual-select {
    padding: 40px 30px;
  }
}

@media all and (min-width: 769px) {
  .visual-select .filters {
    flex-direction: row;
    margin-right: -10px;
  }
  .visual-select .category {
    margin-right: 10px;
    margin-bottom: 0;
    width: 170px;
  }
  .chart-container {
    margin-top: 50px;
  }
  .visual-select .checkboxes {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
  }
  .visual-select .checkboxes > div {
    margin-bottom: 0;
    display: block;
  }
  .visual-select .checkboxes > div label {
    padding-left: 0;
    padding-right: 4px;
  }
  .visual-select .submit {
    width: 200px;
  }
}

@media all and (min-width: 1024px) {
  .visual-select {
    padding: 40px 80px;
  }
  .chartjs-wrapper {
    height: 50vh;
    width: 90vw;
  }
}

@media all and (min-width: 1220px) {
  .visual-select .category {
    width: 240px;
  }
  .chartjs-wrapper {
    height: 60vh;
    width: 70vw;
  }
}