/* stylesheet for the dragon age character page layouts */
main {
  width: 95%;
}


/* *** THE VERTICAL TABS *** */
/* Style the tab */
.navtabs {
  float: right;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  width: 30%;
  height: 100%;
  margin-bottom: 16px; /* to push the pagination below the buttons */
}

/* Style the buttons that are used to open the tab content */
.navtabs button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 22px 16px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
}

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

/* Create an active/current "tab button" class */
.navtabs button.active {
  background-color: #ccc;
}

/* Style the tab content. Include display:none to set to "blank" */
.tabcontent {
  display: none;
  float: left;
  padding: 0px 12px;
  /* border: 1px solid #ccc; */
  width: 70%;
  border-left: none;
  height: 100%;
}

/* apply display:block when tab made active thru JS */
.tabcontent .active {
  display: block;
}

/* set first tab as the default open tab on load, WAS WORKING, stopped working? put fix into HTML */
.tabcontent:nth-of-type(1) 

/* PAGINATION */

.pagination {
  clear: right;
  padding: 8px;
}

.pagination p {
  text-align: center;
  padding: 5px;
}

.pagination a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}
