﻿/*
 * Public Press — widget banner (sidebar top/bottom) e articoli recenti.
 * Estratto da style.css (CSS-T17).
 */

/**
 * 10.0 - Widgets
 */

.widget {
	margin-bottom: 3em;
}
.widget:first-child{
	margin-top: 1em;
}

.widget-area > :last-child,
.widget > :last-child {
	margin-bottom: 0;
}

.widget .widget-title, h2.widget-like  {
	font-family: 'Open Sans', sans-serif;
	font-size: 25.6px;
	font-size: 1.6rem;
	letter-spacing: 0.046875em;
	line-height: 1.3125;
	margin: 0 0 1em;
	text-transform: uppercase;
	text-align: center;
	color: #d1c002;
	font-weight:400;
}

.widget .widget-title:empty {
	margin-bottom: 0;
}
.widget_recent_entries h2.widget-title {
    color: #d12c1c;
}
.widget_recent_entries h2.widget-title:after {
    content: ':';
}
.widget-title a {
	color: #1a1a1a;
}

/* Tag Cloud widget */
.tagcloud a {
	border: 1px solid #d1d1d1;
	border-radius: 2px;
	display: inline-block;
	
	line-height: 1;
	margin: 0 0.1875em 0.4375em 0;
	padding: 0.5625em 0.4375em 0.5em;
}

.tagcloud a:hover,
.tagcloud a:focus {
	border-color: #007acc;
	color: #007acc;
	outline: 0;
}

.banner-adv{
	text-align: center;
}

.widget_recent_entries ul{
	margin:0;
}
.widget_recent_entries li {
    padding: 1em 0 .4em;
    font-size: 13px;
    list-style: none;
    font-weight: normal;
    position: relative;
    text-align: center;
}
.widget_recent_entries li:after {
    clear: both;
    display: block;
    content: '';
}
.widget_recent_entries li:before {
    position: absolute;
    bottom: 0;
    content: '';
    left: 20%;
    width: 60%;
    border-bottom: 2px solid #5d5d5d;
}
.widget_recent_entries .post-date {
    color: #002372;
    display: block;
    text-align: center;
    font-style: italic;
    font-weight:700;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}
.widget_recent_entries li a {
    display: inline-block;
    width: 100%;
    color: #555;
    line-height: 1.4;
    padding: .3em;
}
.widget_recent_entries li a:hover {
	color: #002372;
}

/* Tipografia widget testo (banner header/footer) — CSS-T18 */
.textwidget:before,
.textwidget:after {
	content: "";
	display: table;
}

.textwidget:after {
	clear: both;
}

.textwidget h1 {
	font-size: 28px;
	font-size: 1.75rem;
	line-height: 1.25;
	margin-top: 2em;
	margin-bottom: 1em;
}

.textwidget h2,
.textwidget h3 {
	font-size: 22px;
	line-height: inherit;
	margin: 0 0 1em;
}

.textwidget h4,
.textwidget h5,
.textwidget h6 {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.3125;
	margin-top: 3.5em;
	margin-bottom: 1.75em;
}

.textwidget h4 {
	letter-spacing: 0.140625em;
	text-transform: uppercase;
}

.textwidget h6 {
	font-style: italic;
}

.textwidget h1,
.textwidget h2,
.textwidget h3,
.textwidget h4,
.textwidget h5,
.textwidget h6 {
	font-weight: 900;
}

.textwidget h1:first-child,
.textwidget h2:first-child,
.textwidget h3:first-child,
.textwidget h4:first-child,
.textwidget h5:first-child,
.textwidget h6:first-child {
	margin-top: 0;
}

.textwidget > :last-child {
	margin-bottom: 0;
}

.textwidget .wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

.textwidget a img {
	display: block;
	margin: 0 auto;
}
