.datepanel {
    display: none;
    position: fixed;
    top: 100px;
    left: auto;
    right: auto;
    background: white;
    border: 1px solid black;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-left: 70px;
}

.datepanel > div {
    margin: 0px 60px;
    display: flex;
    width: 180px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .datepanel {
        flex-direction: column;
        margin: 10px;
        width: calc(100% - 40px);
    }
    
    .datepanel > div {
        width: auto;
    }
}


.datepanel .month_container, .datepanel .year_container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 150px;
}

.datepanel .year_container {
    font-size: 1.5em;
}

.datepanel .month_container div {
    width: 80px;
    text-align: left;
    font-size: 1.2em;
}

.datepanel td {
    text-align: right;
    font-size: 1em;
}

.datepanel .inactive {
    color: gray;
}

.datepanel .active {
    cursor: pointer;
}


.datepanel .selected {
    color: green;
    font-weight: bold;
}

.datepanel a {
    text-decoration: none;
}

.datepanel a.active {
    color: black;
}

