
/* ----- portlets.css ----- */
@media screen {
/*
** Plone style sheet - Portlets
**
** Style sheet documentation can be found at http://plone.org/documentation
**
** You should preferrably use ploneCustom.css to add your own CSS classes and to
** customize your portal, as these are the base fundaments of Plone, and will
** change and be refined in newer versions. Keeping your changes in
** ploneCustom.css will make it easier to upgrade.
**
** Feel free to use whole or parts of this for your own designs, but give credit
** where credit is due.
**
*/

/*  (do not remove this :) */
/*  (not this either :) */

/* The new portlet CSS - these will be switched to non-qualified classes
   (ie. .portlet, not dl.portlet) once the old portlet layout is removed in
   Plone 2.5. ~limi */

/* Main portlet elements */

dl.portlet {
    margin: 1px 0 1em 0;
    background-color: White;
}

dl.portlet a {
    text-decoration: none;
}

.portlet a.tile {
    display: block;
}


/* XXX: The two below rules should really be in the rule above, but that makes the items grow/shrink on :hover (navtree) - need to investigate how to make it not do that. ~limi, Dec 2005 */
dd.portletItem a,
dd.portletFooter a {
    border-bottom: none;
}


.portletHeader {
    background-image: url(http://www.comune.sannazzarodeburgondi.pv.it/img/puntoslot.gif);
    background-position: left bottom;
    background-repeat: no-repeat;
    border-bottom: 1px solid #BF0000;
    padding: 0em 0em 0em 30px;;
    font-weight: bold;
    font-size: 120%;
    line-height: 1.6em;
    color: #BF0000;
}

.portletHeader a {
    color: #BF0000;
}

.portletItem {
    margin: 0;
    padding: 1em 1em 1em 30px;;
}

.portletItemDetails {
    text-align: right;
    display: block;
    color: #222222;
}

dd.portletFooter {
    margin: 0;
    padding: 0.25em 1em;
    text-align: right;
    border: 0;
}


/* Elements that enable layout with rounded corners */

.portletTopLeft {}
.portletTopRight {}
.portletBottomLeft {}
.portletBottomRight {}



/* New navtree styles */

.portletNavigationTree {
    margin: 0 0 0 0.75em; 
    padding: 0; 
    list-style: none; 
    list-style-image: none; 
    line-height: 1em;
}



.navTree {
    list-style: none; 
    list-style-image: none; 
    margin-top: 1px;
}

.navTreeLocal {
    margin: 0 0 0 0.75em;
}

.navTree li {
    margin-bottom: 1px;
}

.navTreeItem {
    display: block;
    padding: 0;
    margin: 0;
}
.navTreeItem a {
    display: block;
    text-decoration: none;
    padding: 0.4em 0.2em 0.4em 0.2em;
    color: black;
    font-weight: bold;
    border-bottom: 1px solid #CCCCCC;
}

dd.portletItem .navTreeItem a {
    display: block;
    text-decoration: none;
    padding: 0.6em 0.2em 0.6em 0.2em;
    color: black;
    font-weight: bold;
    border-bottom: 1px solid #CCCCCC;
}

.navTreeItem a:hover,
dd.portletItem .navTreeItem a:hover {
    background-color: #CCCCCC;
}


#portlet-navigation-tree a.navTreeCurrentItem {
    display: block;
    color: #BF0000;
    text-decoration: none;
}

.visualIconPadding,
.actionMenu .actionMenuContent .visualIconPadding {
    padding-left: 0.5em;
    margin-bottom: 1px;
    min-height: 1.6em;
    height: auto;
    line-height: 1.6em;
}

/* Another workaround for broken Internet Explorer */

* html li.navTreeCurrentItem a,
* html li.navTreeCurrentItem a:hover {
    height: 1.6em;
}

/* IE workaround to make sure the element is selectable in its full width */
* html .visualIconPadding {
    height: 1.6em;
}


.navTreeLevel0 { margin: 0; }
.navTreeLevel1 { margin-left: 0.75em;}
.navTreeLevel2 { margin-left: 1.2em; }
dd.portletItem .navTreeLevel2 .navTreeItem a {
    display: block;
    text-decoration: none;
    padding: 0.5em 0.2em 0.5em 0.2em;
    font-weight: bold;
    font-size: 95%;
    line-height: 100%;
}
.navTreeLevel3 { margin-left: 1em; }
dd.portletItem .navTreeLevel3 .navTreeItem a {
    display: block;
    text-decoration: none;
    padding: 0.4em 0.2em 0.4em 0.2em;
    color: #444444;
    font-weight: bold;
    font-size: 90%;
    line-height: 95%;
    background-color: #E8EAF6;
}
.navTreeLevel4 { margin-left: 1em; }
.navTreeLevel5 { margin-left: 0.75em; }


.navTreeItem a:hover,
dd.portletItem .navTreeItem a:hover {
    background-color: #CCCCCC;
}

/*
** Calendar elements - used in the calendar rendering
*/

#portlet-calendario dd {
 margin: 1em 0 0 0; 
 padding: 0 0.5em;
}
.dayPopup {
    background-color: #ffffe1;
    border: 1px solid Black;
    padding: 0.2em;
    position: absolute;
    visibility: hidden;
    width: 12em;
    z-index: 2;
}
.date {
    font-weight: bold;
}

.ploneCalendar {
    margin: auto;
    margin-top: 1px;
    margin-bottom: 1em;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #54609D;
}
.ploneCalendar a {
    text-decoration: none;
}
.ploneCalendar a:hover {
    text-decoration: none;
}
.ploneCalendar th {
    font-weight: normal;
    text-align: center;
    line-height: 1.6em;
    background-color: #DDDFEB;
    border-bottom: 1px solid #54609D;
}
.ploneCalendar td {
    width: 14%;
    text-align: right;
    padding: 2px;
    border-collapse: collapse;
    border: 1px solid #54609D;
}
.ploneCalendar .weekdays td {
    text-align: center;
    padding: 2px;
    color: #BF0000;
    background-color: #DDDFEB;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #54609D;
}
.ploneCalendar .event {
    color: #BF0000;
    font-weight: bold;
}
.ploneCalendar .todayevent {
    background-color: #DDDFEB;
    border-right: 0;
    border-bottom: 0;
    font-weight: bold;
}
.ploneCalendar .todaynoevent {
    border-right: 0;
    border-bottom: 0;
    background-color: #DDDFEB;
}
.ploneCalendar #calendar-previous {
    background-image: url(http://www.comune.sannazzarodeburgondi.pv.it/arrowLeft.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.ploneCalendar #calendar-next {
    background-image: url(http://www.comune.sannazzarodeburgondi.pv.it/arrowRight.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.ploneCalendar #calendar-previous a,
.ploneCalendar #calendar-next a {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border: 0;
    margin: 0;
    padding: 0;
    padding-top: 9px;
    height: 0px !important;
    height /**/: 9px;
    cursor: pointer;
}
.ploneCalendar #calendar-next a {
    padding-top: 9px;
    height: 0px !important;
    height /**/: 9px;
}

/* altre navigazioni minori */

.navigazione {
    margin: 0; 
    padding: 0; 
    list-style: none; 
    list-style-image: none; 
    /*line-height: 1em;*/
    font-weight: bold;
}
.navigazione li {
    margin: 0; 
    padding: 0;
}
.navigazione li a {
    margin: 0;
    display: block;
    text-decoration: none;
    padding: 0.2em 0.2em 0.2em 0.2em;
    color: black;
    border-bottom: 1px solid #CCCCCC;
}
.navigazione a:hover {
    background-color: #CCCCCC;
}
.navigazione li a:hover {
    background-color: #CCCCCC;
}
.navigazione li ul li a:hover {
    background-color: #CCCCCC;
}

#portal-navigadentro {
    background-color: #DDDFEB;
    border: 1px solid #54609D;
    padding: 1em;
    margin-top: 2em;
}
#portal-navigadentro ul {
    font-weight: bold;
    color: black;
}
#portal-navigadentro ul li a{
    border: 0;
    text-decoration: none;
    color: black;
}
#portal-navigadentro ul li a:hover{
    text-decoration: underline;
}

#portal-newsdentro {
    background-color: #DDDFEB;
    border: 1px solid #54609D;
    padding: 0.5em 1em 1em 1em;
    margin-top: 2em;
}
#portal-newsdentro ul {
    font-weight: bold;
    color: black;
    margin-top: 1em;
}
#portal-newsdentro ul li a{
    border: 0;
    text-decoration: none;
    color: black;
}
#portal-newsdentro ul li a:hover{
    text-decoration: underline;
}


#portlet-news {
    background: transparent;
}
#portlet-news .portletHeader {
    margin: 0 1em 2em 0;
    padding: 0;
    font-size: 130%;
    background: transparent;
}
#portlet-news dd {
    margin: 0 2em 0 0;
}
#portlet-news .portletFooter {
    background: transparent;
    border: 0;
}

#portlet-eventi {
    background: transparent;
}
#portlet-eventi .portletHeader {
    margin: 0 1em 2em 0;
    padding: 0;
    font-size: 130%;
    background: transparent;
}
#portlet-eventi dd {
    margin: 0 2em 0 0;
}
#portlet-eventi .portletFooter {
    background: transparent;
    border: 0;
}
/*  */

}

