* {
  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;
}

h1 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 1em;
}

h2 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 1em;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.25em;
}

strong { font-weight: 600; }

p { line-height: 1.5em; }

/* ==========================================================================
   Side Navigation
   ========================================================================== */

main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

nav {
  background-color: #15283b;
  color: #fff;
  grid-row: 1 / span 2;
  min-width: 250px;
}

.branding {
  margin-bottom: 30px;
  padding: 20px;
}

.logo img { max-width: 210px; }

.main-menu li {
  border-right: 5px solid transparent;
  position: relative;
}

.main-menu a {
  color: #e7e7e7;
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  padding: 8px 15px;
  text-decoration: none;
}

.main-menu :hover {
  background-color: #213345;
  color: #fff;
}

.main-menu li.active {
  background-color: #213345;
  border-color: #1abb9c;
}

.main-menu .material-icons {
  color: #e7e7e7;
  font-size: 22px;
  margin-right: 15px;
  vertical-align: top;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  align-items: center;
  background-color: #ededed;
  border-bottom: 1px solid #d9dee4;
  color: #515356;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr repeat(3, auto);
  padding: 12px 15px;
}

header span { font-weight: 600; }

.breadcrumbs,
.user-menu {
  align-items: center;
  color: #515356;
  display: grid;
  gap: 20px;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  list-style: none;
}

.breadcrumbs a,
.user-menu a {
  color: #2a3f54;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumbs a:hover,
.user-menu a:hover { color: #1abb9c; }

input[type="text"],
input[type="search"],
textarea {
  border: 1px solid #d9dee4;
  border-radius: 0;
  font: 400 14px 'Open Sans', sans-serif;
  padding: 3px 6px;
}

textarea {
  box-sizing: border-box;
  max-width: 100%;
}

input[type="submit"] {
  background-color: #1abb9c;
  border: none;
  color: #fff;
  font: 400 14px 'Open Sans', sans-serif;
  margin-left: -4px;
  padding: 4px 8px;
}

input[type="file"] { font: 400 14px 'Open Sans', sans-serif; }

/* ==========================================================================
   Grid
   ========================================================================== */

.content {
  color: #5a738e;
  margin: 20px;
}

.content a {
  color: #1abb9c;
  font-weight: 400;
  text-decoration: none;
}

.content a:hover { text-decoration: underline; }

.button {
  background-color: #1abb9c;
  color: #fff !important;
  display: inline-block;
  font-weight: 400;
  padding: 7px 14px;
  text-decoration: underline;
}

.button:hover {
  background-color: #12a184;
  text-decoration: none !important;
}

.button .material-icons {
  color: #fff;
  font-size: 16px;
  margin: 0 5px 3px -3px;
  vertical-align: middle;
}

select {
  border: 1px solid #d9dee4;
  border-radius: 0;
  color: #5a738e;
  font: 400 14px 'Open Sans', sans-serif;
  padding: 3px 6px;
}

h1.page-title { margin-bottom: 20px; }

label { margin: 0 10px 0 30px; }

label:first-of-type { margin-left: 0; }

input[type="checkbox"] + label { margin-left: 15px !important; }

ul.checkbox { list-style: none; }

ul.checkbox li {
  line-height: 29px;
  margin-bottom: 5px;
}

ul.checkbox label {
  display: inline-block;
  width: 100px;
}

table {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  border-spacing: 0;
  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.list td:first-child { font-weight: 600; }

table.blank,
table.blank td,
table.blank th {
  border: none;
  vertical-align: top;
}

table.blank tr:nth-child(even) td { background-color: #fff; }

.border { border: 1px solid #d9dee4; }

.grid {
  display: grid;
  gap: 20px;
}

.grid-item {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
  padding: 20px;
}

.grid-item h2 { color: #73879C; }

.grid-item .bottom {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  justify-items: start;
  margin-top: 20px;
}

.grid.col6 { grid-template-columns: repeat(6, 1fr); }

.grid-item.colspan2 { grid-column: auto / span 2; }

.grid-item.colspan3 { grid-column: auto / span 3; }

.grid-item.colspan6 { grid-column: auto / span 6; }

/*.dashboard {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  grid-auto-rows: auto;
}

.grid-item .totals {
  font-size: 18px;
  font-weight: 500;
}

.quick-stats,
.projects { grid-column: auto / span 9; }

.quick-stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr);
}

.quick-stats .statistic {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 2fr;
}

.quick-stats .icon img { max-width: 100%; }

.quick-stats .number {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  margin-bottom: 5px;
}

.notices {
  grid-column: auto / span 3;
  grid-row: auto / span 2;
}

.notice {
  border-top: 1px solid #e6e9ed;
  padding: 15px 0;
}

.notice:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.notice:last-of-type { padding-bottom: 0; }

.notice p {
  line-height: 1.5em;
  margin: 0.5em 0;
}

.notice .readmore {
  color: #1abb9c;
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}

.services,
.repairs {
  grid-column: auto / span 3;
}

.equipment {
  grid-column: auto / span 6;
}

.safety {
  grid-column: auto / span 12;
}

.safety-stats {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, auto);
}

.safety h3 {
  font-size: 20px;
  margin: 20px 0;
}

.safety .stat {
  padding: 20px 10px;
}

.safety .number {
  font-size: 48px;
  font-weight: 500;
  line-height: 48px;
  margin-bottom: 5px;
}

.human-resources,
.payroll,
.holidays {
  grid-column: auto / span 4;
}

/*.grid3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.grid4 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.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; }*/

}