*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body
{
    color: #111;
    font-family: 'Titillium Web', sans-serif;
}

#container
{
    max-width: 90%;
    margin: 0 auto;
    padding-bottom: 40px;
}

#search-header
{
   margin: 40px 0;
}

#search-header input
{
    border: 1px solid #ccc;
    padding: 20px 10px;
    font-size: 14px;
    border-radius: 6px;

}


.list
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
    gap: 40px 20px;
}



h2
{
    font-weight: 300;
    display: block;
    margin: 40px 0 20px;
}

h3
{
    margin-bottom: 20px;
    font-weight: 300;
}


.list-item .list-item
{
    justify-content: center;
  align-items: center;
  display: flex;
  background: #fff;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
}

.list-item a
{
    display: flex;
    padding: 20px;
    box-shadow: 0 1px 10px 0 rgba(51,51,51,0.10);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: .3s ease-out all;
    transition:transform .2s;
}

.list-item a img
{
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.item-name
{
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}


.list-item a:hover
{
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}








#container
{
    /*display: none;*/
}

#login-wrapper
{
    display: flex;
    height: 100%;
    align-items: center;
}


#logo
{
    text-align: center;
    margin-bottom: 20px;
}

.wrap {
    background-color: #ffffff;
    padding: 2%;
    width: 25%;
    min-width:350px;
    margin: 0 auto;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 0 5px #ccc;
    border: 1px solid #fff;
}

input, select {
    width: 100%;
    margin-bottom: 10px;
    padding: 5%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #efefef;
    font-size: 15px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

input.submit {
    width: 100%;
    padding: 5%;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #45b3e7;
    font-size: 15px;
    background-color: #45b3e7;
    color: #fff;
    margin-top: 25px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    cursor: pointer;
}


.popup
{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.popup-wrapper
{
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    height: 100%;
}

.hidden
{
    display: none;
}

.wrap
{
    position: relative;
}
.popup-close
{
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 12px;
    color: #000;
}

.add-new-item
{
    position: absolute;
    top: 0;
    right: 10px;
    background: #000;
    padding: 10px;
    font-size: 10px;
    color: #fff;
    text-decoration: none;
}

@media screen and (min-width: 768px)
{
    .list
    {
        grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    }

    .list-item a img
    {

        height: 120px;

    }
}
