/*- Marinelli styles v3.0 - Drupal6x - 17/06/08
author:singalkuppe: www.signalkuppe.com
 */

* {padding: 0;margin: 0;}

img {border: 0;}
.content img[align="left"] { margin: 0 1em 0 0; }
.content img[align="right"] { margin: 0 0 0 1em; }
.singlepage img[align="left"] { margin: 0 1em 0 0; }
.singlepage img[align="right"] { margin: 0 0 0 1em; }

body {
  font-family: verdana, sans-serif;
  line-height:120%;
  font-size:0.8125em; /* set regular font size*/
  color: #494949;
  letter-spacing: normal;
  background: #EDEDED url(img/body2.gif);
  text-align: left;
  margin: 0 0 10px 0;
}

#page {
  background: white;
  text-align: left;
  margin: 0 auto;
  position: relative;
  /* The entire template's width is set in this class. */
  width: 970px;
  border:8px solid #046e9c;
  border-top: none;
}

* html #page { width: 970px; } /* IE hack */

body.flex #page { /* For the flexible-width setting. */
  width: 98%;
  /*width: 80%;
  min-width: 970px !important;
  max-width: 1000px; */
}

#header {
  padding: 0;
  margin: 0;
  height: 195px;
  background-color: #046e9c;
  background-image: url(img/banners/header.jpg);
  position:relative;
}

#header-small {
  padding: 0;
  margin: 0;
  height: 60px;
  background-color: #046e9c;
  background-image: url(img/banners/header_slim.jpg);
  position:relative;
}

#secondary-menu-bar { /*secondary links*/
  background-image: url(img/slinks.gif);
  background-repeat: repeat-x;
  background-position: top;
  background-color: #FF9900;
  line-height: 160%;
  font-weight: normal;
  color:#fff;
  text-align:left;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 4px 0 0 0;
  height: 27px;
}

#secondary-menu-bar ul { display: inline; }
#secondary-menu-bar ul li { font-size: inherit; }
#secondary-menu-bar a { color:white; 	}
#secondary-menu-bar a.active{ font-weight:bold; }

#secondary-menu-bar ul li ul li {
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0.5em 0 1em;
  margin: 0;
}
#secondary-menu-bar ul li ul li.first {
  border: none;
}

#search { /*search form in secondary links*/
  text-align:right;
  float: right;
  margin: 0 0.275em 0 0;
}

#search .form-submit, #search .form-text {
  font-size: inherit;
}

#search .form-text {
  margin: 0;
  padding: 0.125em 0.275em;
  border:1px inset white;
  color: #333;
  background: white;
}

#search .form-submit {
  padding: 0;
  height: 16px;
  width: 16px;
  cursor: pointer;
  border: none;
  background: url(img/search_icon16.png) no-repeat left top;
}

/*path*/
.path{padding-bottom:3px;}

.path  p span {
  text-transform:uppercase;
  padding:5px;
  background:#f1f0f0;
  margin-right:10px;
}

#primary .singlepage .path  p {
  letter-spacing:0;
  margin-top:1px;
  font-size: 0.8125em;
  font-style: italic;
}

.wrapper{margin:15px;} /*wrapper:defines whole content margins*/

#primary {
  float: left;
  margin: 0;
  /*larghezza settata nel file template.php -  width set in template.php*/
}

.singlepage {
  line-height:160%;
  letter-spacing:inherit;
  text-align: left;
  padding: 0 0 15px 0;
  background: white;  /* this seems redundant as it is already defined in #page but it is required for the CKEditor to display the correct background */
}

.singlepage p { /*set typography*/
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

/*
 * Style Sheet www/modules/system/system.css define strange attributes
 * such as a line on top of tbody and th. We don't want that on the CKEditor pages.
 */
.singlepage tbody {
  border-top: none;
}
.singlepage tbody th {
  border-bottom: none;
}
.singlepage thead th {
  padding-right: 0;
  border-top: none;
  border-bottom: none;
}

/* We want text in tables to be smaller than surrounding text */
table tr td {
  font-size: 0.85em;
}

/*- Main styles */

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 130%;
  font-weight:500;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: none;
  margin: 2% 0 3% 0;
  padding:0;
}

h1, h1 a{text-decoration: none;}

h1 { font-size: 160%; }
h2 { font-size: 150%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }

a:link, a:visited { color: #046e9c; text-decoration: none; }
a:visited:hover { color: #95cae1; text-decoration: underline; }
a:hover { text-decoration:underline; }

#page #primary .drdot{ /* sistema il float */
  clear:both;
}

#page #primary .tabs{ /* tabs */
  font-size:0.875em;
  margin:20px 0 20px 0;
}


#page #primary .tabs ul li{ /* tabs */
  background:none;
  margin:0;
  padding:0 0 0 0;
}


#primary .tabs .secondary li a{  /* tabs secondary */
  margin: 12px 12px 12px 0;
}

/*- Header styles */

#header h1{ /* site title */
  font-family:Georgia, "Times New Roman", Times, serif;
  color:white;
  font-size: 3.0em; /*48px*/
  font-weight: lighter;
  letter-spacing: -1px;
  margin: 0;
  padding: 30px 0 12px 35px;
  text-transform: none;
}

#header h1 a, #header p a{color: #fff;}
#header h1 a:hover{text-decoration:underline;}


#header p.description {
  font-family: Arial,sans-serif;
  font-size: 1em;
  font-weight: normal;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 5px 0 0 37px;
}
#header p.description img {
  margin: 0 8px 0 0;
  vertical-align: -2px;
}

/* Primary Links */

#plinks {
  color: white;
}

#plinks #header-menu {
  float: right;
  position: relative;
  top: 0.5em;
  right: 0.5em;
}

#plinks .user-name {
  margin: 0 0 0 1em;
  padding: 0.2em 1em 0.2em 0;
  border-right: 1px solid white;
}

#plinks ul { display: inline;}
#plinks ul li {
  font-size: inherit;
  margin: 0 0 0 1em;
  padding: 0.2em 1em 0.2em 0;
}
#plinks a { color: white; }
#plinks a:hover {
  color: white;
	text-decoration: underline;
}
#plinks a.active { font-weight:bold; }

/*- Sidebar Subpages Menu */

.lsidebar {
  width: 160px;
  float: left;
  margin: 0 15px 0 0;
}

/*block styles*/

.defaultblock {
  /* Gives the top of the block colour that fades quickly down the block
    background: url(img/bgblock.gif) repeat-x top;
  */
  border: 1px none #95cae1;
  margin:0 0 10px 0;
}

.defaultblock .blockcontent{
  font-size:0.92em;
  margin-bottom: 10px;
  padding: 0 0.36em 0.36em 0.36em;
}


.defaultblock h2{
  color:#046e9c;
  padding:8px 4px 0 8px;
  margin-bottom:10px;
  font-size:  120%;
  font-weight: normal;
  letter-spacing: normal;
}

.defaultblock h3{
  color:#333;
  font-size: 0.66em;
  text-transform:uppercase;
}

.defaultblock ul li { font-size: inherit; }


.orange-block {
  background: #f8f1e9;
  border: 1px solid #ffe0bb; /*#ffb45b;*/
}

.lsidebar .orange-block a:hover {
  text-decoration: none;
}
.orange-block li:hover {
  background: #B3D6FF; /*#e9d2b8;*/
}

.composite-column-first{
  /* Hide the content (images) that are too big or have big margin and
   * goes out of the block
   */
  overflow: hidden;
}

/*
 * composite page - 3 column format
 */
.composite-threecol-33-33-33 .composite-column-first{
  width: 37.5%;
}

*:first-child+html .composite-threecol-33-33-33 .composite-column-first { /* IE7 fix for width calcs */
  margin-right: 0.5em;
}


.composite-zone-inner .defaultblock {
/*  border: 1px solid #F18537; 
  padding: 1em; */
  margin: 0;
  /* clear: both; */
}


.composite-zone-inner .defaultblock h2 {
  line-height: 140%;
  color: #F18537;
  border-bottom: 1px solid #F18537;
  font-weight: bold;
  margin-bottom: 0.5em;
  padding: 0;
}

.composite-zone-inner .defaultblock .blockcontent {
  /* margin-bottom: 10px; */
  padding: 0 0.36em 0 0.36em;
}

/* - Content Type - Dataset Details / Articles - Teasers */
.field-field-acticle-preview .field-items,
.imagefield-field_dataset_preview,
.imagefield-field_acticle_preview {
  float: left;
  margin-right: 1em;
}

.dataset-owners {
  clear: left;
}

/*- Primary Contents */

#primary .item {
  margin: 0 0 15px 0;
  padding: 0;
  /*position: relative;*/
}


#primary .title h2{
  font: bold .9em/1em Helvetica, Arial, Geneva, sans-serif;
  color: #005a8c;
  text-transform: uppercase;
}

#primary .singlepage p.small {
  font: 1em/1.5em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  margin-top: 10px;
  padding-top: 5px;
}


#footer {
	background: #ffffff url('/sites/default/files/images/users/admin/footer-bg.jpg') no-repeat right top;
	width: 970px;
	height: 64px;
}
#footer img {
	border:none;
}

#footer .partners {
	float: left;
	margin-left: 3px;
}
#footer .partners img {
	margin: 0 2px;
}

#footer .follow {
	float: right;
	margin-right: 20px;
}
#footer .follow img {
	margin: 15px 3px 0 3px;
}



/*- Various Tags and Classes */

.clear {
	clear: both;
	margin: 0;
	padding: 0;
	}

hr {
	display: none;
	}

/* Display HR if the user add one with the Editor */
.singlepage hr {
  display: block;
}
/* Hide the HR on top of each node */
.singlepage .drdot{
  visibility: hidden;
}

.secondary div p {
	margin-top: 0.5em;
	}

.secondary ul, .secondary ol, .secondary div {
	margin: 5px 0 0;
	padding-left: 0;
	}


/*---------------tabelle---------------*/
.view table /*view table in fe*/
{
font-size:105%;
}

.view table tr td
{
padding:4px;
}

table
{
	margin:1em 0;
	width:98%;
}

table tr td
{
	padding: 0.36em 0.36em;
}

thead th
{
	border-top:2px solid #ccc;
	border-bottom:2px solid #ccc;
	margin-bottom:4px;
	padding-bottom:4px;
	color:#494949;
	font-weight:bold;
	text-align:left;
}

tr.even { background-color:#f8f8fe; }
tr.odd { background-color:#ededed; }

tr.odd .form-item,
tr.even .form-item {
  white-space: normal;
}

td.region,td.module{
	background-color:#CDD6DE;
	border-bottom:1px solid #AAAAAA;
	border-top:1.5em solid #fff;
	color:#455067;
	font-weight:bold;
}

tr:first-child td.region,tr:first-child td.module{
	border-top-width:0;
}


.sticky-table {clear:left;padding:0;overflow:hidden;}

/*----------list styles----------*/

.tabs ul li
{
	background:none;
	padding:0;
	margin:0;
	list-style:none;

}

#primary ul
{
 margin:10px 0 10px 0;
}

#primary ul.inline {
	display: inline;
}

#primary ul.inline li{
	padding: 0 0 0 0.5em;
}

/*lists in content*/
ul.no-style li {
  list-style: none;
}

ul li {
  list-style-position: outside;
  list-style-type: disc;
  line-height: 130%;
  margin: 0 0 0.35em 1.5em;
}

ol li {  /* need to include the li element otherwise the * selector defined previously overrides the ol on its own */
  list-style-type: decimal;
  list-style-position: outside;
  line-height: 130%;
  margin: 0 0 0.35em 1.75em;
}

.lsidebar ul li {
  border-top: 1px dotted #0075a4;
  padding: 0.2em 0;
	list-style-type: none;
	list-style-image: none;
}


.lsidebar a:link, .lsidebar a:visited {
	color: #046e9c;
	text-decoration: none;
 }

.lsidebar a:hover {
  text-decoration: underline;
}

.lsidebar ul li a.active {
	color: #F18537;
}

ul.inline li
{
  display: inline;  /* Pauline 20081209 - may have side effects, added to allow inline formatting in dataset details Content template */
	background: none;
	margin: 0;
	padding: 0 1em 0 0;
}

/*-------- Taxonomy Browser Page Display --------------*/
table.taxonomybrowse-index-view tr {
  width: 100%;
  border-style: hidden;
  background-color: white;
}

table.taxonomybrowse-index-view tr td {
  vertical-align: top;
  padding: 0.5em 1.5em;
}

table.taxonomybrowse-index-view1cols tr td { width: 100%; }
table.taxonomybrowse-index-view2cols tr td { width: 50%; }
table.taxonomybrowse-index-view3cols tr td { width: 33%; }
table.taxonomybrowse-index-view4cols tr td { width: 25%; }
table.taxonomybrowse-index-view5cols tr td { width: 20%; }
table.taxonomybrowse-index-view6cols tr td { width: 16%; }

table.taxonomybrowse-index-view ul li {
  line-height: 120%;
}

table.taxonomybrowse-index-view h3 {
  padding: 2px;
  margin: 0.5em 0 0.5em;
  border-bottom: 1px solid lightgrey;
  letter-spacing: normal;
}

table.taxonomybrowse-index-view caption {
  font-size: 1.5em;
  font-weight: 400;
  text-align: left;
  padding-bottom: 0.25em;
}

/*----------other styles----------*/
hr
{
	margin: 0;
	padding: 0;
	border: none;
	height: 1px;
	background: #5294c1;
}

dl
{
	margin: 0;
}

dl dd
{
	margin: 0.5em 0 .5em 1.5em;
}

dl dt
{
	/* background:url(img/square.gif) no-repeat 0 4px; */
	padding:0 0 0 20px;
	margin:0;
}

.body a
{
	margin-bottom: 0.75em;
	padding:2px;
	display:block;
}

.form-item {
  font-size: 0.8125em;
}

.form-text {
	padding: 0.2em;
	margin: 0 0.5em 1em 0;
}

.form-item ul li
{
	list-style: none;
}

.fieldset ul li
{
	list-style: none;
}

#watchdog-form-overview .form-submit,
.confirmation .form-submit,
.search-form .form-submit,
fieldset .form-submit,
.sidebar .form-submit,
table .form-submit
{
  margin: 0;
}

fieldset ul.clear-block li
{
  margin: 0;
  padding: 0;
  background-image: none;
  list-style-type: none;
  list-style-image: none;
}

.div
{
	margin:0;
	padding:0;
}

#primary .content blockquote,
.singlepage blockquote {
  background-color:#eeeeee;
  border:1px solid #ccc;
  font-style:italic;
  margin:15px;
  padding:12px;
  color:#666;
}

em {
  font-style:italic;
}


div.admin {
  padding-top: 15px;
}

div.admin .left {
  float: left;
  width: 45%;
  margin-left: 1em;
}

div.admin .right {
  float: right;
  width: 45%;
  margin-right: 1.1em;
}

/*admin by module*/
div.bymodule ul li{font-size:80%; margin:0 0 0 0; padding:0 0 0 18px;}


#primary .help .help{
  padding:5px;
  margin:15px 0 15px 0;
  background-color: #FFE3B7;
  border:1px solid #FFB45B;
}


#primary .help .help a, #primary .help .help a:hover{
  font-weight:bold;
  color: #990000;
}


#primary .help .help ul li{
     padding-left:15px;
	 background: url(img/lista.gif) no-repeat 0 7px;
	 list-style:none;

}

#primary code{
	 color:#000;
	 font-weight:bold;
	 font-family:Arial, Helvetica, sans-serif;
}

#primary .links li.comment_forbidden{
background:url(img/lock.gif) no-repeat;
padding-left:22px;
}

/*taxonomy terms in node*/

.taxonomy{
    font-size:0.875em;
    margin:15px 0 25px 0;
    border-top:4px solid #eee;
    padding-top:10px;
    clear:left;
}

.taxonomy span{
    font-weight:bold;
    background:url(img/tags.gif) no-repeat;
    padding-left:21px;
    padding-right:10px;
}

.preview .node .taxonomy ul li span{background:none;padding-left:3px;padding-right:3px;} /*no key icon in preview */

/*meta in nodes*/

.metanode{
  font-size: 0.8125em;
  margin:10px 0 10px 0;
}

.metanode p {
  margin: 0;
  padding: 0;
  line-height: 160%;
}
.metanode span.author,
.metanode span.date {
  font-weight:bold;
}


/*pager*/
.item-list ul.pager{
text-align:left;
margin:0;
padding-top:10px;
font-size:0.75em;
}

.item-list .pager li{
margin:0;
padding:3px;
}


/*sticky icon*/
#primary img.sticky{float:none;margin:0 0 0 8px;padding:0;}

/*profile */
.profile dl dt { padding: 0 0.5em 0 0; float: left;}
.profile dl dd { float: none; }


/*attachments */

#page table#attachments tr td{padding:4px;}
#page table#attachments tr td a{font-weight:normal;}

/*pools*/
 .pool .text{margin:1px 0 1px 0;}

/*search results*/

#primary .singlepage .search-results dt{font-size:110%; background:url(img/result.gif) no-repeat;margin-top:10px;}
#primary .singlepage .search-results p{font-size:100%;}
#primary .singlepage .search-results p strong{ background: #FFFF99}
#primary .singlepage .search-results p.search-info{font-style:italic;}



/**
 * Collapsible fieldsets
 */
fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #ccc;
  display:block;
  clear:left;
  width:95%;
  overflow:visible;
}

/* Targets IE 7. Fixes background image in field sets. */
*:first-child+html fieldset {
  padding: 0 1em 1em;
  background-position: 0 0.65em;
  background-color: transparent;
}

*:first-child+html fieldset > .description{
  padding-top: 1em;
}

fieldset legend {
  /* Fix disappearing legend in FFox */
  display: block;
}

*:first-child+html fieldset legend{
  display: inline;
}


fieldset ul.clear-block li {
  margin: 0;
  padding: 0;
  background-image: none;
}

/*
 * aggregator styles
 * The aggregator is a "Core - optional" module.
 * It's used for RSS, RDF and Atom.
 * ATM, e-Atlas do not use this module.
 */





#primary .singlepage #aggregator h2{font-size:1.3em;}
#primary .singlepage #aggregator li { /*aggregator list*/
	font-size:0.8em;
	list-style:disc;
	margin:3px 0 3px 18px;
	background:none;
	padding:0 0 0 3px;
}


/*
  * Image Assist Styles
  */
span.inline-left {
  display: block;
  float: left;
  margin: 5px 5px 5px 0;
}
span.inline-right {
  display: block;
  float: right;
  margin: 5px 0 5px 5px;
}

/*
 * Dataset Details - Upload form
 */
.node-form .description {
  font-size: 11px;
  line-height: 140%;
  /*color: #555555; */
  color: #046e9c;
  margin-bottom: 1em;
}

#edit-field-dataset-preview-0-upload-wrapper .description,
#edit-field-dataset-metadata-0-upload-wrapper .description,
#edit-field-report-0-upload-wrapper .description,
#edit-field-report-1-upload-wrapper .description,
#edit-field-kmz-0-upload-wrapper .description,
#edit-field-kmz-1-upload-wrapper .description {
  color: #555555;
}


.node-form label {
  font-size: 130%;
}

.node-form .form-text{
  background-color: white;
}

/* give all the labels a consistent format */
.node-form .tableHeader-processed th{
  border-bottom: 2px solid #CCCCCC;
  border-top: 0;
  color: #494949;
  font-size: 13px;
  font-weight: bold;
  padding-bottom: 4px;
  text-align: left;
}

/* make each separate field look like an area on a form */

#field-owner-items,
#field-institution-items,
#link-field-url,
#field-report-items,
#field-kmz-items,
#field-dataset-data-items,
#field-layer-data-items,
#field-related-articles-items,
#field-map-items,
#field-attachments-items,
#field-dataset-items{
  background-color: #EDEDED;
  border-top: 2px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
  padding: 0 0.6em 0.1em 0.6em;
  margin-top: 1em;
  margin-bottom: 1.25em; /* 1.25em; */
}



.node-form fieldset  legend + .description {
  background-color: #EDEDED;
  margin-bottom: 0;
  padding: 1em;
  margin-right: 0.5em;
}

/*
  * Content Templates - Dataset Details / Articles
  */
/*.field-field-acticle-preview .field-items,*/
img.imagefield-field_acticle_preview,
img.imagefield-field_dataset_preview {
  border: 1px solid #ccc;
  padding: 0.125em;
}

fieldset.dataset-group {
  font-size: inherit;
  width: 95%;
  position: relative;
  padding: 1.5em 1em 0.5em 1em;
  border: 1px solid #CCC;
  margin-bottom: 2.5em;
}

.dataset-group {
  font-size: 0.875em;
}

/* IE7 and below hack to get fieldset layout with this style of legends  to work */
*:first-child+html fieldset.dataset-group .element:first-child,
* html fieldset.dataset-group .element:first-child {
  padding-top: 1.75em;
}

legend span {
  position: absolute;
  width: 20em;
  color: #494949;
  margin: -0.75em 0 0 1em;
  padding: 0 0.5em;
  background: #FFF; /*#FFFAE6;*/
  border: 1px solid #CCC;
}

legend span.legend {
  width: 10em;
  float: left;
  clear: left;
  font-size: 110%;
  text-align: left;
  display: block;
}

.dataset-description {
  margin-bottom: 1em;
}

.dataset-group ul li {
  list-style: none;
}

.dataset-group .element {
  float: left;  /* floating to ensure this element's box is expanded to include floating children in Firefox etc */
  width: 100%;  /* width specified to ensure this element's box is expanded to include floating children in IE */
  clear: both;
  margin: 0 0 0.5em 0;
  padding-top: 0.5em;
  border-top: 1px dotted #CCCCCC;
}

.dataset-group .element:first-child {
  clear: both;
  padding-top: 0;
  border-top: none;
}

.dataset-group .element .filefield-file {
    width: 60%;
}

.dataset-group .element .filename {
  float: right;
  width: 40%;
  margin: 0 0 0 1em;
  clear: both;
}

.dataset-field .legend {
  font-size: inherit;
  font-weight: bold;
  width: 29%;
}

fieldset.dataset-info {
  padding: 0.5em 1em;
  margin-bottom: 2.5em;
}

fieldset .dataset-field {
  float: left;  /* floating to ensure this element's box is expanded to include floating children in Firefox etc */
  width: 100%;  /* width specified to ensure this element's box is expanded to include floating children in IE */
  clear: both;
  margin: 0.15em 0;
  padding-top: 0.25em;
  border-top: 1px dotted #CCCCCC;
}

.dataset-field:first-child {
  border-top: none;
  padding-top: 0;
}

/**
 * The definition of this element was strange...
 * - display: block; Display block will hide the disc; why defined a disc than?
 * - margin and padding should use the default, or else, it will not be display
 *   the same way as ol
 */
.dataset-field ul li {
  list-style: disc;
  /*
  display: block;
  width: 100%;
  margin: 0.5em 0;
  padding-bottom: 0.5em;
  */
}

.dataset-field .field-items {
  float: right;
  width: 70%;
  margin: 0 0 0 1em;
  padding: 0;
}

#primary .dataset-field .field-items ul {
  margin: 0;
}

.dataset-field .field-items ul li {
  margin-right: 1em;
}

#dataset-owners .field-items ul li,
#dataset-institutions .field-items ul li {
  display: inline;
  margin: 0 1em 0 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

#dataset-owners .field-items ul li:after,
#dataset-institutions .field-items ul li:after {
  content: ",";
}

#dataset-owners .field-items ul li:last-child:after,
#dataset-institutions .field-items ul li:last-child:after {
  content: "";
}


.fieldset-group .description {
  margin: 0;
}
