* {
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.v-center {
  margin: 0;
  position: relative;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#topnav {
  overflow: hidden;
  position: fixed;
  z-index: 2;
  width: 100%;
  background-color: #111;
  height: 40px;
  line-height: 40px;
  display: flex;
}

#topnav a {
  float: left;
  display: block;
  background-color: #111;
  color: #f2f2f2;
  text-align: center;
  padding: 0px 0px;
  text-decoration: none;
  font-size: 30px;
  height: 40px;
}

#topnav a:hover {
  background-color: rgb(50, 50, 50);
  color: white;
}

#topnav a.active {
  background-color: #3f3f3f;
  color: white;
}

/* Style the search box inside the navigation bar */
#topnav input[type=text] {
  float: left;
  padding: 5px;
  border: none;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 17px;
  vertical-align: middle;
}

/* Search dropdown */

.dropdown {
  position: relative;
  width: 400px;
  height: 40px;
  display: inline-block;
}

.dropdown-content {
  position: fixed;
  top: 40px;
  left: 230px;
  font-family: "Courier New";
  font-size: 17px;
  background-color: #111;
  min-width: 212.5px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.dropdown-content a {
  color: #f2f2f2;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: rgb(50, 50, 50);
}

.show {
  display: block;
}


#companylabel {
  border-radius: 0px 0px 35px 35px;
  background: #111;
  color: white;
  text-align: center;
  font-size: 30px;
}

#content {
  padding-bottom: 50px;
  height: 100%;
  margin-top: 40px;
  /*margin: auto;
  transition: margin-left .5s;*/
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky+#content {
  padding-top: 60px;
}

#Companies {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ddd;
  border-left: 0px solid;
  border-right: 0px solid;
  font-size: 18px;
}

#Companies th,
#Companies td {
  text-align: left;
  padding: 12px;
}

#Companies #marketcap {
  text-align: right;
  padding: 12px;
}

#Companies tr {
  border-bottom: 1px solid #ddd;
}

#Companies tr.header,
#Companies tr:hover {
  background-color: #f1f1f1;
  font-weight: bold;
}

#Companies a {
  color: black
}

/* Create flex box for the container and the footer to always push the footer to the bottom */
.flex-wrapper {
  position: relative;
  min-height: calc(100vh - 84px);
  height: auto !important;
  height: 100%;
  /*min-height: calc(100vh - 80px);
  flex-direction: column;
  justify-content: space-between;*/
}

/* Create chart container */
.chart-container {
  margin: auto;
  height: 100%;
  width: 70%;
}

.chartDiv {
  padding-bottom: 50px;
}

.canvas {
  margin: 50px;
}

.left-container {
  float: left;
  margin: left;
  height: 100%;
  width: 15%;
}

#overview {
  margin: auto;
  width: 70%;
}



/* Sidebar */
.sidebar {
  height: 40px;
  width: 70%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 15%;
  bottom: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.75s;
  padding-top: 40px;
  text-align: center;
  border-radius: 50px;
  overflow: hidden;
}

.sidebar a {
  padding: 0px 15px 0px 15px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: inline-block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 30px;
  right: 25px;
  font-size: 36px;
  margin-left: 40px;
}

.openbtn {
  font-size: 30px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
  outline: none;
}

.openbtn:hover {
  background-color: #444;
}



/* Bottom bar */
#footer {
  position: absolute;
  bottom: 0px;
  height: 40px;
  width: 100%;
  background-color: #111;
  color: white;
  text-align: center;
}

#footer a {
  color: white;
  text-decoration: none;
}



/* Chart buttons */
#chartButton {
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chartButton button {
  border: 2px solid white;
  background-color: rgb(242, 242, 242);
  color: #111;
  padding: 8px;
  text-align: center;
}

#quarterlyButton {
  border: 2px solid #111;
}

#chartButton button:hover {
  border: 2px solid white;
  background-color: rgb(50, 50, 50);
  color: white;
}

#chartButton button:visited {
  border: 2px solid #111;
}

#selectYear {
  font-size: 13px;
  text-align: center;
  padding-bottom: 20px;
}

#selectYear select {
  font-size: 13px;
  text-align: center;
}


/* Font styles */
.fontbauhaus {
  font-family: "Bauhaus 93", "Courier New";
}

.fontcourier {
  font-family: "Courier New";
}



/* CSS for index page */
/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 34%;
  padding-top: 100px;
  padding-left: 33%;
  padding-bottom: 60px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


h1 {
  font-size: 1.17em;
  margin-top: 0.1em;
  margin-bottom: 0.1em;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}



@media only screen and (max-width: 1919px) {
  .chart-container {
    width: 95%;
  }

  .sidebar {
    width: 100%;
    left: 0%;
  }

  .sidebar a {
    font-size: 20px;
  }

  #Companies {
    font-size: 30px;
  }

  .column {
    width: 90%;
    padding-left: 5%;
  }
}