body {
    padding: 0;
    border: 0;
    margin: 0 0 15px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    background: #FFF url(../images/background.png) top left;
}

img {
    border: 0;
}

.left {
    float: left;
}

.right {
    float: right;
}

.palatino {
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
}

.ombra {
    -moz-box-shadow: 4px 4px 4px #CCC;
    -webkit-box-shadow: 4px 4px 4px #CCC;
    box-shadow: 4px 4px 4px #CCC;
    margin-bottom: 20px !important;
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: #EEE;
}

#wrapper {
    width: 960px;
    text-align: left;
    margin: 0 auto;
    padding: 15px 10px;
    background: #FFF;
}

#top {
    border-width: 3px 0;
    border-color: #000;
    border-style: solid;
    height: 255px;
    background: transparent url('../images/sagoma_sinisgalli.png') no-repeat left top;
    margin: 15px 0;
}
#top1 {
    border-width: 0 0 1px;
    border-color: #000;
    border-style: solid;
    height: 230px;
    background: transparent url('../images/scritta_fondazione_sinisgalli_top.png') no-repeat 0px 195px;
}
#top1-right {
    position: relative;
}
#top1-right .randomimage {
    position: absolute;
    right: 0;
    height: 230px;
    vertical-align: middle;
}
#top1-right .randomimage img {
    height: 230px;
    max-width: 320px;
}
#top2 {
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-weight: bolder;
    padding: 0 4px;
}
#top2 .left {
    font-size: 13px;
    font-style: italic;
    color: #818284;
}

#top2 #jflanguageselection {
    margin: 0;
    padding: 0;
}
#top2 ul, #top2 ul.jflanguageselection {
    margin: 0;
    padding: 0;
    height: 25px;
    list-style: none;
    font-size: 11px;
    float: right;
}
#top2 ul li, #top2 ul.jflanguageselection li {
    float: left;
    margin: 0;
    padding: 0;
    height: 25px;
    line-height: 25px;
    font-size: 11px;
    font-weight: bolder;
}
#top2 ul li a, #top2 ul.jflanguageselection li a {
    border-width: 0 0 0 1px;
    border-style: solid;
    padding: 0 5px;
    height: 13px;
    color: #818284;
    text-decoration: none;
    font-size: 11px;
    vertical-align: middle;
    display: inline;
}

#top2 #jflanguageselection ul:first-child li:first-child a {
    border-width: 0 0 0 1px;
}

#top2 ul:first-child li:first-child a {
    border-width: 0;
}

#main {
    margin: 0;
    background: #FFF url(../images/main_background.png) top left repeat-y;
}

#left {
    float: left;
    padding-top: 20px;
    width: 125px;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    border-width: 0 1px 0 0;
    border-width: 0;
    border-color: #000;
    border-style: dotted;
    background: transparent url('../images/la_fondazione.png') top left no-repeat;
}

#left #current {
    font-weight: bolder;
}

#left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 120px;
}

#left ul a {
    text-decoration: none;
}
#left ul#menu-fondazione {
    padding: 17px 0 0;
    font-size: 11px;
}
#left ul#menu-fondazione li:first-child {
    border-width: 0;
}
#left ul#menu-fondazione li {
    border-style: dotted;
    border-color: #000;
    border-width: 1px 0 0;
}

#left ul#menu-fondazione a {
    color: #6E6E70;
    text-transform: uppercase;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
}

#left ul#menu-principale > li > a, #left ul#menu-principale > li > .separator {
    font-family: OswaldRegular;
    color: #519CBB;
    font-size: 18px;
    line-height: 19px;
    text-transform: uppercase;
}

#left ul#menu-principale > li {
    border-style: solid;
    border-color: #000;
    border-width: 2px 0 0;
    padding: 3px 0;
}

#left ul#menu-principale ul a {
    font-family: Arial, Helvetica, sans-serif;
    color: #6E6E70;
}

#left .moduletable_scrivici p {
    border-style: solid;
    border-color: black;
    border-width: 2px 0 0;
    padding: 3px 0;
    margin: 0;
}
#left .moduletable_scrivici p a {
    font-family: Arial, Helvetica, sans-serif;
    color: #519CBB;
    /*font-weight: bolder;*/
    text-decoration: none;
    font-family: OswaldRegular;
    color: #519CBB;
    font-size: 18px;
    line-height: 19px;
    text-transform: uppercase;
}
#left .custom_donazione a {
    font-family: Arial, Helvetica, sans-serif;
    color: #6E6E70;
    text-decoration: none;
}
#indirizzo #indirizzo_fondazione {
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
    border-width: 2px 0 0;
    border-style: solid;
    border-color: #000;
    padding: 4px 0 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    width: 125px;
}

#right {
    float: right;
    width: 260px;
    font-size: 12px;
    border-width: 0 0 0 1px;
    border-width: 0;
    border-color: #000;
    border-style: dotted;
    padding: 0 15px;
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
}

#right div {
    padding: 0;
    margin: 0;
}

#right h3 {
    padding: 5px 15px;
    font-weight: bolder;
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
    font-size: 18px;
    margin: 0 0 10px;
}

#right a {
    color: #333;
    font-weight: bolder;
    text-decoration: none;
}
#right a:hover {
    color: #519CBB;
}

/*
 #right .ombra {
 border-style: solid;
 border-width: 1px;
 border-color: #DDD;
 }
 */

#right #semaforo {
    border-style: dotted;
    border-width: 2px 0 0;
    border-color: #000;
    padding: 10px 0 0;
    font-size: 15px;
    text-align: center;
    font-weight: bolder;
}
#right p, #right ol {
    margin: 0;
    padding: 0 15px;
    line-height: 14px;
}
#right .moduletable {
    margin: 5px 0 10px;
}
#right .moduletable img {
    max-width: 230px;
}
#right .moduletable #semaforo img {
    max-width: 260px;
}
#right .grigio {
    background: #CCC;
}
#right .bianco {
    background: #FFF;
}
#right h3 {
    background: #000;
    color: #FFF;
    /*font-family: CaslonGraphiqueEFRegular;*/
}
#right .ricerca input[type=text] {
    border: 1px solid #000;
    width: 240px;
    margin: 0;
}

#right .newsletter input[type=text], #right .newsletter input[type=email] {
    border: 1px solid #000;
    width: 180px;
    margin: 0;
}
#right .newsletter img {
}

#right .newsletter span {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    /*float: left;*/
}
#right .newsletter .social {
    float: right;
}
#right .newsletter .social img {
    margin-left: 3px;
}
#right .newsletter .button {
    display: none;
}

#right > .newsletter {
    border-top: 2px solid #000;
    border-bottom: 2px dotted #000;
    padding: 5px 0;
}

#right > .ricerca {
    border-bottom: 2px dotted #000;
    padding: 0 0 5px 0;
}

#right .arancio h3 {
    background: #FFF;
    color: #F47922;
    border-width: 2px 0 1px;
    border-style: solid;
    border-color: #000;
    margin: 1px 0;
    font-weight: bolder;
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
    font-size: 18px;
}

#right .arancio .colonna1 {
    float: left;
    width: 50px;
    margin-bottom: 5px;
    border-width: 1px 0 0;
}
#right .arancio .colonna1:first-child {
    margin-top: 5px;
}
#right .arancio .colonna1 img {
    width: 48px;
}

#right .arancio .colonna2 {
    float: left;
    width: 165px;
    margin-bottom: 5px;
    border-width: 0 0 1px;
    border-style: dashed;
    border-color: #000;
    min-height: 75px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: 15px;
}

#right .arancio .colonna2 {
    margin-top: 5px;
}
#right .vetrina {
    padding-bottom: 5px;
}
#right .scaffaletutto {
    margin: 0 0 0 65px;
    padding-bottom: 5px;
}

#right .arancio div.scaffale div:last-child .colonna2, #right .arancio div.vetrina div:last-child .colonna2 {
    border-width: 0;
}

#right .arancio .riga {
    clear: both;
    margin-bottom: 5px;
}

#right .immagine p:first-child {
    padding: 10px 0;
    margin: 0 15px 10px;
    border-width: 0 0 2px;
    border-style: dotted;
    border-color: #000;
}
#right .immagine p:last-child {
    padding-bottom: 5px;
}

#right #video_gallery {
    padding: 10px 15px;
}

#right .gallerypanel {
    float: left;
    width: 110px;
    margin: 0;
}

#right .gallerypanel:first-child {
    margin: 0 10px 0 0;
}
#right .gallerypanel img {
    width: 110px;
}

#right .gallerypanel .gallerytext {
    margin: 5px 0 0;
}

#right .gallerytitle {
    line-height: 14px;
    font-weight: bolder;
}

#right .gallerydescription {
    line-height: 14px;
}

#right .rassegna {
    padding-bottom: 10px;
}

#right .rassegna_stampa {
    padding: 0 15px;
    font-family: Arial, Helvetica, sans-serif;
}
#right .rassegna_stampa p {
    padding: 0;
    font-size: 10px;
}
#right .rassegna_col1 {
    float: left;
    width: 12px;
    margin-bottom: 5px;
}

#right .rassegna_col2 {
    float: left;
    width: 215px;
    margin-bottom: 5px;
}
#right .rassegna_riga {
    clear: both;
    border-width: 1px 0 0;
    border-style: dotted;
    border-color: #000;
    margin-bottom: 5px;
}
#right .rassegna_riga:last-child {
    border-width: 0;
}

#right .bacheca p {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 14px;
}

#right .bacheca hr {
    margin: 6px 15px;
}

#content {
    margin: 0 305px 0 140px;
    font-family: 'Palatino Linotype', 'Palatino', 'URW Palladio L';
    font-size: 14px;
    color: #6E6E70;/*
     border-width: 0 1px;
     border-style: dotted;
     border-color: #000;*/
}
/*
 #contenttop ul {
 list-style: none;
 margin: 0;
 padding: 0;
 width: 820px;
 float: left;
 z-index: 200;
 }
 #contenttop ul:after {
 clear: all;
 }
 #contenttop ul li {
 width: 116px;
 float: left;
 text-align: center;
 height: 17px;
 line-height: 17px;
 font-size: 10px;
 text-transform: uppercase;
 background-color: #519CBB;
 margin-left: 1px;
 }
 #contenttop ul li a {
 text-decoration: none;
 color: #FFF;
 }

 #contenttop ul ul {
 display: none;
 }
 #contenttop ul ul li {
 clear: both;
 margin-left: 0;
 margin-top: 1px;
 }

 #contenttop ul li:hover ul {
 display: block;
 }
 /**/
#content a {
    color: #519CBB;
    font-weight: bolder;
    text-decoration: none;
}

#content .componentheading, #content h1 {
    width: 100%;
    border-width: 0 0 1px 0;
    border-style: dotted;
    border-color: #000;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: normal;
}

#content .cat-items .list-row, #content .content-category .list-row {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
#content .cat-items .list-title, #content .content-category .list-title {
    padding-top: 0px;
}

#content .article_title {
    font-size: 22px;
    line-height: 24px;
    font-weight: bolder;
    padding: 0px 0px;
}

#content div {
    padding: 10px 0px 0px;
}
#content div:first-child {
    padding: 0;
}
#content .article_separator {
    padding: 0;
}
#content .article_content {
    padding: 0 0 0;
}
#content .article_content td {
    vertical-align: top;
}
/*
 #content p.jcomments-links {
 font-family: Arial, Helvetica, sans-serif;
 }
 */

#content .article_foot {
    text-transform: uppercase;
    border-width: 1px 0 0;
    border-style: dotted;
    border-color: #000;
    padding: 2px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

#content div .article_separator {
    border-width: 0 0 3px;
    border-style: solid;
    border-color: #000;
}
#content div.item-page > div:last-child .article_separator, #content div.items-leading > div:last-child .article_separator {
    border-width: 0;
}
#content table td {
    vertical-align: top;
}

#content span.avPlayerContainer {
    clear: none;
}

p.links {
    margin-bottom: 4px;
}
p.links a {
    font-size: 12px;
}

#contentbottom {
    border-width: 3px 0 0;
    border-color: #000;
    border-style: solid;
    font-size: 12px;
}
#contentbottom h4 {
    font-style: italic;
    font-size: 12px;
}

#contentbottom1 {
    float: left;
    width: 245px;
}

#contentbottom1 p:last-child, #contentbottom2 p:last-child {
    margin-bottom: 0;
}

#contentbottom2 {
    float: right;
    width: 245px;
}
#bottom {
    height: 50px;
    border-top: 1px solid #000;
    border-bottom: 3px solid #000;
    clear: both;
    margin: 20px 0 0;
}
#bottom1 {
    height: 30px;
    position: relative;
}
#bottom1 .left {
    background: transparent url('../images/scritta_fondazione_sinisgalli_bottom.png') no-repeat 10px bottom;
    width: 100%;
    height: 30px;
}
#bottom1 .right {
    /*width: 260px;*/
    position: absolute;
    top: 16px;
    right: 16px;
    height: 20px;
    font-family: CaslonGraphiqueEFRegular;
    /*padding: 14px 0 0;*/
    color: #818284;
    /*margin-right: 16px;*/
    word-wrap: none;
}

#bottom1 ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 0 315px;
    font-size: 6pt;
    /*width: 500px;*/
}

#bottom1 ul li {
    float: left;
}
#bottom1 ul li a {
    margin: 0 2px;
    color: #818284;
    text-decoration: none;
    font-weight: bolder;
}

#bottom1 ul li:after {
    content: '/'
}
#bottom1 ul li:last-child:after {
    content: ''
}

#bottom2 {
    height: 20px;
    text-align: center;
    vertical-align: bottom;
    margin: 0 0 20px;
    font-family: Arial, Helvetica, sans-serif;
}

#bottom2 ul {
    margin: 5px 0 0;
    padding: 0;
    list-style: none;
    border: 0;
    height: 20px;
}

#bottom2 ul li {
    display: inline;
}
#bottom2 ul li a {
    text-transform: uppercase;
    font-size: 8pt;
    font-weight: bolder;
    text-decoration: none;
    color: #818284;
    margin: 0 13px;
    letter-spacing: 0px;
}

#phoca-dl-category-box table tr td.pdfile {
    padding-top: 0;
}
#phoca-dl-category-box .pddownload, #phoca-dl-category-box .pddownloadrc {
    display: none;
}
.phoca-dl-file-box-mod .pd-document16, #phoca-dl-file-box .pd-document16, #phoca-dl-category-box .pd-document16 {
    margin-top: 10px;
}

.pd-float small {
    display: none;
}
.pd-document16 {
    padding-left: 16px !important;
}

.blog h2, #content div.items-leading {
    margin: 0;
    padding: 0;
}
.avPlayerWrapper {
    clear: none !important;
}

.pd-buttons {
    display: none;
}

#phoca-dl-category-box .pd-filebox, .pd-cb, #phoca-dl-category-box .pd-fdesc {
    clear: none;
    background: none;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}
.pd-cb {
    margin: 0;
    padding: 0 !important;
}
#phoca-dl-category-box {
    margin-top: 5px;
}

#phoca-dl-category-box .pd-filebox {
    border-collapse: collapse;
    border-bottom: 1px dotted #cccccc;
    padding: 15px 0;
    margin: 0;
}
#phoca-dl-category-box .pd-filenamebox, #phoca-dl-category-box .pd-fdesc p {
    margin: 0;
    padding: 0;
}
#phoca-dl-category-box .pd-filenamebox {
    float: none;
}
#phoca-dl-category-box .pd-cdesc {
    clear: none;
}
.ricerca label {
    display: none;
}
div.pagination ul {
    display: inline-block;
    padding: 0;
    list-style: none;
}
div.pagination ul li {
    padding: 5px;
    display: inline-block;
}
#right p.fieldacyemail {
    padding: 0;
    margin: 0;
}
.video.collapsed {
    display: none;
}
.video.notcollapsed {
    display: block;
}

/* Inizio Codice Video */

#gzgallery, #gzgalleries {
    margin-top: 7px;
}

/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
    background-color: #519CBB;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-bottom: 2px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active, button.accordion:hover {
    background-color: #000;
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
}

.video-margin-bottom {
    margin-top: 7px;
    margin-bottom: 28px;
}
/* Fine Codice Video */

fieldset {
    border: 0;
}


/* Codice COOKIE POLICY */
.cc-revoke{	
	display:none !important;
}
div.cc-window.cc-banner{
	z-index:1;
}
.contentpane{
	font-family: 'Open Sans','sans-serif' !important;
}
