/*

#page-wrapper {
	min-width: 700px;
	width: 100%;
	min-width: 600px;
}

#page {
	width: 100%;
}

#header div.section, #featured div.section, #messages div.section, #main, #triptych, #footer-columns, #footer {
	width: auto;
	max-width: 960px;
	min-width: 700px;
}

.region-header {
	margin-top: 0px;
}

#footer,
.no-sidebars #content,
.no-sidebars {
	width: 600px;
}

.no-sidebars #content {
	width: auto;
}

#header div.section {
	width: auto;
	max-width: 960px;
	min-width: 760px;
}

.no-sidebars #content, #main {
	margin: auto;
	max-width: 800px;
}

*/


/* SOME CHANGES TO BARTIK_RESPONSIVE LAYOUT */

body {
	background: #fff;
}

#header div.section, #featured div.section, #messages div.section, #main, #triptych, #monolith, #footer-columns, #footer {
	width: 100%;
}


#name-and-slogan {
	/*margin-left: 6px;
	margin-right: 6px;
	*/
	width: auto;
	margin: auto;
}

#site-name {
	margin-top: 1.3em;
	margin-bottom: 0.5em;
	width: auto;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1;
	display: block;
}

#site-name a {
	color: #024598;
}

#site-slogan {
	font-size: 0.929em;
	font-style: italic;
	word-spacing: 1px;
	margin-bottom: 0;
	padding-bottom: 0;
	display: inline-block;
}

#site-logo {
	float: left;
	margin-right: 24px;
	margin-top: 6px;
	margin-bottom: 0;
	padding-bottom: 0;
}

#site-logo a {
	color: blue;
	background: white;
	border-bottom: none;
}

#page-wrapper {
	width: 100%;
	min-width: 420px;
}

#page {
	width: 100%;
}

#header {
	margin-top: 0;
	padding-top: 2em;
	padding-bottom: 0;
	width: 100%;
	border-bottom: solid 7px #024598;
}

#header div.section {
	margin: auto;
	max-width: 820px;
}

.region-header .block {
	margin-right: 5px;
}

#main-wrapper {
	width: 100%;
	min-height: 250px;
}

#main {
	margin-top: 0;
	margin-bottom: 20px;
	width: 100%;
	/*
	max-width: 800px;
	min-width: 400px;
	*/
	min-height: 320px;
	font-size: 12pt;
}

#main div.section {
	margin: auto;
	max-width: 680px;
}

@media (min-width: 600px) {
	h1#page-title{
		margin-top: 10px;
	}
}

@media (max-width: 454px) {
	h1#page-title{
		margin-top: 50px;
	}
}

#content {
	width: auto;
	/*max-width: 800px;*/
	margin: auto;
	padding-left: 10px;
	padding-right: 10px;
}

#triptych-wrapper {
	background: rgba(200,200,255,0.9);
	background-image: linear-gradient(to bottom,#dadaff,#9999ff);
}

#monolith-wrapper {
	padding-top: 20px;
	background: none;
}

#triptych, #monolith {
	max-width: 800px;
        margin: auto;
}

#triptych .block {
	border-bottom: none;
	margin-bottom: 2px;
	padding-bottom: 2px;
}

#triptych h2 {
	text-align: left;
}

.region-triptych-first,
.region-triptych-middle,
.region-triptych-last {
	height: 100%;
	min-height: 280px;
	width: 230px;
	margin: 5px 0 5px 25px;
}

.region-triptych-first {
	margin-right: 30px;
}


#footer-wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
	padding-top: 2px;
	padding-bottom: 18px;
}

#footer {
	/*max-width: 800px;
	min-width: 400px;*/
	margin: auto;
	margin-top: 0;
	padding: 0;
	padding-top: 12px;
	border: none;
}

#footer-wrapper .block {
	margin: 0;
	padding: 0;
}

#footer .block {
	margin: 0;
	padding: 0;
}

#footer .block .content {
	margin: 0;
	padding: 0;
}

#footer-columns {
	width: 100%;
}

div.region-footer {
	margin: 0;
	width: 100%;
}

#footer p {
	margin-left: 20px;
	margin-bottom: 0;
	padding-bottom: 0.33em;
}

@media (min-width: 900px) {
	ul#main-menu-links li {
		border-bottom: 1px solid #48a9e4;
	}

	ul#main-menu-links li.active, ul#main-menu-links li.active-trail {
		border-bottom: 1px solid white;
	}
}


/* PROVVIDENZA SPECIFIC SETTINGS */

header #block-user-login {
	display: none;
}

#block-user-login {
	background: #48a9e4;
	//height: 100%;
	//margin: 10px 10px 10px 10px;
	padding: 10px 25px 10px 25px;
}

#widget-container {
	float: right;
	margin: -20px 15px 0 0;
}

#widget-container a {
	padding-right: 5px;
}

#login-key-container {
}

#calendar-box-container {
	float: right;
	margin: -38px 15px 0 0;
}

#secondary-menu-wrapper {
	background: none;
	width: 100%;
	height: 50px;
	margin-bottom: 0;
}

#secondary-menu-container {
	background: none;
	//max-width: 1020px;
	width: 100%;
	//margin: auto;
	margin-bottom: 0;
}

#secondary-menu {
	background: none;
	//float: right;
	margin: auto;
	width: auto;
	max-width: 800px;
	min-width: 400px;
}

ul#secondary-menu-links {
	background: none;
	margin: 0 2px 0 0;
}

ul#secondary-menu-links li {
	margin-left: 4px;
	margin-top: -1px;
	float: left;
	padding-bottom: 1px;
	padding-top: 1px;
	background: #c4e5f8;
	border: 1px solid #c4e5f8;
	-khtml-border-radius-bottomleft: 8px;
	-khtml-border-radius-bottomright: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

ul#secondary-menu-links li.active {
	background: white;
	border: 1px solid white;
}

ul#secondary-menu-links li:hover {
	background: white;
	border: 1px solid #c4e5f8;
}

ul#secondary-menu-links li.active:hover {
	border: 1px solid #c4e5f8;
}

ul#secondary-menu-links li a {
	color: black;
}

ul#secondary-menu-links li a:hover {
	text-decoration: none;
}

#monolith .block ul {
	padding: 0;
}

div#monolith-menu-container {
	width: auto;
	float: right;
}

ul#monolith-menu {
	margin: 0;
	margin-right: 30px;
	list-style-type: none;
}

ul#monolith-menu li {
	float: left;
	margin-right: 10px;
	padding: 5px 7px 5px 7px;
	background: #c4e5f8;
	border: 1px solid #c4e5f8;
	-khtml-border-radius-topleft: 8px;
	-khtml-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

ul#monolith-menu li a {
	text-decoration: none;
	color: black;
}

#block-menu-menu-risorse ul.menu {
	list-style-type: none;
	list-style-position: inside;
	margin: 0;
	padding: 0;
	margin-right: 30px;
}

#block-menu-menu-risorse ul.menu li {
	list-style-type: none;
	float: left;
	margin-right: 25px;
}

#block-menu-menu-risorse ul li.leaf {
	list-style-image: none;
	list-style-type: none;
	float: left;
	margin: 0;
	margin-right: 5px;
	padding: 5px 7px 5px 7px;
	background: #c4e5f8;
	border: 1px solid #c4e5f8;
	-khtml-border-radius-topleft: 8px;
	-khtml-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

#block-menu-menu-risorse ul li.active-trail {
	background: none;
	border: 1px solid white;
}

#block-menu-menu-risorse ul li.leaf:hover {
	background: none;
}

#block-menu-menu-risorse ul li.active-trail:hover {
	border: 1px solid #c4e5f8;
}

#block-menu-menu-risorse ul li.leaf a {
	color: black;
}

#block-menu-menu-risorse ul li.leaf a:hover {
	text-decoration: none;
}

#block-menu-menu-risorse ul li.leaf a.active {
	color: black;
	text-decoration: none;
}


/* FIELDS, GALLERY, SLIDESHOW */

.field-name-field-doc-download {
	width: 100%;
	text-align: right;
	//float: right;
	margin-bottom: 20px;
}

.field-slideshow {
	margin-top: 0;
	padding-bottom: 0;
	min-width: 250px;
}

.field-name-field-gallery, .field-name-field-slideshow, .field-name-field-icon {
	float: right;
	clear: right;
	margin: 5px 5px 5px 10px;
	padding: 0;
}

.field-name-field-slideshow {
	margin-bottom: 2px;
	padding-left: 10px;
}

/*.field-name-field-icon {
	margin-left: 10px;
	margin-bottom: 5px;
}*/

.field-name-field-gallery img {
	margin: 0;
	float: left;
	padding: 0 0 10px 10px;
}

.field-name-field-gallery .field-item:nth-child(3n-2) img {
	padding-left: 10px;
}

.field-name-field-gallery .field-item:nth-child(3n+3) img {
	padding-left: 10px;
}

.field-slideshow-slide {
	margin-bottom: 0;
}

.field-name-field-slideshow img, img.field-slideshow-image {
	margin: 0;
	padding: 0;
}

.field-slideshow-caption {
	background: #c4e5f8;
	color: white;
	text-align: center; 
	margin: 0;
	width: 100%;
}

.field-slideshow-caption-text {
	margin: 0;
}

.field-slideshow-caption a {
	color: black;
}


/* FOOTER-SITEMAP */

#footer-sitemap ul {
	margin-right: 0;
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ddd;
}

#footer-sitemap ul li {
	float: none;
	margin-right: 5px;
	margin-bottom: 5px;
}

#footer-sitemap ul li ul {
	margin-left: 15px;
	border-bottom: none;
}


li.footer_links_menu-risorse {
	list-style-type: none;
}


/* VIEWS-SLIDESHOW */

div.view-presentation {
	border: 1px solid #ccc;
	background: none;
	padding: 6px 12px 2px 12px;
	margin-top: -10px;
	margin-bottom: 20px;
	-khtml-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.views-slideshow-cycle-main-frame-row {
	margin-top: 0;
	width: 100%;
}

.views-slideshow-cycle-main-frame-row-item {
	width: 100%;
	//width: 760px;
}

div.view-presentation article.node-teaser {
	margin-top: 0;
	border-bottom: none;
	margin-bottom: 0;
	background: none;
}

div.view-presentation article.node-teaser h2 {
	padding-top: 0;
}

div.view-presentation article.node-teaser h2 a:link {
	padding-top: 0;
}

/*
div.view-presentation .views_slideshow_singleframe_previous {
	display: inline-block;
	width: 24px;
	height: 16px;
	//background: url(../images/button_left.gif) no-repeat;
	font-size: 1px;
	color: #444;
}

div.view-presentation .views_slideshow_singleframe_next {
	display: inline-block;
	width: 24px;
	height: 16px;
	//background: url(../images/button_right.gif) no-repeat;
	font-size: 1px;
	color: #444;
}

div.view-presentation .views_slideshow_singleframe_play {
	display: inline-block;
	width: 16px;
	height: 16px;
	//background: url(../images/yourimage-play.png) no-repeat;
	font-size: 1px;
	color: #444;
}

div.view-presentation .views_slideshow_singleframe_pause {
	display: inline-block;
	width: 16px;
	height: 16px;
	//background: url(../images/yourimage-play.png) no-repeat;
	font-size: 1px;
	color: #444;
}
*/

div.views-slideshow-controls-text {
	display: inline-block;
	float: right;
	font-size: 20px;
}

span.views-slideshow-controls-text-previous {
	width: 100px;
	height: 100px;
	background: url(../images/button_left.gif) no-repeat;
}

span.views-slideshow-controls-text-previous a {
}

span.views-slideshow-controls-text-pause {
	background: url(../images/button_up.gif) no-repeat;
}

span.views-slideshow-controls-text-next {
	background: url(../images/button_right.gif) no-repeat;
}

div.views-slideshow-slide-counter{
	float: right;
	border: 1px solid #999;
	padding: 1px 3px 1px 3px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #eef;
}

div.views-slideshow-controls-bottom {
}

div.views-slideshow-pager-fields {
	float: right;
}

div.views-field-counter {
	float: right;
	clear: none;
	border: 1px solid #999;
	padding: 1px 3px 1px 3px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #eef;
}

div.views-field-counter:hover {
	background: #ccf;
}

#sliding-popup {
	border: 1px solid white;
}

#sliding-popup .popup-content #popup-text h2 {
	font-family: arial;
	font-size: 13px;
}

#sliding-popup .popup-content #popup-text p {
	font-family: arial;
	font-weight: normal;
	font-size: 12px;
	line-height: 1.2em;
	color: #ccc;
}


/* PERSONAL ADJUSTMENT TO GLOBAL LAYOUT */

.field-myiframe {
	margin-top: 0;
}

u.highlighted {
	text-decoration: none;
	background: #ff7;
}

span.highlighted {
	background: #ff7;
}

td.address p.last {
	padding-bottom: 0;
	margin-bottom: 0;
}

div.update {
	margin: 2px 5px 10px 5px;
	padding: 2px 5px 0px 5px;
	background: #ffc;
	border: 1px solid #fda;
	-khtml-border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

div.update p {
	margin-bottom: 5px;
}

div.highlighted {
	width: 80%;
	//max-width: 400px;
	margin: auto;
	//margin-left: 25px;
	//margin-top: 5px;
	//margin-bottom: 5px;
	background: #ff7;
	padding: 5px 10px 5px 10px;
}

p.highlighted {
	background: #ff7;
}

span.bigger {
	font-size: 1.50em;
}

h3.highlighted {
	margin-left: -10px;
	background: #d4f5f8;
	//border-bottom: 1px solid #c4e5f8;
	background: -webkit-linear-gradient(right, #c4e5f8, white);
	background: -o-linear-gradient(left, #c4e5f8, white);
	background: -moz-linear-gradient(left, #c4e5f8, white);
	background: linear-gradient(to right, #c4e5f8, white);
	-khtml-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 2px 12px 2px 12px;
}

p.indented, ol.indented {
	margin-left: 20px;
}

p.centered {
	text-align: center;
}

p.justified {
	text-align: justify;
}

/* hack per l'editor CK, per essere sicuri che lo carichi... */

p.rtejustify {
	text-align: justify;
}

p.rteright {
	text-align: right;
}

/* fine hack */


ul.emphasized {
	//width: auto;
	margin-left: 20px;
	padding-left: 30px;
	font-size: 1.2em;
}

ul.row-items {
	//float: right;
	list-style-type: none;
	max-width: 50%;
	margin: auto;
}

ul.row-items li {
	border-bottom: 2px solid #888;
/*
	-webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(#00abeb), to(#fff), color-stop(0.5, #fff), color-stop(0.5, #66cc00)) 21 30 30 21 repeat repeat;
	-moz-border-image: -moz-linear-gradient(right, #00abeb, #fff) 1 100%;
	background: -moz-linear-gradient(#fff, #ccf);
*/
}

li.menu-1316 {
	margin-left: 20px;
	background: #cb9;
	-khtml-border-radius-topleft: 8px;
	-khtml-border-radius-topright: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

article#node-66 {
	background: #ffc;
	-khtml-border-radius: 8px;
	/* -khtml-border-radius-bottomright: 8px; */
	-moz-border-radius: 8px;
	/* -moz-border-radius-bottomright: 8px; */
	-webkit-border-radius: 8px;
	/* -webkit-border-bottom-right-radius: 8px; */
	border-radius: 8px;
	/* border-bottom-right-radius: 8px; */
}

div#breadcrumb {
	margin: 8px 0 0 0;
}

div.bordered_article {
	border: 1px solid #ccc;
	padding: 5px 10px 5px 10px;
	border-radius: 5px;
}

hr.my_article_sep {
	height: 1px;
	color: #eef;
	border: none;
	border-top: 1px solid #ccc;
}

div.article_icon_container {
	margin: 5px 5px 5px 24px;
	float: right;
}

div.article_icon_container.article_page {
	margin-top: 12px;
}

div.bordered_article div.article_icon_container {
	margin-top: 3em;
	margin-right: 1em;
}

div.read_more {
	margin: 5px 2px 2px 5px;
	float: right;
}

div.fb_container {
	width: 100%;
	min-height: 600px;
	text-align: left;
	padding: 0 0 0 0;
}

div.fb_container h2, 
  div#home-promoted-articles-container h2 {
	text-align: left;
	font-size: 1.4em;
	margin-bottom: 12px;
	border-bottom: solid 3px #008ee2;
	display: inline-block;
	margin: 0 0 2em 0;
	padding: 0 0.75em 0.2em 0;
}

div#main-menu-container {
	width: 100%;
}

div#main-menu-div {
	width: auto;
	margin: auto;
}

div#home-main-article-container {
	margin: auto;
}

div#home-main-article-container h3 {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	font-size: 14pt;
}

div#home-promoted-articles-container {
	margin: auto;
}

div#home-promoted-articles-container h3 {
	font-size: 14pt;
}

div.my_gallery_container {
	width: 100%;
}

div.my_gallery {
	width: auto;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

div.my_gallery img {
	float: left;
	height: 150px;
	border: 2px solid #ccc;
	border-radius: 3px;
	margin: 10px 10px 10px 10px;
}

div.my_single_image {
	width: auto;
	float: right;
}

div.my_single_image img {
	height: 150px;
	border: 2px solid #ccc;
	border-radius: 3px;
	margin: 10px 10px 10px 10px;
}

div.article_attachments {
	float: right;
	margin: 10px 10px 10px 10px;
}

div.table_list {
	display: table;
}

div.table_list_header,
  div.table_list_row {
	display: table-row;
}

div.table_list_header div.table_list_cell {
	display: table-cell;
	margin: 2px 10px 2px 2px;
	padding: 2px 5px 2px 5px;
	background: #ccc;
	border: 2px solid white;
	border-radius: 5px;
	font-weight: bolder;
}

div.table_list_row div.table_list_cell {
	display: table-cell;
	margin: 2px 10px 2px 2px;
	padding: 2px 5px 2px 5px;
	border: 2px solid white;
}


div.table_list_row.even div.table_list_cell {
	background: #ddd;
	border-radius: 5px;
}

div.table_list_row.odd div.table_list_cell {
	background: none;
}


div.table_list_cell.field_size {
	text-align: right;
}

div.sticky_bottom {
	position: fixed;
	bottom: 0;
	right: 0;
	max-width: 600px;
	border: 1px solid #aaa;
	border-radius: 3px;
	background: #cdf;
} 

div#page-title-container {
	font-size: 2em;
	width: 100%;
	text-align: center;
}

ul.sec_menu {
	margin-bottom: 6px;
}

p.page_title {
	margin-bottom: 0.75em;
}

div.manifesto_container {
	width: 100%;
	text-align: center;
}

div.manifesto {
	width: auto;
}

@media screen and (max-width: 736px) {
  #header {
    padding-left: 0px;
  }
  #site-name {
    display: inline-block;
    margin-top: -12px;
  }
  #site-logo {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    float: right;
  }
  div.field-myiframe {
  }
  div.manifesto img {
    max-width: 400px;
  }
  div.my_gallery {
    grid-template-columns: 1fr 1fr;
  }
}

img.contact_img_data {
	display: inline-block;
	vertical-align: text-bottom;
}
