body{
  margin: 0;
  /* display: flex; */
  /* overflow-y: auto; */
  /* -webkit-overflow-scrolling: touch; */
overscroll-behavior: none;
background: var(--backgroundColor);
}

#thebody{
  background: var(--backgroundColor);
}

:root {
  --folderHeight: 3rem;
  /* --photoBarHeight: 40vh; */
  --photoBarHeight: 25vh;
  --photoBarHeight: 8vh;
  --photoBarHeight2: 53vh;
  --backgroundColor: rgb(245,245,245);
  --backgroundColorBar: rgb(255,255,255);
  --landscapeHeight3: calc(var(--vh, 1vh) * 81);
  --landscapeHeight2: 81lvh;
  --landscapeHeight: 81dvh;
  --topBarLandscapeMobile: 2.3rem;
}


.centered-modal{
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 40%;
  height: 100%;
  background-color: white;
}

.no-events{
  pointer-events: none;
}

.no-scroll{
  overflow: hidden;
}

.white-background{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0vh;
  left: 0;
  /* transform: translateX(110vw); */
  /* transition: .2s ease-out; */
  z-index: 100;
  background-color: white;
}

.transparent-background{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0vh;
  left: 0;
  /* transform: translateX(110vw); */
  /* transition: .2s ease-out; */
  z-index: 100;
  background-color: rgb(0,0,0,.7);
}

.test-preview{
  position: fixed;
  top: 0;
  left: 0;
  height: 90vh;
  width: 20vw;
  background-color: white;
  z-index: 10;
  object-fit: contain;
}

.test-button{
  position: fixed;
  top:0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background: orange;
  z-index: 100;
}

.go-back{
  position: fixed;
  top: .5rem;
  left: .5rem;
  color: darkgrey;
  cursor: pointer;
  z-index: 100;
  font-size: 1.8rem;
  height: 1.5rem;
  width: 1.5rem;
  background-image: url("../otherimg/backarrow.png");
  background-size: cover;
}

.close-modal{
  position: fixed;
  top: .5rem;
  right: .5rem;
  color: black;
  cursor: pointer;
  z-index: 1;
  font-size: 1.5rem;
  height: 1.5rem;
  width: 1.5rem;
  /* background-image: url("../otherimg/backarrow.png"); */
  /* background-size: cover; */
}

.full-screen-icon{
  position: fixed;
  bottom: .5rem;
  left: .5rem;
  height: 2rem;
  width: 2rem;
  background-image: url('../otherimg/fullscreen.png');
  background-size: cover;
  z-index:10000;
  display: none;
}

.full-screen-mode .full-screen-icon{
  background-image: url('../otherimg/normalscreen.png');
}

.infoDivv{
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: white;
  z-index: 10000;
  overflow-y: auto;
}

.thebody{
  /* display: flex; */
  /* overflow-y: scroll;
    scroll-snap-type: y mandatory;
    height: 100%; */
}


#intro-screen{
  display: block;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  /* height: 100vw; */
  background-image: url("../img/cover33.jpg");
  background-color:white;
background-size: cover;
font-size: 0;
scroll-snap-align: start;
background-position: 0 -50px;
--cover-animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
--cover-animation-initial-delay: 0.5s;
--cover-animation-delay: 0.1s;
--cover-animation-duration: 0.8s;
--cover-animation-distance: 15px;

}

.intro-name{
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: fit-content;
  z-index: 3;
  font-size: 3rem;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  width: fit-content;
  white-space: nowrap;

  animation: appear .8s linear ;
}

.intro-button-wrap{
  position: absolute;
  text-align: center;
  top: 70%;
  left: 50%;
  translate: -50% -50%;
  width: fit-content;
  z-index: 3;

}


/* Safari */


.intro-button{
  position: relative;
  left: 50%;
  translate: -50% 0;
  border: 1px solid white;
  color: white;
  padding: .8rem 1.2rem;
  text-transform: uppercase;
  margin-bottom: .7rem;
  width: fit-content;
  width: 100%;
  font-size: .8rem;
  cursor: pointer;
  transition: color .25s ease-out, background-color .25s ease-out, border-color .25s ease-out;
  animation: appear .8s linear ;
  overflow: hidden;
  /* max-height: 0; */
}

@-webkit-keyframes appear {
0% { max-height: 0; opacity:0 }
50% { max-height: 0; opacity:0 }
100% { max-height: 500px; opacity: 1 }
}

.intro-button:hover{
  background-color: white;
  color: black;
}

.view-gallery-button{
  display: -ms-inline-flexbox;
display: inline-flex;
height: 40px;
padding: 0 24px;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: center;
justify-content: center;
border: 1px solid currentColor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
color: inherit;
background-color: transparent;
transition: color .25s ease-out,background-color .25s ease-out,border-color .25s ease-out;
}

#intro-screen::before{
  transition: all 100ms ease-out;
content: " ";
display: block;
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background: rgba(0,0,0,var(--theme-opacity-cover-tint)); */
background: rgba(0,0,0,.1);
/* display: none; */
}


.contact-heading{
  position: relative;
  margin-top: 2.5rem;
  font-size: 1.5rem;
  text-align: center;
  width: 90%;
  position: relative;
  left: 50%;
  translate: -50% 0;
}

.contact-input-wrap{
  padding-top: 1.5rem;
  width: 90%;
  position: relative;
  left: 50%;
  translate: -50% 0;
  margin-bottom: .5rem;

}
.contact-input{
  width: calc(100% - 2rem);
  padding: .3rem;
  position: relative;
  left: 50%;
  translate: -50% 0;
}

.contact-inputs-wrap{
  width: 100%;
  padding-top: 1.4rem;
  height: calc(100% - 11rem);
}

.contact-input-wrap::before{
  content: attr(data-label);
  position: absolute;
  top: .3rem;;
  left: .3rem;
  font-size: .9rem;
}

.contact-long-message-wrap{
  height: calc(100% - 13rem);
}

.contact-long-message{
  height: calc(100% - 2rem);
}

.contact-submit-buttonOLD{
  background-color: #2ecc71;
  color: white;
  padding: .5rem 1.3rem;
  border: 1px solid black;
  position: relative;
  text-align: center;
  left: 50%;
  translate: -50% 0;
  width: 50%;
  cursor: pointer;
  white-space: nowrap;
  overflow: visible;
}

.contact-submit-button-wrap {
  height: calc(20px + 1rem);
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: 50%;
}

.contact-submit-button {
  border: 0;
  outline: 0;
  cursor: pointer;
  color: rgb(60, 66, 87);
  background-color: rgb(255, 255, 255);
  box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 12%) 0px 1px 1px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 8%) 0px 2px 5px 0px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 8px;
  white-space: nowrap;
  display: inline-block;
  transition: background-color .24s,box-shadow .24s;

  text-align: center;
  /* left: 50%; */
  /* translate: -50% 0; */
  width: calc(100% - 20px);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  background-color: var(--backgroundColor);
}

.contact-submit-button.pending{
  background-color: lightgray;
  color: black;
  pointer-events: none;
  cursor: auto;
}

.contact-submit-button.completed{
  background-color: lightgray;
  color: black;
  pointer-events: none;
  cursor: auto;
}

.contact-submit-buttonxxx::after{
  content: '';
  position: absolute;
  left: calc(100% + 1.5rem);
  translate: 0 -50%;
  top: 50%;
  height: 2rem;
  width: 2rem;
}

.contact-submit-button.completedxxx::after{
  content: '';
  position: absolute;
  left: calc(100% + 1.5rem);
  translate: 0 -50%;
  top: 50%;
  height: 2rem;
  width: 2rem;
  background-image: url('../otherimg/check.png');
  background-size: cover;
}

.contact-submit-button.pending::after{
    content: '';
    display: block;
    background-image: none;
    position: absolute;
    left: calc(100% + 1.5rem);
    translate: 0 -50%;
    top: 50%;
  color: rgb(50,50,50);
  font-size: 1.5rem;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  /* position: relative; */
  transform: translateZ(0);
  /* animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease; */
  animation: mltShdSpin 1s infinite ease, round 1s infinite ease;
}

@keyframes mltShdSpin {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em,
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em,
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em,
    -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em,
    -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
     -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
     -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
     -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
     -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em,
    0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

@keyframes round {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}

.message-outer-wrap{
  padding-top: 3.5rem;
  max-height: calc(100vh - 5rem);
  overflow: auto;
}

.message-wrap{
  border: 1px solid black;
  width: calc(100% - 1rem);
  height: fit-content;
  transition: 1s;
  margin-left: .5rem;
}

.message-selected{
  height: fit-content;
  transition: 1s;
}
.name-div{
  padding: 1rem 0;
  /* border: 1px solid black; */
  width: calc(40% - .6rem);
  position: relative;
  margin-left: .6rem;
  margin-bottom: .5rem;
  font-weight: 600;
  font-size: 1.1rem;

  color: red;
}

.name-div::after{
  content: attr(data-date);
  position: absolute;
  left: 100%;
  top: 50%;
  translate: 0 -50%;
  font-weight: 400;
  width: 150%;
  /* white-space: nowrap; */
  font-size: .95rem;
  /* font-style: italic; */
  color: black;
}

.message-selected .name-div{
  /* background: lightpink; */
}

.message-heading-div{
  position: relative;
  left: 1.2rem;
  width: calc(100% - 1rem);
  margin-top: .5rem;
  display: none;
}

.email-heading{
  display: inline-block;
  margin-right: 1rem;
  /* font-weight: 600; */
  /* color: blue; */
  font-style: italic;
}

.phone-heading{
  display: inline-block;
  font-style: italic;
  /* color: blue; */
  /* font-weight: 600; */
}

.message-div{
  position: relative;
  left: 2rem;
  width: calc(100% - 2.5rem);
  margin-top: 1rem;
  margin-bottom: .7rem;
  display: none;
}

.message-selected .message-heading-div{
  display: block;
}

.message-selected .message-div{
  display: block;
}

.message-div.message-selected::after{
  content: attr(data-message);
  position: relative;
  display: block;
  left: 2rem;
  margin-top: 1rem;
  /* border: 1px solid black; */
  width: 80%;
}

.loading#gallery-bar, .loading#gallery-container{
  display: none
}

#gallery-bar{
  position: sticky;
  /* scroll-snap-align: start; */
  top: 0;
  /* overflow-x: auto; */
  width: 100%;
  height: 4rem;
  /* height: calc(4rem + var(--photoBarHeight)); */
  background-color: white;
  z-index: 2;
}

.martin{

    font-family: Inter;
    display: inline-block;
    font-size: 1.8rem;
    padding: 0rem .5rem;
    opacity: .85;
    position: relative;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    padding-right: 3rem;
    height: 4rem;
    line-height: 4rem;
    vertical-align: top;
    /* float: left; */

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* color: rgb(240,240,240); */
    color: rgb(60,60,60);
    text-transform: capitalize;
    font-weight:200;

}

#photo-bar{
  height: 14rem;
  /* height: var(--photoBarHeight); */
  display: none;
  position: relative;
  border-bottom: 1px solid gray;
}

.expand .photo-name-toggle1::before, .expand .photo-name-toggle2::before{
  content: attr(data-name);
  position: absolute;
  bottom: 2vh;
  bottom: calc(15% - 1.44rem);
  right: 30px;
  font-size: 1.44rem;
  font-weight: 500;
  z-index: 100000;
  text-transform: capitalize;
  /* text-transform: uppercase; */
  /* font-size: 1.2rem; */
  animation: photoToggle .4s linear forwards;
  /* animation-delay: 2s; */
  color: white;
  font-family: Inter;
}

.expand .photo-name-toggle2::before{
  animation: photoToggle2 .4s linear forwards;
  /* animation-delay: 2s; */
}

.photo-name-toggle1, .photo-name-toggle3{
  /* animation: photoToggle .4s linear; */
}



@-webkit-keyframes photoToggle {
0% { opacity:0; color: white; }
20% { opacity:0; color: white; }
100% { opacity: 1; color: black; }
}

@-webkit-keyframes photoToggle2 {
0% { opacity:0; color: white; }
20% { opacity:0; color: white; }
100% { opacity: 1; color: black; }
}

@keyframes photoToggle {
  0% { opacity:0; color: white; }
  20% { opacity:0; color: white; }
  100% { opacity: 1; color: black; }
}

@keyframes photoToggle2 {
  0% { opacity:0; color: white; }
  20% { opacity:0; color: white; }
  100% { opacity: 1; color: black; }
}

.photo-bar-inner{
  height: 100%;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  white-space: nowrap;
}

.photo-bar-item{
  height: 100%;
  width: 100%;
  display: inline-block;
  scroll-snap-align: center;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}

.photo-bar-img{
  max-height: 70%;
  max-width: 60%;
  position: relative;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

#gallery-bar-inner{
  display: inline-block;
  vertical-align: top;
  height: 100%;
  height: 4rem;
  /* width: 100%; */
  overflow-x: auto;
  background-color:white;
}
.gallery-bar-item{
  font-family: Inter;
  display: inline-block;
  font-size: 1.1rem;
  padding: 0rem .5rem;
  opacity: .5;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-transform: uppercase;
}

.gallery-bar-item:hover{
  /* opacity: 1; */
}

.gallery-bar-item.selected-item{
  opacity: 1;
}

#gallery-bar-buffer{
  display: none;
}

#gallery-container{
  /* scroll-snap-align: start; */
  width: 100%;
  position: relative;
  background-color: white;
  /* margin-top: 20px; */
  /* padding-top: 4rem; */
}

.gallery-wrap{
  position: relative;
  width: 100%;
  background-color: white;
  /* display: none; */
  min-height: calc((var(--vh, 1vh) * 100) - 0rem);
  /* min-height: calc(100vh - 4rem); */
  /* min-height: calc((var(--vh, 1vh) * 100) - 0rem); */
  /* overflow-y: auto; */
}


.selected-gallery{
  display:block;
  /* z-index:100; */
}















/* .scroll-mode { */
  /* --photoBarHeight: 28vh; */
  /* --photoBarHeight2: 65vh; */

  .scroll-mode #intro-screen{
    /* display: none; */
  }

  .scroll-mode #photo-bar{
    display: block;
    border: none;
    height: var(--photoBarHeight, 28vh);
    height: calc(100% - 4.5rem);
    height: calc(100% - 2.5rem - 5vh);
    transition: height .35s;
    background: rgb(245,245,245);
  }

  .scroll-mode .expand #photo-bar{
    height: var(--photoBarHeight2, 65vh);
    transition: height .35s;
    /* height: calc(100% - 4.5rem); */
  }

  .scroll-mode .expand #gallery-wrap{
    opacity: .4;
  }


  .scroll-mode #gallery-bar{
    height: calc(4rem + var(--photoBarHeight, 28vh));
    transition: height .35s;
  }

  .scroll-mode #gallery-bar-inner{
    background: transparent;
    height: fit-content;
    height: 5vh;
    top: 50%;
    translate: 0 -50%;
    width: calc(100% - 7px);
    overflow-x: auto;
    overflow-y: hidden;
    position: absolute;
    left: 0;

    top: auto;
    bottom: 0%;
    translate: 0 0;
    /* border-bottom: 1px solid gray; */
    /* padding-bottom: 10px; */
    /* margin-bottom: 10px; */
    padding-left: 7px;
    background: white;
    scrollbar-width: thin;
    /* scrollbar-width: none; */
    white-space: nowrap;
  }

  .scroll-mode #gallery-bar-inner::-webkit-scrollbar {
  /* display: none; */
  /* width: thin; */
  height: 9px;
}

.scroll-mode #gallery-bar-inner::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-mode #gallery-bar-inner::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.5);
  border-radius: 20px;
  border: transparent;
}

  .scroll-mode .gallery-bar-item{
    display: block;
    font-size: .69rem;
    font-size: .8rem;
    color: white;
    height: fit-content;
    /* height: 4vh; */
    top: 0;
    translate: 0 0;
    white-space: wrap;
    line-height: normal;
    padding: .3rem .1rem;
    padding: 0;
    transform: none;
    min-width: 4ch;

    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
    margin-top:1vh;
  }

  .scroll-mode .gallery-bar-item::before{
    content: attr(data-short-name);
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    font-size: .69rem;
    color: white;
    color: black;
    height: fit-content;
    width: 100%;
    text-align: center;
  }

  .scroll-mode .gallery-bar-item.selected-item{
    /* border-color: white; */
    border-width: 1px;
  }

  .scroll-mode .expand .gallery-bar-item.selected-item::before{
    font-size: .8rem;
    color: rgb(80,80,80);
  }

  .scroll-mode .gallery-bar-item.selected-item::before{
    font-size: .8rem;
    color: black;
  }

  .scroll-mode #photo-bar-inner{
    width: 80%;
    left: 50%;
    position: relative;
    translate: -50% 0;
    /* overflow: visible; */
    scrollbar-width: none;
  }

  .scroll-mode #photo-bar-inner::-webkit-scrollbar {
  display: none;
}

  .scroll-mode .photo-bar-img{
    max-width: 90%;
  }


  .photo-bar-right-button{
    position: absolute;
    right: 4%;
    top: 50%;
    translate: 0 -50%;
    height: 2rem;
    width: 2rem;
    opacity: 1;
    transition: opacity .15s;
  }

  .photo-bar-left-button{
    position: absolute;
    left: 4%;
    top: 50%;
    translate: 0 -50%;
    height: 2rem;
    width: 2rem;
    opacity: 1;
    transition: opacity .15s;
  }

  .photo-bar-right-button.hidden-caret, .photo-bar-left-button.hidden-caret{
    /* display: none; */
    opacity: 0;
    transition: opacity .15s;
    pointer-events: none;
  }
  /* .scroll-mode #photo-bar::after{ */
  .photo-bar-right-button::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    background-image: url('../otherimg/caretright.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: .5;
  }

  .photo-bar-left-button::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    background-image: url('../otherimg/caretleft.png');
    background-size: cover;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: .5;
  }




  .scroll-mode #gallery-wrap{
    width: 90%;
    left: 50%;
    translate: -50%;
  }

  #gallery-wrap.gallery-wrap-no-focus{
    opacity: .6;
  }

  #gallery-wrap-bottom{
    height: 150px;
    width: 100%;
    bottom: 20px;
    position: absolute;
    /* background: wheat; */
    z-index: 100;
    pointer-events: none;
  }

  .scroll-mode .grid-item{
    width: calc(32% - 1px);
    padding: 0px 1px;
    width: calc(50% - 4px);
  }
/* } */

















.expand#gallery-bar{
  height: calc(4.5rem + var(--photoBarHeight2, 65vh));
  height: calc(4.5rem + 65vh);
  transition: height .35s;
}

.hide-images .grid-item{
  opacity: 0;
}








.grid{
  width: 100%;
  /* margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: masonry; */
}

.grid-item {
  float: left;
  /* width: calc(25% - 4px); */
  width: calc(25% - 4px);
  padding: 0px 2px;
  /* height: 100px; */
  /* background-size: cover; */
  /* pointer-events: none; */
}

.hidden-image .grid-item-image{
  box-sizing: border-box;
  border: 4px solid red;
}

.hide-hidden-images .hidden-image{
  display: none;
}

.grid-item-image {
  width: 100%;
}

.grid-sizer {
  width: 32%;
  /* width: 300px; */
}

.gutter-sizer {
  width: 5px;
}

#new-picture-button{
  position: fixed;
  top: 0;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: orange;
  border: 2px solid red;
  z-index: 100;
}

.modal-background{
  position: fixed;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,.6);
  z-index: 101;
}

.new-picture-modal{
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  height: 70vh;
  width: 90vw;
  background-color: white;

}

.folder-wrap{
  height: 60%;
  overflow-y: auto;
  scrollbar-width: thin;
}

.folder-wrap-title{
  padding: .7rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}

.folder-div{
  width: 80%;
  position: relative;
  left: 50%;
  translate: -50% 0;
  /* border: 1px solid black; */
  padding: .7rem;
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: gray;
  background-color: white;
  text-transform: uppercase;
}

.folder-div.chosen{
  color: black;
  background: lightpink;
}

.folder-div:hover{
  filter: brightness(80%);
}

.folder-input{
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: 90%;
  font-size: 1.2rem;
  height: 1.5rem;
  text-align: center;
  color: gray;
  padding: .7rem;
  width: 80%;
    text-transform: uppercase;
}

.folder-input.chosen{
  color: black;
  background: lightpink;
}

.folder-ok-button{
  position: relative;
  left: 50%;
  translate: -50% 0;
  padding: .4rem 4rem;
  text-align: center;
  background-color: lightgreen;
  border: 1px solid black;
  width: fit-content;
  cursor: pointer;
}



.upload-button-wrap{
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 20%;
  transform: translateX(-50%);
  overflow: visible;
}

input[type="file"] {
  position: absolute;
  z-index: -1;
  top: 10px;
  left: 8px;
  font-size: 17px;
  color: #b8b8b8;
  display:none;
}

.file-input-label {
  display: inline-block;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #3498db;
  font-size: 16px;
  /* font-weight: bold; */
  color: #fff;
  display:none;
}


.input-file-wrap{
  position: relative;
  display: inline-block;
}

.upload-button{
  position: relative;
  display: inline-block;
  padding: 12px 18px;
  cursor: pointer;
  pointer-events: none;
  border-radius: 5px;
  background-color: #b8b8b8;
  font-size: 16px;
  /* font-weight: bold; */
  color: #fff;
}

#upload-display{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /* bottom: 20%; */
  /* background-color: lightgray; */
  width: 80%;
  height: 80%;
  /* width: fit-content; */
  text-align: center;
  overflow-y: auto;
}

.upload-folder{
  position: relative;
  top: 0;
  left: 50%;
  translate: -50% 0;
  font-size: 1.6rem;
  cursor: pointer;
  margin-top: .3rem;
    text-transform: uppercase;
}

.display-image-blank{
  /* position: absolute; */
  /* left: 50%; */
  /* top:50%; */
  /* transform: translate(-50%, -50%); */
  /* max-width: 80%; */
  max-height: 72%;
  border: 1px solid darkgrey;
  position: relative;
  margin: .2rem;
  display: inline-block;
  margin-top:1.2rem;
}

.display-image{
  /* position: absolute; */
  /* left: 50%; */
  /* top:50%; */
  /* transform: translateY(-50%); */
  /* max-width: 80%; */
  max-height: calc(92% - 1.5rem);
  border: 1px solid darkgrey;
  display: inline-block;
  position: relative;
  margin: .2rem;
  box-sizing: border-box;
}

.multiple-rows .display-image{
  max-height: 40%;
}

.display-image-mult-rows{
  top:auto;
  transform: translateY(0);
}

.ready-to-upload{
  pointer-events: auto;
  background-color: #2ecc71;
}
.successful-upload{
  pointer-events: none;
  background-color: #b8b8b8;
  overflow: visible;
}

.upload-success{
 border: 3px solid #2ecc71;
}

.pending-upload{
  pointer-events: none;
  background-color: #b8b8b8;
  overflow: visible;
}
.pending-upload::after{
  content: '';
  background-image: url("../otherimg/waiting.png");
  background-size: cover;
  height: 2.4rem;
  width: 2.4rem;
  position: absolute;
  left: 110%;
  top: 50%;
transform: translateY(-50%);
  pointer-events: none;
}

.successful-upload::after{
  content: '';
  background-image: url("../otherimg/check.png");
  background-size: cover;
  height: 3.5rem;
  width: 3.5rem;
  position: absolute;
  left: 110%;
  top: 50%;
transform: translateY(-50%);
  pointer-events: none;
}

.image-cover{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
}
.new-uploaded-image{
  position: absolute;
}

.new-uploaded-image::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("../otherimg/newcheck.png");
background-color: transparent;
/* height: 5rem; */
width: 15%;
height: 100%;
overflow: visible;
background-size: contain;
background-repeat: no-repeat;
}


#login-password{
  height: 2.5rem;
  font-size: 1.4rem;
  border: 1px solid black;
  width: 10rem;
  display: inline-block;
    vertical-align: middle;
}

#login-button{
  position: relative;
  display: inline-block;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 100%;
  background-color: #2ecc71;
  border: 2px solid #27ae60;
  color: white;
  margin-left: 2rem;
  top: 50%;
  transform: translateY(-50%;)
}

#check-login-button{
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 100%;
  background-color: pink;
}

#logout-button{
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 100%;
  background-color: red;
}

.login-wrap{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-block;
  padding: 3rem 8rem;
  border: 1px solid gray;
  background-color: white;
}

.login-background{
  position: fixed;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,.65);
  z-index: 5;
}

.login-message{
  font-style: italic;
  display: inline-block;
  margin-left: .9rem;
  width: 0;
}

.login-message.red{
  color: red;
}

#login-button.button-disable{
  background-color: lightgray;
  pointer-events: none;
}

.login-success-background{
  position: fixed;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(250,250,250,.95);
  z-index: 10;
  opacity: 0;
  transition: .4s;
}

.login-welcome{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 10rem;
  width: 10rem;
  border-radius: 100%;
  border: 1px solid black;
  background-image: url("../otherimg/welcome.jpg");
background-size: cover;
}

.fade-in{
  opacity: 1;
  transition: .4s;
}



.menu-background{
  position: fixed;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,.65);
  z-index: 5;
  display: none;
}

.menu-wrap{
  position: fixed;
  top: .5rem;
  right: .5rem;
  z-index: 100;
}

.menu-icon{
  background-image: url("../otherimg/tree2.png");
background-size: cover;
border-radius: 100%;
height: 2rem;
width: 2rem;
}

.menu-list{
  /* display:none; */
  max-height: 0rem;
  width: 0rem;
  overflow: hidden;
  transition: .2s;
}

.menu-active{
  transition: .2s;
}

.menu-active .menu-icon{
  /* display: none; */
  height: 0;
}

.menu-active .menu-list{
  display: block;
  max-height: 80vh;
  width: 15rem;
  width: fit-content;
}

.menu-active .menu-background{
  display:block;
}

.menu-item{
  /* width: 15rem; */
  /* width: 100%; */
  /* height: 3rem; */
  /* line-height: 3rem; */
  padding: .5rem 1rem .5rem .3rem;
  font-size: 1.4rem;
  border: 1px solid darkgray;
  background-color: rgba(200,200,200,.9);
  background-color: white;
}

.menu-item:hover{
  background-color: rgba(200,200,200,.9);
}


.single-view-background{
  position: fixed;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  /* height: calc(var(--vh, 1vh) * 100); */
  /* width: calc(var(--vw, 1vw) * 100); */
  background-color: rgba(255,255,255,1);
  z-index: 101;
  display: none;
  /* touch-action: none; */
}

.single-view-image-section{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80%;
  width: 100%;
  overflow: hidden;
}

.single-view-image-wrap{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
}

.single-view-image{
  height: 100%;
}

.single-view-background.show{
  display: block;
}

.single-view-back{
  position: absolute;
  top: 18px;
  left: 12px;
  background-image: url("../otherimg/backarrow.png");
background-size: cover;
height: 2rem;
width: 2rem;
opacity: .8;
}

.hidden{
  display: none;
}

.noscroll{
  overflow: hidden;
}

.pw-background{
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: white;
  z-index:1000;

}

.pw-button{
  position: relative;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  border: 1px solid black;
  background: lightgreen;
  cursor: pointer;
  line-height: 3rem;
  text-align: center;
}

.show-password{
  display: inline-block;
  position: relative;
  vertical-align: middle;
  height: 2rem;
  width: 2rem;
  background-image:url('../otherimg/showpassword.png');
  background-size: cover;
  margin-right: 1rem;
}

.basic-modalback {
  position: absolute;  /*Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6);  /*Black w/ opacity */
}

.basic-modal {
  position: fixed;
  z-index: 1001; /* Sit on top */
  left: 0;
  top: 0;
  width: 50vw; /* Full width */
  height: 100vh;
  max-height: 80vh; /* Full height */
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
  background-color: white;
}


.folder-order-wrap{
  /* height: 100%; */
  width: 100%;
  position: relative;
  /* background: lightpink; */
  overflow: auto;
  scroll-snap-type: y mandatory;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin-top: 5%;

}

.folder-div2{
  position: relative;
  height: var(--folderHeight);
  line-height: var(--folderHeight);
  width: 100%;
  /* border: 1px solid black; */
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: gray;
  background-color: transparent;
  text-transform: uppercase;
}

.folder-div-wrap{
  position: absolute;
  left: 0;
  width: 100%;
}

.empwrap-moving{
  background: lightyellow;
}

.empwrap-moving .folder-div2{
  border: 1px solid black;
}


.save-folder-chk-wrap{
  position: absolute;
  z-index:10;
  bottom: 15px;
  right: 15px;
  height: 3rem;
  width: 3rem;
}


.save-folder-order-button{
  height: 2rem;
  width: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background-image: url("../otherimg/save.png");
  background-size: cover;
  display: none;
}

.savable .save-folder-order-button{
  display: block;
}

.saving .save-folder-order-button{
  display: none;
}






.animation-box{
  position: absolute;
  height: 150%;
  aspect-ratio: 1/1;
  top: 50%;
  translate: 0 -50%;
  right: 0px;
  pointer-events: none;
}


.contact-submit-button-wrap.completed .animation-box::before{
  content: '';
  position: absolute;
  left: 25%;
  /* left: 50%; */
  top: 50%;
  /* translate: -50% -50%; */
  width: 25%;
  height: 50%;
  width: 0%;
  height: 0%;
  opacity: 0;
  /* aspect-ratio: 1/1; */


  animation-delay: inherit;
  animation-duration: 400ms;
  animation-timing-function: ease;
  animation-name: checkmark_pic;
  animation-fill-mode: forwards;
  transform: scaleX(-1) rotate(135deg);


  transform-origin: left top;
  border-right: 2px solid var(--check-color);
  border-top: 2px solid var(--check-color);
  box-sizing: border-box;
  background-image: url('../otherimg/check_horizontal.png');
  background-size: cover;
  border: none;
}

@keyframes checkmark_pic {
  0% {
    height: 14%;
    width: 0;
    opacity: 1;
  }
  23% {
    height: 14%;
    /* max-width: var(--check-width); */
    width: 25%;
    opacity: 1;
  }

  32% {
    height: 14%;
    /* max-width: var(--check-width); */
    width: 25%;
    opacity: 1;
  }
  60% {
    /* max-height: var(--check-height); */
    /* max-width: var(--check-width); */
    width: 25%;
    height: 50%;
    opacity: 1;
  }
  100% {
    /* max-height: var(--check-height); */
    /* max-width: var(--check-width); */
    width: 25%;
    height: 50%;
    opacity: 1;
  }
}
