/*
Theme Name: ItaliaWP Child Theme
Theme URI: http://italiawp.borisamico.it
Author: Boris Amico
Author URI: http://borisamico.it
Description: Tema child di ItaliaWP utilizzabile per la customizzazione.
Version: 1.0.0
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: italiawp
Text Domain: italiawp-child
*/

* {
	font-family: "Titillium Web", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

#eael-post-grid-59fd8d2 .eael-entry-media {
    height: 220px;
}

.post-meta-categories li a[href*="allerta-gialla"] {
    background-color: #fc0;
    padding: 2px 10px;
    color: #000 !important;
    border-radius: 5px;
    font-weight: bold !important;
    font-size: 1.2em;
}
.post-meta-categories li a[href*="allerta-rossa"] {
    background-color: #f00;
    padding: 2px 10px;
    color: #fff !important;
    border-radius: 5px;
    font-weight: bold !important;
    font-size: 1.5em;
}

.Megamenu.is-ready div.Megamenu-subnav.is-open {
	max-width: 125%;
	width: 125%;
}
.Megamenu--default .Megamenu-subnavGroup > li > a {
    font-size: 1.5rem !important;
}

.Form-field--choose .Form-input {
    opacity: 1 !important;
}

.Entrypoint-item, .Footer-siteName, .Header-searchTrigger button, .Header-titleLink a, .Prose > h3, .Share-reveal, .Share-revealText, .Share > ul > li, .u-text-h3, .u-text-lg-l, .u-text-r-l {
    font-size: 1.2em !important;
}
.u-layout-wide ol, .u-layout-wide ul {
    list-style: initial;
    margin: 10px 25px;
    padding: 0;
}
.u-layout-wide li {
	margin: 10px 0;
}
.u-layout-wide nav ul {
	list-style: none;
}

.Hero.site-header,
#amministrazione-trasparente > div:nth-child(2) > span:nth-child(1) {
	display: none !important;
}

.text-center {
  text-align: center;
}
.disabilitato {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
  pointer-events: none;
}

.link-custom {
  text-decoration: none;
}
.link-nostyle {
  text-decoration: none;
  color: inherit;
}

.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border-bottom-width: 2px;
}
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: 1px solid #ddd;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}

.Accordion-link--leaf, .Megamenu--default .Megamenu-subnav, .Megamenu-item > a, .u-padding-left-xl {
    padding-left: 0.8rem !important;
}

.u-layout-prose {
	max-width: 100% !important;
}

div.content-old-site {
	width: 100%;
	height: auto;
	overflow: hidden;
}

#amministrazione-trasparente .clear {
	margin-bottom: 25px;
}

/* Amministrazione trasparente OLD */
div.content-old-site iframe#amministrazione-trasparente-old {
	position: relative;
	top: -183px;
	width: 100%;
	height: 2000px;
	overflow: hidden;
}
@media (max-width: 935px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 813px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 660px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 520px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 414px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 375px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}
@media (max-width: 360px) {
	div.content-old-site iframe#amministrazione-trasparente-old {
		height: 2000px;
	}
}

/* Bandi e gare OLD */
div.content-old-site iframe#bandi-gare-old {
	position: relative;
	top: -183px;
	width: 100%;
	height: 1500px;
	overflow: hidden;
}

/* AVCP OLD */
div.content-old-site iframe#avcp-old {
	position: relative;
	top: -183px;
	width: 100%;
	height: 1180px;
	overflow: hidden;
}

.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}

@media screen and (max-width: 767px) {
	.table-responsive {
		width: 100%;
		margin-bottom: 15px;
		overflow-y: hidden;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		border: 1px solid #ddd;
	}
}

div#cookie-bar {
	display: none !important;
}