@import url("pygment_highlights.min.css");
@import url("responsive_iframes.css");

/* --- General --- */
.contributorName {
	text-size: 10px;
	margin-top: 5px;
	text-decoration: none;
	word-break: break-word;
}

.contributorImage {
	height: 75px;
	width: 75px;
	-webkit-filter: drop-shadow(3px 3px 3px #BBB);
	filter: drop-shadow(3px 3px 3px #BBB);
}

.btn-form {
	white-space: normal;
}

.navbar-brand {
	font-size: x-large;
	letter-spacing: -0.5px;
}

.categorie-logo {
	letter-spacing: -1px;
}

body {
	font-family: 'Inter', 'Times New Roman', serif;
	font-size: 18px;
	color: #404040;
	position: relative;
	background: #FFF;
}

/*
p {
	line-height: 1.5;
	margin: 30px 0;
}
*/

p a {
	/* text-decoration: underline */
	color: #008AFF;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 700;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 700;
}

a {
	color: #008AFF;
	word-break: break-word;
}

a:hover,
a:focus {
	color: #0085a1;
}

blockquote {
	color: #808080;
	font-style: italic;
}

blockquote p:first-child {
	margin-top: 0;
}

hr.small {
	max-width: 100px;
	margin: 15px auto;
	border-width: 4px;
	border-color: inherit;
	border-radius: 3px;
}

.main-content {
	padding-top: 80px;
}

@media only screen and (min-width: 768px) {
	.main-content {
		padding-top: 130px;
	}
}

.main-explain-area {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	padding: 15px inherit;
}

.hideme {
	display: none;
}

::-moz-selection {
	color: white;
	text-shadow: none;
	background: #0085a1;
}

::selection {
	color: white;
	text-shadow: none;
	background: #0085a1;
}

img::selection {
	color: white;
	background: transparent;
}

img::-moz-selection {
	color: white;
	background: transparent;
}

img {
	max-width: 100%;
}

.disqus-comments {
	margin-top: 30px;
}

@media only screen and (min-width: 768px) {
	.disqus-comments {
		margin-top: 40px;
	}
}


/* --- Footer --- */

footer {
	padding: 30px 0;
	background: #F5F5F5;
	border-top: 1px #EAEAEA solid;
	margin-top: 50px;
	font-size: 14px;
	width: 100%;
}

footer a {
	color: #404040;
}

footer .list-inline {
	margin: 0;
	padding: 0;
}

footer .copyright {
	font-family: Barlow;
	text-align: center;
	margin-bottom: 0;
}

footer .theme-by {
	text-align: center;
	margin: 10px 0 0;
}

@media only screen and (min-width: 768px) {
	footer {
		padding: 50px 0;
	}

	footer .footer-links {
		font-size: 18px;
	}

	footer .copyright {
		font-size: 16px;
	}
}

/* --- Post preview --- */

.post-preview {
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

@media only screen and (min-width: 768px) {
	.post-preview {
		padding: 35px 0;
	}
}

.post-preview:last-child {
	border-bottom: 0;
}

.post-preview a {
	text-decoration: none;
	color: #404040;
}

.post-preview a:focus,
.post-preview a:hover {
	text-decoration: none;
	color: #0085a1;
}

.post-preview .post-title {
	font-size: 30px;
	margin-top: 0;
	word-break: break-word;
}

.post-preview .post-subtitle {
	margin: 0;
	font-weight: 300;
	margin-bottom: 10px;
}

.post-preview .post-meta,
.post-heading .post-meta {
	color: #808080;
	font-size: 18px;
	font-style: italic;
	margin: 0 0 10px;
}

.post-preview .post-entry {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.post-preview .post-read-more {
	font-weight: 800;
}

@media only screen and (min-width: 768px) {
	.post-preview .post-title {
		font-size: 36px;
	}
}

/* --- Tags --- */

.blog-tags {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #999;
	font-size: 15px;
	margin-bottom: 30px;
}

.blog-tags a {
	color: #314f96;
	text-decoration: none;
	padding: 0px 5px;
}

.blog-tags a:hover {
	border-radius: 2px;
	color: #314f96;
	background-color: #CCC;
}

.post-preview .blog-tags {
	margin-top: 5px;
	margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
	.post-preview .blog-tags {
		margin-top: 10px;
	}
}

/* --- Post and page headers --- */

.intro-header {
	margin: 80px 0 20px;
	position: relative;
}

.intro-header.big-img {
	background: no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	margin-top: 51px; /* The small navbar is 50px tall + 1px border */
	margin-bottom: 35px;
}

.intro-header.big-img .big-img-transition {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	background: no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	-webkit-transition: opacity 1s linear;
	-moz-transition: opacity 1s linear;
	transition: opacity 1s linear;
}

.intro-header .page-heading {
	text-align: center;
}

.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
	padding: 100px 0;
	color: #FFF;
	text-shadow: 1px 1px 3px #000;
}

.intro-header .page-heading h1 {
	margin-top: 0;
	font-size: 50px;
	word-break: break-word;
}

.intro-header .post-heading h1 {
	margin-top: 0;
	font-size: 35px;
}

.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
	font-size: 32px;
	line-height: 1.1;
	display: block;
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 300;
	margin: 10px 0 0;
}

.intro-header .post-heading .post-subheading {
	margin-bottom: 20px;
}

.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
	font-weight: 400;
}

.intro-header.big-img .page-heading hr {
	box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	-moz-box-shadow: 1px 1px 3px #000;
}

.intro-header.big-img .post-heading .post-meta {
	color: #EEE;
}

.intro-header.big-img .img-desc {
	background: rgba(30, 30, 30, 0.6);
	position: absolute;
	padding: 5px 10px;
	font-size: 11px;
	color: #EEE;
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	right: 0;
	bottom: 0;
	display: none;
}

@media only screen and (min-width: 768px) {
	.intro-header {
		margin-top: 130px;
	}

	.intro-header.big-img {
		margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */
	}

	.intro-header.big-img .page-heading,
	.intro-header.big-img .post-heading {
		padding: 150px 0;
	}

	.intro-header .page-heading h1 {
		font-size: 50px;
	}

	.intro-header .post-heading h1 {
		font-size: 40px;
	}

	.intro-header.big-img .img-desc {
		font-size: 14px;
	}
}

.header-section.has-img .no-img {
	margin-top: 0;
	background: #FCFCFC;
	margin: 0 0 40px;
	padding: 20px 0;
	box-shadow: 0 0 5px #AAA;
}

/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
.header-section.has-img .intro-header.no-img {
	display: none;
}

@media only screen and (max-width: 365px) {
	.header-section.has-img .intro-header.no-img {
		display: block;
	}

	.intro-header.big-img {
		width: 100%;
		height: 220px;
	}

	.intro-header.big-img .page-heading,
	.intro-header.big-img .post-heading {
		display: none;
	}

	.header-section.has-img .big-img {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 325px) {
	.intro-header.big-img {
		height: 200px;
	}
}

.caption {
	text-align: center;
	font-size: 14px;
	padding: 10px;
	font-style: italic;
	margin: 0;
	display: block;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

input.gsc-input,
.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus,
.gsc-search-button {
	box-sizing: content-box;
	line-height: normal;
}

/* --- Pager --- */

.pager li a {
	font-family: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 10px 5px;
	background: #FFF;
	border-radius: 0;
	color: #404040;
}

@media only screen and (min-width: 768px) {
	.pager li a {
		padding: 15px 25px;
	}
}

.pager li a:hover,
.pager li a:focus {
	color: #FFF;
	background: #0085a1;
	border: 1px solid #0085a1;
}

.pager {
	margin: 10px 0 0;
}

.pager.blog-pager {
	margin-top: 0;
}

@media only screen and (min-width: 768px) {
	.pager.blog-pager {
		margin-top: 10px;
	}
}

/* --- Tables --- */

table {
	padding: 0;
	font-size: 90%;
	display: block;
	overflow: auto;
}

table tr {
	border-top: 1px solid #cccccc;
	background-color: #ffffff;
	margin: 0;
	padding: 0;
}

table tr:nth-child(2n) {
	background-color: #f8f8f8;
}

table tr th {
	font-weight: bold;
	border: 1px solid #cccccc;
	text-align: left;
	margin: 0;
	padding: 6px 13px;
}

table tr td {
	border: 1px solid #cccccc;
	text-align: left;
	margin: 0;
	padding: 6px 13px;
}

table tr th :first-child,
table tr td :first-child {
	margin-top: 0;
}

table tr th :last-child,
table tr td :last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
	table {
		font-size: 60%;
	}
}

/* --- Code blocks --- */

pre {
	font-size: 16px;
	line-height: 1.5em;
}

pre code {
	white-space: pre;
}

pre.highlight, .highlight > pre, td.code pre {
	background: #FAFAFA;
	background-image: linear-gradient(#F9F9F9 50%, #FDFDFD 50%);
	background-repeat: repeat;
	background-size: 3em 3em;
	background-position: 0px 10px;
	border-left: 7px solid #444;
}

code table, code table td, code table th, code table tbody, code table tr,
td.gutter pre {
	padding: 0;
	border: none;
	background-color: #fff;
}

.highlight > pre {
	padding: 0;
}

td.code pre {
	border-width: 0 0 0 2px;
	border-style: solid;
	border-color: #444;
	border-radius: 0;
}

td.gutter {
	padding-top: 3px;
}

/* --- Social media sharing section --- */

#social-share-section {
	margin-bottom: 30px;
}

/* --- Fix https://github.com/emergenzeHack/terremotocentro/issues/58 --- */
.panel {
	overflow: hidden;
}

/* Pulsanti condivisione social */

ul.share-buttons {
	list-style: none;
	padding: 0;
	margin: 1% 2px;
}

ul.share-buttons li {
	display: inline;
}

ul.share-buttons .sr-only {
	position: absolute;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0;
	border: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

ul.share-buttons a {
	color: #404040;
}

ul.share-buttons a:hover,
ul.share-buttons a:focus {
	color: #0085a1;
}

div.panel-info > div.panel-heading > span.anchor {
	display: block;
	position: relative;
	top: -250px;
	visibility: hidden;
}

@media only screen and (max-width: 900px) {
	div.panel-info > div.panel-heading > span.anchor {
		top: -20px;
	}
}

.scroll-top-wrapper {
	position: fixed;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	text-align: center;
	z-index: 99999999;
	background-color: #777777;
	color: #eeeeee;
	width: 50px;
	height: 48px;
	line-height: 48px;
	right: 30px;
	bottom: 30px;
	padding-top: 2px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.scroll-top-wrapper:hover {
	background-color: #888888;
}

.scroll-top-wrapper.show {
	visibility: visible;
	cursor: pointer;
	opacity: 1.0;
}

.scroll-top-wrapper i.fa {
	line-height: inherit;
}

.search {
	width: 100%;
	margin: 0 auto;
	padding: 100px 0;
}

/* Pagina canali di comunicazione */
div.segnala {
	margin-left: 5%;
	margin-bottom: 3%;
}

div.segnala > ul {
	padding: 0;
}

div.segnala > ul > li {
	margin: 2%;
}

@media only screen and (max-width: 700px) {
	div.segnala {
		margin-left: 4%;
	}
}

@media only screen and (max-width: 500px) {
	div.segnala {
		margin-left: 2%;
	}

	div.segnala > li {
		margin-bottom: 5%;
	}
}

/* FINE Pagina canali di comunicazione */

/* Icone navigazione */
.homepage-categories,
.theme-gallery {
	text-align: center;
}

.homepage-categories:after,
.theme-gallery:after {
	display: inline-block;
	width: 100%;
	content: '';
}

.homepage-categories, .theme-gallery {
	text-align: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	padding: 0;
	margin: 0;
	border: none;
	list-style: none;
}

.homepage-categories .thumbnail img {
	height: 80px;
}

.homepage-categories a {
	color: #000;
}

/*FINE Icone navigazione*/

/* full block */
.input-block-level {
	display: block;
	width: 100%;
	min-height: 28px;
}

.thumbnail {
	border: none;
}

.mb-15 {
	margin-bottom: 15px;
}
