* {
    box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #333;
}

header {
  padding: 10px 10px;
  box-sizing: border-box;
  background-color: #333;
}

nav {
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  color: red;
}

.brand-title {
  font-size: 1.5rem;
  margin: 1.5rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links ul li {
  list-style: none;
}

.navbar-links ul li a {
  display: block;
  text-decoration: none;
  color: red;
  padding: 1rem;
}

.navbar-links li:hover {
  background-color: #555;
}

.toggle-button {
  position: absolute;
  top: .75rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 50px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: red;
  border-radius: 10px;
}

@media (max-width: 800px) {
    .navbar {
    flex-direction: column;
    align-items: flex-start;
    }

    .toggle-button{
      display: flex;
    }

    .navbar-links {
      display: none;
      width: 100%;
    }

    .navbar-links ul {
      width: 100%;
      flex-direction: column;
    }

    .navbar-links ul li {
      text-align: center;
    }

    .navbar-links ul li a {
      padding: .5rem 1rem;
    }

    .navbar-links.active {
      display: flex;
    }
}

.box {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      align-items:center;
      margin-left: 30px;
    }

.box div {
        display: inline-block;
        padding: 1px;
        text-align: middle;
        color: red;
        font-family: arial, sans-serif;
      }

.box a {
  display: block;
  text-decoration: none;
  color: red;
  padding: 1rem;
  text-align: middle;
}

.box a:hover {
  background-color: #555;
  border-radius: 12px;
}

.container {
  background-color: #333;
}

.content {
  margin-left: 30px;
}

.action {
  margin-left: 30px;
  top: 10;
}

.action ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.action ul li {
  list-style: none;
}

.action ul li a {
  display: inline-block;
  text-decoration: none;
  color: red;
  padding: 1rem;
}

.action li:hover {
  background-color: #555;
  border-radius: 10px;
}

table.view {
  border-collapse: collapse;
  table-layout: auto;
  width: 1500px;
  text-align: left;
  border-spacing: 0;
}

tr:nth-child(even) {
  background: #CCC;
}

tr:nth-child(odd) {
  background: #e0e0d1;
}

th {
  background: #6a61ad;
  color: white;
  font-weight: bold;
}

th, td {
  padding: 5px;
}

tfoot {
  background: #797474;
  color: red;
}

div.centertext {
  text-align: center;
}

input[type=text], select, textarea{
 width: 100%;
 padding: 5px;
 border: 1px solid #ccc;
 border-radius: 4px;
 box-sizing: border-box;
 resize: vertical;
}

label {
 padding: 6px 60px 12px 0;
 display: inline-block;
 color: white;
 text-decoration-style: double;
}

input[type=submit] {
 background-color: #9f9ea7;
 color: white;
 font-size: 14px;
 font-weight: bold;
 padding: 2px 2px;
 border: none;
 border-radius: 5px;
 cursor: pointer;
 float: left;
}
input[type=submit]:hover {
  background-color: #d25c3d;
}

.selectfile {
       display: flex;
       align-items: flex-start;
       justify-content: flex-start;
     }
     input[type=file] {
       position: absolute;
       z-index: -1;
       top: 10px;
       left: 15px;
       font-size: 16px;
       color: #b8b8b8;
     }
     .button-wrap {
       position: relative;
     }
     .button {
       display: inline-block;
       padding: 12px 18px;
       cursor: pointer;
       border-radius: 5px;
       background-color: #9f9ea7;
       font-size: 14px;
       font-weight: bold;
       color: #fff;
     }
     .button:hover {
       background-color: #d25c3d;
     }

.col-25 {
 float: left;
 width: 190px;
 margin-top: 6px;
}

.col-75 {
 float: left;
 width: 550px;
 margin-top: 6px;
}

.col-120 {
  float: left;
  width: 120px;
  margin-top: 3px;
}

.col-300 {
  float: left;
  width: 300;
  margin-top: 3px;
}

.col-20 {
  float: left;
  width: 100px;
  margin-top: 3px;
}

.col-15 {
  float: left;
  width: 15;
  margin-top: 3px;
}

.column {
  float: left;
  width: 400px;
  padding: 1px;
}

.row:after {
 content: "";
 display: table;
 clear: both;
}

.view {
  border-collapse: collapse;
  table-layout: auto;
  width: 1200px;
  text-align: left;
  border-spacing: 0;
}

.viewdetails {
  border-collapse: collapse;
  table-layout: auto;
  width: 800px;
  text-align: left;
  border-spacing: 0;
  }

.tinyviewdetails {
  border-collapse: collapse;
  table-layout: auto;
  width: 400px;
  text-align: left;
  border-spacing: 0;
  }

.flex-parent-element {
  display: flex;
  width: 50%;
  }
  
.flex-child-element {
  flex: 1;
  margin: 10px;
  }
  
.flex-child-element:first-child {
  margin-right: 10px;
}

.white {
  text-decoration: none;
  color: white;
}

.alignh div {
  float: left;
  clear: none;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1200px) {
 .col-25, .col-75, input[type=submit] {
   width: 100%;
   margin-top: 0;
 }
}

a.black:link, a.black:visited {
  color: black;
  padding: 2px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.black:hover, a.black:active {
  background-color: grey;
  color: white;
}

a.std:link {
  color:#1315d6;
  text-decoration:none;
}
a.std:visited {
  color:#ff0000;
  text-decoration:none;
}

a.std:hover {
  text-decoration:underline;
}

.buttonmenu {
  display: inline-block;
  padding: 12px 18px;
  cursor: pointer;
  background-color: #333;
  font-size: 14px;
  font-weight: bold;
  color: red;
  border: 0px;
}

.buttonmenu:hover {
  background-color: #555;
  border-radius: 10px;
}

h2 {
  font-style: 16px;
  color: white;
}
