﻿.hidden {
	display: none;
}

.nav_logo {
	max-width: 55px;
	width: 100%;
}

h2.maintitle {
	margin: 20px 0;
}

/*h5.car_price {
			margin: 25px 0;
		}*/

.price_label {
	display: block;
	margin-top: 25px;
	font-size: 1.1em;
}

.card-panel, #searchContainer {
	margin-bottom: 20px;
}

.wrapper_search_item {
	margin-bottom: 10px;
}

.wrapper_search_item select {
	width: 100%;
}

.pager {
	margin: 20px 0px;
	cursor: pointer;
}

.vehicleDataPagerCtn {
	border: 1px solid #ccc;
	display: inline-block;
	margin: 0px;
}

.pagerCurrent {
	background-color: #4c4c4c;
	color: #fff;
	cursor: default;
}

.vehicleDataPagerCtn .label {
	display: none;
}

.firstPage, .nextPage, .previousPage, .lastPage {
	font-size: 0;
}

.firstPage:before, .previousPage:before, .nextPage:before, .lastPage:before {
	font-family: "Font Awesome 5 Free";
	font-size: 16px;
	font-weight: bold;
}

.firstPage:before {
	content: "\f100";
}

.previousPage:before {
	content: "\f104";
}

.nextPage:before {
	content: "\f105";
}

.lastPage:before {
	content: "\f101";
}

.img_count_overlay {
	background: #ccc;
	display: inline-block;
	padding: 3px;
	border-radius: 6px;
	font-weight: bold;
}

.car_im_overlayer {
	right: 0;
	left: auto;
	top: 25%;
}

.container {
	max-width: 1300px;
}

.nav_logo {
	max-width: 55px;
	width: 100%;
}




/********************************************************/
/********************************************************/
/*******************  CSS CAR DETAILS  ******************/
/********************************************************/
/********************************************************/

.cd_image img {
	width: 100%;
}


/**
 * Add flex: 
 * allows "CD_IMAGE" to keep scaling as a width percentage of the screen.
 */
.cd_wrapper {
	display: flex;
	flex-wrap: wrap;
}

/**
 * Give options and remarks always 100% width
 */
.cd_options {
	width: 100%;
}

/**
 * Give Location branch always 100% width
 */
.cd_location_vehicle {
	width: 100%;
}

/**
 * Responsive width for CD_IMAGE and CD_SPECS:
 * • > 1100px: 				display image gallery next to "cd_specs_preview"
 * • 800 -> 1100px: 	display image gallery next to "cd_specs_preview"
* • < 800px: 					display image gallery at top and "cd_specs_preview" below it
 */
.cd_image {
	width: calc(75% - 10px);
	margin-right: 10px;
}
.cd_specs_preview {
	width: 25%;
}
.cd_specs_preview .list-group {
	margin-left: 10px; /* large screens:cd_specs_preview list-group is next to the image & needs margin-left */
}
@media (max-width: 1100px) {
	.cd_image {
		width: calc(70% - 10px);
		margin-right: 10px;
	}
	.cd_specs_preview {
		width: 30%;
	}
}
@media (max-width: 800px) {
	.cd_image {
		width: 100%;
		margin-right: 0px;
	}
	.cd_specs_preview {
		width: 100%;
		margin-top: 20px;
	}
	.cd_specs_preview .list-group {
		margin-left: 0;	/* Small screens:cd_specs_preview list-group stands alone & needs no margin-left */
	}
}




/******************************/
/***** CAR DETAIL OPTIONS *****/
/******************************/

/**
 * CSS for Options in detail page.
 *
 * The options are returned from Carflow API endpoint.
 * Options are nested in a <ul> tag and category list items has the class liCategory
 *
 * Example:
 *    <ul>
 *      <li class="liCategory"><b>Beveiliging</b></li>
 *      <li>Centrale vergrendeling </li>
 *      <li>Centrale vergrendeling afstand </li>
 *      
 *      <li class="liCategory"><b>Exterieur</b></li>
 *      <li>1ste eigenaar </li>
 *      <li>Bandenspanningscontrolesysteem </li>
 *      <li>Daglichten LED </li>
 *    </ul>
 */

 /**
	* Add some coloring to each option category to stand out.
	*/
.cd_options .liCategory {
  color: #c0392b;
  display: block;
}

/**
 * Add flex: dyanmically scales content
 */
.cd_options > div > ul {
	display: flex;		/* It enables a flex context for all its direct children. */
	flex-wrap: wrap;	/* By default, flex items will all try to fit onto one line:  wrap: flex items will wrap onto multiple lines, from top to bottom. */
	padding: 0;
	margin-left: 0px;
}

/**
 * Added padding right so 2 li items don't touch eachother. Otherwise some items might
 * almost touch eachother before "flex" "wrapping" onto the next line. This improves
 * readablitiy. 
 */
.cd_options > div > ul > li {
	padding-right: 10px;
}

/**
 * Each li with class ".liCategory" takes 100% width so it start at a new line.
 * This allows to separate each category if added some top and bottom 
 */
.cd_options > div > ul > li.liCategory {
	width: 100%;
	margin-top: 15px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

/**
 * Responsive width for CD_IMAGE and CD_SPECS:
 * • > 1100px: 				give each column 1/3 of parent container width 
 * • 725 -> 1100px: 	give each column 1/2 of parent container width 
* • < 725: 						give each column full parent container width 
 */
.cd_options > div > ul > li {
	width: 50%;
	list-style-type: none;
}
@media (max-width: 1100px) {
	.cd_options>div>ul {
		padding-left: 0;
	}
	.cd_options>div>ul>li {
		width: 50%;

	}
}
@media (max-width: 725px) {
	.cd_options>div>ul {
		padding-left: 0;
	}
	.cd_options>div>ul>li {
		width: 100%;
	}
}





/************************************/
/************************************/
/************************************/
#googleMap {
	height: 450px;
	width: 100%;
}

.cd_branchname {
	font-weight: bold;
}

.card-deck .card {
	flex-basis: calc(33% - 30px);
	margin-bottom: 20px;
}

@media (max-width: 1100px) {
	.card-deck .card {
		flex-basis: calc(50% - 30px);
	}
}

@media (max-width: 740px) {
	.card-deck .card {
		flex-basis: calc(100% - 30px);
	}
}

.card-footer a:hover {
	background: #343a40 !important;
	color: #FFF !important;
}

.footer_address {
	line-height: 1.5;
}

.footer_address a {
	color: #ddd;
}

.footer_address a:hover {
	color: #fff;
}

.oh_title {
	font-weight: bold;
	margin-bottom: 5px;
}

.oh_title {
	font-weight: bold;
	margin-bottom: 10px;
}

.oh_wrapper td {
	vertical-align: text-bottom;
	padding-right: 5px;
	padding-bottom: 5px;
}

.footer_links_list {
	list-style-type: none;
	line-height: 1.5;
}

.footer_links_list li a {
	color: #FFF;
}

.img-resp {
	width: 100%;
}

.main_image_banner {
	margin: 20px 0 0;
}