@font-face {
       font-family: vlastnifont;
       src: url("../../admin/pismo/pismo.otf"); 
                 }

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

html, body {
    font-family: vlastnifont;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /********************/
    /* board background */
    /********************/
    background: #adab9e;
}

#loading { 
  position: fixed; 
  top: 0px;
  left: 0px;  
  background-color: black; 
  opacity: 0.7; 
  font-size: 30px; 
  color: white;
  width: 100%; 
  height:100%; 
  z-index: 100000;
}

.bok {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 380px;
  background: rgba(0, 0, 0, 0.7);
  margin: 0px;
  padding: 0px 0px 0px 0px;
  z-index: 500;
}

#spodek {   
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 1530px;
  height: 40px;
  background: rgba(173, 171, 158, 0.7);
  margin: 0px;
  padding: 5px;
  z-index: 500;
  text-align: center;
  font-size: 30px;
  color: white;
  display: none;
}

.logo {
  position: absolute;
    top: 20px;
    left: 58px;
    background-image: url('../obrazky/velkelogo.png');
    width: 233px;
    height: 300px;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
}

.popishry {
  position: absolute;
  top: 330px;
  left: 60px;
  width: 250px;
  text-align: left;
  font-size: 29px;
  line-height: 30px;
  display: blok;
  color: white;  
}

.play {
    position: absolute;
    top: 655px;
    left: -630px;
    background-image: url('../obrazky/play.png');
    background-color: #ffffff;
    background-size: 65% 65%; 
    background-repeat: no-repeat;
    background-position: 71% 50%;
    padding: 5px;
    margin: 5px;
    width: 70px;
    height: 70px;
    border: 4px #595437 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}

.original {
    position: absolute;
    top: 760px;
    left: -630px;
    background-image: url('../obrazky/help.png');
    background-color: #ffffff;
    background-size: 65% 65%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 5px;
    margin: 5px;
    width: 70px;
    height: 70px;
    border: 4px #595437 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}

.zpet {
    position: absolute;
    bottom: 10px;
    left: 130px;
    background-image: url('../obrazky/home.png');
    background-color: #ffffff;
    background-size: 70% 70%; 
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px;
    margin: 5px;
    width: 70px;
    height: 70px;
    border: 4px #595437 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}

.novahra {
    position: absolute;
    bottom: 113px;
    left: 130px;
    background-image: url('../obrazky/zpet.png');
    background-color: #ffffff;
    background-size: 65% 65%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 5px;
    margin: 5px;
    width: 70px;
    height: 70px;
    border: 4px #595437 solid;
    border-radius: 50px 50px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s infinite;

}

html, body, div, ul, li, canvas { margin: 0; padding: 0; }

.hide { display: none; }

.clear { clear: both; }

/*== Jigsaw puzzle ==*/
div#canvas-wrap {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    color: black;
    font-family: vlastnifont;
}

canvas#canvas, canvas#buffer, canvas#image-preview {
    position: absolute;
    top: 50px;
    left: 10%;
}

canvas#canvas { z-index: 100;}

.loading  #canvas-wrap { background: url(../images/loader.gif) no-repeat center; }
.loading  canvas { visibility: hidden; }

canvas#buffer { z-index: 70; }

canvas#image-preview.show {
    left: 50%;
    opacity: .0;
    z-index: 40;
}

/*== Options bar ==*/
div#game-options ul {
    margin: 0 auto;
}
div#game-options  {
    background: transparent;
    z-index: 500;
    top: 0;
    left: 0;
    position: fixed;
    //border-bottom: 1px solid #000;
    padding: 5px 10px 5px 30px;
    width: 100%;
    height: 32px;
    //-moz-box-shadow: 0 0 5px black;
    //-webkit-box-shadow: 0 0 5px black;
    //box-shadow: 0 0 5px black;
    //visibility: hidden;
}

div#game-options ul li { 
    float: left;
    list-style: none;
    line-height: 25px;
}

div#game-options ul li b {
    margin: 0 10px;
}

/*== Clock ==*/
#clock {
    width: 60px;
    display: block;
    text-align: center;
}

/*== Select ==*/
div#game-options div.styled-select select {
    outline: none;
    background: transparent;
    width: 125px;
    padding: 5px;
    font-size: 13px;
    border: none;
    height: 28px;
    -webkit-appearance: none;
}

div#game-options div.styled-select {
    width: 100px;
    height: 28px;
    margin-right: 10px;
    overflow: hidden;
    background: url(../images/arrow.png) right no-repeat #f3f3f3;
    border: 1px solid #333;
}

/*== Share buttons ==*/
#share-twitter, #share-facebook {
    text-indent: -10000px;
    width: 32px;
    height: 32px;
    display: block;
    cursor:pointer;
}

/*== Crear puzzle ==*/
#image-error { color: red; margin: 0 10px; display: none; }
#dnd { display: none }

#game-options #create {
    display: none;
    right: 25px;
    position: absolute;
}

#game-options #create .add {
    background: url(../images/plus.png)  10px 6px no-repeat #f3f3f3;
    padding-left: 30px;
}
/*== Modal window ==*/

div#congrat { text-align: center;
}

div#help {
    font-size: 15px;
}

div#help ul { margin-left: 10px; }

/*== mobile ==*/
@media screen and (max-width: 960px) {
    div#game-options { left: -30px; }
    #clock { width: 50px; margin-left: }
    #SHOW_EDGE, #SHOW_MIDDLE, #SHOW_ALL,#SHOW_FILEPICKER { display: none; }
}

@media screen and (max-width: 479px) {
    #SHOW_HELP, #clock { display: none; }
    #JIGSAW_SHUFFLE { margin-left: 15px; }
    #SHOW_PREVIEW { margin-right: 10px; }
}

