div {
    text-align: center;
}

body, html {
    margin: auto;
    text-align: center;
    height: 100%;
}

.grid-container {
    margin: auto;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    background: #f3f3f3;
}

.grid1 {
    margin: auto;
    display: table-cell;
    grid-column: 1 / 2;
}

.grid2 {
    margin: auto;
    display: table-cell;
    grid-column: 2 / 3;
}

.grid3 {
    margin: auto;
    display: table-cell;
    grid-column: 3 / 4;
}

.grid4 {
    margin: auto;
    display: table-cell;
    grid-column: 4 / 5;
}

.grid5 {
    margin: auto;
    display: table-cell;
    grid-column: 5 / 6;
}

.topNav {
    position: fixed;
    height: 100px;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 100;
}

.topNav a{
    display: inline-block;
    color: #e30000;
    font-weight: bold;
}

#container {
    margin: auto;
    position: relative;
    top: 100px;
    width: 100%;
    text-align: center;
    background: white;
    height: 80%;
    background-position: center;
    background-size: cover;
}

.logoImage {
    margin: auto;
    height: 100px;
    padding: 1%
}

.smallLogoImage {
    height: 50px;
}

.centerImage {
    text-align: center;
    margin: auto;
    width: 30vw;
    padding: 2%;
}

#container2 {
    margin: auto;
    position: relative;
    top: 0;
    width: 100%;
    text-align: center;
    background: white;
    background-position: center;
    background-size: cover;
}

#scrollTop {
    position: fixed;
    bottom: 125px;
    right: 0;
    z-index: 100;
}

#scrollTopImg {
    width: 50px;
    height: 50px;
    transform: rotate(180deg);
}

#scrollDown {
    position: fixed;
    bottom: 75px;
    right: 0;
    z-index: 100;
}

#scrollDownImg {
    width: 50px;
    height: 50px;
}

.scrolled{
    top: 50px !important;
}

.shopImage{
    width: 15vw;
    z-index: 0;
    opacity: 100% ;
    margin: 1%;
}

#shopImage1{
    position: fixed;
    left: 0;
    top: 20vh;
}

#shopImage2{
    position: fixed;
    right: 0;
    top: 20vh;
}

#shopImage3{
    position: fixed;
    left: 0;
    bottom: 5vh;
}

#shopImage4{
    position: fixed;
    right: 0;
    bottom: 5vh;
}

#FreechoiceLogo{
    margin-top: 100px;
}

div .error{
    background-color: red;
    border: 1px solid;
    color: white;
    border-radius: 5px;
    margin: 10px;
}

div .success{
    background-color: forestgreen;
    border: 1px solid;
    color: white;
    border-radius: 5px;
    margin: 10px;
}

#search{
    position: relative;
    right: 2.5vw;
}

#searchForm .autocomplete-items {
    position: fixed;
    border: 1px solid #d4d4d4;
    z-index: 5000;
    /*position the autocomplete items to be the same width as the container:*/
    top: 13%;
    right: 5%;
    width: 15%;
}
#searchForm .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
#searchForm .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
#searchForm .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#searchForm input[type=search]{
    border: 2px solid #e30000;
    outline: unset;
    padding: 5px;
    border-radius: 5px;
    width: 90%;
}

#searchForm input[type=search]:focus{
    box-shadow: 0 0 0 5px #ffa9a9;
}

.float-dark{
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: block;
    position: fixed;
    top: 0;
    z-index: 200;
    text-align: center;
}
