body{
/*background-color:#51422a;	*/
background-image:url("images/page.jpg");


margin: 0 auto;

}
#osnoven{
width:1200px;	
margin: 0 auto;	
padding: 0px;	
	
}

#header { 
width:1200px;
height:160px;
border:0px solid #00ff00;
}

#head1 {
	
width:75px;
height:160px;	
background-image:url("images/intex_01.png");
float:left;	
}

#head2 {
	
width:1103px;
height:160px;	
background-image:url("images/zagl2.png");
float:left;	
border:0px solid #0000ff;
}



#head4 {
	
width:21px;
height:160px;	
background-image:url("images/intex_04.png");
float:left;	
}


.zagl {
	
font-family:Monotype Corsiva;
font-size: 70px;
color: #eda908;
text-align:left; 
font-weight: bold;
/* text-shadow: 0 0 3px #c8e589, 0 0 8px #c8e589;*/
text-shadow: 2px 2px 5px #c8e589;

}

.zaglad{
font-family:Monotype Corsiva;
font-size: 70px;
color: #eda908;
text-align:center; 
font-weight: bold;
text-shadow: 2px 2px 5px #000000;
	
}
.space{
 display: block;	
width: 180px; 
  height: 20px;
}



#menu {
width:1200px;
height:55px;
border:0px solid #0000ff;	
}


#menu1 {
width:75px;
height:55px;
background-image:url("images/intex_06.png");	
float:left;	
}


#menu2 {
width:1103px;
height:55px;
background-image:url("images/menu2.png");	
float:left;	
border:0px solid #00ff00;	

}
.menu  li { 
float: left;
list-style-type:none;
margin-left:-7px;

}
.menu a {
  margin: 0 0px;
  width: 145px; 
  height: 36px;
  display: block;
  text-align: center;
  border: 0px solid gray;
  text-decoration: none;
  color: #FFFFFF;
  text-shadow: 3px 3px 1px #d9f1a6;
  font-size: 20px;
  font-family: Comic Sans MS;
border:0px solid #00ff00; 
 

  }
  

.menu a:hover {
font-size: 18px;
color: #cce591;
border: 0px solid gray; 
}
.menu a:active {
background: gray;
border: 1px solid gray; 
color: #FF66FF;
}

.menur  li { 
float: left;
list-style-type:none;
margin-left:-17px;
}
.menur a {
  margin: 0 0px;
  width: 180px; 
  height: 36px;
  display: block;
  text-align: center;
  border: 0px solid gray;
  text-decoration: none;
  color: #FFFFFF;
  text-shadow: 3px 3px 1px #d9f1a6;
  font-size: 20px;
  font-family: Comic Sans MS;
border:0px solid #0000ff; 
  

  }
  

.menur a:hover {
font-size: 18px;
color: #cce591;
border: 0px solid gray; 
}
.menur a:active {
background: gray;
border: 1px solid gray; 
color: #FF66FF;
}











#menu3 {
width:21px;
height:55px;
background-image:url("images/intex_09.png");	
float:left;	
}


#goren {
width:1200px;
height:43px;
border:0px solid #0000ff
}


#goren1 {
width:75px;
height:43px;
background-image:url("images/intex_11.png");	
float:left;	
}


#goren2 {
width:717px;
height:43px;
background-image:url("images/intex_12.png");	
float:left;	
}

.zagt{
font-size:17px;
text-align:center;
font-family:Tahoma;
color:#7d1300;
font-weight: 800;
}
.zagtext{
font-size:18px;
text-align:center;
font-weight: 500;
font-family:Bookman Old Style;
color:#000000;
}
#goren3 {
width:386px;
height:43px;
background-image:url("images/intex_13.png");	
float:left;	
}


#goren4 {
width:21px;
height:43px;
background-image:url("images/intex_14.png");	
float:left;	
}


#sreden {
width:1200px;
height:394px;
border:0px solid #0000ff;
}


#sreden1 {
width:75px;
height:394px;
background-image:url("images/intex_16.png");	
float:left;
}


#sreden2 {
width:717px;
height:394px;
background-image:url("images/intex_17.png");	
float:left;
}

p{
margin-left:30px;	
margin-right:30px;
font-family:Comic Sans MS;	
text-align:justify;
text-indent:20px;	
font-size: 17px;
}

#sreden3 {
width:386px;
height:394px;
background-image:url("images/intex_18.png");	
float:left;
}


.item {
  position: relative;
  

  margin: 2%;
  overflow: hidden;
  width: 320px;
  margin-top:50px;
  margin-left:39px;
}
.item img {
  max-width: 100%;
  
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.item:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#sreden4 {
width:21px;
height:394px;
background-image:url("images/intex_19.png");	
float:left;
}


#vtorisreden {
width:1200px;
height:244px;
border:0px solid #0000ff	
}


#vtorisreden1 {
width:75px;
height:244px;
background-image:url("images/intex_21.png");	
float:left;
}

#vtorisreden2 {
width:717px;
height:244px;
background-image:url("images/intex_22.png");	
float:left;
border:0px solid #ff0000;
}

.zagh3 h3{
	
}

h3 {
text-align: center;	
font-family:Tahoma;
}

.uroci a{
font-size:21px;
margin-left:40px;
font-weight: 500;
color:#ec7d07;
text-decoration:none;
 text-shadow: 2px 2px 1px #000000;
}

.uroci a:hover{
font-size:20px;	
color:#f3e352;	
	
	
}

#vtorisreden2 a{
text-decoration:none;
}

#vtorisreden3 {
width:386px;
height:244px;
background-image:url("images/intex_23.png");	
float:left;
}

#flip {
    padding: 5px;
	padding-left:3px;
    text-align: center;
    /*background-color: #efe2c8;
    border: solid 1px #fa574a;*/
	color:#000000;
	width:220px;
}

#panel {
    padding: 10px;
    display: none;
	 text-align: left;
    background-color: #dff4b1;
    border: solid 1px #89b348;
		width:310px;
	
}

input[type=text], input[type=password] {
    width: 60%;
    padding: 5px 10px;
    margin: 8px 0;
    display: inline-block;

    box-sizing: border-box;
	border: 2px solid #89b348;
  border-radius: 3px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
	
	
	
}


.btn {

  display: inline-block;
  width:150px;
  padding: 6px 12px ;
  background-color: #89b348;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #1d1d1c;
  border-radius: 3px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.btn:hover,
.btn:focus {
  color: #333333;
  text-decoration: none;
   background-color: #fda000;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
}



#vtorisreden4 {
width:21px;
height:244px;
background-image:url("images/intex_24.png");	
float:left;
}


#dolen {
width:1200px;
height:44px;
border:0px solid #0000ff	
}


#dolen1 {
width:75px;
height:44px;
background-image:url("images/intex_26.png");	
float:left;
}


#dolen2 {
width:717px;
height:44px;
background-image:url("images/intex_27.png");	
float:left;
}


#dolen3 {
width:386px;
height:44px;
background-image:url("images/intex_28.png");	
float:left;

}
.dolu{
padding-top:10px;	
	
}

#dolen4 {
width:21px;
height:44px;
background-image:url("images/intex_29.png");	
float:left;
}


#posleden {
width:1200px;
height:60px;
border:0px solid #0000ff	
}


#posleden1 {
width:75px;
height:60px;
background-image:url("images/intex_31.png");	
float:left;
}


#posleden2 {
width:717px;
height:60px;
background-image:url("images/intex_32.png");	
float:left;

}


#posleden3 {
width:386px;
height:60px;
background-image:url("images/intex_33.png");	
float:left;
}


#posleden4 {
width:21px;
height:60px;
background-image:url("images/intex_34.png");	
float:left;
}

		/*css за скролера*/
#scrcontainer {
            width: 650px; 
			height: 120px;
            position: relative;
            overflow: hidden;
			border:0px solid #ff0000;
             }

             #scrinner {
			position: absolute;
            left: 0px; 
			top: 0px;
            text-align: justify;
             }


               /*страници*/
/*css за скролера*/
#scrcontainer1 {
            width: 900px; 
			height: 620px;
            position: relative;
            overflow: hidden;
			border:0px solid #ff0000;
             }

             #scrinner1{
			position: absolute;
            left: 0px; 
			top: 0px;
            text-align: justify;
             }


			   
#maincon {
width:1199px;	
height:635px;	
float:left;		
border:solid 0px #ff0000;	
}			   

#main1 {
width:75px;
height:635px;
background-image:url("images/osnovna_13.png");	
float:left;	
border:solid 0px #ff0000;
}
			   
#main2 {
width:1049px;
height:635px;
background-image:url("images/osnovna_14.png");	
float:left;	
border:solid 0px #00ff00;
}
#main21{
 width: 900px; 
height: 620px;	
float:left;	
border:solid 0px #ff0000;	
}

#main22{
width: 140px; 
height: 620px;	
padding-top:140px;
float:left;		
border:solid 0px #0000ff;		
}

#main21a{
 width: 600px; 
height: 620px;	
float:left;	
border:solid 0px #ff0000;	
}

#main22a{
width: 440px; 
height: 620px;	
padding-top:0px;
float:left;		
border:solid 0px #0000ff;		
}





.main222 p{
margin-left:0px;	
margin-right:10px;
font-family:Comic Sans MS;	
text-align:justify;
text-indent:10px;	
font-size: 14px;
}




#main3 {
width:75px;
height:635px;
background-image:url("images/osnovna_15.png");	
float:left;	
}

#zagl1{
width:75px;	
height:46px;
background-image:url("images/osnovna_09.png");	
float:left;		
}

#zagl2 {
width:1049px;	
height:46px;
background-image:url("images/osnovna_10.png");	
float:left;		
}

#zagl3 {
width:75px;	
height:46px;
background-image:url("images/osnovna_11.png");	
float:left;		
}

.tooltip {
    position: relative;
    display: inline-block;

   
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color:#7aaa3f;
    color: #fff;
    text-align: center;
	font-size:14px;
    border-radius: 4px;
    padding: 5px 0;
	border: 1px solid #dff4b1;
    box-shadow: 1px 1px 2px 2px #98a777;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
	
}

/*Текст върху картинката*/
.container {
  position: relative;
  width: 70%;
  float:left;
  margin-left:15px;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom:30px;
  left: 0;
  right: 0;
 background-color: #ead38a;
  overflow: hidden;
  width:0;
  height: 30%;
  transition: .5s ease;
}

.container:hover .overlay {
  width: 100%;
}

.text {
  color:#000000;
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  white-space: nowrap;
}


.kartini{
  display: block;
   width: 300px;
   height:200px;
   border: 2px solid #000000;
   box-shadow: 5px 5px 8px #888888;
	
}

.galery{
	margin-top:10px;
 display: block;
   width: 400px;
   height:380px;
   border: 1px solid #000000;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	
	
	
}

#boxshadow {
    position: relative;
	width: 420px;
	height:400px;
    -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
    -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    padding: 6px;
    background: #ffffff;
}

/* Make the image fit the box */
#boxshadow img {
    width: 400px;
	height:380px;
    border: 1px solid #8a4419;
    border-style: inset;
}

#boxshadow::after {
    content: '';
    position: absolute;
    z-index: -1; /* hide shadow behind image */
    -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);                
    width: 50%; 
    left: 15%; /* one half of the remaining 30% */
    height: 80px;
    bottom: 0;
}








/*kartinka sa urosite*/
div.kart{
  display: block;
  width: 150px;
  height:130px;
  margin-left:100px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  float:left;
  border:solid 1px #cccccc;
}


.zagurok{
  color:#000000;
  font-size:28px;
  font-family:'Monotype Corsiva';
text-align:center;
margin-left:140px;
font-weight: bold;
}

.pag a{
display: block;	
width: 30px; 
height: 20px;	
text-decoration:underline;
font-size:20px;	
font-family:'Comic Sans MS';	
text-align:center;
display: inline-block;
padding-bottom:10px;
color:#89b348;
	
	
}

.pag a:hover{
display: block;	
width: 30px; 
  height: 20px;	
text-decoration:none;
font-size:20px;	
font-family:'Comic Sans MS';	
 
	text-align:center;
    display: inline-block;
	padding-bottom:10px;
		
	background:#89b348;
	
	color:#fda000;
	 border: 1px solid #89b348;
  border-radius: 3px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}





