/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Montserrat:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

.tm-leading-article .uk-article:last-child {
	border-bottom: none;
  padding-bottom: 35px;
}

.tm-content > :last-child {
  margin-bottom: 40px;
}
.tm-title {
  display: none;
}

.uk-panel-box {
  background: transparent;
}
body {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	color: #6D6D6D;
	line-height: 1.6em;
	letter-spacing:0.05em;
}

h1,
.h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    color: #3F0E03;
		line-height: 1em;
}

h2,
.h2 {
  font-size: 22px;
  color:#653E35;
  font-weight: 500;
  line-height: 1.2em;
}

h3,
.h3 {
  font-size: 18px;
  color:#653E35;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0px;
}

.uk-button {
  color: #fff;
  background: #006A6D;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.5s;
  padding:5px 20px;
}

.uk-button.turquoise {
  background: #60BAB7;
}

video,
iframe {
	margin: 10px 0!important;
}

.uk-button:hover,
.uk-button:focus {
  background:#8A6E68;
  color: #fff;
}

a {
  color:#006A6D;
  font-weight: 500;
  transition: all 0.5s;
}

a:hover {
  color: #60BAB7;
}

em {
	color: #6D6D6D;
	font-style: italic;
	font-size:14px;
}
.tm-logo {
  display: block;
}

.tm-logo img {
  width: 210px;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:focus,
.uk-navbar-nav > li.uk-open > a,
.uk-nav-side > li > a:hover,
.uk-nav-side > li > a:focus {
  background: transparent;
  color:#3F0E03;
}

.uk-navbar {
  background: transparent;
}

.uk-navbar-nav > li > a {
  color: #006A6D;
  text-transform: uppercase;
  font-size:18px;
}

.uk-navbar-nav > li.uk-active > a {
    background-color: transparent;
    color: #006A6D;
    font-weight: 600;
}

.uk-navbar-nav {
	float: none;
}

.uk-navbar-nav > li {
	float: none;
	display: inline-block;
}

.uk-nav {
	display: block;
	float: none;
}

.uk-nav > li {
  display: inline-block;
}

.uk-nav > li > a {
    font-family: 'DM Serif Display', serif;
    font-size: 23px;
    color: #8A6E68;
    text-transform: lowercase;
    padding: 5px 15px;
}

.uk-nav-side > li.uk-active > a {
  background: transparent;
  color: #3F0E03;
}

.tm-middle {
  background: url(../images/bg-middle.jpg);
  background-size: cover;
}

.tm-footer {
  background:#F2ECEB;
  text-align: left;
  padding: 40px 0px;
  margin: 0px;
}

.logo-footer {
  width: 250px;
  display: block;
}

.box-bianco {
  background: #fff;
  padding: 60px;
}

.organigramma h1 {
  padding: 40px 0px 20px;
}

.blog-soci {
  padding: 20px 0px;
}

#yoo-zoo .items div.teaser-item-bg {
  background: none;
}

#yoo-zoo .items div.teaser-item {
  padding:0px 7px 0px 7px;
}

.pos-giornalista,
.pos-testata {
  background: #fff;
  padding: 10px;
  text-transform: uppercase;
}

.contatti-page .uk-article {
  padding-top: 30px;
}

.chi-siamo-page .uk-article {
  padding: 40px 0px;
}

.contatti-page .tm-footer,
.chi-siamo-page .tm-footer,
.comunicati-page .tm-footer {
  margin-top: 0px;
}

#yoo-zoo .items h1.pos-title,
#yoo-zoo .item h1.pos-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: #006A6D;
  letter-spacing: 0em;
}

.comunicati-page .tm-middle,
.statuto-page .tm-middle {
  padding: 40px 0px 0px;
}

.comunicati-teaser {
  display: block;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  transition: all 0.5s;
}

.comunicati-teaser:hover {
  background: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.blog-comunicati .item{
  padding: 40px;
  margin: 40px 0px;
  background: #fff;
}

.titolo-soci {
  text-align: center;
  background: #fff;
  padding: 10px;
  margin-bottom: 10px!important;
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
  color:#653E35;
}

.blog-soci-frontpage .uk-search {
	display: block;
	background: #fff;
	padding: 10px;
	margin-bottom: -10px;
}

#yoo-zoo .details {
	margin:0px 0px 0px 0px!important;
}

.uk-search:before {
	font-size: 22px;
	top: 10px;
	left: 6px;
}

#searchForm .uk-panel {
	padding: 40px 0px 20px;
}

.convertforms .cf-control-group {
	padding: 3px;
}

.filter-results {
	padding: 20px 0px;
}

.filter-results .uk-form legend {
	border-bottom: none;
}

.search-results {
	background:rgba(255, 255, 255, 0.5);
	padding: 10px 20px;
}

.search-results .uk-article-title{
	font-size:26px;
	font-weight: 500;
}

.search-results .uk-article-title:before {
	content: "\f00c";
    font-family: FontAwesome;
    color: #61bab7;
}

.search-results .uk-article-meta {
	margin-top: -20px;
	font-size:16px;
}

.tm-footer h2 {
	padding-left: 10px;
	margin-bottom: 0px;
}

.tm-bottom-a {
	padding: 40px 0px;
}

.credits {
	background: rgba(120, 157, 211, 0.5);
	color: #fff;
	font-weight: 500;
	font-size:14px;
}

.credits a {
	color: #263F51;
}

.uk-form legend:after {
	display: none;
}

.radio {
	padding:0px 20px;
}

.radio input[type="radio"] {
	float: none;
	margin-right: 5px;
}

.jb-cookie-decline {
	padding-top: 20px;
}

.jb-cookie {
	box-shadow: none;
	width: 20vw!important;
	padding: 20px!important;
	margin-left: 0px!important;
	margin-right: auto!important;
}

.jb-cookie div.jb-cookie-bg {
	background:#F2ECEB;
}

.jb-cookie p.jb-cookie-title {
	line-height: 1em;
}

.jb-cookie p {
	margin-top: 0px;
}

.jb-accept.blue {
	background:#006A6D;
	border: none;
	border-radius: 0px;
	font-size: 16px;
}

.jb-accept:hover {
	background: #8A6E68;
	box-shadow: none;
}

.jb-decline.link {
	color:#006A6D!important;
	font-weight: 500;
}

.uk-scrollspy-init-inview {
	visibility: hidden;
}

.uk-sticky-placeholder{
height:0 !important;
}

#tm-top-b {
	position: fixed;
	display: none;
	background:#7D7D7F;
	z-index: 1000;
    width: 100%;
    top: 0;
}

#tm-top-b img {
	width: 210px;
}

#tm-top-b .tm-logo-barra {
	display: inline-block;
	   margin: 20px;
}

#tm-top-b .uk-panel {
	display: inline-block;
}

#tm-top-b .uk-navbar-toggle:after {
	color: #fff;
}

#tm-top-b .uk-navbar-toggle {
	  margin-top: 13px;
		padding: 0px 20px;
}

.blog-comunicati li {
	margin: 0px 5px;
}

#yoo-zoo .row, #yoo-zoo .floatbox {
	overflow: visible!important;
}

.organigramma-page .tm-middle{
	text-align: center;
}

.organigramma-page .items {
	margin-top: 10px!important;
}

.organigramma-page .pos-title .h3 {
	display: block;
  font-family: 'Montserrat', sans-serif;
}

.organigramma-page .comunicati-teaser .h3 {
	color: inherit;
}
/* MEDIA QUERY */

@media (min-width: 1200px) {}

@media (min-width: 960px) and (max-width: 1199px) {

	.jb-cookie {
		width: 60vw!important;
	}

	.jb-cookie p {
		line-height: 1.2em;
	}

	.jb-accept.blue {
		margin-top: 10px;
	}

}

@media (min-width: 768px) and (max-width: 959px) {

	.jb-cookie {
		width: initial!important;
	}

	.uk-navbar-nav > li > a {
		padding:0 10px;
	}

	.uk-nav > li > a {
		font-size: 20px;
		padding: 5px 9px;
    letter-spacing: 0em;
	}
}

@media(max-width:767px) {

  h1,
  .h1 {
    font-size:32px;
  }
  .uk-navbar-center {
		max-width: initial;
		padding: 20px;
		display: block;
    width: 100%;
	}
  .home-page .uk-navbar-center {
    position: absolute;
    z-index: 1000;
    height: 20vh;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#9fabd3+0,9fabd3+100&1+0,0+100 */
	background: -moz-linear-gradient(top,  rgba(63,14,3,1) 0%, rgba(63,14,3,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(63,14,3,1) 0%,rgba(63,14,3,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(63,14,3,1) 0%,rgba(63,14,3,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9fabd3', endColorstr='#009fabd3',GradientType=0 ); /* IE6-9 */
  }


  .tm-logo-small {
    position: relative;
    display: inline-block;
    z-index: 1000;
    float: left;
  }

  .tm-logo-small img {
    width: 60px;
  }
  #tm-top-a .uk-panel-box {
    padding: 0px;
  }

  .slider-home {
	background: url(../images/aula-camera-deputati.jpg);
	height: 50vh;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50%;
  }

  .uk-navbar-toggle {
    float: right;
    padding: 0;
    margin-top:6px;
  }

  .uk-navbar-toggle:after {
    content:"\f142";
    font-size:30px;
    color:#3f0f03;
  }

  .home-page .uk-navbar-toggle:after {
    color:#fff;
  }

  .uk-nav > li {
    display: block;
  }

  .uk-offcanvas-bar {
    text-align: center;
    background: url(../images/bg-middle.jpg);
    background-size: cover;
  }

  html .uk-nav.uk-nav-offcanvas > li.uk-active > a {
    background: transparent;
    color:#60BAB7;
  }

  .logo-offcanvas img{
    width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .uk-nav > li > a {
    padding: 15px;
  }

  .tm-footer {
    text-align: center;
  }

  .logo-footer {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .box-bianco {
    padding: 20px;
  }

  .pos-giornalista {
    text-transform: none;
    font-weight: 600;
    padding-bottom: 0px;
    font-size: 18px;
  }
	 .pos-testata {
		 font-size: 14px;
		 padding-top: 0px;
	 }

  .titolo-soci {
    margin-bottom: 0px!important;
    font-family: 'Montserrat', sans-serif;
    font-size:18px;
    text-align: left;
    color:inherit;
    font-weight: 600;
  }

  .titolo-soci.small {
  	margin-bottom: 10px!important;
  	text-transform: uppercase;
  	font-size: 14px;
  	font-weight: normal;
    padding-top: 0px;
  }

	.uk-column-1-2 {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	.convertforms .cf-form-wrap {
		padding:18px 0px 40px;
	}

	#searchForm .uk-float-right {
    float: none;
    text-align: right;
}

	.jb-cookie {
		width: initial!important;
		margin-left: auto!important;
		margin-right: auto!important;
	}

	.jb-cookie p {
		line-height: 1.2em;
	}

	.blog-comunicati li {
		margin: 10px 5px;
	}
	.blog-comunicati .item {
		padding: 20px;
	}
	#yoo-zoo .items h1.pos-title,
	#yoo-zoo .item h1.pos-title {
		line-height: 1.2em;
	}

	#yoo-zoo .item h2.pos-subtitle {
		margin: 20px 0px;
	}

	.organigramma-page .pos-title {
		font-size: 24px;
		margin-top: 20px;
	}

	#yoo-zoo .items div.teaser-item:last-child div.teaser-item-bg {
		background: none;
	}
}

@media(max-width:480px) {

	h1, .h1 {
		line-height:1.2em;
	}
	body {
		font-size:18px;
	}

	.uk-button {
		padding:10px 20px;
	}
	.tm-middle .uk-button.turquoise {
		margin-top: 20px;
	}
}
