/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
    margin:         0;
    padding:        0;
    list-style:     none;
}
.sf-menu {
    line-height:    1.0;
}
.sf-menu ul {
    position:       absolute;
    top:            -999em;
    width:          10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
    width:          100%;
}
.sf-menu li:hover {
    visibility:     inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
    float:          left;
    position:       relative;
}
.sf-menu a {
    display:        block;
    position:       relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
    left:           0;
    top:            2.5em; /* match top ul list item height */
    z-index:        99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    left:           10em; /* match ul width */
    top:            0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
    left:           10em; /* match ul width */
    top:            0;
}

/*** DEMO SKIN ***/
.sf-menu {
    float:          left;
    /*margin-bottom:    1em;*/
}
.sf-menu a {
    border-left:    1px solid #fff;
    /*border-top:       1px solid #CFDEFF;*/
    padding:        .75em 1em;
    text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
    color: #FFFFFF;/*#13a;*/;
    font-family:    "Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size:    90%;
    font-weight:    bold;
    background:    #DB2829;
    
}
.sf-menu li {
    background: #dadada;/*#BDD2FF;*/
}
.sf-menu li li {
    background:     #AABDE6;
}
.sf-menu li li a {
    /*color: #13a;*/
}
.sf-menu li li li {
    background:     #9AAEDB;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    background:     #FE2E2E;
    color:          #000000;
    outline:        0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
    padding-right:  2.25em;
    min-width:      1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position:       absolute;
    display:        block;
    right:          .75em;
    top:            1.05em; /* IE6 only */
    width:          10px;
    height:         10px;
    text-indent:    -999em;
    overflow:       hidden;
    background:     url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    top:            .8em;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
    background: url('../images/shadow.png') no-repeat bottom right;
    padding: 0 8px 9px 0;
    -moz-border-radius-bottomleft: 17px;
    -moz-border-radius-topright: 17px;
    -webkit-border-top-right-radius: 17px;
    -webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
    background: transparent;
}
.portlet {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 2px solid #EEEEEE;
    margin: 0 0 10px;
    padding: 3px;
    text-align: left;
}
.freeform .portlet {
    margin-bottom: 0;
}
body.portlet {
    border: medium none;
}
.portlet-topper {
    background: none repeat scroll 0 0 #EEEEEE;
    border-bottom: 1px solid #AEB8BC;
    padding-right: 40px;
    position: relative;
}
.portlet-title {
    color: #CC0000;
    display: block;
    font-weight: bold;
    min-width: 50%;
    padding: 5px;
}
.ie .portlet-title {
    padding-bottom: 5px;
}
.portlet-title img {
    vertical-align: middle;
}
.portlet-icons {
    margin: 0;
    position: absolute;
    right: 5px;
    text-align: right;
    top: 5px;
}
.portlet-content, .portlet-minimized .portlet-content-container {
    padding: 0;
}
.portlet-minimized .portlet-content {
    padding: 0;
}
.portlet-icon-back {
    background: url("../images/arrows/01_left.png") no-repeat scroll 0 50% transparent;
    font-weight: bold;
    padding: 3px 0 3px 18px;
}
.lfr-panel {
    margin: 0 auto;
    width: 90%;
}
.lfr-panel .portlet-title {
    font-size: 13px;
}
.lfr-panel #content-wrapper {
    margin: 0;
    width: auto;
}
.lfr-panel .lfr-add-content h2 span {
    background-color: #D3DADD;
}
.portlet-msg-info {
    background: url("../images/messages/info.png") no-repeat scroll 6px 50% #DFF4FF;
    border: 1px solid #A7CEDF;
    color: #34404F;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}
.portlet-msg-info.pending {
    background-image: url("../images/common/time.png");
}
.portlet-msg-error {
    background: url("../images/messages/error.png") no-repeat scroll 6px 50% #FFDDDD;
    border: 1px solid #FF0000;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}
.portlet-msg-alert {
    background: url("../images/messages/alert.png") no-repeat scroll 6px 20% #FFFFCC;
    border: 1px solid #FFCC00;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}
.portlet-msg-success {
    background: url("../images/messages/success.png") no-repeat scroll 6px 50% #F4FDEF;
    border: 1px solid #ACDFA7;
    color: #384F34;
    display: block;
    font-weight: bold;
    margin: 2px auto 14px;
    padding: 6px 6px 6px 30px;
    text-align: left;
}
.portlet-section-selected, .portlet-section-selected a {
    background: none repeat scroll 0 0 #727C81;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}
.portlet-section-selected a:hover, .portlet-section-selected a:focus {
    background-color: #727C81;
}
.portlet-calendar .calendar-container {
    background-position: 0 99%;
    background-repeat: repeat-x;
    border: 1px solid #D7D7D7;
    overflow: hidden;
}
.ie .portlet-calendar .calendar-container {
    background-position: 0 98%;
}
.portlet-calendar .calendar-day {
    width: 209px;
}
.portlet-calendar .calendar-day .day-text {
    background: none repeat scroll 0 0 #727C81;
    color: #FFFFFF;
    font-size: 1.6em;
}
.portlet-calendar .calendar-day .day-number {
    border-color: #FFFFFF #FFFFFF -moz-use-text-color;
    border-style: solid solid none;
    border-width: 1px 1px medium;
    font-size: 110px;
    font-weight: normal;
    padding-bottom: 12px;
}
.portlet-calendar .calendar-container .taglib-calendar {
    background: none repeat scroll 0 0 #FFFFFF;
    border-left: 1px solid #D7D7D7;
    margin-left: -1px;
    padding-left: 0;
}
.taglib-calendar tr.portlet-section-header th, .taglib-calendar tr td {
    border: medium none;
}
.taglib-calendar tr td a {
    background-color: #F0F5F7;
    border-color: #FFFFFF #FFFFFF -moz-use-text-color -moz-use-text-color;
    border-style: solid solid none none;
    border-width: 1px 1px medium medium;
    display: block;
    height: 15px;
    padding: 5px 0;
}
.taglib-calendar table td {
    border-width: 0;
}
.taglib-calendar tr td a:hover {
    background-color: #727C81;
    color: #FFFFFF;
}
.taglib-calendar .calendar-current-day, .taglib-calendar .calendar-current-day a {
    background-color: #FFFFFF;
}
.taglib-calendar .calendar-current-day a {
    border: 1px solid #727C81;
    color: #336699;
    text-decoration: underline;
}
.portlet-calendar .taglib-calendar tr td.calendar-current-day a:hover, .portlet-calendar .taglib-calendar tr td.calendar-current-day a:focus {
    background-color: #DFF4FF;
    border-color: #AEB8BC;
    color: #0066CC;
}
.portlet-calendar .taglib-calendar td.calendar-current-day a span {
    border: medium none;
}
.taglib-calendar tr td.calendar-inactive {
    background-color: #FFFFFF;
    color: #B5BFC4;
}
.taglib-calendar tr th {
    border-bottom-color: #D7D7D7;
}
.taglib-calendar tr.portlet-section-header th, .taglib-calendar tr td {
    border-left: medium none;
    border-right: medium none;
}
