*{
    box-sizing: border-box;
}

fieldset{
    border: hidden;
    display: flex;
    flex-direction: row;
    padding: 0.5em 1em;
    min-height: 3em;
}

fieldset input{
    max-width: 13em;
    flex-grow: 1;
    margin-right: 1em;
}

li{
    display: flex;
    flex-direction: row;
}

li button{
    all: unset;
    cursor: pointer;
    margin: 0 1em;
}

ul{
    padding: 1em;
    flex-grow: 1;
    overflow-y: auto;
}

.listManagerContainer{
    display: flex;
    flex-direction: column-reverse;
    min-height: 100%;
    justify-content: flex-end;
}

html, body{
    height: 100%;
    margin: 0;
}

.availableLists{
    display: flex;
    flex-direction: column;
}

.availableLists li{
    display: flex;
    flex-direction: row;
}

.availableLists li p{
    cursor: pointer;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currentList{
    background-color: antiquewhite;
    display: flex;
    flex-direction: column;
}

.currentList .provisional{
    opacity: .6;
}

.currentList li{
    display: flex;
    flex-direction: row;
   
}


.currentList .itemText{
    flex-grow: 1;
}

.currentList .text{
    margin-bottom: 0;
    margin-top: 0;
    font-weight: bold;
}

.currentList .checked .text{
    text-decoration: line-through;
}

.currentList .description{
    margin-top: 0.1em;
    font-size: 0.8em;
    
}

.currentList header{
    height: 3em;
    text-align: center;
    font-size: large;
    font-weight: bold;
    padding: 1em;
}



@media (min-width: 480px) {
    
    .listManagerContainer{
        display: flex;
        flex-direction: row;
        height: 100%;
    }


    .currentList{
        width: calc(100% - 10em);
    }
}