* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}

.displayNone{display: none;}
.displayBlock{display: block;}


body {
  background-color: rgb(60, 158, 255);
  color: #ddd; 

}


#wrapper{
position: relative;
top: -16px;
margin: auto;
min-width: 360px;
max-width: 414px;
z-index: 1;
}

#wrapperIndex{ /* this is in the index.html page   */
  position: relative;
  top: 0px;
  min-width: 360px;
  max-width: 414px;
  margin: auto;  
  z-index: 1;
  }

  .setWidthIntroImage{
    margin:auto;
  }


.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(37, 146, 255);
  display:flex;
  justify-content: center;
  align-items: center;
  z-index: 55;
}
.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
  border: 4px solid #Fff;
  animation: loader 3s infinite ease;
}
.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  animation: loader-inner 3s infinite ease-in;
}
@keyframes loader {
  0% { transform: rotate(0deg);}
  25% { transform: rotate(180deg);}
  50% { transform: rotate(180deg);}
  75% { transform: rotate(360deg);}
  100% { transform: rotate(360deg);}
}
@keyframes loader-inner {
  0% { height: 0%;}
  25% { height: 0%;}
  50% { height: 100%;}
  75% { height: 100%;}
  100% { height: 0%;}
}

.fade-out {
  opacity: 0;
	animation-name: fadeOutOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
	animation-duration: 4s;
}

@keyframes fadeOutOpacity {
	100% {opacity: 1;	}
  0% {opacity: 0;}
}


.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 3s;
}

@keyframes fadeInOpacity {
	0% {opacity: 0;	}
	100% {opacity: 1;}
}

.fade-in2 {
	opacity: 1;
	animation-name: fadeInOpacity2;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}

@keyframes fadeInOpacity2 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.slide {
  animation-duration: 1s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    top: 250px;
    width: 0%;
  }

  to {
    top: 0px;
    width: 100%;
  }
}


  .loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    animation: loader 2s infinite ease;
  }

  .loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #242f3f;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index:100;
  }
  
  .loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 2s infinite ease-in;
  }
  
  @keyframes loader {
    0% {
      transform: rotate(0deg);
    }
    
    25% {
      transform: rotate(180deg);
    }
    
    50% {
      transform: rotate(180deg);
    }
    
    75% {
      transform: rotate(360deg);
    }
    
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes loader-inner {
    0% {
      height: 0%;
    }
    
    25% {
      height: 0%;
    }
    
    50% {
      height: 100%;
    }
    
    75% {
      height: 100%;
    }
    
    100% {
      height: 0%;
    }
  }

  
#canvasPhoto {
  display: none;
}

.stickers{
  background-color: rgb(87, 170, 253);
  opacity: 0.8;
  margin: auto;
}

#masterImageOverlay{
  display:none;

}

#selectedCam{
  display:none;

}

#idProp1 {   
  display:inline;
  margin-top: 10px;
  height:40px;
  transition:max-height 1s;
  vertical-align: bottom;
}

#idProp2 {   
  margin-top: 10px;
  height:40px;
  transition:max-height 1s;
  vertical-align: bottom;
}

#idProp3 {   
  display:none;
  margin-top: 10px;
  height:40px;
  transition:max-height 1s;
  vertical-align: bottom;
}

#idProp4 {   
  display:none;
  margin-top: 10px;
  height:40px;
  transition:max-height 1s;
  vertical-align: bottom;
}

i.fas.big {
  font-size: 48px;
  margin: auto;
}

i.fas.smallPlaceLeft {
  font-size: 18px;
  margin-right: 7px;
}

i.fas.smallPlaceRight {
  font-size: 18px;
  margin-left: 7px;
}

section{
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  margin: auto;


}

#cameraContentarea {
  background-color: rgb(60, 158, 255);
  margin: auto;
}

#cameraOutput {
  position: relative;
  background-color: rgb(60, 158, 255);
  top: -15px;
  left: -1px;
  margin: auto;
}

#canvasMixArea {
  position: relative;
  top :0px;
  background-color: rgb(60, 158, 255);
  margin: auto;
}


#video {
  display: block;
  border-radius: 2px;
  border: 1px solid rgb(81, 168, 255);
  box-shadow: 2px 2px 4px  rgb(78, 78, 78);;
  margin: auto;
  /*  width: 380px;
  height: 502px;  */  
  /* help with camera reversal */
  
}

.videoFlip{transform: rotateY(180deg);}
.videoNoFlip{transform: rotateY(0deg);}


#photo {
  display: block;
  border-radius: 2px;
  border: 1px solid rgb(81, 168, 255);
  box-shadow: 2px 2px 4px  rgb(78, 78, 78);;
  margin: auto;
 /* width: 320px;
  height: 380px; */
}

#photoPreview {
  display: block;
  top: 0px;
 /* width: 320px;
  height: 380px; */
}

#c{
  display: block;
  border: 0px solid rgb(81, 168, 255);
  margin: auto;
}


.camera {
  /* width: 340px; */
  display: block;
  position: relative;
  margin: auto;
}


.messagestyle{
  display: block;
  position: relative;
  margin: auto;
  z-index: 10;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  color: white;
  opacity: 0.9;
  top: 100px;
}

.pageLoading{
  display: block;
  position: relative;
  margin: auto;
  z-index: 10;
  font-size: 20px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  color: white;
  background-color: rgb(255, 255, 255); 
  height: 80%;
  width: 358px;
}


.clear			{ clear:both; }
.photo-link		{ padding:5px; margin:5px; border:1px solid #ccc; display:block; width:200px; float:left; }
.photo-link:hover	{ border-color:#999; }


.floatFilterButton{
  position: relative;
  z-index: 25;
  top: -195px;
  padding: 5px;
  padding-bottom: 8px;
  opacity: 0.6;  
  margin: auto;
}

.floatCaptureButton{
  position: relative;
  top: -127px;
  padding: 5px;
  padding-bottom: 13px;
  opacity: 0.9;  
  background-color: rgb(24, 140, 255); 
  margin: auto;
}

.floatPreviewButton{
  position: relative;  
  top: -44px;
  padding: 6px;
  padding-bottom: 15px;
  opacity: 0.8;  
  background-color: rgb(24, 140, 255); 
  margin: auto;  
}

.floatProps{
  position: relative;
  top: -124px;
  padding: 0px;
  padding-bottom: 10px;  
}

.floatStartButton{
  position: relative;
  z-index: 7;
  top: -130px;
  padding: 5px;
  padding-bottom: 8px;
  opacity: 0.9;  
  margin: auto;
}

.output {
  /* width: 340px; */
  display: block;
  position: relative;
  margin: auto;
}

button, #downloadButton {
  background-color: rgb(100, 100, 100);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-family: 'Raleway', sans-serif;
  text-align: justify;
  color: rgba(255, 255, 255, 1.0);
  padding: 0.7em;
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;

}
#startButton {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;
  z-index: 4

}

.goAgainBtn{
  margin-left: 20px;
  padding: 0.4em;
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;
  z-index: 1000;

}


#startMixingButton, #downloadButton, #returnButton, #printPhoto {
  background-color: rgb(68, 68, 68);
  padding: 0.7em;
  color: white;
  text-decoration: none;
  margin: auto;
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;
}

#retakePhotoButton {
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;
}

#printPhoto {
  margin-right: 18px;
  box-shadow: 2px 2px 3px  rgb(48, 48, 48);;
}
/* ------------------- */

#appIntroText{
  position: relative;
}


.buttonMargins{
  margin-top: 7px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;

}

.propLayersButtonStyle{
  padding:3;
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  text-align: justify;
}


.addPropsBtn{
  margin-left: 5px;
}


.btnShowProps{
  background-color: rgb(69, 160, 252);

}

.canvasWorkspace{
  position: relative;
  top: -15px;
  left: 2px;
  margin:auto;
  }

.canvC{
margin-bottom:0px;
}



.card-container{
  opacity:0;
  pointer-events: none;
	width: 320px;
	height: 470px;
	background: #FFF;
	border-radius: 6px;
  position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	box-shadow: 0px 1px 10px 1px #000;
	overflow: hidden;
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  z-index: 100;
}

.card-container.show{
  opacity: 1;
  pointer-events: auto;
  }

  .upper-container{
    height: 150px;
    background: #516bff;
  }
  .image-container{
    background: white;
    width: 160px;
    height: 160px;
    border-radius: 10%;
    padding: 5px;
    transform: translate(75px,15px);
  }
  .image-container img{
    width: 160px;
    height: 160px;
    border-radius: 10%;
  }
  .lower-container{
    height: 280px;
    background: #FFF;
    padding: 25px;
    padding-top: 35px;
    text-align: center;
  }
  
  
  
  .lower-container h4{
    color: #516bff;
    opacity: .8;
    line-height: 1.5;
    font-weight: bold;
  }
  
  .lower-container h3{
    color: #444444;
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: bolder;
  }
  
  .lower-container h2{
    box-sizing: border-box;
    line-height: .8;
    font-weight: lighter;
  }
  
  .lower-container h1{
    box-sizing: border-box;
    line-height: .8;
    font-weight: lighter;
  }
  
  .lower-container p{
    font-size: 13px;
    color: rgb(97, 97, 97);
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .lower-container p.tel{
    font-size: 14px;
    line-height: 1.4;
    color: gray;
    font-weight: bold;
  }
  
  .lower-container p.powered{
    font-size: 10px;
    color: gray;
    font-weight: lighter;
  }
  
  .lower-container .btn{
    padding: 12px 20px;
    background: #516bff;
    border: none;
    color: white;
    border-radius: 30px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: all .3s ease-in;
  }
  .lower-container .btn:hover{
    background: transparent;
    color: #516bff;
    border: 2px solid #516bff;
  }
  