/*

	Glendale Designs Custom Programming for AOMC
	Customer Garage. Layout V2
	Ticket: 20178165
	GDCP
	
*/

/* Mega Menu */
#navbar_garage_items .x-garage--menu-helptext {
	white-space: normal;
	font-size: 0.9rem;
	text-transform: none;
	line-height: 1.5 !important;
	border: 1em solid rgba(255,255,255,0);
	display: block;
}
#navbar_garage_items .x-garage--menu-linktext {
	white-space: normal;
}
@media screen and (min-width: 960px) {
	ul#navbar_garage_items {
		min-width: 200px;
		width:300px;
		left:auto;
		right:0;
	}
	ul#navbar_garage_items:before {
		content: "Bikes";
		font-weight: bold;
		font-size: 1rem;
		text-transform: uppercase;
		display: block;
		width: 100%;
		text-indent: 0.75rem;
		padding-bottom: 1em;
	}
	#navbar_garage_items .x-garage--menu-helptext {
		border-top: none;
		border-left: none;
	}
	.x-hover--allowed #navbar_garage_items .x-garage--menu-linktext a:hover {
		color: #f15a2f;
	}
}


/* Essential Items (Used on CTGY page) */
.essential_items, 
.essential_items--title, 
.x-garage--add-to-garage, 
.essential_items--caption,
.essential_links{
	padding: 1rem;
}
.x-garage--add-to-garage, 
.essential_links {
	padding-top: 0;
}
.essential_items--title {
	padding-top: 0;
	padding-bottom: 0.25em;
	line-height: 1;
}
.essential_items--caption {
	padding-top: 0;
	color: #777;
}
.essential_items--link {
	display: block;
	line-height: 1.3;
	margin: 0;
	padding: 0.25em 0;
}

.essential_items--link {
	color: #1ac8e2;
}
.x-hover--allowed .essential_items--link:hover{
	color: #f15a2f;
}
.essential_items--link.active {
	color:#f15a2f;
	font-weight: 700;
}
.x-garage--already-in-msg {
	display: block;
	padding-top:1rem;
}
.x-garage--add-to-garage-link {
	line-height: 1.6; 
	padding-top:2px;
}
.x-garage--add-to-garage-link-icon {
	font-size: 17px;
	vertical-align: top;
	margin-right: 3px !important;
}
.x-garage--add-to-garage-link-icon:before {
}
.essential_items--v2 .essential_links {
	-webkit-columns: 2;
	-moz-columns: 2;
	columns: 2;
}
@media screen and (min-width: 480px) {
	.essential_items--v2 .essential_links {
		-webkit-columns: 3;
		-moz-columns: 3;
		columns: 3;
	}	
}

/* LOGIN Page Garage Section */
.x-garage--icon {
	display: block;
	width:40px;
	height:40px;
	background:url('./bike-icon-tn.png') center center no-repeat;
	background-size: contain;
}

/* GARAGE Page V2 */
.x-garage--garage-navbar-item.column {
	padding: 0 0.3rem;
}
.x-garage--garage {
	display: flex;
	flex: 0 1 auto;
	flex-direction: row;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
	align-items: center;
	width: 100%;
	border-bottom: 1.3rem solid #fff;
}
.x-garage--item-count {
	display: flex;
	flex-basis: calc(100% / 12 * 3);
	max-width: calc(100% / 12 * 3);
	text-align: center;
	justify-content: center;
	color: #e5e5e5;
	font-size: 36px;
	line-height: 1;
	font-weight: 300;
}
.x-garage--garage.active .x-garage--item-count,
.x-hover--allowed .x-garage--garage:hover .x-garage--item-count {
	color:#feb913;
}
.x-garage--item {
	display: flex;
	flex-direction: column;
	height: 100%;
	flex-basis: calc(100% / 12 * 9);
	max-width: calc(100% / 12 * 9);
}
.x-garage--item-name {
	padding: 0.5em;
	background:#d2d2d2;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.3;
}
.x-garage--item-link {
	flex: 1 1 auto;
	flex-basis: calc(100% / 12 * 12);
	max-width: calc(100% / 12 * 12);
	padding: 0 0 85% 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 80%;
	position: relative;
	z-index: 1;
}
.__available .x-garage--item-link:before {
	content: "AVAILABLE";
	display: block;
	position: absolute;
	top:47%;
	left: 0;
	width:100%;
	height:100%;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	text-align: center;
	color:#858585;
}
.x-garage--item-link:after {
	content: " ";
	display: block;
	position: absolute;
	top:0;
	left: 0;
	width:100%;
	height:100%;
	background-color: #ccc;
	opacity: 0.7;
}
.x-garage--garage.active .x-garage--item-link::after,
.x-garage--item-link:hover::after {
	background-color: #fcb931;
	opacity: 0.7;
}
.x-garage--item-remove {
	flex: 1 1 auto;
	flex-basis: calc(100% / 12 * 12);
	max-width: calc(100% / 12 * 12);
	background:#d2d2d2;
	color:#858585;
	text-align: center;
	line-height: 1.8;
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	padding: 0;
}
.x-hover--allowed .x-garage--item-remove:hover {
	background:#010100;
	color:#fff;
}
.x-garage--garage-content-title {
	font-size: 2rem;
	text-transform: uppercase;
	text-align: center;
	color:#feb913;
	font-weight: 500;
}
.x-garage--garage-content-bike {
	text-align: center;
}
.x-garage--garage-content-heading {
	display: block;
	margin: 0;
	padding: 0;
	height: 60px;
	background: url('./my-garage-txt.jpg') center center no-repeat;
	background-size: contain;
}
.x-garage--garage-content-products {
	padding: 1.5rem 0;
}
.x-garage--garage-content-products .category-product {
	height: 320px;
}
.x-garage--garage-content-cta-button {
	font-size: 1.5rem;
}
@media screen and (min-width: 30em) {
	.x-garage--garage-content-heading {
		height: 150px;
	}
	.__available .x-garage--item-link:before {
		top:47%;
		font-size: 1rem;
	}
}
@media screen and (min-width: 40em) {

}
@media screen and (min-width: 48em) {
	.__available .x-garage--item-link:before {
		top:47%;
		font-size: 9px;
	}
}
@media screen and (min-width: 60em) {
	.x-garage--item-count {
		font-size: 64px;
	}
	.__available .x-garage--item-link:before {
		top:47%;
		font-size: 1.3rem;
	}
}
@media screen and (min-width: 75em) {
	.x-garage--garage-content {
		padding-left: 2.5rem;
	}
}

