
/* For mobile and tablet ----- */
/* Basic group */
.fand-table {
}
.fand-table--headder {
  display: none;
}
.fand-table--body {
}
/* Basic structure */
.fand-table--row {
  font-family: var(--fonts-p-font-family);
  font-weight: var(--fonts-p-font-weight);
  line-height: var(--fonts-p-line-height);
  font-size: var(--fonts-p-font-size-mobile);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: inherit;
  overflow: hidden;
  background: var(--panel-basic-bg);
  color: var(--panel-basic-text);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}
.fand-table--headder .fand-table--title-text {
  
}
.fand-table--body .fand-table--row {
  border: 0.0625rem solid var(--border);
}
.fand-table--cel {
  display: flex;
  justify-content:space-between;
  padding-top: 0.25rem;
}
/* colgroup */
.fand-table--wrap {
}
.fand-table--title .fand-table--cel {
    padding-bottom: 1rem;
}
.fand-table--value .fand-table--cel:first-child,
.fand-table--value-double .fand-table--cel:first-child,
.fand-table--value-triple .fand-table--cel:first-child {
    padding-top: 1rem;
}
.fand-table--value .fand-table--cel:last-child,
.fand-table--value-double .fand-table--cel:last-child,
.fand-table--value-triple .fand-table--cel:last-child {
    padding-bottom: 1rem;
}
.fand-table--button .fand-table--cel:first-child,
.fand-table--button-double .fand-table--cel:first-child,
.fand-table--value-triple .fand-table--cel:first-child {
    padding-top: 1rem;
}

.fand-table--highlight { /* this class sets the keyline color for the cell. */
  font-family: var(--fonts-p-font-family);
  font-weight: var(--fonts-p-font-weight);
  line-height: var(--fonts-p-line-height);
  font-size: var(--fonts-p-font-size-mobile);
  margin: 0 -1rem;
  background: var(--ag-grid-grey);
  padding: 0.25rem 1.5rem 0;
}
.fand-table--value.fand-table--col-1 .fand-table--cel,
.fand-table--button.fand-table--col-1 .fand-table--cel,
.fand-table--value-double.fand-table--col-1 .fand-table--cel,
.fand-table--button-double.fand-table--col-1 .fand-table--cel,
.fand-table--value-triple.fand-table--col-1 .fand-table--cel,
.fand-table--button-triple.fand-table--col-1 .fand-table--cel{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.fand-table--wrap-fav {
  display: flex;
  flex-direction:row;
  flex: 1;
}
.fand-table--wrap-fav .fand-table--button-favorit {
  width: 44px;
}
.fand-table--button.fand-table--button-favorite .fand-table--cel:first-child {
  padding-top: 0.5rem;
}
.fand-table--button.fand-table--button-favorite .fand-table--cel .fand-data--val {
  width: 100%;
}
.fand-table--wrap-fav .fand-table--title {
  width: calc(100% - 44px);
}
.fand-table--category {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  padding-left: 44px;
  padding-top: 0;
}
.fand-table--category .fand-table--cel{
  width: 50%;
  padding-left: 0.5rem;
}
.fand-table--category .fand-table--cel:first-child{
  padding: 0;
}
.fand-table--category .fand-table--cel .fand-data--val {
  width: 100%;
}
/* data in the cell */
.fand-data--title {
  margin-top: -0.3rem;  
}
.fand-data--title-text {
  font-family: var(--font-medium);
  font-weight: var(--font-weight-medium);
  line-height: var(--fonts-h5--reg-line-height);
  font-size: var(--fonts-h5--reg-font-size-mobile);
}
.fand-data--label {
  font-family: var(--fonts-p-font-family);
  font-weight: var(--fonts-p-font-weight);
  line-height: var(--fonts-p-line-height);
  font-size: var(--fonts-p-font-size-mobile);
  display: flex;
  width: 50%;
  flex-direction: column;
  text-align: left;
  word-break: break-word;
}
.fand-data--val {
  font-family: var(--fonts-p--b-font-family);
  font-weight: var(--fonts-p--b-font-weight);
  line-height: var(--fonts-p--b-line-height);
  font-size: var(--fonts-p--b-font-size-mobile);
  display: flex;
  flex-direction: column;
  text-align: right;
  width: 50%;
  word-break: break-word;
  white-space: nowrap;
}
.fand-data--gain {
  color: var(--addcolor-num-plus);
}
.fand-data--loss {
  color: var(--addcolor-num-lose);
}
/* icon */
.fand-table--cel-icon {
  justify-content:flex-end;
  align-items:center;
}
.fand-table--cel-icon .fand-data--label{
  width: auto;
}
.fand-table--cel-icon .fand-data--val{
  width: auto;
}
.frk-sky .fand-table--cel-icon .fand-data--val a {
  display: block;
}
/* rank */
.fand-rank--num {
  font-family: var(--fonts-p--b-font-family);
  font-weight: var(--fonts-p--b-font-weight);
  line-height: var(--fonts-p--b-line-height);
  width: 1.5rem;
  height: 1.5rem;
  margin-right: var(--space-md);
  background-color: var(--ft-grey-2);
  text-align: center;
  vertical-align: middle;
  flex-shrink: 0;
}
.fand-rank--num.number-01 {
  color: var(--white);
  background-color: var(--ft-sky-blue);
}
.fand-rank--num.number-02 {
  background-color: var(--ft-teal);
}
.fand-rank--num.number-03 {
  background-color: var(--ft-orange-3);
}
/* For PC *Breakpoints are equivalent to GlobalSites ----- */
@media(min-width : 1200px){
/* Basic group */
  .fand-table {
    width: 100%;
  }
  .fand-table--headder {
    display: block;
  }
/* Basic structure */
  .fand-table--row {
    padding: 0
  }
  .fand-table--headder .fand-table--row {
    display: flex;
    flex-direction: row;
    box-shadow: 0 0.25rem 0.25rem var(--ag-grid-grey);
    z-index: var(--z-index-medium);
    margin-bottom: 0;
  }
  .fand-table--headder .fand-table--title-text {
    display: block;
    font-size: var(--fonts-small-font-size-small-desktop);
    font-weight: var(--fonts-small-font-weight);
    line-height: var(--fonts-small-line-height);
    line-height: 1.2em;
    text-align: center;
  }
  .fand-table--body .fand-table--row {
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-bottom: 0;
  }
  .fand-table--body .fand-table--row:first-child {
    margin-top: 0.25rem;
  }
  .fand-table--cel {
    display: flex;
    justify-content: space-evenly;
    font-size: var(--fonts-p-font-size-small-desktop);
    -webkit-font-smoothing: subpixel-antialiased;
    line-height: 1.5em;
    border-right: 1px solid transparent;
    padding: 0.5rem;
    word-break: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .fand-table--headder .fand-table--cel {
    justify-content:center;
  }
  /* colgroup */
  .fand-table--wrap {
    display: flex;
  }
  .fand-table--wrap .fand-table--cel:first-child {
    padding: 0.5rem;
  }
  .fand-table--wrap .fand-table--cel:last-child {
    padding: 0.5rem;
  }
  .fand-table--highlight {
    margin: 0;
    padding: 0.5rem;
  }
  .fand-table--title {
    flex: 1;
    font-size: var(--fonts-small-font-size-desktop);
  }
  /* standard cel */
  .fand-table--title .fand-table--cel {
    align-items: center;
  }
  .fand-table--value, .fand-table--button {
    width: 70px;
    flex-shrink: 0;
  }
  .fand-table--value .fand-table--cel, .fand-table--button .fand-table--cel {
    width: 70px;
    flex-flow: column;
  }
  .fand-table--value.fand-table--col-2, .fand-table--button.fand-table--col-2{
    width: calc(70px * 2);
  }
  .fand-table--value.fand-table--col-3, .fand-table--button.fand-table--col-3 {
    width: calc(70px * 3);
  }
  .fand-table--value.fand-table--col-4, .fand-table--button.fand-table--col-4{
    width: calc(70px * 4);
  }
  /* double width cell */
  /*
  .fand-table--double-col-1 .fand-table--cel .fand-data--val,
  .fand-table--double-col-2 .fand-table--cel .fand-data--val,
  .fand-table--double-col-3 .fand-table--cel .fand-data--val,
  .fand-table--double-col-4 .fand-table--cel .fand-data--val {
    font-size: var(--fonts-small-font-size-desktop);
  }*/

  .fand-table--double-col-1 .fand-table--cel,
  .fand-table--double-col-2 .fand-table--cel,
  .fand-table--double-col-3 .fand-table--cel,
  .fand-table--double-col-4 .fand-table--cel {
    width: 150px;
  }
  .fand-table--value.fand-table--double-col-1, .fand-table--button.fand-table--double-col-1 {
    width: 150px;
    /*flex-flow: column;*/
  }
  .fand-table--value.fand-table--double-col-2, .fand-table--button.fand-table--double-col-2{
    width: calc(150px * 2);
  }
  .fand-table--value.fand-table--double-col-3, .fand-table--button.fand-table--double-col-3 {
    width: calc(150px * 3);
  }
  .fand-table--value.fand-table--double-col-4, .fand-table--button.fand-table--double-col-4{
    width: calc(150px * 4);
  }
  /* favorite button cell */
  .fand-table--button.fand-table--button-favorite {
    width: 100px;
  }
  .fand-table--button-favorite .fand-table--cel  {
    width: 100px;
  }
  
  .fand-table--triple-col-1 .fand-table--cel,
  .fand-table--triple-col-2 .fand-table--cel,
  .fand-table--triple-col-3 .fand-table--cel,
  .fand-table--triple-col-4 .fand-table--cel {
    width: 220px;
  }
  .fand-table--value.fand-table--triple-col-1, .fand-table--button.fand-table--triple-col-1 {
    width: 220px;
    /*flex-flow: column;*/
  }
  .fand-table--value.fand-table--triple-col-2, .fand-table--button.fand-table--triple-col-2{
    width: calc(220px * 2);
  }
  .fand-table--value.fand-table--triple-col-3, .fand-table--button.fand-table--triple-col-3 {
    width: calc(220px * 3);
  }
  .fand-table--value.fand-table--triple-col-4, .fand-table--button.fand-table-triplee-col-4{
    width: calc(220px * 4);
  }
  /* favorite button cell */
  .fand-table--button.fand-table--button-favorite {
    width: 100px;
  }
  .fand-table--button-favorite .fand-table--cel  {
    width: 100px;
  }
  
  .fand-table--button.fand-table--button-favorite .fand-table--cel:first-child {
    padding: 0.5rem;
  }
  /* data in the cell */
  .fand-data--label{
    display: none;
  }
  .fand-data--val {
    width: auto;
    white-space: nowrap;
    word-break: break-all;
  }
  .fand-rank--num {
    display: inline-block;
  }
  .fand-table--value.fand-table--category {
    width: 240px;
  }
  .fand-table--category .fand-table--cel.fand-table--cel-asset {
    width: 90px;
  }
  .fand-table--cel.fand-table--cel-asset .fand-data--val {
    font-size: var(--fonts-small-font-size-desktop);
  }
  .fand-table--cel .area-tag {
    font-size: var(--fonts-small-font-size-desktop);
  }
  .fand-table--double-col-1.fand-table--date {
    width: 110px;
  }
  .fand-table--date .fand-table--cel.fand-table--cel-date {
    width: 110px;
  }
  
}