/* top-level container, sets the shadow */
.card { 
       box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
       padding: 2px 8px;
       background-color: #eee;
}

/* container for all elements within the profile */
.profile { 
      padding: 14px;
      margin: 16px 0;
}

/* formats the content in the container */
.profile::after { 
      content: "";
      clear: both;
      display: table;
      background-color: #ccc;
}

/* formats all images within the container */
.profile img { 
      float: left;
      margin-right: 20px;
      border-radius: 50%;
}

/* formats the span tags within the container */
.profile span {
      font-size: 15px;
      margin-right: 2px;
      color: white;
}

/* allows content to resize based on window size */
@media (max-width: 500px) { 
      .profile {
            text-align: center;
       }
       .profile img {
             margin: auto;
             float: none;
             display: block;
       }
}

/* expandable element used in the page. NEEDS the 1 to not effect the expandable elements in the left nav */
.accordion1 { 
       background-color: #505050;
       color: white;
       cursor: pointer;
       padding: 8px;
       width: 70%;
       border: none;
       text-align: left;
       outline: none;
       font-size: 15px;
       transition: 0.4s;
}

/* changes the accordion's color when active or hovered */
.active, .accordion1:hover { 
       background-color: #234271;
}

/* places the + on the accordion */
.accordion1:after { 
       content: '\002B';
       color: #777;
       font-weight: bold;
       float: right;
       margin-left: 5px;
}

/* changes the accordion's + to a - */
.active:after { 
       content: '\2212";
}

/* the container for content in the expandable accordion */
.panel { 
       padding: 0 18px;
       width: 70%;
       background-color: #c7c7c7;
       overflow: hidden;
       max-height: 0;
       transition: max-height 0.2s ease-out;
}

/* the container for the profile buttons. Investigator names are located here */
.tab { 
  overflow: hidden;
  background-color: #0080bc;
}

/* if using an image for a nametag, this formats it */
.tab img {
  float: right;
  border-radius: 0%;
  margin-left: 0px;
}

/* formats the buttons inside the tab element */
.tab button { 
      background-color: #ccc;
      float: left;
      border: none;
      outline: none;
      cursor: pointer;
      padding: 8px 10px;
      font-size: 14px;
      transition: 0.3s; 
}

/* formats the appearance of this button when hovered over */
.tab button:hover { 
      background-color: #ddd;
}

.tabcontent0 { 
      color: black;
      display: none;
      padding: 6px 12px;
      background color: #eee;
      -webkit-animation: fadeEffect 1s;
      animation: fadeEffect 1s;
  	  font-size: 13px;
}

.tabcontent1 { 
      color: black;
      display: none;
      padding: 6px 12px;
      background color: #eee;
      -webkit-animation: fadeEffect 1s;
      animation: fadeEffect 1s;
  	  font-size: 13px;
}

.tabcontent2 { 
      color: black;
      display: none;
      padding: 6px 12px;
      background color: #eee;
      -webkit-animation: fadeEffect 1s;
      animation: fadeEffect 1s;
  	  font-size: 13px;
}

.tabcontent3 { 
      color: black;
      display: none;
      padding: 6px 12px;
      background color: #eee;
      -webkit-animation: fadeEffect 1s;
      animation: fadeEffect 1s;
  	  font-size: 13px;
}

.tabcontent4 { 
      color: black;
      display: none;
      padding: 6px 12px;
      background color: #eee;
      -webkit-animation: fadeEffect 1s;
      animation: fadeEffect 1s;
  	  font-size: 13px;
}

/* specifies the fading effect used above */
@-webkit-keyframes fadeEffect { 
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}