/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Dec. 27, 2020, 3:54:36 p.m.
    Author     : grizz
*/

html {  
    position: relative;
    overflow: hidden;
    height: 100vh;
}

body {
    /*position: relative;
    overflow: hidden;
    height: 100%;
    */
    background-image: url(images/NSTexturedFullScreenBackgroundColor.jpg);
}

.ui-tab{
    max-width:30%;        
}

.ui-tab{
    display: inline-block;
    text-align: center;
    background: #148f9a;
    color: #FFFFFF;
    padding-left:15px;
    padding-right:15px;
}

.ui-tabs-nav{
    border-radius: 15px;
    border: 3px solid #57c7c1;
    background: #148f9a;
    margin: 0px;
}

.ui-tabs-active{
    background: #FFFFFF;
    color: #148f9a;
}

.ui-tab a{
    text-decoration: none;
}

#largeImageContainer{
    position: fixed;
    text-align: center;
    z-index: 50;
    width:100%;
    height: 100%;
    display: none;
}
.largeImage{
    z-index: 50;
    max-width: 90%;
    max-height: 90%;
    margin: auto auto;
    border:24px solid white;
    box-shadow: 3px 3px 10px 3px #111111;
    cursor: pointer;
}

#cameraSelectionContainer{
    display: none;
    z-index:50;
    position: absolute;
    left: 50%;
    margin-left: -300px;
    width:600px;
    max-height: 70%;
    background: #444444;
    padding:10px;
    top: 40%;
    border-radius: 25px;  
    border: 3px solid #CCCCCC;
    box-shadow: 15px 15px 10px 6px #222222;
    font-family: arial;
    color: #DDDDDD;
    text-align: center;
}

#cameraClose{
    position: absolute;
    right:0px;
    margin-right: 0px;
    margin-top:-80px;
}

#backgroundContainer{
    width:100%; 
    height:100%; 
    z-index:1;
}

#templatesContainer{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width:50%;
    height: 100%;
    overflow-y: auto;
}
#templatesContainer img.thumb{
    width: 31%;
    max-width:300px;
    aspect-ratio: 3/2;
    object-fit: contain;
}
#templatesContainer img.selected{
    width: 31%;
    max-width:300px;
    aspect-ratio: 3/2;
    object-fit: contain;
}
#backgroundsContainer{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    width:50%;
    height: 100%;
    overflow-y: auto;
}
#backgroundsContainer img.thumb{
    width:31%;
    aspect-ratio: 3/2;
}
#backgroundsContainer img.selected{
    width:31%;
    aspect-ratio: 3/2;
}

#chroma{
    display: none;
    width:100%; 
    height:100%;
    position:fixed;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    object-fit: contain;     
}

#liveView{
    z-index: 1;
    width:100%; 
    height:100%;
    position:fixed;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    object-fit: contain;   
    transform: scale(-1, 1);
}

#video{
    z-index: 2;
    display:none;
    width:100%; 
    height:100%;
    position:fixed;
    top:0;
    left:0;
    bottom: 0;
    right: 0;
    object-fit: contain;    
    transform: scale(-1, 1);
}
.cameraSettingsContainer{
    font-family: 'Orbitron' !important;
    display: none;
    z-index:50;
    position: absolute;
    width:600px;
    background: #444444;
    padding:10px;
    margin-top: 5px;
    left:50%;
    margin-left: -300px;
    border-radius: 5px;  
    border: 3px solid #CCCCCC;
    box-shadow: 15px 15px 10px 6px #222222;
    font-family: arial;
    color: #DDDDDD;
    cursor: pointer;
}

select.cameraSettings{
    font-family: 'Orbitron' !important;
    font-size: 1em;
    color: white;
    border: 3px solid #CCCCCC;    
    background-color: #444444;
    padding: 3px;
}
.cameraSettings{
    font-family: 'Orbitron' !important;
}

#qrImage{
    z-index: 101;
    display: none;
    position: fixed;
    top: 50px;
    width:500px;
    height:500px;
    left:50%;
    margin-left:-250px; 
    padding:50px; 
    background: #EEEEEE;
    border-radius: 25px;
    box-shadow: 3px 3px 10px 3px #111111;
    cursor: pointer;
}

.thumb{
    width:23%;
    max-width:600px;
    margin:10px;
    border:6px solid white;
    box-shadow: 3px 3px 10px 3px #111111;
    cursor: pointer;
}

.selected{
    width:23%;
    max-width:600px;
    margin:10px;
    border:6px solid #57c7c1;
    box-shadow: 3px 3px 10px 3px #111111;
    cursor: pointer;
}

img.deleteOverlay{
    right: 70px;
    z-index: 5;
    display: inline-block;
    position: relative;
    bottom: -50%;
    width: 24px;
    height: 24px;
    margin: 10px;
    padding:5px;
    border-radius: 5px;
    border-width: 0px;
    border-color: black;
    background: #444444;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 3px 3px 10px 3px #111111;
}

#galleryContainer{
    z-index:2; 
    position:fixed; 
    left:0; 
    top:0;
    overflow-y: auto;
    width:100%;
    height:100%;
}

#foregroundContainer{
    display: none;
    z-index:5; 
    position:fixed; 
    left:0; 
    top:0;
}

.overlay-top-left{
    position: fixed;
    left: 0;
    top: 0;
    width: 40px;
    padding:10px; 
}

.overlay-bottom-left{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 40px;
    padding:10px; 
}

.overlay-top-right{
    position: fixed;
    right: 40px;
    top: 0;
    width: 40px;
    padding:10px; 
}

.overlay-bottom-right{
    position: fixed;
    right: 40px;
    bottom: 0;
    width: 40px;
    padding:10px; 
}

.overlay-left.a{
    margin-bottom:20px;
}

.overlay-bottom{
    position: fixed;
    bottom: 0;
    width:350px;
    left:50%;
    margin-left:-150px; 
    padding:10px; 
}

.overlay-center{
    position: fixed;
    bottom: 50%;
    width:80px;
    height:80px;
    left:50%;
    margin-left:-40px; 
    margin-top:-40px; 
    padding:10px; 
}

.overlay-bottom.a{
    margin-right:20px;
}

a.button{
    display: inline-block;
    width: 32px;
    height: 32px;
    margin:8px;
    color:white;
    padding:15px;
    border-radius: 15px;
    border-width: 0px;
    border-color: black;
    background: #444444;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 3px 3px 10px 3px #111111;
}

a.button:hover{
    background: #888888;
    opacity: 1.0;
}

a.smallbutton:hover{
    background: #888888;
    opacity: 1.0;
}

a.smallbutton{
    display: inline-block;
    width: 16px;
    height: 16px;
    margin:8px;
    color:white;
    padding:15px;
    border-radius: 8px;
    border-width: 0px;
    border-color: black;
    background: #444444;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 3px 3px 10px 3px #222222;
}

a.bigbutton{
    display: inline-block;
    width: 64px;
    height: 64px;
    margin:8px;
    color:white;
    padding:15px;
    border-radius: 50px;
    border-width: 0px;
    border-color: black;
    background: #444444;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 3px 3px 10px 3px #222222;
}

a.bigbutton:hover{
    background: #888888;
    opacity: 1.0;
}

#countdownCanvas{
    display: block;
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#photoCount{
    display: block;
    position: absolute;
    color: white;
    z-index: 2;
    left:0;
    bottom:0;
    margin-left: 5%;
    margin-bottom: 5%;
    font-size: 128px;
    font-family: arial;
}

#helpContainer{
    display:none;
    z-index:50;
    position: absolute;
    left: 50%;
    margin-left: -400px;
    width:800px;
    max-height: 70%;
    background: #444444;
    padding:50px;
    margin-top: 50px;
    border-radius: 25px;  
    border: 3px solid #CCCCCC;
    box-shadow: 15px 15px 10px 6px #222222;
    font-family: arial;
    color: #DDDDDD;
}

#helpContainer a{
    color: #57c7c1;
}

#helpClose{
    position: absolute;
    right:0px;
    margin-right: 80px;
    margin-top:-80px;
}
h2{
    color: #57c7c1;
    font-family: arial;
}

h3{
    color: #57c7c1;
    font-family: arial;
    font-size: 2em;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    text-shadow: 3px 3px #111111;
}

#helpContent{  
    height:100%;
    overflow-y: auto;
}

button{
    font-size: 16px;
    border-radius: 5px;
    margin-right:20px;
    margin-top: -5px;
    background: #57c7c1;
    padding: 10px;
    color: white;
    border: 2px solid #148f9a;
    box-shadow: 1px 1px 2px 1px #222222;
}

.overlayShadow{
    display: none;
    z-index:50;
    position: absolute;
    left: 50%;
    margin-left: -400px;
    width:800px;
    max-height: 70%;
    background: #444444;
    padding:10px;
    margin-top: 50px;
    border-radius: 25px;  
    border: 3px solid #CCCCCC;
    box-shadow: 15px 15px 10px 6px #222222;
    font-family: arial;
    color: #DDDDDD;
}

label{
    color: #57c7c1;
    font-family: arial;
    font-weight: bold;
    width: 300px;
    padding: 10px;
    display: inline-block;
    font-size: 1.5em;
}

input,select{
    border-radius: 5px;
    border: 2px #57c7c1 solid;
    padding: 5px;
    margin: 5px;
    box-shadow: 1px 1px 2px 1px #222222;
    font-size: 1.5em;
}

input[type="checkbox"]{
    width: 20px;
    height: 20px;
}

#modal{
    width:50%;
    height:50%;
    background: #FFFFFF;
    padding:50px;
    border: 1px solid black;
    border-radius: 50px;
    box-shadow: 3px 3px 10px 3px #222222;
    opacity: 1.0;
    filter: none;
    -webkit-filter: none;
}

#splashLogo{
    position: fixed;
    top: 50%;
    width:512px;
    height:512px;
    margin-left: -256px;
    margin-top: -256px;
    left:50%;
}

#splashContainer{
    position: fixed;
    left:10%;
    top:10%;
    z-index: 100;
    width:80%;
    height:80%;
    background-image: url('images/SLR-BOOTH_icon_512px.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

a.smallbutton img{
        width:16px;
    }

a.button img{
        width:32px;
    }
    
a.bigbutton img{
        width:64px;
    }    
#spinner{
    z-index: 99;
        position: fixed;
    bottom: 50%;
    width:80px;
    height:80px;
    left:50%;
    margin-left:-40px; 
    margin-top:-40px; 
    padding:10px; 
}
.lds-roller {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
    
    
@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

@-moz-keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media only screen and (min-height: 1000px) {
    .overlay-top-right{
        right: 80px;
        width: 80px;
    }
    
    .overlay-bottom-right{
        right: 80px;
        width: 80px;
    }
    .overlay-bottom{
        width:700px;
        margin-left:-300px; 
    }
    .overlay-center{
        width:160px;
        height:160px;
        margin-left:-80px; 
        margin-top:-80px; 
    }
        a.button{
            display: inline-block;
            width: 64px;
            height: 64px;
            margin:16px;
            color:white;
            padding:30px;
            border-radius: 30px;
            border-width: 0px;
            border-color: black;
            background: #444444;
            cursor: pointer;
            opacity: 0.8;
            box-shadow: 3px 3px 10px 3px #111111;
        }
        a.button img{
            width:64px;
        }
        
    a.bigbutton{
        display: inline-block;
        width: 128px;
        height: 128px;
        margin:16px;
        padding:30px;
        border-radius: 100px;    
    }    
        a.bigbutton img{
            width:128px;
        }
    }

@media only screen and (min-width: 1921px) {
.overlay-top-right{
    right: 80px;
    width: 80px;
}

H2{
    font-size: 2em;
}

#cameraSelectionContainer{
    width: 800px;
    margin-left: -400px;
}

.overlay-bottom-right{
    right: 80px;
    width: 80px;
}
.overlay-bottom{
    width:700px;
    margin-left:-300px; 
}
.overlay-center{
    width:160px;
    height:160px;
    margin-left:-80px; 
    margin-top:-80px; 
}
    a.button{
        display: inline-block;
        width: 64px;
        height: 64px;
        margin:16px;
        color:white;
        padding:30px;
        border-radius: 30px;
        border-width: 0px;
        border-color: black;
        background: #444444;
        cursor: pointer;
        opacity: 0.8;
        box-shadow: 3px 3px 10px 3px #111111;
    }
    a.button img{
        width:64px;
    }
    
a.bigbutton{
    display: inline-block;
    width: 128px;
    height: 128px;
    margin:16px;
    padding:30px;
    border-radius: 100px;    
}    
    a.bigbutton img{
        width:128px;
    }
}

@media only screen and (min-width: 2561px) {
    .overlay-top-right{
        right: 120px;
        width: 120px;
    }

    #cameraSelectionContainer{
        width: 1200px;
        margin-left: -600px;
    } 
    
    H2{
        font-size: 3em;
    }    
    
    .overlay-bottom-right{
        right: 120px;
        width: 120px;
    }
    .overlay-bottom{
        width:1000px;
        margin-left:-500px; 
    }
    .overlay-center{
        width:240px;
        height:240px;
        margin-left:-120px; 
        margin-top:-120px; 
    }
        a.button{
            display: inline-block;
            width: 96px;
            height: 96px;
            margin:24px;
            color:white;
            padding:45px;
            border-radius: 45px;
            border-width: 0px;
            border-color: black;
            background: #444444;
            cursor: pointer;
            opacity: 0.8;
            box-shadow: 3px 3px 10px 3px #111111;
        }
        a.button img{
            width:96px;
        }
        
    a.bigbutton{
        display: inline-block;
        width: 192px;
        height: 192px;
        margin:24px;
        padding:45px;
        border-radius: 150px;    
    }    
        a.bigbutton img{
            width:192px;
        }
    }


@media only screen and (max-height: 400px) {
label{
    font-size: 1em;
    max-width: 50%;
}
input,select{
    font-size: 1em;
    max-width: 40%;
}
h2{
    font-size: 1.0em;
}
h3{
    font-size: 1.0em;
}
.overlay-top-right{
    right: 30px;
    width: 30px;
}

.overlay-bottom-right{
    right: 30px;
    width: 30px;
}
/*
.overlay-bottom{
    width:700px;
    margin-left:-300px; 
}
*/
.overlay-center{
    width:60px;
    height:60px;
    margin-left:-30px; 
    margin-top:-30px; 
}
a.button{
    display: inline-block;
    width: 24px;
    height: 24px;
    margin:6px;
    color:white;
    padding:12px;
    border-radius: 12px;
    border-width: 0px;
    border-color: black;
    background: #444444;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 3px 3px 10px 3px #111111;
}
a.button img{
    width:24px;
}
    
a.bigbutton{
    display: inline-block;
    width: 48px;
    height: 48px;
    margin:6px;
    padding:12px;
    border-radius: 25px;    
}    
a.bigbutton img{
    width:48px;
}

.overlayShadow{
    display: none;
    z-index:2;
    position: fixed;
    margin-left: 0px;
    left: 5%;
    width:80%;
    max-height: 90%;
    overflow-y: auto;
    background: #444444;
    padding:10px;
    margin-top: -20px;
    border-radius: 10px;  
    border: 1px solid #CCCCCC;
    box-shadow: 5px 5px 3px 2px #222222;
    font-family: arial;
    color: #DDDDDD;
}
}

@media only screen and (max-width: 500px) {
    #photoCount{
        font-size: 128px;
    }
    label{
        font-size: 1em;
        max-width: 50%;
    }
    input,select{
        font-size: 1em;
        max-width: 40%;
    }
    h2{
        font-size: 1.0em;
    }
    h3{
        font-size: 1.0em;
    }
    .overlay-top-right{
        right: 30px;
        width: 30px;
    }
    
    .overlay-bottom-right{
        right: 30px;
        width: 30px;
    }
    
    .overlay-bottom{
        width:250px;
        margin-left:-125px; 
    }

    #templatesContainer{
        width:100%;
        height: 45%;
    }
    #backgroundsContainer{
        width:100%;
        height: 45%;
        top:50%;
    }

    #galleryContainer img.thumb{
        width: 31%;
        aspect-ratio: 3/2;
        border-width: 1px;
        margin: 2px;
    }    

    #galleryContainer video.thumb{
        width: 31%;
        aspect-ratio: 3/2;
        border-width: 1px;
        margin: 2px;
    }      

    #templatesContainer img.thumb{
        width: 31%;
        aspect-ratio: 3/2;
        border-width: 1px;
        margin: 2px;
    }

    .selected{
        width:31%;
        height: auto;
        max-width:600px;
        margin:2px;
        border:1px solid #57c7c1;
        box-shadow: 3px 3px 10px 3px #111111;
        cursor: pointer;
    }

    .overlay-center{
        width:60px;
        height:60px;
        margin-left:-30px; 
        margin-top:-30px; 
    }
    a.button{
        display: inline-block;
        width: 24px;
        height: 24px;
        margin:3px;
        color:white;
        padding:12px;
        border-radius: 12px;
        border-width: 0px;
        border-color: black;
        background: #444444;
        cursor: pointer;
        opacity: 0.8;
        box-shadow: 3px 3px 10px 3px #111111;
    }
    a.button img{
        width:24px;
    }
        
    a.bigbutton{
        display: inline-block;
        width: 48px;
        height: 48px;
        margin:3px;
        padding:12px;
        border-radius: 25px;    
    }    
    a.bigbutton img{
        width:48px;
    }

    .overlayShadow{
        display: none;
        z-index:2;
        position: fixed;
        margin-left: 0px;
        left: 5%;
        width:80%;
        max-height: 90%;
        overflow-y: auto;
        background: #444444;
        padding:10px;
        margin-top: -20px;
        border-radius: 10px;  
        border: 1px solid #CCCCCC;
        box-shadow: 5px 5px 3px 2px #222222;
        font-family: arial;
        color: #DDDDDD;
    }

    .ui-tab{    
        max-width: 40%;
        padding-left: 3px;
        padding-right: 3px;
    }

    .tabContainer{
        margin: 3px;
        margin-block-start: 3px;
        margin-block-end: 3px;
        padding-inline-start: 15px;
        border-radius: 6px;
        border-width: 2px;
    }

    #settingsContainer label{
        font-size: 0.8em;
    }

    .ui-tab h2{
        font-size: 0.9em;
        margin: 5px;
    }

}



