/*
Theme Name: saz4
Author: Studio Azione S.r.l.
Author URI: https://studioazione.it/
Version: 2018.1
Text Domain: saz
*/

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

body.admin-bar nav.fixed-top {
    top: 46px;
}

@media (min-width: 783px) { /* NB questo breakpoint è definito in WP, non in Bootstrap */
    body.admin-bar nav.fixed-top {
        top: 32px;
    }
}

/*
Breakpoint predefiniti in WP per la admin bar:
max-width: 782px
max-width: 600px
max-width: 400px
*/

#primary {
    margin-top: 66px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.breadcrumbs {
    margin-bottom: 10px;
}
.no-results {
    margin-top: 10px;
}
ul.saz-magic-menu {
    margin-top: 10px;
}

/*--------------------------------------------------------------
## Alignments
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}
ol.comment-list, ol.comment-list ol { 
    list-style:none; 
    margin:0; 
    padding:0; 
    text-indent:0; 
    clear: both; 
}
ol.comment-list li {
    margin-top: 20px; 
    padding:20px; 
    position:relative; 
}
ol.comment-list li div.vcard img.avatar {
    display: block;
}
ol.comment-list li ul.children li.depth-2,
ol.comment-list li ul.children li.depth-3,
ol.comment-list li ul.children li.depth-4,
ol.comment-list li ul.children li.depth-5 {
    margin:0 0 .25em;
}
ol.comment-list .says {
    display: none;
}
ol.comment-list li ul.children li.odd {
    
}
ol.comment-list li.even {
    background:#FFF; 
    border:1px solid #f0f0f0; 
}
ol.comment-list li.odd { 
    background:#f0f0f0; 
}
.comment-awaiting-moderation {
    font-style: italic;
}
.comment-content {
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}
.alignnone {
  display: block;
  max-width: 100%;
  height: auto;
}
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
}
.wp-caption-text {
    background-color: #f0f0f0; 
    text-align: center;
    font-size: 85%;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 10px;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding: 5px;
}
.gallery-item img {
    max-width: 100%;
    height: auto;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-5 .gallery-item {
    max-width: 20%;
}
.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}
.gallery-caption {
    display: block;
}
div.gallery figure {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
## FIX CF7
--------------------------------------------------------------*/

.wpcf7-form .checkbox input[type="checkbox"] {
    position: relative;
    margin: 0 5px 0 -13px;
}   

/*--------------------------------------------------------------
## WooCommerce
--------------------------------------------------------------*/
@font-face {
    font-family: star;
    src: url(fonts/star.eot);
    src: url(fonts/star.eot?#iefix) format("embedded-opentype"), url(fonts/star.woff) format("woff"), url(fonts/star.ttf) format("truetype"), url(fonts/star.svg#star) format("svg");
    font-weight: 400;
    font-style: normal
}

.single-product .woocommerce-product-rating .star-rating {
    float: left;
    margin-right: .25em;
}

.single-product .woocommerce-product-rating {
    margin-bottom: 2em;
    line-height: 1;
}

.widget_rating_filter li .star-rating {
    float: left;
    margin-top: .3em
}

ul.products li.product .star-rating {
    display: block;
    margin-bottom: .75em
}

.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 1em;
    width: 5.4em;
    font-family: star
}
.star-rating::before {
    content: '\73\73\73\73\73';
    float: left;
    top: 0;
    left: 0;
    position: absolute
}
.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em
}
.star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0
}
.woocommerce #reviews li.comment,
.woocommerce #reviews li.review {
    list-style: none;
    margin-right: 0;
    margin-bottom: 2.5em
}
.woocommerce #reviews li.comment .avatar,
.woocommerce #reviews li.review .avatar {
    max-height: 36px;
    width: auto;
    float: right
}
.woocommerce #reviews li.comment p.meta,
.woocommerce #reviews li.review p.meta {
    margin-bottom: .5em
}
.woocommerce #reviews p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    box-shadow: none
}
.woocommerce #reviews p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: star;
    content: '\73';
    text-indent: 0
}
.woocommerce #reviews p.stars a:hover~a::before {
    content: '\73'
}
.woocommerce #reviews p.stars.selected a.active::before,
.woocommerce #reviews p.stars:hover a::before {
    content: '\53'
}
.woocommerce #reviews p.stars.selected a.active~a::before {
    content: '\73'
}
.woocommerce #reviews p.stars.selected a:not(.active)::before {
    content: '\53'
}

body .wp-block-gallery.is-layout-flex {
    display: block;
}