
/* Base Page CSS */
.banner { grid-area: header; ;font-size: 12px; background-color: #376d95;}

.article { grid-area: article; font-family:verdana; text-align:center;font-size: 22px;background-color: white; text-align:center;}

.footer { 
  grid-area: footer;  
  font-size: 20px;  
  padding-top: 15px;
  color: whitesmoke;
  padding-bottom: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align:center;
  background-color: #27AE61;
  ;
  
}

.nav { grid-area: nav;  font-size: 30px;  text-align:center;background-color: #D3E4CD;border-radius: 25px;margin-left:10px;}

.search { 
  text-transform: capitalize;
  font-size: 30px;  
  text-align:center;
  margin-bottom: 25px;
  margin-top: 25px;
  }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #27AE61;

}

input .dropdown-info {
  float: left;
  width: auto;
  display: block;
  color: whitesmoke;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a {
  float: left;
  display: block;
  color: whitesmoke;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a.active {
  color: gray;
}

.topnav .search-container {
  float: right;
}

.topnav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
}

.topnav .search-container button {
  float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;


}
@media screen and (max-width: 600px) {
  .topnav .search-container {
    float: none;
  }
  .topnav a, .topnav input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .topnav input[type=text] {
    border: 1px solid #ccc;  
  }
}


.dropdown {
  float: left;
  text-decoration: none;
  border: none;
  overflow: hidden;
  
}

.dropbtn {
  font-size: 17px;  
  border: none;
  outline: none;
  color: whitesmoke;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  max-width: 100px;
  max-height: 5px;
  min-height: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  text-decoration: none;
  border: none;
}

.dropdown-content a {
  float: none;
  color: whitesmoke;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  text-decoration: none;
  border: none;
}

.dropdown-content a:hover {
  color: yellowgreen;
}

.dropdown:hover .dropdown-content {
  display: block;
  border: none;
  text-decoration: none;
}

#search_cat {
  line-height: 5px;
  color: #000;
  background: #fff;
  height: 4px;
  font-size: 15px;
  width: 60px;
  margin-top: 8px;
  margin-right: 1px;
  border-radius: 5px 0px 0px 5px;
  cursor: pointer;
}

/*CSS for mass book display search.php, advanced_search_display.php and index.php*/
.banner_img{
	height:auto;
  width: auto;
}

.row::after {
  content: "";
  clear: both;
  display: table;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.img-container{
  position: relative;
  float: left;
  width: 100%;
  height: 225px;
  padding-top: 20px;
  margin-left: auto;
  margin-right: 1000px;
}

.column{
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 20%; 
  max-width: 200px;
  height: auto;
  padding: 5px;
  padding-left: 80px;
  padding-right: 30px;
  outline-style: solid;
  outline-width: 1px;
  outline-color: #27AE61;
  
}


a, a:hover, a:focus, a:active {
  text-decoration: none;
  color: inherit;
}

.item-title {
  text-align: left;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
  color: #000;
  display: block;
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.item-price{
  padding-bottom: 20px;
  text-align: left;
  font-size: 13px;
  color: #3f3f3f;
  line-height: 22px;
  font-weight: 700;
  display: block;
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.item-author {
  text-align: left;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: #5c5c5c;
  display: block;
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.item-format {
  text-align: left;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  color: #3f3f3f;
  display: block;
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and(max-width: 500px){
  .column{
    width: 100%;
  }
  
}

.image {
  float: left;
  width: 100%;
  height: 100%;
  outline-style: solid;
  outline-width: 1px;
  outline-color: black;

}

/* Css For Forms user_creation.php, book_orders.php and advanced_search.php*/

/* Full-width input fields */
input[type=text_info],input[type=date], input[type=checkbox],input[type=number],input[type=tel] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}


input[type=text_info]:focus,input[type=date], input[type=checkbox],input[type=number],input[type=tel] {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for the submit button */
.registerbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  align-items: center;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity: 1;
  align-items: center;
}

/* Add a blue text color to links */
a {
  color: dodgerblue;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #f1f1f1;
  text-align: center;
}

/* Css for User And ISBN Search */
.book_search{
  width: 100%; 
  max-width: 75%;
  height: auto;
  padding-left: 175px;
}

.search_table {
  height: 350px;
  overflow: auto;
  border: 2px solid #f0f0f0;
  margin-bottom: 5px;
}


.item_book{
  position: relative;
  float: left;
  width: 100%;
  height: 175px;
  padding-top: 20px;
  margin-left: 10px;
  margin-right: 100px;
}

.book_title {
  text-align: left;
  font-size: 15px;
  margin-right: 10px;
  line-height: 18px;
  font-weight: 700;
  color: #000;
  display: block;
  width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.book_column{
  float: left;
  margin-right: 40px;
  margin-bottom: 10px;
  width: 40%; 
  max-width: 200px;
  height: auto;
  padding: 5px; 
  padding-left: 30px;
  padding-right: 30px;

  
}

/* Css For Tab Select user-list.php, sales.php and book_orders.php */

.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 50px;
  padding-bottom: 80px;
  width: 92%;
  height: auto;
  min-width: 240px;
}
.tabs input[name=tab-control] {
  display: none;
}
.tabs .content section h2,
.tabs ul li label {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  color: #428BFF;
}
.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}
.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tabs ul li label br {
  display: none;
}
.tabs ul li label svg {
  fill: #929daf;
  height: 1.2em;
  vertical-align: bottom;
  margin-right: 0.2em;
  transition: all 0.2s ease-in-out;
}
.tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
  outline: 0;
  color: #bec5cf;
}
.tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
  fill: #bec5cf;
}
.tabs .slider {
  position: relative;
  width: 50%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #27AE61;
  border-radius: 1px;
}
.tabs .content {
  margin-top: 30px;
}
.tabs .content section {
  display: none;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  line-height: 1.4;
}
.tabs .content section h2 {
  color: #27AE61;
  display: none;
}
.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #27AE61;
  margin-top: 5px;
  left: 1px;
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  color: #27AE61;
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
  fill: #27AE61;
}
@media (max-width: 600px) {
  .tabs input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}
.tabs input[name=tab-control]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  color: #27AE61;
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
  fill: #27AE61;
}
@media (max-width: 600px) {
  .tabs input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}
.tabs input[name=tab-control]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
  cursor: default;
  color: #27AE61;
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
  fill: #27AE61;
}
@media (max-width: 600px) {
  .tabs input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}
.tabs input[name=tab-control]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
  cursor: default;
  color: #27AE61;
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
  fill: #27AE61;
;
}
@media (max-width: 600px) {
  .tabs input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
    background: rgba(0, 0, 0, 0.08);
  }
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}
.tabs input[name=tab-control]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}
@-webkit-keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
  .tabs ul li label br {
    display: initial;
  }
  .tabs ul li label svg {
    height: 1.5em;
  }
}
@media (max-width: 600px) {
  .tabs ul li label {
    padding: 5px;
    border-radius: 5px;
  }
  .tabs ul li label span {
    display: none;
  }
  .tabs .slider {
    display: none;
  }
  .tabs .content {
    margin-top: 20px;
  }
  .tabs .content section h2 {
    display: block;
  }
}

/* CSS advanced_search.php */

select {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}
select:focus {
  background-color: #ddd;
  outline: none;
}

/* Css book_detailed.php */

.image_detailed{
  float: left;
  margin-left: 15px;
  width: 100%;
  height: 100%;
  min-height: 550px;
  max-height: 650px;
  max-width: 400px;
  outline: black;
  outline-width: 5px;
  outline-style: solid;
}

.item-detailed {
  margin-left: 450px;
  padding-bottom: 25px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
  color: #000;
  display: block;
  width: 1000px;
  
}