/***********************************************************************
       ___         __                        __  _          
      /   | __  __/ /_____  ____ ___  ____  / /_(_)   _____ 
     / /| |/ / / / __/ __ \/ __ `__ \/ __ \/ __/ / | / / _ \
    / ___ / /_/ / /_/ /_/ / / / / / / /_/ / /_/ /| |/ /  __/
   /_/  |_\__,_/\__/\____/_/ /_/ /_/\____/\__/_/ |___/\___/   
      __          ________                 ____      _ __     
     / / __ __   /_  __/ / ___ __ _ ___   / __/__ __(_) /____ 
    / _ | // /    / / / _ | -_)  ' | -_) _\ \ / // / / __/ -_)
   /_.__|_, /    /_/ /_//_|__/_/_/_|__/ /___/ \_,_/_/\__/\__/ 
       /___/                                                                                     

   Theme Name:      Automotive Child Theme
   Description:     Finally a gorgeous website template for car dealerships that doesn’t just look beautiful, but also includes complete easy-to-use functionality. Whether your business is a small car dealer or a large fully functional car dealership, you are sure to find what you need in this automotive template.
   Theme URI:       http://demo.themesuite.com/automotive-wp/
   Version:         4.0
   Author:          Theme Suite
   Author URI:      http://www.themesuite.com/
   Support:         http://support.themesuite.com/
   License:         GNU GPL
   Tags:            white, light, one-column, two-columns, right-sidebar, fluid-layout, editor-style, featured-images, sticky-post, translation-ready
   License URI:     http://demo.themesuite.com/automotive-wp/License/
   Template:        automotive
   
   Place custom CSS below this line
***********************************************************************/

/* Font personalizzato Grandiauto */
@font-face {
    font-family: 'Ethnocentric Rg';
    src: url('fonts/EthnocentricRg-Regular.eot');
    src: url('fonts/EthnocentricRg-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/EthnocentricRg-Regular.woff2') format('woff2'),
        url('fonts/EthnocentricRg-Regular.woff') format('woff'),
        url('fonts/EthnocentricRg-Regular.ttf') format('truetype'),
        url('fonts/EthnocentricRg-Regular.svg#EthnocentricRg-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Ethnocentric Rg' !important;
}
p {
	font-family: 'Open Sans', sans-serif, Arial;
}
a, strong {
	font-family: 'Open Sans', sans-serif, Arial;
}
strong {
	font-weight: bolder !important;
}

.row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.container-90, .home section.content > .container, .single-listings section.content > .container {
	padding-left: 10% !important;
	padding-right: 10% !important;
	margin: auto;
	width: 100%;
}

/* Top Bar */
body header.affix {
	top: 0 !important;
}
.toolbar ul li i {
    font-size: x-large;
}
.toolbar ul li a {
    color: #fff;
	font-size: 12px;
}
.toolbar {
	background-color: #fff !important;
	height: auto !important;
}
.toolbar .col-lg-3.col-md-3.col-sm-3.left_bar {
	padding-right: 0;
}
#header-divider {
    border-left: 1px solid black;
    padding: 10px 0;
}
.col-lg-5.col-md-5.col-sm-5.right_bar>ul {
	float: right;
}
p.header-chiamaci {
	float: right;
	color: #2a385a;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}
span.header-numero {
	color: #e30613;
	font-size: 21px;
}

/* Header */
header .bottom-header .navbar {
	padding: 0;
}
header .bottom-header .navbar-header {
	display: none !important;
}
header .bottom-header .navbar-navigation, .bottom-header .container {
    width: 100%;
	max-width: 100%;
}
.header_shadow {
    background-image: url(../images/header_shadow.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding-bottom: 21px;
    margin-bottom: -21px;
}

/* Menu */
#mega-menu-wrap-header-menu .mega-menu-toggle, #mega-menu-wrap-header-menu {
	background-color: transparent !important;
}
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label {
	display: none;
}
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-1:after {
	font-size: 40px !important;
    color: #f0f0f0 !important;
}
#mega-menu-wrap-header-menu .mega-menu-toggle img, #mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-6:after {
	filter: brightness(0) invert(1);
}
.navbar-navigation {
	background: #2a385a !important;
    padding: 0 15px !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
}
ul#mega-menu-header-menu {
	padding: 5px 0 !important;
}
ul#mega-menu-header-menu li a {
	text-transform: uppercase !important;
	color: #fff !important;
	font-weight: normal !important;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu {
	background: linear-gradient(to bottom,#f7f7f7,#f1f1f1) !important;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	background: #f0f0f0 !important;
    color: #565656 !important;
	font-weight: bold !important;
}

/* Lista Veicoli */
body, section.content {
	background-color: #fff !important;
}
section.content {
	padding-top: 150px !important;
}
section#secondary-banner {
	display: none;
}
.home .page-content, .home .page-content > .vc_row > .wpb_column.vc_column_container > .vc_column-inner, .home .page-content > .vc_row > .wpb_column.vc_column_container > .vc_column-inner > .wpb_wrapper > .row.generate_new > .car_listings {
	padding: 0;
}
.select-wrapper.listing_select {
	display: none;
}
.left-sidebar.side-content.listing-sidebar {
	border: 0px !important;
    background-image: linear-gradient(to right,#2a385a,#242424);
    border-radius: 15px;
}
.left-sidebar.side-content.listing-sidebar .btn-inventory {
	background-color: #000 !important;
    color: #f0f0f0;
    font-size: 14px;
    font-weight: normal !important;
    border: 1px solid transparent;
    border-radius: 4px;
	padding: 6px 12px;
}
.left-sidebar.side-content.listing-sidebar ul.sbOptions {
	width: 100% !important;
}
.sidebar-tipologia a {
	color: #f0f0f0;
	display: contents;
}
.sidebar-tipologia a:hover {
	color: #f0f0f0;
}
.left-sidebar.side-content.listing-sidebar .side-widget {
	border-top: 1px solid #ccc !important;
    padding-top: 1em;
}
.inventory.clearfix.styled_input {
	border: 1px solid #e5e5e5 !important;
    -moz-border-radius: 11px/13px;
    -webkit-border-radius: 11px/13px;
    border-radius: 11px/13px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fff;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.13);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.13);
    box-shadow: 0 0 5px rgba(0,0,0,.13);
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
    background-image: -moz-linear-gradient(bottom,#f9f9f9 0%,#fff 100%);
    background-image: -o-linear-gradient(bottom,#f9f9f9 0%,#fff 100%);
    background-image: -webkit-linear-gradient(bottom,#f9f9f9 0%,#fff 100%);
    background-image: linear-gradient(bottom,#f9f9f9 0%,#fff 100%);
}
.inventory.clearfix.styled_input:hover {
	background-image: -moz-linear-gradient(bottom,#fff 0%,#f9f9f9 100%);
    background-image: -o-linear-gradient(bottom,#fff 0%,#f9f9f9 100%);
    background-image: -webkit-linear-gradient(bottom,#fff 0%,#f9f9f9 100%);
    background-image: linear-gradient(bottom,#fff 0%,#f9f9f9 100%);
}
.boxed div.inventory .view-details, .single-listings .content-nav ul li a {
	color: #fff;
	background-color: #5cb85c;
    border-color: #4cae4c;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid transparent;
    border-radius: 4px;
	text-shadow: none;
	height: auto;
    text-transform: uppercase;
	right: 15px !important;
	left: 15px;
}
.boxed div.inventory .view-details:hover {
	color: #fff;
	background: none;
    background-color: #47a447;
    border-color: #398439;
}
.boxed div.inventory .view-details:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}
.left-sidebar.side-content.listing-sidebar h3.side-widget-title {
	color: #f0f0f0 !important;
}
.boxed div.inventory .inventory .title {
	min-height: 90px;
	font-size: 18px !important;
}
.boxed div.inventory .preview {
	width: 100% !important;
	height: auto !important;
	border: none !important;
}
.boxed div.inventory .figure {
	font-size: 22px !important;
}
.view-video.gradient_button {
	display: none !important;
}

/* Singolo Veicolo */
.single-listings .nav-tabs .nav-link.active {
	color: #3a3a3a;
    border-bottom: 0;
    background-color: #fff;
}
.single-listings .inventory-heading h2 {
	letter-spacing: 0px !important;
	font-size: 2em;
}
.single-listings .inventory-heading h2 span {
	letter-spacing: -2.5px;
    font-family: 'Open Sans', sans-serif, Arial;
}
.single-listings .content-nav ul li.gradient_button a:hover {
	background: linear-gradient(to top left, #2E6792 0%, #2A314E 100%) !important;
	text-shadow: none;
    color: #fff !important;
}
.single-listings .content-nav ul li a {
	color: #fff;
	background-color: #5cb85c;
    border-color: #4cae4c;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid transparent;
    border-radius: 4px;
	text-shadow: none;
	height: auto;
}
.single-listings .content-nav ul li a:hover {
	color: #fff;
	background: none;
    background-color: #47a447;
    border-color: #398439;
}
.single-listings .content-nav ul li a:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}
.single-listings .content-nav ul li:before {
	display: none;
}
.wpcf7-list-item-label, .font-privacy {
    font-size: 10px !important;
    text-align: left;
}
.font-privacy label {
    margin-bottom: 0 !important;
}
form .maggiori-info {
	overflow: hidden;
}
form .maggiori-info p.hidden {
	display: none;
}
form .col-lg-6.col-md-6.col-sm-6.col-xs-12 label {
	width: 100%;
	font-size: 18px;
	font-weight: bold;
    line-height: 24px;
    color: #2d2d2d;
	font-family: 'Open Sans', sans-serif, Arial;
}
.wpcf7-form input[type="email"], .wpcf7-form input[type="text"], .wpcf7-form input[type="tel"], .wpcf7-form select {
	height: 34px;
    width: 100% !important;
    border: 1px solid #989898 !important;
	padding: 3px 5px;
    border-radius: 4px;
    color: #000;
    margin-bottom: 0;
    font-size: 13px;
}
input[type="submit"] {
	background-color: #3c3c3b !important;
	margin-top: 0 !important;
}
input[type="submit"]:active, input[type="submit"]:hover {
	background-color: #104c77 !important;
}

/* Footer */
.car-rate-block.clearfix {
	width: 100%;
}
footer .col-lg-3, .copyright-wrap .col-lg-8, .copyright-wrap .col-lg-4, .copyright-bottom .col-lg-12 {
	padding-left: 0px;
	padding-right: 0px;
}
footer a, footer a:hover {
    color: #e30613 !important;
    text-decoration: none;
}
footer td {
	padding: 0 !important;
	color: #2a385a;
    font-weight: bold;
}
.logo-footer {
	margin-top: 3px !important;
}
.copyright-wrap {
	padding: 10px 0;
    background-color: #2a385a !important;
    color: #fff;
}
.copyright-bottom {
    padding: 5px 0;
    font-size: 13px;
}
#cookie-notice .cn-button {
	background-color: #777;
}
.back_to_top:hover {
    background-color: #104c77 !important;
}

/* Media Query */
@media screen and (max-width: 480px) {
	/* Footer */
	.copyright-wrap img {
		float: left;
    	padding-top: 5px;
	}
}
@media screen and (max-width: 768px) {
	/* Footer */
	footer div {
        padding-bottom: 0px !important;
    }
	footer>.row:first-child {
		height: 35px;
	}
	footer>.row .col-xs-12.padding-top-10 {
		padding-top: 0 !important;
	}
}
@media screen and (max-width: 767px) {
	.hidden-sm.hidden-xs {
		display: none !important;
	}
}
@media all and (min-width: 992px) {
	/* Header */
    header.affix .bottom-header .navbar-default .navbar-brand {
        padding-top: 6px !important;
    }
}
@media screen and (min-width: 1024px) {
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
		padding: 0px 6px 0px 6px;
	}
	/* Search Box */
	#mobile-topbar {
		display: none !important;
	}
	.toolbar ul li.padding-top-10:last-child {
		padding-left: 10px;
		float: right;
	}
	.toolbar ul > li {
		margin-right: 0px !important;
		margin-left: 0px !important;
		padding: 0 5px;
	}
	/* Menu */
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
		color: #fff !important;
		font-size: 14px !important;
		font-weight: normal !important;
		padding: 0px 15px 0px 15px !important;
	}
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link:hover,
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
		color: #fff !important;
		font-weight: normal !important;
		background-color: transparent !important;
	}
}
@media screen and (max-width: 1023px) {
	/* Search Box */
	#desktop-topbar {
		display: none !important;
	}
	#div-form-header-mobile {
		padding: 0;
		padding-bottom: 10px;
		text-align: center !important;
		width: 100%;
		margin: auto;
	}
	#search-form-header {
		display: inline-block !important;
		width: 80% !important;
	}
	#input-form-header {
		width: 30% !important;
		min-width: 200px !important;
		float:none !important;
	}
	/* Menu */
	#mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-58780 .mega-search input[type=submit] {
		display: none;
	}
	#div-form-header-mobile #mega-menu-wrap-header-menu {
		background: #fff !important;
		padding: 0 !important;
	}
	.toolbar ul li form {
		line-height: 20px !important;
	}
	#div-form-header-mobile #mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-58780 .mega-search.mega-search-open input[type=text] {
		background-color: #f0f0f0 !important;
		border-radius: 8px;
    	border-color: transparent;
		width: 100%;
		padding: 3px;
    	margin-top: 1%;
		font-size: 12px;
	}
	#mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-58780 .mega-search .search-icon {
		position: absolute;
		right: 5px;
    	top: 7px;
		color: #666;
	}
	#mega-menu-wrap-header-menu .mega-menu-toggle {
		background-color: #2a385a;
	}
	#mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-309, #mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-12623 {
		display: none;
	}
	#div-form-header-mobile #mega-menu-wrap-header-menu #mega-menu-header-menu li#mega-menu-item-58780 {
		display: block;
	}
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
		background: #f0f0f0 !important;
	}
}
@media only screen and (max-width: 1240px) {
	/* Menu */
	#mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu {
		background-color: #f0f0f0 !important;
	}
	ul#mega-menu-header-menu li a {
		color: #333 !important;
		font-weight: 700 !important;
	}
}