a {
  color: #000;
  text-decoration: none;
}

body {
  margin: 0; 
  font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;
  overflow: hidden;
}

.main-container {
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: 5vw 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "sidebar page";
}

.sidebar {
  grid-area: sidebar;
  background-color: #bd5d31;
}

.sidebar div .has-badge.p1[data-count]:after{
  position: absolute;
  right: 10%;
  top: 10%;
  content: attr(data-count);
  font-size: .4em;
  font-weight: bolder;
  padding: .35em;
  border-radius: 50%;
  line-height: 1em;
  color: white;
  background:#ad1e1e;
  text-align: center;
  min-width: 1em;
}

.sidebar div .has-alarm:after,
.sidebar div .has-warning:after{
  position: absolute;
  right: 10%;
  top: 10%;
  content: '\f12a';
  font-family: FontAwesome;
  font-size: .4em;
  font-weight: normal;
  padding: .35em;
  border-radius: 50%;
  line-height: 1em;
  text-align: center;
  min-width: 1em;
}
.sidebar div .has-alarm:after{
  color: white;
  background: #ad1e1e;
}
.sidebar div .has-warning:after{
  color: white;
  background: #dba902;
}


.main {
  grid-area: page;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 8vh 1fr 3vh;
  grid-template-areas: "header" "full-content" "footer";
  overflow: hidden;
}

#main-content {
  grid-area: full-content;
  padding: 5px;
  overflow: hidden;
}

#main-header {
  grid-area: header;
  padding: 5px 5px 0 5px;
}

#main-footer {
  grid-area: footer;
  padding: 0 5px 5px 5px;
  line-height: 3vh;
  font-size: 1.6vh;
}

.hidden {
  display: none;
}


