* {
    margin:0;
    padding:0;
}


body {
	font-family: Monospace;
	background-color: #131313 !important;
	margin: 0px;
	overflow: hidden;
	background-image: url(./images/bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
	height: 100vh;
    width: 100%;
}
#bodywapper{display:none;}
.button{
	align-items: flex-start !important;
    text-align: center !important;
    cursor: default;      
    box-sizing: border-box !important;
    padding: 2px 6px 3px !important;
    border-width: 2px !important;
    border-style: outset !important;
    border-color: buttonface !important;
    border-image: initial !important;
}
#backButton {
	position: absolute;
    top: 2px;
    left: 142px;
    z-index: 99;
    width: 60px;
    height: 50px;
    font-size: 20px;
    background-color: #FFC107;
    border-radius: 0 10px 10px 0;
    background-image: url(./images/uplevel.png);
    background-repeat: no-repeat;
    background-position: 70% 60%;
    background-size: 55%;
    text-indent: -5000px;
    border: none;	
			
}

#backButton.draggable{
	z-index:0;
}
#modeButton {
	position: absolute;
    bottom: 100px;
    right: 10px;
    z-index: 99999;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #000000;
    border-radius: 90px;
    overflow: hidden;
    background-image: url(./images/mode-easy.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 75%;
    text-indent: -5000px;	
			
}
#modeButton[data="expert"]{	
	background-image: url(./images/mode-expert.png);
}
#fullScreenButton {
	position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 99999;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #8f8c8c;
    border-radius: 10px;
    overflow: hidden;
    background-image: url(./images/full.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 75%;
    text-indent: -5000px;
	display:none;
			
}
#fullScreenButton[data="full"]{
	background-image: url(./images/fullExit.png);
}

#moveButton {
	position: absolute;
	bottom: 180px;
	right: 15px;
	z-index: 99999;
	width: 50px;
	height: 45px;
	line-height: 45px;
	background-color: #8f8c8c;
	border-radius: 0 0 15px 15px;
	overflow: hidden;
	background-image: url(./images/move.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 57%;
	text-indent: -5000px;
}

#rotateButton {
    position: absolute;
    bottom: 224px;
    right: 15px;
    z-index: 99999;
    width: 50px;
    height: 45px;
    line-height: 45px;
    background-color: #8f8c8c;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    background-image: url(./images/rotate.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    text-indent: -5000px;
}

#moveButton.clicked,
#rotateButton.clicked{
	background-color: #0caee2;
}

#zoominButton {
    position: absolute;
    bottom: 324px;
    right: 15px;
    z-index: 99999;
    width: 50px;
    height: 45px;
    line-height: 45px;
    background-color: #8f8c8c;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    background-image: url(./images/plus.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 45%;
    text-indent: -5000px;
}

#zoomoutButton {
    position: absolute;
    bottom: 280px;
    right: 15px;
    z-index: 99999;
    width: 50px;
    height: 45px;
    line-height: 45px;
    background-color: #8f8c8c;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    background-image: url(./images/minus.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 45%;
    text-indent: -5000px;
}
#zoominButton:hover,
#zoomoutButton:hover{
	background-color: #0caee2;
}


#splitButton {
    position: absolute;
    top: 60px;
    height: 60px;
    width: 60px;
    left: 50px;
    z-index: 99999;
    line-height: 60px;
    border-radius: 20px;
    background-color: #a5a5a5;
    background-image: url(./images/split.png);
    color: #000;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80%;
    text-indent: -5000px;
    display: none;
}
#message{
	position: absolute;
    z-index: 99999;
    color: #b7b7b7;
    text-align: center;
    display: none;
    width: 100%;
    top: 150px;
	
}
#message .text {
    line-height: 33px;
    display: inline-block;
    font-size: 20px;
    position: absolute;
}
#message .text:before {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
	content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    left: -35px;
}
#message.green .text:before {
    background-image: url(./images/v.png);
}

#message.red .text:before {
    background-image: url(./images/x.png);
}
#saved{
	position: absolute;
    z-index: 99999;
    color: #b7b7b7;
    text-align: center;
    display: none;
    width: 100%;
    top: 0; 
	line-height:30px; 
	
}
#saved .text {
    line-height: 33px;
    display: inline-block;
    font-size: 15px;
    position: absolute;
}
#saved .text:before {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
	content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    left: -20px;
	top: 10px;
}
#saved.green .text:before {
    background-image: url(./images/v.png);
}



#error{
	z-index: 99999;
    color: #ffffff;
    text-align: center;
     display: none; 
    top: 0;
    background: rgba(8, 8, 8, 0.9);
    width: 100%;
    left: 0;
    border-radius: 5px;
    height: 100vh;
    padding: 0;
    position: absolute;
}
#error .popup{
	color: #090909;
    text-align: center;
    display: block;
    background: #f1f1f1;
    width: 50%;
    border-radius: 5px;
    padding: 5%;
    position: relative;
    margin: 30vh auto;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.87);
    border: 1px solid #000;
    font-size: 1.2em;
}
#error .popup .text{
	position: relative;
    padding: 0 30px 0;
    margin: 0 auto;
}

#error  .text:before {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
	content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    left: -5px;
}

#error.red .text:before {
    background-image: url(./images/x.png);
}

#error a.refresh{
		color: #090909;		
		text-decoration: underline;
}

#loading {
    position: absolute;
    z-index: 999999;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    font-size: 18px;
	padding-top:5%;
	height: 100vh;
}

#loading img {
    margin: 0 auto;
   /* max-height: 100% !important;*/
    width: auto !important;
}
#box {
    position: relative;
    background: #151515;
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #000;
    padding: 3em;
	color:#fff;
}
#box h2{color:#fff;}
#loader{color: #ffb20a;}
#play {
    position: relative;
    background: #151515;
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid #000;    
    height: 86vh;
	
}
#playScroll{	
	overflow: auto;
	width: 100%;
	height: 80%;
	scrollbar-width: thin;
	scrollbar-color: #6b6a6a #131313;
}
#playButton, #boxButton {
    margin: 1em 0 2em;
    font-size: 1.2em;
    line-height: 1.2em;
    background: #ffb20a;
    padding: 0.5em 3em;
}

#playButton:hover , #boxButton:hover{
    background: #FF9800;
}
			
#container{
	position:absolute;
	z-index:99;
	
}
.puzz_title {
    position: absolute;
    z-index: 999999;
    background: #000;
    padding: 0px 30px 10px 70px;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
    right: 0;
}
.puzz_title .title{
	color: #fff;
	font-size:18px;
	line-height:18px;
}
.puzz_title a{
	color: #FF9800;
	position: relative;
}
.puzz_title  .puzz_logo{
	display: block;
	width:40px;
	height: 40px;	
	background-image: url(./images/minivers-icon.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
	position: absolute;
	left: 20px;
}
.puzz_title a:after{
	content:'›';
	color:#FF5722;
	padding: 0 5px;
}
.details{
	position: absolute;
    z-index: 1000;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 152px;
    height: 100vh;
	overflow: hidden;
    display: none;    
	background: #131313;
	box-shadow: 0 0 10px rgba(5, 5, 5, 0.55);
	scrollbar-width: thin;
	scrollbar-color: #6b6a6a #131313; 
}

div::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: rgba(119, 119, 119, 0.16);
	
}

div::-webkit-scrollbar{
	width: 10px;
	background-color: #131313;
	
}

div::-webkit-scrollbar-thumb{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #6b6a6a;	
}
.details button , .details button:hover{
	position: relative;
    width: 150px;
    height: 150px;
    background-color: #151515;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
    outline: none;
    cursor: move;
    border: 1px solid #000b0f;
    box-shadow: 0 0 10px rgba(5, 5, 5, 0.55);
}
.details button[data="locked"]{
	cursor: pointer;
}
.details button.done{
	display:none;
}
.details button[data="locked"] .detailsComb{
	display: block;
}

.details .detailsComb {
	display: none;
    position: absolute;
    background: #fda918 url(./images/comb.png) center center no-repeat;
    border-radius: 20px;
    background-size: 70%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    left: 8px;
    top: 8px;
    pointer-events: none;
    z-index: 10;
    box-shadow: 10px 10px 50px rgba(5, 5, 5, 0.52);
}

.details .detailsCount {
	position: absolute;
    background: #cd4407;
    color: #fff;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    right: 2px;
    bottom: 2px;
    pointer-events: none;
    z-index: 10;
}
.details button img {
	width: 100%;
	height: auto;
	margin:0;
}

.details.active{ display: block;}
.details.draggable{
	pointer-events: none;
	z-index:1;
	
	
			
}
.details.draggable button.draggable{
	opacity: 0.2;
	
}
.details.draggable button[data-count="1"].draggable{	
	background-image: none !important;	
}

.woocommerce-store-notice, .demo_store{display:none !important;}

#puzzCollection {
    width: 70%;
    height: 70vh;
    top: 20vh;
    position: absolute;
    left: 15%;
    text-align: center;
}


@media only screen and (min-width : 1224px) {

	.details {
		overflow: auto;
		width: 160px; 
	}
}

@media only screen and (max-width : 840px) and (orientation:landscape){
	#modeButton {		
		bottom: 62px;
		right: 13px;
		width: 43px;
		height: 43px;
		line-height: 43px;
	}
	#moveButton {		
		bottom: 115px;
		right: 15px;		
		width: 40px;
		height: 35px;
		line-height: 40px;		
		border-radius: 0 0 10px 10px;		
		background-size: 57%;		
	}

	#rotateButton {		
		bottom: 149px;
		right: 15px;
		width: 40px;
		height: 35px;
		line-height: 35px;		
		border-radius: 10px 10px 0 0;		
		background-size: 60%;		
	}

	#zoominButton {		
		bottom: 229px;
		right: 15px;		
		width: 40px;
		height: 35px;
		line-height: 35px;		
		border-radius: 10px 10px 0 0;		
		background-size: 45%;		
	}

	#zoomoutButton {		
		bottom: 195px;
		right: 15px;		
		width: 40px;
		height: 35px;
		line-height: 35px;		
		border-radius: 0 0 10px 10px;		
		background-size: 45%;		
	}
	
	#fullScreenButton {		
		bottom: 15px;
		right: 15px;		
		width: 40px;
		height: 40px;
		line-height: 40px;
	}
	#box{
		height: 100vh;
		padding: 1em 3em;
	}
	#box img{
		max-width: 50%;
		float: left;
	}
	#boxButton{
		margin-top:0;
	}
	#play{height: 100vh;}
	#playScroll{height: 65%;}
	#playButton {
		margin: 1em 0;
	}	
}
@media screen and (orientation:portrait) {
	.details {		
		top: auto;
		bottom: 0;
		height: 170px;
		width: 100%;
		overflow: hidden;
		
		
	}
	.details-container{
		white-space: nowrap;
	}
	.details button, .details button:hover {		
		width: 100px;
		display: inline-block;
		height: 100px;		
	}
	
	#splitButton {
		top:auto;
	    bottom: 95px;
		left: 20px;
	}
	
	#moveButton {
		bottom: 10px;
		left: 65px;
		width: 35px;
		height: 40px;
		line-height: 40px;
		border-radius: 10px 0 0 10px;
		background-size: 70%;
	}
	#rotateButton {
		bottom: 10px;
		left: 100px;
		width: 35px;
		height: 40px;
		line-height: 40px;
		border-radius: 0 10px 10px 0;
		background-size: 70%;
	}
	
	#zoomoutButton {
		bottom: 10px;
		left: 150px;
		width: 35px;
		height: 40px;
		line-height: 40px;
		border-radius: 10px 0 0 10px;
		background-size: 55%;
	}
	#zoominButton {
		bottom: 10px;
		left: 184px;
		width: 35px;
		height: 40px;
		line-height: 40px;
		border-radius: 0 10px 10px 0;
		background-size: 55%;
	}
	
	#modeButton {
		bottom: 10px;
		left: 10px;
		width: 40px;
		height: 40px;
		line-height: 40px;
	} 
	
	
	
	#backButton {	
    top: auto;
    left: auto;
	bottom: 165px;
    right: 4px;
    width: 40px;
    height: 50px;
    background-position: 60% 50%;
    background-size: 50%;
    border-radius: 10px 10px 0 0px;		
	}
	
	#fullScreenButton {		
		bottom: 10px;
		right: 10px;		
		width: 40px;
		height: 40px;
		line-height: 40px;		
	}
	
	#error .text{
		width: 90%;
		
	}
	
}

