/*
/   name           Favourite
/   version        4.2
/   description    Responsive and customizable Joomla!3 template
/   demo           http://demo.favthemes.com/favourite
/   author         FavThemes
/   author URL     https://www.favthemes.com
/   copyright      Copyright (C) 2012-2018 FavThemes.com. All Rights Reserved.
/   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  sticky footer at page bottom
///
//////////////////////////////////////////////////////////////////////////////*/

html {
  height: 100%;
}
body {
  min-height: 100%;
}
#fav-containerwrap {
  min-height: 100vh;
}
#fav-imageoverlay {
  min-height: 100vh;
}
#fav-container  {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}
.footer {
  grid-row-start: 2;
  grid-row-end: 3;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  fix registration form
///
//////////////////////////////////////////////////////////////////////////////*/
.form-horizontal .controls {
  margin-left: 0;
  margin-right: 0;
}
.form-horizontal .control-label {
  margin-right: 1em;
}


/*//////////////////////////////////////////////////////////////////////////////
///
///  fix newsletter subscription
///
//////////////////////////////////////////////////////////////////////////////*/
#bwpostman label {
	margin-bottom:5px;
	font-weight: bold;
	text-align: right;
	margin-right: 14px;
}

#bwpostman p.user_captcha {
	margin: 0px;
}


/*//////////////////////////////////////////////////////////////////////////////
///
///  fix logo
///
//////////////////////////////////////////////////////////////////////////////*/
#fav-headerwrap, #fav-headerwrap.fav-fixed {
	padding-top: 25px;
	padding-bottom: 25px;
}
.default-logo img, .media-logo img {
	height: 120px;
	position: absolute;
	margin-left: -40px;
	margin-top: -20px;
}
#fav-logo h1 a.text-logo {
	margin-left: 140px;
	margin-top: 2px;
	white-space: nowrap;
}

@media (max-width: 767px) { /* mobile */
	.default-logo img, .media-logo img {
		height: 50px;
		max-height: 50px;
		margin-left: -10px;
		margin-top: -8px;
	}
	#fav-logomobile h1 a.text-logo {
		margin-left: 70px;
	}
	#fav-headerwrap, #fav-headerwrap.fav-fixed {
		padding-top: 0px;
		padding-bottom: 0px;
	}

}

@media (min-width: 768px) and (max-width: 1199px) {
	.row-fluid .span6 { /* una colonna sola per gli articoli */
		width: 100%;
		margin-left: 0px;
	}
	.favth-container { /* a tutta pagina */
		width: 100%;
	}
	.default-logo img, .media-logo img {
		height: 120px;
		position: absolute;
		margin-left: -10px;
		margin-top: -20px;
		}
	#fav-logo h1 a.text-logo {
		margin-left: 170px;
		margin-top: 2px;
		white-space: nowrap;
	}
	#fav-logo {
		float: left;
		width: auto;
		padding-right: 0px;
	}
	#fav-nav {
		float: right;
		width: auto;
		padding-left: 0px;
	}
}

@media (max-width: 991px) {
	#fav-logo.favth-col-sm-12 img {
		height: 120px;
		position: absolute;
		margin-left: -10px;
		margin-top: -20px;
	}
}

#fav-logomobile h1 a.text-logo {
	font-size: 6.5vw;
}


/*//////////////////////////////////////////////////////////////////////////////
///
///  typography
///
//////////////////////////////////////////////////////////////////////////////*/

div[itemprop="blogPost"] ul {
	list-style-position: outside;
	list-style-type: disc;
	margin-left: 1em;
}

div[itemprop="blogPost"] ol {
	list-style-position: outside;
	margin-left: 1em;
}

div[itemprop="articleBody"] ul {
	list-style-position: outside;
	list-style-type: disc;
	margin-left: 1em;
}

div[itemprop="articleBody"] ol {
	list-style-position: outside;
	margin-left: 1em;
}

#tinymce ul {
	list-style-position: outside;
	list-style-type: disc;
	margin-left: 1em;
}
#tinymce ol {
	list-style-position: outside;
	margin-left: 1em;
}

div[itemprop="blogPost"] p {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

div[itemprop="articleBody"] p {
   text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

div[itemprop="blogPost"] li {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

div[itemprop="articleBody"] li {
   text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

ul.weblinks > li > a {
  line-height: 21px;
  padding: 2px 0;
  display: block;
}

div.tagssimilar > ul > li > a {
  line-height: 21px;
  padding: 2px 0;
  display: block;
}


/*//////////////////////////////////////////////////////////////////////////////
///
///  fix tags
///
//////////////////////////////////////////////////////////////////////////////*/
ul.inline
{
  margin-top:5px;
  margin-bottom:10px;
  line-height: 2em;
}

ul.tags li {
  padding-left:0px;
  margin-left: -1em;
  margin-right: 10px;
}

div.item-page ul {
	list-style-position: outside;
	list-style-type: disc;
	margin-left: 1em;
}

dl.muted {
  margin-bottom:0px;
}




/*//////////////////////////////////////////////////////////////////////////////
///
///  custom styles
///
//////////////////////////////////////////////////////////////////////////////*/
.pallinidownload {
	margin: 0px;
}
.pallinidownload::before {
  display: inline; /* Needed to add space between the bullet and the text */
  margin-left: 0em; /* Also needed for space (tweak if needed) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 14px;
  content: "\f56d";
  background-color: #2d6987;
  color: #fff;
  padding: 5px 7px 5px 7px;
  margin-right: 10px;
  border-radius: 50%;
  line-height: 30px;
}

.pallinilink {
	margin: 0px;
}
.pallinilink::before {
  display: inline; /* Needed to add space between the bullet and the text */
  margin-left: 0em; /* Also needed for space (tweak if needed) */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 14px;
  content: "\f35d";
  background-color: #2d6987;
  color: #fff;
  padding: 5px 4px 5px 5px;
  margin-right: 10px;
  border-radius: 50%;
  line-height: 30px;
}

.jd_files_oneline>a::before {
  display: inline;
  margin-left: 0em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 14px;
  content: "\f56d";
  background-color: #2d6987;
  color: #fff;
  padding: 5px 7px 5px 7px;
  margin-right: 10px;
  border-radius: 50%;
  line-height: 30px;
}