/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 15kb (gzipped) to your page size. We take full advantage of the new block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS and is translated into over 25 languages by our amazing community of users. A few of our many features include microdata integration, 9 widget areas, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover) and navigation color presets. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 2.4.2.1591778214
Updated: 2020-06-10 08:36:54

*/

/* Centrar pied de imagen*/

.wp-caption-text {
text-align: center;
}

img.alineadoTextoImagenArriba{
  vertical-align: text-top;  
}
img.alineadoTextoImagenCentro{
  vertical-align: middle;
  /* Ojo vertical-align: text-middle no existe*/
}
img.alineadoTextoImagenAbajo{
  vertical-align: text-bottom;  
}

table, th, td {
    border: none;
}


/* quitar espacio debajo de las tablas */

.wp-block-table table {
    margin-bottom: 0;
}

.wp-block-table {
    margin-bottom: 1em !important;
}

/* tabla con bordes */

.show-table-border, .show-table-border th, .show-table-border td {
    border-width: 1px;	
}

/* sombra en bloques */

.box-shadow {
box-shadow: 0px 5px 8px #38383D29;
}

/* fondo gradiente */
.gradiente-cct{
	background-image: linear-gradient(#dd8a2c, #f9ea8c, white, #c3e5ee, #98d5ea);
	font-size: small;
}

/* tabla letra small */
.table-font-small{
	font-size: small;
}

.table-font-small tbody td, .gradiente-cct tbody td{
	padding: 4px 8px;
}

/* forzar header color table */

.fondo-header-tabla thead th {
	background-color: #1d2041;
	color: white;
}

/* tabla ip */

	#table-ip68{
		font-family: Calibri, sans-serif;
		color: #38383D;
		font-size: 16px;
		width: 100%;
		border-spacing: 0px;
		border: 1px solid #ddd;
	}

	table#table-ip68 tr th{
		padding: 15px; 
	}

	table#table-ip68 tr td{
		border-bottom: 1px solid #ddd;
		text-align: center;
	}

	table#table-ip68 .u-levelip{
		text-align: center;
		font-weight: bold;
		color:#07084A;
		background-color: #ECECF1;
	}

/* algolia grid */
.algolia-results {
  display: flex;
  justify-content: center;
}

.algolia-cell {
  width: 90%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

.algolia-cell img {
  width: 160px;
  height: 160px;
  margin-bottom: 10px;
}

.algolia-name {
  font-size: 14px;
  line-height: 1.3rem;

}

/* quitar padding en con clawse extra ".sin-padding" */ 
.wp-block-group.sin-padding > .wp-block-group__inner-container {
  padding: 0 !important;
}

/* quitar margen en p */

p.sin-margen {
  margin: 0;
}


/* scroll horizontal en tablas */
@media (max-width: 768px) {
  figure.wp-block-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  figure.wp-block-table > table {
    display: block;
    min-width: 600px;
    width: max-content;
    border-collapse: collapse;
  }

  figure.wp-block-table > table.has-fixed-layout {
    table-layout: auto;
  }
}


