/* Contents
---------------------------------------------------
- Media Queries
- Font Fase
- Base Styles
- Grid
- Typography
- Hyperlinks
- Header
- Mobile Menu Icon
- Styling for menu.js
- Menu
- Menu Underline
- Body
- Grid
- Images
- Footer
- Base Styles
- Homepage
- About
- Products & Services
- Upload pages
*/


/* Media Queries
------------------------------------------------- */
/* Create the queries near the relevant code */

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet 
(also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 780px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}


/* Font Face
------------------------------------------------- */
@font-face {
  font-family: 'Akzidenz';
  src: url("../fonts/AkzidGrtskNext-Regular.woff") format('woff');
  font-weight: normal;
}

@font-face {
  font-family: 'Akzidenz';
  src: url("../fonts/AkzidGrtskNext-Med.woff") format('woff');
  font-weight: bold;
}

@font-face {
  font-family: 'Akzidenz';
  src: url('../fonts/AkzidGrtskNext-Italic.woff') format('woff');
  font-style: italic;
}


/* Base Styles
------------------------------------------------- */
*, *:before, *:after {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --color-primary: #F2F2EC;
  --color-primaryvariant: ;
  --color-secondary: ;
  --color-secondaryvariant: ;
  --color-background: #F2F2EC;
  --color-surface: ;
  --color-error: ;
  --color-onprimary: #2D2520;
  --color-onsecondary: ;
  --color-onbackground: #2D2520;
  --color-onsurface: ;
  --color-onerror: ;
}

/* html is set to 62.5% so that all rem measurements
are based on 10px sizing; 1.5rem = 15px */
html {
  font-size: 62.5%;
}

body {
  background-color: var(--color-background);
  color: var(--color-onbackground);
  font-family: 'Akzidenz', 'Arial', sans-serif;
  font-size: 1.24rem; 
  font-weight: 400;
  line-height: 1.28;
}

@media (min-width: 780px) {
  body {
    font-size: 1.34rem;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 2rem;
  }
}


/* Grid
------------------------------------------------- */
.container {
/*  border: 2px solid red;*/
  position: relative;
/*  width: 100%;*/
/*  margin: 2vw;*/
/*  padding: 20vw;*/
  margin: 0 auto;
/*  padding: 0 4%;*/
  box-sizing: border-box; 
}

.column,
.columns {
/*  border: 2px solid purple;*/
  width: 100%;
  height: 100%;
  float: left;
  box-sizing: border-box; 
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 92%;
  }
  .column,
  .columns {
    margin-left: 4%; 
  }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .two-and-a-half.columns         { width: 17.6666666666%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}


/* Typography
------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: ;
  font-weight: ;
}

h1 { font-size: 1.2rem; line-height: 1.2;  letter-spacing: ; margin: 0; font-weight: bold;}
h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: ; margin: 0.4em 0;}
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

@media (min-width: 780px) {
  h1 { font-size: 1.4rem; line-height: 1.4; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}


@media (min-width: 1200px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}


/* Hyperlinks
------------------------------------------------- */
a {
  color: var(--color-onbackground);
  cursor: pointer;
}


/* Header
------------------------------------------------- */
header {
/*  border: 2px solid aqua;*/
  
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-onbackground);
  position: fixed;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 7vh;
  top: 0;
  padding: 0 4vw;
  z-index: 40;
}

@media (min-width: 780px) {
  header {
    height: 7vh;
    padding: 0 1.6vw;
  }
}

header a {
  text-decoration: none;
}

.header-images {
/*  border: 2px solid yellow;*/
  
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  position: relative;
  z-index: 10;
}

.menu-logo {  
  height: 7vh;
  padding-top: 0.2vh;
  padding-bottom: 0.2vh;
}

@media (min-width: 780px) {
  .menu-logo {
    height: 7.1vh;
    padding-top: 0.7vh;
    padding-bottom: 0.5vh;
  }
}


/* Mobile Menu Icon
------------------------------------------------- */
.menu-icon {
/*  border: 2px solid blue;*/
  width: 6vw;
/*  height: 5rem;*/
  transition: all 0.5s;
}

@media (min-width: 780px) {
  .menu-icon {
    display: none;
  }
}

.menu-icon > span {
  background-color: var(--color-onbackground);
  display: block;
  position: relative;
  top: 48%;
  height: 0.2rem;
  margin-right: 2vw;
/*  margin: 0 1.2rem;*/
  transition: all 0.5s;
}

.menu-icon > span:before,
.menu-icon > span:after {
  background-color: var(--color-onbackground);
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}

.menu-icon > span:before {
  transform: translateY(-0.4rem); /* distance from middle dash */
}

.menu-icon > span:after {
  transform: translateY(0.4rem); /* distance from middle dash */
}


/* Styling for menu.js
------------------------------------------------- */
.menu-icon.open {
  transform: rotate(45deg);
}

.menu-icon.open > span {
  background-color: var(--color-onbackground);
}

/* This one needs to be transparant */
.menu-icon.open > span:before {
  transform: rotate(90deg;);
  background-color: transparent;
}

.menu-icon.open > span:after {
  transform: rotate(90deg);
  background-color: var(--color-onbackground);
}


/* Menu
------------------------------------------------- */
.menu {
/*  border: 2px solid brown;*/
  
  background-color: var(--color-background);
  display: none;
  position: absolute;
  flex-grow: 2;
  width: 100%;
  height: 93vh;
  top: 7vh;
  left: 0;
/*  padding: 0 4vw;*/
}

@media (min-width: 780px) {
  .menu {
    display: flex;
    position: static;
    justify-content: space-around;
    align-items: center;
    height: auto;
    padding: 0;
    width: 120vw;
  }
}

.menu-item {
/*  border: 2px solid green;*/
  color: var(--color-onbackground);
  display: block;
  padding: 3.5vw 0 2.2vw 3.3vw;
  border-bottom: 1px solid var(--color-onbackground);
  font-size: 1.3rem;
}

@media (min-width: 780px) {
  .menu-item {
    padding: 0.92vh 0 0.76vh 0;
    border: 0;
    font-weight: 900;
  }
}

@media (min-width: 1200px) {
  .menu-item {
    font-size: 2rem;
  }
}

.menu-open {
  display: inline;
}

.dropdown {
/*  border: 2px solid orange;*/
}

.dropdown-menu {
/*  border: 2px solid aqua;*/
}

.dropdown-item {
/*  border: 2px solid red;*/
  
  color: var(--color-onbackground);
  display: block;
  padding: 1rem 0 0 2rem;
}

@media (min-width: 780px) {
  .menu-active {
/*    color: var(--color-onbackground);*/
/*    display: block;*/
/*    vertical-align: middle;*/
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
/*    box-shadow: 0 0 1px rgba(0, 0, 0, 0);*/
/*    transform: translateY(2px);*/
/*    overflow: hidden;*/
  }

  .menu-active:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    background: var(--color-onbackground);
    height: 2px; /* thickness of underline of active menu item */
/*    -webkit-transform: translateY(2px);*/
/*    transform: translateY(2px);*/
  }
  
  .menu a:hover {
    color: var(--color-onbackground);
  }
  
  .dropdown {
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
  }
  
  .dropdown:hover .dropdown-menu {
    background-color: var(--color-background);
    display: block;
  }
  
  .dropdown-item {
    width: 14rem;
    padding: 2rem 1rem 1rem 1rem;
  }
}


/* Menu Underline
------------------------------------------------- */
@media (min-width: 780px) {
  .menu-underline {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
  }

  .menu-underline:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-onbackground);
    height: 2px;
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }

  .menu-underline:hover:before, .menu-underline:focus:before, .menu-underline:active:before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}


/* Base styles
------------------------------------------------- */
.paragraph {
  padding: 2vh 3vw 0 3vw;
}

.intro-paragraph {
  height: 93vh;
}

@media (min-width: 550px) {
  .paragraph {
/*    padding: 2vw 0 1vw 0;*/
    padding: 2vw 0 0 0;
  }
  
  .intro-paragraph {
/*    padding-right: 4vw;*/
  }
}

.alinea {
  display: block;
  padding-bottom: 3vh;
}

.current-menu-title {
  font-weight: bold;
  padding: 4vw 0 2.6vw 3.3vw;
  border-bottom: 1px solid black;
  font-size: 1.3rem;
}

@media (min-width: 550px) {
  .current-menu-title {
    display: none;
  }
}


/* Homepage
------------------------------------------------- */
main {
  margin-top: 7vh;
/*  height: 92vh;*/
/*  width: 100%;*/
}

@media (min-width: 780px) {
  main {
    margin-top: 7vh;
  }
}

.first-homepage {
/*  border: 2px solid blue;*/
  
  height: 93vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 780px) {
  .first-homepage {
    height: 93vh;
  }
}

.intro-images {
/*  border: 2px solid purple;*/
  
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.intro-logo {
  display: none;
}

@media (min-width: 780px) {
  .intro-logo {
    display: block;
    position: absolute;
    left: 0;
    top: 34vh;
    margin-left: 4vw;
    width: 39.4vw;
    max-height: 620px;
  }
}

.slideshow-arrows {
  display: none;
}

.slideshow-indicator {
  display: none;
}

@media (min-width: 780px) {
  .slideshow-arrows {
    display: block;
    position: absolute;
    right: 0;
    top: 48vh;
    margin-right: 2vw;
    width: 2.5vw;
/*    color: var(--color-primary);*/
  }
  
  .slideshow-arrows.left {
    right: 3.6vw;
  }
  
  .slideshow-indicator {
    display: block;
    position: absolute;
    right: 3.5vw;
    top: 50vh;
    color: var(--color-primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
  
  .slideshow-indicator p {
    display: inline-block;
  }
}

@media (min-width: 1200px) {
  .slideshow-indicator {
    font-size: 2rem;
    right: 4vw;
  }
}

.arrow-down {
/*  border: 2px solid red;*/
  
  width: 12vw;
  padding-bottom: 4vw;
  position: absolute;
  align-self: flex-end;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  transform-origin: bottom;
  cursor: pointer;
}

@media (min-width: 550px) {
  .arrow-down {
    height: 4.2vw;
    padding-bottom: 1.3vw;
  }
}

.bounce-arrow {
  animation-name: bounce-arrow;
  animation-timing-function: ease;
  animation-delay: 4s;
}

@keyframes bounce-arrow {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(-2vh); }
  25% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.second-homepage {
/*  border: 2px solid red;*/
/*  height: 92vh;*/
}

@media (min-width: 780px) {
  .second-homepage {
    height: 93vh;
/*    padding: 0;*/
  }
}

.text-images {
  display: none;
}

#clicked-image {
/*  display: none;*/
}

@media (min-width: 550px) {
  .square {
/*    border: 2px solid red;*/
/*    width: 100%;*/
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    background-size: contain;
    width: 17.6vw;
    height: 17.6vw;
  }
    
  .left-square {
    right: 2.6vw;
  }
  
  .right-square {
/*    right: -0.3vw;*/
  }
  
  .top-square {
    margin-top: 2vw;
  }
  
  .bottom-square {
    margin-top: 0.8vw;
  }
  
  .text-images {
    display: block;
    position: absolute;
    height: 100%;
    cursor: pointer;
  }
  
  #clicked-image {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100vh;
    width: 100vw;
    height: 100vh;
    background-size: contain;
    background-repeat: no-repeat no-repeat;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.75);
  }
}


/* About
------------------------------------------------- */
.about-square {
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
/*  width: 100%;*/
/*  padding-top: 2vw;*/
/*    background-size: contain;*/
}

.about-image {
  width: 100%;
  vertical-align: top;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 550px) {
  .about-image {
/*    border: 2px solid pink;*/
    
    position: absolute;
    height: 100%;
/*    padding-top: 3vh;*/
  }
  
  .about-square {
/*    border: 2px solid red;*/
    
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 2vw;
    margin-top: 3vh;
    left: 5vw;
/*    background-size: contain;*/
  }
  
}


/* Products & Services
------------------------------------------------- */
main > .product-row:last-child {
  border-bottom: 1px solid black;
}

.product-row {
  clear: both;
/*  border-bottom: 1px solid black;*/
  border-top: 1px solid black;
  cursor: pointer;
  overflow: hidden;
  
/*  display: inline-block;*/
/*  width: 100vw;*/
/*  padding-bottom: 1rem;*/
  
/*  border: 2px solid red;*/
}

@media (min-width: 550px) {  
  .product-row {
    height: 6.8vh;
  }
}

.product-image-first {
  display: none;
/*
  width: 100%;
  height: 60vh;
  position: absolute;
  bottom: 0;
  object-fit: cover;
*/
}

.project-image-first {
  display: none;
}

.product-item {
  font-weight: bold;
  padding: 2vh 3vw 1.6vh 3vw;
  display: inline-block;
}

.product-item-open {
  font-weight: bold;
  padding: 2vh 3vw 0.2vh 3vw;
  display: inline-block;
}

@media(min-width: 550px) {
  .product-item {
    padding: 2.2vh 0;
    position: relative;
    right: 2.2vw;
  }
  
  .product-item-open {
    padding: 2.8vh 0 0.2vh 1vw;
  }
}

.project-item {
  font-weight: bold;
  padding: 2vh 3vw 1.6vh 3vw;
  display: inline-block;
}

.open-product-icon {
  float: right;
  padding: 2.2vh 4vw 1.6vh 3vw;
  font-size: 1rem;
}

@media (min-width: 550px) { 
  .open-product-icon {
    display: none !important;
  }
}

.open-product {
/*  border: 2px solid red;*/
  
  display: none;
  background-color: var(--color-primary);
  margin-top: 14vh;
  height: 93vh;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 20;
}

@media (min-width: 550px) {
  .open-product {
    width: 43vw;
    max-height: 57vw;
    margin-top: 7vh;
    left: 57vw;
    border-bottom: 1px solid black;
  }
    
  .open-product > .product-item {
    padding: 3vw 4vw 0.7em;
  }
}

.close-product-icon {
  float: right;
  padding: 1.6vh 6vw 0 3vw;
  cursor: pointer;
  font-size: 1rem;
}

@media(min-width: 550px) {
  .close-product-icon {
    padding: 1vh 1vw 0 3vw;
/*    font-size: 2rem;*/
    width: 5.6vw;
  }
}

.products-alinea {
  padding: 0 3vw 4vw;
}

@media(min-width:550px) {
  .products-alinea {
    padding: 0 0 0 1vw;
  }
}

.product-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.product-image-indicator {
  display: none;
}

@media (min-width:550px) {
  .product-image-first {
/*    display: inline-block;*/
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(100%) grayscale(50%);
  }
  
  .project-item {
    padding: 2.6vh 4% 0;
  }
  
  .project-item-open {
    font-weight: bold;
    padding: 2vh 3vw 0.2vh 3vw;
    display: inline-block;
  }
  
  .projects-alinea {
    padding: 0 3vw 0 3vw;
  }
  
  .product-image {
    display: none;
    cursor: url('../images/products-images-arrow.png'), pointer;
/*    cursor: wait;*/
  }
  
  .display-product-image-desktop {
    display: block;
    position: absolute;
    top: 0;
    left: -57vw;
    width: 57vw;
    height: 57vw;
    filter: sepia(0) grayscale(0);
  }
  
  .product-image-indicator {
    display: block;
    position: absolute;
    bottom: 0;
/*    right: 1vw;*/
    padding-left: 1vw;
    padding-bottom: 0.5vw;
    font-weight: 900;
  }
  
  .product-image-indicator p {
    display: inline-block;
  }
  
/*
    .slideshow-indicator {
    display: block;
    position: absolute;
    right: 5.8vw;
    top: 59vh;
    color: var(--color-primary);
  }
  
  .slideshow-indicator p {
    display: inline-block;
  }
*/
}

.scroll-lock {
  height: 100%;
  overflow: hidden;
}


/* Techniques
------------------------------------------------- */




/* Projects
------------------------------------------------- */
.project-image {
  display: none;
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

@media (min-width: 550px) {
  .project-item {
    padding: 2vh 4vw;
  }
    
  .project-image-first {
    filter: sepia(100%) grayscale(50%);
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
/*    z-index: 0;*/
  }
  
  .display-project-image-desktop {
    display: block;
    position: absolute;
    height: 93vh;
    top: 0;
    width: 56vw;
    max-height: 56vw;
    left: 44vw;
    filter: sepia(0) grayscale(0);    
  }
  
  .hover-color {
    filter: sepia(0) grayscale(0);
  }
  
  .project-image {
/*    display: none;*/
    cursor: url('../images/products-images-arrow.png'), pointer;
/*    cursor: wait;*/
  }

  
}

.open-project {
/*  border: 2px solid red;*/
  
  display: none;
  background-color: var(--color-primary);
  margin-top: 14vh;
  height: 56vw;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid black;
}

@media (min-width: 550px) {
  .open-project {
/*    border: 2px solid red;*/
    left: 0;
    width: 44%;
    margin-top: 7vh;
    height: 93%;
    max-height: 56vw;
  }
  
  .open-project > .product-item {
    padding: 3vw 4vw 0.7em;
/*    border: 2px solid red;*/
  }
  
  .project-image-indicator {
    display: block;
    position: absolute;
    bottom: 0;
    right: 1vw;
/*    padding-left: 1vw;*/
    padding-bottom: 0.5vw;
    font-weight: 900;
  }
  
  .project-image-indicator p {
    display: inline-block;
  }
}

.display {
  display: block;
}

.hide {
  display: none;
}

.client-feedback {
  display: none;
}

@media (min-width: 550px) {
  .client-feedback {
    display: block;
    position: absolute;
    bottom: 0;
    padding: 0 1vw 0 4vw;
  }
  
  .client-feedback-title {
    font-weight: 900;
  }
  
  .client-feedback-text {
    font-style: italic;
    padding-bottom: 2vw;
  }
}  



/* Upload Pages
------------------------------------------------- */
.upload-homepage-text {
  padding-bottom: 1vw;
}

.upload-images-carousel {
  width: 100%;
  height: 28vh;
  padding-bottom: 2vw;
  cursor: pointer;
}

.upload-images {
/*  width: 100%;*/
  height: 28vh;
  padding-bottom: 2vw;
  cursor: pointer;
}

.upload-titles {
  display: inline;
}

.save-button-home {
  border: none;
  float: right;
}

.button {
  border: none;
}

.upload-icons {
  font-size: 2.5rem;
  padding: 0 0.2vw;
}

.top-row {
  display: flex;
  align-items: flex-end;
  border-bottom: 2px solid black;
  margin-bottom: 2vw;
  padding-bottom: 1vw;
}

.add-row {
/*  border: 2px solid red;*/
  
  display: none;
  padding-bottom: 2vw;
  margin-bottom: 2vw;
  border-bottom: 2px solid black;
  width: 100%;
}

/* This one is nessecary to display the add row in the upload pages */
.display-inline-block {
  display: inline-block;
}

.row-product-name {
  display: flex;
/*  align-items: flex-end;*/
}

.upload-title {
  padding: 0.2rem 1rem;
  width: 100%;
  margin: 0vw 0 1vw 0;
}

textarea {
  padding: 0.2rem 1rem;
  width: 100%;
  margin: 0vw 0 1vw 0;
}

.border {
  border: 2px solid red;
}

label {
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.preview-image {
  width: 15vw;
  height: 15vw;
  padding: 1vw 0 0 1vw;
  object-fit: cover;
}

ol {
  padding-left: 2vw;
}

ol.add-ol {
  padding-top: 2vw;
}

.record-row {
/*  border: 2px solid blue; */
  
  display: inline-block;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 2vw;
  margin-bottom: 2vw;
  width: 100%;
}

.delete-image {
  position: relative;
  right: 3vw;
  bottom: 1vw;
  background: transparent;
  color: var(--color-primary);
}

/* We need to hide this for the upload home page, but we can't do .row input { display: none; } because
it hides the input which is needed on the other pages as well. */
#image-input-1 { display: none; }
#image-input-2 { display: none; }
#image-input-3 { display: none; }
#image-input-4 { display: none; }
#image-input-5 { display: none; }
#image-input-6 { display: none; }
#image-input-7 { display: none; }
#image-input-8 { display: none; }

