/* Written By   : Muhammad Mehroz Khan */

/*========================== Header ==========================*/

/*  Header logo */
#headerLogoIcon {
	height: 40px;
	width: 80px;
	margin: auto;
	margin-top: 5px;
	padding-right : 15px;
}

/*  Body content */
#body {
	padding-top: 50px;
	height: 100%;
	padding-bottom: 150px;
}

/*  Body content */
#userBody {
	padding-top: 170px;
	height: 100%;
	padding-bottom: 150px;
}

/*========================== Homepage ==========================*/

/* Section */
#homepagePhotoSlides {
	padding-top: 50px;
	padding-bottom: 50px;
}

/*  Photo Slides */
#magnetAd {
	margin-bottom: 100px;
	height: 100%;
}

/* Hr Line */
#homepageHrLine {
	padding-bottom: 50px;
}

/* Item Thumbnail */
#homepageItemThumbnail {
	position: relative;
	border-radius: 8px;
	border: 1px solid #4c4c4c;
	margin-bottom: 30px;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}
#homepageItemThumbnail:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	border: 2px solid #4c4c4c;
}

/* Item Image Div */
#homepageItemImageDiv {
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
	padding-top: 75%;
}

/*  Item image */
#homepageItemImage {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

/* Item Name */
#homepageItemName {
	color: #4c4c4c;
	font-size: 20px;
	font-weight: bold;
	padding-top: 10px;
	text-align: center;
}

/* Item Location */
#homepageItemLocation {
	color: #4c4c4c;
	font-size: 18px;
	text-align: center;
	margin-top: -10px;
}

/*  Item price */
#homepageItemPrice {
	color: red;
	font-size: 28px;
	text-align: center;
}

/*========================== Login Page ==========================*/

/* Text boxes */
#loginForm {
	margin-top: 20px;
	margin-right: 4px;
	margin-bottom: 8px;
}

/* Login button */
#loginBtn {
	background-color: red;
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	font-size: 16px;
	font-weight: bold;
}

#loginBtn:hover,
#loginBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/* Register new account button */
#newACBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 200px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	margin-left: 20px;
	float: right;
	font-size: 16px;
}

#newACBtn:hover,
#newACBtn:focus {
    color: white;
    background-color: #32CD32;
}

/*========================== Register Account Page ==========================*/

/* Text boxes for register & new item form*/
#regForm, #newItemForm {
	margin-top: 20px;
	margin-right:4px;
	margin-bottom:8px;
}

/* Go back button */
#backBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	font-size: 16px;
}

#backBtn:hover,
#backBtn:focus {
    color: white;
    background-color: red;
}

/* Register & add button */
#registerBtn, #addBtn {
	background-color: #32CD32;
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	margin-left: 20px;
	float: right;
	font-size: 16px;
	font-weight: bold;
}

#registerBtn:hover,
#registerBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

#addBtn:hover,
#addBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/*========================== User Account Page ==========================*/

/* Add item button */
#addItemBtn {
	background-color: red;
	border-radius: 8px;
	border: none;
	display: inline-block;
	cursor: pointer;
	color: white;
	width: 100%;
	height: 100px;
	font-size: 20px;
	margin: auto;
	margin-top: 20px;
}

#addItemBtn:hover,
#addItemBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/* Logout button */
#logoutBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 40px;
	font-size: 13px;
	float: right;
	margin: auto;
	margin-top: -100px;
	padding: 11px;
}

#logoutBtn:hover,
#logoutBtn:focus {
    color: white;
    background-color: red;
}

/* Edit profile button */
#editProfileBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 40px;
	font-size: 13px;
	float: right;
	margin: auto;
	margin-top: -45px;
	margin-bottom: 30px;
}

#editProfileBtn:hover,
#editProfileBtn:focus {
    color: white;
    background-color: red;
}

/* Add funds button */
#AddFundsBtn {
	background-color: #32CD32;
	border-radius: 8px;
	border: none;
	color: white;
	width: 140px;
	height: 40px;
	font-size: 13px;
	margin: auto;
}

#AddFundsBtn:hover,
#AddFundsBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/* Withdraw funds button */
#withdrawFundsBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 140px;
	height: 40px;
	font-size: 13px;
	margin: auto;
}

#withdrawFundsBtn:hover,
#withdrawFundsBtn:focus {
    color: white;
    background-color: red;
}

/*========================== Withdraw funds Page ==========================*/

/* Withdraw funds button */
#withdrawBuyerFundsBtn {
	background-color: red;
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	margin-left: 20px;
	float: right;
	font-size: 16px;
	font-weight: bold;
}

#withdrawBuyerFundsBtn:hover,
#withdrawBuyerFundsBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/*========================== Item Page ==========================*/

/* Go back button */
#itemBackBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 40px;
	font-size: 13px;
	float: left;
	margin: auto;
	margin-top: -100px;
	margin-bottm: 50px;
	padding: 11px;
}

#itemBackBtn:hover,
#itemBackBtn:focus {
    color: white;
    background-color: red;
}

/* Withdraw funds button */
#itemTitle {
	margin-top: -60px;
}

/* Withdraw funds button */
#adImageDisplay {
	margin: 0 auto;
	margin-bottom: 30px;
}

/* Price */
#itemPageAdPrice {
	margin-top: 50px;
}

/* Buy button */
#buyItem {
	background-color: #FFD700;
	border-radius: 8px;
	border: none;
	color: black;
	height: 60px;
	font-size: 18px;
	font-weight: bold;
	margin: 0 auto;
	margin-top: 50px;
	margin-bottom: 15px;

}

#buyItem:hover,
#buyItem:focus {
    color: white;
    background-color: #DAA520;
}

/*========================== Delete Account Page ==========================*/

/* Delete button */
#delateBtn {
	background-color: red;
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	margin-left: 20px;
	float: right;
	font-size: 16px;
	font-weight: bold;
}

#delateBtn:hover,
#delateBtn:focus {
    color: white;
    background-color: rgba(0,0,0,0.8);
}

/*========================== Help Page ==========================*/

/* Form submit button */
#formSubmitBtn {
	background-color: rgba(0,0,0,0.8);
	border-radius: 8px;
	border: none;
	color: white;
	width: 120px;
	height: 50px;
	margin: auto;
	margin-top: 20px;
	font-size: 16px;
	font-weight: bold;
}

#formSubmitBtn:hover,
#formSubmitBtn:focus {
    color: white;
    background-color: red;
}

/*========================== Footer ==========================*/

/* Section */
#footerSection {
	padding-top: 50px;
	padding-bottom: 50px;
	background-color: #4c4c4c;
}

/* Footer Text */
#footer	{
	color: white;
	padding-top: 20px;
	font-size: 14px;
}
