/*
Theme Name: ttebooks
Theme URI: http://www.graphicworlds.com/aktivo-creative-multipurpose-wordpress-theme/
Author: Weblord
Author URI: http://www.weblord.it/
Description: Child theme for primer theme
Template: primer
Version: 1.0
Text Domain: ttebooks
*/

/* Diminuzione padding logo header */
.site-title-wrapper {
  padding: 2% 1rem 1% 1rem; }
  
/* Notifiche */
.woocommerce-error,.woocommerce-info,.woocommerce-message{padding:1em 2em 1em 3.5em;margin:0 0 2em;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none outside;width:auto;word-wrap:break-word}
.woocommerce-error::after,.woocommerce-error::before,.woocommerce-info::after,.woocommerce-info::before,.woocommerce-message::after,.woocommerce-message::before{content:' ';display:table}
.woocommerce-error::after,.woocommerce-info::after,.woocommerce-message::after{clear:both}
.woocommerce-error::before,.woocommerce-info::before,.woocommerce-message::before{font-family:WooCommerce;content:'\e028';display:inline-block;position:absolute;top:1em;left:1.5em}
.woocommerce-error .button,.woocommerce-info .button,.woocommerce-message .button{float:right}
.woocommerce-error li,.woocommerce-info li,.woocommerce-message li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}
.rtl.woocommerce .price_label,.rtl.woocommerce .price_label span{direction:ltr;unicode-bidi:embed}
.woocommerce-message{border-top-color:#8fae1b}
.woocommerce-message::before{content:'\e015';color:#8fae1b}
.woocommerce-info{border-top-color:#1e85be}
.woocommerce-info::before{color:#1e85be}
.woocommerce-error{border-top-color:#b81c23}
.woocommerce-error::before{content:'\e016';color:#b81c23}

/* Notifica login per scaricare */
.somdn-download-error {
	 margin-top:1em;
     padding:0 2em 1em 3.5em;
	 border-top-color:#003466;
	 color:#ffffff;
	 background-color:#1e85be;
  }
.somdn-download-error::before{content:'\e017';color:#ffffff}
 
 /* Dimensione titolo prodotti */
h1.product_title {
  font-size: 2.4em; }
  
  /* Dimensione breve descrizione */
.woocommerce-product-details__short-description > p {
  font-size: 1.3em; }
  
  /* Testo downloads disponibili */
.somdn-available-downloads {
	 margin-top:2em;
  }
  
/* Rimuove il carrello dal menu */
.main-navigation .primer-wc-cart-menu {
    display: none!important;
}

/* Rimuove leggi tutto da indice prodotti */
.button.product_type_simple {
    display: none!important;
}

/* Thumb Image Effect */
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail{
	display:block;
	overflow:hidden;
	}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail{
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	image-rendering: optimizeQuality;	
	border:1px solid #000;
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
}

div.woocommerce-product-gallery__image {
	border:1px solid #000;
}



/* Change WC Acct Page Column Widths */
@media only screen and (min-width: 769px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 22%;
  }
  .woocommerce-account .woocommerce-MyAccount-content { 
    width: 75%;
  }
}
/* Style WC Account Endpoint Links */
nav.woocommerce-MyAccount-navigation ul {
  list-style-type: none;
  padding-left: 0;
  max-width:200px;
  font-size: 17px;
  line-height: 26px;
}
nav.woocommerce-MyAccount-navigation ul li {
  padding: 8px 20px;
  background-color: rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
nav.woocommerce-MyAccount-navigation ul li.is-active {
  background-color: rgba(0,0,0,0.1);
}
nav.woocommerce-MyAccount-navigation ul li.is-active a {
  color: rgba(0,0,0,0.8); cursor: default;
}
nav.woocommerce-MyAccount-navigation ul li.is-active:after {
  content: "";
  height: 0;
  width: 0;
  border-top: 20px solid transparent;
  border-left: 14px solid rgba(0,0,0,0.1);
  border-bottom: 20px solid transparent;
  float: right;
  margin-right: -34px;
  margin-top: -7px;
}
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover {
  background-color: rgba(0,0,0,0.07);
}
nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover:after { 
  content: "";
  height: 0;
  width: 0;
  border-top: 20px solid transparent;
  border-left: 14px solid rgba(0,0,0,0.07);
  border-bottom: 20px solid transparent;
  float: right;
  margin-right: -34px;
  margin-top: -7px;
}

/* Menu categorie prodotti */
/*
.widget_product_categories .product-categories li > a:before {
	content: "• "; }
.widget_product_categories .product-categories .children li.cat-item > a:before {
	content: "- "; }
*/
.widget_product_categories .product-categories li > a:hover {
    background-color: #cae8f6; }
.widget_product_categories .product-categories li.current-cat > a, .product-categories li.current-cat-parent > a {
	font-weight: bold;
	background-color: #cae8f6;
}
