/* 
    Created on : 08-dic-2021, 5:10:15
    Author     : rcardenas
*/
.about_paypal {display:none;}
@media (min-width:1024px) {
.modal-lg {width: 1024px!important}
}
#modal-heading-1 {
  font-weight: 500;
  font-size: large;
}
/*
.az_wrap {width: 99%;}
.div-det-pieza {float: left; width: 60%;}
.titulo-detalle {padding: 5px 10px; font-weight: 600;}
.div-clear {clear: both; overflow: auto;}
.titulo-attr {width: 39%; float: left; text-align: right; padding: 5px 10px; font-weight: 600;}
.valor-attr {width: 60%; float: left; padding: 5px 10px;}
.obs-valor {text-align: left; overflow-y: auto;}
.div-boton-compra {clear: both; overflow: auto; text-align: center;}
.boton-compra {margin-top: 5px;}
.div-det-veh {float: left; width: 40%;}
.div-foto {clear: both; padding: 5px 10px;}
.div-veh-attr {clear: both; padding: 5px 10px; font-weight: 600;}
.valor {font-weight: 400;}
*/
.formBusqueda{
  display: grid;
  grid-template-columns: 1fr 1fr;  
  grid-gap: 1rem;
}
.formBusquedaRapida {
  display: grid;
  grid-template-columns: 2fr 7fr 1fr;  
  grid-gap: 2rem;
  align-items: baseline;
  margin: 0 5px 0 35px;
}
.itemBusquedaRapida {}
.inputBusquedaRapida {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-top: 10px !important; padding-bottom: 10px !important; height: 45px !important;
  background: #F6F6F6 !important;
  border: none !important;
  width: 100% !important;
  color: #5c6668 !important;
  font-size: 13px !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}
.formitem {padding: 1rem;}
.formitem select{width: 100%;}
#btnBusquedaAvanzada {margin-top: 2rem;}

@media only screen and (max-width: 500px) {
  #textoBusquedaRapida {margin: 0 25px 20px;}
  .formBusqueda {
    grid-template-columns: 1fr;
    padding: 0;
  }  
  .formBusquedaRapida {
    grid-template-columns: 1fr;  
    grid-gap: 1rem;
    margin: 0 25px;
  }
  .formitem {padding: 0 1rem;}
  #main {padding-left: 0 !important; padding-right: 0 !important;}
}

#loader {
  position: fixed;
  left: 0px;top: 0px; width: 100%; height: 100%; z-index: 9999;
  background: url(/wp-content/plugins/raanet-azeler/includes/img/loader.gif) 50% 50% no-repeat rgba(249,249,249,0.8);
  display: none;
}

.pagination {margin-top:15px !important}
.button-secondary {
display: inline-block;
  text-decoration: none;
  font-size: 14px;
  line-height: 2.15384615;
  min-height: 30px;
  margin: 0;
  padding: 0 10px !important;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  -webkit-appearance: none;
  border-radius: 3px;
  white-space: nowrap;
  box-sizing: border-box;  
  
  color: #2271b1;
  border-color: #2271b1;
  background: #f6f7f7;
  vertical-align: top;  
}
.button-primary {
  background: #008fc5;
  color: #fff;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 28px;
  height: auto;
  display: inline-block;
  text-decoration: none;
  box-shadow: none;
  border-radius: 3px;
}

.grid-piezas {
  display:grid; 
  grid-template-columns: 0.75fr 1.5fr 0.5fr 1.25fr 1.25fr 0.5fr 0.5fr 0.75fr; 
  grid-template-rows: auto;
  grid-auto-flow: row; 
  grid-column-gap:1px; 
  grid-row-gap: 1px;
}
.cabecera-grid {
  font-weight:700; 
  background-color: cornflowerblue; 
  padding:6px 5px; 
  font-size:16px;
}
.fila-completa-centro {
  grid-column: 1 / span 8; 
  text-align:center; 
  font-size:16px
}
.fila-completa-derecha {
  grid-column: 1 / span 8; 
  text-align: right; 
  font-size: 16px
}
.contenido-grid {
  font-weight:400; 
  background-color: aliceblue; 
  padding:8px; 
  vertical-align: middle;
}
.boton-pieza {
  margin:3px 3px !important;
}


/* Nuevos */

/** MODAL **/
.datos-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    grid-row-gap: 2rem;
}
@media only screen and (min-width: 768px) {
.datos-modal-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.area-izquierda { grid-area: 1 / 1 / 2 / 2; }
.area-derecha { 
	grid-area: 1 / 2 / 2 / 3;
	text-align:center;
 }
}

#ModalBuscador .modal-body .datos-modal-grid .modal-datos-titulo {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 1rem;
}
.modal-datos-fila-titulo {
    width: 35%;
    font-weight: 700;
}
.modal-datos-fila-valor {
    width: 65%;
}

.modal-datos-fila-titulo-derecha {
    width: 20%;
    font-weight: 700;
}
.modal-datos-fila-valor-derecha {
    width: 80%;
}

.modal-datos-fila {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.75rem;
}

.modal-datos-fila-valor .valor::before, .modal-datos-fila-valor .valor::after,
.modal-datos-fila-valor-derecha .valor::before, .modal-datos-fila-valor-derecha .valor::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  z-index: 0;
}

.modal-datos-fila-valor .valor::before,.modal-datos-fila-valor .valor::after,
.modal-datos-fila-valor-derecha .valor::before, .modal-datos-fila-valor-derecha .valor::after {
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #4252a3;
  color: #4252a3;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 0s;
}

.modal-datos-fila-valor .valor::after,
.modal-datos-fila-valor-derecha .valor::after {
  left: 16px;
  animation-delay: 1s;
}

@keyframes dotFlashing {
  0% {
    background-color: #4252a3;
  }
  100% {
    background-color: #ebe6ff;
  }
}
.valor {
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.obtenido.valor::after,.obtenido.valor::before  {display: none;}

#ModalBuscador .modal-body {
    padding: 0 20px;
}

#ModalBuscador .modal-body #comprar,
#ModalBuscador .modal-body #info {
    display: none;
}

#comprarModal,
#infoModal {
    cursor: pointer;
    background: #4252a3;
    border: 2px solid #4252a3;
	margin: 0 0 0 2rem;
}

#ModalBuscador .modal-footer .fusion-button.button-default.button-medium.button.default.medium {
    background: white;
    color: #4252a3;
    border: 2px solid #4252a3;
    border-radius: 3px;
	margin-left:2rem;
}

#ModalBuscador .close {
    color: #4252a3;
    opacity: 1;
}

#ModalBuscador .modal-title {
    font-weight: 900;
    font-size: x-large;
}

#ModalBuscador .modal-header, #ModalBuscador .modal-footer {
    border-color: transparent;
}



/* Buscador de piezas (páginas) */
.tabla-piezas-cabecera {
	display:flex;
	flex-direction:row;
    background-color: #4252a3;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: .5rem 1rem;
}
.tabla-piezas-fila {
	display:flex;
	flex-direction:row;
    align-items: center;
    background-color: #f3f3f3;
	font-size:15px;
    border-top:1px #d9d9d9 solid;
	padding:1rem;
}
.tabla-piezas-fila:nth-child(1) {
    border-top:1px transparent solid;
}

/*
.tabla-piezas-fila:hover {
    transform: scale(1.05);
    background-color: #4252a3;
    color: #fff;
    transition: .4s ease-out;
    font-weight: 500;
    border-bottom: 1px transparent solid;
}
*/


/*.pieza, .version, .modelo {
    width: 10%;
}
.marca, .motor, .importe, .botones {
    width: 10%;
}*/
#piezas .foto {
	width:300px;
	text-align:center;
}

#piezas .tabla-piezas-fila-datos {
	width: 50%;
    padding: 0 2.5rem 0 4rem;
}
#piezas .tabla-piezas-fila-precio{
	width: 15%;
    font-size: 2rem;
    font-weight: 700;
}
#piezas .tabla-piezas-fila-botones {
    width: 14%;
	display: flex;
    flex-direction: column;
}

#piezas .tabla-piezas-fila-datos .titulo {
	font-weight:600;
    width: 12%!important;
}

#piezas .tabla-piezas-fila-datos > div {
    display: flex;
    padding: 0.1rem 0;
}

#piezas .tabla-piezas-fila-datos .pieza .dato {
    text-transform: lowercase;
}
#piezas .tabla-piezas-fila-datos .pieza .dato:first-letter {
    text-transform: capitalize;
}
#piezas .importe {
    font-weight: 600;
    font-size: 1.5rem;
}

#piezas .foto img {
    width: 100%;
    object-fit: cover;
    max-width: 300px;
    max-height: 128px;
	cursor: pointer;
}

#piezas .tabla-piezas-fila-precio .titulo {
    display: block;
    font-weight: 600;
	font-size:15px;
}
#piezas .tabla-piezas-fila-precio .iva {
    display: block;
    font-size: 10px;
}

#Fotos{
	margin:0 1rem;
}
#Fotos #img0 {
    width: 475px;
	height: 300px;
    max-width: 100%;
    max-height: 100%;
    margin: 0 0 .25rem 0;
    object-fit: cover;
    cursor: unset;
}
.foto-pieza {
    width: 25%;
    height: auto;
    margin: 5px 0;
    border-radius: 5px;
}

#Fotos.con-fotos .logo-modal {
    display: none;
}

#Fotos .logo-modal {
	max-width: 100%;
    max-height: 100%;
}

#Fotos.con-fotos {
    display: flex;
    flex-direction: row;
    width: 97%;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: unset;
    align-content: flex-start;
}

#Fotos .foto-pieza {
    width: 151px;
    border-radius: 5px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
}

/* MÓVIL */
@media (max-width:768px){	
[id*="comp"] {
    margin-top:1.25rem;
}

#Fotos {
    margin:0
}
#Fotos.con-fotos {
    width: 100%;
}
#Fotos #img0 {
    width: 100%;
    height: 200px;
}
#Fotos .foto-pieza {
    width: 31.24%;
    height: 60px;
}

#Importe {
	font-size:15px;
	font-weight:16px;
	margin-bottom:2rem;
}

.modal-datos-fila-titulo {
    width: 50%;
}
.modal-datos-fila-titulo-derecha {
    width: 35%;
}

.tabla-piezas-fila {
    flex-direction: column;
}

#piezas .tabla-piezas-fila-datos {
    width: 100%;
    padding: 1rem 0;
}

#piezas .tabla-piezas-fila-datos .titulo {width: 25%!important;}

#piezas .tabla-piezas-fila-precio {
    width: 100%;
}

#piezas .tabla-piezas-fila-botones {
    width: 100%;
}

#piezas .foto {
    width: 100%;
}

#piezas .foto img {
    max-width: 100%;
    max-height: 100%;
}
#comprarModal, #infoModal {
	margin:0 0 1rem;
	width: 100%;
}

}