/*******************************Calendar Top Navigation*********************************/
div#calendar{
  margin:0px auto;
  padding:0px;
  width: 100%;
  font-family: inherit;
  max-width: none;

}
 
div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:48px;
    border-radius: 8px 8px 0 0;
    background-color: var(--app-brand, #253f4f);
}
 
div#calendar div.header{
    line-height:48px;
    vertical-align:middle;
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    height:48px;
    text-align:center;
}
 
div#calendar div.header a.prev,div#calendar div.header a.next{ 
    position:absolute;
    top:0px;   
    width:48px;
    height:48px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
    font-weight: 800;
}
 
div#calendar div.header span.title{
    color:#FFF;
    font-size:1rem;
    font-weight: 850;
}
 
 
div#calendar div.header a.prev{
    left:0px;
}
 
div#calendar div.header a.next{
    right:0px;
}
 
 
 
 
/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid var(--app-line, #dfe5eb);
    border-top:none;
    border-radius: 0 0 8px 8px;
    background: #fff;
}
 
 
 
div#calendar ul.label{
    display:grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap:6px;
    float:none;
    margin: 0px;
    padding: 12px 12px 0;
    width: auto;
}
 
div#calendar ul.label li{
    margin:0px;
    padding:0px;
    margin-right:0px;
    float:none;
    list-style-type:none;
    width:auto;
    height:28px;
    line-height:28px;
    vertical-align:middle;
    text-align:center;
    color:var(--app-muted, #687385);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: transparent;
}
 
 
div#calendar ul.dates{
    display:grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap:6px;
    float:none;
    margin: 0px;
    padding: 12px;
    width: auto;
}
 
/** overall width = width+padding-right**/
div#calendar ul.dates li{
    display:grid;
    place-items:center;
    margin:0px;
    padding:0px;
    margin-right:0.1em;
    margin-top: 0px;
    /*line-height:80px;*/
    vertical-align:middle;
    float:none;
    list-style-type:none;
    width:auto;
    min-height:42px;
    height:auto;
    border:1px solid transparent;
    border-radius: 8px;
    font-size:0.94rem;
    font-weight: 800;
    background-color: var(--app-surface-soft, #f8fafb);
    color:var(--app-ink, #172033);
    text-align:center; 
}

div#calendar ul.dates a {
    color: inherit;
    text-decoration: none;
}

div#calendar ul.dates li.mask {
    background: transparent;
}

div#calendar ul.dates li:hover {
    border-color: rgba(48, 77, 99, 0.28);
    background: #eef5f3;
}

div#calendar ul.dates li.has-open-shift {
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.14);
}

@media (max-width: 575.98px) {
    div#calendar ul.label,
    div#calendar ul.dates {
        gap:4px;
        padding-inline:6px;
    }

    div#calendar ul.label {
        padding-top:8px;
    }

    div#calendar ul.dates {
        padding-top:8px;
    }

    div#calendar ul.label li {
        height:24px;
        line-height:24px;
        font-size:0.7rem;
    }

    div#calendar ul.dates li {
        min-height:38px;
        border-radius:6px;
        font-size:0.84rem;
    }
}
 
:focus{
    outline:none;
}
 
div.clear{
    clear:both;
}     
