@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: #4CC736;
	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: #4CC736;
	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: 22px;
}

#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: #3385CC;
}

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

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

.entry .background {
	background: #fff;
}

.spacer {
	height: 16px;
}

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

.text a:hover, .groups a:hover {
	color: #00f;
}

.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;
}