/*
Theme Name: Zigoto 1
Template: generatepress
Author: Artorius
Description: Semilla ya no tan masiva, elimino morralla. Functions simplificado, parte del código en plugin SSJ. Casi todo el CSS lo paso a Custom CSS para GP
Version: 1.0
*/

/* Plugins etc *******************************************************/

.aawp { margin-top: 10px; } /* retoques AAWP */
.aawp .aawp-product--horizontal.aawp-product--ribbon { padding-top: 20px !important; }
.aawp .aawp-product--horizontal .aawp-product__image { margin-top: 15px !important; }

.aawp-product__ribbon.aawp-product__ribbon--bestseller { background-color: #bd0000!important; }

.aawp-product.aawp-product--horizontal.aawp-product--bestseller.aawp-product--ribbon {
    box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 40px rgba(0,0,0,.1) inset;
    border-style: solid;
    border-color: #b0b0b0;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

a.aawp-button.aawp-button--buy.aawp-button--icon.aawp-button--icon-white {
    background-color: #c96800!important;
    font-weight: bold!important;
    font-size: 18px!important;
    color: white!important;
}

.menu-item.menu-item a {}
.menu-item.menu-item a:hover {}


.cookie-notice-container { box-sizing: border-box; }    /* caja de cookies */


/* Mejor Cluster */

.mejorcluster-item { background-color: var(--font2); }
.mejorcluster-title:not(#X) { padding: 0 0 5px 0; color: var(--site); }
/*.mejorcluster-title:not(#X) a, .mejorcluster-title:not(#X) a:visited { color: var(--site); }*/ /* antes de modificar pantilla links */


.lwptoc_header { margin-bottom: 0!important; }  /* LuckyWP Table of Contents */
.lwptoc_i {
    border: 1px solid #aaa;
    padding: 10px!important;
    margin-top: 1em;
    margin-bottom: 1em;
}


.grecaptcha-badge {     /* ocultar reCaptcha (a lo bestia) */
    display: none;
}


/* Cluster propio *******************************************************/

.caja-cluster { margin-bottom: 30px; }

.cluster {
    display: inline-block;
    vertical-align: top;
    /* border: 1px solid lightgray; */
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
    /* background-color: #eeeeee; */

    /*width: 90%;
    margin-right: 5%;
    margin-left: 5%;
    margin-bottom: 5%;*/

    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 5%;
}
.cluster a { font-weight: normal; color: #166B7F; display: block; /*text-decoration:none; */ }
.cluster img { width: 100%; display: block; }
.cluster div { height: 14em; background-color: #DFE7EA }  /* no podemos asignar relativo... no height 100% hasta body! */
/* la idea es igualar altura clusters... img igual así que igualamos h3 + txt */
.cluster h3:not(#X) {
    margin: 0;
    padding: .5em .5em .5em .5em;
    background-color: /* #dddddd */ #166B7F /* #79A2B0 */;
    color: #DFE7EA;
    font-size: 1.2em;
}
.cluster p {
    /* height: 5em; /* no podemos asignar relativo... no height 100% hasta body! */
    overflow: hidden;
    margin: 0;
    padding: .5em .75em .75em .75em; }

@media screen and (min-width: 44.375em) {   /* a partir 710 px */
    .cluster {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 8px;
        /* width: calc(50% - 4px); */
        /* width: calc(50% - 8px); */
        /* width: calc((100% / 3) - 4px); */
        /* width: calc((100% / 3) - 22px); */
        width: calc((100% / 3) - 27px);
        /* width: 50%; */
        /* margin: 0 2px 8px 2px; */
        /* margin: 0 15px 15px 15px; */
        /* margin: 0 30px 30px 30px; */

        -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);
        box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.5);

        background-color: #166B7F /* #1D8787 */;
    }

    .cluster.inter { background-color: #1D8787; }

    .cluster:nth-of-type(3n+1){ margin: 0 40px 15px 0px; }
    .cluster:nth-of-type(3n+2){ margin: 0 0 15px 0; }
    .cluster:nth-of-type(3n+3){ margin: 0 0px 15px 40px; }

    .cluster { transition: transform .2s; }
    .cluster img { transition: opacity .2s; }

    .cluster:hover { transform: scale(1.1); }
    .cluster:hover img { opacity: .85; }
    .cluster:hover a { font-weight: normal; color: #166B7F; }
}

/*------APAÑO AAWP-------*/

.aawp-product__image { background-size: cover !important; }

/*.aawp .aawp-product--vertical .aawp-product__image { background-size: cover !important; }

.aawp-product__image--link .aawp-product__image { background-size: cover !important; }*/



/*--------------- TABLA COMP ----------------*/

div[class*='aawp'] h2, div[class*='aawp'] h3, div[class*='aawp'] p { padding: 0; }    /* Estilos H2, H3 no aplicables a hijos de div con clases que contengan AAWP! */

/**, *:before, *:after { box-sizing: inherit; }*/

.tablaawp-container {
  margin: 0 auto;
  padding: 10px 0 30px 0;
  width: 100%;
}

.tablaawp-panel {
  background-color: #fff;
  border-radius: 10px;
  /*padding: 15px 25px;*/
  position: relative;
  width: 100%;
  z-index: 10;
}

.tablaawp-contenedor-imagen {
    text-transform: none;
    word-wrap: break-word;
    letter-spacing: normal;
    word-spacing: normal;
    text-rendering: auto;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
    box-sizing: border-box;
    outline-offset: .2em;
    display: block;
    border: none;
    box-shadow: none;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 3px;
}

.tablaawp-imagen {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
    height: 250px;
    margin: 0 auto;
    background-color: transparent;
    box-shadow: none;
    float: none;
    opacity: 1;
    margin-bottom: 25px;
}

.pricing-table {
  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .pricing-table {
    flex-direction: row;
  }
}

.pricing-table * {
  text-align: center;
  /*text-transform: uppercase;*/
}

.pricing-plan {
  border-bottom: 1px solid #e1f1ff;
  padding: 25px;
}

.pricing-plan:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .pricing-plan {
    border-bottom: none;
    border-right: 1px solid #e1f1ff;
    flex-basis: 100%;
    /*padding: 25px 50px;*/
  }

  .pricing-plan:last-child {
    border-right: none;
  }
}

.product-header:not(#X) {   /* forzamos ya que es <p> excepción a regla (no padding) */
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.2em;
    line-height: 1.2em;
    margin-bottom: 30px;
    background-color: #016FF9;
    border-radius: 10px;
    color: white;
    font-weight: 800;
    padding: 5px 0;
}

.pricing-header {
  color: #016FF9;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.2em;
  line-height: 1.2em;
  margin-bottom: 5px;
}

.pricing-features {
  color: #888;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 25px 0 25px;
}

@media (min-width: 900px) { .pricing-features { height: 200px; } }

.pricing-features-item {
  border-top: 1px solid #e1f1ff;
  font-size: 12px;
  line-height: 1.5;
  padding: 15px 0;
}

.pricing-features-item:last-child {
  border-bottom: 1px solid #e1f1ff;
}

.pricing-price {
  color: #888;
  display: block;
  font-size: 32px;
  font-weight: 700;
}

.table-article {
  color: #016FF9;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media (min-width: 900px) { .table-article { height: 90px; } }

.pricing-button {
  border: 1px solid #9dd1ff;
  border-radius: 10px;
  color: #348EFE;
  display: inline-block;
  margin: 25px 0 0 0;
  padding: 15px 20px;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}

.pricing-button:hover,
.pricing-button:focus {
  background-color: #e1f1ff;
}

.pricing-button.is-featured {
  background-color: #48aaff;
  color: #fff;
}

.pricing-button.is-featured:hover,
.pricing-button.is-featured:active {
  background-color: #269aff;
}
