/**
 * Copyright (c) 2017-present, Facebook, Inc.
 * Copyright (c) 2020-present, Roland Marquis
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 */

* {
   box-sizing: border-box;
 } 

body {
  background-color: white;
  font-family: 'Helvetica';
  font-size: 3vmin;
  padding: 0;
  margin: 0;
}

header {
  background-color: #33812c;
  color: white;
  padding: 1em 2em;
}

footer {
    /* background-color: #33812c; */
    position: fixed;
    background-color: #f5f6f7;
  color: white;
  /* padding: 1em 2em; */
}

.bottombuttons {
    /* overflow: hidden; */
    background-color: #f5f6f7;
    position: fixed; 
    /* bottom: 1em; */
    width: 100%;
} 

.bottbutton {
    background-color: #33812c;
    /* position: fixed; */
    /* Green */
    border: none;
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 3vmin;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}

.listbutton {
  /* background-color: #B88B4A; */
  /* background-color: #E3C16F; */
  /* background-color: #ccc; */
  background-color: #c8c4b5;
  /* Green */
  border: none;
  /* color: white; */
  color: black;
  /* padding: 8px; */
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  /* font-size: 6vmin; */
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;

  /* float: left;
   border: 0.5em; */
   font-size: 1.5em;
   /* outline: none;
   cursor: pointer;
   padding: 14px 16px;
   transition: 0.3s; */
   width: 99%;
}

.gamebutton {
  background-color: #33812c;
  /* Green */
  border: none;
  color: white;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
}

.navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background: #F1F1F1;
    color: #333;
}

.navbar a.active {
    background-color: #33812c;
    color: white;
}

/* .main {
    padding: 16px;
    margin-bottom: 30px;
} */

/* section {
  margin: 2em;
} */

#info-section {
  margin: 2em;
} 

#overview-section {
  margin: 2em;
}

input {
  padding: 0.8em;
  margin: 0.5em 0;
  width: 100%;
}

input[type=button] {
  background-color: #4968ad;
  color: white;
  font-size: 1em;
  font-weight: bold;
  -webkit-appearance: none;
}

input[type=text] {
  font-size: 1em;
}

input[type=number] {
  font-size: 1em;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

.overviewtab {
  background-color: #f5f6f7;
  border-collapse: separate;
  /*border-spacing: 0.5em; */
  border-spacing: 1em;
  /* font-size: 1.5em; */
  font-size: 1em;
  margin: 0.5em 0; 
  table-layout: auto; 
  width: 100%;
  /* height: 50%; */
}

/* Style the buttons that are used to open the tab content */
.overviewtab button {
  background-color: inherit;
  float: left;
  border: 0.5em;
  font-size: 1.5em;
  outline: none;
  cursor: pointer;
  /* padding: 18px 22px; */
  padding: 14px 16px;
  transition: 0.3s;
  width: 32%;
}

/* Change background color of buttons on hover */
.overviewtab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.overviewtab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  /* display: none; */
  padding: 6px 12px;
  border: 1px solid #ccc; 
  /* border: 1px #ccc; */ 
  border-top: none; 
}

table {
  background-color: #f5f6f7;
  border-collapse: separate;
  border-spacing: 1em;
  font-size: 1em;
  margin: 0.5em 0;
  table-layout: auto;
  width: 100%
} 

th {
  text-align: left;
}

td {
  color: #4968ad;
}

select {
  color: #4968ad;
  font-size: inherit;
}

option {
  color: #4968ad;
} 

.profile_picture {
  width: 4em;
  height: 4em;
}

/* .opp_picture {
  width: 3.8em;
  height: 3.8em;
  margin: 0.2em;
} */

.output {
  color: #4968ad;
}

.success {
  color: green;
}

.error {
  color: red;
}

.gamelistelement {
    border: 1em;
    /* background-color: #c5c6c7; */
}

/* .gameboard {
  padding: 1em;
  margin: 1em;
  max-width: 25%;
} */

.message-container:first-of-type {
  border-top-width: 0;
}

.message-container {
  display: block; 
  margin-top: 10px;
  border-top: 1px solid #f3f3f3;
  padding-top: 10px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* margin: 10px;
  border: 1px solid #f3f3f3;
  padding: 10px; */
  cursor: pointer;
  /* onclick window.location='http://google.com'; */
}

.message-container.visible {
  opacity: 1;
}

.message-container .pic {
  background-image: url('/images/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: 30px;
  border-radius: 20px;
  cursor: pointer;
}

.message-container .spacing {
  display: table-cell;
  vertical-align: top;
  cursor: pointer;
}

.message-container .message {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 0 5px 10px;
  cursor: pointer;
}

.message-container .name {
  display: inline-block;
  width: 100%;
  padding-left: 40px;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
  cursor: pointer;
}

.highlight-black {
  box-shadow: inset 0 0 3px 3px blue;
}
