* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #f7f7f7;
  box-sizing: border-box;
  font: 400 14px 'Open Sans', sans-serif;
  position: relative;
}

a, li { transition: 300ms; }

h1 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 1em;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.25em;
}

/* ==========================================================================
   Side Navigation
   ========================================================================== */

main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

nav {
  background-color: #2a3f54;
  color: #fff;
  grid-row: 1 / span 2;
  min-width: 230px;
}

.branding { padding: 20px; }

.tagline { margin-top: 10px; }

.main-menu a,
.main-menu span {
  color: #cacfd4;
  display: block;
  text-decoration: none;
}

.main-menu li { position: relative; }

.main-menu > li > a,
.main-menu > li > span {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  color: #e7e7e7;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 5px;
  padding: 11px 35px 11px 15px;
}

.main-menu > li > a:hover,
.main-menu > li > span:hover { color: #fff; }

.main-menu > li { border-right: 5px solid transparent; }

.main-menu > li.open { border-color: #1abb9c; }

.main-menu > li.open > span {
  background-image: linear-gradient(#334556, #2c4257);
  border-top: 1px solid #546371;
  border-bottom: 1px solid #1f2f3f;
}

.main-menu ul li { padding-left: 36px; }

.main-menu ul li:hover { background-color: #35495d; }

.main-menu ul li:hover a { color: #fff; }

.main-menu ul li:before {
  background: #425668;
  border-radius: 50%;
  content: "";
  height: 9px;
  position: absolute;
    top: 13px;
    left: 23px;
  width: 9px;
}

.main-menu ul li:after {
  border-left: 1px solid #425668;
  content: "";
  position: absolute;
    top: 0;
    bottom: 0;
    left: 27px;
}

.main-menu ul a {
  font-size: 14px;
  padding: 7px;
}

.arrow {
  border: solid #e7e7e7;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
  position: absolute;
    top: 19px;
    right: 12px;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  background-color: #ededed;
  border-bottom: 1px solid #d9dee4;
}

.user-menu {
  align-items: center;
  color: #515356;
  display: grid;
  font-size: 14px;
  gap: 30px;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  list-style: none;
  justify-content: end;
  padding: 12px 15px;
}

.user-menu span { font-weight: 600; }

.user-menu a {
  color: #2a3f54;
  font-weight: 600;
  text-decoration: none;
}

.user-menu a:hover { color: #1abb9c; }

/* ==========================================================================
   Grid
   ========================================================================== */

.content { margin: 20px; }

.content a {
  color: #2a3f54;
  font-weight: 600;
  text-decoration: none;
}

.content a:hover { color: #1abb9c; }

h1.page-title {
  color: #5a738e;
  margin-bottom: 20px;
}

.grid3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.grid4 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.grid-item {
  background-color: #fff;
  color: #5a738e;
  padding: 30px;
}

.grid-item h1 {
  border-bottom: 1px solid #e6e9ed;
  color: #73879C;
  padding-bottom: 10px;
}

ul.overview {
  list-style: none;
  line-height: 1.5em;
  margin-bottom: 1.33em;
}

ul.overview span { font-weight: 600; }

.chart img {
  border: 1px solid #e6e9ed;
  margin-bottom: 1.33em;
  max-width: 100%;
}

ul.quick-stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

ul.quick-stats span {
  display: block;
  line-height: 1.5em;
}

ul.quick-stats .title { font-weight: 600; }

table {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-spacing: 0;
  font-size: 14px;
  width: 100%;
}

td, th {
  border-top: 1px solid #ddd;
  padding: 10px 5px;
  text-align: left;
}

tr:nth-child(even) td { background-color: #f9f9f9; }

th {
  background-color: #ededed;
  font-weight: 600;
}

table.equipment td:first-child { font-weight: 600; }

.grid3.equipment { grid-template-columns: 3fr 7fr 6fr; }

.grid3.equipment .grid-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.grid3.equipment .grid-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / span 2;
}

footer {
  color: #5a738e;
  line-height: 1.5em;
  margin: 20px 0;
}

span.color { font-weight: 600; }

span.red { color: #f12424; }

span.green { color: #01b62b; }

table tr.red td {
  background-color: #fddede;
  border-top: 1px solid #f12424;
  color: #f12424;
}

table tr.red + tr td { border-top: 1px solid #f12424; }

table tr.green td {
  background-color: #d9f4df;
  border-top: 1px solid #01b62b;
  color: #01b62b;
}

table tr.green + tr td { border-top: 1px solid #01b62b; }

.dashboard {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: auto auto 1fr auto;
}

.dashboard .grid-item { grid-column: auto / span 2; }

.dashboard .news {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
}

.dashboard .news-item p {
  line-height: 1.5em;
  margin: 0.5em 0;
}

.dashboard .readmore {
  color: #1abb9c;
  display: block;
  text-transform: uppercase;
}

.dashboard .readmore:hover { text-decoration: underline; }

.dashboard .news-item {
  border-top: 1px solid #e6e9ed;
  padding: 15px 0;
}

.dashboard .news-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.dashboard .news-item:last-of-type { padding-bottom: 0; }

.dashboard .repository { grid-column: 4 / span 5; }

.dashboard .forum {
  grid-column: 4 / span 3;
  grid-row: 2 / span 2;
}

.dashboard .image img { max-width: 100%; }

.dashboard .date { font-style: italic; }

.events .date {
  float: right;
  margin: 0.2em 0 0 !important;
}

.forum span { font-weight: 600; }

.repository-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.repository h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 1em;
}

@media only screen  
and (max-width : 1920px) {

h1 { font-size: 20px; }

h3 { font-size: 14px; }

.grid-item { font-size: 12px; }

ul.quick-stats { gap: 15px; }

table { font-size: 12px; }

.repository .icon { height: 80px; }

.repository .icon img { max-height: 100%; }

.repository h4 { font-size: 16px; }

}