/*
Theme Name: Aerre Motor
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/*----------------------------------------
	INDEX
	
	1- Generical Style 
		1.1 Custom Logo size 
	2- Filtering product style
	3- Contact Form Style
	4- Carousel product Home
    5- Home Carousel
    6- Price filter Range
    7- Header Video
	10- Media Query





-----------------------------------------*/

a {
    text-decoration: none!important;
}
html, body {
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

/*----------------------------------------

	1-	Generical Style

-----------------------------------------*/
.car-img{
	height: 33vh!important;
	background-repeat: no-repeat;
  	background-size:contain;
  	background-position: center;
}

#section-1{
	height: 100vh!important;
	background-repeat: no-repeat;
  	background-size: cover;
}

#section{
	background-repeat: no-repeat;
  	background-size: cover;
}

#section-4{
	height: 50vh!important;
	background-repeat: no-repeat;
  	background-size: cover;
}


#type_section{
	height: 30vh!important;
	background-repeat: no-repeat;
  	background-size: cover;
}

.map-container{
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.map-container iframe{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}


#customRange1{
	width: 100%;
}

.bg-lightgrey{
	background-color: #F3F6F9!important;
}

hr {
  margin-top: 3px!important;
  margin-bottom: 3px!important;
  border: 0!important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}


#menu-primary li a {
  font-weight: 700!important;
  color: #000000;
}
#menu-primary li a:hover {
  
  color: #dc3545 ;
}

.input-group-text{
  border-radius: 20px 0 0px 20px!important;
  background-color: #dc3545!important;
  color: #ffffff!important;
}




@media (min-width: 700px) { 
	p > img{
		width: 90vw!important;
	}
}

/* Medium devices tablets, 768px and up*/
@media (min-width: 768px) { 
	p > img{
		width: 90vw!important;
	}

}


		/*----------------------------------------
			1.1-  Filtering product style
		-----------------------------------------*/
		img.custom-logo {
     max-height: 100px !important;
		}


/*----------------------------------------

	2-  Filtering product style

-----------------------------------------*/

.filter-cat-results .f-cat {
  opacity: 0;
  display: none;
}
.filter-cat-results .f-cat.active {
  opacity: 1;
  display: block;
  -webkit-animation: fadeIn 0.65s ease forwards;
  animation: fadeIn 0.65s ease forwards;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*----------------------------------------

	3-	Contact Form Style

-----------------------------------------*/
.wpcf7-form-control{
	border-radius: 10px!important;
	padding: 2%!important;
	width: 100%!important;
}

/*----------------------------------------

	4- Carousel product Home

-----------------------------------------*/
#news-slider{
    margin-top: 80px;
}
.post-slide{
   
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
}
.post-slide .post-img{
    
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.post-slide .post-img img{
  
    width: 405px;
    height: 228px;
    object-fit: cover;
    transform: scale(1,1);
    transition:transform 0.2s linear;
}
.post-slide:hover .post-img img{
    transform: scale(1.1,1.1);
}
.post-slide .over-layer{
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
    opacity:0;
    background: linear-gradient(-45deg, rgba(6,190,244,0.75) 0%, rgba(45,112,253,0.6) 100%);
    transition:all 0.50s linear;
}
.post-slide:hover .over-layer{
    opacity:1;
    text-decoration:none;
}
.post-slide .over-layer i{
    position: relative;
    top:45%;
    text-align:center;
    display: block;
    color:#fff;
    font-size:25px;
    
}
.post-slide .post-content{
    background:#fff;
    padding: 15px 20px 15px;
    border-radius: 15px;
}
.post-slide .post-content .post-content-wrapper {
  min-height: 230px;
}
@media only screen and (max-width:1080px) {
  .post-slide .post-content .post-content-wrapper {
    min-height: 200px;
  }
}

.post-slide .post-title a{
    font-size:15px;
    font-weight:bold;
    color:#333;
    display: inline-block;
    text-transform:uppercase;
    transition: all 0.3s ease 0s;
}
.post-slide .post-title a:hover{
    text-decoration: none;
    color:#3498db;
}
.post-slide .post-description{
    line-height:24px;
    color:#808080;
    margin-bottom:25px;
}
.post-slide .post-date{
    color:#a9a9a9;
    font-size: 14px;
}
.post-slide .post-date i{
    font-size:20px;
    margin-right:8px;
    color: #CFDACE;
}
.post-slide .read-more{
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196F3;
    color: #ffffff;
    box-shadow: 0px 10px 20px -10px #1376c5;
    border-radius: 10px;
    text-transform: uppercase;
}
.post-slide .read-more:hover{
    background: #3498db;
    text-decoration:none;
    color:#fff;
}
.owl-controls .owl-buttons{
    text-align:center;
    margin-top:20px;
}
.owl-controls .owl-buttons .owl-prev{
    background: #fff;
    position: absolute;
    top:-13%;
    left:15px;
    padding: 0 18px 0 15px;
    border-radius: 50px;
    box-shadow: 3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}
.owl-controls .owl-buttons .owl-next{
    background: #fff;
    position: absolute;
    top:-13%;
    right: 15px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}
.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after{
    content:"\f104";
    font-family: FontAwesome;
    color: #333;
    font-size:30px;
}
.owl-controls .owl-buttons .owl-next:after{
    content:"\f105";
 }

@media only screen and (max-width:1280px) {
    .post-slide .post-content{
        padding: 0px 15px 25px 15px;
    }
}

.carousel-caption {
   position: absolute!important;
   top:5%!important;
}
/*----------------------------------------

    4- Page Product Carousel

-----------------------------------------*/
    .swiper {
        width: 100%;
        height: 100%;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .swiper {
        width: 100%;
        height: 300px;
        margin-left: auto;
        margin-right: auto;
      }

      .swiper-slide {
        background-size: cover;
        background-position: center;
      }

      .mySwiper2 {
        height: 80%;
        width: 100%;
      }

      .mySwiper {
        height: 20%;
        box-sizing: border-box;
        padding: 10px 0;
      }

      .mySwiper .swiper-slide {
        width: 25%;
        height: 100%;
        opacity: 0.4;
      }

      .mySwiper .swiper-slide-thumb-active {
        opacity: 1;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        height: auto;
      }


/*----------------------------------------

     6- Price filter Range

-----------------------------------------*/
#price_range{
    width: 100%!important;
}


/*----------------------------------------

    7- Header Video

-----------------------------------------*/

.videohome {
  height: 65vh;
  position: relative;
}
@media only screen and (min-width: 674px) {
  .videohome {
    height: 100vh;
    position: relative;
  }
}
video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*----------------------------------------

	10- Media Query

-----------------------------------------*/
/*Extra small devices (portrait phones, less than 576px)
  No media query for `xs` since this is the default in Bootstrap*/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 300px) {
  .t-footer{font-size: 12px!important;}
 }

@media (max-width: 768px) {
	h2 {
	font-size: 25px !important;
	}
	p {
	font-size: 18px !important;
	}
	#assistenzaopel,
	#opelminded,
	#peugeotseduzione,
	#citroencare,
	#assitance,
	#solutioninnovative, 
	#serviziunicids,
	#iconads {
		background-position: left !important;
	}
	
	#sostenibilitaopel,
	#eccellenzads,
	#peugeotassistsance,
	#mobilitaenergia {
		background-position: right !important;
	}

  .footer-mobile {
    font-size: 14px !important;
  }
  
  .footer-mobile-copy {
    font-size: 11px !important;
  }
  .product-size-mobile {
    font-size: 18px !important;
  }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { 
	
	p > img{
		width: 90vw!important;
	}
  .mobile-break { display: none; }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

	/* Hide primary element menu by class no-desktop */
	li:has(.no-desktop){
		display: none!important;
	}

  .mobile-break { display: none; }

  #menu-item-358{
    display: none!important;
  }
  #menu-item-360{
    display: none!important;
  }
  
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 

  #menu-item-358{
    display: none!important;
  }
  #menu-item-360{
    display: none!important;
  }
 }



 /* Extra Style for single nuovi modelli post type */
 .single-nuovi-modelli .result-wrapper .result-item {
  background-color: #ededed;
  transition: all .5s;
  position: relative;
  top:0;
 }
 .single-nuovi-modelli .result-wrapper .result-item:hover {
   background-color: white;
   top:-10px;
   box-shadow: 10px 10px 20px rgba(0,0,0,0.15);
  }
  .single-nuovi-modelli .result-wrapper .result-item .title {
   color: black;
  }
  .single-nuovi-modelli .result-wrapper .result-item:hover .title {
   color: var(--primary);
  }





  .image-text-section {
    background-position: left; 
    background-repeat: no-repeat; 
    background-size: cover; 
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
  }
  .image-text-section.vh-sm-65 {
    height: 65vh;
  }
  .image-text-content p {
    font-size: 18px;
  }
  @media only screen and (min-width: 647px) {
    .image-text-section {
      background-position: center; 
      height: 80vh;
    }
    .image-text-section.vh-sm-65 {
      height: 80vh;
    }
    .image-text-content p {
      font-size: 1.25rem;
    }
  }


.hero-slider {
  height: 275px;
}
.hero-slider .carousel-item {
  height: 275px;
}
@media only screen and (min-width: 647px) {
  .hero-slider {
    height: auto;
  }
  .hero-slider .carousel-item {
    height: 100%;
  }
}

@media only screen and (min-width: 1500px) {
  .hero-slider .carousel-item {
    height: auto;
  }
  .hero-slider {
    height: 100%;
  }
}

.hero-slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider .carousel-indicators li {
  background-color: #D9D9D9;
  width: 50px;
  border-radius: 50px;
  bottom: -50px;
  cursor: pointer;
}
.hero-slider .carousel-indicators li.active {
  background-color: #DC3E39;
}


@media (min-width: 900px) and (max-width:1150px) {
  .grid-item {
    width: calc(33.33%) !important;
  }
}
@media (min-width: 500px) and (max-width:899px) {
  .grid-item {
    width: calc(50%) !important;
  }
}
@media (max-width: 499px) {
  .grid-item {
    width: calc(100%) !important;
  }
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.grid-item {
  width: calc(25%);
  overflow: hidden;
  background: #fff;
}
.grid-item img {
  width: 100%;
  height: auto;
}
#filters {
  text-align: center;
}
#filters .btn {
  margin-right: 5px;
  margin-bottom: 5px;
}


/*----------------------------------------

     Citroen c3 Aircross - Landing Page

-----------------------------------------*/

.citroen-c3-aircross .owl-controls {
  height: auto;
}
.citroen-c3-aircross .owl-controls .owl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px
}
.citroen-c3-aircross .owl-controls .owl-pagination .owl-page {
  background: #c9c9c9;
  width: 25px;
  height: 7px;
  border-radius: 5px;
}
.citroen-c3-aircross .owl-controls .owl-pagination .owl-page.active {
  background: #dc3545;
}
.citroen-c3-aircross .owl-wrapper-outer {
  padding-bottom: 1.5rem;
}

.citroen-c3-aircross input {
  border: 1px solid #e1e1e1;
  padding-block: 1rem !important;
  padding-left: 1rem !important;
}
.citroen-c3-aircross .wpcf7-acceptance input {
  margin-right: 5px
}

.citroen-c3-aircross .form-group p {
  margin-bottom: 0px
}

.screen-reader-response {
  display: none;
}
.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: .8rem;
}
.wpcf7-form.invalid .wpcf7-response-output {
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border: 1px solid var(--danger);
  margin-top: 0.5rem;
  color: var(--danger);
}
.wpcf7-form.sent .wpcf7-response-output {
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border: 1px solid var(--success);
  margin-top: 0.5rem;
  color: var(--success);
}

.citroen-c3-aircross .wa-btn {
  line-height: .5;
}
.citroen-c3-aircross .wa-btn svg {
  fill: var(--danger);
  width: 25px;
}
.citroen-c3-aircross .wa-btn:hover svg {
  fill: var(--white);
}