/*Specific Items in the websites creation includes important items that could not be generalised for mostly JS purposes*/
/*Pages*/
/*Login Page Content*/
.backgroundTest
{
	background-image: url("../images/slide/riderBackground2.jpg");
	background-repeat: no-repeat;
    background-size: cover;
	background-position:center;
}
.forgotText
{
	color:red;
	border-bottom: #1e1e1e 1px solid;

	font-size:10px;
	margin:5px;
	padding:0;
	cursor:pointer;
	float:right;
}
.forgotText:hover
{
	color:darkred;
	border-bottom: darkred 1px solid;
}
.loginText
{
	width:100%;
	color:grey;
	background-color:transparent;
	border:none;
	border-bottom: 1px grey solid;
}
.loginText:hover
{
	border-bottom: 1px white solid;
}
.loginText:focus
{
	outline:none;
	color:white;
	border-bottom: 1px white solid;
}
.loginButton
{
	border:1px solid #1E1E1E;
	border-radius: 5px;

	padding:10px;
	margin:10px;

	width:40%;
	height:fit-content;
	color:white;

	cursor: pointer;
}
.loginButton:hover {
	background-color: #2f2f2f;
	border:1px solid white;
}
.loginButton:disabled {
	background-color: darkred;
	border:1px solid white;
}

/*Error Page Content*/


.alert {
	padding: 20px;
	background-color: #f44336;
	color: white;
	opacity: 1;
	transition: opacity 0.6s;
  }
  
  .alert.success {background-color: #04AA6D;}
  .alert.info {background-color: #2196F3;}
  .alert.warning {background-color: #ff9800;}
  
  .closebtn {
	margin-left: 15px;
	color: white;
	font-weight: bold;
	float: right;
	font-size: 22px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
  }
  
  .closebtn:hover {
	color: black;
  }


/*Landing Page Content*/


#landingContent
{
	background-image: url("../images/slide/riderBackground1.jpg");
	background-repeat: no-repeat;
    background-size: cover;
	background-position: center center;
}
.logo
{
	width:auto;
	height:auto;
	padding:10px;
	float:left;
}
.foreground
{
	position:absolute;
	width:fit-content;
	height:fit-content;
	padding:0 20%;
}
.background
{
	display:flex;
	
	width:100%;
	height:100%;
	min-height: fit-content;
	
	background-color:rgba(0, 0, 0, 0.5);
}
.column {
	float: left;
	width: 25%;
	min-width:250px;
	padding: 0 10px;
	margin:20px 0;
	height:100%;
  }
  .row {margin: 0 -5px;}
  .row:after {
	content: "";
	display: table;
	clear: both;
  }
  .card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
	padding: 16px;
	text-align: center;
	background-color: #f1f1f1;
  }
  .buttonLanding
  {
	display:block;
	border-radius: 10px;
	border: 1px solid white;
	cursor:pointer;

	background: #e61d21;
	color: white;

	text-align: center;
	text-decoration:none;
	width:25%;
	height:fit-content;
	padding:25px;

  }
  .buttonLanding:hover
  {
	border: 1px solid #e61d21;

	background: white;
	color: #e61d21;
  }


/*Account Page Content*/


.account
{
	background-image: url("../images/slide/riderBackground1.jpg");
	background-repeat: no-repeat;
    background-size: cover;
	background-position: center center;
	display:flex;
}
.accContainer
{
    display:flex; 
	width:750px;
    height:500px;
    
	position:absolute;
    
    top:50%;
    margin-top:-250px;
    
    left:50%;
    margin-left:-375px;
    
    padding: 10px 25px;
	background-color: white;
	color:black;
    border-radius:25px;
}
.accContainer button
{
	cursor:pointer;
	border:white;
	background: white;
	color:grey;
}
.accWrapper
{
	display:block;
    width:750px;
    height:100%;
}
.accTop
{
	display:block;
    position:relative;
    width:100%;
    height:fit-content;
}
.accNav
{
	display:flex;
    position:relative;
    width:100%;
    height:fit-content;

	border-bottom: grey 1px solid;
}

.accNav a
{
	margin-left:5px;
	padding:5px;

	cursor:pointer;
	color:black;
	border-bottom: white 1px solid;
}
.accNav a:hover
{
	color:#e61d21;
	border-bottom: #e61d21 1px solid;
}

.accDisplay
{
	display:flex;
    position:relative;
	padding:20px;
    width:100%;
    height:fit-content;
}

@media screen and (max-width: 750px) {
	.accContainer
	{
		max-width: 100%;

		top:20%;
		margin-top:0%;
		
		left:0%;
		margin-left:0px;
	}
}

/*Selector Content*/
.selectorContainer
{
	display:flex;
	flex-direction: column;
	background-color: rgb(255, 255, 255);
	flex-wrap:wrap;
	justify-content:center;
	align-items: center;
	min-width:100vw;
	min-height:100vh;
}
.selectorContainer h3
{
	color:rgb(221, 52, 52);
	border-bottom: 2px solid rgb(221, 52, 52);
}
.selectorWrapper
{
	display: flex;
	flex-wrap:wrap;
	flex-direction: row;
	justify-content: center;
	background-color: white;
	color:black;
	padding:20px;
	margin:20px;
	width: 90%;
	height: fit-content;
}
.selectorWrapper a
{
	text-decoration: none;
	color:black;
	text-align: center;
}
.selection
{
	position: relative;
	width:200px;
	height: fit-content;
	margin:10px;
	background-color: white;
}
.selection p
{
	margin:0;
	padding:10px;
}
.selection img
{
	width:100%;
	height:100%;
}
.selection:hover
{
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.selectionContent
{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	padding:25px;
	background-color: white;
	color:black;
	text-align: center;
}

/*Product Page Content*/


.products
{
	display:flex;
	flex-wrap: wrap;
	justify-content:center;
	padding: 25px;
}
/*Main Wrapper for the product*/
.pMainWrapper
{
	display:flex;
	flex-wrap:wrap;
	width:fit-content;
	height:fit-content;

	overflow: hidden;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 0;
	transform: scale(0.95);
	transition: box-shadow 0.5s, transform 0.5s;
	&:hover{
	  transform: scale(1);
	  box-shadow: 5px 20px 30px rgba(0,0,0,0.2);
	}
}
/*Form Content Wrapper*/
.pLongWrapper
{
	background: white;
	color:black;
	padding:10px;
	margin:5px;
	width: 300px;
	height: fit-content;
}

.product_form
{
	display:flex;
	flex-direction:column;
	flex-wrap: wrap;
}

.product_form select
{
	width:90%;
	height:50px !important;
	padding:2px;
	border:none;
	border: 1px solid #e61d21;
	margin:5px;
}

.product_form input[type='submit'], .product_form a
{
	cursor: pointer;
	text-align: center;
	background-color: #e61d21;
	color:white !important;
	width:90%;
	padding:10px;
	border:none;

	align-self: center;
}

/*Description Content Wrapper*/
.pShortWrapper
{
	color:black;
	width: 300px;
	height: 500px;
	position: relative;
	overflow: hidden;
  }
/*Main Container for product parts*/
  .container{
	width:100%;
	height:100%;
  }
/*Top of the product*/
  .productTop{
	display:flex;
	flex-direction:column;

	justify-content: center;
	align-items: center;


	height: 80%;
	width:100%;
  }
  .productTop img{
	width: 100%;
}
/*Bottom Of the product*/
  .productBottom{
	width: 200%;
	height: 20%;
	transition: transform 0.5s;
	&.clicked{
	  transform: translateX(-50%);
	}
  }
  /*h1 for the product? might be changed*/
	.details h1{
		font-size:90%;
		margin:0;
		padding:0;
	}
/*Left part of the bottom component, for opening product listing options*/
	.left{
	  height:100%;
	  width: 50%;
	  background: #f4f4f4;
	  position:relative;
	  float:left;
	  .details{
		padding: 5px;
		float: left;
		width: calc(70% - 40px);
			p{
				margin:0;
				padding:0;
			}
		}
	}
	/*The buy button*/
	.open{

		float:right;
		width: calc(30% - 2px);
		height:100%;
		background: #f1f1f1;
		transition: background 0.5s;
		border-left:solid thin rgba(0,0,0,0.1);
		&:hover{
			background: #04AA6D;
		}
	}
	.open i{
			font-size:30px;
			padding:30px;
			color: #254053;
			transition: transform 0.5s;
			cursor:pointer;
			&:hover{
				transform:translateY(5px);
				color:white;
			}
		}
	/*Right component for the purchase menu for removing the panel*/
	.right{
	  width: 50%;
	  background: #04AA6D;
	  color: white;
	  float:right;
	  height:100%;
	  overflow: hidden;
	}
	/*The details "Product was added + product name"*/
	.details{
		float: right;
		padding:10px;
		width: calc(70% - 40px);
	  }

	  .close{
		width: calc(30% - 1px);
		border-right:solid thin rgba(255,255,255,0.3);
		height:100%;
		background: #BC3B59;
		transition: background 0.5s;
		&:hover{
		  background: #9B2847;
		}
	  }
	  
	  .close i{
		transition: transform 0.5s;
		font-size:30px;
		padding:30px;
		color: white;
		&:hover{
			cursor: pointer;
			transform: translateY(5px);
		  }
	  }
/*Extra Information for the product*/
.productInner{
  z-index:9;
  background: #e61d21;
  width:140px;
  height:140px;
  position: absolute;
  top: -70px;
  right: -70px;
  border-radius: 0px 0px 200px 200px;
  transition: all 0.5s, border-radius 2s, top 1s;
  overflow: hidden;
  .icon{
	position:absolute;
	right:85px;
	top:85px;
	color:white;
	opacity: 1;
  }
  &:hover{
	width:100%;
	right:0;
	top:0;
	border-radius: 0;
	height:80%;
	.icon{
	  opacity: 0;
	  right:15px;
	  top:15px;
	}
	.contents{
	  opacity: 1;
	  transform: scale(1);
	  transform: translateY(0);
	}
  }
  
}

/*Description of the product or its use etc...*/
.contents{
	color: white;
	padding: 5%;
	opacity: 0;
	transform: scale(0.5);
	transform: translateY(-200%);
	transition: opacity 0.2s, transform 0.8s;
  }
  .contents p{
	font-size:13px;
  }

/*Filter Content*/


  .filterSection
  {
	display:flex;
	justify-content:space-around;
	width:100%;
	height:fit-content;
	position:relative;
	border-bottom:1px solid black;
	padding:0px 0px 5px 0px;
  }
  .filterWrapper
  {
	position: block;
	color:black;
	width:fit-content;
	height:fit-content;
	border-radius: 5%;
  }
  .filterSelector
  {
	display:flex;
	flex-wrap:wrap;
	margin-left:10px;
  }
  .filterSelector label
  {
	display:block;
	margin-right:5px;
  }
  .filterSelector select
  {
	appearance: none;
	/* safari */
	-webkit-appearance: none;

	display:block;
	background-color: white;
	border-radius: 10%;
	border:2px solid black;
	width:fit-content;
	min-width: 75px;
	padding:2px 5px !important;
  }
  .filterSelector select:hover
  {
	border:2px solid #e61d21;
  }
  .filterWrapper input[type="submit"]
  {
	display:block;
	border:1px solid white;
	background-color: red;
	color:white;
	width:fit-content;
	min-width: 75px;
	max-width: 150px;
	padding:2px 5px !important;
  }

/*Cart Page Content*/


.cartTable
{
	border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.cartTable thead tr
{
	background-color: #e61d21;
    color: #ffffff;
    text-align: left;
}

.cartTable th,
.cartTable td {
    padding: 12px 15px;
}

.cartTable tbody tr {
    border-bottom: 1px solid #dddddd;
}

.cartTable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.cartTable tbody tr:last-of-type {
    border-bottom: 2px solid #e61d21;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
.buttonCart
{
  display:block;
  border-radius: 10px;
  border: 1px solid white;

  background: #e61d21;
  color: white;

  text-align: center;
  text-decoration:none;
  width:25%;
  height:fit-content;
  padding:25px;

}
.buttonCart:hover
{
  border: 1px solid #e61d21;

  background: white;
  color: #e61d21;
}
@media  screen and (max-width: 600px) {
	.cartTable
	{
		min-width:10px;
		max-width: 100%;
		width:100%;
		margin: 25px 0;
	}
	.cartTable th,
	.cartTable td {
		padding: 6px 7px;
	}
	.buttonCart
	{
		width:50%;
	}
	.tooLittleSpace
	{
		display:none;
	}
}

/*Footer Content*/


footer
{
	padding:0px;
	padding-top:5px !important;
	max-width:100vw;
}
footer a
{
	color: white;
	text-decoration: none;
	margin:3px;
}
footer a:hover
{
	color: #e61d21;
	border-bottom: #e61d21 1px solid;
	padding:0px;
	text-decoration: none;
}

.footerWrapper
{
	display:flex;
	flex-wrap: wrap;
	width:100%;
	align-items:top;
	justify-content:center;
}
.footerLogo
{
	display:flex;
	flex-direction:column;
	align-items:left;
	margin:0px 100px;
}
.footerCol
{
	display:flex;
	align-items:center;
	justify-content:space-between;
}
.footerCol div
{
	width:50%;
	text-align:center;
}
.contactus
{
	display:flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content:center;	
}
.contactus dl
{
	padding:10px;
	
}
.contactus dt
{
	margin-top:5px;
}
.contactus dd
{
	padding-top:2px;
	padding-right:5px;
	padding-bottom:5px;
}

/*Nav Bar Content*/
.navbar
{
	background:#2f2f2f;
	height:fit-content;
	display:flex;
	align-items: center;
	justify-content:space-around;
}
  
	ul.navlist {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	}

  ul.navlist li { float: left; }

  ul.navlist li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
  }
  
  ul.navlist li a:hover:not(:active) {background-color: #111;}
  
  ul.navlist li a:active {background-color: #252525;}
  .smallNav
  {
	display: none;
  }
  @media screen and (max-width: 600px) {
		.navbar
		{
			flex-direction: column;
			align-items: center;
			justify-content:center;
		}
	}

/*Graphic*/


.loading-graphic {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
  }
  .loading-graphic div {
	display: inline-block;
	position: absolute;
	left: 8px;
	width: 16px;
	background: #e61d21;
	animation: loading-graphic 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  }
  .loading-graphic div:nth-child(1) {
	left: 8px;
	animation-delay: -0.24s;
  }
  .loading-graphic div:nth-child(2) {
	left: 32px;
	animation-delay: -0.12s;
  }
  .loading-graphic div:nth-child(3) {
	left: 56px;
	animation-delay: 0;
  }
  @keyframes loading-graphic {
	0% {
	  top: 8px;
	  height: 64px;
	}
	50%, 100% {
	  top: 24px;
	  height: 32px;
	}
  }
  