.fonblock{
	margin:0px auto;
	background:url("img/fn1.png") no-repeat;
	width:850px;
	height:550px;
	position:relative;
}
#mozaj{
	position:absolute;
	left:75px;
	top:135px;	
	-webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
#mozaj:hover{
	-webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}
.menublock{
	width:450px;
	height:550px;
	float:right;      
	font-weight: bold;
	font-family: Brush Script MT, Brush Script Std, cursive;

}

.name{
	font-size:60px;
	color: #2956A0;
	padding:20px 0px 20px 140px;
	font-style: oblique;
	
}
.d_1{
	font-size:34px;
	color: #187B4B;
	padding:25px 0px 0px 120px;  
	margin: 10px;
	background: url("img/fnm.png") no-repeat;
	height:70px;
	line-height: 35px;
}
.d_1 a{
	text-decoration: none;  
}
.d_1 a:link{
	color: #187B4B;	
}
.d_1:hover{
	cursor: pointer;
	background: url("img/fnm2.png") no-repeat;
	text-decoration: none;
}

.book{
	position:absolute;                         
	top:25px;	
	left: 25px;	
	font-size:20px;
	color: #fff;
	padding:0px 40px 0px 0px;	
	width:560px;
	float:right;
}


/* Множення дробів  -->  */
.nameblockd{
	font-size:46px;
	color: #fff;
	padding:25px 0px 0px 30px;	
	width:240px;
	text-align: center;
}
#vybblockd{
	position:absolute;
	left: 7px;
	top:275px;	
	display:block;
	animation-name: addstrelka;
	animation-duration: 10s;
	animation-iteration-count:infinite;		
}
@keyframes addstrelka {
	0%{ top:255px; }	
	25%{ top:295px; }	
	50%{ top:335px; }	
	75%{ top:295px; }	
	100% { top: 255px;}		
}
#tip1, #tip2, #tip3{	            
	margin-top:15px;
	margin-left:20px;
}
#tip1:hover, #tip2:hover, #tip3:hover, #tip4d:hover, #tip5d:hover, #tip3d:hover {	            
	cursor:pointer;
}
#leftblock{
	width:270px;
	height:485px;           	
	float:left;
	margin-top:65px;      
	position: relative;
}
#rightblock{
	width:520px;
	height:400px;           	
	float:right;            
	margin-right:35px;
	margin-top:10px;
	position:relative;
}
.mnseting{             
	margin-top:85px;
	margin-left:30px;
	font-size:20px;
	color: #fff;	
	width:170px;	           
	line-height: 25px;
}



.zpr{
	font-style: oblique;
	font-size:28px;
	color: #fff;
	padding:15px 0px 10px 230px;	
	width:220px;
	float:right;              
}
#dprnumber{
	font-size:30px;
	color: #fff;
	padding:0px 40px 0px 0px;	
	width:40px;
	float:right;
}
canvas {
        display: block;
        margin: 20 auto;
      }
#start_block{
	margin:0px;
	width:500px;
	height:365px;
	position:absolute;
	left: 20px;
	top:20px;	
	display:block;
	animation-name: zgo;
	animation-duration: 40s;
	animation-iteration-count:infinite;
}	  
@keyframes zgo {
	5%{ left:30px; }		
	15%{ left:10px; }
	20%{ left:20px;  }	
	25%{ top:30px; }	
	35%{ top:10px; }	
	40%{ left:30px; top:10px; }	
	50%{ left:30px; top:30px; }	
	60%{ left:10px; top:30px; }	
	70%{ left:10px; top:10px; }	
	75%{ left:20px; top:10px; }		
	80%{ left:20px; top:20px; }		
	85% { left: 20px; top: 0px;}	
	100% { left: 20px; top: 0px;}		
}
.zblock{
	background:url("img/zfn.png") no-repeat;
	width:850px;
	height:550px;
	margin:0px auto;
	width:850px;
	height:550px;
	font-family: Brush Script MT, Brush Script Std, cursive;           
	position:relative;
}
#t_block{
	width:350px;
	height:50px;           
	background:#aaa;	
	float:left;
	margin-left:40px;
	margin-top:15px;
	display:none;
}
#forward{
	position:absolute;
	left: 445px;
	top:320px;
	cursor:pointer;
	display:none;	
}	
#blockstop{
	width:50px;
	height:50px;           	
	float:right;
	margin-right:35px;
	margin-top:15px;    
	cursor:pointer;
}

 
#bl_vidadd{
	width:150px;           
	height:220px;
	position:absolute;
	left: 290px;
	top:70px;	
	font-size:100px;
	color: #00377F;
	padding:30px 0px 0px 50px;
	font-style: oblique;
	line-height: 60px;
	d---isplay:none;                      
}



/* ділення дробів  -->  */ 
.nameblocksub{
	font-size:44px;
	color: #fff;
	padding:25px 0px 0px 25px;	
	width:240px;                          
	text-align: center;
}

.---seting{             
	margin-top:70px;
	margin-left:30px;
	font-size:20px;
	color: #fff;	
	width:170px;                  background:#ccc;
}
#vybblocksub{
	position:absolute;
	left: 7px;
	top:255px;	
	display:block;
	animation-name: substrelka;
	animation-duration: 8s;
	animation-iteration-count:infinite;		
}
@keyframes substrelka {
	5%{ left:30px; }		
	15%{ left:10px; }
	20%{ left:20px; }	
	/*25%{ top:30px; }	
	35%{ top:10px; }	
	40%{ left:30px; top:10px; }	
	50%{ left:30px; top:30px; }	
	60%{ left:10px; top:30px; }	
	70%{ left:10px; top:10px; }	*/
	75%{ left:20px; top:10px; }		
	80%{ left:20px; top:20px; }		
	85% { left: 20px; top: 20px; }	
	100% { left: 20px; top: 20px; }		
}










#bl_vidsub{
	width:50px;           
	height:60px;
	position:absolute;
	left: 210px;
	top:120px;	
	font-size:100px;
	color: #800000;
	padding:30px 0px 0px 10px;
	font-style: oblique;           
	line-height: 60px;
	display:none;
}



