/*
 =========================================================
  Motorbiking Child CSS
 =========================================================
*/

/* header & navigation */
.navbar .navbar-nav .nav-item .nav-link {
	font-weight: 900;
	font-size: 1.1rem;
}
.navbar .dropdown .show a:hover {
	background-color: #ff0000;
}
.navbar .navbar-brand {
	height: 68px;
}
.navbar-brand {
  display: flex;
	align-items: center;
}
.navbar-collapse::after {
	background-color: #eee;
}
.logo-image {
	overflow: hidden;
}
body.navbarclear {
	padding-top: 106px;
}

/* general formatting and globals */
a {
	color: #006F9A;
}
.anchor {
	padding-top: 106px;
	margin-top: -106px;
}
a.anchor {
	display: block;
	position: relative;
	top: -80px;
	visibility: hidden;
}
p {
	font-size: 16px;
}
.main-raised {
	margin-top: 0px;
}
.card-description {
	font-size: 14px;
}
h1, .h1 {
	font-size: 3rem;
	line-height: 1.15em;
}
.title, .card-title, .info-title, .footer-brand, .footer-big h5, .footer-big h4, .media .media-heading {
	font-weight: 700;
	font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
.strikeout {
	text-decoration: line-through;
	color: #999;
}
.nopadding {
	padding: 0;
	margin: 0;
}
.col-centered {
	float: none;
	margin: 0 auto;
}

/* homepage */
.content-slider ul {
	list-style: none outside none;
	padding-left: 0;
	margin: 0;
}
.content-slider li {
	text-align: center;
}
.content-slider img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	margin: auto;
}
h4.bike-title {
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.2rem;
	padding: 6px;
	height: 42px;
	display: block;
}
.price-new {
	font-weight: 900;
}
.new-bikes-item {
	margin: 3px;
	-webkit-box-shadow: 0 0 10px -px rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.4);
	min-height: 340px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.imgcontainer {
	background-color: #efefef; 
	position: relative; 
	width: 100%; 
	padding-top: 75%; /* 4:3 aspect ratio */
}
.imgcontainer img {
	position: absolute; 
	top: 0; 
	left: 0; 
	bottom: 0; 
	right: 0; 
}
.team-player .card {
	margin: 6px;
	padding: 6px;
}

/* listings */
.cover {
		object-fit: cover;
		height: 100%;
		width: 100%;
}
.imgHolder > a {
    display: block;
    /* 4:3 aspect ratio */
    padding-top: 75%;
    /* center align pt. 1 */
    position: relative;
		background-color:#efefef;
}
.imgHolder > a > img {
    /* fit within container */
    max-width: 100%;
    max-height: 100%;
    /* center align pt. 2 */
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
div.listings-header {
    position: relative;
}
div.listings-header a {
    position: absolute;
    right: 0px;
    top: 0px;
		font-size: 0.8rem;
		font-weight: 500;
}
.bike-item .bike-title {
	font-size: 1.3rem;
	margin: 0;
	font-weight: 500;
	line-height: 1.6rem;
}
.bike-item .bike-price {
	font-size: 1.2rem;
	font-weight: 500;
	color: #333;
}
.bike-item .bike-title a {
	color: #000;
}
.bike-item .bike-thumbnail:hover img {
	-webkit-transform: scale(1.05);
	-ms-transform: scale(1.05);
	transform: scale(1.05);
}
.bike-item .bike-thumbnail {
	overflow: hidden;
	position: relative;
	display: block;
}
.bike-item .bike-thumbnail img {
	-webkit-transition: .3s all ease;
	-o-transition: .3s all ease;
	transition: .3s all ease;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
.bike-item p {
	font-size: 14px;
}
.bike-item small {
	font-size: 14px;
	font-weight: 500;
	color: #666;
}
span.tagline {
	font-weight: 700;
}
span.status-sold {
	font-weight: 700;
	text-transform: uppercase;
	color: #FF0000;
}
span.status-reserved {
	font-weight: 700;
	text-transform: uppercase;
	color: #0000FF;
}

/* bike view */
h3.bike-price {
	font-size: 1.8rem;
	font-weight: 500;
}
.carousel-inner {
	background-color: #ddd;
}
.carousel-inner img {
	margin: auto;
}
.mfp-bg {
	opacity: 0.9;
}
.badge {
	font-size: 20px;
}
.badge.badge-primary {
	background-color: #007bff;
}
#mn-finance {
	scroll-margin-top: 80px;
}

/* contact and map page */
select.form-control {
	font-size: 1rem;
	font-weight: 500;
	-moz-appearance: menulist;
	-webkit-appearance: menulist;
	border: 1px solid #eee;
	background: none;
}
.form-group {
	margin-bottom: 0;
}
.map-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}
.map-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

/* testimonials page */
.testimonial-item h5 {
	font-size: 0.9rem;
	font-weight: 500;
}
.testimonial-item p {
	line-height: 1rem;
}
.testimonial-popup {
	position: relative;
	background: #FFF;
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
}

/* footer */
.footer-text {
	font-size: 0.7rem;
	line-height: 1rem;
}

/* back-to-top */
.back-to-top {
		z-index:100;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display:none;
		padding:16px !important;
}

/* YouTube clips */
iframe[src*=youtube] {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		padding-bottom: 10px;
}
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* sell bike banner */
.sellbikebanner {
	margin-top:30px;
	margin-bottom:20px;
	position: relative;
	color:white;	
	text-align: right;
	max-width: 62%;
}
.sellbikebanner a {
	color: white;
}
.sellbikebannertext {
	position: absolute;
	right:18px;	
	bottom:18px;
}
.sellbikebannertext h3, .sellbikebannertext h4 {
	color: #FFFFFF;
	text-shadow: 3px 3px 4px rgba(64,64,64,0.8);
	padding:0;
	margin:0;
	font-weight: 700;
}
.sellbikebannertext h3{
	font-size:42px;
}
.sellbikebannertext h4{
	font-size:22px;
}

/* media queries */
@media only screen and ( min-width:767px) {
	.nodesktop {
		display: none;
	}
}
@media (max-width: 1199px) and (min-width: 768px) {
	h1 {
		font-size: 2rem;
	}	
.navbar .container {
    max-width: 1024px;
}	
	.navbar .navbar-nav .nav-item .nav-link {
		font-size: 1rem;
		white-space: nowrap;
		padding: 10px;
	}
}
@media(max-width: 768px) {
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.8rem;
		line-height: 1.8rem;
	}
	h4 {
		font-size: 1rem;
	}
	.nomobile {
		display: none;
	}
}
@media(max-width: 767px) {
	.sellbikebanner {
		max-width: 100%;
	}
	.sellbikebanner h3 {
		font-size:1.5rem;
	}	
	.sellbikebanner h4 {
		font-size:0.8rem;
	}
}
@media(max-width: 380px) {
	.navbar .navbar-brand {
		height: 60px;
	}
}