/* RESET 
---------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline; }

ins {
  background-color: #ffff99;
  color: black;
  text-decoration: none; }

mark {
  background-color: #ffff99;
  color: black;
  font-style: italic;
  font-weight: bold; }

del {
  text-decoration: line-through; }

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help; }

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

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0; }

input, select {
  vertical-align: middle;
}

/* COLORI
---------------------------------- */

/*
- Grigio scuro #333333 (testo)
- Grigio chiaro #DDDDDD
- Verde acido #B9C01D
- Azzurro #2394C4 (link)
- Azzurro scuro #186687 (link)
*/


/* BASE
----------------------------------*/
body {
    color: #333333;
    font-family: Tahoma,Verdana,sans-serif;
    font-size: 11px;
	line-height: 12px;
	background-color: #efefef;
	text-transform: uppercase;
}


/* TIPOGRAFIA
---------------------------------- */

h1, h2, h3, h4, h5, h6
{
    margin: 0px;
   	line-height: 1.5em; 
}

h1 
{
    font-size: 17px;
    color: #51814f;
    font-weight: normal;
    font-family: sans-serif, arial;
    line-height: 17px;
}

h2 
{
    font-size: 24px;
}

h3 
{
    font-size: 18px;
}

h4 
{
    font-size: 15px;
}

h5, h6 
{
    font-size: 13px;
}

h6 
{
    color: #676767;
    text-transform: uppercase;
}

p 
{
    margin: 0 0 9px;
	line-height: 1.5em;    
}

small 
{
    color: #999999;
    font-size: 12px;
}

blockquote
{
    border-left: 5px solid #DDDDDD;
    margin: 0 0 18px;
    padding: 0 0 0 15px;
}

.blockquote-right
{
    border-left: 0 none;
    border-right: 5px solid #EEEEEE;
    float: right;
    padding-left: 0;
    padding-right: 15px;
}

ul, ol {
    margin: 0px 0px 10px 30px;
    padding: 0;
}

ol li
{
	margin: 0 0 12px 0;
	line-height: 16px;
}

ul.unstyled, ol.unstyled {
    list-style: none outside none;
    margin-left: 0px;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-weight: normal;
    font-size: 14px;
}

h1 small
{
    font-size: 18px;
}

p.lead
{
    font-size: 20px;
    font-weight: 200;
    line-height: 27px;
    margin-bottom: 18px;
}


.ag-left
{
    text-align: left;
}

.ag-right
{
    text-align: right;
}

.ag-center
{
    text-align: center;
}

.indented-element, .sortable-contents .indented-element
{
	padding-left: 25px;
}

.disabled-element
{
	color: #999999;
}

.li-active
{
	font-weight: bold;
	color: #a1c42c !important;
}

/* LINKS 
---------------------------------- */

a
{
    color: #51814f;
    text-decoration: none;
}

a:hover
{
    color: #51814f;
    text-decoration: none;
}


/* STRUTTURA
---------------------------------- */

.marg-col-sx
{
	height: 10px;
	background-color: #efefef;
}

#colonna-sx-bg
{
	background: transparent url(../images/layout/bg-sx-col.gif) repeat-y 0px 0px;
}

#content ul.list
{
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#content ul.list li
{
	margin: 10px 0 0 0;
	padding: 0px;
}

#content ul.list li a
{
	background: transparent url(../images/layout/arrow_down.png) no-repeat center left;	
	text-decoration: none;
	padding: 0 0 0 20px;
	color: #51814f;
}

#page
{
	width: 990px;	
    margin: 0px auto;		
}

#content
{
	padding: 30px;
	float: right;
	margin: 0 0 0 20px;
	background: #fffff0 url(../images/layout/content-corner-bg.png) no-repeat top left;
	min-height: 550px;
	color: #093456;
	width: 620px !important;
}

#content p
{
	text-align: justify;
	text-transform: none;
	font-size: 12px;
	line-height: 18px;
}

#sidebar
{
	width: 290px;
	float: left;
}

#slogan-info
{
	background-color: #fffff0;
	height: 54px;
	padding: 18px 0 0 54px;
	margin: 4px 0 0 0;
}

#header
{

}

.header-intestazione
{
	background-color: #8f8f8f;
	margin: 4px 0px;
	padding: 0px;
	color: #ffffff;
	height: 20px;
}

.header-logo
{
	height: 91px;
	background: #fffff0 url(../images/layout/logo-ag.png) no-repeat 23px 15px;
}

#image-header
{
	width: 100%;
	height: auto;
}

#page-header
{
    margin: 0 0 24px 0;
    padding: 0px;
}

#breadcrumb
{
	margin-bottom: 20px;
}

.clearfix
{
	clear: both;
}

.closed-element
{
	display: none;
}

.collapsing-trigger, .collapsing-trigger-loader
{
	background-color: transparent;
	background-repeat: no-repeat;
	background-position:  0px 50%;
	padding-left: 20px;
}

.closed-trigger
{
	background-image: url(../images/icons/chevron-down.png);
}

.open-trigger
{
	background-image: url(../images/icons/chevron-right.png);
}

#buttons_top, #language-switcher, #image-header
{
	margin-bottom: 20px;
}

#language-switcher
{
	text-align: right;
}

#language-switcher a
{
	margin-left: 10px;
}

.loading-indication
{
  background: url(../images/icons/ajax-loader.gif) no-repeat top center;
}

#backend-goto
{
	position: absolute;
	top: 0px;
	right: 100px;
	background-color: #a1c42c;
	padding: 10px 10px;
	
}

#backend-goto a
{
	color: #ffffff;
	text-decoration: none;
	padding: 10px 20px;
}

#footer
{
	background-color: #fffff0;
	padding: 0px;
	margin: 0px;
	position: relative;
	height: 25px;
}

#subfooter
{
	position: absolute;
	left: 15px;
	background-color: #8f8f8f;
	width: 971px;
	top: 0px;
	border-top: 4px solid #efefef;
	border-left: 4px solid #efefef;
}

#subfooter p
{
	margin: 0px;
	padding: 6px 11px 4px 11px;
	line-height: 11px;
	color: #ffffff;
}

.albero-colonna-sx
{
	background: url(../images/layout/image-col-sx.jpg) no-repeat top center;
	width: 270px;
	height: 145px;
	border: 10px solid #fffff0;
}

/* FORM
---------------------------------- */

form
{
    padding-bottom: 20px;
}

label, input, select, textarea
{
    font-family: Arial, Verdana, sans-serif;
    font-size: 13px;
}

input, select, textarea
{
    border: 1px solid #CCCCCC;
    padding: 7px;
    width: 97%;
    background-color: #fff;
}

option
{
    padding: 0px 5px;
}

input:focus, textarea:focus, select:focus
{
    background-color: #efefef;
}

select, .input-file
{
    line-height: 13px;
}

.input-file
{
    box-shadow: none;
    width: auto;
}

input[type=radio], input[type=checkbox]
{
    vertical-align: top;
    width: auto;
}

label
{
    display: block;
    padding-bottom: 3px;
    font-weight: bold;
}

.lb-inline
{
    display: inline;
    margin-right: 5px;
}

.lb-checkbox, .lb-radio
{
    font-weight: normal;
}


.short-field
{
    width: 25%;
}

.medium-field
{
    width: 50%;
}

.long-field
{
    width: 75%;
}

.verylong-field
{
	width: 93%;
}

.inline-field
{
    margin-right: 5px;
}

.form-field-help
{
	font-size: 0.9em;
	display: block;
	color: #636262;
}

.btn
{
    cursor: pointer;
    padding: 5px 15px;
    text-transform: uppercase;
    outline: medium none;
    text-decoration: none;
    display: inline-block;
    width: auto;
}

p.row-actions a.btn
{
	margin-right: 5px;
}

.btn-big
{
    font-size: 15px;
    padding: 8px;
}

.btn-small
{
    font-size: 0.9em;
}

.btn
{
    background-color: #a1c42c;
    color: #FFFFFF;
    border: 0px;
}

.form-field
{
    padding-bottom: 13px;
}
.form-submit
{
    padding-top: 13px;
}

.mid-field label
{
	width: 40%;
	float: left;
	margin-right: 3.5%;
}

.mid-field input
{
	width: 55%;
	float: left;
}

.btn-alternate
{
    background-color: #B9C01D;
    color: #333;
}

.btn-secondary
{
    background-color: #ddd;
    color: #5A554E;
}

.btn-delete
{
    background-color: #CE453E;
    color: #FFFFFF;	
}

.btn:active, .btn:hover
{
    background-color:  #a1c42c;
    color: #fff;
}

.btn:disabled, .btn-disabled, .btn-disabled:hover
{
    background-color: #2394C4;
    opacity: 0.5;
    cursor: default;
}

.btn-alternate:active, .btn-alternate:hover
{
    background-color: #979B1A;
    color: #333;
}

.btn-secondary:active, .btn-secondary:hover
{
    background-color: #E5E5E5;
    color: #5A554E;
}

input.error-field, select.error-field, textarea.error-field
{
    border-color: #D01616;
}

/* MESSAGGI
---------------------------------- */
.message 
{
    margin: 10px auto 30px;
    padding: 10px;
}

.message-error 
{
    background-color: #CE453E;
    color: #FFFFFF;
}

.message-ok 
{
    background-color: #A9D673;
}

.message-alert
{
    background-color: #F2D268;
}

.form-field-error
{
    color: #CE453E;
    display: block;
}

#add_content_comment_form
{
	margin: 20px 0;
}

#add_content_comment_form p
{
	padding: 0px;
}

/* TABELLE
---------------------------------- */


table
{
    background-color: transparent;
    border-spacing: 0;
    max-width: 100%;
    font-size: 1em;
    width: 100%;
}

th, td
{
    border-bottom: 1px solid #efefef;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

th
{
    font-weight: bold;
    background-color: #e7e7e7;
    color: #818181;
    border: 1px solid #e7e7e7;
}

th .btn
{
    font-weight: normal;
}

thead th {
    vertical-align: middle;
}

.table
{
    margin: 20px 0px;
}

.table-bordered-outside
{
    border: 1px solid #ddd;
}

.table-bordered
{
    border-bottom: 1px solid #ddd;
}

.table-bordered th, .table-bordered td
{
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tr-odd
{
    background-color: #e7e7e7;
}

td.td-action, td.td-identifier
{
    width: 22px;
    text-align: center;
    vertical-align: middle;
}


.table-hover tr:hover, .table-admin tr:hover
{
    background-color: #DFE0CC;
}

.table-admin a
{
    color: #333333;
    text-decoration: none;
}

.table-vertical th
{
    background-color: #e7e7e7;
    text-align: right;
    vertical-align: middle;
    width: 170px;
}

th .icon-sort
{
	margin-right: 5px;
}

/* COMPONENTI
---------------------------------- */

/* menu */

.menu 
{
	margin: 0px;
	padding: 0px;
	height: 37px;
	width: auto;
	display: inline-block;
	background-color: #efefef;
}

.menu li
{
	list-style-type: none;
	float: left;
	padding: 0px;
	margin: 0 4px 0 0;
}

#menu_primary
{
    margin-bottom: 20px;
    background-color: #fffff0;
    height: 36px;
}

#menu_primary a, #menu_primary .menu-item-active span
{
	display: inline-block;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: 15px 8px;
	padding: 13px 14px 7px 14px;
	border-bottom: 4px solid #666666;
}

#menu_primary a
{
	color: #a1c42c;
	font-family: sans-serif, arial;
	background-color: #fffff0;	
	font-size: 14px;
}

#menu_primary a:hover, #menu_primary .menu-item-active span
{
	background-color: #a1c42c;
	color: #fff;
	font-size: 14px;
	font-family: sans-serif, arial;
}

#menu_column
{
	padding: 0px;
	display: block;
	margin: 0px;
}

/* blocchi generici */

.block, #menu_column .menu-item
{
	margin: 0px;
	background-color: #fffff0;
	border: 1px solid #ffffff;
}

.block-title, .block h2
{
	background-color: #a1c42c;
	padding: 11px 0 11px 25px;
	font-size: 11px;
	margin: 0px;
	position: relative;
	color: #ffffff;
	font-weight: normal;
	line-height: 11px;
	text-align: left;
}

#menu_column h2
{
	background-color: #fffff0 !important;	
	padding: 7px 0 7px 25px !important;
	text-align: left;
}

#menu_column h2 a
{
	color: #51814f !important;	
}

.block-title a, .block h2 a, #menu_column h2
{
	color: #333333;
	text-decoration: none;
}

.block-int
{
	padding: 3px 15px 10px;
}

.block-simple
{
	background: none;
}

.block-scroll
{
	height: 150px;
	overflow: auto;
}

.categories-menu, .categories-menu ul
{
	list-style-type: none;
}

.categories-menu
{
	margin: 0px;
}

.categories-menu ul
{
	margin-bottom: 0px;
}

.categories-menu a, .categories-menu .li-active
{
	padding: 7px 11px;
	display: inline-block;
	text-decoration: none;
	color: #000000;
}

.categories-menu li
{
	border-bottom: 4px solid #efefef;
}

/* contenuti */

#box990
{
	width: 990px;
	margin: auto;
}

.content-info
{
	color: #636262;	
	margin-bottom: 10px;
}

.content-social-share 
{
	margin: 20px 0px;
	padding: 0px;
}

.content-social-share  li
{
	list-style-type: none;
	display: inline-block;
}

.content-file, .content-gallery, .content-gmap, .content-video, .content-photo, .content-form
{
	margin-top: 20px;
}

.content-gallery-title
{
	padding: 20px 0 0 0;
	font-weight: bold;
	font-size: 22px;
}

.content-photo-image
{
	width: 100%;
}

.content-file
{
	background-color: #E5E5E5;
	padding: 10px;
}

.content-list
{
	margin: 20px 0px;
}

.content-list li
{
	list-style-type: none;
	margin: 0px 0px 10px 0px;
}

.node-gmap
{
	width: 100%;
	height: 400px;
}

/* paginazione */

.pagination
{
    text-align: center;
    margin-top: 10px;
}

.pagination ul
{
    margin: 0px;
}

.pagination li
{
    display: inline-block;
    list-style-type: none;
    padding-right: 5px;
}

.pagination a
{
    padding: 4px 8px;
    text-decoration: none;
    border: 1px solid #ddd;
}

li.pagination-active
{
    padding: 4px 10px; 
    font-weight: bold;   
}

.pagination-pager
{
	width: 20%;
	text-align: right;
	float: right;
}

.pagination-links
{
	width: 80%;
	text-align: center;
	float: left;
}

/* help */

.ui-tooltip 
{
	padding: 10px;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-size: 1em;
    color: #333333;
    font-family: Helvetica,Arial,Verdana,sans-serif;
    background: #F2D268;
    border: 1px solid #EAC556;	
    border-radius: 0px;
}

body .ui-tooltip {
	border-width: 1px;
}

.spacer
{
	text-align: center;
	border-top: 1px solid #b2b4b3;
}

.spacer-text
{
	display: inline-block;
	position: relative;
	top: -15px;
	padding: 5px 10px;
	background-color: #fff;
	font-size: 11px;
}

.floatleft
{	
	float: left;
}

.floatright
{	
	float: right;
}

#subfooter a, #subfooter a:hover
{
	color: #ffffff;
	text-decoration: none;
}

/* commenti */

#content_comments_list
{
	margin-top: 40px;
}
