.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:10px 0px 0px 90px;  
	margin: 10px;
	background: url("img/fnm.png") no-repeat;
	height:78px;
	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;
}


/* запис дробів  -->  */
.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;
}
.zpr{
	font-style: oblique;
	font-size:28px;
	color: #fff;
	padding:15px 0px 10px 230px;	
	width:220px;
	float:right;              
}
#zprnumber{
	font-size:30px;
	color: #fff;
	padding:0px 40px 0px 0px;	
	width:40px;
	float:right;
}
.nameblock{
	font-size:50px;
	color: #fff;
	padding:5px 0px 0px 30px;	
	width:240px;
	text-align: center;
}
.zseting{             
	margin-top:90px;
	margin-left:30px;
	font-size:24px;
	color: #fff;	
	width:170px;	
}
#vybblock{
	position:absolute;
	left: 7px;
	top:255px;	
	display:block;
	animation-name: strelka;
	animation-duration: 10s;
	animation-iteration-count:infinite;		
}
@keyframes strelka {
	0%{ top:255px; }	
	25%{ top:300px; }	
	50%{ top:345px; }	
	75%{ top:300px; }	
	100% { top: 255px;}		
}

#tip1, #tip2, #tip3, #tip4, #tip5 {	            
	margin-top:22px;
}
#tip1:hover, #tip2:hover, #tip3:hover, #tip4:hover, #tip5: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;
}
#t_block{
	width:350px;
	height:50px;           
	background:#aaa;	
	float:left;
	margin-left:40px;
	margin-top:15px;
	display:none;
}
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: 20px;}	
	100% { left: 20px; top: 20px;}		
}
#forward{
	position:absolute;
	left: 445px;
	top:320px;
	cursor:pointer;
	display:none;	
}	 
#bl_vidp{
	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;
	display:none;
}
#ch{
	padding-left:30px;
}
#zn{
	padding-left:10px;
}
#blockstop{
	width:50px;
	height:50px;           	
	float:right;
	margin-right:35px;
	margin-top:15px;    
	cursor:pointer;
}


/* порівняння дробів  -->  */ 
.nameblock_p{
	font-size:44px;
	color: #fff;
	padding:25px 0px 0px 25px;	
	width:240px;                          b---ackground:#aaa;
	text-align: center;
}

.pseting{             
	margin-top:120px;
	margin-left:30px;
	font-size:24px;
	color: #fff;	
	width:170px;	
}
#vybblock_p{
	position:absolute;
	left: 7px;
	top:255px;	
	display:block;
	animation-name: pstrelka;
	animation-duration: 8s;
	animation-iteration-count:infinite;		
}
@keyframes pstrelka {
	0%{ top:290px; }	
	50%{ top:335px; }	
	100% { top:290px;}		
}
#bl_vidpp{
	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;
}


/* Виділення цілої частини  -->  */ 
.nameblockv{
	font-size:36px;
	color: #fff;
	padding:25px 0px 0px 25px;	
	width:240px;                          
	text-align: center;
	line-height: 45px;
}
.vseting{             
	margin-top:90px;
	margin-left:30px;
	font-size:24px;
	color: #fff;	
	width:170px;	
}
#vybblockv{
	position:absolute;
	left: 7px;
	top:255px;	
	display:block;
	animation-name: vstrelka;
	animation-duration: 8s;
	animation-iteration-count:infinite;		
}
@keyframes vstrelka {
	0%{ top:265px; }	
	50%{ top:315px; }	
	100% { top:265px;}		
}
#bl_vidv{
	width:290px;           
	height:220px;
	position: absolute;
	left: 200px;
	top:60px;	
	font-size:100px;
	color: #800000;	
	font-style: oblique;         
	display:none;                 
}
#ravno{
	padding-top:55px; 
	width:80px;
	height:150px;
}
#cchst{
	position:absolute;
	left: 90px;
	top:10px;	
	height:160px;   
	padding-top:40px;
}
#drob{
	position:absolute;	
	top:10px;	
	height:160px;
	padding-top:40px;
	text-align: center;
	display: none;                
	text-align: center;	
}
#drobc{
	position:absolute;
	top:-10px;
	left: 10px;          
	text-align: center;
	width:100px;	
}
#drobz{
	position:absolute;
	top:95px;	          
	left: 10px;
	text-align: center;
	width:100px;	
}
#drobch{
	position:absolute;               
	top:5px;	
	left: 10px;
}

/* Перетворення у неправильний дріб  -->  */ 
.nameblockn{
	font-size:36px;
	color: #fff;
	padding:25px 0px 0px 21px;	
	width:246px;                          
	text-align: center;
	line-height: 45px;                 
}
.nseting{             
	margin-top:45px;
	margin-left:30px;
	font-size:24px;
	color: #fff;	
	width:170px;	
}
#nravno{
	padding-left:25px;
	padding-top:55px; 
	width:80px;
	height:150px;
}

#ndrob{
	position:absolute;	               
	top:10px;	
	left: 120px;
	height:160px;
	padding-top:40px;
	text-align: center;
	d--isplay: none;                
	text-align: center;		
}
#ndrobc{
	position:absolute;             
	top:-10px;
	left: 10px;          
	text-align: center;
	width:100px;	
}
#ndrobz{
	position:absolute;            
	top:95px;	          
	left: 5px;
	text-align: center;
	width:100px;	
}
#ndrobch{
	position:absolute;                         
	top:5px;	
	left: 10px;
}


.book{
	position:absolute;                         
	top:25px;	
	left: 25px;	
	font-size:20px;
	color: #fff;
	padding:0px 40px 0px 0px;	
	width:560px;
	float:right;
}