#af-srp-toyota-banner {
	display: none;
}
.af-search-specs-container,
.af-search-match-extras {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	width: 100%;
}

#af-major-wrapper {
	height: 100%;
	position: relative;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

html {
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

body {
	height: 100%;
/*	overflow: auto; */ /* fixes location bar, but breaks 'back to top' */
	overflow: hidden;
}

.af-menu-main-item .af-arrow-circle-icon,
.af-menu-main-item .af-arrow-filled-circle-icon {
	display: none;
}

#mm5-container {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	padding: 0;
	position: relative;
	width: 100%;
}

#af-menu-main {
	padding: 0;
	position: relative;
	z-index: 2;
}

#af-menu-main-bg {
	height: 100%;
	position: absolute;
	width: 100%;
}

#af-menu-main.af-menu-main-fixed {
	position: fixed;
	top: 0;
}

#af-menu-main h1 {
	background-color: #222;
	font-size: 17px;
	font-weight: 400;
	height: 50px;
	letter-spacing: 2px;
	margin: 0;
	padding: 17px 20px 17px 0;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	z-index: 10;
}

#type_div,
#typesradio_div {
	display: none;
}

#type_div > .af-menu-checkbox-item {
	background-color: #434c51;
	border-bottom: 0;
	border-top: 2px solid #eaeaea;
	color: #e6e6e6;
	cursor: pointer;
	display: table;
	font-size: 18px;
	font-weight: normal;
	height: 60px;
	list-style: none;
	margin-bottom: 0;
	padding: 10px 40px 10px 20px;
	position: relative;
	width: 100%;
	z-index: 10;
}

#type_div > .af-menu-checkbox-item input {
	display: none;
}

#type_div > .af-menu-checkbox-item .filter-content {
	display: table-cell;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

#type_div > .af-menu-checkbox-item.checked {
	background-color: #333;
}

#type_div > .af-menu-checkbox-item .af-checkbox-empty-icon {
	fill: #ccc;
	height: 60px;
	position: absolute;
	right: 14px;
	top: 0;
	width: 20px;
}

#type_div > .af-menu-checkbox-item.checked .af-checkbox-checked-icon {
	fill: #fff;
	display: block;
	height: 60px;
	position: absolute;
	right: 14px;
	top: 0;
	width: 20px;
}

#af-menu-main ul {
	margin: 0;
	padding: 0;
}

.image-wrapper {
	position:relative; 
	left:0;	
	top:0;
}

.af-bm-search-overlay {
	position:absolute;
	width:100%;
	bottom: -10px;
	left:0px;
	display:none;
}

.af-menu-main-item {
	background-color: #434c51;
	border-top: 2px solid #eaeaea;
	color: #e6e6e6;
	cursor: pointer;
	display: table;
	font-size: 18px;
	height: 60px;
	list-style: none;
	padding: 10px 30px 10px 20px;;
	position: relative;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
	width: 100%;
	z-index: 10;
}

#af-menu-main div:last-of-type .af-menu-main-item {
	border-bottom: 2px solid #eaeaea;
}

.af-menu-main-item .af-menu-text {
	display: table-cell;
	vertical-align: middle;
	width: 1px;
	white-space: nowrap;
}

.af-menu-main-item.af-item-selected {
	background-color: #333;
}


.af-menu-main-item .af-menu-selected-count {
	display: table-cell;
	font-size: 14px;
	font-style: italic;
	padding-left: 10px;
	vertical-align: middle;
	width: 1px;
	white-space: nowrap;
}

.af-menu-main-item .af-arrow-icon {
	visibility: hidden;
}

.af-menu-main-item .af-plus-icon,
.af-menu-main-item .af-minus-icon
{
	/*visibility: hidden;*/
	display: none;
}

.af-menu-main-item.af-active-menu-item:after {
	background-color: #fff;
}

.af-menu-main-item-loading {
	pointer-events: none;
}

.af-menu-main-item-disabled {
	color: #999;
	pointer-events: none;
}

.af-menu-main-item-disabled .af-arrow-icon {
	fill: #999;
}

#af-reset-all {
	background-color: #222;
	color: #444;
	display: table;
	font-weight: bold;
	height: 50px;
	padding: 0 25px 10px 25px;
	position: relative;
	width: 100%;
	z-index: 100;
	opacity:0.9;
    filter: alpha(opacity=90);
	font-size:14px;
}

#af-reset-all span {
	background-color: #e6e6e6;
	border-radius: 20px;
	cursor: pointer;
	display: table-cell;
	padding-left: 25px;
	vertical-align: middle;
}

#af-reset-all .af-x-icon {
	fill: #4e4e4e;
	height: 40px;
	position: absolute;
	right: 40px;
	top: 0;
	width: 15px;
}

.af-menu-secondary {
	background-color: transparent;
	height: 100%;
	left: -285px;
	padding-top: 100px;
	position: absolute;
	top: 0;
	transition: left .4s;
	-webkit-transition: left .4s;
	width: 285px;
	z-index: 1;
}

.af-menu-secondary.af-menu-sub-open {
	left: 235px;
	transition: left .4s;
	-webkit-transition: left .4s;
}

.af-menu-sub {
	background-color: #fff;
	display: block;
	height: 100%;
	overflow-y: auto;
}

.af-menu-sub::-webkit-scrollbar {
    width: 12px;
}

.af-menu-sub::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.af-menu-sub::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: rgba(200,200,200,0.6); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
.af-menu-sub::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255,255,255,0.3); 
}

.af-menu-sub ul {
	padding: 0;
}

.af-menu-sub li {
	list-style: none;
}

.af-menu-sub-done {
	background-color: #fff;
	padding: 10px 25px;
	font-size:14px;
}

.af-menu-sub-done span {
	border-radius: 20px;
	cursor: pointer;
	display: block;
	font-weight: 600;
	padding: 10px 20px 10px 0;
	text-align: center;
	text-transform: uppercase;
}

.af-menu-sub-done .af-checkmark-icon {
	fill: #fff;
	height: 18px;
	position: absolute;
	right: 105px;
	width: 16px;
}

.af-menu-sub .af-please-select {
	color: #4d4d4d;
	display: block;
	font-size: 16px;
	font-weight: bold;
	padding: 10px;
	text-align: center;
}

.af-menu-checkbox-item {
	border-bottom: 1px solid #b6b6b6;
	color: #808080;
	cursor: pointer;
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
	padding: 11px 10px;
	position: relative;
	z-index: 1;
}

.af-menu-checkbox-item input {
	display: none;
}

.af-menu-checkbox-item.checked {
	background-color: #ccc;
	color: #222;
	font-weight: bold;
}

.af-menu-checkbox-item .af-checkbox-empty-icon {
	fill: #ccc;
	height: 100%;
	position: absolute;
	right: 30px;
	top: 0;
}

.af-menu-checkbox-item.checked .af-checkbox-empty-icon {
	display: none;
}

.af-menu-checkbox-item .af-checkbox-checked-icon {
	display: none;
}

.af-menu-checkbox-item.checked .af-checkbox-checked-icon {
	fill: #222;
	display: block;
	height: 100%;
	position: absolute;
	right: 30px;
	top: 0;
}

.af-menu-checkbox-item .filter-content {
	margin-left: 30px;
	padding-right: 60px;
}

.af-menu-radio-title {
	color: #4d4d4d;
	font-size: 18px;
	font-weight: bold;
	margin: 10px 10px 10px 30px;
	text-transform: capitalize;
}

.af-menu-radio-item {
	border-bottom: 1px solid #b6b6b6;
	color: #808080;
	cursor: pointer;
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
	padding: 10px 35px;
	position: relative;
}

.af-menu-radio-item input {
	display: none;
}

.af-menu-radio-item.checked {
	background-color: #ccc;
	color: #222;
	font-weight: 600;
}

.af-menu-radio-item .af-circle-icon {
	fill: #ccc;
	height: 100%;
	position: absolute;
	top: 0px;
	width: 16px;
}

.af-menu-radio-item.checked .af-circle-icon {
	display: none;
}

.af-menu-radio-item .af-radio-checked-icon {
	display: none;
}

.af-menu-radio-item.checked .af-radio-checked-icon {
	fill: #222;
	display: block;
	height: 100%;
	position: absolute;
	top: 0px;
	width: 16px;
}

.af-menu-radio-item .filter-content {
	margin-left: 25px;
	padding-right: 10px;
}

.af-menu-radio-item.af-menu-radio-disabled .filter-content {
	color: #999;
}

.af-menu-radio-item.af-menu-radio-disabled .af-circle-icon {
	fill: #999;
}

.af-model-subheader {
	color: #4d4d4d;
	font-size: 20px;
	font-weight: bold;
	margin: 10px 10px 10px 20px;
}

.af-model-subheader-no-results {
	color: #999;
	font-size: 18px;
	font-weight: bold;
	margin: 10px 0;
}

#af-search-results {
	background-color: #e6e6e6;
	min-height: 100vh;
	padding: 0;
	position: relative;
	width: calc(100% - 235px);
}

#af-search-results.af-menu-main-fixed {
	margin-left: 235px;
}

#af-freetext-search {
	background-color: transparent;
	border-bottom: 1px solid #cecece;
	width: 100%;
	position: relative;
}

#af-freetext-icon {
	fill: #666;
	pointer-events: none;
	position: absolute;
	left: 10px;
	top: 10px;
	width: 24px;
}

#af-freetext-icon svg {
	display: block;
	height: 50px;
	left: -3px;
	top: -10px;
	position: relative;
}

#af-freetext-input {
	width: 100%;
}

#af-freetext-input input {
	background-color: #f2f2f2;
	border: 0;
	color: #666;
	font-size: 16px;
	padding: 14px 0 14px 55px;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
	width: 100%;
}

#af-freetext-input input:focus, 
#af-freetext-input input:active
{
	background-color: #fff;
	outline: 0;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
}

#af-freetext-input input::-webkit-input-placeholder {
   color: #666;
}

#af-freetext-input input:-moz-placeholder { /* Firefox 18- */
   color: #666;  
}

#af-freetext-input input::-moz-placeholder {  /* Firefox 19+ */
   color: #666;  
}

#af-freetext-input input:-ms-input-placeholder {  
   color: #666;  
}

#af-search-results-top {
	background-color: #f2f2f2;
	width: 100%;
}

#af-search-results-bottom {
	background-color: #f2f2f2;
	width: 100%;
}

#af-search-results-bottom #af-back-to-top {
	cursor: pointer;
	padding: 10px 0;
	text-align: center;
	font-size:14px;
}

.af-viewing-matches {
	color: #666;
	font-size: 13px;
	font-style: italic;
	padding: 10px 0;
	text-align: center;
	vertical-align: middle;
}

.af-search-results-nav {
	text-align: center;
	vertical-align: middle;
}

.af-search-results-nav nav {
	height: 30px;
}

.af-search-results-nav .pagination {
	margin: 0;
	border-top:none;
	padding-top:1px;
}

.af-search-results-nav .pagination>li>a[aria-label=Previous] {
	padding: 4px 0 5px 0;
}

.af-search-results-nav .pagination>li>a[aria-label=Next] {
	padding: 7px 0 5px 0;
}

.af-search-results-nav .pagination>li>a {
	background-color: transparent;
	border: 0;
	color: #222;
	font-size: 19px;
	font-weight: 400;
	padding: 7px 9px;
	line-height: 14px;
	margin: 0 4px;
	box-shadow:none;
}

.af-search-results-nav .pagination>li>a[aria-label=Previous] .af-double-arrow-icon {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

.af-search-results-nav .pagination>li>a .af-double-arrow-icon {
	fill: #222;
	height: 13px;
	width: 13px;
}

.af-search-results-nav .pagination>li.active>a {
	background-color: #c65617;
	border-radius: 20px;
	color: #fff;
	z-index: 0;
}

.af-sort-results {
	font-size: 16px;
	font-weight: bold;
	padding: 5px 0;
	position: relative;
	text-align: center;
	vertical-align: middle;
}

.af-sort-results .af-arrow-icon {
	fill: #222;
	height: 20px;
	margin-left: 10px;
	position: absolute;
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transition: transform .2s;
	-webkit-transition: transform .2s;
	width: 12px;
}

.af-sort-results.open .af-arrow-icon {
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transition: transform .2s;
	-webkit-transition: transform .2s;
}

.af-sort-results .dropdown-toggle {
	background: transparent;
	border: 0;
	color: #222;
	cursor: pointer;
	margin-right: 15px;
	position:static;
	display:block;
}

.af-sort-results .dropdown-menu {
	cursor: pointer;
	left: 0;
	margin: 0 auto;
	padding: 0;
	right: 0;
	text-align: center;
}

.af-sort-results .dropdown-menu li {
	padding: 10px 0;
}

.af-sort-results .dropdown-menu li:hover {
	background-color: #eaeaea;
}

.af-sort-results label {
    cursor: pointer;
    font-size: 14px;
    margin: 0;
    padding-right: 0px;
    margin-right: 25px;
    text-align: left;
    width:100%;
    display:block;
	font-weight:300;
	margin-left:15px;
}

.af-sort-results input {
	display: none;
}

.af-search-title {
	width: 100%;
}

.af-vehicle-result {
	background-color: #fff;
	cursor: pointer;
	margin-top: 15px;
	padding: 15px;
	box-shadow: 0px 3px 10px 0px #999;
}

.af-vehicle-title {
	border-bottom: 1px solid #e2e2e2;
	color: #222;
	margin-bottom: 10px;
}

.af-vehicle-name h1 {
	color: #222;
	display: inline;
	font-size: 25px;
	font-weight: 700;
	margin-top: 0;
}

.af-vehicle-name h2
{
	color: #222;
	display: inline;
	font-size: 25px;
	font-weight: 700;
	margin-top: 0;
	padding-left: 2px;
}

.af-vehicle-trim {
	color: #333;
	display: inline-block;
	font-size: 20px;
	font-weight: normal;
}

.af-vehicle-image {
	width: 100%;
}

.af-vehicle-video-btn {
	background-color: #f2f2f2;
	color: #000;
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 10px 10px 30px;
	position: relative;
	text-align: center;
}

.af-vehicle-video-btn:hover,
.af-vehicle-video-btn:focus
{
	color: #000;
}

.af-vehicle-video-btn svg {
	height: 16px;
	margin-left: -25px;
	position: relative;
	top: 2px;
}

.af-vehicle-video-btn:before,
.af-vehicle-video-btn:before
{
	background-color: transparent;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
	width: 100%;
}

.af-vehicle-video-btn:hover:before,
.af-vehicle-video-btn:focus:before
{
	background-color: rgba(0, 0, 0, .15);
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
}

.af-vehicle-badges {
	margin-top: 20px;
	text-align: center;
}

.af-vehicle-badges .moreinfo-inv {
	display: none;
}

.af-cpo-badge-img {
	cursor: default;
	margin-top: 10px;
	max-height: 30px;
	width: auto;
}

.af-vehicle-info {
	flex: 1;
	-ms-flex: 1 1 auto;
	-webkit-flex: 1 1 auto;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

.af-vehicle-info-top {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex: 1;
	-ms-flex: 1;
	-webkit-flex: 1;
	flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

.af-vehicle-cta {
	width: 245px;
	margin-left:auto;
}

.af-vehicle-cta .af-vehicle-btn {
	padding-left: 10px;
	margin-bottom: 15px;
}

.af-vehicle-btn {
	background-color: #000;
	border: 0;
	color: #fff;
	display: table;
	font-size: 14px;
	font-weight: 600;
	height: 35px;
	position: relative;
	width: 100%;
}

.af-vehicle-btn:hover,
.af-vehicle-btn:focus {
	text-decoration: none;
	color: #fff;
}

.af-vehicle-btn span {
	display: table-cell;
	position: relative;
	text-align: left;
	vertical-align: middle;
	width: 100%;
}

.af-vehicle-btn:before,
.af-vehicle-btn:before
{
	background-color: transparent;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
	width: 100%;
}

.af-vehicle-btn .af-arrow-icon {
	display: block;
	fill: #fff;
	height: 35px;
	position: relative;
	right: 10px;
	width: 18px;
}

.af-whatsapp-cta {
	background-color: #f78c10;
}

.af-get-quote-btn .af-dollar-sign-icon,
.af-get-preapproved-btn .af-thumbs-up-icon,
.af-availability-icon, .af-text-icon,
.af-value-icon
{
	display: block;
	fill: #fff;
	height: 35px;
	margin-right: 10px;
	position: relative;
	width: 18px;
}

.af-vehicle-spec-group {
	display:block;
}

.af-vehicle-spec-label {
	color: #222;
	display: block;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
}

.af-vehicle-spec-value {
	color: #929292;
	display: table-cell;
	font-size: 16px;
	padding-bottom: 14px;
}

#af-search-results .af-no-matches-message {
	font-size: 16px;
	margin: 20px;
}

/* PRICING */
.af-vehicle-pricing {
	height: 100%;
	position: relative;
	width: 100%;
	background-color:transparent;
	padding-top:0;
}

.af-vehicle-cash table {
	margin: 0 auto;
}

.af-price-label {
	color: #333;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 0;
	padding: 5px;
	text-align: center;
}

.af-price-value {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 0;
	padding: 5px;
	text-align: center;
	display:block;
}

.af-final-price-label {
	color: #000;
}

.af-final-price-value {
	color: #32ce0c;
	font-weight: 700;
}

.af-vehicle-phone-number,a.af-vehicle-phone-number:hover,a.af-vehicle-phone-number:active,a.af-vehicle-phone-number:focus {
	color:#000;
}

.af-vehicle-phone {
	display:none;
	color: #000;
	font-weight: 600;
}

.af-vehicle-phone-label {
	display:inline
}

.af-vehicle-phone-number {
	font-size: 23px;
}

.af-vehicle-incentive {
	color:#0a9e48;
	fill:#0a9e48;
	border:1px dashed #0a9e48;
	padding:5px 5px 0 5px;
	margin-top:10px;
}

.af-vehicle-incentive p {
	font-size:15px;
}

.af-vehicle-incentive-tag {
	display:none;
}

.af-incentive-btn-split {
	float: left;
	padding-right: 0;
	width: 50%;
}

.af-search-specs-container .certificate-nt-box {
	max-width: none;
}

/* MODAL */
.remodal {
	max-height: 100%;
	max-width: 800px;
	overflow-y: auto;
	padding: 0;
}

.remodal-close {
	color: #fff;
	left: auto;
	right: 0;
}

.remodal-close:hover,
.remodal-close:focus
{
	color: #333;
}

.remodal-close:before {
	font-size: 35px;
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
}


.remodal-close:hover:before,
.remodal-close:focus:before
{
	background-color: rgba(0, 0, 0, 0.15);
	transition: background-color .2s;
	-webkit-transition: background-color .2s;
}

.remodal .af-modal-top {
	padding: 20px 10px 20px 10px;
}

.remodal .af-modal-top h1 {
	border-bottom: 2px solid;
	display: inline-block;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	margin-top: 0;
	padding: 0 10px 10px 10px;
}

.remodal .af-modal-vehicle-name {
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0;
	margin-top: 0;
}

.remodal .af-modal-vehicle-trim {
	font-size: 16px;
	margin: 5px 0 15px 0;
}


.remodal .af-vehicle-image {
	width: 50%;
}

.af-modal-bottom {
	display: none;
}

.remodal-is-opened .af-modal-bottom {
	display: block;
}

.remodal .af-modal-bottom {
	background-color: #f2f2f2;
	padding: 0 10px 15px 10px;
}

.remodal .af-modal-vehicle-info {
	padding: 20px 0 0 0;
	text-align: center;
}

.remodal .af-modal-vehicle-stocknum,
.remodal .af-modal-vehicle-color,
.remodal .af-modal-vehicle-mile,
.remodal .af-modal-vehicle-engine
{
	color: #808080;
	font-size: 14px;
}

.remodal .af-modal-vehicle-video-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 35px;
	position: relative;
}

.remodal .af-modal-vehicle-video {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
}

form.af-modal-form {
	display: none;
	margin-top: 20px;
}

.remodal form.af-modal-form {
	display: block;
}

form.af-modal-form input {
	border-radius: 0;
	margin-bottom: 15px;
	width: 100%;
}

form.af-modal-form .af-form-submit {
	margin: 0;
}

.remodal[data-remodal-id="modal-textmessage"] {
	max-width: 450px;
}

.remodal[data-remodal-id="modal-textmessage"] .remodal-close {
	z-index: 1;
}

.remodal[data-remodal-id="modal-textmessage"] .af-modal-top {
	padding: 0;
}

.remodal[data-remodal-id="modal-textmessage"] .af-modal-top iframe {
	border: 0;
	min-height: 700px;
}

@media (min-width: 768px) {
	#af-menu-main {
		top: 105%;
		width: 235px;
	}

	#af-search-results-top {
		display: table;
		height: 50px;
		padding-left: 15px;
	}

	#af-search-results-bottom {
		display: table;
		height: 50px;
		padding-left: 15px;
	}

	#af-search-results-bottom #af-back-to-top {
		display: table-cell;
		padding: 0 20px 0 0;
		text-align: right;
		vertical-align: middle;
	}

	.af-viewing-matches {
		display: table-cell;
		font-size: 16px;
		padding: 10px 20px 10px 0;
		text-align: left;
		white-space: nowrap;
		width: 1px;
	}

	.af-search-results-nav {
		display: table-cell;
		text-align: left;
	}

	.af-sort-results {
		display: table-cell;
		padding: 0 30px 0 0;
		text-align: right; 
		white-space: nowrap;
		width: auto;
	}

	.af-sort-results .dropdown-menu {
		left: auto;
		right: 20px;
		text-align: right;
		top: 50px;
		width: auto;
	}

	.af-sort-results .dropdown-menu li {
		padding: 10px 33px 10px 20px;;
	}

	.af-sort-results label {
		padding: 0;
	}

	.af-vehicle-result-body {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
	}

	.af-vehicle-result-left {
		width: 300px;
	}

	.af-vehicle-result-middle {
		flex: 1;
		-ms-flex: 1;
		-webkit-flex: 1;
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
	}

	.af-vehicle-trim {
		margin-bottom: 10px;
	}

	.af-vehicle-badges a {
		display: block;
		width: 100%;
	}

	.af-vehicle-result-middle {
		padding: 0 15px;
	}

	.af-vehicle-specs {
		display: block;
		width:50%;
	}

	.af-vehicle-spec-label {
		padding-right: 20px;
	}

	.af-vehicle-pricing {
		width: 50%;
	}

	.af-vehicle-btn:last-of-type {
		margin-bottom: 15px;
	}

	.af-search-specs-container {
		width: 360px;
		display: table-cell;
		float: none;
	}

	.af-search-specs-container .nab_srp_button {
		padding-bottom: 20px;
	}

/* MODAL */
	.remodal {
		padding: 0;
	}

	.remodal .af-modal-top {
		padding: 20px 65px 20px 65px;
	}

	.remodal .af-modal-top h1 {
		font-size: 24px; 
		padding: 0 65px 10px 65px;
	}

	.remodal .af-modal-bottom {
		padding: 0 65px 15px 65px;
	}

	.remodal .af-modal-vehicle-info {
		text-align: left;
	}

	.remodal .af-modal-vehicle-name {
		font-size: 30px;
	}

	.remodal .af-modal-vehicle-trim {
		font-size: 18px;
	}

	.remodal .af-modal-vehicle-stocknum,
	.remodal .af-modal-vehicle-color,
	.remodal .af-modal-vehicle-mile,
	.remodal .af-modal-vehicle-engine
	{
		font-size: 16px;
		margin-bottom: 8px;
	}
}

@media (min-width: 992px) {
	.af-menu-sub-done {
		color:#fff;
	}

	#af-menu-main {
		border-right: 1px solid #b6b6b6;
	}

	#af-menu-main-bg {
		background-color: #434c51;
		z-index: 10;
	}

	#af-menu-main h1 {
		font-size: 19px;
		padding: 17px 0;
		pointer-events: none;
		opacity:0.9;
        filter: alpha(opacity=90);
	}

	#af-menu-main h1.af-brand-text {
		color:#fff !important;
	}
	.af-menu-main-item .af-arrow-icon {
		display: none;
	}

	.af-menu-main-item.af-active-menu-item,
	.af-menu-main-item.af-item-selected.af-active-menu-item
	{
		background-color: #fff;
		color: #808080;
		font-weight: 600;
	}

	.af-menu-main-item:after {
		border-bottom: 8px solid transparent;
		border-left: 8px solid #fff;
		border-top: 8px solid transparent;
		border-radius: 3px;
		content: "";
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		transition: transform .2s;
		-webkit-transition: transform .2s;
	}

	.af-menu-main-item.af-active-menu-item:after {
		border-left-color: #808080;
		transform: translateY(-50%) rotate(180deg);
		-ms-transform: translateY(-50%) rotate(180deg);
		-webkit-transform: translateY(-50%) rotate(180deg);
		transition: transform .2s;
		-webkit-transition: transform .2s;
	}

	#af-search-results.af-menu-sub-open:after {
		background: rgba(0, 0, 0, .6);
		content: "";
		display: block;
		height: 100%;
		left: 0;
		position: absolute;
		right: 0;
		top: 0;
	}

	.af-vehicle-cta {
		padding-bottom: 20px;
		width:100%;
		max-width:245px;
	}

/* FILTERS */
	.af-menu-secondary {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		flex-direction: column;
		-webkit-flex-direction: column;
	}
}



@media (min-width: 1200px) {
	#af-menu-main {
		width: 235px;
	}

	.af-viewing-matches {
		padding: 0 20px 0 0;
	}

	.af-sort-results {
		padding-right: 40px;
	}

	.af-menu-secondary.af-menu-sub-open {
		left: 235px;
	}

	.af-vehicle-spec-label {
		padding-bottom: 10px;
		vertical-align: middle;
	}

	.af-vehicle-spec-value {
		vertical-align: middle;
	}

	.af-price-label {
		font-size: 18px;
	}

	.af-price-value {
		font-size: 18px;
	}
	.af-vehicle-spec-group {
		display: table-row;
	}
	.af-vehicle-spec-label {
		display:table-cell;
	}

	.af-vehicle-btn {
		font-size: 15px;
		padding-left: 15px;
	}

	.af-get-quote-btn .af-dollar-sign-icon,
	.af-get-preapproved-btn .af-thumbs-up-icon {
		margin-right: 10px;
		width: 24px;
	}

	.af-vehicle-btn .af-arrow-icon {
		right: 20px;
	}
}

@media (max-width: 767px) {
	.af-menu-open #af-nav-mobile {
		z-index: 100001;
	}
	#af-mobile-content-wrapper {
		overflow: visible;
		overflow:auto;
	}
	
	#af-freetext-search {
		border-top: 1px solid #cecece;
	}

	.af-search-results-nav {
		border-bottom: 1px solid #cecece;
		padding-bottom: 10px;
	}
	.af-vehicle-result {
		padding: 20px 10px 0 10px;
		width: 100%;
	}

	.af-vehicle-info .af-vehicle-name {
		border-bottom: 2px dotted #bbb;
		margin-left: 10px;
		margin-right: 10px;
		padding: 0 10px 15px 10px;
	}

	.af-vehicle-trim {
		font-size: 18px;
		margin-top: 5px;
		padding-bottom: 15px;
	}

	.af-vehicle-result-left {
		padding-bottom: 20px;
		width: 100%;
	}

	.af-vehicle-pricing {
		margin: 0;
	}

	.af-vehicle-cta {
		background-color: transparent;
		width: 100%;
	}

	.certificate-nt-box	{
		margin-left: 0 !important;
	}
	
	p.af-price-incentive {
		margin:0;
	}

}


@media (max-width: 991px) {
	body.af-menu-open #af-major-wrapper {
		overflow: hidden;
	}

	#af-search-results {
		margin-left: 0;
		width: 100%;
	}

/* FILTERS */

	body.af-menu-open #af-search-results:after {
		content: "";
		background-color: rgba(0, 0, 0, 0.6);
		display: block;
		height: 100%;
		left: 0;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 1000;
	}

	#af-menu-main {
		background: #fff;
		cursor: pointer;
		margin-top: -50px;
		position: fixed;
		top: 100%;
		transition: top .4s;
		-webkit-transition: top .4s;
		width: 100%;
	}

	#af-menu-main h1 {
		color: #fff !important;
	}

	#af-menu-main.af-menu-open {
		height: 100%;
		max-height: 1000px;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
		top: 208px;
		transition: top .4s;
		-webkit-transition: top .4s;
		z-index: 100000;
	}

	#af-menu-main h1 .af-mobile-filter-inventory-icon {
		height: 50px;
		position: absolute;
		right: 0;
		top: 0;
		width: 65px;
	}

	#af-menu-main h1 .af-arrow-icon {
		fill: #e6e6e6;
		height: 65px;
		padding: 25px 18px;
		position: absolute;
		left: 7px;
		top: -7px;
		transform: rotate(-90deg);
		-webkit-transform: rotate(-90deg);
		width: 50px;
	}

	#af-menu-main.af-menu-open h1 .af-arrow-icon {
		transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
	}

	.af-menu-main-item {
		border-top: 1px solid #ccc;
		font-size: 16px;
		font-weight: bold;
		height: 45px;
		padding: 5px 30px;
	}

	#type_div > .af-menu-checkbox-item {
		border-top: 1px solid #ccc;
		font-size: 16px;
		font-weight: bold;
		height: 45px;
		padding: 5px 30px;
	}

	#type_div > .af-menu-checkbox-item .af-checkbox-empty-icon {
		height: 45px;
		margin: 0;
		right: 25px;
	}

	#type_div > .af-menu-checkbox-item.checked .af-checkbox-checked-icon {
		height: 45px;
		margin: 0;
		right: 25px;
	}

	.af-menu-sub {
		display: none;
	}

	.af-menu-sub.af-menu-sub-open {
		display: block;
	}

	#af-reset-all {
		background-color: #e6e6e6;
		padding: 0 25px;
	}

	#af-reset-all span {
		background-color: transparent;
		border-radius: 0;
		padding-right: 40px;
		text-align: right;
	}

	#af-reset-all .af-x-icon {
		height: 50px;
		right: 27px;
	}

	.af-menu-main-item .af-plus-icon {
		display: block;
		fill: #fff;
		height: 45px;
		position: absolute;
		right: 25px;
		top: 0;
		width: 18px;
	}

	.af-menu-main-item.af-active-menu-item .af-plus-icon {
		display: none;
	}

	.af-menu-main-item.af-active-menu-item .af-minus-icon {
		display: block;
		fill: #fff;
		height: 45px;
		position: absolute;
		right: 25px;
		top: 0;
		width: 18px;
	}

	.af-menu-main-item.af-active-menu-item {
		background-color: #222;
		color: #fff;
	}

	.af-menu-secondary {
		background-color: #e6e6e6;
		border-left: 0;
		height: auto;
		left: 0;
		padding-top: 0;
		top: auto;
		width: 100%;
	}

	.af-menu-secondary.af-menu-sub-open {
		height: auto;
		left: 0;
		padding: 0;
		position: relative;
	}

	.af-menu-sub-done {
		display: none;
	}

	.af-menu-sub.af-menu-sub-open {
		padding: 0;
	}

	.af-menu-sub .af-please-select {
		padding: 10px;
	}

}

@media (min-width: 768px) and (max-width: 991px) {
	body.af-menu-open #af-main-header {
		pointer-events: none;
	}
}

.af-search-results-nav .pagination >li.active >a {
	background-color: #000;
}
.af-search-results-nav .pagination >li.active >a:hover {
	background-color: #32ce0c;
	box-shadow: none;
	color: #111;
	cursor: pointer;
}
#af-major-wrapper {
	overflow: auto;
}

@media (max-width: 767px) {
	#af-menu-main.af-menu-open {
		top: 108px;
	}
}
