/*
Theme Name: Mivisa Motors
Theme URI: https://mivisamotors.com
Template: popularfx
Text Domain: mivisamotors
*/

html, .page{
	overflow-x:hidden;
}

#qlwapp.qlwapp-bubble .qlwapp-toggle {
    width: 40px !important;
    height: 40px !important;
}

#galeria-container {
	margin-top: 10px; 
}

#qlwapp.qlwapp-middle-left, #qlwapp.qlwapp-bottom-left {
    left: 94% !important;
}

#galeria-list { 
	display: flex; 
	gap: 10px; 
	flex-wrap: wrap; 
}

#galeria-list li { 
	list-style: none; 
	position: relative; 
}

.eliminar-imagen { 
	display: block; 
	margin-top: 5px; 
	cursor: pointer; 
	background: red; 
	color: white; 
	border: none;
	padding: 5px;
}

.pagelayer-row-stretch-auto > .pagelayer-row-holder, .pagelayer-row-stretch-full > .pagelayer-row-holder.pagelayer-width-auto {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

a#pfx-scroll-top.pfx-scroll-top {
    bottom:10%
}

.p-ms04844 .pagelayer-col-holder > div:not(:last-child), .p-drp5428 .pagelayer-col-holder > div:not(:last-child) {
	margin-bottom: 0 !important;
}

/*.p-cch5053 .pagelayer-wp_menu-ul>li:last-child>a, .p-qgj1152 .pagelayer-wp_menu-ul>li:last-child>a{
	padding-right:10px;
}*/

.motocicletas-container{
   width:80%;
   margin:auto;
   padding-bottom: 75px;
}

/**FRONTPAGE MOTOS**/
.motocicletas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.motocicleta-item {
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 10px;
    background: #fff;
	line-height:0;
	overflow:hidden;
}

.motocicleta-imagen{
	overflow:hidden;
}

.motocicleta-imagen img {
    width: 100%;
	height: auto;
	border-radius: 10px;
	transition: .3s;
    object-fit: cover;
}

.motocicleta-imagen img:hover {
    transform: scale(1.1);
}

.motocicleta-titulo {
	font-size: 18px;
    margin: 0;
    padding: 10px 0;
	color: #fff;
	background:#000;
	line-height: 1.8;
	border-radius: 0 0 10px 10px;
}

/**MOTOCICLETA SINGLE****************/

.motocicleta-flex {
	display: block;
	width: 90%;
	margin: auto;
}


.motocicleta-meta {
	display: flex;
	gap: 20px;
}
.motocicleta-detalle {
	width: 70%;
	margin: auto;
}

.motocicleta-sidebar {
	width: 30%;
	padding-top: .67em;
}
.motocicleta-title {
    font-size: 44px;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #000;
}

h2.motocicleta-title:before {
    content: '';
    height: 2px;
    width: 25px;
    background: red;
    display: inline-block;
    margin-bottom: 10px;
}

.motocicleta-image img {
	width: 100%;
	max-width: 600px;
	border-radius: 5px;
}

.motocicleta-meta {
	font-size: 16px;
	color: #555;
	margin: 10px 0;
}
.motocicleta-descripcion {
	margin-top: 20px;
	text-align: left;
}

.motocicletas-recomendadas {
	max-width: 80%;
	margin: 0 auto 50px;
}

.volver {
	display: inline-block;
	margin-top: 20px;
	text-decoration: none;
	color: #0073aa;
	text-align: center;
}

.principal, .miniaturas {
	overflow: hidden;
	position: relative;
}
/*.swiper-container { width: 100%; max-width: 600px; margin: auto; }
.swiper-slide img { width: 100%; border-radius: 5px; cursor: pointer; }
.miniaturas { 
    margin-top: 10px; 
    width: 100%; 
    max-width: 500px; }*/
/*.miniaturas .swiper-slide {
    width: 80px !important; 
    cursor: pointer; 
}
.miniaturas .swiper-slide img { 
    border: 2px solid transparent; 
    transition: border 0.3s; 
}
.miniaturas .swiper-slide-thumb-active img { 
    border-color: red;
}*/ 

.swiper {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

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


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

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

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

.miniaturas .swiper-slide {
  width: 10% !important;
  height: 100%;
  opacity: 0.4;
  cursor:pointer;
}

.miniaturas .swiper-slide img {
	  height: 50px;
}

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

.fancybox__thumbs {
    display: none;
}

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

sidebar.motocicleta-sidebar input:not([type=radio]), sidebar.motocicleta-sidebar textarea {
	width: 100%;
	padding: 15px;
	border-radius: 10px;
}

.wpcf7-list-item {
    display: block;
    margin: 5px 0 0 1em;
}

table{
	border-collapse: collapse;
}

.tablepress tr.even {
    background: #eee;
}
.tablepress td {
    padding: 10px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-size: 1.15em;
    background: #ef1a27;
    color: #fff;
    cursor: pointer;
    width: 45%;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background: #ff0000;
}

.calculadora-prestamo {
	max-width: 600px;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #f9f9f9;
	margin: 50px auto;
}
.calculadora-prestamo h2{
	margin: 10px 0;
}
.calculadora-prestamo label, 
.calculadora-prestamo input, 
.calculadora-prestamo select, 
.calculadora-prestamo button {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.calculadora-prestamo input,
.calculadora-prestamo select{
	padding: 10px;
	border-radius: 10px;
}

.calculadora-prestamo button {
	background: #ef1a27;
	color: #fff;
	padding: 10px;
	border: none;
	cursor: pointer;
	margin-top:20px;
    border-radius: 20px;
}
.incluirEquipo{
	display: flex;
	align-items: center;
	margin-bottom:10px;
}
.incluirEquipo input,
.incluirEquipo label{
	margin:0;
}
.incluirEquipo input{
	width: 25px;
}

@media screen and (max-width: 420px) {
	.pagelayer-row-stretch-auto > .pagelayer-row-holder, .pagelayer-row-stretch-full > .pagelayer-row-holder.pagelayer-width-auto {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	
	a#pfx-scroll-top.pfx-scroll-top {
    left: 85%;
	}
	
	#qlwapp.qlwapp-middle-left, #qlwapp.qlwapp-bottom-left {
		left: 80% !important;
	}
}

@media screen and (max-width: 768px) {
	.motocicletas-container{
	   width:90% !important;
	   margin:auto;
	   padding-bottom: 75px;
	}
    .motocicleta-item:nth-child(n+5) {
		display: none;
	}
}

@media (max-width: 1024px){
    .p-o6c7755, .p-tek5244{
        display: none!important;
    }
}

@media (max-width: 1600px){
     .p-tek5244{
        display: none!important;
    }
	.p-tq14748 .pagelayer-service-icon i {
		width: 48px;
        text-align: right;
	}
	.p-tq14748 .pagelayer-service-heading {
		text-align: right;
	}
}

@media screen and (min-width: 768px) {
	.motocicletas-grid{
		grid-template-columns: 50% 50%;
	}	
}

@media screen and (min-width: 1024px) {
	.motocicleta-flex {
		display: flex;
		width: 80%;
		gap: 30px;
	}
	
	.motocicletas-grid{
		 grid-template-columns: 32.33% 32.33% 32.33%
	}	
}


@media screen and (min-width: 1600px) {
	.p-alm3313 .pagelayer-wp-title-img {
        width: 30% !important;
        height: auto;
    }
}


