:root{
    --theme-color: #328b8c;
    --meeting-color: #ec2c2c;
    --service-color: #eca02c;
    --special-color: #881f9b;
}
body{
    margin:0;
    font-family: 'Quicksand';
}
#top{
    background-color: var(--theme-color);
    color: #fff;
    height: 5dvh;
    line-height: 5dvh;
    text-align: center;
}
#topOverlay{
    background-color: var(--theme-color);
    color: #fff;
    height: 5dvh;
    line-height: 5dvh;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 95dvh;
    left: 0;
    right: 0;
    display: none;
}
#main{
    background-color: #eee;
    position: absolute;
    top: 5dvh;
    bottom: 5dvh;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 3dvh 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1px 1px;
}
.wdh{
    font-size: 1.5dvh;
    text-align: center;
    padding: 0.5dvh;
    color: #999;
}
#overlay{
    background-color: #eee;
    width: 100dvw;
    position: absolute;
    top: 5dvh;
    bottom: 5dvh;
    display: none;
  	overflow: scroll;
}
#bottom{
    background-color: var(--theme-color);
    color: #fff;
    position: absolute;
    bottom: 0;
    left:0;
    right: 0;
    height: 5dvh;
    line-height: 5dvh;
    text-align: center;
}
.gridDay{
    text-align: center;
    background-color: white;
    padding-top: 1dvh;
    padding-right: 0.2dvh;
    padding-left: 0.2dvh;
    min-width: 0;
    min-height: 0;
}
.gridEvent{
    color: #fff;
    background-color: var(--special-color);
    font-size: 1vh;
    /*border: 1px solid #881f9b;*/
    border-radius: 0.2dvh;
    white-space: pre;
    overflow: hidden;
    margin-bottom: 0.3dvh;
    padding-top: 0.2dvh;
    padding-bottom: 0.2dvh;
}

.dayEvent{
    margin-top: 1dvh;
    color: #fff;;
    background-color: var(--special-color);
    padding:1dvh;
    font-size: 1.5dvh;
}

.dayEventGrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 1.5dvh;
    line-height: 2.5dvh;
    margin-top: 1dvh;
}

.gridEventHeading{
    font-weight: bold;
}

.gridEventSubheading{
    color: #FFF;
    font-weight: lighter;
}

.meeting{
    background-color: var(--meeting-color);
    /*border: 1px solid #ec2c2c;*/
}

.fieldService{
    background-color: var(--service-color);
    /*border: 1px solid #eca02c;*/
}

.today{
    color: var(--theme-color);
    text-decoration: underline;
}

.inactive{
    color: #999;
}

#activeMonth{
    font-weight: bold;
}
#settingsBack{
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff66;
    z-index: 100;
    display: none;
}

#settings{
    background-color: white;
    color:#333;
    padding-left: 1dvh;
    position: fixed;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
}