/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body{
	background: #F5F5F5;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
	transition: all 0.2s ease-in-out;
}

a:hover {
    color: var( --e-global-color-accent );
	transition: all 0.2s ease-in-out;
}

body{
	font-family: "Ubuntu", Sans-serif;
}

select {
    width: 100%;
    border: 1px solid #ddd;
    background-color: #F5F5F5;
    cursor: pointer;
    color: #000;
    padding: 0 5px;
    margin: 0;
    height: 2.25em;
    min-height: auto;
    font-size: 14px;
    outline: none;
}

ul{
	padding-left: 20px;
}

input:not(input[type=range]){
	background: #444444;
	color: #fff;
	font-size: 13px;
	font-weight: 200;
	outline: none;
	padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
	line-height: 1em;
}

[type=button], [type=submit], button{
    font-size: 13px;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #F50202;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    padding: 8px 15px 8px 15px;
    -webkit-align-self: center;
    align-self: center;
    border-radius: 0;
    text-transform: uppercase;
	outline: none;
}

[type=button]:hover, [type=submit]:hover, button:hover, button:focus, .elementor-widget-button .elementor-button:hover{
	background-color: #dd0000;
	outline: none;
}

.elementor-icon {
    transition: none;
}

.elementor-heading-title {
    display: block;
}

#cars-container{
	margin-top: 2rem;
}

/*Photobox defaults*/
.pbHide .pbWrapper > *,
.pbHide .pbWrapper > .prepare{ opacity:0; transition:.2s ease-in; }

.pbWrapper > div,
.pbWrapper > img{
    transition:.2s ease-out;
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev{
	background-image: none;
}

/*** when going to the next slide ***/
/* prepare next slide which will be shown */
.pbWrapper > *,
.pbHide.next .pbWrapper > .prepare{ transform:translatex(0); }
/* prepare current slide which will "go away" */
.pbHide.next .pbWrapper > *{ transform:translatex(0);  }

/* when going to the previous slide */
.pbWrapper > *,
.pbHide.prev .pbWrapper > .prepare{ transform:translatex(0); }
.pbHide.prev .pbWrapper > *{ transform:translatex(0); }

/*Single car gallery image*/
#gallery.swiper-wrapper img{
	height: 450px;
	max-height: 450px;
	width: 100%;
	object-fit: cover;
}

@media (max-width:768px){
	#gallery.swiper-wrapper img{
	aspect-ratio: 3/2.2;
	height: auto;
	width: 100%;
	object-fit: cover;
}
}

/*Prevent vertical scrolling on mobile thumbnails Photobox*/
.mobile .pbThumbs {
    overflow: auto;
    overflow-y: clip;
}

/*Kalkulačka*/
.akontacia,.financovanie{
	cursor: pointer;
}

.akontacia.active,.financovanie.active{
	    background-color: var( --e-global-color-accent )!important;
}

.akontacia.active span,.financovanie.active span{
	    color: #fff!important;
}

/*Auto tabs*/
#vybavenie-tab,#poznamka-tab{
	display: none;
}

#popis-auta-tab-btn span,#vybavenie-tab-btn span,#poznamka-tab-btn span{
	cursor: pointer!important;
}

/*Auto vybavenie loop*/
.vybavenie-category-child-loop{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 0px;
	margin-bottom: 10px;
}

.vybavenie-category-child-loop svg{
	fill: var( --e-global-color-accent );
	min-width: 20px;
}

.vybavenie-category-child-loop p{
  display: flex;
  align-items: center;
  gap: 5px;
	font-size: 14px;
}

.vybavenie-category h5{
	margin-top: 0;
}

@media (max-width:767px){
	.vybavenie-category-child-loop{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
}

/*Similar cars*/
.similar-post{
	display: flex;
  align-items: flex-start;
	gap: 20px;
	padding: 10px;
	color: inherit;
}

.similar-post img{
	width: 30%;
	height: auto;
	object-fit: contain;
}

.similar-post-data{
	width: 70%;
}

.similar-post-data h2{
	font-size: 15px;
	margin: 0;
}

.similar-post-data p{
	font-size: 15px;
	font-weight: 500;
	color: var( --e-global-color-accent );
	margin: 0;
}

/*Znacky logo loop*/
.parent-taxonomies-logos{
	overflow: hidden;
}

@media (min-width: 901px){
	.parent-taxonomies-logos > .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}
}


.taxonomy-logo img{
	max-height: 105px;
	width: 80%;
	object-fit: contain;
	filter: grayscale(1);
	transform: scale(1);
	transition: all 0.3s ease-in-out;
}

.taxonomy-logo:hover img{
	filter: grayscale(0);
	transform: scale(1.05);
	transition: all 0.3s ease-in-out;
}

.taxonomy-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E1E1E1;
    border-radius: 15px;
    background: #fff;
    padding: 15px;
	height: 100%;
}

@media (max-width: 900px){
.taxonomy-logo {
	height: auto;
}
}

.parent-taxonomies-logos img{
  width: 95%;
}

/*Car loop odporucane shortcode*/
.car-loop-odporucane {
	overflow: hidden;
	margin-bottom: 4rem;
}

@media (max-width: 1024px){
	.car-loop-odporucane {
	margin-bottom: 3rem;
}
}

.car-loop-odporucane a{
	color: inherit;
}

.car-loop-odporucane > div > .car-loop-item{
	display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.car-loop-odporucane > div > .car-loop-item img{
	width: 100%;
	height: auto;
	aspect-ratio: 3/2;
	object-fit: cover;
}

.car-loop-odporucane > div > .car-loop-item h2{
	font-size: 20px;
	font-weight: 600;
	margin: 8px 0 10px 0;
}

.car-loop-odporucane > div > .car-loop-item .car-loop-data{
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 15px;
	margin-bottom: 15px;
}

.car-loop-odporucane > div > .car-loop-item > div > .car-loop-data li{
	font-size: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.car-loop-odporucane > div > .car-loop-item > div > .car-loop-footer{
	display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-loop-odporucane > div > .car-loop-item > div > .car-loop-footer p{
	margin: 0;
	font-size: 25px;
	font-weight: 500;
}

/*Car loop najnovsie*/
.car-loop-najnovsie{
	overflow: hidden;
}

@media (min-width: 768px){
	.car-loop-najnovsie .swiper-wrapper{
	display: grid;
	grid-template-columns: 2fr repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

.car-loop-item-0 {
	grid-area: 1 / 1 / 3 / 2;
}

.car-loop-item-1 {
	grid-area: 1 / 2 / 2 / 3;
}

.car-loop-item-2 {
	grid-area: 1 / 3 / 2 / 4;
}

.car-loop-item-3 {
	grid-area: 2 / 2 / 3 / 3;
}
}

.car-loop-najnovsie .car-loop-item{
	position: relative;
	display: flex;
	flex-direction: column;
}

/* Car loop najnovsie first item */
.car-loop-najnovsie .car-loop-item-0 img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.car-loop-najnovsie .car-loop-item-0 h2{
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin: 0;
	padding: 15px;
}

.car-loop-najnovsie .car-loop-item-0 p{
	font-size: 18px;
	font-weight: 400;
	color: #fff;
	padding: 15px;
	background-color: var( --e-global-color-accent );
	margin: 0;
}

.car-loop-najnovsie .car-loop-item-0 > .car-data{
	position: absolute;
	bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
	width: 90%;
}
/*first item end*/

@media (min-width: 768px){
	.car-loop-najnovsie .car-loop-item:not(.car-loop-item-0) img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.car-loop-najnovsie .car-loop-item:not(.car-loop-item-0) h2{
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.car-loop-najnovsie .car-loop-item .two-line-text{
	background-color: #00000096;
	padding: 12px;
}

.car-loop-najnovsie .car-loop-item:not(.car-loop-item-0) p{
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	padding: 10px;
	background-color: var( --e-global-color-accent );
	margin: 0;
}

.car-loop-najnovsie .car-loop-item:not(.car-loop-item-0) > .car-data{
	position: absolute;
	bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
	width: 100%;
}
}

@media (max-width: 767px){
	.car-loop-najnovsie .car-loop-item img{
	width: 100%;
	aspect-ratio: 3/2.2;
	height: 100%;
	object-fit: cover;
}

.car-loop-najnovsie .car-loop-item h2{
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.car-loop-najnovsie .car-loop-item .two-line-text{
	background-color: #00000096;
	padding: 12px;
}

.car-loop-najnovsie .car-loop-item p{
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	padding: 10px;
	background-color: var( --e-global-color-accent );
	margin: 0;
}

.car-loop-najnovsie .car-loop-item > .car-data{
	position: absolute;
	bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
	width: 100%;
}
}

/*swiper defaults*/
.swiper-pagination{
	position: relative!important;
	bottom: 0!important;
	top: 0!important;
	display: flex;
	width: 100%!important;
  justify-content: center;
	margin-top: 1.5rem;
}

/*Car labels*/
.car-labels{
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
	gap: 8px;
}

.car-labels span{
	background-color: #f50202ba;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	padding: 5px;
	border-radius: 5px;
}

/*Nas tim loop shortcode*/
.nas-tim-posts{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 70px;
}

.nas-tim-post{
	display: flex;
}

.nas-tim-post-data{
	width: 50%;
}

.nas-tim-post img.post-thumbnail{
	width: 50%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 1;
}

.nas-tim-top {
  padding: 33px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
	transition: all 0.3s ease-in-out;
}

.nas-tim-top span{
	font-family: "Ubuntu", Sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 15px;
}

.nas-tim-top p{
	font-family: "Ubuntu", Sans-serif;
	font-size: 13px;
	margin: 0;
}

.nas-tim-bottom {
	margin: 12px 33px 20px 33px;
	padding-bottom: 20px;
	border-bottom: 4.5px solid var( --e-global-color-accent );
}

.nas-tim-bottom ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.nas-tim-bottom a{
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Ubuntu", Sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
	margin-bottom: 5px;
	color: var(--e-global-color-primary);
}

.nas-tim-bottom a:hover {
    color: var(--e-global-color-accent);
}

.nas-tim-bottom svg{
	fill: var( --e-global-color-accent );
}

.nas-tim-post:hover .nas-tim-top{
	background: var( --e-global-color-accent );
	color: #fff;
	transition: all 0.3s ease-in-out;
}

.nas-tim-odd .nas-tim-top{
	text-align: right;
	align-items: flex-end;
}

@media(max-width: 1000px){
	.nas-tim-posts{
		grid-row-gap: 30px;
	}
	
	.nas-tim-post {
    display: flex;
    flex-direction: column;
    align-items: center;
	}
	
	.nas-tim-odd{
    flex-direction: column-reverse;
	}
	
	.nas-tim-post-data{
		width: 100%;
	}
	
	.nas-tim-post img.post-thumbnail{
		width: 100%;
	}
}

@media(max-width: 767px){
	.nas-tim-posts{
		grid-template-columns: repeat(1, 1fr);
		grid-row-gap: 10px;
	}
}

/*elementor testimonial*/
.elementor-testimonial{
	display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #f50202 #F5F5F5;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 13px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #f50202;
    border-radius: 0px;
    border: 0px solid #ffffff;
  }

/*Wpforms styles*/
.wpforms-field-divider{
	border: none!important;
	margin-top: 0px!important;
}

.wpforms-field-divider h3{
	margin: 0!important;
	padding: 0!important;
	margin-top: 1rem!important;
}

.wpforms-field{
	padding-bottom: 10px!important;
}

.wpforms-field input,.wpforms-field select{
	border-radius: 0px!important;
}

.wpforms-submit{
	text-transform: uppercase!important;
}

div.wpforms-container-full:not(:empty){
	margin: 10px auto!important;
}
