html {
  height: 100%;
}

body {
  height: 100%;
}

.page-background {
  background-color: darkgray;
  /* height: 100%; */
  margin: 0;
  display: grid;
}

h1 {
  margin: 2px;
  margin-top: 0px;
  text-decoration: underline;
}

ul#menu {
  bottom: -1px;
  left: 23%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
}

ul#menu li {
  float: left;
  padding: 1px;
}

ul#menu li a {
  background-color: gray;
  /* border-radius: 4px 4px 0 0; */
  border-style: solid;
  border-width: 1px;  
  border-color: black;
  color: white;
  display: block;
  margin-bottom: 6px;
  margin-left: 8px;
  padding: 10px 19px;
  text-align: center;
  text-decoration: none;
  width: 100px;
}

ul#menu li a:hover {
  background-color: white;
  color: black;
}

.heading {
  background-color: lightgray;
  border-style: solid;
  border-width: 1px;  
  left: 50%; 
  margin-left: -390px;
  padding: 5px;
  position: relative; 
  margin-bottom: 1%;
  margin-top: 1%;
  width: 780px; 
}

.options {
  bottom: -5px;
  font-size: 1em;
  margin-left: -40px;
  margin-right: 10px;
  position: absolute;
  right: 0;
  text-align: right;
  width: 100%;
}

.center-col {
  /* background-color: white; */
  color: black;
  left: 50%;
  margin-left: -390px;
  position: relative; 
  margin-bottom: 1%;
  margin-top: 1%;
  width: 791px; 
}

.center-paper-top {
  background-color: white;
  border-color: black;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  font-size: 1.1em;
  height: 42px;
  padding: 5px;
  position: relative;
  /* padding-left: 20px; */
  /* text-align: center; */
  width: 780px;
  word-wrap: break-word;
}

.center-paper {
  background-color: white;
  border-color: black;
  border-style: solid;
  border-width: 0 1px 1px 1px;
  font-size: 1.1em;
  height: 100%;
  /* min-height: 720px; */
  padding: 0.6%;
  /* padding-left: 20px; */
  /* text-align: center; */
  width: 780px;
  word-wrap: break-word;
}

#styleOpt {
  display:none;
  margin-left: 35px;
  margin-right: 15px;
}

.paper-backing {
  background-color:whitesmoke;
  border-style:solid;
  border-width:1px;
  border-top-style:none;
  border-bottom-style:none;
  /* height:923px; */
  /* left:43%; */
  /* margin:auto; */
  margin-left:auto;
  margin-right:auto;
  padding-bottom:7px;
  /* margin-left:-390px; */
  /* position:relative;*/
  width:900px;
}

.center-index {
  padding-left:40px; 
  width:745px;
}

.welcome-paper {
  float:left; 
  padding-left:25px; 
  padding-right:25px; 
  padding-bottom:25px; 
  width:740px;
}

.library-welcome {
  padding-bottom: 85px; 
}

.profile-image {
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
}

.profile-background {
  background-color:#868686; 
  border-style: solid;
  border-width: 1px;
  height: 150px;
  padding: 1%;
  width: 20%;
}

.name-image {
  border-style: solid;
  border-width: 1px;
  height: 80px;
  left: -1px;
  padding: 0;
  position: absolute;
  width: 99%;
}

.name-background {
  background-color:#868686; 
  border-style: solid;
  border-width: 1px;
  float: left;
  height: 87px;
  left: 22.5%;
  padding-bottom: 0px;
  padding-top: 5px;
  position: absolute;
  top: 19px;
  width: 76%;
}

.gallery-backing:hover {
  border-color: #b7b7b7;
  color: #222;
  cursor: pointer;
}

.gallery-backing:hover .gallery-text {
  background-color: #ddd;
  /* background-color: white; */
  border-color: #505050;
  color: #222;
}

.gallery-backing:hover .gallery-image-background {
  background-color: #ddd;
  /* background-color: white; */
  border-color: #505050;
  color: #222;
}

.gallery-backing:hover .gallery-image {
  background-color: #ddd;
  /* background-color: white; */
  border-color: #505050;
  color: #222;
}

.gallery-image {
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
}

.gallery-image2 {
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  height: 99%;
  width: 99%;
}

.gallery-image-background {
  background-color: #868686;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  float: left;
  height: 104px;
  padding: 10px;
  width: 102px;
}

.gallery-image2-background {
  background-color: #868686;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  float: left;
  height: 169px;
  padding: 10px;
  width: 169px;
}

.gallery-backing:hover .gallery-image2-background {
  background-color: #ddd;
  /* background-color: white; */
  border-color: #505050;
  color: #222;
}

.gallery-backing:hover .gallery-image2 {
  background-color: #ddd;
  /* background-color: white; */
  border-color: #505050;
  color: #222;
}

.gallery-text {
  background-color: #868686;
  border-color: black;
  border-style: solid;
  border-width: 1px;
  color: white;
  float: left;
  font-weight: bold;
  height: 100px;
  margin-left: -1px;
  margin-top: 2px;
  padding: 10px;
  width: 239px;
}

.gallery-subtext {
  color: #ccc;
  float: left;
  font-size: 0.8em;
  height: 100px;
  width: 239px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .galTitle {
  visibility: hidden;
  width: 160px;
  background-color: rgba(0, 0, 0, .7);
  color: #fff;
  text-align: center;
  /* border-radius: 2px; */
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 10%;
  left: 50%;
  margin-left: -85px;
}

.tooltip:hover .galTitle {
  visibility: visible;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    border-radius: 3px;
    margin: auto;
    padding: 20px;
    border: 1px solid #000;
    width: 767px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10.5%;
    top: 8%;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* 
.gallery-image-background-right {
  background-color: #8C5229;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  float: left;
  height: 104px;
  margin-right: 20px;
  padding: 10px;
  position: absolute;
  right: 0;
  width: 102px;
}
 */
 
/* --- TEST --- */
#welcome {
  width:100%; 
  text-align:center; 
  font-size:40px;
}

.display-list {
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  width: 100%;
}

.display-content {
  /* background-color: #eee; */
  float: left;
  font-size: 19px;
  padding: 2px;
  padding-left: 22px;
  text-align: left;
  width: 96.6%;
}

.search-dropdown {
  border: 1px solid black;
}

.library-heading {
  bottom: 0px; 
  float: left; 
  font-size: 22px; 
  position: absolute; 
  width: 50%;
}

.update-layout {
  border-top: 1px solid black;
  float: left;
  font-size: 1.3em;
  width: 50%;
}

.update-layout:hover {
  cursor: pointer;
}

.update-icon {
  font-size: 20px;
  /* font-weight: bold; */
  padding: 5px;
  font-family: sans-serif;
}

.hover-pointer {
  color: blue;
}

.hover-pointer:hover {
  cursor: pointer;
}

.tag-list {
  border: 1px solid black; 
  margin: 3px; 
  padding: 2px; 
  text-align: center;
}

.tag-list:hover {
  cursor: pointer;
}
/* --- TEST --- */
 
.story-title {
  bottom: 0;
  font-size: 1.2em;
  font-weight: bold;
  margin-left: -40px;
  position: absolute;
  text-align: center;
  width: 100%;
}


.folded-corner {
	border-top: 30px solid rgb(221,221,221);
	border-right: 30px solid transparent;
  bottom: 51px;
	height: 0;
  position: absolute;
  right: 0;
  width: 0;
}

.page-corner {
	border-bottom: 30px solid rgb(134, 134, 134);
	border-left: 30px solid transparent;
  bottom: 51px;
	height: 0;
  position: absolute;
  right: 0;
  width: 0;
}

.altOptions {
    font-size: 1em;
    list-style-type: none;
    margin: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid #000;
    border-bottom-width: 0;
    /* background-color: #f1f1f1; */
    background-color: #ddd;
    text-align: right;
    width: 792.5px;
}

/* #pgSelect {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
} */

.pgLinks {
  text-decoration: none;
}

ul.tab {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top: 14px;
  padding-bottom: 16px;
  overflow: hidden;
  border: 1px solid #000;
  border-top: 0;
  background-color: #ddd;
  /* background-color: #f1f1f1; */
  text-align: center;
  width: 790px;
}

/* Float the list items side by side */
ul.tab li {
  display: inline-block
}

/* Style the links inside the list items */
ul.tab li a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.tab li a:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
ul.tab li a:focus, .active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
}

.alert {
    background-color: #2196F3;
    border-color: black;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    color: white;
    display: none;
    padding: 20px;
    width: 750px;
}

.alert a {
  color: white;
  font-weight: bold;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

a:link {
  color: blue;
}

/*
.load {
  font-size: 18px;
  text-align:center;
  width:100%;
}
*/

.dropArrow {
  bottom: inherit;
  height: 20px; 
  left: 0;
  padding: inherit;
  position: absolute; 
  right: inherit;
  width: 20px;
}

.dropArrow:hover {
  cursor: pointer;
}

.bottomBar {
  background-color: lightgray;
  border-style: solid;
  border-width: 1px;
  bottom: 0; 
  height: 20px;
  /* left: 0; */
  padding: 10px;
  position: fixed;
  right: 0;
  text-align: right;
  /* width: 100%; */
  z-index: 999; 
}

.toggleBar {
  background-color: lightgray;
  border-style: solid;
  border-width: 1px;
  bottom: 0; 
  height: 20px;
  right: 1px;
  padding: 10px;
  position: fixed;
  text-align: right;
  width: 20px;
  z-index: 999; 
}