.calendar{
    width:100%;
    height:100%;
    background:#ededef;
    background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc));
    background: -moz-linear-gradient(top,  #ededef,  #ccc);
    text-align:center;
    color:#000;
    text-shadow:#fff 0 1px 0;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    position:relative;
    display: flex;
    flex-direction: column;
}

.calendar em{
    padding: 0.5rem;
    flex: 1;
    display:flex;
    justify-content: center;
    align-items: center;
    color:var(--lsOpac-block-header-color);
    text-shadow:#00365a 0 -1px 0;
    background-color: var(--lsOpac-block-header-bg);
    -moz-border-radius-bottomright:3px;
    -webkit-border-bottom-right-radius:3px;
    border-bottom-right-radius:3px;
    -moz-border-radius-bottomleft:3px;
    -webkit-border-bottom-left-radius:3px;
    border-bottom-left-radius:3px;
}

/* holes in te paper */
.calendar:before, .calendar:after{
    content:'';
    float:left;
    position:absolute;
    top:5px;
    width:8px;
    height:8px;
    background:#111;
    z-index:1;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    -moz-box-shadow:0 1px 1px #fff;
    -webkit-box-shadow:0 1px 1px #fff;
    box-shadow:0 1px 1px #fff;
}
.calendar:before{left:11px;}
.calendar:after{right:11px;}

/* rings */
.calendar em:before, .calendar em:after{
    content:'';
    float:left;
    position:absolute;
    top:-5px;
    width:4px;
    height:14px;
    background:#dadada;
    background:-webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa));
    background:-moz-linear-gradient(top,  #f1f1f1,  #aaa);
    z-index:2;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
}
.calendar em:before{left:13px;}
.calendar em:after{right:13px;}

.dayNumber{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.opac-global-template-calendar-wrapper{
	height: 100%;
	max-height: 7rem;
}

.calendar-display {
    height: 100%;
    width: 100%;
}
