/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*------------------------PLATAFORMA DE BÁSCULA------------------------*/

#bascula {
	margin: 0 auto;
	height: 70vh;
	width: 90vw;
	border: 2px solid black;
	border-radius: 7px;
	background-color: #80808021;
	display: flex;
	justify-content: center;
	align-items: center;
}

#bascula span {
	font-size: 30px;
	font-weight: 700;
}


/*------------------------MENU DE NAVEGACION----------------------------- */

/* ALTURA DEL HEADER */

.inside-header {
    padding: 0 40px;
}

/* COLOR DEL HEADER */

.site-header {
    background-color: #103ea5;
}

.main-navigation, .main-navigation ul ul {
    background-color: transparent;
}

/* LOGO DEL HEADER */

.site-header .header-image {
    width: 160px;
}

/* ESTILO BOTONES MENU */

.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-items {
    color: white;
}

.main-navigation .main-nav ul li:hover > a, .main-navigation .main-nav ul li:focus > a, .main-navigation .main-nav ul li.sfHover > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
    color: white;
    background-color: #9ca6bc;
}

.main-navigation .main-nav ul ul li:hover > a, .main-navigation .main-nav ul ul li:focus > a, .main-navigation .main-nav ul ul li.sfHover > a {
    color: white;
    background-color: #9ca6bc;
}

.main-navigation, .main-navigation ul ul {
    background-color: #103ea5;
	color:white;
}

.main-navigation .main-nav ul ul li a {
    color: white;
}

/* FUENTE MENÚ PRINCIPAL */

.main-navigation a {
    font-size: 18px !important;
}

/*--------------------------------BODY----------------------------------------*/


/*-------------------------ELIMINAR IMAGEN DESTACADA DE PAGINAS ---------------------------*/

.featured-image {
	display: none;
}


/*	COMMENTS AREA - COMENTARIOS	*/
.site-main .comments-area {
	margin: 3.5em auto 0;
    max-width: 700px;
	background-color: #eee;
}


/* CONTENEDOR PRINCIPAL */

.one-container .site-content {
    padding: 20px 0;
}

.entry-content {
	margin-top: 1em !important;
}

/* FUENTE DE TITULARES */

h1 {
	text-align:center;
	padding: 0 3%;
	font-size: 35px;
	font-weight:500;
}

h2 {
	text-align:center;
	padding: 30px 3% 0;
	margin-bottom:0;
}
h3 {
	padding:30px 3% 0;
	font-weight: 500;
	text-align:center;
	margin-bottom:0;
}

h4 {
	padding: 30px 3%;
	font-weight:700;
	text-align:center;
}

.resaltar {
	font-size: 30px;
    font-weight: 700;
    color: darkslategrey;
    background-color: white;
    width: fit-content;
    margin: 30px auto;
    border-radius: 100px;
    padding: 45px 3px;
}

/* PÁRRAFOS */

p {
	padding: 15px 3%;
	margin-bottom: 0;
}

/* NEGRITAS STRONG */

b, strong {
    font-weight: 600;
    box-shadow: inset 0 -0.5em 0 0 #fedfd6;
}


/* LISTADOS */
	
	.su-list {
	padding: 0 3%;
}

/* TEXTO APERTURA */

.texto-apertura {
	font-size:18px;
}

/* ENLACES DEL BODY */

.entry-content a {color:#d70000;
text-decoration:underline;
}

/*	BOTON SIMPLE CTA */

.cta-simple-button {
	display: flex;
	justify-content: center;
	margin: 10px 2.5%;
	padding: 5px 2px;
    width: 95%;
}

.cta-simple-button button {
	background-color: #ffde1a;
	border-color: black;
	border-width: 0px 1px 5px 0px;
	border-radius: 50px;
}

.cta-simple-button button:hover {
	border-color: #ffde1a;
}

.cta-simple-button button a {
	text-decoration: none;
    font-weight: 400;
	color: black;
	font-size: 20px;
}

/*	COMPARATIVE TABLE	*/
	
.comparative-table {
	text-align: center;
	width: 80%;
    margin: 20px 10%;
}

.comparative-table table, .comparative-table td, .comparative-table th {
	border: unset;
}

.comparative-table th {
    height: 200px;
}

	.table-description .only-desktop-column {
		display: none;
	}

	.table-product img {
		max-height: 200px;
   		width: auto;
   		max-width: 95%;
		margin-top: 40px;
	}

.table-product .boton-opiniones {
	background-color: transparent;
    border: 4px solid #103ea5;
    border-radius: 15px;
    border-style: outset;
    padding: 2px 15px;
	margin: 15px auto 5px;
}

.table-product .boton-opiniones a {
	color: #103ea5;
    text-decoration: unset;
    font-weight: 500;
}

.table-product .boton-precio {
	background-color: transparent;
    border: 4px solid orangered;
    border-radius: 15px;
    border-style: outset;
    padding: 2px 15px;
	margin: 15px auto 5px;
}

.table-product .boton-precio a {
	color: orangered;
    text-decoration: unset;
    font-weight: 500;
}

.table-product .descripcion-producto {
    width: 100%;
	text-align: left;
    font-size: 14px;
	padding: 0 10%;
}
}

/* GRID DE PRODUCTOS */

.producto-grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
align-items: stretch;
align-content: space-around;
background: #fff0;
padding: 0 2.5%;
}

.producto {flex: 0 1 auto;
	align-self: auto;
	overflow: visible;
	width: 100%;
	display: grid;
	align-content: space-between;
	background: white;
}

.producto h2, .producto h3, .producto h4, .producto .producto-button {
    text-align: center;
    margin: 10px 2.5%;
    padding: 5px 2px;
    width: 95%;
    border-width: 0px 1px 5px 0px;
    border-style: solid;
    border-color: black;
    color: black;
    text-decoration: none;
    border-radius: 50px;
    background-color: #ffde1a;
    font-weight: 400;
    font-size: 20px;
}

.producto a {
    justify-self: center;
    text-decoration: none;
	color: black;
}

.producto img {
   width: 90%;
   height: auto;
   margin: 0 5%;
   padding:5%;
}

.producto p {
	font-size: 16px;
	padding: 20px 3%;
	font-weight:400;
	color: black;
	text-decoration:none;
}

.producto:hover {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.44);
    transition: box-shadow 0.5s;
	/*cursor:pointer;*/
}

/*	SHORTCODE COLUMNS VENTAJAS E INCONVENIENTES*/

.su-row {
	background-color: #afafaf1a;
	padding: 30px 0;
}

.su-column-inner h3 {
	padding: 30px 0;
}

.su-column-inner li {
	font-size: 16px;
}

.pros-cons-container {
	margin: 0 auto;
    width: fit-content;
}


/* BENEFICIOS DEL PRODUCTO */

.beneficios {
	box-shadow: 19px 18px 40px rgb(0 0 0 / 13%);
	margin: 10px 0;
	border-radius:20px;
}

.beneficios h4 {
	color:#0606df;
	padding: 20px 0 0 0;
}

.beneficios .su-list {
	padding: 20px 2%;
}

/* GRID DE MARCAS */

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.brand {
   width: 40%;
}

.brand img {
	filter: grayscale(0.8);
    transition-property: filter;
    transition-duration: 0.4s;
}

.brand img:hover {
	filter:none;
}

/* TESTIMONIOS (RATING) */

.rate-grid {
    margin: 20px 0;
}

.rate {
    box-shadow: 19px 18px 40px rgb(0 0 0 / 13%);
    margin: 10px 0;
    padding: 10px 2%;
}

.rate img {
	width:30%;
}

.rate h5, .rate h4 {
	text-align: center;
    font-weight: 500;
}

.rate p {
	padding: 0 0 25px;
    font-weight: 300;
    text-align: justify;
}

/* PREGUNTAS FRECUENTES */

.faq {
	width: 96%;
    margin: 30px auto;
}

.faq h4, h5 {
	font-size: 20px;
    font-weight: 700;
    color: darkblue;
    padding: 20px 0 10px;
    text-align: center;
	transform: rotate(-1deg);
}

.faq p {
	margin: 0;
    padding: 0;
    text-align: justify;
	font-weight:300;
}


/* TEXTO DEL FOOTER */

.site-footer p {
	padding: 0;
}

@media only screen and (min-width: 425px){
	
	/*	COMPARATIVE TABLE	
	.comparative-table {
		margin: auto 5%;
	}*/
	
}


@media only screen and (min-width: 600px){
	
/*	SHORTCODE CARROUSEL IMAGENES*/
	.su-image-carousel {
    	max-width: 600px;
		margin: 0 auto !important;
	}
	
	/*	COMPARATIVE TABLE	
	.comparative-table {
		margin: auto 10%;
	}*/
	
}

@media only screen and (min-width: 768px){
	
	/*	COMPARATIVE TABLE	*/
	.comparative-table {
		display: flex;
		align-items: flex-end;
		justify-content: center;
	}
	
	.comparative-table .table-description {
		width: 10%;
	}
	
	.comparative-table .table-product {
		width: fit-content;
	}
	
	.table-product img {
		margin-top: 0;
	}
	
	.table-product .only-mobile-column {
		display: none;
	}
	
	.table-description .only-desktop-column {
		display: block;
	}
}



@media only screen and (min-width: 960px) {

/* CONTENEDOR PRINCIPAL */

.one-container .site-content {
    padding: 40px 0;
}
	
.entry-content {
	margin-top: 0em !important;
}
	
/* FUENTE DE TITULARES */

h1 {
	padding: 0 18%;
	margin-bottom: 0;
}

	h2 {
	padding: 30px 20% 10px;
	margin-bottom: 0;
}
	
h3 {
	padding: 40px 20% 15px;
	margin-bottom: 0;
}

h4 {
	padding: 40px 20% 30px;
	margin-bottom: 0;
	font-style: italic;
}
	
/* FUENTE DE PARRAFOS */

p {
	font-size: 20px;
	text-align:justify;
}
	
.entry-content p {
	padding: 20px 23%;
}
	
#resaltar  {
	padding: 40px 0;
}

/* LISTADOS */
	
	.su-list {
	padding: 0 25%;
}
	
/* GRID DE PRODUCTOS */
	
.producto-grid {
	padding:0 17.5%;
	margin: 30px 0;
	display: flex;
    justify-content: space-evenly;
}
	

.producto {
	border: dashed 6px lightgray;
    padding: 20px;
    border-radius: 20px;
	width: 37%;
}

.producto p {
    padding: 10px 5%;
	font-size:17px;
	font-weight:400;
}
	
.producto h2, .producto h3, .producto h4 {
	margin: 25px 10%;
	width:80%;
	font-weight:400;
	padding: 3px 10% 4px;
	transition: all 0.3s ease;
}	

.producto h2:hover, .producto h3:hover {
	background-color: #ffe738;
    border-color: #ffe738;
}
	
.producto img {
    margin: auto;
    height: 250px;
	width: auto;
	max-width: 90%;
	padding:0;
}

	
	/*	COMPARATIVE TABLE	*/
	.comparative-table {
		margin: 20px 10%;
	}
	
	
/* BENEFICIOS DEL PRODUCTO */

.beneficios {
	margin: 40px 20%;
}
	
.beneficios p {
    padding: 20px 20% 30px;
    font-size: 18px;
}
	
.beneficios .su-list {
	padding: 20px 15%;
}
	
/*	SHORTCODE COLUMNS PROS Y CONTRAS*/

.pros-cons-container .su-column-inner .su-list {
    padding: 0 5%;
}
	
	
/* GRID DE MARCAS */

.brand-grid {
    padding: 10px 17%;
}

.brand {
   width: 26%;
}

/* TESTIMONIOS (RATING) */

.rate-grid {
	margin: 20px 10% 40px;
}

.rate {
	width: 29%;
    margin: 0 1.5%;
    display: inline-grid;
}

.rate h5, .rate h4 {
	margin: 10px 0 0;
	padding: 0;
	font-size: 19px;
}

.rate p {
	padding: 15px 5%;
    font-size: 18px;
	}
	
.rate img {
	width: 60%;
}
	
/* YOUTUBE VIDEOS */

.su-youtube iframe {
    width: 50%;
    height: 400px !important;
    padding: 0 25% !important;
}

.su-u-responsive-media-yes {
	padding-bottom: 400px !important;
}
	
/* PREGUNTAS FRECUENTES */

.faq {
	padding: 0 13%;
    display: flex;
}

.faq h4, .faq h5 {
	float: left;
    width: 25%;
    margin-right: 10%;
    margin-left: 10%;
}

.faq p {
	float: right;
    font-size: 17px;
    width: 45%;
    margin-left: 5%;
    padding: 20px 0;
}	
	
}