/*
Theme Name: Ordine Architetti
Theme URI: http://www.netminds.it/
Author: Antonio Mangiacapra
Version: 1.0.0
Text Domain: startertheme
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------


4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/




/*--------------------------------------------------------------
General
--------------------------------------------------------------*/
*:focus {
	outline: 0;
}

#page {
	background: #f6f4f4;
	margin: 0 auto;
    overflow-x: hidden;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.boxed-layout #page { width: 750px;}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.boxed-layout #page { width: 970px;}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.boxed-layout #page { width: 1170px;}
}

@media screen and (max-width: 782px) {
	html #wpadminbar {
		z-index: 99999 !important;
		position: fixed !important;
	}
}

body {
    min-height:100%;
    position: relative;
}

iframe,
object {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/**************************** TYPOGRAPHY *****************************/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #504e4e;
}

p {
    margin-bottom: 0;
}
p + p {
    margin-top: 5px;
}

.position-relative {
    position: relative;
}

a:hover,
a:focus {
    text-decoration: none;
}

p a:hover,
p a:focus{
    text-decoration: underline
}

h1, .h1 {
    font-size: 160%;
}
h2, .h2 {
    font-size: 140%;
}
h3, .h3 {
    font-size: 120%;
}
h4, .h4 {
    font-size: 100%;
}


blockquote {
    margin-top: 20px;
    background-color: #e3e3e3;
    border-left:5px solid  #fb890f;
}

.entry-content h1{
    margin: 0 0 20px;
}

.page-content h2:after,
.entry-content h2:after,
.page-content h3:after,
.entry-content h3:after {
    display: block;
    content: "";
    height: 2px;
    width: 90px;
    background-color: #fb890f;
    margin-top: 5px;
}

.entry-content .leggi-altro {
    color: #ff9311;
}
/***************************** ELEMENTS ********************************/

.btn {
    padding: 12px 20px;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 0;
    border-radius: 0;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
    outline-offset: 0;
}
.btn:hover,
.btn:focus,
.btn.focus {
    color: #333;
    text-decoration: none;
}
.btn:active,
.btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-blue {
    color: #FFF !important;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0076a3+0,00658b+100 */
    background: #0076a3; /* Old browsers */
    background: -moz-linear-gradient(top,  #0076a3 0%, #00658b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0076a3), color-stop(100%,#00658b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #0076a3 0%,#00658b 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0076a3', endColorstr='#00658b',GradientType=0 ); /* IE6-9 */
}
.btn-blue:active,
.btn-blue.active {
    color: #FFF !important;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0076a3+0,00658b+100 */
    background: #0076a3; /* Old browsers */
    background: -moz-linear-gradient(top,  #0076a3 0%, #00658b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0076a3), color-stop(100%,#00658b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #0076a3 0%,#00658b 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #0076a3 0%,#00658b 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0076a3', endColorstr='#00658b',GradientType=0 ); /* IE6-9 */

}


.nav-tabs>li.active>a {
    background-color: transparent;
}

.single-post .entry-header,
.content-title-bar {
    height: 46px;
    padding: 9px 15px 0;
    background: #fb890f;
    background: -moz-linear-gradient(top, #fb890f 0%, #ff9311 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb890f), color-stop(100%,#ff9311));
    background: -webkit-linear-gradient(top, #fb890f 0%,#ff9311 100%);
    background: -o-linear-gradient(top, #fb890f 0%,#ff9311 100%);
    background: -ms-linear-gradient(top, #fb890f 0%,#ff9311 100%);
    background: linear-gradient(to bottom, #fb890f 0%,#ff9311 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb890f', endColorstr='#ff9311',GradientType=0 );
    color: #FFF;
}


/*** Secondary menu ***/
.my-icon {
    height: 35px;
    width: 45px;
    display: block;
    margin: 0 auto;
}

.my-icon.albo-unico-nazionale {
    background: url('img/icone.png') -22px -15px;
}
.menu-item:hover .my-icon.albo-unico-nazionale {
    background: url('img/icone.png') -92px -16px;
}

.my-icon.webinar-streaming {
    background: url('img/icone.png') -22px -72px;
}
.menu-item:hover .my-icon.webinar-streaming {
    background: url('img/icone.png') -92px -72px;
}

.my-icon.compensi-llpp-dm {
    background: url('img/icone.png') -22px -133px
}
.menu-item:hover .my-icon.compensi-llpp-dm {
    background: url('img/icone.png') -92px -133px
}

.my-icon.firma-digitale {
    background: url('img/icone.png') -22px -194px
}
.menu-item:hover .my-icon.firma-digitale {
    background: url('img/icone.png') -92px -194px
}

.my-icon.costi-costruzione-edilizia {
    background: url('img/icone.png') -22px -253px
}
.menu-item:hover .my-icon.costi-costruzione-edilizia {
    background: url('img/icone.png') -92px -253px
}

.my-icon.carta-nazionale {
    background: url('img/icone.png') -22px -314px
}
.menu-item:hover .my-icon.carta-nazionale {
    background: url('img/icone.png') -92px -314px
}

.my-icon.convenzione-rc-professionale {
    background: url('img/icone.png') -22px -374px
}
.menu-item:hover .my-icon.convenzione-rc-professionale {
    background: url('img/icone.png') -92px -374px
}

.my-icon.ordini-provinciali {
    background: url('img/icone.png') -22px -434px
}
.menu-item:hover .my-icon.ordini-provinciali {
    background: url('img/icone.png') -92px -434px
}

.my-icon.posta-awn {
    background: url('img/icone.png') -22px -494px
}
.menu-item:hover .my-icon.posta-awn {
    background: url('img/icone.png') -92px -494px
}

/********************************** UTILITY ********************************/
.border-top {
    border-top-width: 4px;
    border-top-style: solid;
}
.border-red {
    border-color: #F00;
}

.text-red {
    color: #F00;
}

.border-light-blue {
    border-color: #3b89bf;
}

.text-light-blue {
    border-color: #3b89bf;
}

.margin-10 {
    margin-top: 10px;
}
.margin-20 {
    margin-top: 20px;
}
.margin-30 {
    margin-top: 30px;
}
.margin-40 {
    margin-top: 40px;
}
.margin-60 {
    margin-top: 60px;
}
.margin-80 {
    margin-top: 80px;
}
.margin-100 {
    margin-top: 100px;
}

/***************************** HEADER ********************************/
.is-sticky #actionbar {
	display: none;
}


.position-relative {
    position: relative;
}


.row.no-gutter {
    margin: 0 !important
}
.row.no-gutter > div {
    padding: 0 !important;
}
.container.no-gutter {
    padding: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.row.gutter-5 {
    margin-left: -5px;
    margin-right: -5px;
}
.row.gutter-5 > div {
    padding: 5px
}

main.site-main,
#secondary .widget{
    background: #FFF;
    -webkit-box-shadow: -2px -4px 6px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:    -2px -4px 6px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         -2px -4px 6px 0px rgba(0, 0, 0, 0.2);
}

main.site-main {
    padding: 10px 15px;
}

.single-post main.site-main {
    padding: 0;
}

#primary-navigation-menu-wrap .menu-background {
    position: absolute;
    width: 300%;
    height: 50px;
    left: -100%;
}


@media (min-width: 768px) {
    .navbar-header {
        float: left;
        width: 18%;
        position: relative;
    }

    #primary-navigation-menu-wrap.collapse {
        width: 82%;
        float: left;
        background: #fb890f; /* Old browsers */
        background: -moz-linear-gradient(top, #fb890f 0%, #ff9311 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb890f), color-stop(100%,#ff9311)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* IE10+ */
        background: linear-gradient(to bottom, #fb890f 0%,#ff9311 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb890f', endColorstr='#ff9311',GradientType=0 ); /* IE6-9 */
        padding: 0;
    }

    #header-wrap  .container-before,
    #header-wrap  .container-after{
        position: absolute;
        height: 50px;
        width: 100%;
        background: #fb890f; /* Old browsers */
        background: -moz-linear-gradient(top, #fb890f 0%, #ff9311 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb890f), color-stop(100%,#ff9311)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #fb890f 0%,#ff9311 100%); /* IE10+ */
        background: linear-gradient(to bottom, #fb890f 0%,#ff9311 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb890f', endColorstr='#ff9311',GradientType=0 ); /* IE6-9 */
    }
    #header-wrap  .container-after {
        right: -100%;
        margin-right: 20px;
    }
    #header-wrap  .container-before-overlay,
    #header-wrap .container-before {
        left: -100%;
        margin-left: 15px
    }

    #header-wrap  .container-before-overlay {
        height: 155px;
        background: rgba(0,0,0,.7);
        position: absolute;
        width: 100%;
        top: 0;
    }
}



#masthead {
    height: 400px;
    border-top: 4px solid #fb890f;
    background: url('./img/sfondo-header.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
}

#header-wrap {
    border-bottom: 4px solid #FFF;
}

.navbar > .container {
    position: relative;
}

.navbar-header .site-brand{
    height: 205px;
    background: rgba(0,0,0,.7);
    text-align: center;
}
.navbar-header .site-brand img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}


.site-slogan {
    position: absolute;
    top: 60px;
    width: 460px;
    right: -460px;
    padding: 10px 15px;
    background: rgba(0,0,0,.7);
    color: #FFF;
    font-family: "Georgia, serfi";
}
.site-slogan h1{
    margin: 0;
    font-size: 23px;
    font-style: italic;
}

.search-form-wrap {
    position: absolute;
    right: 0;
    top: 60px;
}

.search-form-wrap .search-submit {
    width: 45px;
    height: 45px;
    line-height: 30px;
    text-align: center;
    background: rgba(0,0,0,.7);
    border: none;
    color: #FFF;
}

.search-form-wrap .search-field {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #dddddd 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dddddd)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#dddddd 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#dddddd 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#dddddd 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#dddddd 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
    border: none;
    height: 45px;
    border-radius: 0;
    width: 210px;
    padding: 10px;
}

.search-form-wrap .search-field,
.search-form-wrap .search-submit {
    display: block;
    float: left;
}

#primary-navigation-menu-wrap,
#header-wrap  .container-before,
#header-wrap  .container-after {
    margin-top: 155px;
}





/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
/*button,*/
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 5px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 14px;
	line-height: 1;
	padding: 7px 10px 8px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/*button:hover,*/
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

/*button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,*/
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/


/*--------------------------------------------------------------
5.2 Menus (Header?)
--------------------------------------------------------------*/

/***** ITA: Azzeramenti ******/
#header-wrap .navbar {
	margin-bottom: 0;
	border: none;
}

#primary-navigation-menu-wrap .nav > li > a:hover,
#primary-navigation-menu-wrap .nav > li > a:focus {
  background-color: transparent; 
}

#primary-navigation-menu-wrap ul {
	list-style: none;
	padding: 0;
}

/*****/

#header-wrap.is-sticky {
	position: fixed;
	width: 100%;
	left: 0;
	top: -60px;
	z-index: 9999;
}

.boxed-layout #header-wrap.is-sticky {
	background-color: transparent !important;
}

.wide-layout #header-wrap.is-sticky,
.boxed-layout #header-wrap.is-sticky > .navbar > .container {
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}

#primary-navigation-menu-wrap .nav {}


/* ITA: Tutti i li*/
#primary-navigation-menu-wrap .nav li {
	position: relative;
}

/*ITA: Tutti gli a */
#primary-navigation-menu-wrap .nav a {
	display: block;
	background-color: transparent;
	/**/
}

#primary-navigation-menu-wrap .nav li:hover > a,
#primary-navigation-menu-wrap .nav li:focus > a,
#primary-navigation-menu-wrap .nav li:active > a {
}

/*ITA: Tutti gli a di primo livello*/
#primary-navigation-menu-wrap .nav > li > a {
	padding: 16px 30px;
    font-size: 16px;
    text-transform: uppercase;
    color: #FFF;
    border-right: 1px solid #FFF;
    height: 50px;
    box-sizing: border-box;
    cursor: pointer;
}
#primary-navigation-menu-wrap .nav > li:last-child > a {
    border: none;
}
#primary-navigation-menu-wrap .nav > li.menu-item-has-children > a:after {
    display: inline-block;
    content: "";
    border: 6px solid transparent;
    border-top: 6px solid #FFF;
    right: -10px;
    position: relative;
    top: 2px;
}

#primary-navigation-menu-wrap .nav > li:hover > a,
#primary-navigation-menu-wrap .nav > li:focus > a,
#primary-navigation-menu-wrap .nav > li:active > a {

}

/*ITA: Tutti gli ul dal secondo livello in poi*/
#primary-navigation-menu-wrap .nav ul {
	float: left;
	position: absolute;
	top: 20px;
	left: -9999px;
	z-index: 99999;
	/**/
	width: 250px
}

/*ITA: Tutti gli ul di terzo livello*/
#primary-navigation-menu-wrap .nav ul ul {
	left: -999em;
	top: 0px;
	/**/

}

/*ITA: Tutti gli a di secondo livello*/
#primary-navigation-menu-wrap .nav ul a {
	--width: 200px;
	padding: 5px 10px;
    color: #FFF;
}

/*ITA: Tutti i li dal secondo livello in poi*/
#primary-navigation-menu-wrap .nav ul li {
	--padding: 5px 20px;
    background-color: #fb890f;
    border-bottom: 1px solid #FFF;
}
#primary-navigation-menu-wrap .nav ul li:last-child {
    border-bottom: none;
}
#primary-navigation-menu-wrap .nav ul li:hover > a {
    background-color: #d28223;
    font-style: italic;
}


#primary-navigation-menu-wrap .nav > li:hover > ul {
	left: auto;
    top: 50px;
    border-top: 4px solid #FFF;
}

/*ITA: Megamenu */
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	#primary-navigation-menu-wrap .nav li.megamenu {
		position: static;
	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul {
		position: absolute;
	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul {
		  top: 100%;
		  margin-top: -15px;
		  padding-top: 10px;
	}
	#primary-navigation-menu-wrap .nav li.megamenu.col-3 > ul > li {
		width: 33.3%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu.col-4 > ul > li {
		width: 25%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu.col-5 > ul > li {
		width: 20%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu.col-6 > ul > li {
		width: 16.6%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul > li {
		display: block;
		float: left;
		width: 25%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul > li ul {
		position: relative;
		left: auto;
		top: 100%;
		width: 100%;
	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul > li ul li {
		padding-left: 20px;

	}
	#primary-navigation-menu-wrap .nav li.megamenu > ul > li > ul > li {
		padding-left: 0px;
	}


	#primary-navigation-menu-wrap .nav li.megamenu > ul { width: 750px;}
	#primary-navigation-menu-wrap .nav li.megamenu:hover > ul,
	#primary-navigation-menu-wrap .nav li.megamenu:focus > ul {
		margin-left: -375px;
		left: 50%;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#primary-navigation-menu-wrap .nav li.megamenu > ul { width: 970px;}
	#primary-navigation-menu-wrap .nav li.megamenu:hover > ul,
	#primary-navigation-menu-wrap .nav li.megamenu:focus > ul {
		margin-left: -485px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#primary-navigation-menu-wrap .nav li.megamenu > ul { width: 1170px;}
	#primary-navigation-menu-wrap .nav li.megamenu:hover > ul,
	#primary-navigation-menu-wrap .nav li.megamenu:focus > ul {
		margin-left: -585px;
	}
}

/* /megamenu */

/*ITA: FIX dei sottomenu che escono fuori dallo schermo*/
#primary-navigation-menu-wrap .nav li.edge:hover > ul{
	right: 0;
}
#primary-navigation-menu-wrap .nav li > ul  li.edge:hover > ul{
	left: -100%;
}
/**/

#primary-navigation-menu-wrap .nav .current_page_item > a,
#primary-navigation-menu-wrap .nav .current-menu-item > a,
#primary-navigation-menu-wrap .nav .current-page-ancestor > a,
#primary-navigation-menu-wrap .nav .current-menu-ancestor > a {
}

.secondary-menu-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

.secondary-navigation {
    padding: 0;
    width: 100%;
}
.secondary-navigation li {
    width: 11.11%;
    text-align: center;
    list-style: none;
    border-top: 2px solid #fb890f;
}
.secondary-navigation li:first-child {
    border-left: 2px solid #fb890f;
}
.secondary-navigation li:last-child {
    border-right: 2px solid #fb890f;
}

.secondary-navigation li a {
    color: #FFF;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    height: 100px;
    display: block;
    padding: 10px 3px;
    background: rgba(0,0,0,.7);
}
.secondary-navigation li:hover a{
    background: #FFF;
    color: #3B3B3B;
    -webkit-transform:scale(1.15);
    -moz-transform: scale(1.15);
    transform:scale(1.15);
    border: 2px solid #fb890f;
    font-size: 14px;
    line-height: 1.15;
}

.secondary-navigation li .icon-wrap {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid #888;
  border-radius: 4px;
}
.navbar-toggle:active {
  background-color: #ddd;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}


@media screen and (min-width: 768px) { 
	/*ITA: Menu di terzo livello*/
	#primary-navigation-menu-wrap .nav ul li:hover > ul {
		left: 100%;
	}
}

/* Small menu. */
@media screen and (max-width: 767px) {

	#header-wrap .site-brand {
		margin-left: 15px;
	}

	#primary-navigation-menu-wrap .nav ul,
	#primary-navigation-menu-wrap .nav ul ul {
		float: none;
		position: relative;
		top: auto;
		left: auto;
		z-index: 1;
		/**/
		padding-left: 30px;
	}


}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 15px;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.footer-logos {
    background: #3e3d3d;
    padding: 12px 0;
    -webkit-box-shadow: 0px -5px 6px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:    0px -5px 6px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px -5px 6px 0px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}
.footer-logos a {
    display: block;
    margin-right: 2px;
}
.footer-logos a:hover {
    -webkit-transform:scale(1.15);
    -moz-transform: scale(1.15);
    transform:scale(1.15);
    outline: 2px solid #fb890f;
    position: relative;
    z-index: 5;
}

#colophon {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff9311+0,d1780e+100 */
    background: #ff9311; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff9311 0%, #d1780e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9311), color-stop(100%,#d1780e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ff9311 0%,#d1780e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ff9311 0%,#d1780e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ff9311 0%,#d1780e 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ff9311 0%,#d1780e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9311', endColorstr='#d1780e',GradientType=0 ); /* IE6-9 */

}

#footer-widget-container{
    border-top: 4px solid #FFF;
    padding-top: 20px;
}
#footer-widget-container .widget-title{
    text-transform: uppercase;
    color: #FFF;
    text-decoration: underline;
    margin-bottom: 20px;
}

#footer-widget-container .menu {
    padding: 0;
    color: #CCC;
    list-style-position: inside;
    font-size: 14px;
}
#footer-widget-container .menu li{
    margin-bottom: 1px;
}
#footer-widget-container .menu a{
    color: #FFF;
    text-transform: lowercase;
    padding: 1px 0;
}
#footer-widget-container .menu a:hover,
#footer-widget-container .menu a:focus{
    text-decoration: underline;
}


.footer-social-icons a{
    width: 30px;
    height: 30px;
    border: 1px solid #FFF;
    text-align: center;
    line-height: 30px;
    display: block;
    float: left;
    font-size: 20px;
    margin: 20px 10px;
    color: #FFF;
}
.footer-social-icons a:hover{
    color: #b86f17;
    background: #FFF;

}


.contatti_footer {
    font-size: 14px;
    color: #FFF;
    padding: 0 15px 20px;
    border-right: 1px solid #FFF;
}


#site-info {
    background: #b86f17;
    border-top: 2px solid #FFF;
    text-align: center;
    color: #FFF;
    padding: 10px 0;
    font-size: 85%;
}


.tab-container {
    border-bottom: 2px solid #d5d5d5;
}
.tab-container .title {
    position: relative;
    margin: 0 0 3px;
    text-transform: uppercase;
    font-size: 24px;
    padding-left: 15px;
}
.tab-container .title:after {
    display: block;
    content:"";
    height: 2px;
    position: absolute;
    width: 100%;
    bottom: -5px;
    left: 0;
    background-color: #fc0d1b;
}

.nav-tabs {
    border: none;
    margin-top: 6px;
}
.nav-tabs>li>a {
    margin: 0;
    border: 0;
    border-radius: 0;
    font-size: 18px;
    color: #000;
    padding: 1px 15px;
    background: transparent;
}

.nav>li>a:hover, .nav>li>a:focus {
    background-color: transparent !important;
    color: #fc0d1b;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    border: none;
    color: #fc0d1b;
    font-weight: 600;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/



/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/

#secondary .widget {
    padding: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    font-size: 16px;
}

#secondary .widget .widget-title {
    margin-top: 0;
}

#secondary .pfc-widget {
    padding: 0;
    margin-bottom: 30px;
}

#secondary .pfc-widget .content {
    padding: 15px;
}

#secondary .pfc-widget .content.cat-bandi {
    border-top: 4px solid #34a44b;
}
#secondary .pfc-widget .content.cat-comunicazioni,
#secondary .pfc-widget .content.cat-comunicato {
    border-top: 4px solid #0140bc;
}
#secondary .pfc-widget .content.cat-formazione {
     border-top: 4px solid #ff9311;
}

#secondary .pfc-widget .publish-date {
    color: #3b3a3a !important;
    font-weight: 600;
}

#secondary .pfc-widget h4 {
    margin-top: 0;
}

#secondary .pfc-widget h4 {
    font-size: 20px;
    font-weight: 500;
}

#secondary .pfc-widget h4 a {
    color: #504e4e;
}

#secondary .pfc-widget h5 {
    margin: 3px 0;
    font-size: 17px;
}
#secondary .pfc-widget h5 a {
    color: #504e4e;
}

#secondary .pfc-widget .pfc-post {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #CCC;
}
#secondary .pfc-widget .pfc-post:last-child {
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: none;
}

.widget.menu-dipartimenti .widget-title {
    color: #3b89bf;
    margin: 10px 0 15px;
}

.widget.menu-dipartimenti .description {
    margin-bottom: 25px;
}

.widget.menu-dipartimenti ul {
    padding-left: 25px;
}

.widget.menu-dipartimenti ul li {
    margin: 8px 0;
}

.widget.menu-dipartimenti ul li a {
    color: #504e4e;
}
.widget.menu-dipartimenti ul li a:hover,
.widget.menu-dipartimenti ul li a:focus,
.widget.menu-dipartimenti ul li.current-menu-item a{
    color: #ff9311;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 15px;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 5px 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 15px;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}



/*--------------------------------------------------------------
12.0 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%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 7px 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 15px;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.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;
}




/*******************************************************************************************************/


#content {
    margin-top: 10px;
}

.tasti-home-container {
    margin-bottom: 10px;
}

.tasti-home-container .button {
    display: block;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    height: 56px;
    background-color: #444;
    padding-top: 15px;
}

.tasti-home-container .button.button-red,
.tasti-home-container .button.button-red {
    font-size: 18px;
}

.tasti-home-container .button + .button{
    margin-top: 10px;
}

.tasti-home-container .button-green {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1f9c18+0,197f14+100 */
    background: #1f9c18; /* Old browsers */
    background: -moz-linear-gradient(top,  #1f9c18 0%, #197f14 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1f9c18), color-stop(100%,#197f14)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #1f9c18 0%,#197f14 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #1f9c18 0%,#197f14 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #1f9c18 0%,#197f14 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #1f9c18 0%,#197f14 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f9c18', endColorstr='#197f14',GradientType=0 ); /* IE6-9 */
}

.tasti-home-container .button-red {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f60000+0,c90000+100 */
    background: #f60000; /* Old browsers */
    background: -moz-linear-gradient(top,  #f60000 0%, #c90000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f60000), color-stop(100%,#c90000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f60000 0%,#c90000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f60000 0%,#c90000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f60000 0%,#c90000 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f60000 0%,#c90000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f60000', endColorstr='#c90000',GradientType=0 ); /* IE6-9 */
}

.tasti-home-container .button-blu {
    height: 122px;
    padding-top: 46px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#175c97+0,134b7c+100 */
    background: #175c97; /* Old browsers */
    background: -moz-linear-gradient(top,  #175c97 0%, #134b7c 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#175c97), color-stop(100%,#134b7c)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #175c97 0%,#134b7c 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #175c97 0%,#134b7c 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #175c97 0%,#134b7c 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #175c97 0%,#134b7c 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#175c97', endColorstr='#134b7c',GradientType=0 ); /* IE6-9 */

}

.prossimi-eventi-container {
    height: 122px;
    border-top: 4px solid #fb890f;
    background-color: #FFF;
}

.prossimi-eventi-container .cat-container {
    font-weight: 600;
    margin-top: 8px;
}

.prossimi-eventi-container .evento:first-child:after {
    display: block;
    content: "";
    width: 1px;
    height: 60px;
    background: #CCC;
    position: absolute;
    right: 0;
    top: 10px;
}
.prossimi-eventi-container .entry-title {
    margin-top: 6px;
    padding-left: 23px;
}
.prossimi-eventi-container .entry-title:before {
    display: block;
    content: "";
    -webkit-box-shadow: inset 0px 0px 0px 1px #CCC, inset 0px 0px 0px 4px #EEE, inset 0px 0px 0px 5px #999, inset 0px 0px 0px 10px #FAFAFA;
    -moz-box-shadow: inset 0px 0px 0px 1px #CCC, inset 0px 0px 0px 4px #EEE, inset 0px 0px 0px 5px #999, inset 0px 0px 0px 10px #FAFAFA;
    box-shadow: inset 0px 0px 0px 1px #CCC, inset 0px 0px 0px 4px #EEE, inset 0px 0px 0px 5px #999, inset 0px 0px 0px 10px #FAFAFA;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    left: 15px;
    top: 15px;
}
.prossimi-eventi-container .entry-title a {
    font-size: 18px;
}
.prossimi-eventi-container .entry-title a:hover {
    text-decoration: underline;
}

.tab-blog {
    margin-top: 15px;
}

.publish-date {
    font-size: 18px;
    color: #8f0700 !important;
}

.publish-date:before {
    display: inline-block;
    font-family: 'fontAwesome';
    content: "\f073";
    margin-right: 8px;
}

.cat-container a {
    font-size: 18px;
}

.cat-container a:before,
.cat-container h4:before,
.cat-container > div:before{
    display: inline-block;
    font-family: 'fontAwesome';
    margin-right: 8px;
}

.cat-container .comunicato {
    color: #0140bc;
}
.cat-container .comunicato:before {
    content: "\f1ea";
}

.cat-container .formazione {
     color: #ff9311;
 }
.cat-container .formazione:before {
    content: "\f02d";
}

.cat-container .bandi {
    color: #34a44b;
}
.cat-container .bandi:before {
    content: "\f0ca";
}

.post .entry-title {
    margin: 8px 0 0;
}

.entry-title,
.entry-title a {
    font-size: 22px;
    color: #3b3a3a;

}

.tab-blog .post {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #CCC;
}
.tab-blog .post:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.post .entry-content {
    margin-top: 15px;
}

.post .more-link {
    color: #8ed0e3;
    font-style: 15px;
    text-decoration: none;
}


/************************* CONTATTI ***************************/
main.page-contatti {
    background: url('img/a-sfondo.png') 48% center no-repeat #FFF;
}


/*************************** FAQ ****************************/

.faq-template .content-title-bar {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#81ab21+0,6f941d+100 */
    background: #81ab21; /* Old browsers */
    background: -moz-linear-gradient(top,  #81ab21 0%, #6f941d 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#81ab21), color-stop(100%,#6f941d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #81ab21 0%,#6f941d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #81ab21 0%,#6f941d 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #81ab21 0%,#6f941d 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #81ab21 0%,#6f941d 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#81ab21', endColorstr='#6f941d',GradientType=0 ); /* IE6-9 */
}

.faq-template .content-title-bar .tab-container {
    padding-top: 7px;
}

.tab-container,
.tab-container .nav-tabs {
    border: none;
    background: transparent;
    margin: 0;
}

.faq-template .nav-tabs>li {
    margin-right: 25px;
}

.faq-template .nav-tabs>li>a {
    color: #FFF;
    text-transform: uppercase;
}
.faq-template .nav-tabs>li.active>a {
    color: #FFF;
    text-decoration: underline;
}

.faq-template .faq-container {
    padding: 25px 15px;
    border-bottom: 1px dashed #CCC;
}
.faq-template .faq-container:last-child {
    border-bottom: none;
}

.faq-template .faq-container .faq-title a {
    color: #000;
    font-size: 20px;
}

.faq-template .faq-container .faq-title a .icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #81ab21;
    vertical-align: middle;
    margin-right: 20px;
    text-align: center;
    color: #FFF;
    font-size: 17px;
    padding: 3px 0 0 2px;
}
.faq-template .faq-container.active .faq-title a .icon {
    background-color: #2a9e30;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
    padding: 4px 0 0 2px;
}

.faq-template .faq-container .faq-content {
    display: none;
}

.faq-template .faq-container.active {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6f4f4+0,dfddde+100 */
    background: #f6f4f4; /* Old browsers */
    background: -moz-linear-gradient(top,  #f6f4f4 0%, #dfddde 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f4f4), color-stop(100%,#dfddde)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f6f4f4 0%,#dfddde 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f6f4f4 0%,#dfddde 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f6f4f4 0%,#dfddde 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f6f4f4 0%,#dfddde 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f4f4', endColorstr='#dfddde',GradientType=0 ); /* IE6-9 */

}

.faq-template .faq-container.active .faq-content {
    display: block;
    margin-top: 10px;
}



/********************************************** POST ************************************************/
.single-post .entry-header,
.single-post .entry-content,
.single-post .entry-footer{
    padding-left:15px;
    padding-right: 15px;
}

.single-post .entry-header a {
    cursor: default;
}
.single-post .entry-header,
.single-post .entry-header a{
    color: #FFF !important;
}

.single-post .entry-header.comunicato {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#01349b+0,01349b+100 */
    background: #01349b; /* Old browsers */
    background: -moz-linear-gradient(top,  #01349b 0%, #01349b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#01349b), color-stop(100%,#01349b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #01349b 0%,#01349b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #01349b 0%,#01349b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #01349b 0%,#01349b 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #01349b 0%,#01349b 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#01349b', endColorstr='#01349b',GradientType=0 ); /* IE6-9 */
}

.single-post .entry-header.formazione {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fa7c4e+0,cc6540+100 */
    background: #fa7c4e; /* Old browsers */
    background: -moz-linear-gradient(top,  #fa7c4e 0%, #cc6540 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fa7c4e), color-stop(100%,#cc6540)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fa7c4e 0%,#cc6540 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fa7c4e 0%,#cc6540 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fa7c4e 0%,#cc6540 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #fa7c4e 0%,#cc6540 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fa7c4e', endColorstr='#cc6540',GradientType=0 ); /* IE6-9 */
}

.single-post .entry-header.bandi {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#34a44b+0,2a863e+100 */
    background: #34a44b; /* Old browsers */
    background: -moz-linear-gradient(top,  #34a44b 0%, #2a863e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#34a44b), color-stop(100%,#2a863e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #34a44b 0%,#2a863e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #34a44b 0%,#2a863e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #34a44b 0%,#2a863e 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #34a44b 0%,#2a863e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34a44b', endColorstr='#2a863e',GradientType=0 ); /* IE6-9 */
}

.single-post .entry-header.avviso {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f60000+0,c90000+100 */
    background: #f60000; /* Old browsers */
    background: -moz-linear-gradient(top,  #f60000 0%, #c90000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f60000), color-stop(100%,#c90000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f60000 0%,#c90000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f60000 0%,#c90000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f60000 0%,#c90000 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f60000 0%,#c90000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f60000', endColorstr='#c90000',GradientType=0 ); /* IE6-9 */
}

.single-post .entry-header.circolari {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#116062+0,0e4f51+100 */
    background: #116062; /* Old browsers */
    background: -moz-linear-gradient(top,  #116062 0%, #0e4f51 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#116062), color-stop(100%,#0e4f51)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #116062 0%,#0e4f51 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #116062 0%,#0e4f51 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #116062 0%,#0e4f51 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #116062 0%,#0e4f51 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#116062', endColorstr='#0e4f51',GradientType=0 ); /* IE6-9 */
}


/******************************************* DIPARTIMENTI *************************************************/
.border-light-blue blockquote {
    border-left-color: #3b89bf;
}
.border-light-blue h2:after {
    background-color: #3b89bf;
}


/**************************************** RASSEGNA STAMPA *************************************************/
.rassegna-container .rassegna-title,
.rassegna-container .rassegna-content {
    padding: 0 15px;
}

.rassegna-container .rassegna-title {
    height: 40px;
    color: #000;
    line-height: 39px;
    border-top: 1px dashed #CCC
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6f4f4+0,f6e8e3+100 */
    background: #f6f4f4; /* Old browsers */
    background: -moz-linear-gradient(top,  #f6f4f4 0%, #f6e8e3 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f4f4), color-stop(100%,#f6e8e3)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f6f4f4 0%,#f6e8e3 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f6f4f4 0%,#f6e8e3 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f6f4f4 0%,#f6e8e3 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f6f4f4 0%,#f6e8e3 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f4f4', endColorstr='#f6e8e3',GradientType=0 ); /* IE6-9 */
}

.rassegna-container .rassegna-content a {
    font-size: 16px;
    color: #444;
    font-weight: 400;
}
.rassegna-container .rassegna-content a:hover,
.rassegna-container .rassegna-content a:focus {
    color: #0062af;
    text-decoration: underline;
}

.rassegna-stampa .prev-posts-link a,
.rassegna-stampa .next-posts-link a{
    color: #777;
}
.rassegna-stampa .next-posts-link {
    margin-right: 10%
}
.rassegna-stampa .prev-posts-link {
    margin-left: 10%
}


/****************************************** MEDIA QUERY ***********************************************************/
@media screen and (max-width: 992px) {

    #header-wrap .search-form-wrap {
        display: none;
    }

    #menu-secondary-menu {
        display: none;
    }

    .prossimi-eventi-container .evento:first-child:after,
    .prossimi-eventi-container .entry-title:before {
        display: none;
    }

    .tasti-home-container .button-blu {
        height: 56px;
        padding-top: 15px;
    }

    .prossimi-eventi-container {
        height: auto;
    }

    .footer-logos {
        text-align: center;
    }
    .footer-logos a {
        display: inline-block;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 768px) {
    #secondary {
        display: none
    }

    #masthead {
        height: auto;
    }

    #header-wrap .site-brand {
        width: 50%;
        margin: 0 auto;
    }

    #header-wrap .container-after,
    #header-wrap .container-before {
        display: none;
    }

    #primary-navigation-menu-wrap {
        margin-top: 0;
    }

    .navbar-header {
        text-align: center;
    }
    .navbar-toggle-wrap {
        display: inline-block;
        margin: 20px auto 0;
        background-color: rgba(0,0,0,.7);
        padding: 10px;
    }
    .navbar-toggle {
        float: none;
        border: 2px solid #fb890f;
        margin: 0;
    }
    .navbar-toggle .icon-bar {
        background-color: #fb890f;
    }

    #primary-navigation-menu-wrap {
        border: none;
        background: #fb890f;
        overflow: visible;
    }

    #primary-navigation-menu-wrap .nav > li > a {
        border: none;
    }

    #primary-navigation-menu-wrap .nav > li > ul {
        top: -5px !important;
        border: none !important;
        padding-left: 50px;
    }

    #primary-navigation-menu-wrap .nav ul {
        position: absolute;
        left: -999px
    }

    #primary-navigation-menu-wrap .nav li:hover > ul,
    #primary-navigation-menu-wrap .nav li:focus > ul{
        position: relative;
    }

    #primary-navigation-menu-wrap .nav ul ul {
        margin-bottom: 20px;
    }

}