/*
 * File: tab.css
 * Description: Styles for the tab elements.
 * Author: Greg Whitehead
 * Created: 2022-07-15
 * Last Updated: 2025-07-14
 * Notes: This file contains styles specific to the tab elements.
 */

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  overflow-x: auto;
}
div#profile.tabcontent {
  display: block;
}

#profile_content {
  overflow-x: auto;
  display: block;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

#profile_content input[type=text] {
  width: 50%;
}

@media screen and (max-width: 750px) {
  #profile_content input[type=text] {
    width: 80%;
  }
}

.restrictedButton {
  background-color: #d6d6d6;
}

.acknowledgement {
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;

}
.acknowledgement a {
  display: inline-block !important;
  text-transform: unset !important;
}