@import url(https://fonts.googleapis.com/css?family=Dekko|Kalam);

*{
    margin: 0;
    padding: 0;
    outline: 0;
}

html{
    min-height: 880px;
    overflow: auto;
}

body{
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 880px;
    background: #3d6279;
    overflow: hidden;
    font: normal 9px/100% 'Arial Rounded MT Bold', 'Helvetica Rounded', Arial, sans-serif;
    color: #dddddd;
}

h1, button{
    font: normal 36px/100% 'Dekko', 'Kalam', cursive;
    color: #53576c;
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2{
    font: normal 20px/100% 'Kalam', 'Dekko', cursive;
    color: #334e73;
    cursor: default;
    text-align: center;
}

h3{
  position: absolute;
  top: 450px;
  left: 0;
  right: 0;
  margin: auto;
  width: 35%;
  max-width: 640px;
  font: normal 20px/100% 'Kalam', 'Dekko', cursive;
  color: #334e73;
  cursor: default;
}

h4{
    font-size: 11px;
    font-weight: normal;
    color: #545b60;
    line-height: 22px;
    text-transform: uppercase;
}

a:link, a:visited{
    color: white;
}

button{
    cursor: pointer;
    border: 0;
    background: transparent;
}

button::-moz-focus-inner {
  border: 0;  /*remove outline on active/focus*/
}

#bg, #bg div, header{
    position: absolute;
    width: 100%;
    height: 100%;
}

#bg>div:nth-of-type(1){
    height: 400px;
    background: #659ebf no-repeat 50% 0; /*img set via js*/
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform .7s cubic-bezier(.75,0,.25,1);
    transition: transform .7s cubic-bezier(.75,0,.25,1);
}

#bg>div:nth-of-type(2){
    top: 380px;
    background: repeat-x; /*img set via js*/
    z-index: 1;
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: background-position .7s cubic-bezier(.75,0,.25,1), -webkit-transform .7s cubic-bezier(.75,0,.25,1);
    transition: background-position .7s cubic-bezier(.75,0,.25,1), transform .7s cubic-bezier(.75,0,.25,1);
}

#bg>div:nth-of-type(2)>h2{
    height: 216px;
    padding-top: 123px;
    background: no-repeat 50% 20px; /*img set via js*/
    -webkit-transition: -webkit-transform .7s cubic-bezier(.75,0,.25,1);
    transition: transform .7s cubic-bezier(.75,0,.25,1);
}

header{
    opacity: 0;
    height: 150px;
    background: no-repeat 50% 50%; /*img set via js*/
    -ms-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: opacity 1s ease-in, -webkit-transform .5s .2s;
    transition: opacity 1s ease-in, transform .5s .2s;
}

section{
    position: absolute;
    top: 150px;
    width: 100%;
    height: 640px;
    padding: 40px 0 0;
    text-align: center;
    background: no-repeat 50% 20px; /*img set via js*/
    overflow-x: hidden;
    z-index: 1;
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform .7s cubic-bezier(.75,0,.25,1);
    transition: transform .7s cubic-bezier(.75,0,.25,1);
}

section>button{
    position: absolute;
    left: 50%;
    border-radius: 50%;
}

.startBtn{
    top: 346px;
    margin-left: -217px;
    width: 142px;
    height: 142px;
}

.backBtn, .nextBtn{
    width: 180px;
    height: 60px;
    font-size: 26px;
}

.backBtn{
  margin: 15px 15px 0 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: right;
}

.nextBtn{
  margin: 18px 0 0 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  text-align: left;
}

.backBg, .nextBg{
  position: absolute;
  width: 50%;
  height: 100px;
  background: no-repeat; /*img set via js*/
}

.backBg{
  background-position: 50% -380px;
  left: -60px;
}

.nextBg{
  background-position: 50% -280px;
  right: -60px;
}

.uploadBtn{
    width: 44px;
    height: 44px;
    margin: 9px;
    background: rgba(0,0,0,.2) no-repeat; /*img set via js*/
    border: 2px solid #dddddd;
    border-radius: 50%;
    box-shadow: 0 0 4px #3C4574;
}

.uploadBtn:nth-of-type(1), .uploadBtn:nth-of-type(4){
    background-position: 0px 0px;
}

.uploadBtn:nth-of-type(2), .uploadBtn:nth-of-type(5){
    background-position: 0px -40px;
}

.uploadBtn:nth-of-type(3), .uploadBtn:nth-of-type(6){
    background-position: 0px -80px;
}

.uploadBtn:active, .editBtnDiv>button:active{
    /*background-color: rgba(96,96,96,.2);*/
}

.editBtnDiv{
    display: inline-block;
    width: 120px;
    height: 40px;
    margin: 9px;
    border: 2px solid white;
    border-radius: 22px;
    box-shadow: 0 0 4px #3C4574;
    overflow: hidden;
}

.editBtn{
    width: 60px;
    height: 40px;
    background: rgba(0,0,0,.2) no-repeat; /*img set via js*/
}


.editBtnDiv:nth-of-type(1)>.editBtn:nth-child(1), .editBtnDiv:nth-of-type(3)>.editBtn:nth-child(1){
    background-position: 10px -200px; /*scale plus*/
    border-right: 2px solid rgba(0,0,0, .2);
}

.editBtnDiv:nth-of-type(1)>.editBtn:nth-child(2), .editBtnDiv:nth-of-type(3)>.editBtn:nth-child(2){
    background-position: 8px -240px; /*scale minus*/
    border-left: 1px solid rgba(255,255,255, .25);
}

.editBtnDiv:nth-of-type(2)>.editBtn:nth-child(1), .editBtnDiv:nth-of-type(4)>.editBtn:nth-child(1){
    background-position: 10px -160px; /*rotate left*/
    border-right: 2px solid rgba(0,0,0, .2);
}

.editBtnDiv:nth-of-type(2)>.editBtn:nth-child(2), .editBtnDiv:nth-of-type(4)>.editBtn:nth-child(2){
    background-position: 8px -120px; /*rotate right*/
    border-left: 1px solid rgba(255,255,255, .25);
}

.shareBtn{
    top: 433px;
    width: 144px;
    height: 44px;
    font-size: 16px;
    padding: 0 15px 0 45px;
    line-height: 14px;
}

.shareBtn:nth-of-type(1){
    margin-left: -310px;
}

.shareBtn:nth-of-type(2){
    top: 431px;
    margin-left: -150px;
}

.shareBtn:nth-of-type(3){
    margin-left: 10px;
}

.shareBtn:nth-of-type(4){
    margin-left: 170px;
}

.trailerBtn{
    display: inline-block;
    width:160px;
    height: 44px;
    background: no-repeat; /*img set via js*/
    font: normal 16px/44px 'Dekko', 'Kalam', cursive;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

form{
    display: none;
}

.panel, .panelSolo{
    display: inline-block;
    position: relative;
    width: 308px;
    height: 393px;
    background: no-repeat; /*img set via js*/
    box-shadow: 0 0 4px #3C4574;
}

.panel:nth-of-type(1){
    margin-right: 12px;
}

.panel:nth-of-type(2){
    margin-left: 12px;
}

.userImgDiv{
    position: relative;
    width: 300px;
    height: 300px;
    border: 4px solid white;
    overflow: hidden;
}

.userImgDiv>img{
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.guide{
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    margin: 4px;
    cursor: move;
}

#finalImg{
    opacity: 0;
    width: 375px;
    height: 375px;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

#videoDiv{
    width: 300px;
    height: 300px;
    margin: 0 auto;
    overflow: hidden;
}

video{
    opacity: 0;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.shutterBtn{
    visibility: hidden;
    opacity: .6;
    position: absolute;
    width: 64px;
    height: 64px;
    left: 0;
    right: 0;
    margin: 0 auto 10px;
    bottom: 0;
    background: rgb(255, 0, 0);
    border: 1px solid #404860;
    box-shadow: inset 0 0 0 12px #303840;
    border-radius: 50%;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.closeBtn{
    width:160px;
    height:44px;
    margin: 5px;
    background: url(img/btn_close.png) no-repeat 50% 50%;
}

#scrim{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    min-height: 480px;
    background-color:#404C5E;
    z-index:3;
    overflow-y:auto;
    -webkit-transition: opacity .5s linear, visibility 0s;
    transition: opacity .5s linear, visibility 0s;
}

#scrim>div{
    text-align: center;
}

.fbThumb{
    opacity:0;
    position:relative;
    width:100px;
    height:100px;
    margin: 2px;
    border: 2px solid #454545;
    border-radius: 4px;
    overflow:hidden;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.fbThumb>img{
    position:absolute;
}

footer{
    opacity: 0;
    position: absolute;
    bottom: 0;
    padding-bottom: 5px;
    left: 0;
    right: 0;
    width: 640px;
    margin: auto;
    text-align: center;
    z-index: 1;
    -ms-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: opacity 1s ease-in, -webkit-transform .5s .2s;
    transition: opacity 1s ease-in, transform .5s .2s;
}

footer>div{
    display: inline-block;
    width: 213px;
    margin-bottom: 10px;
    vertical-align: middle;
}

footer>div:nth-of-type(1)>img{
    margin: 0 4px;
}

.indicator{
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px 40px;
    border: 2px solid #dddddd;
    border-radius: 50%;
    -webkit-transition: background-color .5s ease-in;
    transition: background-color .5s ease-in;
}

#tt>img{
    width: 213px;
    height: auto;
}