.fonblock{
	margin:0px auto;
	background:url("img/fn1.png") no-repeat;
	width:850px;
	height:550px;
	position:relative;
}
#mozaj{
	position:absolute;
	left:75px;
	top:134px;	
	-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, Georgia, serif, cursive;
	letter-spacing:0.1em;	

}

.name{
	font-size:60px;
	color: #2956A0;
	padding:40px 0px 20px 50px;
	font-style: oblique;
	
}

.d_1{
	font-size:30px;
	color: #187B4B;
	padding:5px 0px 5px 105px;  
	margin: 5px;
	background: url("img/fnm.png") no-repeat;
	height:70px;
	line-height: 35px;
	font-family: Brush Script MT, Brush Script Std, cursive;
}

.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;
}

/* Ділення на розрядну одиницю  -->  */
.nameblockp{
	font-size:36px;
	color: #A52A2A;
	padding:25px 0px 0px 20px;	
	width:240px;
	text-align: center;
}
.nameblockro{
	font-size:40px;
	color: #eee;
	padding:15px 0px 0px 20px;	
	width:240px;
	text-align: center;
}
.nameblocknch{
	font-size:38px;
	color: #eee;
	padding:25px 0px 0px 20px;	
	width:240px;
	text-align: center;
}
#vybblockd{
	position:absolute;
	left: 7px;
	top:270px;	
	display:block;
	animation-name: addstrelka;
	animation-duration: 5s;
	animation-iteration-count:infinite;		
}
@keyframes addstrelka {
	0%{ top:270px; }	
	50%{ top:305px; }	
	100% { top: 270px;}		
}
#tip1, #tip2 {	       
	margin-top:15px;
	margin-left:20px;
}
#tip1:hover, #tip2:hover, #tip4d:hover, #tip5d:hover, #tip6d:hover {	            
	cursor:pointer;
}
#fdro{
	position:absolute;
	left: 70px;
	top: 80px;
	width: 320px;
	height: 187px;
	border: #ccc solid;	
}
#ntip6d {
	display: none;	
}
#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;
}
.droseting {             
	margin-top:70px;
	margin-left:30px;
	font-size:18px;
	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;

}	 
.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;
}

/* Ділення на натуральне число  -->  */ 

#start_blockd{
	margin:0px;
	width:500px;
	height:365px;
	position:absolute;
	left: 15px;
	top:50px;	
	display:block;
	animation-name: zgo;
	animation-duration: 40s;
	animation-iteration-count:infinite;
}	  
@keyframes zgo {
	5%{ left:25px; }		
	15%{ left:5px; }
	20%{ left:15px;  }	
	25%{ top:60px; }	
	35%{ top:40px; }	
	40%{ left:25px; top:40px; }	
	50%{ left:25px; top:60px; }	
	60%{ left:5px; top:60px; }	
	70%{ left:5px; top:40px; }	
	75%{ left:15px; top:40px; }		
	80%{ left:15px; top:50px; }		
	85% { left: 15px; top: 50px;}	
	100% { left: 15px; top: 50px;}		
}

