body {
	background-image:url('res/tlo.png');
	font-family: tahoma,arial, helvetica, sans-serif;
	font-size:10pt;
}




#cont {
	width:1024px;
	margin:auto;
	height:auto!important;
	min-height:500px;
	position:relative;
}

#header {
	height:135px;
	#background-color:#2d2c2a;
	margin:1px;
	position:relative;
	width:970px;
	margin-left:20px;
	border-radius: 10px;
	background-color:#e8e2d6;
}

#godlo {
	width:112px;
	height:132px;
	background-image:url('res/godlo.png');
	float:left;
	margin-left:2px;
}

#title {
	width:500px;
	height:130px;
	font-size:36px;
	color:#0b15ac;
	font-weight:bold;
	float:left;
	margin-left:15px;
	font-family: tahoma,arial, helvetica, sans-serif;
	padding-top:16px;
}
#herb {
	width:110px;
	height:130px;
	background-image:url('res/sp40.png');
	float:left;
	margin-top:2px;
}

#bud {
	width:170px;
	height:135px;
	background-image:url('res/szkola.png');
	position:absolute;
	left:775px;
	z-index:10;
}

#contentarea {
	height:auto;
}

#ca_top {
	background-image:url('res/p1.png');
	height:219px;
	position:relative;
}
#ca_middle {
	background-image:url('res/p2.png');
	border:0px solid blue;
	min-height:330px;
	height:auto;
	position:relative;

}
#ca_bottom {
	background-image:url('res/p3.png');
	height:50px;

	background-repeat:no-repeat;
}

#main {
	margin:auto;
	height:auto;
	min-height:350px;
	padding-top:5px;
	padding-bottom:5px;
	width:780px;
	top:-70px;
	border:0px solid green;
	position:relative;
}

#menu {
 width:970px;
 height:50px;
 left:20px;
 z-index:40;
 position:absolute;
 top:142px;
 text-align:center;
 border:0px solid red;
}

.mb {
	background: linear-gradient(to bottom, #2dabf9 10%, #0688fa 100%);
    background-color: #2dabf9;
    border: 0px solid #0b0e07;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 10px;
    text-decoration: none;
    margin-bottom:3px;
    border-radius:3px;
   
}
.mb:hover {
	background: linear-gradient(to top, #2dabf9 10%, #0688fa 100%);
}

#footer {
	height:90px;
	margin:1px;
	position:relative;
	width:970px;
	margin-left:20px;
	margin-top:5px;
	border-radius: 10px;
	background-color:#e8e2d6;
	padding-top:5px;
}

#footer table {
	width:90%;
	border-collapse:collapse;
	margin-left: 100px;
	
}

#footer td {
	width:25%;
	border:0px solid green;
}

#footer A {
	text-decoration:none;
	color:navy;
	font-size:9pt;
	cursor:pointer;
}
#footer A:hover {
	color:red;
}

#nagl {
	height:auto;
	position:absolute;
	top:100px;
	left:125px;
	width:780px;
	color:navy;
}
#nagl h1 {
	margin:0px;
	font-size:20px;
	border-bottom: 1px solid navy;
	display:inline;
}

div.fotl {
	width:220px;
	height:260px;
	float:left;
	margin-right:10px;
	margin-bottom:10px;
	#background-color:none;
	padding:0;
	position:relative;
}
.fotl table {
	width:100%;
	border-collapse:collapse;
}
.fotl td {
	height:210px;
	min-height:210px;
	vertical-align:middle;
	text-align:center;
	padding:0;
	text-indent:0;
}
.fotl img {
 margin:0;
 margin-top:5px;
}

.wf {
	width:710px;
	margin:auto;
}

.w1 {
	color:gray;
	margin-bottom:1px;
}

.w2 {
	color:maroon;
	font-size:12pt;
	margin-top:0;
	margin-bottom:3px;
	font-weight:bold;
	
}
.w3 {
	margin-bottom:1px;
}
.w4 {
	margin-top:10px;
	margin-left:40px;
	font-size:10pt;
}
div.line {
	height:3px;
	border-bottom:2px solid gray;
	margin:auto;
	margin-top:20px;
	width:80%;
}

.selector p {
	display:inline-block;
	border: 2px solid navy;
	width: 16px;
	height:16px;
	text-align:center;
	font-weight:bold;
}

.selector a {
	text-decoration:none;
	color:blue;
}
.selector a:hover {
	color:red;
}

#main a:link {
	color:blue;
}
#main a:visited {
	color:blue;
}
#main a:hover {
	color:red;
}


#topbaner {
	width:150px;
	height:71px;
	position:absolute;
	top:-50px;
	left:640px;
	z-index:50;
}
