@font-face {
	font-family: 'KG-Rail';
	src: url('assets/kg-rail.eot');
	src: local('â˜º'), url('assets/kg-rail.woff') format('woff'), url('assets/kg-rail.ttf') format('truetype'), url('assets/kg-rail.svg#webfont') format('svg');
	font-weight: bold;
	font-style: bold;
}

body {
	background: #000;
	margin: 24px 24px 8px 24px; /* -16px bottom padding, as entry margin breaks IE */
}

body, input {
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px;
}

form {
	margin: 0px;
}

img {
	border: 0;
}

div {
	line-height: 18px;
}

p {
	margin-top: 0px;
	margin-bottom: 18px;
}

a:focus {
	outline: none;
}

/* table */

table {
	border-spacing: 0;
	margin: 0;
	border: 0;
}

td {
	padding: 0;
	vertical-align: top;
}

/* layout */

#page {
	width: 100%;
}

#header {
	position: relative;
	width: 100%;
	min-width: 1000px;
	background: #000;
	margin: -24px;
	padding: 24px;
	height: 20px;
	z-index: 1000;
}

#menu {
	width: 700px;
	margin-left: 36px;
	float: left;
}

#expand {
	width: 60px;
	text-align: right;
	float: left;
}

#header .menu {
	line-height: 18px;
}

#search {
	float: left;
	margin-left: 30px;
}

#query {
	outline: none;
	width: 150px;
}

#main {
	padding-top: 44px;
}

.title, .menu {
	font-family: 'KG-Rail', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 25px;
}

.menu {
	font-size: 19px;
}

.menu a, a.menu-button {
	color: #000000;
	text-decoration: none;
}

.menu a:hover, a.menu-button:hover {
	color: #777777;
}

.menu a.menu-button.selected {
	color: #777777;
}

.entry {
	width: 100%;
	min-width: 1012px; /* 960 + 2 * 36 - 20 */
	color: #333;
	/* Using margin and dumping .background would make more sense, but breaks IE */
	padding-bottom: 16px;
	border-bottom: 1px solid;
	border-bottom-color:#000
}

.entry .background {
	background: #333;
}

.spacer {
	height: 16px;
}

.text a, .groups a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid;
	padding-bottom: 1px;
}

.text a:hover, .groups a:hover {
	color: #10ee2f;
}

.entry .title.menu-button {
	display: block;
	padding: 24px 36px 20px 36px;
}

.entry .content {
	padding: 2px 36px 22px 36px;
	width: 960px;
}

.entry .text {
	width: 300px;
	float: left;
	padding-right: 20px;
}

.entry .resources {
	width: 640px;
	float: left;
}

.entry .menu {
	float: right;
	clear: right;
	margin-top: -47px;
	text-align: right;
	padding-right: 20px; /* right text padding */
	padding-bottom: 17px;
}

.entry .resource-tab {
	float: left;
}

.entry .group-tab {
	float: left;
	max-width: 500px;
}

.entry .pictures .group-tab, .entry .films .group-tab {
	width: 500px;
} 

.entry .texts {
	float: right;
}

.entry .groups {
	float: right;
	padding-left: 20px;
	width: 120px;
}

.entry .group {
	margin-bottom: 18px;
}

.entry .download {
	padding-bottom: 18px;
}

.entry .medium {
	display: table;
	margin: 0 auto 0 auto;
}

.entry .medium.hidden {
	display: none;
}

.entry .medium .caption, .entry .medium .number {
	display: block;
	font-size: 11px;
}

/* only float caption / number if they are nested in a div */

.entry .medium div .caption {
	float: left;
}

.entry .medium div .number {
	float: right;
}

.groups .selected a {
	color: #00f;
}

.entry-editor {
	padding: 22px 36px;
	background: #fff;
	min-height: 405px;
}

table.edit {
	border: 1px dotted #999;
}

.edit {
	color: #000;
}

/* helpers */

.clear {
	clear: both;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.hidden {
	display: none;
}

.popup-body {
	margin: 0px;
}

.search-placeholder {
	color: #888;
}

.highlight {
	background: #ff0;
}

.entry .edit-elements {
	position: absolute;
	margin-top: -22px;
}

#menu .edit-elements {
	float: right;
	text-align: right;
}

/* CSS Barra dei Cookie */
div#cookieChoiceInfo {
background-color: #000 !important;
text-align: justify;
color:#FFF;
font-weight:bold;
font-size:14px;
font-family: Georgia;
}

#cookieChoiceInfo > a:nth-child(2),a#cookieChoiceDismiss {
color: #FFF;
background: #e50909;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fedede', endColorstr='#e50909',GradientType=0);
text-align:center;
padding:3px 12px;
text-decoration:none;
border-radius:8px;
font-family:Georgia;
font-size:14px;
font-weight:bold;
}

#cookieChoiceInfo > a:nth-child(2):hover, a#cookieChoiceDismiss:hover {
color:#FFF;
text-decoration:none;
position: relative;
top:1px;left:1px;
}

/* Pulsante menu: aggiungere <button id="menu-toggle" ...></button> nell'header */
#menu-toggle {
	display: none;
}

/* Responsive */
@media screen and (max-width: 767px) {
	body {
		margin: 16px;
	}

	#header {
		box-sizing: border-box;
		min-width: 0;
		height: auto;
		margin: -16px -16px 0;
		padding: 16px;
	}

	#menu-toggle {
		display: block;
		float: right;
		position: relative;
		width: 34px;
		height: 28px;
		margin: -2px 0 0;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		font-size: 0;
	}

	#menu-toggle::before,
	#menu-toggle::after,
	#menu-toggle span {
		position: absolute;
		left: 4px;
		width: 26px;
		height: 2px;
		background: #000;
		content: "";
		transition: transform .2s ease, opacity .2s ease;
	}

	#menu-toggle::before { top: 5px; }
	#menu-toggle span { top: 13px; }
	#menu-toggle::after { top: 21px; }

	/* Stato aperto: X */
	#header.is-open #menu-toggle::before {
		top: 13px;
		transform: rotate(45deg);
	}

	#header.is-open #menu-toggle span {
		opacity: 0;
	}

	#header.is-open #menu-toggle::after {
		top: 13px;
		transform: rotate(-45deg);
	}

	#menu {
		display: none;
		clear: both;
		float: none;
		width: auto;
		margin: 14px 0 0;
		padding-top: 10px;
		border-top: 1px solid #000;
	}

	#header.is-open #menu {
		display: block;
	}

	#menu a {
		display: block;
		padding: 8px 0;
	}

	#expand,
	#search {
		float: none;
		width: auto;
		margin: 10px 0 0;
		text-align: left;
	}

	#query {
		box-sizing: border-box;
		width: 100%;
	}

	#main {
		padding-top: 24px;
	}

	.entry {
		min-width: 0;
	}

	.entry .title.menu-button {
		padding: 18px 16px 14px;
	}

	.entry .content,
	.entry-editor {
		box-sizing: border-box;
		width: 100%;
		padding: 16px;
	}

	.entry .text,
	.entry .resources,
	.entry .groups,
	.entry .resource-tab,
	.entry .group-tab,
	.entry .pictures .group-tab,
	.entry .films .group-tab {
		float: none;
		width: auto;
		max-width: none;
		padding: 0;
	}

	.entry .menu {
		float: none;
		clear: both;
		margin: 12px 0 0;
		padding: 0;
		text-align: left;
	}

	.entry .texts {
		float: none;
	}

	.entry .groups {
		margin-top: 18px;
	}

	.entry .medium,
	.entry .medium img,
	.entry img {
		max-width: 100%;
		height: auto;
	}
}
@media screen and (max-width: 767px) {
	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	#page,
	#main,
	.entry,
	.entry .background,
	.entry .content {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.entry .title.menu-button,
	.entry .content {
		box-sizing: border-box;
		width: 100%;
	}

	.entry .title.menu-button {
		padding-right: 16px;
		padding-left: 16px;
	}

	.entry .content {
		padding-right: 16px;
		padding-left: 16px;
	}
}
@media screen and (max-width: 767px) {
	#menu-toggle::before,
	#menu-toggle::after,
	#menu-toggle span {
		background: #ffffff;
	}
}
/* Colore del testo normale */
body,
.entry {
	color: #ffffff;
}

/* Titoli */
.title,
.menu,
.entry .title.menu-button {
	color: #ff00ff;
}

/* Link */
.text a,
.groups a,
.menu a,
a.menu-button {
	color: #00ffcc;
}
#back-to-top {
	display: none;
}
#back-to-top {
	display: block;
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 2000;
	width: 44px;
	height: 44px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 28px;
	line-height: 38px;
	cursor: pointer;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}

#back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}