/*
category_column holds video and video-preload holds up-down holds product-info.

up-down has the video on the top and the description on the bottom.

product-info has the the entire description.
*/

.category_sales_column {
	display: grid;
}

.category_column {
	display: grid;
	grid-template-columns: 60px 9fr;
}

.video-preload {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(640px, 1fr));
	grid-auto-rows: 440px;
    border: 1px solid red;
}

.video {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.video:hover {
}

.up-down {
	display: grid;
}

.fireworks-name {
	grid-area: fireworks-name;
}

.price {
	grid-area: price;
}

.shots {
	grid-area: shots;
}

.height {
	grid-area: height;
}

.time {
	grid-area: time;
}

.product-info {
	display: grid;
	grid-template-areas: "fireworks-name fireworks-name fireworks-name fireworks-name price		price"
		                 "shots          shots          height         height         time      time";
	grid-gap: 2px;
	padding: 2px;
}

.product-info:hover { 
}

.favourite-info {
	display: grid;
	grid-template-areas: "fireworks-name fireworks-name fireworks-name fireworks-name price		price"
		                 "shots          shots          height         height         time      time";
	grid-gap: 2px;
	padding: 2px;
}

.favourite-info:hover { 
	background-color: pink;
}

.up-down:hover { 
}

h1 {
	text-align: center;
	align-self: center;
	justify-self: center;
}

.h1Class {
	text-align: center;
	align-self: center;
	justify-self: center;
	visibility: visible;
}

.category {
	align-self: center;
	justify-self: center;
	transform: rotate(270deg);
}

a {
    text-decoration: none;
 	display: block; 
	height: 100%; 
	width:100%;
}

a:hover { 
	border: 2px solid red;
}

iframe {
	width: 100%;
	height: 90%;
}

.purchase {
	font-size: 150%;
}

.pageTop {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#purchaseListHeader {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#purchaseList {
	border: 1px solid black;
	height: 100vh;
}

img {
	max-width: 95%;
	height: 200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	align: middle;
}

body {
	font-family: Helvetica, Arial, sans-serif;
}

.delete {
	cursor: pointer;
	text-align: center;
	font-size: 200%;
}

.delete:hover {
	border: 1px solid red;
}

.orderEntry {
	border: 1px solid black;
}

.orderEntryWrapper {
	display: grid;
	grid-template-columns: 9fr 1fr;
}

.container {
	max-width:130px;
	max-height:130px;
	width: auto;
	height: auto;
	display: block;
    overflow: hidden;
}

.container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.buttonHeader {
	display:grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 4fr;
	margin:auto;
	width:90%;
}
.parent {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

button {
   white-space: nowrap;
   text-align: center;
   margin:auto; 
	font-size:auto;
}

.buttonForm {
   	margin:auto; 
	width:90%;
}

.loc { margin: auto; font-size: 400%; font-weight: bold;}

.row::after {
  content: "";
  clear: both;
  display: table;
}

.discountLabel {
	height: 1.4em;
	width: 11em;
	color: black;
	background-color: white;
	position:relative;
	top: -7.5em;
	left: 6em;
	text-align: center;
	z-index: 1;
}

.discountPercent {
	font-style: italic;
	text-decoration: underline;
}

.discountPrice {
	height: 1.2em;
	display: inline-block;
	width: 4em;
	font-size: x-large;
	font-weight: bold;
	background-color: yellow;
	display inline-block;
	position:relative;
	top: -4.2em;
	left: 5em;
	text-align: center;
	z-index: 1;
}

/* START ADDED BY WOODY*/
/* Dropdown Button */
.dropbtn {
  background-color: #e74a4a;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #e74a4a;}
/* END ADDED BY WOODY*/
