body {
  background-color: lightgray;
  /* Text color change across the whole website */
  /* color: purple; */
}

/* Navbar active box highlight */
.active {
  background-color: #04aa6db9;
  color: white;
}

/* Dropdown but it is more of a drop"up" in the footer */
.dropdown {
  position: relative;
  display: inline-block;
  min-width: 160px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 350px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
  bottom: 100%;
}

.dropdown-content a {
  color: inherit;
  padding: 2px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Used in the blog post, link for more info in italics */
.moreInfo {
  font-style: italic;
  display: inline;
}

.all-posts {
  margin: 0;
  padding: 5px;
  background-color: lightgray;
}

.all-posts>h1,
.browser {
  margin: 10px;
  padding: 5px;
}

.post {
  background: white;
  padding: 5px;
  margin: 10px;
  border-style: solid;
  border-color: black;
}

.post>p {
  margin: 4px;
  font-size: 90%;
}

footer {
  background-color: #04aa6db9;
  width: 100%;
}

table,
th,
tr,
td {
  border-style: solid;
  border-color: black;
  padding: 3px;
  text-align: center;
}

/* Study Completion colors */
.study-complete {
  background-color: lightgreen;
}

.study-upcoming {
  background-color: lightgrey;
}

.study-ongoing {
  background-color: lightskyblue;
}

.study-failed {
  background-color: lightcoral;
}

.study-half-complete {
  background-color: lightgoldenrodyellow;
}

/* Table Legend setup */
.legend {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.legend span {
  border: 2px solid black;
  float: left;
  width: 12px;
  height: 12px;
  margin: 3px;
}

/* Dashboard boxes */
.flex-container {
  display: flex;
}

.flex-child-1 {
  flex: 1;
}

.flex-child-2 {
  margin-right: 5px;
}

progress {
  margin-top: 30px;
  margin-left: 50px;
  /* transform: rotate(-90deg); */
  height: 275px;
}

progress:before {
  content: 'Current EC: ' attr(value) ' / ' attr(max);
}

/* Home page boxes version 2.0 */
/* Change class names perhaps */

.col-container {
  display: table;
  /* Make the container element behave like a table */
  width: 100%;
  /* Set full-width to expand the whole page */
  margin: auto;
  padding: 5px;
}

.box {
  width: 30%;
  height: 500px;
  border: 2px solid black;
  margin: auto;
  padding: 5px;
  display: table-cell;
}

.image-border {
  border: 3px solid black;
}

/* Navbar*/
#navbar {
  overflow: hidden;
  background-color: #333;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  border: 1px solid grey;
}

#navbar a:hover {
  display: inline;
  background-color: grey;
  /* Used for testing */
}

/* The side navigation menu */
.sidenav {
  /* 100% Full-height */
  height: 100%;
/* 0 width - change this with JavaScript */
  width: 0;
  /* Stay in place */
  position: fixed;
  /* Stay on top */
  z-index: 1;
  /* Stay at the top */
  top: 0;
  left: 0;
  /* Black*/
  background-color: #111;
  /* Disable horizontal scroll */
  overflow-x: hidden;
  /* Place content 60px from the top */
  padding-top: 60px;
  /* 0.5 second transition effect to slide in the sidenav */
  transition: 0.5s;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

.side-menu {
  position: fixed;
}

.side-menu-icon {
  width: 50px;
}

.social-icons {
  width: 50px;
  height: auto;
  padding: 5px;
}

.image-gallery {
  padding: 2px;
  display: inline-flex;
}

/* Esports Table Results & Colors */
.ongoing {
  background-color: lightskyblue;
  font-style: italic;
  font-weight: bold;
}
.result-1 {
  background-color: gold;
  color: black;
  font-weight: bold;
}
.result-2 {
  background-color: gray;
  color: white;
  font-weight: bold;
}
.result-3-4 {
  background-color: brown;
  color: white;
  font-weight: bold;
}
.result-4 {
  background-color: burlywood;
  color: black;
  font-weight: bold;
}
.result-5-6 {
  background-color: #007f98;
  color: white;
  font-weight: bold;
}
.result-8 {
  background-color: #007f98;
  color: white;
  font-weight: bold;
}
.result-11-12 {
  background-color: #176f83;
  color: white;
  font-weight: bold;
}
.esports-event-logo,
.esports-team-logo {
  width: 30px;
  height: auto;
  margin: -2px;
}
.table-striped {
  font-size: 15px;
}
table {
  width: 100%;
}

/* Profile */
.personal-list {
  font-size: 15px;
  margin-top: 0;
  text-align: left;
}

.personal-list p {
  font-style: italic;
  text-decoration: underline;
}

#myP {
  font-size: 40px;
}

/* Overwrite the color of the links back to blue since one imported CSS changes it to black/grey */
a {
  color: #337ab7;
}

/* Blog Post: Traffic Light */
.trafficLightOrange {
  background-color: orange;
}
.trafficLightRed {
  background-color: orangered;
}