/*
 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
*/

/*-----------------------THE MONEYTIZER BANNER---------------------------*/
@media (max-width: 767px) and (min-width: 360px){
.css-wkn4w4 {
    height: 500px !important;
    margin-top: unset !important;
}
}

/*-----------------------WP SHOW POSTS---------------------------*/
.wp-show-posts {
	display: none !important;
}


/*------------------------BRUJULA----------------------------------------*/

      .compass {
        position: relative;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
        margin: auto;
      }

      .compass > .arrow {
        position: absolute;
        width: 0;
        height: 0;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        border-style: solid;
        border-width: 30px 20px 0 20px;
        border-color: red transparent transparent transparent;
        z-index: 1;
      }

      .compass > .compass-circle,
      .compass > .my-point {
        position: absolute;
        width: 90%;
        height: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease-out;
        background: url(https://purepng.com/public/uploads/large/purepng.com-compasscompassinstrumentnavigationcardinal-directionspointsdiagram-1701527842316onq7x.png)
          center no-repeat;
        background-size: contain;
      }

      .compass > .my-point {
        opacity: 0;
        width: 20%;
        height: 20%;
        background: rgb(8, 223, 69);
        border-radius: 50%;
        transition: opacity 0.5s ease-out;
      }

      .start-btn {
        margin-bottom: auto;
      }


/*------------------------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;
	margin: 10px;
}

/*	MENÚ Y SUBMENÚ	*/

.main-navigation.toggled .main-nav ul ul.toggled-on {
	padding-left: 15px;
    filter: brightness(85%);
}

.main-navigation.toggled .main-nav ul ul.toggled-on li ul {
	filter: brightness(130%) !important;
}

.main-navigation.toggled .main-nav ul ul.toggled-on li ul li {
	height: 50px;
}

/* 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;
}

/*	BOTÓN HAMBURGUESA MENU MOBILE	*/
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
	color: white;
}

/* FUENTE MENÚ PRINCIPAL */

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

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

/*	BREADCRUMB	*/
.home .breadcrumb-container {
	display: none;
}

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

body{
	background: url(https://brujulaonline.com/wp-content/uploads/fondo-brujula.svg);
}

/* CONTENEDOR PRINCIPAL */

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

.separate-containers .inside-article{
	padding: 0px;
	background: linear-gradient(90deg, transparent 0%, white 30%, white 60%, transparent 100%);
}

 .entry-content {
 	overflow-x:auto;
	background-color: transparent;
}

.entry-content:not(:first-child) {
	margin-top: 1em;
}

/*	MENSAJE VISIBLE SÓLO EN ORDENADOR	*/
.justDesktop{
	display: none;
}

/*	 GRID CONTAINER		*/
.grid-container {
    min-width: 70%;	
}

/*	CAJA INFORMACIONAL SU-BOX	*/
.su-box {
	margin: 50px 2% 1.5em !important;
}

/*	FEATURED IMAGE	(creada con plugin)	*/
.featured-image  {
	display: none;
}

/*	FEATURED IMAGE	(creada manualmente)	*/
.featured_image {
	text-align: center;
}


/* FUENTE DE TITULARES */

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

.entry-meta {
	text-align: center;
}

h2 {
	text-align:center;
	padding: 30px 0;
	margin-bottom:0;
}
h3 {
	padding: 30px 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 */

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

/*	IMAGENES DESTACADAS FULL SIZE	*/
.entry-content > p > img.size-full {
	border-radius: 20px 0;
}


/* LISTADOS */

li {
	font-size: 18px;
}

.widget ul li {
	list-style-type: unset;
}

.su-list {
	padding: 0 3%;
	/*margin-bottom: 100px !important;*/
}

/* 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: #103ea5;
	border-color: black;
	border-width: 0px 1px 5px 0px;
	border-radius: 50px;
}

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

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

/*	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;
}


/*	GRID DE ARTÍCULOS PUBLICADOS	*/
.wp-show-posts-inner {
	display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding: 30px 0;
}

.wp-show-posts-inner:hover{
	background-color: #d3d3d32b;
}

.wp-show-posts-entry-header {
    margin: 0 10px 1em !important;
}

.wp-show-posts-entry-header h2, .wp-show-posts-entry-header h3 {
	/* line-height: 1em;
	padding: 10px 0;
	border: 5px solid #103ea5; */
	font-weight: 700;
	padding: 20px 0;
}

.wp-show-posts-entry-header h2 a, .wp-show-posts-entry-header h3 a {
	color: #103ea5;
    text-decoration: unset;
    font-size: 25px;
    line-height: 0;
}


/*	GRID DE CATEGORÍAS SIN IMAGEN	*/
.categorias {
	display: flex;
    flex-wrap: wrap;
	width: 90%;
	margin: 5px 5%;
}

.categoria {
	width: 100%;
    background-color: #103ea5;
    margin: 5px 0;
	border-radius: 5px;
}

.categorias a {
	width: 100%;
	color: white;
    text-decoration: unset;
	font-size: 20px;
}

.categoria_enlace {
	width: 100%;
	background-color: transparent;
}




/* GRID DE CATEGORÍAS */

.category-grid-narrow {
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%;
}

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

.category-narrow h2, .category-narrow h3, .category-narrow h4 {
 text-align: center;
 margin: 0 2.5% 10px;
 padding: 0 2px;
 width: 95%;
 border-width: 2px;
 border-style: solid;
 border-color: #1959e9;
 color:#1959e9;
 text-decoration:none;
 /* border-radius: 50px; */
	font-weight:400;
	font-size:24px;
}

.category-narrow a {
    justify-self: center;
    text-decoration: none;
	color: #1959e9;
}

.category-narrow img {
   width: 90%;
   height: auto;
   margin: 0 auto 10px;
   padding:5%;
}

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

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



/* 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 {
 text-align: center;
 margin: 0 2.5% 10px;
 padding: 0 2px;
 width: 95%;
 border-width: 2px;
 border-style: solid;
 border-color: #1959e9;
 color:#1959e9;
 text-decoration:none;
 /* border-radius: 50px; */
	font-weight:400;
	font-size:24px;
}

.producto a {
    justify-self: center;
    text-decoration: none;
	color: #1959e9;
}

.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;*/
}


/* 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;
}

/* YOUTUBE VIDEOS */

	.youtube_relacionado {
		margin: 20px auto;
		width: 100%;
	    text-align: center;
	}
	
	.youtube_relacionado span {
		font-size: 20px;
    line-height: 70px;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
	}

/* 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 {
	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 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;
}

/*	CALL TO ACTION	*/
.call-to-action {
	width: 100%;
    height: 330px;
    max-width: 600px;
    text-align: center;
    margin: 50px auto 100px;
    border-radius: 20px;
    padding: 30px 5%;
    background-image: url(https://brujulaonline.com/wp-content/uploads/estrella-puntos-cardinales.png);
    /* background-position: 0 25px; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-animation: mover 0.6s infinite alternate;
    animation: mover 0.6s infinite alternate;
    /* background-repeat-y: no-repeat;*/
}

@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-13px); }
}

.call-to-action h2, .call-to-action p {
	margin-top: 270px;
}

.call-to-action span {
	font-size: 24px;
    font-weight: 500;
}

.call-to-action p {
	    font-weight: 600;
    margin-bottom: 30px;
	/*margin-top: 30px;*/
}

.call-to-action button {
	    background-color: #244fc9;
    border-radius: 5px;
    border-width: 0px 4px 4px 0px;
    border-color: #00000073;
    margin: 20px auto;
}


.call-to-action button:hover {
	background-color: #103ea5bf;
	transform: scale(1.10);
}

.call-to-action button a {
	color: white;
    text-decoration: none;
    font-size: 20px;
}

/*	CONOCE AL AUTOR	*/
.autor_post {
	width: 100%;
    text-align: center;
	margin: 50px auto;
	background-color: #d3d3d369;
    border-radius: 20px;
    padding: 30px 5%;
}

.autor_post .autor_title {
	font-size: 20px;
    font-weight: 500;
}

.autor_post .autor_body {
	text-align: justify;
}

.autor_post img {
	width: 100px;
    border-radius: 100%;
    margin: 20px auto 0;
}

/*	SIDEBAR		*/

/*	POSTS RECOMENDADOS CON ID ESPECÍFICO DEL SIDEBAR*/
#wpsp-1982 .wp-show-posts-image a img {
	height: auto;
}

#wpsp-1982 .wp-show-posts-entry-title {
	font-size: 20px;
    font-weight: 700;
}


/* TEXTO DEL FOOTER */

.site-info{
	background-color: #222222;
}

.site-footer p {
	padding: 10px 0;
	text-align: center;
	color: whitesmoke;
}

#sitemapLink{
	color: whitesmoke;
}

#sitemapLink:hover{
	cursor: unset;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a img {
	width: 200px;
}

.site-footer a:hover {
	text-decoration: none;
	color: white;
}

.site-footer .footer-logo {
	width: 200px;
}


.footer-content p {
	color: black;
	text-align: left;
}

.wpcf7-form-control-wrap input {
	width: -webkit-fill-available;
}

@media only screen and (min-width: 600px) {
	
	/*	BODY	*/
	 .entry-content, .footer-content {
		padding: 0 10%;
	}
}

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

	/*	BODY	*/
	 .entry-content, .footer-content {
		padding: 0 20%;
	}
	
	
	/* GRID DE CATEGORÍAS */
	.category-narrow {
		width: 30%;
	}
	
/*	GRID DE CATEGORÍAS SIN IMAGEN	*/

	.categoria {
	width: 45%;
	margin: 5px 2.5%;
	}
	
		/*	AUTOR POST	*/
	.autor_post {
			width: unset;
			margin: 50px 10%;	
	}
	
	/*	CALL TO ACTION	*/
	.call-to-action {
		    margin: 50px auto 100px;
	}
	
	
	.call-to-action p {
		text-align: center;
	}

	/*	WP-SHOW-POSTS*/

.wp-show-posts-image img {
	height: 150px;
}

}


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

/* CONTENEDOR PRINCIPAL */

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

/*	MENSAJE VISIBLE SÓLO EN ORDENADOR	*/
.justDesktop{
	display: block;
    background-color: #87a7ef66;
    border-radius: 10px;
	max-width: 700px;
}	

	
/* FUENTE DE TITULARES */

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

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

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

p {
	font-size: 18px;
	text-align:justify;
}
	
.entry-content p {
	padding: 20px 10%;
}

/* LISTADOS */
	
	.su-list {
	padding: 0 10%;
}
	
	
.wp-show-posts-entry-header h2 {
	padding: 0;
}
	
/*	GRID DE CATEGORÍAS SIN IMAGEN	*/
.categorias {
	width: 90%;		
	margin: 0 5%;
}
	
.categoria {
	width: 30%;
	margin: 5px 1.5%;
}
	
	
/* GRID DE PRODUCTOS */
	
.producto-grid {
	padding:0 17.5%;
	margin: 30px 0;
}
	

.producto {
    width: 37%;
    padding-bottom: 20px;
    border: solid 1px lightgray;
    padding: 20px;
}

.producto p {
    padding: 10px 5%;
	font-size:17px;
	font-weight:400;
}
	
.producto h2, .producto h3, .producto h4 {
	margin: 0 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;
}

/* BENEFICIOS DEL PRODUCTO */

.beneficios {
	margin: 40px 20%;
}
	
.beneficios p {
    padding: 20px 20% 30px;
    font-size: 18px;
}
	
.beneficios .su-list {
	padding: 20px 15%;
}
	
/* GRID DE MARCAS */

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

.brand {
   width: 26%;
}

/* TESTIMONIOS (RATING) */

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

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

.rate h5 {
	margin: 10px 0 0;
}

.rate p {
	padding: 15px 5%;
    font-size: 18px;
	}
	
.rate img {
	width: 60%;
}
	
	
.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 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;
}	
	
}

