/**** Base styles ****/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: monospace, serif;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

a {
    text-decoration: none;
    color: #ededed;
    font-family: monospace, serif;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
}

a:hover , a:active {
    text-decoration: none;
    color: #fff;
}

ol,ul {
    list-style: none;
    margin: 0;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
}

body {
  font: 16px monospace, serif;
  -webkit-font-smoothing: subpixel-antialiased;

  background: #1f1f1f;
  color: #ededed;
  display: block;
  margin: 0px;
  box-sizing: border-box;

    width: 100%;
    height: 100%;
    overflow: hidden;

    -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
         backface-visibility: hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

h1 {
    /*font-family: "helvetica neue", helvetica, arial, verdana, sans-serif;*/
    font-family: monospace, serif;
    font-size: 31px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f1f1f1;
}

p {
    margin-bottom: 10px;
}


.unselectable {
   -moz-user-select: -moz-none !important;
   -khtml-user-select: none !important;
   -webkit-user-select: none !important;

   /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none !important;
   user-select: none !important;
}

.squarebuttons {
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: monospace,serif;
    text-transform: lowercase;
    font-weight: bold;
    color: #fff;
    background-color: #1f1f1f;
    opacity: 1.0;

    border: 2px solid rgba(1,1,1,1);

    margin: 0px auto;

    -webkit-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
       -moz-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
         -o-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
            transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}
.squarebuttons:hover {
    border: 2px solid #fff;
    background-color: #1f1f1f;
    opacity: 1;
}

.iconbutton {
    display: block;
    color: #fff;
    text-align: center;
    text-transform: lowercase;
    width: 100px;
    padding-top: 10px;

    /*line-height: 52px;*/
    -webkit-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
       -moz-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
         -o-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
            transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}

.iconbutton:hover {
     text-shadow:   0 0 5px #fff,
                    0 0 10px #fff,
                    0 0 15px #ff2d95,
                    0 0 20px #ff2d95,
                    0 0 30px #ff2d95;

            /*        0 0 40px #ff2d95,
                    0 0 50px #ff2d95,
                    0 0 75px #ff2d95; */
}

.bt-small {
    width: 140px;
}

.bt-cancel {
    background-color: #C22F2D;
}

.bt-cancel:hover {
    background-color: #FF452E;
}


.float.left {
  float: left;
}
.float.right {
  float: right;
}

.pink {
    background-color: #EA1592;
}

.green {
    background-color: #04EDB3;
}

.s300 {
    width: 300px;
}

.s200 {
    width: 200px;
}

.s150 {
    width: 150px;
}

.s100 {
    height: 52px;
}

.hidden {
    visibility: hidden;
}


/* Animations and easing */
.appear {
  -moz-animation-name: appear-keyframes;
  -moz-animation-duration: 1700ms;
  -moz-animation-delay: 0ms;
  -moz-animation-fill-mode: forwards;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: 1;
  -webkit-animation-name: appear-keyframes;
  -webkit-animation-duration: 1700ms;
  -webkit-animation-delay: 0ms;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-name: appear-keyframes;
  animation-duration: 1700ms;
  animation-delay: 0ms;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}
@-moz-keyframes appear-keyframes {
  0% {-moz-transform:translate(0px, 0px) scale(0.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  9.09% {-moz-transform:translate(0px, 0px) scale(0.0711) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  18.18% {-moz-transform:translate(0px, 0px) scale(0.0234) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  27.27% {-moz-transform:translate(0px, 0px) scale(0.0151) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  36.36% {-moz-transform:translate(0px, 0px) scale(0.1047) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  45.45% {-moz-transform:translate(0px, 0px) scale(0.3504) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  54.55% {-moz-transform:translate(0px, 0px) scale(0.7496) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  63.64% {-moz-transform:translate(0px, 0px) scale(0.9953) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  72.73% {-moz-transform:translate(0px, 0px) scale(1.0849) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  81.82% {-moz-transform:translate(0px, 0px) scale(1.0766) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  90.91% {-moz-transform:translate(0px, 0px) scale(1.0289) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  100% {-moz-transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
}
@-webkit-keyframes appear-keyframes {
  0% {-webkit-transform:translate(0px, 0px) scale(0.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  9.09% {-webkit-transform:translate(0px, 0px) scale(0.0711) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  18.18% {-webkit-transform:translate(0px, 0px) scale(0.0234) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  27.27% {-webkit-transform:translate(0px, 0px) scale(0.0151) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  36.36% {-webkit-transform:translate(0px, 0px) scale(0.1047) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  45.45% {-webkit-transform:translate(0px, 0px) scale(0.3504) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  54.55% {-webkit-transform:translate(0px, 0px) scale(0.7496) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  63.64% {-webkit-transform:translate(0px, 0px) scale(0.9953) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  72.73% {-webkit-transform:translate(0px, 0px) scale(1.0849) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  81.82% {-webkit-transform:translate(0px, 0px) scale(1.0766) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  90.91% {-webkit-transform:translate(0px, 0px) scale(1.0289) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  100% {-webkit-transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
}
@keyframes appear-keyframes {
  0% {transform:translate(0px, 0px) scale(0.1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  9.09% {transform:translate(0px, 0px) scale(0.0711) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  18.18% {transform:translate(0px, 0px) scale(0.0234) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  27.27% {transform:translate(0px, 0px) scale(0.0151) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  36.36% {transform:translate(0px, 0px) scale(0.1047) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  45.45% {transform:translate(0px, 0px) scale(0.3504) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  54.55% {transform:translate(0px, 0px) scale(0.7496) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  63.64% {transform:translate(0px, 0px) scale(0.9953) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  72.73% {transform:translate(0px, 0px) scale(1.0849) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  81.82% {transform:translate(0px, 0px) scale(1.0766) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  90.91% {transform:translate(0px, 0px) scale(1.0289) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
  100% {transform:translate(0px, 0px) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translate(-50%, -50%);}
}



/* loader */
#loading {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0 auto;
    background-color: rgba(0,0,0,0.8);
    z-index: 1020;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading p {
    font-family: monospace;
    color: #fff;
    margin: 0% 40%;
    text-transform: lowercase;
    font-weight: bold;
    font-size: 78px;
    width: 40%;
    min-width: 300px;
    text-align: center;
    overflow: hidden;
}


/*
 * Overlay pages
 */

#overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    overflow: hidden;
    background-color: rgba(0,0,0,0.85);

    -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

    pointer-events: none;
    opacity: 0;
    perspective: 800px;
    transform-origin: 50% 50%;
    transform: scale(1.1);
    transition: all 0.35s  cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}
#overlay.visible {
    opacity: 1;
    pointer-events: all;
    transform: translate3d(0,0,0);
}

.infoscreen {
    margin: 10% auto;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.infoscreen .left {
    width: 200px;
    height: 600px;
    float: left;
    position: relative;
    margin: 0px auto;
}

.infoscreen .right {
    width: 200px;
    height: 600px;
    float: right;
}

.infoscreen .left .top ,
.infoscreen .right .top {
    margin-top: 60px;
    display: block;
}

.infoscreen .left .bottom ,
.infoscreen .right .bottom {
    position: relative;
    bottom: 0px;
}


/*
 * Upload
 */
#mostraoteu .top {
  margin: 0px auto;
  width: 320px;
}

#mostraoteu .bottom {
    margin: 30px auto;
    width: 300px;
    min-height: 60px;
}

#mostraoteu .info {
  margin: 10px;
  max-height: 120px;
  overflow: hidden;
}


#fileupload-dropzone {
    width: 500px;
    height: 400px;
    border: 2px solid #fff;
}


#photo-submit {
    position: relative;
    height: 470px;
    cursor: pointer;
    border: 2px dashed #fff;
    text-align: center;
    font-weight: bold;
    margin: 0px auto;
    overflow: hidden;

    -webkit-transition: all .150s ease-out;
       -moz-transition: all .150s ease-out;
         -o-transition: all .150s ease-out;
            transition: all .150s ease-out;
}

#photo-submit .dz-message {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* thumbs */
#photo-submit img {
    position: absolute;
    top:  10px;
    left: 10px;

    -webkit-transition: all .150s ease-out;
       -moz-transition: all .150s ease-out;
         -o-transition: all .150s ease-out;
            transition: all .150s ease-out;

  /* width: 300px; */
  /* height: 450px; */
}





#openbooth {
    width: 460px;
    height: 344px;
    display: block;
    margin-top: 40px;

    text-align: center;
}

#openbooth #take-photo-bt {

}




/*
 *
 */
.photoview {
  width: 100%;
  height: 100%;
  margin: 0 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.photoview .container {
  position: absolute;
  width: 100%;
  top: 0; left: 0;
  margin: 0;
  text-align: center;
}

.photoview .container .media {
  pointer-events: none;

  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0%;

  transition: all 0.75s  cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}

.photoview .container .media .photo {
  max-width: 70%;
  max-height: 90%;
  order: 100;
  border: 15px solid #f1f1f1;
}


/*
 * Carousel left/right/center photos
 */
.photoview .container .media.center {
  left: 0%;
  opacity: 1;
}
.photoview .container .media.left {
  left: -100%;
  opacity: 0;
}
.photoview .container .media.right {
  left: 100%;
  opacity: 0;
}



/*
 * Controls left / right
 */
.photoview .controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photoview .controls a {
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;

  width: 10%;
  text-align: center;
  font-size: 2em;
  font-weight: normal;

  font-size: 2em;
  transition: all 0.15s  cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}
.photoview .controls a:hover {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
}

.photoview .controls .spacer { order: 10; min-width: 80%; width: 80%;}
.photoview .controls .previous { order: 0; }
.photoview .controls .next { order: 300; }



/*
 * Menu
 */
#menu {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1010;
}
#menu ul {
  margin: 0;
}
#menu-mostraoteu {

  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 60px #000;
  width: 64px; height: 64px;
  outline: none;

  background-color: #ef1f3e;
  color: #000;

  line-height: 68px;
  text-shadow: 0px 0px 5px #1f1f1f;

  transition: all 0.2s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
  -webkit-transform-origin:       50% 50%;
      -moz-transform-origin:      50% 50%;
      -o-transform-origin:        50% 50%;
        transform-origin:         50% 50%;


}
#menu-mostraoteu:hover {
    transform: scale(1.2);
}


#menu-mostraoteu.closebtn {
  border: 0px;
  box-shadow: none;
  background-color: rgba(0,0,0,0);
  color: #dfdfdf;
  transform: rotateZ(-45deg);
}
#menu-mostraoteu.closebtn:hover {
    text-shadow: 0 0 10px #fff;
    transform: rotateZ(-45deg) scale(1.2);
    opacity: 1.0;
    color: #fff;
}




#viewport {
   width: 100%;
   height: 100%;
   position: absolute;
   overflow: hidden;

   margin:0 0;
   background:#212121;

    -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

}




/*
 * Another brick in the wall
 */

#wall {
    -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
         backface-visibility: hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

/*
    transform: perspective(1200px) rotateY(0deg);

    -webkit-transition: all .750s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
       -moz-transition: all .750s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
         -o-transition: all .750s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
            transition: all .750s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
*/
}

.tile {
    width: 120px;
    height: 180px;
}

.tile img {
    position: absolute;
    background-color: #f17f3e;

    border-radius: 50%;
    width: 110px;
    height: 110px;
    left: 0px;
    top: 0px;
    opacity: 1.0;
    z-index: 10;

    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    transform: scale(0.1);

    -webkit-backface-visibility: hidden;
      -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;


    -webkit-transform-origin:       50% 50%;
        -moz-transform-origin:      50% 50%;
        -o-transform-origin:        50% 50%;
          transform-origin:         50% 50%;

    -webkit-transition: all .450s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
       -moz-transition: all .450s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
         -o-transition: all .450s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
            transition: all .450s cubic-bezier( 0.420, 0.0,  0.58, 1.0);

    /*
    -webkit-box-shadow:  0px 0px 20px #000;
        -moz-box-shadow: 0px 0px 20px #000;
        -o-box-shadow: 0px 0px 20px #000;
           box-shadow: 0px 0px 20px #000;

    background-image: url("../../img/shop-spinner.8fff2261edc9.gif");
    background-size: cover;
    */
}

/* some colors to add difference */
.tile:nth-child(5n+0) img {
  background-color: #31e728;
  transition-delay: 0.20s;
}
.tile:nth-child(5n+1) img {
  background-color: #e77e1f;
  transition-delay: 0.40s;
}
.tile:nth-child(5n+2) img {
  background-color: #ff779f;
  transition-delay: 0.60s;
}
.tile:nth-child(5n+3) img {
  background-color: #1f3ee4;
  transition-delay: 0.80s;

}
.tile:nth-child(5n+3) img {
  background-color: #f1e304;
  transition-delay: 1.0s;
}




/*
 * Image loaded
 */
.tile img.loaded {
    width: 110px;
    height: 170px;
    z-index: 10;
    opacity: 1;
    left: 0px;
    top: 0px;

    border-radius: 0;

    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
      transform: scale(1.0);

      -webkit-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
         -moz-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
           -o-transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
              transition: all .150s cubic-bezier( 0.420, 0.0,  0.58, 1.0);
}

.tile img.loaded:hover {
    z-index: 15;

    box-shadow: 0px 0px 60px rgba(0,0,0,1.0);

    transform:          scale( 1.3,1.3 );
    -webkit-transform:  scale( 1.3,1.3 );
    -moz-transform:     scale( 1.3,1.3 );
    -o-transform:       scale( 1.3,1.3 );
}





/*
 * Mobile
 */
@media (max-width: 480px){
  #menu-mostraoteu {
    width: 48px;
    height: 48px;
    line-height: 48px;
  }
  #menu-mostraoteu i.icon-plus {
    font-size: 1.25em;
  }


  /* upload page */
  #mostraoteu .top {
    margin-top: 40px;
    max-width: 280px;
  }
}
