/*
Theme Name: Nuovi Mecenati
Theme URI: http://bcvassociati.it
Author: Fabio Folgori e Federica Romano; bcv associati
Author URI: http://bcvassociati.it
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: nuovimecenati
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* =Repeatable patterns
-------------------------------------------------------------- */

/* Small headers */

/* Shared Post Format styling */

/* Form fields, general styles first */
button,
input,
select,
textarea {
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: inherit;
	padding: 6px;
}
button,
input {
	line-height: normal;
}
textarea {
	font-size: 100%;
	overflow: auto;
	vertical-align: top;
}

/* Reset non-text input types */
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Buttons */
.menu-toggle,
input[type="submit"],
input[type="button"],
input[type="reset"],
article.post-password-required input[type=submit],
.bypostauthor cite span {
	padding: 6px 10px;
	font-size: 11px;
	/*line-height: 1.428571429;*/
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
	border: 1px solid #d2d2d2;
	/*border-radius: 3px;*/
	/*box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);*/
}
.menu-toggle,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}
button[disabled],
input[disabled] {
	cursor: default;
}
.menu-toggle:hover,
.menu-toggle:focus,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
article.post-password-required input[type=submit]:hover {
	color: #5e5e5e;
	background-color: #ebebeb;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}
.menu-toggle:active,
.menu-toggle.toggled-on,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	color: #757575;
	background-color: #e1e1e1;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: linear-gradient(top, #ebebeb, #e1e1e1);
	box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
	border-color: transparent;
}
.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
	border-radius: 2px;
	box-shadow: none;
	padding: 0;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}

.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* Navigation */

/* Author profiles */


/* =Basic structure
-------------------------------------------------------------- */
/* Footer to bottom 
-------------------------------------------------------------- */

* {
	margin: 0;
}
html, body {
	height: 100%;
}
.wrapper {
	height: auto !important;
	min-height: 100%;
	height: 100%;
	margin: 0 auto -6em;
}
.footer, .push {
	height: 6em;
	clear:both;
	}
.footer {
	height: auto !important;
	min-height: 6em;
	height: 6em
}
/* Body, links, basics */
html {
	font-size: 87.5%;
}
body {
	font-size: 14px;
	font-size: 1rem;
	font-family: 'Helvetica', Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #444;
	line-height:1.3em;
}
a {
	color: #000;
}	
a:link {
	outline: none;
	}
a:hover {
	color: #AF0917;  /*red*/
}
a.more-link {
	margin-top:10px;
	display:block;
	text-transform:lowercase;
	font-size:90%;
	font-weight:bold;
}
h1, h2 {
	font-family:'Prata', serif;
	color:#000;
	font-weight:normal;
	margin-bottom:10px;
	line-height:1.1em;
	letter-spacing:0.03em;
}
.entry-title, .entry-title a {
	color:#AF0917;
	text-decoration:none;
}
.entry-title:first-letter {
	text-transform:capitalize;
}
h1 {
	font-size:24px;
}
h2 {
	font-size:21px;
}
h3 {
	font-size:18px;
}
h3, h4 {
	color:#AF0917;
}
h4, h5 {
	font-size:15px;
}
h3, h4, h5, h6 {
	font-weight:normal;
	text-transform:uppercase;
	margin-bottom:10px;
	}
h5, h5.entry-title a {
	color: #114E7A;
}

p {
	margin-bottom:20px;
}
blockquote {
	position:relative;
	padding:20px;
	font-style: italic;
	color:#7a7a7a;
}

blockquote:before {
	display: block;
	content: "“";
	font-size: 70px;
	position: absolute;
	left: -10px;
	top: 25px;
	color: #7a7a7a;
}
/*
blockquote:after {
	display: block;
	content: "„";
	font-size: 70px;
	position: absolute;
	right: -10px;
	bottom: 25px;
	color: #7a7a7a;
}
*/
#masthead {
	margin-top:30px;
}
#header {
	border-left:2px solid #114E7A;
	height: auto !important ;
	min-height:115px;
	height:115px;
	}
.logo-sx {
	padding-right:5px;
	text-align:right;
}
.logo-dx {
	text-align:left;
	padding-left:5px;
}
.logo-dx a {
	display:block;
	height:100%;
}
#content, .content {
	border-left:2px solid #114E7A; /*blu*/
	padding-left:30px;
	padding-top:20px;
}

#content {
	position:relative;
}
.content:last-child {
	padding-bottom:30px;
}

.entry-content a {
	color:#444;
}

#site-navigation {
	height:100%;
}

.footer > div {
	padding-top:20px;
	text-align:right;
}
.footer a {
	text-decoration:none;
	color:#AF0917;
}
/* Assistive text 
-------------------------------------------------------------- */


/* Page structure 
-------------------------------------------------------------- */
.entry-content ul, .entry-content ol {
	margin-bottom:20px;
}
.entry-content ul ul, .entry-content ol ol, .entry-content ul ol, .entry-content ol ul {
	margin-bottom:0;
}
.entry-content ul {
	list-style: disc inside none;
}
.entry-content ol {
	list-style: decimal inside none;
}
.entry-content ul ul, .entry-content ol ol {
	margin-left:10px;
}

/* Navigation Menu 
-------------------------------------------------------------- */

.nav-menu {
}
.nav-menu li {
	box-sizing:border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	float:left;
	width:16.66667%;
	padding-left:10px;
	padding-right:10px;
	font-size:90%;
}
.nav-menu li:first-child {
	padding-left:0;
}
.nav-menu li:last-child {
	padding-right:0;
}
.nav-menu li a {
	float:left;
	text-decoration:none;
	width:100%;
	font-weight:bold;

}
.nav-menu > li.current-menu-item > a, .nav-menu > li.current-menu-parent > a {
	color: #ccc;
}

.nav-menu li a:hover {
	color:#AF0917; /*red*/
}
/* sub-menu */
.sub-menu {
	display:none;
	margin-top:37px;
	margin-bottom:10px;
	}

.nav-menu li:hover .sub-menu {
	display:block;
}
.sub-menu li {
	width:150%;
	padding:0;
	float:none;
}
.sub-menu li:last-child {	
	text-align:left;
}
.sub-menu li a {
	float:none;
	display:block;
	line-height:1.2;
	font-weight: normal;
}
.sub-menu li.current-menu-item a {
	color:#AF0917;
}
/* Language selector 
-------------------------------------------------------------- */
#lang_sel_list {
    height: auto;
    position: relative;
    z-index: 99;
    font-size: 100%;
	font-family: 'Helvetica', Arial, sans-serif;
}
#lang_sel_list ul {

}
#lang_sel_list li:before {
    content: " |" !important;
}
#lang_sel_list li:first-child:before {
    content: "" !important;
}
#lang_sel_list li {
    float: right;
    line-height: 1.5;
    font-size: 90%;

}
#lang_sel_list a.lang_sel_sel {
    background-image: none;
    color: #000;
}
#lang_sel_list ul a, #lang_sel_list_list ul a:visited {
    float:left;
    font-size: 100%;
    line-height: 1.5 !important;
    padding-right: 5px;
    text-decoration: none !important;
    color:#888;
}
#lang_sel_list a, #lang_sel_list a:visited {
	
}


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

.footer {
	background-color: #ddd;
	
}

/* Homepage and Sticky post 
-------------------------------------------------------------- */

.sticky, .sticky-news {
	padding-left:0;
	border-left:2px solid #114E7A;
	}
.sticky-news {
	padding:0 10px;
	overflow:hidden;
}
/* flexslider
-------------------------------------------------------------- */

.flexslider {
	margin-bottom:10px;
}
.flexslider .slides li {
	position:relative;
}
.flexslider .slides li h2, .flexslider .slides li p {
	position: absolute;
	bottom:0;
	right:10px;
	width:70%;
	padding:10px;
	background-color:#fff;
	color:#000;
	font-weight:bold;
}
.flexslider .flex-control-nav {
    background-color: none;
    bottom: 20px;
    position: absolute;
    right: 10px;
    text-align: center;
    line-height:1em;
    width:auto;
}
.flex-control-nav li {
	margin:13px 6px;
	}

/* Flexslider-slider for news, carousel 
-------------------------------------------------------------- */

.flexslider-slider { margin: 0 0 40px; background: #fff; border: none 0; position: relative; -webkit-border-radius: none; -moz-border-radius: none; -o-border-radius: none; border-radius: none; -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; zoom: 1; }
.carousel .slides li { 
	background-color:#ddd;
}
.flexslider-slider li div {
	padding:20px;
}
.flexslider-slider .flex-control-nav {
	text-align:right;
}
.flexslider-slider .flex-control-paging li a {
	color:transparent;
}
.carousel .entry-content {
	height:auto !important;
	height:160px;
	min-height:160px;
	}
/* =Page content 
-------------------------------------------------------------- */
.item-box, .mecenati {
	position:relative;
}
.item-box .cat-label, .mecenati .cat-label {
	color:#114E7A;
	position:absolute;
	top:0;
	left:-140px;
	width:100px;
	text-align:right;
	font-weight:bold;
}
.mecenati .cat-label {
	left:-110px;
}
.date {
	font-size:90%;
	color:#000;
	font-weight:bold;
	font-style:italic;
	margin-bottom:8px;
}
/* area mecenati
-------------------------------------------------------------- */

.content.mecenati {
	padding-left:10px;
	padding-bottom:10px;
	padding-top:0;
	}
.mecenati .item-box {
	height:auto !important;
	border-right:thin solid #ccc;
	margin-bottom:10px;
	margin-top:10px;
	padding:0 20px;
	
	
}
.mecenati .item-box.grid-15 {
	width:16.666%;
	line-height:75px;
}
.mecenati .item-box:after {
	content:'';
	height:1px;
	border-top:thin solid #ccc;
	margin:-10px 0;
	width:100%;
	display:block;
}

.mecenati div.item-box.grid-15:nth-child(6n+1), .mecenati div.item-box.grid-33:nth-child(3n+1) {
	clear:both;
}
.mecenati .item-box.grid-15:nth-child(6n), .mecenati div.item-box.grid-33:nth-child(3n) {
	border-right:none !important;
}
.mecenati .item-box.grid-15:nth-last-child(-n+7):after, .mecenati .item-box.grid-33:nth-last-child(-n+3):after { 
	border-top:none;
}
.mecenati .item-box a {
	height:auto !important;
	display:block;
	min-height:75px;
	height:75px;	

}
.mecenati .item-box .entry-content {
	height:auto!important;
	height:210px;
	min-height:210px;
}
/* pagina news
-------------------------------------------------------------- */

.news .item-box, .presidenti .item-box {
	padding-bottom:10px;
	border-bottom:thin solid #ccc;
	margin-bottom: 20px;
}
.news .item-box:last-child, .presidenti .item-box:last-child {
	border-bottom:0 none;
}
/* pagina lettere dei presidenti
-------------------------------------------------------------- */
.presidenti h1 {
	margin-bottom:0;
}
.presidenti-img {
    margin-bottom: 20px;
    margin-left: -30px;
    padding-left: 0;
}

.selected li h5 {
	border-bottom:thin solid #114E7A;
}
/* Pagina compagnie area servizio 
-------------------------------------------------------------- */
body.single-compagnie #content {
	position:relative;
	padding-bottom:20px;
}
.user-box {
	position:absolute;
	top:0;
	width:25%;
	right:-25%;
	margin-right:-20px;
	font-size:90%;
	margin-top:20px;
}

.user-box span {
	font-weight:bold;
	margin-top:10px;
}
.user-box a, .user-box span {
	display:block;
	color:#114E7A;
	text-decoration:none;
}
.user-box a:hover {
	color:#AF0917;
}
.compagnie-title, .admin-title {
	margin:0 -10px 20px;
	padding:10px;
	color:#fff;
	text-transform: unset;
}
.compagnie-title {
	background-color:#AF0917;
}
.admin-title {
	background-color:#114E7A;
}
.compagnie-title:first-letter {
	text-transform:uppercase;
}

.media-modal-close {
    display: block;
    line-height: 1;
    width: 60px;
}
.media-frame, .media-modal, .media-frame h1, .media-frame h3 {
	font-family:'Arial', sans-serif;
}
/*login-form*/
#loginform {
	width:70%;
	background-color:#ddd;
	padding:10px;
}
#loginform:after {
	content: ".";
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    clear:both;
}

#loginform p {
	float:left;
	padding:10px;
	box-sizing: border-box;
	position:relative;
	margin-bottom:0;
}
#loginform p.login-username, #loginform p.login-password {
	width:40%;
	
}
#loginform p.login-submit {
	width:20%;
}
#loginform p.login-submit input {
	width:100%;
	padding: 0.428571rem;
	background: none #114e7a;
    border: 1px solid #d2d2d2;
    border-radius: 0;
    box-shadow: 0 none;
    color: #fff;
    /*font-size: 70%;*/
    font-weight: normal;
    line-height: normal;
}
#loginform p label {
	display:block;
	font-size:70%;
	font-style:italic;
	position:absolute;
	top:-5px;
	left:0;
}
#loginform p input[type=password], #loginform p input[type=text] {
	width:100%;
	border-radius:0;
	margin:0 -11px;
}
.folder li {
	position:relative;
	padding:0 0 0 50px;
	height:32px;
	line-height:32px;
	background:url('images/bg_folder.png') no-repeat 0 0 #ddd;
	margin-bottom:3px;
}
.folder li a {
	text-decoration:none;
	font-weight:bold;
}
.folder li a:first-letter {
	text-transform: uppercase;
}
.folder li span {
	position:absolute;
	display:block;
	height:32px;
	top:0;
	right:0;
	padding-right:20px;
	font-style:italic;
}
form.acf-form {
	margin-bottom: 20px;
}
.acf-fields > .acf-field {
    padding: 10px 0;
}

/* =Archives
-------------------------------------------------------------- */
/* =Single progetti selezionati
-------------------------------------------------------------- */
.selected {
}
/* =Single article
-------------------------------------------------------------- */
.entry-img {
	border-left:2px solid #114E7A;
}
.entry-img img {
	display:block;
	margin-left:-10px;
}

/* =CRONO FORM SCHEDA ADESIONE
-------------------------------------------------------------- */
.wpcf7-form-control-wrap {
	display:block;
}
span.wpcf7-not-valid-tip {
    color: #AF0917;
    font-size: 0.8em;
    padding:2px 0;
}
span.telefono input, span.fax input, span.email input {
	width:100%;
	margin-left:-10px;

}
input.wpcf7-form-control[type=submit] {
	background-image:none;
	background-color:#AF0917;
	color: #fff;
	border:none;
}
*[aria-required="true"] {
	border-bottom-color: #AF0917;
	border-bottom-width:2px;
 }
/* =Single image attachment view
-------------------------------------------------------------- */



/* =Media queries
-------------------------------------------------------------- */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	
}


/* =Print
----------------------------------------------- */

@media print {
	
}
