/*
Theme Name: Grazia
Theme URI: https://bzzz/
Author: wordpressdotorg
Author URI: https://wordpress.org
Description: A simple theme for testing Gutenberg.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gutenberg-starter-theme
Tags: translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

gutenberg-starter-theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*
Theme Name: Grazia 2015
Theme URI: 
Author: Ester121
Author URI: 
Description: The 2015 theme for WordPress built on Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, white, light, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, editor-style, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: grazia

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =WordPress Core
-------------------------------------------------------------- */

.noscript > noscript{
	display:block;
	height:100%;
}

/* --------------------- iPhone 4 And 4S ----------------------*/
.share-strip-mobile{
display: none;
}

@media only screen and (max-device-width: 480px) {
	.share-strip-mobile{
	display: block;
	}
	.share-strip{
	display:none;
	}
}

#masthead{
    margin-top:0px;
}
@media only screen and (min-device-width: 1024px) {
	.masthead iframe {
		width: 970px !important;	
	}
}

/*
.alignnone {
    margin: 5px auto 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
*/
/*
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    /*padding: 5px 3px 10px;
    text-align: center;
}
*//*
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.gallery-item img {
    border-width: 1px;
    margin-bottom: 0;
}

.wp-post-image {
	margin-bottom: 20px;
}

.sticky {
}

.bypostauthor {
}

.entry {
	margin-bottom: 20px;
}

.widget {
	text-align: initial;
}

.widget ul {
    list-style: none;
    padding: 0;
}

#searchsubmit {
	margin: 4px 0;
}

.comment-list {
	padding: 0;
}

.comment-list, 
.children:nth-child(n+1) {
	list-style: none;
}

@media (max-width: 767px) {
	.comment-list, 
	.children:nth-child(n+1) {
		padding: 0;
  	} 
}
*/
/* Modulo Infocommerce */
.modInfoCommerce {
	background: transparent;
	position: relative;
	padding: 10px 0;
	margin: 0;
}
.modInfoCommerce img {
	max-width: 100%;
}
.modInfoCommerce .modInfoCommerce__item:first-child {
	border-top: 1px solid #e5e5e5;
}
.modInfoCommerce .modInfoCommerce__item {
	background: transparent;
	display: flex;
	border-bottom: 1px solid #e5e5e5;
	box-sizing: border-box;
	height: 100px;
	padding: 0 30px;
	position: relative;
	font-family: "Karla", sans-serif;
}
.article-content .modInfoCommerce li.modInfoCommerce__item:before {
	display: none;
}
.modInfoCommerce .modInfoCommerce__item .modInfoCommerce__picture {
	flex: 0 0 80px;
	margin-left: -10px;
	margin-right: 15px;
	display: flex;
	align-self: center;
	border-radius: 3px;
	overflow: hidden;
	text-align: center;
	border:none;
	float: right;
	height: 80px;
	width: 80px;
	background-color: #FFF;
}
.modInfoCommerce .modInfoCommerce__item .modInfoCommerce__picture img {
	align-self: center;
}
.modInfoCommerce .modInfoCommerce__text {
	flex: 0 1 100%;
	min-width: 0;
	display: flex;
	flex-flow: column;
	margin-right: 15px;
	padding-top: 30px;
}
.modInfoCommerce .modInfoCommerce__item .modInfoCommerce__text__title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	text-decoration: underline;
	border: none;
}
.modInfoCommerce .modInfoCommerce__text__subTitle {
	color: #999;
	font-size: 12px;
	display: flex;
	align-items: center;
}
.modInfoCommerce .modInfoCommerce__text__subTitle img {
	max-height: 25px;
	width: auto;
	margin-left: 5px;
}
.modInfoCommerce .modInfoCommerce__text__subTitle__company {
	white-space: pre;
}
.modInfoCommerce .modInfoCommerce__info {
	flex: 1 0 auto;
	font-size: 18px;
	font-weight: 700;
	font-family: "Karla", sans-serif;
	margin-right: 15px;
	display: flex;
	flex-flow: column;
	align-items: flex-end;
	padding-top: 30px;
}
.modInfoCommerce .modInfoCommerce__info__price {
	color: #000;
	font-size: 18px;
	font-weight: 700;
	font-family: "Karla", sans-serif;
}
.modInfoCommerce .modInfoCommerce__info__discount {
	font-size: 11px;
	font-weight: 700;
	color: #999;
}
.modInfoCommerce .modInfoCommerce__info__oldPrice {
	color: #999999;
	text-decoration: line-through;
}
.modInfoCommerce .modInfoCommerce__info__delivery {
	color: #999999;
	font-size: 11px;
	font-weight: 700;
}
.modInfoCommerce .modInfoCommerce__action {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	margin-top: 29px;
}
.modInfoCommerce .modInfoCommerce__action .modInfoCommerce__button {
	padding: 12px 0;
	width: 130px;
	display: block;
	text-align: center;
	background-color: #fff200;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: #000;
	border: none;
	font-family: "Karla", sans-serif;
	text-transform: uppercase;
}

/* versione mobile cambiare la media query a seconda del layout */
@media all and (max-width: 1000px){
	.modInfoCommerce .modInfoCommerce__item {
		flex-flow: row wrap;
		height: auto;
		justify-content: flex-end;
		padding: 0 20px 20px;
	}
	.modInfoCommerce .modInfoCommerce__item .modInfoCommerce__picture {
		transform: translateY(20px);
	}
	.modInfoCommerce .modInfoCommerce__text {
		flex: 1 1 calc(100% - 85px);
		margin: 0;
	}
	.modInfoCommerce .modInfoCommerce__item .modInfoCommerce__text__title {
		white-space: normal;
		font-size: 14px;
		font-weight: 700;
		line-height: 20px;
		max-height: 40px;
	}
	.modInfoCommerce .modInfoCommerce__text__subTitle img,
	.modInfoCommerce .modInfoCommerce__text__subTitle .modInfoCommerce__text__subTitle__company {
		display: none;
	}
	.modInfoCommerce .modInfoCommerce__text__subTitle:after {
		content: " " attr(data-company);
		white-space: pre;
	}
	.modInfoCommerce .modInfoCommerce__info {
		align-items: flex-start;
		padding-top: 0;
		padding-bottom: 1px;
		padding-left: 85px;
		flex-flow: column;
		min-height: 40px;
		margin: 0;
		display: flex;
		justify-content: center;
	}
	.modInfoCommerce .modInfoCommerce__item.no_image .modInfoCommerce__info {
		padding-left: 0;
		min-width: 100px;
	}
	.modInfoCommerce .modInfoCommerce__info__price {
		flex: 0 0 auto;
	}
	.modInfoCommerce .modInfoCommerce__info__discount {
		flex: 0 0 auto;
	}
	.modInfoCommerce .modInfoCommerce__info__delivery {
		flex: 0 0 auto;
	}
	.modInfoCommerce .modInfoCommerce__action {
		margin-top: 0;
		flex: 0 0 auto;
		/*position: absolute;
        bottom: 20px;*/
		right: 20px;
	}
	.modInfoCommerce .modInfoCommerce__action .modInfoCommerce__button {
		width: 67px;
	}
	.modInfoCommerce .modInfoCommerce__button__extendedText {
		display: none;
	}
}
@media all and (max-width: 375px){
	.modInfoCommerce .modInfoCommerce__item {
		padding: 0 0 20px 10px;
	}
	.modInfoCommerce .modInfoCommerce__action {
		right: 0px;
	}
}