/*
Theme Name: Fatalone Theme
Theme URI: http://www.leomansueto.com/
Description: Variazioni per fatalone.com del tema originale Twenty Four Ten di WordPress
Author: Leonardo Mansueto
Version: 0.1a
Template: twentyfourteen
*/
 
@import url("../twentyfourteen/style.css");



/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 *   6.1 - Post Thumbnail
 *   6.2 - Entry Header
 *   6.3 - Entry Meta
 *   6.4 - Entry Content
 *   6.5 - Galleries
 *   6.6 - Post Formats
 *   6.7 - Post/Image/Paging Navigation
 *   6.8 - Attachments
 *   6.9 - Archives
 *   6.10 - Contributor Page
 *   6.11 - 404 Page
 *   6.12 - Full-width
 *   6.13 - Singular
 *   6.14 - Comments
 * 7.0 - Sidebar
 *   7.1 - Widgets
 *   7.2 - Content Sidebar Widgets
 * 8.0 - Footer
 * 9.0 - Featured Content
 * 10.0 - Multisite
 * 11.0 - Media Queries
 * 12.0 - Print
 * -----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
 *
 * -----------------------------------------------------------------------------
 */

body {
	background: #f5f5f5;
}


p {
/*	margin-bottom: 24px; */
	margin-bottom: 10px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See https://core.trac.wordpress.org/ticket/25898.
 */


/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

/* Buttons */


/* Placeholder text color -- selectors need to be separate to work. */


/* Responsive images. Fluid images for posts, comments, and widgets */


/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */


/* Make sure embeds and iframes fit their containers */


/* Alignment */


/* Assistive text */


/* Clearing floats */


/* Genericons */


/* Separators */



/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

.site {

	background: #ffffe1 url("images/cascina.jpg") no-repeat fixed center bottom;
	background-size: contain;

/*	background-margin: 0 200px; */

	max-width: 100%;
	position: relative;
}

.main-content {
	width: 100%;
}


/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

/* Ensure that there is no gap between the header and
	 the admin bar for WordPress versions before 3.8. */

.site-header {
/*	background-color: #000; */
	background-color: #2b2b2b;
	max-width: 100%;
	position: relative;
	width: 100%;
	z-index: 4;
}


.site-title a,
.site-title a:hover {
/*	color: #fff; */
	color: #dd9933;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* Search in the header */

.search-toggle {
	background-color: #000000;
}

.search-toggle:hover,
.search-toggle.active {
	background-color: #6a0023;
}


.search-box {
	background-color: #6a0023;
	padding: 12px;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */



.site-navigation a:hover {
	color: #6a0023;
/*	color: #6c2300; */
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #d59211;
}

/* Primary Navigation */


.primary-navigation a {
	color: #ffffe1;
}

/* Secondary Navigation */

.secondary-navigation {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 12px;
	margin: 48px 0;
	background-color: #6A0023;
}

.secondary-navigation a {
	color: #ffffe1;
	padding: 9px 0;
}
/**
 * 6.0 Content
 * -----------------------------------------------------------------------------
 */


.content-area {
/*
	background: #ffffe1 url("images/cascina.jpg") no-repeat fixed right bottom;
	background-size: contain;
*/
	padding-top: 48px;
}
/*
.site-content {
	background: #ffffe1 url("images/cascina.jpg") no-repeat fixed center bottom;
	background-size: contain;
}
*/
.hentry {
/*	margin: 0 auto 48px; */
	margin: 0 auto 10px;
	max-width: 90%;
}

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {
	margin: 0 auto;
	max-width: 100%;
	background-color: rgba(255, 255, 225, 0);

}

/**
 * 6.1 Post Thumbnail
 * -----------------------------------------------------------------------------
 */


/**
 * 6.2 Entry Header
 * -----------------------------------------------------------------------------
 */


.entry-title {
	font-size: 28px;
	font-weight: 300;
	line-height: 1.0909090909;
	margin-bottom: 12px;
	margin: 0 0 12px 0;
	text-transform: uppercase;
}


.site-content .entry-header {
/*	background-color: #fff; */
/*	padding: 0 10px 12px; */
	padding: 0 10px 0px;
}

/**
 * 6.3 Entry Meta
 * -----------------------------------------------------------------------------
 */



.single .byline,
.group-blog .byline {
	display: none;
}
/* Tag links style */



/**
 * 6.4 Entry Content
 * -----------------------------------------------------------------------------
 */

/* Mediaelements */

/* Page links */


/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */


/**
 * 6.6 Post Formats
 * -----------------------------------------------------------------------------
 */



/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */


/* Paging Navigation */



/**
 * 6.8 Attachments
 * -----------------------------------------------------------------------------
 */


/**
 * 6.9 Archives
 * -----------------------------------------------------------------------------
 */



/**
 * 6.10 Contributor Page
 * -----------------------------------------------------------------------------
 */



/**
 * 6.11 404 Page
 * -----------------------------------------------------------------------------
 */



/**
 * 6.12 Full-width
 * -----------------------------------------------------------------------------
 */

.full-width .hentry {
	max-width: 100%;
}


/**
 * 6.13 Singular
 * -----------------------------------------------------------------------------
 */



/**
 * 6.14 Comments
 * -----------------------------------------------------------------------------
 */



/**
 * 7.0 Sidebars
 * -----------------------------------------------------------------------------
 */

/* Secondary */


.site-description {
	display: none;
/*	font-size: 12px; */
	font-size: 14px;
	color: #dd9933;
	font-weight: 400;
	line-height: 1.5;
}

/* Primary Sidebar */
/* Content Sidebar */

/**
 * 7.1 Widgets
 * -----------------------------------------------------------------------------
 */

/* Primary Sidebar, Footer Sidebar */

/* Calendar Widget*/

/* Ephemera Widget*/

/* List Style Widgets*/

/* Recent Posts Widget */

/* RSS Widget */

/* Text Widget */

/**
 * 7.2 Content Sidebar Widgets
 * -----------------------------------------------------------------------------
 */

/* List Style Widgets*/

/* Calendar Widget */

/* Ephemera widget*/

/**
 * 8.0 Footer
 * -----------------------------------------------------------------------------
 */

.site-footer {
/*	background-color: #000; */
	background-color: #2b2b2b;
	font-size: 12px;
	position: relative;
	z-index: 3;
}
.site-info {
	padding: 15px 10px;
	background-color: #000;
	text-align: center;
}
/**
 * 9.0 Featured Content
 * -----------------------------------------------------------------------------
 */

/* Slider */

/**
 * 10.0 Multisite
 * -----------------------------------------------------------------------------
 */

/**
 * 11.0 Media Queries
 * -----------------------------------------------------------------------------
 */

@media screen and (min-width: 401px) {
	.entry-date {
		display: none;
	}

	.list-view .site-content .hentry {
		border-top: 1px solid rgba(0, 0, 0, 0.1);
/*		padding-top: 48px; */
		padding-top: 10px;
	}

}
@media screen and (min-width: 673px) {
	.content-sidebar {
		border: 0;
		float: right;
/*		margin-left: -33.33333333%;*/
/*		padding: 48px 30px 24px;*/
		position: relative;
/*		width: 33.33333333%;*/
		margin-left: -250px;
		padding: 48px 15px 24px;
		width: 250px;
	}
}

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

	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
/*		background-color: #24890d; */
/*		color: #fff; */
/*		background-color: #6c2300; */
		background-color: #6a0023;
		color: #ffffe1;
	}

}

@media screen and (min-width: 1008px) {
	.search-box-wrapper {
/*		padding-left: 182px; */
		padding-left: 200px;
	}

	.main-content {
		float: left;
	}

	.site-content {
		margin-right: 300px;
/*		margin-right: 29.04761904%;
		margin-left: 182px; */
		margin-left: 250px;
	}

	.site-content .entry-header {
		margin-top: 0;
	}

	.site-content .has-post-thumbnail .entry-header {
		margin-top: 0;
	}

	.content-sidebar {
		margin-left: -300px;
		width: 300px;
/*
		margin-left: -29.04761904%;
		width: 29.04761904%;
*/
	}

	.site:before {
/*		background-color: #000; */
		background-color: #2b2b2b;		
/*		background-color: #6A0023; */
		content: "";
		display: block;
		height: 100%;
		min-height: 100%;
		position: absolute;
		top: 0;
		left: 0;
/*		width: 182px; */
		width: 250px;
		z-index: 2;
	}

	#secondary {
		background-color: transparent;
		border: 0;
		clear: none;
		float: left;
		margin: 0 0 0 -100%;
		min-height: 100vh;
/*		width: 122px; */
		width: 200px;
	}

	.primary-sidebar {
		padding-top: 0;
	}

	.site-description {
		display: block;
		margin: 0 0 18px;
	}

	.site-description:empty {
		margin: 0;
	}

	.secondary-navigation {
		font-size: 11px;
		margin: 0 -30px 48px;
/*		width: 182px; */
		width: 250px;
	}

	.secondary-navigation li {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		position: relative;
	}

	.secondary-navigation a {
		padding: 10px 30px;
	}

	.secondary-navigation ul ul {
		background-color: #24890d;
		position: absolute;
		top: 0;
		left: -999em;
		width: 182px;
		z-index: 99999;
	}

	.secondary-navigation li li {
		border-top: 0;
	}

	.secondary-navigation li:hover > a,
	.secondary-navigation li.focus > a {
/*		background-color: #000000; */
		background-color: #2b2b2b;
/*		background-color: #24890d; */
/*		color: #6A0023; */
		color: #fff;
	}

	.secondary-navigation ul ul a:hover,
	.secondary-navigation ul ul li.focus > a {
		background-color: #41a62a;
	}

	.secondary-navigation ul li:hover > ul,
	.secondary-navigation ul li.focus > ul {
		left: 162px;
	}

	.secondary-navigation .menu-item-has-children > a {
		padding-right: 38px;
	}

	.secondary-navigation .menu-item-has-children > a:after {
		-webkit-font-smoothing: antialiased;
		content: "\f501";
		display: inline-block;
		font: normal 8px/1 Genericons;
		position: absolute;
		right: 26px;
		top: 14px;
		vertical-align: text-bottom;
	}

	.footer-sidebar .widget,
	.primary-sidebar .widget {
		font-size: 12px;
		line-height: 1.5;
	}

	.footer-sidebar .widget {
		-webkit-box-sizing: border-box;
		-moz-box-sizing:    border-box;
		box-sizing:         border-box;
		float: left;
		padding: 0 30px;
		width: 25%;
	}

	.footer-sidebar .widget h1,
	.primary-sidebar .widget h1 {
		font-size: 20px;
		line-height: 1.2;
	}

	.footer-sidebar .widget h2,
	.primary-sidebar .widget h2 {
		font-size: 18px;
		line-height: 1.3333333333;
	}

	.footer-sidebar .widget h3,
	.primary-sidebar .widget h3 {
		font-size: 16px;
		line-height: 1.5;
	}

	.footer-sidebar .widget h4,
	.primary-sidebar .widget h4 {
		font-size: 14px;
		line-height: 1.7142857142;
	}

	.footer-sidebar .widget h5,
	.primary-sidebar .widget h5 {
		font-size: 12px;
		line-height: 2;
	}

	.footer-sidebar .widget h6,
	.primary-sidebar .widget h6 {
		font-size: 11px;
		line-height: 2.1818181818;
	}

	.footer-sidebar .widget code,
	.footer-sidebar .widget kbd,
	.footer-sidebar .widget tt,
	.footer-sidebar .widget var,
	.footer-sidebar .widget samp,
	.footer-sidebar .widget pre,
	.primary-sidebar .widget code,
	.primary-sidebar .widget kbd,
	.primary-sidebar .widget tt,
	.primary-sidebar .widget var,
	.primary-sidebar .widget samp,
	.primary-sidebar .widget pre {
		font-size: 11px;
		line-height: 1.6363636363;
	}

	.footer-sidebar .widget blockquote,
	.primary-sidebar .widget blockquote {
		font-size: 14px;
		line-height: 1.2857142857;
	}

	.footer-sidebar .widget blockquote cite,
	.primary-sidebar .widget blockquote cite {
		font-size: 12px;
		line-height: 1.5;
	}

	.footer-sidebar .widget input,
	.footer-sidebar .widget textarea,
	.primary-sidebar .widget input,
	.primary-sidebar .widget textarea {
		font-size: 12px;
		padding: 3px 2px 4px 4px;
	}

	.footer-sidebar .widget input[type="button"],
	.footer-sidebar .widget input[type="reset"],
	.footer-sidebar .widget input[type="submit"],
	.primary-sidebar .widget input[type="button"],
	.primary-sidebar .widget input[type="reset"],
	.primary-sidebar .widget input[type="submit"] {
		padding: 5px 15px 4px;
	}

	.footer-sidebar .widget .widget-title,
	.primary-sidebar .widget .widget-title {
		font-size: 11px;
		font-weight: 900;
		line-height: 1.6363636363;
		margin-bottom: 18px;
	}

	.footer-sidebar .widget_twentyfourteen_ephemera .entry-title,
	.footer-sidebar .widget_twentyfourteen_ephemera .entry-meta,
	.footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text,
	.footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link,
	.footer-sidebar .widget_twentyfourteen_ephemera .entry-content table,
	.primary-sidebar .widget_twentyfourteen_ephemera .entry-title,
	.primary-sidebar .widget_twentyfourteen_ephemera .entry-meta,
	.primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text,
	.primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link,
	.primary-sidebar .widget_twentyfourteen_ephemera .entry-content table {
		font-size: 11px;
		line-height: 1.6363636363;
	}

	.footer-sidebar .widget_archive li,
	.footer-sidebar .widget_categories li,
	.footer-sidebar .widget_links li,
	.footer-sidebar .widget_meta li,
	.footer-sidebar .widget_nav_menu li,
	.footer-sidebar .widget_pages li,
	.footer-sidebar .widget_recent_comments li,
	.footer-sidebar .widget_recent_entries li,
	.primary-sidebar .widget_archive li,
	.primary-sidebar .widget_categories li,
	.primary-sidebar .widget_links li,
	.primary-sidebar .widget_meta li,
	.primary-sidebar .widget_nav_menu li,
	.primary-sidebar .widget_pages li,
	.primary-sidebar .widget_recent_comments li,
	.primary-sidebar .widget_recent_entries li {
		border-top: 0;
		padding: 0 0 6px;
	}

	.footer-sidebar .widget_archive li:last-child,
	.footer-sidebar .widget_categories li:last-child,
	.footer-sidebar .widget_links li:last-child,
	.footer-sidebar .widget_meta li:last-child,
	.footer-sidebar .widget_nav_menu li:last-child,
	.footer-sidebar .widget_pages li:last-child,
	.footer-sidebar .widget_recent_comments li:last-child,
	.footer-sidebar .widget_recent_entries li:last-child,
	.primary-sidebar .widget_archive li:last-child,
	.primary-sidebar .widget_categories li:last-child,
	.primary-sidebar .widget_links li:last-child,
	.primary-sidebar .widget_meta li:last-child,
	.primary-sidebar .widget_nav_menu li:last-child,
	.primary-sidebar .widget_pages li:last-child,
	.primary-sidebar .widget_recent_comments li:last-child,
	.primary-sidebar .widget_recent_entries li:last-child {
		padding: 0;
	}

	.footer-sidebar .widget_categories li ul,
	.footer-sidebar .widget_nav_menu li ul,
	.footer-sidebar .widget_pages li ul,
	.primary-sidebar .widget_categories li ul,
	.primary-sidebar .widget_nav_menu li ul,
	.primary-sidebar .widget_pages li ul {
		border-top: 0;
		margin-top: 6px;
	}

	#supplementary {
		padding: 0;
	}

	.footer-sidebar {
		font-size: 12px;
		line-height: 1.5;
	}

	.featured-content {
		padding-left: 182px;
	}

	.grid .featured-content .hentry {
		width: 33.3333333%;
	}

	.grid .featured-content .hentry:nth-child( 2n+1 ) {
		clear: none;
	}

	.grid .featured-content .hentry:nth-child( 3n+1 ) {
		clear: both;
	}

	.grid .featured-content .entry-header {
		height: 120px;
	}
}
/**
 * 12.0 Print
 * -----------------------------------------------------------------------------
 */


/**
* WooCommerce
*
*/

.woocommerce 
ul.products li.product {
	background-color: rgba(255, 255, 225, 0.5);
	//opacity: 0.5;
	width: 22%;
	//width: 150px;
	//height: 200px;
}

.twentyfourteen  
.tfwc {
	padding:12px 10px 0;
	max-width:90%;
	margin:0 auto
}


.woocommerce a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
	//float: right;
	background-color: #6a0023;
	color: #ffffe1;
	//-webkit-font-smoothing: antialiased;
}
    
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background-color: #24890d;
	color: #ffffe1;
}
   

