.erfcal {
    line-height:100%;
    color:#222;
    border-color:#ccc;
    font-size:13px;
    margin: 0 0 15px 0;
    padding: 0 1px;
}

.erfcal_table {
    display: table;
    table-layout:fixed;
    text-align:left;
    width:100%;
    border-collapse:collapse;
}

.erfcal * {
    border-color:inherit;
    border-width:inherit;
    text-decoration:none;
}

.erfcal_table header, .erfcal_table section {
    margin:0;
    padding:0;
}

.erfcal>header {
    padding-bottom:15px;
    border-bottom-width:1px;
    border-bottom-style:solid;
    font-weight:bold;
    width:100%;
    line-height:27px;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space:nowrap;
}

.erfcal>header>* {
    vertical-align:top;
}

.erfcal>header a {
    border-style: solid;
    border-width:1px;
    margin-right:5px;
}

.erfcal>header span {
    font-size:21px;
}

.erfcal_table .erfcal_week, .erfcal_table .erfcal_weekdays {
    display:table-row;
}

.erfcal_table .erfcal_day {
    display:table-cell;
    border-style: solid;
    border-width:1px;
    height:80px;
}

.erfcal_table .erfcal_weekdays>span {
    display:table-cell;
    padding: 15px 5px 5px 5px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}

.erfcal_table .erfcal_day>header {
    padding: 5px;
}

.erfcal_table section>header {
    text-overflow: ellipsis;
    white-space:nowrap;
    overflow:hidden;
    margin: 4px 2px;
    font-size:85%;
}

.erfcal_table header[data-uid] {
    cursor:pointer;
}

.erfcal_table section>header[style] {
    border-left: 1em solid;
    padding-left:4px;
}

.erfcal_table a:hover {
    text-decoration:underline;
}

.erfcal_table .erfcal_disabled>header {
    opacity:0.5;
}

.erfcal_table .erfcal_full {
    display:none;
}

.erfcal_table .erfcal_weekend {
    background-color:#efefef;
}

.erfcal_table .erfcal_today {
    box-shadow: inset 0 0 0 1px;
}

.erfcal_table .erfcal_today>header {
    font-weight:bold;
}

.erfcal .popover-title {
    display:none;
}

.erfcal .popover-content>header[style] {
    border-left: 1em solid;
    padding-left:4px;
    line-height:100%;
}

.erfcal .popover-content>header {
    font-weight:bold;
    margin-bottom:15px;
}

.erfcal .popover hr {
    border-top-width:1px;    
    margin: 0 -16px 15px -16px;
}

.erfcal .popover {
    line-height: normal;
}

.erfcal .popover-content {
    padding: 15px 15px 0 15px;
}
