/*Log out timer modal*/
#logoutModal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 5px;
    z-index: 2002;
}
#logoutModal p
{
	color:white;
}
#countdown { font-size: 20px; font-weight: bold; color: red; }
#overlay {
    display: none;/* Hidden by default */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0, 0.75) !important;
}


/*From orig*/
.message
{
	text-align: center;
	color: red;
}

.message-box
{
	width: 90%;
	min-height: 55vh;
	margin: auto;
	text-align: center;
	padding-top: 50px;
	overflow:hidden;
	z-index: 200;
}

.announcement-block 
{
	background-color: rgb(244,251,115);
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 5px;
	margin-top: 10px;
	box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
	-webkit-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
}

.announcement-block a
{
	color: black;
	font-size: 16px;
}

.announcement-block a:hover
{
	color: red;
}

.announcement-block .x .fas
{
	float:right;
	margin-right: 20px;
	font-size: 20px;
	margin-top: -35px;
}

.text-box 
{
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
	text-align: center;
	color: #fff;
	width: 90%;
}

.text-box h1 
{
	font-size: 48px;
}

.text-box p 
{
	margin: 10px 0 40px;
	font-size: 14px;
}

* 
{
	font-family: "Noto Serif", serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.header 
{
	min-height: 40vh;
	width: 100%;
	background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
	url(../images/banner.png);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	z-index:2;
}

h1 
{
	font-size: 36px;
	font-weight: 600;
	margin:auto;
	clear:both;
}

p 
{
	color: #777;
	font-size: 12px;
	font-weight: 300;
	line-height: 22px;
	padding: 10px;
}

h3 
{
	text-align: center;
	font-weight: 600;
	margin: 10px 0;
}

/* ----------------------NAV----------------------*/
nav 
{
	display: flex;
	padding: 2% 6%;
	justify-content: space-between;
	align-items: center;
}

nav .fa1
{
	display: none;
}

nav img 
{
	width: 150px;
}

.nav-links 
{
	flex: 1;
	text-align: right;
	z-index: 2;
}

.nav-links ul li 
{
	list-style: none;
	display: inline-block;
	padding: 8px 10px;
	position: relative;
}

.nav-links ul li a 
{
	color: #fff;
	text-decoration: none;
	font-size: 13px;
}

.nav-links ul li::after 
{
	content: "";
	width: 0%;
	height: 2px;
	background: #f44336;
	display: block;
	margin: auto;
	transition: 0.5s;
}

.nav-links ul li:hover::after 
{
	width: 100%;
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a
{
	text-align: left;
}

/* Dropdown Button */
.dropdown .dropbtn {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 10px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Links Inside the Dropdown */
.dropdown-content li a {
    color: #fff;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    width: 100px;
    text-align: left;
}

/* Hover Effects */
.dropdown-content li a:hover {
    background-color: #575757;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}


/*----This is for the top NAV------*/
@media (max-width: 840px) 
{
	.header
	{
		/*background-image: none;*/
		background-color: black;
		background-size: 100%;
	}

	.text-box h1 
	{
		font-size: 20px;
	}
	.nav-links ul li 
	{
		display: block;
	}
	.nav-links 
	{
		position: absolute;
		background: #252525;
		height: auto;
		width: 200px;
		top: -1200px;
		right: 0px;
		text-align: left;
		z-index: 0.9;
		transition: 1.5s;
	}
	nav .fa1
	{
		display: block;
		color: #fff;
		margin: 10px;
		font-size: 22px;
		cursor: pointer;
	}
	.nav-links ul 
	{
		padding: 30px;
	}	
}

/*----------------------------------NAV2------------------------------------*/
.nav2-links
{
	flex: 1;
	z-index: 100;
}

.nav2-links ul li 
{
	list-style: none;
	display: inline-block;
	padding: 10px 12px;
	position: relative;
}

.nav2-links ul li a 
{
	color: #000;
	text-decoration: none;
	font-size: 13px;
}

.nav2-links ul li::after 
{
	content: "";
	width: 0%;
	height: 2px;
	background: #f44336;
	display: block;
	margin: auto;
	transition: 0.5s;
}

.nav2-links ul li:hover::after 
{
	width: 100%;
}

/*Test sub menu*/
.nav2-links ul li ul
{
	float:left;
}

.subnav .subnavbtn 
{
	border: none;
	outline: none;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
}

.subnav-content 
{
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	color: white;
	background: black;
	border: 1px gray solid;
	border-radius: 10px;
}

.subnav-content a 
{
	color: white;
	text-decoration: none;
	
}

.subnav-content ul li a 
{
	color: white;
	text-decoration: none;
	
}

.subnav:hover .subnav-content 
{
	transition: 1.5s;
	display: block;
}


/*---------This is for the EQUIP NAV2---------------*/
@media (max-width: 600px) 
{	

	.nav2-links ul li 
	{
		
		list-style: none;
		display: inline-block;
		padding: 8px 15px;
		position: relative;
	}

}

/* -------------------------------------forms----------------------------------- */
.formSection
{
	padding-top: 100px;
	width: 300px;
	margin: auto;
}

.formSection h1
{
	text-align: center;
}

.form input[type=text], .form input[type=password], .form input[type=email]
{
	width: 200px;
	padding-left: 5px;
}

.form button 
{
	width: 100px;
	margin-top: 20px;
	margin-left: 100%;
}

.form-border1
{
	border:1px solid black;
	border-radius: 10px;
}

.form-400
{
	width:400px;
}

.form-300
{
	width:300px;
}

.form-center
{
	margin:auto;
}

.padding-20
{
	padding:20px;
}

.cart-items li
{
	list-style: none;
}

/*----------------------------------------- equipment--------------------------------- */

/*This is for the equipment boxes that show an individual piece*/
.equipment 
{
	width: 420px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
	padding-top: 50px;
	background-color: #e8e9e9;
	/*border: 1px solid black;*/
	border-radius: 5px;
	box-sizing: border-box;
	transition: 0.5s;
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

.equipment:hover
{
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 1);
}

.equip-container
{
	display: flex;
	flex-flow:  row wrap;	
}

.imgHolder
{
	width: 200px;
	height: 100px;
	margin:auto;
}

.equip-child
{
	width: 300px;
	background-color: #e8e9e9;
	border-radius: 10px;
	margin:auto;
	margin-bottom: 40px;	
	padding: 20px 12px;
	box-sizing: border-box;
	transition: 0.5s;
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

.equip-child:hover 
{
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 1);
}

.equip-child ul
{
	list-style: none;
}

/*This is for the adding and editing equipment*/
.equipment table
{
	margin:auto;
	margin-bottom: 25px;
}

.equipment select
{
	width: 170px;
}

.equipment input[type=text]
{
	width: 172px;
}

.equipment .right
{
	margin:0px;
	padding-right: 5px;
	text-align: right;
}

.equipment .left
{
	margin:0px;
	padding-left: 5px;
	text-align: left;
}

.equip-button
{
	padding: 20px;
}

@media (max-width: 700px) 
{
	.equipment 
	{
		width: 100%;
	}	
}

/*----------------------------------------- Inventory--------------------------------- */

/*This is for the inventory boxes that show an individual piece*/
.inventory-container
{
	width: 100%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
	padding-top: 50px;
	background-color: #e8e9e9;
	/*border: 1px solid black;*/
	border-radius: 5px;
	box-sizing: border-box;
	transition: 0.5s;

}

.inventory-child
{
	max-width: 800px;
	background-color: #e8e9e9;
	border-radius: 10px;
	margin:auto;
	margin-bottom: 5px;	
	padding: 20px 12px;
	box-sizing: border-box;
	border: 1px black solid;
	transition: 0.5s;
	list-style: none;
}

.inventory-child:hover 
{
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 1);
}

@media (max-width: 700px) 
{
	.inventory-child 
	{
		width: 90%;
	}	
}

/*this is the modal on the return inventory page.*/
.item-quantity {
    width: 50px; /* Adjust as needed */
    padding: 5px;
    text-align: center;
}




.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    margin: 20% auto;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 25px;
    cursor: pointer;
}

.form-update-quantity
{
	width: 50px;
}


/* -------------------------------------------------login----------------------------- */
.login 
{
	width: 300px;
	height: 300px;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
	padding-top: 50px;
	background-color: #e8e9e9;
	/*border: 1px solid black;*/
	border-radius: 5px;
	box-sizing: border-box;
	transition: 0.5s;
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

.login:hover
{
	box-shadow: 0 0 20px 0px rgba(0, 0, 0, 1);
}

.login table
{
	margin:auto;
	margin-bottom: 25px;
}

.login select
{
	width: 170px;
}

.login input[type=text]
{
	width: 172px;
}

.login .right
{
	margin:0px;
	padding-right: 5px;
	text-align: right;
}

.login .left
{
	margin:0px;
	padding-left: 5px;
	text-align: left;
}

.login button
{
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

@media (max-width: 700px) 
{
	.login 
	{
		width: 100%;
	}	
}

@media (max-width: 700px) {
	.row 
	{
		/*flex-direction: column;*/
	}
}



/* 
footer 
*/
.footer 
{
	width: 100%;
	min-height: 8vh;
	text-align: center;
	padding: 30px 0;
	background: black;
	color: white;
	z-index: 1;
}

.footer p 
{
	color: white;
}

.footer h4 
{
	margin-bottom: 25px;
	margin-top: 20px;
	font-weight: 800;
}
.icons i 
{
	color: white;
	margin: 0 13px;
	cursor: pointer;
	padding: 18px 0;
	font-size: 25px;
}
.fa-heart 
{
	color: #f44336;
}
