@-webkit-keyframes thumbnail_display
{
  0%
  {
    display: block;
    opacity: 0;
    transform: scale(0.8) translateX(70px) ;
  }

  100%
  {
    opacity: 1;
    transform:  scale(1) ;
  }
}

@-webkit-keyframes loading
{
  0%
  {
    filter : brightness(1) ;
  }

  50%
  {
    filter : brightness(0.5) ;
  }
  100%
  {
    filter : brightness(1) ;
  }
}


@-webkit-keyframes loading
{
  0%
  {
    transform: rotateZ(0);
  }

  100%
  {
    transform: rotateZ(360deg);
  }
}




*
{
  -webkit-overflow-scrolling:touch;
  font-family: "SFProRegular";
  color:white;

}

iframe{
  border:none;
  width:100%;
  height:100%;
  overflow:none;
  opacity: 1;
  display: block;
}


h1
{
  margin:10px;
  margin-left: 20px;

  font-family: "SFProSuperBold";
  font-size: 35px;
}

h3
{
  font-size:22px;
  font-family:"SFProBold"
}

html{
  height:100%;
  width:100%;
  margin:0;
  padding:0;
}

h2
{
  margin:0px;
  margin-left: 20px;

  font-family: "SFProSuperBold";
  font-size: 30px;
}

p
{
  font-family: "SFProRegular";
  font-size: 20px;
}

body
{
  margin:0px;
  padding:0px;
  position: fixed;

  background-color:black;
  height:100%;
  width:100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;

  overflow:hidden;
}

img
{
  -webkit-user-select: none;
}

.scrolly
{
  margin: 0;
  padding: 0;
  z-index:1;

  overflow-y: auto;
  overflow-x: hidden;

  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height:100%;
  -webkit-mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100px, rgba(0,0,0,1) 25%,rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100px, rgba(0,0,0,1) 25%,rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: space;
  mask-repeat: space;
  -webkit-overflow-scrolling:touch;
}







input[type=number],select
{

  background-color: rgba(50,50,50,0.3);
  border: 1px solid rgba(250,250,250,0.3);
  border-radius: 7px;
  outline:none;
  color: white;
  padding: 7px;
  padding-left: 15px;
  padding-right:15px;
  text-align: left;
  text-decoration: none;

  font-size: 13px;
  margin-top:10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right:auto;

  transition: all 0.3s ease;
}

input[type=text],input[type=email],input[type=phone]
{
  display: block;
  background-color: rgba(50,50,50,0.3);
  border: 1px solid rgba(250,250,250,0.3);
  border-radius: 7px;
  outline:none;
  color: white;
  padding: 7px;
  padding-left: 15px;
  padding-right:15px;
  text-align: left;
  text-decoration: none;
  width:80%;
  max-width: 500px;

  font-size: 13px;
  margin-top:10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right:auto;

  transition: all 0.3s ease;

}

input[disabled]
{
  border-color: rgba(150,150,150,0.2);
  background-color: rgba(50,50,50,0.1);
  color:rgba(150,150,150,0.3);
}

input[disabled]::placeholder
{
  color:rgba(150,150,150,0.3);
}

input[type=password]
{
  display: block;
  background-color: rgba(50,50,50,0.3);
  border: 1px solid rgba(250,250,250,0.3);
  border-radius: 7px;
  outline:none;
  color: white;
  padding: 7px;
  padding-left: 15px;
  padding-right:15px;
  text-align: left;
  text-decoration: none;
  width:80%;
  max-width: 500px;
  display: inline-block;
  font-size: 13px;
  margin-top:10px;
  margin-left: auto;
  margin-right:auto;
  transition: all 0.3s ease;

}

input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,input[type=phone]:focus,input[type=number]:focus
{
  border: 1px solid rgba(250,250,250,0.7);
}

input[valid=false]
{
  border:1px solid rgb(50,25,25);
  background-color: rgba(50,0,0,0.3)
}
input[valid=true]
{
  border:1px solid rgb(25,50,25);
  background-color: rgba(0,50,0,0.3)
}





toggle
{
  margin:25px;
  text-align: center;
  display: block;

  border:1px solid rgba(220,220,220,1);
  border-radius: 7px;
  margin-left: auto;
  margin-right: auto;
  padding:7px 7px;
  width:70px;

  color: rgba(220,220,220,1);
  user-select: none;
  -webkit-user-select: none;
  cursor:pointer;
  transition: all 0.3s ease;
  filter:brightness(1);
}

toggle:hover
{
  filter: brightness(2);
  user-select: none;
  -webkit-user-select: none;
}

toggle:active
{
  filter: brightness(0.5);
  user-select: none;
  -webkit-user-select: none;
}




input[valid=false]
{
  -webkit-animation-name: vibrate;
  -webkit-animation-duration: 0.15s;
  -webkit-animation-iteration-count: 6;
  -webkit-animation-timing-function: ease;
}








div.quit
{
  position:absolute;
  top:0;
  left:0;
  margin-top:20px;
  margin-left:25px;
  z-index: 30;
}
div.quit::before
{
  content: "×";
  font-size: 30px;
}

div.quit:hover
{
  color:rgb(200,200,200);
}
div.quit:active
{
  color:rgba(200,200,200,0.5);
}




.back_button
{
  height:20px;
  padding:15px;
  position: absolute;
  top:0;
  left:0;
  z-index: 2;
}






.element
{
  border: 1px solid rgba(50,50,50,0);
  height:70px;
  width:100%-4px;
  border-radius: 6px;
  margin-left: 2px;
  margin-right: 2px;
  transition: all 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}


.element:hover{
  border: 1px solid rgba(50,50,50,0.5);
  filter:brightness(1.5);
}

.element:active
{
  filter:brightness(1.2);
  border: 1px solid rgba(50,50,50,0.5);
  background-color: rgba(30,30,30,0.3);
}

.element[active=true]
{
  border: 1px solid rgba(50,50,50,0.5);
  background-color: rgba(30,30,30,0.3);
}


.order_more_element
{
  position: absolute;
  bottom:0;
  left:0;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 2;
}

.order_more_element:active
{
  filter: brightness(0.5);
}
.order_more_element img{
  vertical-align: middle;
  margin:10px;
  height: 25px;
}

.element .thumbnail
{
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  border-radius: 4px;
  margin:5px;
  height:60px;
  width:60px;

  background: url(/res/image/bundle/film.png) center center no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 50% 50%;
  margin-right: 15px;
}

.screen
{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}


.gridzy_gallery_thumbnail
{
  display: none;
  opacity: 0;
  -webkit-animation-name: thumbnail_display;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode:forwards;
  transition: all 0.2s ease;
}

.gridzy_gallery_thumbnail:hover
{
  filter:brightness(1.5);
  transition: all 0.2s ease;
}

.gridzy_gallery_thumbnail:active
{
  filter:brightness(0.7);
  transform: scale(0.95);
  transition: all 0.2s ease;
}
#shootings
{
  opacity:0;
  left:100%;
}


#gallery.screen
{
  left:100%;
  background-color: rgba(0,0,0,0.9);
  opacity: 0;
}

#gallery_title
{
  font-size: 25px;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}


@media only screen and (min-width: 700px)
{
  #gallery.screen,#shootings.screen{
    position: absolute;
    opacity:1;
    top:0;
    left:300px;
    width:calc(100% - 300px);
    height:100%;
    background-color: rgba(50,50,50,0);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }

  #main,#client
  {
    position: absolute;
    top:0;
    left:0;
    height:100%;
    width:300px;
    background-color: rgba(50,50,50,0.2);
    border-right: solid 1px rgba(50,50,50,0.4);
  }

  #gallery .back_button
  {
    display: none;
  }
  #shootings .back_button
  {
    display: none;
  }

  #shooting_title
  {
    font-size: 35px;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

}
.paypal_button
{
  display: none;
  text-decoration: none;
  z-index: 3;
  border:2px solid white;
  border-radius: 7px;
  padding:7px;
  font-size: 20px;
  width:100px;
  text-align: center;
  position: absolute;
  bottom: 20px;
  left:calc(50% - 50px);
}

.paypal_button img
{
  height:25px;
  vertical-align: middle;
  margin-right:5px;
}

#loading img
{
  height:50px;
  margin: 10px;
}

#loading
{
  width:150px;
  position: absolute;
  top:40%;
  text-align: center;
  left:calc(50% - 75px);
  z-index: -1;

  display: unset;
  opacity: 1;
  /*-webkit-animation-name: loading;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode:forwards;*/
  transition: all 0.2s ease;
}


#fullres_disp
{
  background-color: rgba(0,0,0,0.7);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  z-index: 16;

  position: absolute;
  top:100%;
  left:0;
  opacity:0;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}



.toggle img
{
  height:25px;
  vertical-align: middle;
}

.toggle:active
{
  filter:brightness(0.6);
}

#fullres_disp_img
{

  max-width: 100%;
  text-align: center;
  vertical-align: center;
  margin-left: auto;
  margin-right: auto;

  width: 100%;

  max-height: calc(100% - 60px);
  min-width: 300px;
  position:absolute;
  top:50%;
  transform: translate(-50%,-50%);
  align:center;
  object-fit: contain;
  size: cover;
}

.
{
  display: block;
  position: absolute;
  bottom: 0;
  width:100%;
  left:0;
  height:60px;
  padding:auto;
  text-align: center;
}

#fullres_disp .toggle
{
  display: inline-block;
  user-select: none;
  -webkit-user-select:none;
  margin:25px;
}

a
{
  text-decoration: none;
}

form{
  display:block;
  text-align: center;
}

#form_container,#form_container_shooting,#form_container_edit_client
{
  z-index: 19;
  position:absolute;
  opacity: 0;
  top:100%;
  left:0;
  width:100%;
  height:100%;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background-color: rgba(0,0,0,0.9);
  display:none;
}

@media only screen and (min-width: 700px)
{

  #form_container,
  #form_container_shooting,
  #form_container_edit_client
  {
    background-color: rgba(0,0,0,0.3);
  }

  #form_container form,
  #form_container_shooting form,
  #form_container_edit_client form
  {
    position: absolute;
    left:25%;
    right:25%;
    top:5%;
    width:auto;
    height:auto;
    background-color: rgba(0,0,0,0.8);
    border-radius: 30px;
    border:rgb(50,50,50) solid 1px;
    padding:30px;
  }

}

#upload_form_screen.screen
{
  background-color: rgba(0,0,0,0.5);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  position: absolute;
  width:100%;
  height: 100%;
  top:100%;
  left:0;
  z-index: 50;
  display: block;
  opacity: 0;
}


.delete_client
{
  width:50px;
  margin-right: 0;
  margin-left: calc(100% - 50px);
  position: relative;
  top:-55px;
  z-index: 6;
}

.delete_client:active
{
  color:rgb(100,100,100);
}


.delete_client::before
{
  content: "×";
  font-size: 30px;
  text-align: right;
}

#upload_progress_popup
{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);

  width:300px;
  height:200px;

  border-radius: 30px;
  border:rgb(50,50,50) solid 1px;

  text-align: center;
  vertical-align: middle;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter:blur(20px);

  -webkit-backdrop-filter:blur(20px);
}
img.loading
{
  -webkit-animation-name: loading;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

#fade_upload
{
  z-index: 80;
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height:100%;

  -webkit-backdrop-filter:brightness(0.3) blur(5px);
  backdrop-filter:brightness(0.3) blur(5px);

}


.foot
{
  position: absolute;
  bottom: 0;
  width:100%;
  left:0;
  height:60px;
  text-align: center;
  vertical-align: middle;
}
