.pdfdiv{
    display: flex;
}

.mlf{
    width: calc(100% - 20rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #eee;
    overflow: hidden;
    padding: 0.5rem;
}

.night .mlf {
    border: 1px solid #444;
}

.mlr{
    width: 20rem;
    padding-left: 0.75rem;
}

.mlr>div {
    padding: 0.25rem;
    border: 1px solid #eee;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.night .mlr>div {
    border: 1px solid #444;
}

.defsizes ul li{
    width: calc(100% / 2);
    float: left;
    padding: 0.2rem;
}

.defsizes ul li div{
    text-align: center;
    border: 1px solid #eee;
    padding: 0.5rem 0;
    cursor: pointer;
}

.night .defsizes ul li div{
    border: 1px solid #444;
}

.defsizes ul li div.act{
    background-color: #06b672;
    color: #fff;
}

.defsizes ul li div p:first-child{
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

#pagePreview{
    background-color: #f6f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
    border: 1px solid #eee;
}

.night #pagePreview {
    background-color: #181a1b;
    border: 1px solid #444;
}

@media screen and (max-width: 1290px){
    .pdfdiv {
        display:block;
    }
    .mlf {
        width:100%;
        height: 12rem;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
}