*{
  margin:0px;
  padding:0px;
  border:0px;
  padding:0px;
}
html {
  overflow-x: hidden;
  overflow-y: hidden;
}
html[dir="RTL"] .farSide {
  text-align: left;
}
body{
  background-color: #f2f2f2;
  font-family: sans-serif;
}
.rapper{
  width:100%;
  margin: 0 auto;
}
h1 {
  font-weight: normal;
  font-size: 130%;
}
h1 a {
  text-decoration: none;
}
a:hover {
  color: #f00;
}
.farSide {
  text-align: right;
}

.level_number {
  border: solid 1px #fff;
  border-radius: 20px;
  padding: 6px 12px;
  color: #fff;
}
.level_dot {
  border: solid 1px #fff;
	border-radius: 50%;
	width: 15px;
	height: 15px;
  display: inline-block;
}
.level_lock {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-image: url(/apps/static/skins/search/lock.png);
  background-size: contain;
}
.level_dot:hover, .level_number:hover{
  background-color: #ffa400;
  color: #ffffff;
}
.level_done {
  background-color: #42b12b;
  color: #ffffff;
}

.public-header{
  background:#FCB121;
  display: flex;
  height:60px;
  top:0px; 
  flex-direction: row;
  flex-wrap:nowrap;
  justify-content:space-between;
}


.public-header-left{
  width:140px;
  height:60px;
  margin-left:20px;
}

#logo{
  width:130px;
  height:45px;
  margin-top:8px;
  border-radius: 4px;
  cursor:pointer;
}

.public-header-middle{
  height:60px;
  display: none; 
}
.public-header-right{
  height:60px;
  width:100px;
  margin-right:30px;
}
#indexbtn{
  display: block;
  width:100px;
  margin:5px 0px;
  padding:10px 0px;
  background-color: #FCB121;
  outline: none;
  cursor: pointer;
  border:1px solid #df8a55;
  border-radius: 6px;
}

#indexbtn>a{
  display: block;
  font-size: 18px;
  font-weight:bold;
  color:#fff;
  text-align: center;
  text-decoration-line: none; 
}


.mainBox{
  display:flex;
  align-items:flex-start;
  padding: 10px 30px 60px 30px;
}
.public-left , #visualizationColumn{
  flex: 0 0 auto;
  width:400px;
}
/* 画布 */
#visualization{
  width:400px;
  height:400px;
  border-radius: 6px;
}
/* 按钮 */
#visualizationColumn{ 
  justify-content:space-between ;
  height:40px;
  text-align: center;
  line-height: 40px;
  margin-top:10px;
}
#gameButtons{
  display: flex;
  justify-content:space-between ;
}
/* 提示手势 */
#tipContent{
  border-radius:8px;
  margin-top:20px;
  border: 1px solid #cecece;
  width:400px;
  height:120px;
  color:#666;
}
#hands{
  width:400px;
  height:120px;
}
.public-right{
  flex: 1 1 auto;
  margin: 0px 0px 10px 20px;
  display:flex;
  flex-direction: column;
  height:90vh;
 }
 #instructionText{
  display: flex;
  background:#ddd;
  border-radius: 10px;
}
#tipsImg{
  width:50px;
  flex: 0 0 auto;
  }  
 #tips{
  flex: 1 1 auto;
  margin:10px 10px;
  padding:0px 10px;
  background:#fff;
  border-radius: 10px;
  text-align: justify;
  font-family : 微软雅黑,宋体;
  font-size : 16px;
  color : #000;
 }

.spaceHeader{
  height: 30px;
  line-height:30px;
  font-size:16px;
  font-weight: bold;
  border-radius: 15px;
  text-align: center;
}
#codeModaHeaders{
  display:flex;
  justify-content: space-between;
  flex-wrap:nowrap;
  height:30px;
  background-color: rgb(118, 101, 160);
  color: rgb(255, 255, 255);
  user-select: none;
  border-radius:6px;
  flex-direction:row;
  flex-wrap: nowrap;
}
#toolbox-header{
  width:60px;
  margin:0px 30px;
  flex-direction:row;
  flex-wrap: nowrap;
}
#showInfo{
  display:flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  background:#7665a0;
  border-radius: 8px;
}
#capacityBubble{
  width:162px;
  /* left:140px; */
  /* margin: 0px 160px; */
  flex-direction:row;
  flex-wrap: nowrap;
}
#capacity{
  text-align: center;
  border-radius: 15px;
  font-size: large;
  flex-direction:row;
  flex-wrap: nowrap;
  color:#fff;
 }

#clear-puzzle-header{
  cursor: pointer;
  flex-wrap:nowrap;
}
#showCodes,#clearButton,#showVedio{
  width:100px;
  margin:2px 10px;
  padding:0px 10px;
  border:0;
  font-size: 16px;
  height:26px;
  line-height: 26px;
  outline:none;
  background-color:#a69bc1;
  color:#f8edea;
}
#showVedio{
  display:none;
}
#codeWorkSpace{
  flex:1; 
}
#blocklyDiv {

  height: 100%;
  flex: 1 1 auto;
  border-radius: 6px;
  transition: all 0.8s;
  -moz-transition:all 0.8s;
  -webkit-transition:all 0.8s;
  -o-transition:all 0.8s;
  cursor: pointer;
}
  
#containerCode {
  direction: ltr;
  background-color: #eee;
  padding: 5px;
  margin: 0 3ex;
  font-size: large;
  overflow: auto;
  max-height: 200px;
}

img[src$="help.png"] {
  height: 64px;
  width: 64px;
}

html[dir="RTL"] .mirrorImg {
  transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
}

#languageMenu {
  vertical-align: top;
  margin-top: 16px;
}

/* Buttons */
button {
  margin: 5px;
  padding: 10px;
  border-radius: 4px;
  /* border: 1px solid #ddd; */
  font-size: large;
  background-color: #eee;
  color: #000;
}
button.primary {
  border: 1px solid #dd4b39;
  background-color: #dd4b39;
  color: #fff;
}
button.secondary {
  border: 1px solid #ffa400;
  background-color: #ffa400;
  color: #fff;
}
button.farSide {
  border: 1px solid #b9bf15;
  background-color: #b9bf15;
  color: #fff;
}
button.primary>img,
button.secondary>img {
  opacity: 1;
}
button>img {
  opacity: 1;
  vertical-align: text-bottom;
}
/* button:hover:not(:disabled)>img {
  opacity: 1;
}
button:active:not(:disabled) {
  border: 1px solid #888 !important;
}
button:hover:not(:disabled) {
  box-shadow: 2px 2px 5px #888;
} */


#stepButton , .buttons{
  float: left;
  /* margin-top:10px; */
  margin:0;
  padding: 0px;
  border:0px;
  height:40px;
  

}
#stepButton>img , .buttons>img{
  border-radius: 4px;
}


.buttons{
  float: right;
  }

/* Dialogs */
#dialog {
  visibility: hidden;
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  position: absolute;
  border-radius: 8px;
  box-shadow: 5px 5px 5px #888;
  padding: 10px;
}
#dialogBorder {
  visibility: hidden;
  position: absolute;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 6px;
  box-shadow: 5px 5px 5px #888;
}
#dialogShadow {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.3
}
.dialogAnimate {
  transition-property: width height left top opacity;
  transition-duration: 0.2s;
  transition-timing-function: linear;
}
.dialogHiddenContent {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#dialogHeader {
  height: 25px;
  margin: -10px -10px 15px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #ddd;
  cursor: move;
}
#dialog button {
  min-width: 4em;
}
.readonly .blocklyMainBackground {
  stroke: none;
}

#sharing-input {
  margin: 0;
  width: 100%;
  padding: 10px;
  cursor: text;
  background-color: #eee;
  border: 1px solid #ccc;
}
.buttons:hover{
  cursor: pointer;
}
#finishButton:hover{
  cursor: pointer;
}

/* @media screen and (orientation:portrait){
  .rapper{
      display:none;
  }
}
@media screen and (orientation:landscape){
  .rapper{
      display:block;
  }
}  */

/* experice */
.experience-view{
  /* flex: 0 0 auto;
  left:10px;
  top:-20px; */
  margin-top:10px;
  width:244px;
  height:110px;
  border: 2px solid #a06b43;
  z-index:200;
}
.person-experience{
  position:relative;
  height:24px;
  margin-top:14px;
}
.red-diamond{
  position:absolute;
  float: left;
  width:98px;
  height:20px;
  left:25px;
  background-image: url('/apps/static/skins/common_images/red_diamond.png');
	background-repeat: no-repeat;
  background-size: 68px 20px;
  color: #ff8369;
	font-size: 12px;
	padding-left: 24px;
	line-height: 25px;
}
.blue-diamond{
  position:absolute;
  float: right;
  width:98px;
  height:20px;
  left:150px;
  background-image: url('/apps/static/skins/common_images/blue_diamond.png');
	background-repeat: no-repeat;
	background-size: 68px 20px;
	color: #7cd7e9;
	font-size: 12px;
	padding-left: 24px;
	line-height: 25px;
}
.head-img{
  position: absolute;
  width: 40px;
  height: 40px;
  top:38px;
  left:22px;
  border-radius: 21px;
  border: 2px solid #a06b43;
  z-index: 1;
}
.person-level{
  position:relative;
  height:46px;
  margin-top:14px;
}

.experience-text {
  position: absolute;
  font-size: 12px;
  left: 70px;
  /* top:8px; */
	color: rgb(225, 127, 0);
}
.experience-length {
	position: absolute;
	width: 160px;
  height: 15px;
  left:56px;
  top:20px;
	border: 2px solid #a06b43;
	border-radius: 50px;
	z-index: 0;
}
.exper-center {
  position: absolute;
  height: 11px;
  top: 0px;
  border-radius: 50px;
}
/* show code */
.code-view {
	position: absolute;
	left: calc(50% - 225px);
	top: 100px;
	width: 450px;
	height: 450px;
	background-image: url('/apps/static/skins/common_images/seecode-img.png');
	background-size: 450px 450px;
	z-index: 21;
	flex-direction: column;
	align-items: center;
	justify-content: center;
  display: none;
  z-index:10000;
}
.codeText {
	width: 300px;
	height: 200px;
	overflow-y: auto;
	color: #ecddd2;
  font-size: 18px;
  margin-left:120px;
  margin-top:60px;

}
.seecode-close {
	width: 100px;
  margin-top: 50px;
  margin-left:200px;
}
.phone-info-content{
  color:white;
  width :256px;
  height :20px;
  line-height: 20px;
  margin : 0px;
  padding :0px;
  font-size :18px;
}
.blocklyScrollbarHandle {
  fill: #FCB121;
}
/* .blocklyFlyoutScrollbar{
  display:block;
} */
/* .blocklyScrollbarBackground:hover,.blocklyScrollbarHandle, .blocklyScrollbarHandle:hover{
  fill: #FCB121;
} */
.dialogLinesText{
  position:relative;
}
.success-experience{
  width:80px;
  height:20px;
  position: absolute;
  top:0px;
  left:230px;
  color: #ffa400;
  font-size: 20px;
}
.success-diamond{
  width:80px;
  height:20px;
  position: absolute;
  top:0px;
  left:316px;
  color: #ffa400;
  font-size: 20px;
}
.zhiCustomBtn{
  width:182px;
  height:84px
}


/* 全部过关提示 */
.dialog ,.wellcom ,.show-gif{
    min-width: 240px;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100001;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-content: center;
    display:none;
}
.dialog-out ,.gif-out{
    display:flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    width: 46%;
    height: 50%;
    margin:auto;
    text-align: center;
    background:rgba(255, 255, 255, 1);
    border-radius: 6px;
     position: relative;
}
.dialog-con{
    font-size:20px;
    padding-bottom:80px;
}
.btn-sa{
    display: block;
    position: absolute;
    text-align: center;
    line-height:40px;
    cursor:pointer;
    width:110px;
    height:40px;
    background-color: #f4a31e;
    color:#fff;
    padding:0;
    margin:0;
    border-radius: 6px;
    bottom:20px; 
}
.dialog-btn-ag{
    right:140px;  
    display: none;
}
.dialog-btn-kn{
    right:20px;   
}
.success-u{
  margin: 40px 0 0;
}


.dialog-gif{
  margin: 0 auto;
}
#jigsawgif{
  width:100%;
  height:100%;
}
.gif-in{
  margin-top:60px;
}