#portfolio-selection-wrapper {
  display: flex;
  justify-content: space-evenly;
  height: fit-content;
  border: 1px solid #ABABAB;
  border-bottom: unset;
}
.portfolio-selector, .import-selector {
  display:flex;
  justify-content: center;
  text-align: center;
  padding: 10px;
  width: 50%;
  background-color: #BDBDBD;
}
.portfolio-selector:hover,
.import-selector:hover{
  cursor: pointer;
}
.portfolio-selector div, 
.import-selector div{
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: unset !important;
}

.portfolio-selector div .plot-portfolio-form {
  flex-direction: row;
  color: inherit;
  cursor: inherit;
}

.plot-portfolio-form label {
  color: unset;
  cursor: inherit;
}

.plot-portfolio-form input {
  transform: scale(1.2);
  margin: auto 0;
}

.portfolio-selector.active, 
.import-selector.active {
  background-color: #F6F5F1;
}

.mixer-body {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.mixer-body.visible {
  display: contents;
}

#mixer-table thead, #mixer-table tbody, #mixer-table tfoot{
  border: unset;
  background-color: unset;
}

#mixer-table,
#mixer-container > .upgrade-to-pro-wrapper {
  border: 1px solid #ABABAB;
  background-color: #F6F5F1;
  border-top: unset;
  padding-bottom: 10px;
  box-shadow: 5px 5px 20px #ababab75;
  margin-bottom: 2rem;
}

#mixer-container .upgrade-to-pro-wrapper,
div[data-quant-report] .upgrade-to-pro-wrapper,
div[data-quant-page] .upgrade-to-pro-wrapper {
  display: flex;
  min-height: 10rem;
  justify-content: center;
}

#mixer-container .upgrade-to-pro-wrapper :first-child,
div[data-quant-report] .upgrade-to-pro-wrapper :first-child,
div[data-quant-page] .upgrade-to-pro-wrapper :first-child {
  display: flex;
  align-self: center;
}

.h2rem {
  height: 2rem;
}

#mixer-table thead td{
  border: unset;
  color: black;
}

#mixer-table tbody td, #mixer-table tfoot td {
  padding-top: 0px;
  padding-bottom: 0px;
  border: none;
}
#mixer-table td {
  cursor: unset;
}
#mixer-table input.percentage, #mixer-table select {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
#mixer-table tfoot, #mixer-table tbody {
  background: none;
}
#mixer-table tbody tr, #mixer-table tfoot tr {
  background: none;
}
#mixer-btn-container {
  text-align: left;
  vertical-align: bottom;
  padding: 5px 10px !important;
}
.btn-1-refine {
  bottom: 5px;
  margin: 5px 2px;
  padding: 5px 20px;
  width: 98px;
  border: none;
  cursor: pointer;
}

.btn-1:disabled {
  background-color: #e6e6e6;
  cursor:default;
}

.outdated{
  filter: blur(2px) grayscale(100%);
}

.datepicker-container {
  padding: 10px 0px;
  justify-content: right;
  display:grid;
  grid-template-columns: max-content max-content;
  grid-gap:5px;
  font-size: small;
}
  
.datepicker-field input:hover{
  cursor: pointer;
}

.datepicker-wrapper{
  height: fit-content;
  border-radius: 5px;
  background-color: white;
}

.datepicker-field {
  display:grid;
  grid-template-columns: max-content max-content;
  grid-gap:5px;
  width: fit-content;
  margin: 0px 10px 0px 10px;
  z-index: 0;
  border-radius: 4px;
}

.datepicker-field h4{
  margin-bottom: unset;
  text-align: left
}

.datepicker-field i {
  position: absolute;
  padding: 6px 10px 4px 10px;
  z-index: 1;
  color: #8E8E8E;
}

.datepicker-field input {
  position: relative;
  padding: 5px 5px 5px 35px;
  background-color: transparent;
  width: 200px;
  /* width: 300px; */
  z-index: 2;
  box-shadow: none;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  border-color: #8E8E8E;
  color: #8E8E8E;
  font-weight: bold;
  outline: none;
}

.daterangepicker {
  z-index: 3;
}

.datepicker-field input[readonly] {
  cursor: pointer;
}

.loader {
  border: 8px solid #c3c3c3;
  border-radius: 50%;
  border-top: 8px solid #936224;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  margin: 0 auto;
}
.hidden {
  visibility: hidden;
  height: 0px;
}
@media screen and (max-width: 1000px) {
  .datepicker-field {
    grid-template-columns: max-content;
  }
}
@media screen and (max-width: 767px) {
  .responsive-table-wrapper .mixer-body:not(.visible){
    display: none;
  }
  #mixer-table, .upgrade-to-pro-wrapper,
  div[data-quant-report] .upgrade-to-pro-wrapper,
  div[data-quant-page] .upgrade-to-pro-wrapper {
    padding-top: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  #mixer-table thead {
    background-color: unset;
  }

  #mixer-table tfoot {
    display: block;
    justify-content: stretch;
  }

  #mixer-table tfoot tr{
    width: 100%
  }

  #mixer-btn-container {
    display: flex;
    justify-content: space-evenly;
  }

  #mixer-btn-container input {
    width: 50%;
  }

  .datepicker-container {
    grid-template-columns: unset;
    justify-content: stretch;
  }
  .datepicker-field input {
    width: 100%;
  }
  .datepicker-field {
    grid-template-columns: unset;
    width: unset;
    justify-content: stretch;
    margin-bottom: 10px;
  }
  #filter-apply-btn {
    width: inherit;
  }
  /* TODO test on pages other than PM */
  .coreStatisticsTable {
    margin: 0 auto;
    padding: unset;
    border: unset;
    background-color: #fefefe;
    width: fit-content;
    height: max-content;
  }
  .coreStatisticsTable tr { display: block; float: left; }
  .coreStatisticsTable th td { display: block; min-height: 32px;}
  .coreStatisticsTable::after{
    content: "";
    display: table;
    clear: both;
  }
  .coreStatisticsTable tr td {
    border-bottom: unset;
    border-left: unset;
  }
  .coreStatisticsTable tr td:last-of-type {
    border-bottom: 2px solid #936224;
  }
  .coreStatisticsTable tr th {
    border-bottom: unset;
  }
  .coreStatisticsTable tr th:first-child,
  .coreStatisticsTable tr td:first-child {
    min-height: 2rem;
  }
  .coreStatisticsTable tr th:last-of-type {
    border-bottom: 2px solid #936224;
  }
  /*  */
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
input.percentage {
    text-align: right;
    padding-right: 20px;
    display: inline-block;
    height: 1.8rem;
    font-size: inherit;
}
.percentage-label {
    margin-left: -18px;
    display: inline-block;
}
#model-portfolio-mixer-body tr:only-child a {
  display:none;
}