.calModal {
    display: none;
    height:auto;
    width: auto;
    max-width: 60%;
    position: fixed;
    top: 20%;
    left: 25%;
    right: 25%;
    z-index: 100;
    background-color: white;
    border-radius: 8px;
    box-shadow: 2px 2px 1px black;
    overflow: hidden;
}

#closeCalendarModal {
    display: inline-flex;
    position: absolute;
    right: 0%;
    top: 1.5%;
}

#closeCalendarModal > button {
    border-style: none;
    background: none;
    overflow: hidden;
    margin-right: 1rem;
}

#closeCalendarModal > button:hover {
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
}

#app_controls {
    width: 90%;
    margin: 1rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#app_controls label {
    font-family: RobotoMono-Regular;
    vertical-align: middle;
}

#app_controls label:last-of-type {
    padding-left:1rem;
}

#selectItems {
    min-width: 254px;
}

#weekBttns {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: RobotoMono-Regular;
    min-width: 170px
}

#weekBttns button {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
}

#previousWeek:hover,
#previousWeek:active{
    background-color: rgba(255, 255, 0, 0.486);
}

#nextWeek:hover,
#nextWeek:active{
    background-color: rgba(255, 255, 0, 0.486);
}

#viewBttns {
    min-width: 180px;
}

#viewBttns button {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    margin-left: 1rem;
}

#monthView:hover,
#monthView:active {
    background-color: rgba(255, 255, 0, 0.486);
}

#weekView:hover,
#weekView:active {
    background-color: rgba(255, 255, 0, 0.486);
}

#listView:hover,
#listView:active {
    background-color: rgba(255, 255, 0, 0.486);
}

#app_calendar .month_calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1.2rem repeat(6, 1fr);
    min-height: 50rem;
    width: 90%;
    margin: 1rem auto 2rem auto;
    outline: 2px solid lightgray;
    background-color: rgba(211, 211, 211, 0.1);
}

#app_calendar .week_calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1.2rem 1fr;
    min-height: 40rem;
    width: 90%;
    margin: 1rem auto 2rem auto;
    outline: 2px solid lightgray;
    background-color: rgba(211, 211, 211, 0.1);
}

#app_calendar .list_calendar {
    display: Flex;
    flex-direction: column;
    align-items: center;
    min-height: 45rem;
    width: 90%;
    margin: 0 auto 0 auto;
}

.listDayItem {
    Width: 80%;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-radius: 16px;
    box-shadow: 2px 2px 10px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dayTitle {
    font-family: BebasNeue-Regular;
    background-color: yellow;
    width: 100%;
    padding: 0.5rem 0 0.5rem 2rem;
}

.dayItem  {
    font-size: 0.8rem;
    font-family: RobotoMono;
    padding: 1.2rem 2rem 1.2rem 2rem;
}

.FT {
    background-color: rgba(0, 130, 252, 0.1);
}

.HFT {
    background-color: rgba(128, 255, 0, 0.1);
}

.Pistol {
    background-color: rgba(139, 0, 139, 0.1);
}

.Workparty {
    background-color: rgba(220, 150, 20, 0.1);
}

.Meeting{
    background-color: rgb(255,247,214);
}

.info {
    padding-top: 1rem;
    margin-left: 1rem;
    overflow-wrap: break-word;
}

.dayItem:hover,
.dayItem:active{
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.title {
    font-family: BebasNeue-Regular;
    background-color: white;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

.blank {
    background-color: rgba(211, 211, 211, 0.2);
    width: 100%;
    text-align: center;
    padding-top: 0.5rem;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray
}

.weekend {
    color: rgb(0, 130, 252);
}

.day {
    font-family: BebasNeue-Regular;
    font-size: 0.8rem;
    background-color: white;
    width: 100%;
    text-align: right;
    padding-top: 0.2rem;
    padding-right: 0.2rem;
    border-bottom: 1px solid lightgray;
    border-right: 1px solid lightgray;
}

#viewBttns .activeView {
    background-color: rgba(255, 255, 0, 0.3);
}

#app_calendar .hidden {
    display: none;
}

#weekBttns.hidden {
    display: none;
}

.hidden {
    display: none;
}

.eventItem{
    margin-bottom: 0.5rem;
    padding: 0.3rem 0 0.3rem 1rem;
    color: black;
    text-align: left;
    font-size: 0.9rem;
}

.eventItem:hover,
.eventItem:active{
    border: 1px solid rgba(0, 0, 0, 0.2);
}

@media (max-width: 850px), (max-height: 650px) {
    #app_controls {
        min-height: 6rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content:space-around;
        align-items: center;
    } 
}

@media (max-width: 650px), (max-height: 650px) {
    #app_controls #weekBttns,
    #app_controls #viewBttns {
        display: none;
    } 
}