/*
Theme Name: shopED
Theme URI: http://www.shoped.it
Description: Storefront Child Theme
Author: Paolo
Author URI: http://www.madeinpego.it
Template: storefront
Version: 0.4
General comments/License
*/

@import url(style-master.css);

ul.footer-menu {list-style-type:none;margin-left:0; padding-left:0;} 
ul.footer-menu li {display:inline-block;margin-right:10px;}
/*.storefront-primary-navigation ul.site-header-cart {display: none;}*/
.site-header {background-color: #ffffff;}

.widget a.button, .site-header-cart .widget_shopping_cart a.button {
    color: #FFFFFF;
}
.button:hover, .widget a.button:hover, .site-header-cart .widget_shopping_cart a.button:hover {
    
    color: #FFFFFF;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    background-color: #dd3333;
    color: #FFFFFF;
    
}

.woocommerce-breadcrumb {background-color: #ffffff;}

.secondary-navigation ul.menu li.current-menu-item > a {color:#333333!important;}

/*.storefront-handheld-footer-bar, 
.storefront-handheld-footer-bar ul li > a, 
.storefront-handheld-footer-bar ul li.search .site-search,*/

button.menu-toggle, 
button.menu-toggle:hover
 {background-color: #ffffff;}

.main-navigation ul li a {color:#ffffff;}
.site-header ul.menu li.current-menu-item > a {color:#ffffff;}
.main-navigation ul.menu ul.sub-menu {margin-top:-10px;}


.widget-area .widget a:not(.button) {text-decoration: none!important;}
.widget_product_categories ul li.current-cat a {font-weight: 900!important;}


.sph-hero-content p:first-child {font-size:1.5em;}
li.product_cat-riviste a img, .product_cat-riviste img {border:1px solid #cccccc;}

/* IMMAGINI SINGLE PRODUCT ABBONAMENTI */

.single-product div.product .images.immagineabbonamento {
    padding-top: 20px;
}

.immagineabbonamento .gruppo-img {
    float: left;
    position: relative;
    margin-right: 20px;
    clear: both;
    margin-top: 15px;
    width: 270px;
    height: 208px;
    background-image: url(/img/background_web.gif);
    background-repeat: no-repeat;
    background-position: top left;
}


.immagineabbonamento .gruppo-img {
    width: 300px;
    background-position: top right;
}

.immagineabbonamento .gruppo-img img {
    float: left;
    margin-right: 20px;
    clear: both;
    margin-top: 15px;
    width: 180px;
}

.immagineabbonamento .gruppo-img img.cover-gruppo {
    position: absolute;
    width: 140px;
    z-index: 20;
    -webkit-box-shadow: 10px -7px 10px -4px rgba(0,0,0,0.26);
    -moz-box-shadow: 10px -7px 10px -4px rgba(0,0,0,0.26);
    box-shadow: 10px -7px 10px -4px rgba(0,0,0,0.26);
    top: 50px;
    left:0;
}

.immagineabbonamento .gruppo-img .cont-img-01 {
    position: relative;
    height: 100px;
    width: 252px;
    overflow: hidden;
    top: 12px;
    left: 40px;
}

.immagineabbonamento .gruppo-img img.deskimg {
    margin: 0;
    width:72px;
    position: absolute;
    bottom: auto;
    left: 50px;
    top: 0;
}


.immagineabbonamento .gruppo-img .cont-img-02 {
    position: relative;
    height: 89px;
    width: 68px;
    overflow: hidden;
    top: -22px;
    left: 222px;
}

.immagineabbonamento .gruppo-img img.tabletimg {
    margin: 0;
    position: absolute;
    bottom: auto;
    width: 68px;
    left: 0;
}

.immagineabbonamento .books {
    margin-left: 50px;
}

.immagineabbonamento .book {
    display: inline-block;
    box-shadow: 1px 1px 10px #333;
}

.immagineabbonamento .book img { vertical-align: middle; width: 200px; height: 280px;}


.immagineabbonamento .csstransforms3d  .books {
    -moz-perspective: 100px;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.immagineabbonamento .csstransforms3d  .book {
    position: relative;
    -moz-perspective: 100px;
    -moz-transform: rotateY(-3deg);
    -webkit-transform: perspective(100) rotateY(-3deg);
    outline: 1px solid transparent;
    box-shadow: none;
    margin: 20px;
}

.immagineabbonamento .csstransforms3d  .book img {
    position: relative;
    max-width: 100%;
}

.immagineabbonamento .csstransforms3d  .book:before,
.immagineabbonamento .csstransforms3d  .book:after {
    position: absolute;
    top: 0%;
    height: 100%;
    content: ' ';
    z-index: -1;
}

.immagineabbonamento .csstransforms3d  .book:before {
    width: 100%;
    left: 2.5%;
    background-color: #333;
    box-shadow: 2px 2px 10px #333;
}

.immagineabbonamento .csstransforms3d  .book:after {
    width: 2%;
    left: 100%;
    background-color: #EFEFEF;
    box-shadow: inset 0px 0px 5px #aaa;
    -moz-transform: rotateY(20deg);
    -webkit-transform: perspective(100) rotateY(20deg);
}

.immagineabbonamento #book1 {
    z-index: 10;
    position: relative;
}
.immagineabbonamento #book2 {
    margin-left: -195px;
    top: -5px;
    position: relative;
    z-index: 20;
}

.immagineabbonamento #book3{
    margin-left: -195px;
    top: -10px;
    z-index: 40;
    position: relative;
}


ul.products .immagineabbonamento .gruppo-img {
    background-size: 200px;
    background-position: right;
    width: 238px;
    margin-left: calc(50% - 115px);
}


ul.products .immagineabbonamento .gruppo-img img.deskimg {
    width: 52px;
}

ul.products .immagineabbonamento .gruppo-img .cont-img-01 {
    top: 50px;
    left: 35px;
}

ul.products .immagineabbonamento .gruppo-img .cont-img-02 {
    top: -5px;
    left: 180px;
}

ul.products .immagineabbonamento .gruppo-img img.cover-gruppo {
    width: 100px;
    top: 65px;
}

ul.products .immagineabbonamento .book img {
    vertical-align: middle;
    width: 112px;
    height: 145px;
}

ul.products li.product .book img {
    margin: 0
}

ul.products .immagineabbonamento #book2,
ul.products .immagineabbonamento #book3 {
    margin-left: -100px;
}

ul.products .immagineabbonamento #book2 {
    top: -15px;
}

ul.products .immagineabbonamento #book1 {
    top: -20px;
    margin-left: -40px;
}


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

    #main.site-main ul.products li.product {
        width: 29%;
        display: inline-block;
        float: none;
    }

    .home #main.site-main ul.products li.product {
        width: 21%;
    }
}

/* pagine rinnovo */
.container-abbonamento {float:left; border-bottom:2px solid #ccc;width:100%;padding:30px 0;}
.img-abbonamento {width:30%; float:left;position:relative;}
.txt-abbonamento {width:64%; float:right;}
.flash-rinnovo {display:block; position:absolute; top:-20px; right:-20px; width:90px; height:90px; background-color:#ffcc00; color:#333; text-align:center;border-radius:50%;font-size:13px; line-height:13px;font-weight:700;padding-top:15px;}
.flash-rinnovo span {font-size:28px;line-height:28px;letter-spacing:-1px;}
.prezzo-barrato {text-decoration: line-through;}
h4.prezzo-abbonamento {font-weight: 300;}


/*footer */
ul#menu-footer-menu {list-style-type: none; margin-left:0; font-size:13px; }
ul#menu-footer-menu li {display: inline-block;margin-right:5px;}

@media screen and (max-width: 768px) {
				.menu-toggle {
					color: #eee;
				}

				.menu-toggle:hover {
					color: #ccc;
				}

				.main-navigation div.menu,
				.main-navigation .handheld-navigation {
					background-color: #2c2d33;
				}

				.main-navigation ul li a,
				ul.menu li a,
				.storefront-hamburger-menu-active .shm-close {
					color: #cccccc;
				}
			}




.woocommerce select.state_select  {border:1px solid #ccc; height:50px;}


/* */
h2.woocommerce-loop-product__title {font-weight:700;}



.archive .storefront-sorting {
    margin: 0;
    border: 0;
    padding: 0;
}

.archive #primary ul.products {
    margin-top: 25px;
}

.widget-area .dropdown_product_cat option[value='pagine-nascoste'],
.single-product .summary .product_meta,
#breadcrumbs span.prodotti,
#breadcrumbs > span > span:last-child span.separatore,
.home p#breadcrumbs {
    display: none;
}

p#breadcrumbs {
    margin: 10px 0 25px;
}

p#breadcrumbs span a {
    font-weight: 400;
    text-decoration: underline;
    color: #75777d;
    font-family: "Merriweather Sans",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
}

p#breadcrumbs span {
    font-weight: 400;
    font-size: 0.88em;
    font-family: "Merriweather Sans",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
}

#breadcrumbs > span > span:last-child a {
    color: #43454b;
    text-decoration: none;
    cursor: text;
}

#breadcrumbs span.home a:before {
    display: inline-block;
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    content: "\f015";
    margin-right: .5407911001em;
    font: normal normal normal 1em/1 FontAwesome;
    text-rendering: auto;
}

.page .woof_redraw_zone,
.single .woof_redraw_zone  {
    display: none;
}

body.archive.product_cat_abbonamenti .woof_container_pa_anno_pubblicazione {
    display: none;
}

body.archive.term-raccoglitori-riviste .woof_container_pa_anno_pubblicazione,
body.archive.term-raccoglitori-riviste .woof_container_pa_formato {
    display: none;
}

.woocommerce-cart .cart_totals tr {
    display: none;
}

.woocommerce-cart .cart_totals tr.cart-subtotal,
.woocommerce-cart .cart_totals tr.cart-discount {
    display: table-row;
}

.labelcheckout{
    margin-bottom: 17px;
    box-shadow: inset 2px 0 0 #3D9CD2;
    padding-left: 10px;
    background: #f0f0f0;
    margin-top: 9px;
    display: block;
    font-size: 13px;
    font-style: italic;
}



/* FIX VISUALIZZAZIONE UPSELLING */
section.up-sells.upsells.products .onsale {
    left: 150px!important;
}

.cross-sells h2.woocommerce-loop-product__title {
    height: 70px !important;
}

.cross-sells span.woocommerce-Price-amount.amount {
    display: flex;
    justify-content: center;
    float: none;
}
.cross-sells ins {
    margin: 0px!important;
}