* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    height: 75%;
    margin: 1%;
}

p {
    margin-bottom: 0 10px;
}

button, #download-merchant-button{
  box-sizing: border-box;
  appearance: none;
  background-color: blue;
  border: 2px solid blue;
  border-radius: 35px;
  color: white;
  cursor: pointer;
  display: flex;
  align-self: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  margin: 10px auto;
  padding: 1.2em 2.8em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

#download-merchant-button{
  width: max-content;
}


#classification-input{
  margin-top: 10px;
  width: 35%;
  display: inline-block;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 2px rgb(204, 204, 204);
  transition: all .5s ease;
  position: relative;
  text-align: left
}

#location-input{
  margin-top: 10px;
  width: 35%;
  display: inline-block;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 0 2px rgb(204, 204, 204);
  transition: all .5s ease;
  position: relative;
  text-align: left;
  margin-left: 10px;
}

.content{
    display: block;
    margin: 0 auto;
}

.container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-top: 5px;
}

#scatter_graph{
  width: 100%;
}

#table_container{
  height: 100%;
  width: 50%;
}

#table_graph{
  top: 15px;
  width: 100%;
}

#table_graph table{
  border-collapse: collapse;
  border: 1px solid #ddd;
}

#table_graph svg{
  height:100%;
}

#table_graph table tr{
  border: 1px solid #ddd;
}

#bar_container{
  height: 100%;
  width: 50%;
}

#bar_graph{
  width: 100%;
  margin-right: 10px;
}

#bar_graph svg{
  height: 100%;
}

#bar_graph .main-svg{
  margin-top: 20px;
}

#bar_container #modebar-c64ffc svg{
  top: 0;
}


/* Media query for mobile*/ 
@media (max-width: 700px) {  
  .container {
    flex-direction: column;
  }

  /*Fixes the shrink table and bar graph on mobile. Change the following rules if structure changes*/
  #table_container{
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
  }

  #bar_container{
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
  }
}

