a {
    color: #000;
    text-decoration: none;
}

a:visited {
    color: #000;
}

a:hover {
    color: #04a;
}

body {
    background-color: #eee;
    color: #111;
}

#main {
    padding-bottom: 8rem;
}

.lineitem {
    display: flex;
    align-items: center;
    width: 100%;
    flex-flow: wrap;
}

.lineitem p {
    flex-grow: 1;
}

.lineitem input {
    margin-left: auto;
    margin-right: 1rem;
}

.lineitem input[type=text] {
    margin-right: auto;
    margin-left: 1rem;
}

.lineitem hr {
    width: 100%;
}

.lineitem button {
    margin-left: 1rem;
    margin-right: 1rem;
}

.lineitem .fa-regular {
    margin-right: 1rem;
}

.listlink {
    display: block;
    width: 100%;
    height: 100%;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.modal {
    width: 100%;
    margin-left: 1rem;
}

#plus-btn {
    position: fixed;
    margin-right: 2rem;
    margin-bottom: 2rem;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.errormsg {
    background-color: #a22;
    color: #eee;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.errormsg p {
    text-align: center;
}

#share-list-form > button {
    margin: 1rem 0;
}

#main div.lineitem:nth-child(even){
    background-color: #f5f5f5;
}

#nav {
  background-color: #333;
  overflow: hidden;
}

#nav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

#nav .icon {
  display: none;
}

.strike {
    text-decoration: line-through;
    text-decoration-thickness: 0.125rem;
}


@media screen and (max-width: 600px) {
    #nav a {
        display: none;
    }
    #nav a.icon {
        float: right;
        display: block;
    }

    #nav.vis {
        position: relative;
    }
    
    #nav.vis a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    #nav.vis a {
        float: none;
        display: block;
        text-align: left;
    }

    .lineitem input[type=checkbox] {
        display: none;
    }

    .lineitem .fa-regular {
        font-size: 1.5rem;
        padding-left: 1rem;
    }

    .lineitem i:last-child {
        margin-left: auto;
    }
} 
