/* Forms */
label {
    padding-right: 1em;
    padding-top: 2em;
    padding-bottom: 2em;
}

ul {
    list-style-type: none;
}

/* Main styles */
.main {
  padding: 10px;
}

#content {
    padding-left: 4em;
    padding-bottom: 5em;
}

.gallery-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-grow: 1;
  overflow-x: scroll;
  height: 130px;
  margin-bottom: 20px;
  scrollbar-width: none; /* remove default scrollbar */
  -ms-overflow-style: none; /* IE and Edge */
}

.gallery-container::-webkit-scrollbar {
  display: none; /* remove default scrollbar */
}

.container {  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  grid-template-rows: 0.25fr 0.5fr 0.5fr 0.5fr;
  gap: 0px 20px;
  grid-auto-flow: row;
  grid-template-areas:
    "Filter Title ."
    "Prev Image Next"
    ". Desc ."
    ". Notes .";
}

.Prev {
    display: block;
    width: 50px; 
    float: left;
    fill: white;
}

.Next {
    display: block;
    width: 50px;
    float: left;
    fill: white;
}

.Title { 
    display: block;
    clear: both;
}

.Image {  
    display: block;
    height: 50%;
}

.Filter { 
    display: block;
    float: right; 
}

.Desc {  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "Brand Date"
    "Style Price"
    "Size SKU";
  grid-area: Desc;
  height: 250px;
}

#galleryView {
    display: block;
    float: left;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 2em;
    padding-bottom: 6em;
    padding-left: 5em;
    padding-right: 5em;
}


.Size { grid-area: Size; }
.Date { grid-area: Date; }
.Price { grid-area: Price; }
.SKU { grid-area: SKU; }
.Style { grid-area: Style; }
.Brand { grid-area: Brand; }
.Notes { grid-area: Notes; }


h3 {
font-size: 16px;
letter-spacing: 2px;
word-spacing: 2px;
color: #FFFFFF;
font-weight: 700;
text-decoration: none;
font-style: normal;
font-variant: normal;
text-transform: uppercase;
}

/* Style the image divs */

.image-container {
  display: flex; /* Use flexbox to align the image and text */

}

/* Style the image */
.image-container img {
  max-width: 100%; /* Set the maximum width of the image to 100% of the container */
  max-height: 200px; /* Set the maximum height of the image */
  object-fit: contain; /* Scale the image to fit within the container */
  margin-right: 10px; /* Add some spacing between the image and text */
}

/* Style the text */
.image-container p {
  margin: 0; /* Remove any margin from the paragraphs */
  font-size: 18px; /* Set the font size of the text */
  font-weight: bold; /* Set the font weight of the text */
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table th,
table td {
  padding: 8px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ddd;
}

table th {
  background-color: black;
  color: white;
  font-weight: bold;
}

table td img {
  max-width: 100px;
  max-height: 100px;
  display: block;
  margin: 0 auto;
}

table tr {
  background-color: #cacaca;  
}

/* Alternate row background colors */
table tr:nth-child(even) {
  background-color: #f9f9f9;
}

container.td{
    padding: 10px;
}

@font-face {
  font-family: 'Akzidenz-Bold';
  src: url('akzidenz-grotesk-bold.eot'); /* IE9 Compat Modes */
  src: url('akzidenz-grotesk-bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('akzidenz-grotesk-bold.woff') format('woff'), /* Pretty Modern Browsers */
       url('akzidenz-grotesk-bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('akzidenz-grotesk-bold.svg#svgFontName') format('svg'); /* Legacy iOS */
}
* {
    box-sizing: border-box; 
    font-family: Akzidenz-Bold, Verdana, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.4px;
    line-height: 23px;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    background-image: url("img/sitebg.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: black;
}
#main {
    display: flex;
    flex: 1;
}
#main > article {
    flex: 1;
    margin-top: .2em;
}
#main > nav {
    order: -1;
    width: 150px;
    background-color: rgba(0, 0, 0, 0.5);
}
nav {
    padding-top: 1em;
}

.navImg {
    width: 60px;
    height: 60px;
    padding-top: 8px;
    padding-bottom: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

a:link {
    color: white;
    text-decoration: none;
}
a:visited {
    color: white;
}
a:hover {
    color: #FF0179;
}
a:active {
    color: grey;
} 

#links {
    float: right;
    margin-top: 1%;
    margin-right: 8%;
}

header {
    order: 0;
    height: 69px;
}
header p {
    display: block;
    float: left;
    padding-right: 2em;
}

#links {
color: white;
}

#addBox {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2em;
    height: 
}

#addBox input {
    color: #FF0179;
    margin: 1em;
}
#addBox label {
    color: white;
}
#addBox h1 {
    color: white;
}

footer {
    height: 30%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1em;
    padding-left: 2em;
}

footer p {
    color: white;
}

label{
    padding: 1em;
    display: block;
    float: left;
    clear: left;
}

.pagination {
				list-style-type: none;
				padding: 10px 0;
				display: inline-flex;
				justify-content: space-between;
				box-sizing: border-box;
			}
			.pagination li {
				box-sizing: border-box;
				padding-right: 10px;
			}
			.pagination li a {
				box-sizing: border-box;
				background-color: #e2e6e6;
				padding: 8px;
				text-decoration: none;
				font-size: 12px;
				font-weight: bold;
				color: #616872;
				border-radius: 4px;
			}
			.pagination li a:hover {
				background-color: #d4dada;
			}
			.pagination .next a, .pagination .prev a {
				text-transform: uppercase;
				font-size: 12px;
			}
			.pagination .currentpage a {
				background-color: #518acb;
				color: #fff;
			}
			.pagination .currentpage a:hover {
				background-color: #518acb;
			}