@import "https://fonts.googleapis.com/css2?family=Secular+One&display=swap";


.inventory .vehicle-card.layout-1 .inventory-title {
    word-break: break-all;
}
/*------------- VDP ---------------*/
.vdp-module-canvas-razor-wrapper .p-veh-card .dollar-symbol {
	left: 0 !important;
}

.vdp-module-canvas-razor-wrapper .veh__desc {
	color: var(--color-theme-text) !important;
}

.btn-secondary {
	background-color: var(--color-theme-secondary) !important;
	color: #ffffff !important;
	border-color: var(--color-theme-secondary) !important;
}

.btn-secondary:hover {
	background-color: var(--color-theme-highlight) !important;
	color: var(--color-theme-primary) !important;
	border-color: var(--color-theme-primary) !important;
}

.btn-secondary:before {
	background-color: var(--color-theme-highlight) !important;
}

.vdp-module-canvas-razor-wrapper .btn-outline-secondary:before {
	background-color: var(--color-theme-highlight) !important;
}

.vdp-module-canvas-razor-wrapper .btn-outline-secondary {
	border-color: var(--color-theme-primary) !important;
	color: var(--color-theme-primary) !important;
}

.vdp-module-canvas-razor-wrapper .btn-check:active+.btn-outline-secondary,
.vdp-module-canvas-razor-wrapper .btn-check:checked+.btn-outline-secondary,
.vdp-module-canvas-razor-wrapper .btn-outline-secondary.active,
.vdp-module-canvas-razor-wrapper .btn-outline-secondary.dropdown-toggle.show,
.vdp-module-canvas-razor-wrapper .btn-outline-secondary:active {
	color: #fff !important;
	background-color: var(--color-theme-primary) !important;
	border-color: var(--color-theme-primary) !important;
}

.vdp-module-canvas-razor-wrapper .btn-outline-secondary:before {
	background: var(--color-theme-highlight) !important;
}

.btn-outline-secondary,
.btn-outline-secondary:focus {
	background-color: var(--color-theme-trans) !important;
}

.vdp-module-canvas-razor-wrapper .btn-check:hover+.btn-outline-secondary {
	color: var(--color-theme-text) !important;
}

/*----------------------------*/

.cw-hero-slideshow {
	position: relative;
	overflow: hidden;
	z-index: 0;
	display: flex;
	flex-flow: column;
	justify-content: stretch;
	align-items: stretch;
	background-color: #222;
	color: #fff;
}

.cw-hero-slideshow .cw-hero-text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	flex-grow: 1;

	padding: 1rem;
}

.cw-hero-slideshow .cw-hero-text h1 {
	display: block;
	margin: 1rem 0 0.75rem;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 2rem;
}

.cw-hero-slideshow .cw-hero-text h1 span {
	display: block;
	font-size: 0.6em;
}

.cw-hero-slideshow #cw-carousel img {
	-webkit-animation: cw-carousel-anim 5s forwards cubic-bezier(0.22, 0.61, 0.36, 1);
	animation: cw-carousel-anim 5s forwards cubic-bezier(0.22, 0.61, 0.36, 1);
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
}

@-webkit-keyframes cw-carousel-anim {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.07);
	}

	100% {
		transform: scale(1.06);
	}
}

@keyframes cw-carousel-anim {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.07);
	}

	100% {
		transform: scale(1.06);
	}
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {


	.cw-hero-slideshow .cw-hero-text {
		/* min-height: 36vw; */
		min-height: 500px;
		max-width: 84%;
		margin-left: auto;
		margin-right: auto;
	}

	.cw-hero-slideshow .carousel-control-next,
	.cw-hero-slideshow .carousel-control-prev {
		width: 8%;
	}

	.cw-hero-slideshow .carousel-item-next,
	.cw-hero-slideshow .carousel-item-prev,
	.cw-hero-slideshow .carousel-item.active {
		display: flex;
		flex-flow: column;
		justify-content: center;
		align-items: center;
	}

	.cw-hero-slideshow .carousel-item {
		height: 100%;
	}

	.cw-hero-slideshow #cw-carousel img {
		height: 100%;
	}

	.cw-hero-slideshow .carousel-item::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		background-image: linear-gradient(rgba(36, 36, 36, 0.8),
				rgba(0, 0, 0, 0.5));
		z-index: 1;
	}
}

@media (min-width: 768px) {
	.cw-hero-slideshow .cw-hero-text h1 {
		font-size: 2.5rem;
	}
}

@media (min-width: 992px) {
	.cw-hero-slideshow .cw-hero-text h1 {
		font-size: 3rem;
	}

	.cw-hero-slideshow .cw-hero-text {
		min-height: 500px;
	}
}

@media (min-width: 1200px) {
	.cw-hero-slideshow .cw-hero-text {
		padding: 3rem 1rem;
		min-height: 500px;
	}
}


.inventory .flex-card-item .inventory-title:hover {
	color: var(--color-theme-primary);
}

.inventory .card {
	border-color: rgba(0, 0, 0, 0.3) !important;
}

.inventory .vehicle-card ul.features-list .feature .feature-label {
	font-weight: 400 !important;
}

.inventory .inventory-cta .btn:hover {
	color: var(--inventory-buttontext) !important;
}

/* Fix Mobile More Info button BG color */
.vdp-module-canvas-razor-wrapper .btn-secondary {
	background-color: var(--inventorydetails-primary) !important;
	color: var(--inventorydetails-text-btn);
	border-color: var(--inventorydetails-primary);
}

.vdp-module-canvas-razor-wrapper .sn_business_openclose.open {
	background-color: var(--inventorydetails-primary) !important;
}

/* Fix Loan Calc VDP Colors */
.vdp-module-canvas-razor-wrapper .btn-check:checked+.btn-outline-secondary {
	background-color: var(--inventorydetails-primary) !important;
	color: var(--inventorydetails-text-btn);
	border-color: var(--inventorydetails-primary);
}

.vdp-module-canvas-razor-wrapper .btn-check:checked+.btn-outline-secondary:hover {
	background-color: var(--inventorydetails-primary) !important;
}

section.page-inventory-details .btn.btn-primary:hover {
	background-color: var(--color-theme-highlight) !important;
	color: var(--color-theme-primary) !important;
	border-color: var(--color-theme-primary) !important;
}

/* Fix Quick Connect module */
.page-inventory-details .module,
.vdp-module-canvas-razor-wrapper .module {
	margin-top: 10px !important;
}

.creditQualifyPage {
	margin-top: 4rem;
}

	.form-grid-row>.form-forms-date {
		/* Hopefully fixes form popups being underneath other dropdowns/boxes */
		z-index: unset;
	}
