
.dashboard .parent {
  margin: -17px 20px;
}
.dashboard span.inline-label {
  display: inline-block;
  vertical-align: text-bottom;
  padding-right: 10px;
  font-size: 1.5rem;
}

.dashboard h1.company-header {
  text-align: left;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9;
  padding-left: 41px;
  font-size: 4rem;
  transition: font-size ease-in-out .3s;
}
.dashboard h1.company-header.small {
    font-size: 2rem;
    height: 40px;
    line-height: 40px;
}



.dashboard .parent > div {
  min-height: 320px;
  min-width: 120px;
}

.dashboard .parent div.chart {
  min-height: 320px;
  min-width: 120px;
  padding: 10px 5%;
}

.fin-8.foot-left.chart.grey {
    height: 340px;
}

.dashboard .xls {
    position: absolute;
    z-index: 99;
    margin: 20px;
    display: none;
}

.dashboard .parent div.chart .entryblock-content {
  height: 320px;
}
.dashboard .parent div.chart.compact {

min-height: 220px;
 
}

.dashboard .parent div.port-3 {
  padding: 0;
}

.dashboard .parent div.thin {  
  min-height: 60px;
}
.dashboard .kpi,
.dashboard .parent div.thin.kpi,
.dashboard .parent div.kpi {
  overflow: hidden;
  background-color: transparent;
}

.dashboard .parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 60px 130px repeat(2, 1fr) 320px 360px;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.dashboard h2.section-heading {
  font-size: 2.4rem;
  line-height: 22px;
  padding-top: 12px;
  text-align: left;
  padding-left: 20px;
  /* color: #777; */
}
.dashboard h2.section-heading:after {
  content: "";
  width: 60px;
  height: 1px;
  position: relative;
  display: block;
  margin-top: 13px;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  left: auto;
  bottom: auto;
}

.dashboard .fin-1 {
  grid-area: 1 / 1 / 2 / 3;
}
.dashboard .inv-1 {
  grid-area: 1 / 3 / 2 / 4;
}
.dashboard .port-1{
  grid-area: 1 / 4 / 2 / 5;
}

.dashboard .fin-2 {
  grid-area: 2 / 1 / 3 / 3;
}
.dashboard .port-2 {
  grid-area: 2 / 3 / 3 / 4;
}
.dashboard .inv-2 {
  grid-area: 2 / 4 / 3 / 5;
}

.dashboard .fin-3 {
  grid-area: 3 / 1 / 4 / 2;
}
.dashboard .fin-4 {
  grid-area: 3 / 2 / 4 / 3;
}
.dashboard .port-3 {
  grid-area: 3 / 3 / 5 / 4;
}
.dashboard .inv-3 {
  grid-area: 3 / 4 / 4 / 5;
}

.dashboard .fin-5 {
  grid-area: 4 / 1 / 5 / 3;
}
.dashboard .inv-4 {
  grid-area: 4 / 4 / 5 / 5;
}

.dashboard .fin-6 {
  grid-area: 5 / 1 / 6 / 2;
}
.dashboard .fin-7 {
  grid-area: 5 / 2 / 6 / 3;
}
.dashboard .port-4 {
  grid-area: 5 / 3 / 6 / 4;
}
.dashboard .inv-5 {
  grid-area: 5 / 4 / 6 / 5;
}

.dashboard .fin-8 {
  grid-area: 6 / 1 / 7 / 2;
}
.dashboard .fin-9 {
  grid-area: 6 / 2 / 7 / 3;
}

.dashboard .inv-6 {
  grid-area: 6 / 3 / 7 / 5;
  height: 340px
}

.dashboard tspan {
  opacity: .65;
  font-weight: normal;
}
.dashboard .chart:hover tspan {
  opacity: 1;
}

.dashboard .risk-cont {padding: 0;border-bottom: 20px solid #f5f7fa;display: flex;flex-direction: row;}

.risk-cont .figure, .risk-cont .title {
    background: #bdff14;
    flex-grow: 1;
    /* margin: 10px; */
    flex-basis: 0;
    padding: 10px 20px;
    /* margin-left: 0; */
}

.risk-cont .title {
    background: hsl(195 100% 16% / 1);
    margin-right: 10px;
    padding-top: 20px;
}

.risk-cont .figure {
    background: #fc9417;
    height: 66px;
    text-align: right;
    font-size: 4rem;
    /* padding-top: 35px; */
    /* width: 66px; */
    margin-left: 10px;
    cursor: pointer;
    padding-top: 30px;
    color: black;
}


.kpi-box.flex,
.parent div .kpi-box.flex {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-between;
min-height: 0;
padding: 0;
background-color: transparent;
}

.parent div .kpi-box.flex.column {
flex-flow: column;
}

.parent div .kpi-box.flex.column.row-break {
  flex-flow: initial;
  flex-wrap: wrap;
  min-width:120px;
}

.kpi-box.flex > div {min-height: 120px;min-width: 0;line-height: 20px;font-weight: bold;text-align: center;flex-grow: 1;margin: 10px;flex-basis: 0;padding: 14px 0;}
.kpi-box.flex > div:hover {
opacity:.6;
}

.kpi-box.flex div.row-break {
  min-height: 60px;
}


.kpi-box.flex.column.row-break div {min-width: 142px;/* min-height: 120px; */}

div.fin-2.thin.kpi > div > div:nth-child(1) > span.figure {
    font-size: 2rem;
    line-height:2.5rem;
    padding-bottom:7px
}
div.fin-2.thin.kpi > div > div:nth-child(1) > span:nth-child(5) {
    font-size: 2rem;
    padding-top:10px
}

.kpi-box.flex div span {display: block;font-size: 1.4rem;}

.kpi-box.flex div span.rotate-figure {display: inline-block;line-height: 14px;}

.kpi-box.flex div span.footer {
  font-size: 1.2rem;
  padding-right: 5px;
  line-height: 12px;
}

.kpi-box.flex div span.figure {font-size: 3rem;line-height: 4rem;padding: 04px;}

.kpi-box ion-icon {
transition: all ease-in-out .3s;
font-size: 2rem;
/* position: absolute; */
border-radius: 50%;
margin: -1px 10px;
padding: 5px;
}


.risk-circle {
width: 30px;
height: 30px;
display: inline-block;
border-radius: 50%;
position: absolute;
margin-left: 12px;
}
.risk-indicator {

background: linear-gradient(90deg, #80ff00 0%, rgba(251,255,41,1) 50%, #ff0000 100%);

display: block;

width: 180px;

height: 30px;

margin: 0 auto;

margin-top: 16px;

text-align: left;
}

.dashboard .risk-indicator {
  width: 100px;
  height: 6px;
  border-radius: 3px;
  margin-top: 20px;
}

.risk-bar {position: absolute;height: 36px;width: 3px;margin-top: -3px;transition: margin ease-in-out .2s;background: hsl(193deg 47% 42%);/* border: 1px solid white; */}

.dashboard span.risk-bar {
    height: 10px;
    margin-top: -2px;
}

.dashboard td {
  font-size: 1.4rem;
}

.dashboard .tscroll table thead tr th {
  font-size: 1.3rem;
}

.dashboard .tscroll table td:first-child, 
.dashboard .tscroll table th:first-child {
  padding-left: 20px !important;
}
.dashboard .tgrid .table-tools-foot {
  display: none;
}

.dashboard table.table {
  padding-bottom: 0 !important;
}

.dashboard .modal-cont.rightModalPanel {
  
position: fixed;
top: 191px;
right: 20px;
bottom: auto;
overflow-y: auto;
min-width:0;
display: none;
padding-top: 0;   
margin: 16px;
border-radius: 6px;
opacity: 1;   
}

.equityoverview .modal-cont .right-modal-body, .map-page .modal-cont .right-modal-body, .equity.modal-cont .right-modal-body {
    padding: 10px;
}

.dashboard .menu-button {

cursor: pointer;

font-size: 3rem;

z-index: 9;

display: block;

text-align: right;

padding-right: 25px;

padding-top: 13px;
}

.dashboard .menu-button ion-icon {
    /* float: right; */
}

@media screen and (max-width:1200px) {

  .kpi-box.flex > div {
    min-height: 120px;
    min-width: 0;
    line-height: 14px;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
    margin: 5px;
    /* display: flow-root; */
}
.dashboard  {
    /* padding-top: 60px; */
}
#app .dashboard h2.section-heading {
    padding-left:10px
}
#app .dashboard h1.company-header {
    padding-left: 20px;
    margin-bottom: 0;
}

  #app.mobile .dashboard .modal-cont.rightModalPanel.modal {
    top:140px
  }

.dashboard .parent {
  margin: 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 60px 120px repeat(2, 1fr) 320px 360px;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}
div.fin-2.thin.kpi > div > div:nth-child(1) > span:nth-child(5) {
    font-size: 1.4rem;
    padding-top: 0;
}


.dashboard .fin {
  grid-area: 1 / 1 / 2 / 2;
}
.dashboard .inv-1 {
  grid-area: 1 / 2 / 2 / 3;
}
.dashboard .port-1{
  grid-area: 1 / 3 / 2 / 4;
}

.dashboard .fin-2 {
  grid-area: 2 / 1 / 3 / 2;
}
.dashboard .port-2 {
  grid-area: 2 / 2 / 3 / 3;
}
.dashboard .inv-2 {
  grid-area: 2 / 3 / 3 / 4;
}

.dashboard .fin-3 {
  grid-area: 3 / 1 / 4 / 1;
}
.dashboard .fin-4 {
  grid-area: 4 / 1 / 5 / 2;
}
.dashboard .port-3 {
  grid-area: 3 / 2 / 5 / 3;
}
.dashboard .inv-3 {
  grid-area: 3 / 3 / 4 / 4;
}

.dashboard .fin-5 {
  grid-area: 7 / 1 / 8 / 4;
}
.dashboard .inv-4 {
  grid-area: 4 / 3 / 5 / 4;
}

.dashboard .fin-6 {
  grid-area: 5 / 1 / 6 / 1;
}
.dashboard .fin-7 {
  grid-area: 5 / 1 / 6 / 2;
}
.dashboard .port-4 {
  grid-area: 5 / 2 / 6 / 3;
}
.dashboard .inv-5 {
  grid-area: 5 / 3 / 6 / 4;
}

.dashboard .fin-8 {
  grid-area: 6 / 1 / 7 / 2;
}
.dashboard .fin-9 {
  grid-area: 8 / 1 / 9 / 4;
}

.dashboard .inv-6 {
  grid-area: 6 / 2 / 7 / 4;
  height: auto
}

.dashboard .risk-indicator {
  width: 50px;
}
.kpi-box.flex div span.figure {
  font-size: 2rem;
}

.fin-2 ion-icon {
  display:none;
}

.kpi-box.flex div span {
  font-size: 1.2rem;
}
.fin-8.foot-left.chart.grey {
  height: auto;
}
.risk-cont .figure {
    margin-left: 5px;
}
.risk-cont .title {
    margin-right: 5px;
}

}


@media screen and (max-width: 1020px) {



  #app.mobile .dashboard .modal-cont.rightModalPanel.modal {
    top:140px
  }
  .kpi-box.flex div span {
    font-size: 1.4rem;
}
.kpi-box.flex > div {
  padding-top:25px;
}

.dashboard .parent {
  margin: 0 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 60px 120px repeat(5, 1fr) 60px 120px repeat(4, 1fr) 320px;
}

.dashboard .fin-1 {
  grid-area: 1 / 1 / 2 / 3;
}
.dashboard .fin-2 {
  grid-area: 2 / 1 / 3 / 3;
}
.dashboard .fin-3 {
  grid-area: 3 / 1 / 4 / 2;
}
.dashboard .fin-4 { 
  grid-area: 3 / 2 / 4 / 3;
}
.dashboard .fin-8 {
  grid-area: 4 / 1 / 5 / 3;
}





.dashboard .fin-6 {
  grid-area: 5 / 2 / 6 / 3;
}
.dashboard .fin-7 {
  grid-area: 5 / 1 / 6 / 2;
}

.dashboard .fin-5 {
  grid-area: 6 / 1 / 7 / 3;
}
.dashboard .fin-9 {
  grid-area: 7 / 1 / 8 / 3;
}



.dashboard .port-1{
  grid-area: 8 / 1 / 9 / 2;
}
.dashboard .port-2 {
  grid-area: 9 / 1 / 10 / 2;
}
.dashboard .port-3 {
  grid-area: 10 / 1 / 12 / 2;
}
.dashboard .port-4 {
  grid-area: 12 / 1 / 13 / 2;
}




.dashboard .inv-1 {
  grid-area: 8 / 2 / 9 / 3;
}
.dashboard .inv-2 {
  grid-area: 9 / 2 / 10 / 3;
}
.dashboard .inv-3 {
  grid-area: 10 / 2 / 11 / 3;
}
.dashboard .inv-4 {
  grid-area: 11 / 2 / 12 / 3;
}
.dashboard .inv-5 {
  grid-area: 12 / 2 / 13 / 3; 
  
}
.dashboard .inv-6 {
  grid-area: 13 / 1 / 14 / 3;
}
.inv-5.kpi.footer {
 min-height: 0;
}

}


@media screen and (max-width:700px) {
  
  .dashboard .parent {
    margin: 0 10px;
    margin-bottom: 70px;
  }
  .dashboard .menu-button {  
    top: 66px;
}
   

.dashboard .parent {
  display: block;  
}
.dashboard .parent > div {
  display: block;  
}
#app.mobile .dashboard .modal-cont.rightModalPanel.modal {
    top: 0px;
    right:0;
    bottom:0
}

.dashboard .risk-indicator {
  width: 50px;
}
.kpi-box.flex div span.figure {
  font-size: 2rem;
}
.kpi-box.flex div span {
  font-size: 1.2rem;
}

.kpi-box.flex, .parent div .kpi-box.flex,
.parent div .kpi-box.flex.column {
  margin:0 !important;
}
.dashboard .parent div.chart {
    padding: 10px 5px;
    margin: 10px -10px;
}

.dashboard .parent > div {
    min-height: 0;
}
.fin-1,.inv-1,.port-1{
  margin-top:40px
}

}