/* BEGIN SPINNER: http://tobiasahlin.com/spinkit/ */
.loading-spinner {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.75);
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
  0% { -webkit-transform: perspective(120px) }
  50% { -webkit-transform: perspective(120px) rotateY(180deg) }
  100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes sk-rotateplane {
  0% { 
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) 
  } 50% { 
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) 
  } 100% { 
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
/* END SPINNER */

ul.menu-bar, .menu-bar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-bar li {
    padding: 0;
}

.menu-bar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.menu-bar > li {
    border-top: solid 1px rgba(255, 255, 255, 0.25);
    border-bottom: solid 1px rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.075);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-bar > li:first-child {
    border-left: solid 1px rgba(255, 255, 255, 0.25);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.menu-bar > li:last-child {
    border-right: solid 1px rgba(255, 255, 255, 0.25);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.menu-bar > li > ul {
    display: flex;
    flex-direction: column;
}

.menu-option {
    padding: 10px;
    cursor: pointer;
    transition: 0.2s color ease;
}

.menu-option:hover {
    color: rgba(255, 255, 255, 1);
}

ul:not(.menu-bar) > li > .menu-option {
    border-left: solid 1px rgba(255, 255, 255, 0.25);
    border-right: solid 1px rgba(255, 255, 255, 0.25);
}

#capparis-product-scroll {
    width: 100%;
    border: solid 1px rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    margin-bottom: 1em;
    padding: 25px;
    display: flex;
    align-content:  center;
    justify-content: space-between;
}

#scroll-prev-button, #scroll-next-button {
    margin-top: auto;
    margin-bottom: auto;
}

#scroll-prev-button {
    margin-right: 15px;
}

#scroll-next-button {
    margin-left: 15px;
}

#capparis-product-viewport {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
}

.image-container {
    min-width: 200px;
    min-height: 200px;
    border: solid 1px rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#capparis-product-viewport .image-container {
    margin-left: 12.5px;
    margin-right: 12.5px;
}

#capparis-product-viewport .image-container:first-child {
    margin-left: 0;
}

#capparis-product-viewport .image-container:last-child {
    margin-right: 0;
}

#capparis-product-scroll img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

#product-type-buttons {
    display: flex;
    justify-content:  center;
    margin-bottom: 1em;
}

#product-type-buttons button {
    margin-left: 0.5em;
    margin-right: 0.5em;
    color: white;
    font-family: inherit;
    font-weight: bold;
    font-size: inherit;
    line-height: inherit;
}

#product-type-buttons button:focus {
    outline: 0;
}

#registration-form {
    display: flex;
    width: 50%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#registration-form > * {
    margin-bottom: 10px;
}