:root {
  --ikano-black: #000;
  --ikano-grey: #999;
  --ikano-white: #fff;
  --ikano-red: #ec1a24;
}


/** General **/

html {
  min-height: 100%;
}
body {
  min-height: 100%;
  font-family: sans-serif;
  font-size: 85%;
  margin: 0;
  color: var(--ikano-black);
  background-color: var(--ikano-white)!important;
}
.logo {
  padding: 10px 0px 0;
  width: 150px;
}
main {
  margin: 0 1vw 1vw;
  min-height: 100vh;
  min-height: calc(100vh - 164px);
}
img {
  max-width: 100%;
}
a,
a:visited {
  color: var(--ikano-black);
}

/* Flex */

.flex {
  display: flex;
  flex-wrap: wrap;
}
.flexsa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.flexsb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexsb100 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.flexnowrap {
  display: flex;
}
.flexleft {
  margin: 0 -10px;
}
.flexspace {
  justify-content: space-between;
  margin: 0 -10px 1em;
}
.flexpad {
  padding: 0 10px;
  flex-grow: 1;
}
.flexpadnogrow {
  padding: 0 10px;
}
.flexend {
  align-self: flex-end;
}
.flexgap {
  gap: 2em;
}
.flex1 {
  flex: 1;
  min-width: 240px;
}
.flex2 {
  flex: 2;
  padding: 0 10px;
}
.flexcell {
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}
.flexspace details + details {
  margin-top: 20px;
}
.flexdate {
  align-items: flex-end;
}
.flexcentre {
  display: inline-flex;
  align-items: center;
}
.flexcentre.right {
  margin-left: auto;
}
.flex-direction-column {
  flex-direction: column;
}
.clear-both {
  clear: both;
}
.center {
  align-items: center;
  text-align: center;
}
.sidemargins {
  margin: 0 1vw;
  position: relative;
}


/* Icon/Button */

.icon img {
  width: 18px;
  max-width: initial;
}
table td .icon.left img,
table td .icon.right img {
  display: block;
}

table td .icon.left,
table td .icon.right {
  visibility: hidden;
  margin-left: 5px;
}
table td:hover .icon.left,
table td:hover .icon.right {
  visibility: visible;
}

.button,
a.button {
  background-color: var(--ikano-red);
  color: var(--ikano-white);
  border-radius: 5px;
  padding: 0.5em 1em;
  font-weight: bold;
  margin: 0 1em 1em 0;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.button:hover {
  background-color: var(--ikano-black);
}

/* Power BI report */
#reportContainer {
  min-height: calc(100vh - 100px);
  margin-top: -1px;
}
#reportContainer iframe {
  min-height: calc(100vh - 100px);
  border: 1px solid var(--ikano-grey);
}
.reports-list {
  display: block;
  margin: 1em 0 0;
}
.report-link {
  border-radius: 5px 5px 0 0!important;
  padding: 0.5em 1em;
  font-weight: bold;
  margin: 0!important;
  border: 1px solid var(--ikano-grey);
  border-bottom: #fff;
}
.report-link.button.active {
  background-color: var(--ikano-white);
  color: var(--ikano-black);
  z-index: 100;
  position: relative;
}

/* Menu */
.ikano-user-menu .button {
  margin: 0 0 0 1em!important;
}
.menu-icon img {
  height: 30px;
  width: auto;
  margin: 3px 0 0 0.7em;
}


/* Masquerade button */
a[href*="/masquerade?"],
a[href*="/unmasquerade?"] {
  background: var(--ikano-red);
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  display: inline-block;
}

/* Tabs */
.tabs {
  text-align: right;
  float: right;
}
.tabs a {
  color: var(--ikano-red);
}


.customer-list li {
  font-size: 1.1em;
  margin-bottom: 0.5em;
}


/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  text-align: left;
}
th {
  background-color: var(--ikano-red);
  color: var(--ikano-white);
  padding: 0.5em 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
td {
  padding: 0.5em 1em;
}
tr {
  border-bottom: 1px solid #dddddd;
}
tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
tr:hover {
  background-color: #f1f1f1;
}
.fixedlastcol table th:last-child,
.fixedlastcol table td:last-child {
  width: 100px;
  max-width: 100px;
  box-sizing: border-box;
  text-align: end;
}

/* Responsive Table */
@media (max-width: 600px) {
  table, th, td {
    display: block;
  }
  th {
    text-align: right;
  }
  tr {
    border: none;
    margin-bottom: 1em;
  }
}
