body {
    background-image: url("../img/hlavicka.jpg");
    background-repeat: repeat-x;
    height: 200px;
    padding: 0;
    font-family: sans-serif;
    margin: 0;
    color: #2f2f2f;
}

a {
	color:#2f2f2f;
}

a:hover {
    text-decoration: none;
}

img {
    border: 0;
}

#header .content {
    background-image: url("../img/hlavicka2.jpg");
    height: 57px;
    line-height: 57px;

}

#intro p {
    padding: 0;
    margin: 0;
    color: #898a8c;
    padding-top: 63px;
    width: 600px;
}

h3 a {
    color:#368fc8;
    font-size: 13px;
    padding-left: 20px;
}

#intro .content {
    background-image: url("../img/stin.jpg");
    height: 140px;

    background-repeat: no-repeat;
    background-position: top center;

}

#main {
    background-image: url("../img/textura.jpg");
    border-top: 1px solid #d6d6d6;
    padding: 25px 0;

}

.left {
    float: left;
    width: 240px;
}

.right {
    margin-left: 252px;
}

.right2 {
    margin-left: 258px;
}

#logo {
    margin-top: 15px;
}

.content {
    margin: 0 auto;
    width: 960px;
}

#footer {
    clear: both;
}

.clear {
    clear: both;
}

strong {
    color: #368fc8;
}

#header h2 {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

#menu {
    float: right;
}

#menu a {
    color: white;
    height: 35px;
    width:90px;
    text-decoration: none;
    line-height: 35px;  
    display: block;
    position: relative;
    float:left;
    margin-right: 20px;
    margin-top: 15px;
}

#menu a.kontakt,
#menu a.kontakt span {
    width: 80px;
}
#menu a.kontakt span {
     background-image: url("../img/kontakty.png");
}

#menu a:hover span {
	background-position: 0 -35px;
}

#menu a span {
    display: block;
    height: 35px;
    position: absolute;
    left:0;
    top:0;
    width:90px;
    background-image: url("../img/o-projektu.png");
}

.box {
    width: 229px;
    background-image: url("../img/box.png");
    height: 217px;
    position: relative;
    background-repeat: no-repeat;
    float: left;
    margin-bottom: 17px;
    margin-right: 10px;

}

.last {
    margin-right: 0;
}

.box .prouzek {
    position: absolute;
    width: 218px;
    height: 5px;
    top: 4px;
    right: 4px;
    background-color: #9e3a8b;
}

.box .icko {
    position: absolute;
    width: 35px;
    height: 44px;
    top: 3px;
    display:block;
    right: 4px;
    background-image:url("../img/i-zelena.png");
}

.barva_m .icko {
    background-image:url("../img/i-modra.png");
}

.barva_f .icko {
    background-image:url("../img/i-fialova.png");
}


.box .z {
    background-color: #b3ca1a;
}

.box .z2 {
    background-color: #b3ca1a;
}

.box .f2 {
    background-color: #e289ce;
}

.box .m2 {
    background-color: #00b8ed;
}

.box .m {
    background-color: #368fc8;
}

.box a.img {
    position: absolute;
    top: 8px;
    left: 7px;

}

.box a.txt {
    position: absolute;
    bottom: 0;
    left: 45px;
    height: 48px;
    width: 229px;
    display: block;
    line-height: 52px;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.box a.txt strong {
    color: white;

}

div.obal {
    width: 100%;
    overflow: hidden;
}

div.hr {
    background-color: #dddddd;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 5px;
}

.box_small {
    float: left;
    width: 173px;
    height: 159px;
    position: relative;
    background-image: url("../img/box_small.png");
    background-repeat: no-repeat;
    margin-bottom: 30px;
    margin-right: 4px;
}

.box_small a.img {
    position: absolute;
    top: 9px;
    left: 5px;

}

.box_small a.txt {
    position: absolute;
    bottom: 0;
    left: 25px;
    height: 15px;
    width: 173px;
    display: block;
    line-height: 18px;
    font-size: 12px;
    color: #313d4b;
    text-decoration: none;
}

#footer {
    padding-bottom: 100px;
    border-top: 1px solid #d6d6d6;
}

#footer .content {
    position: relative;;
}

#footer .content img {
    position: absolute;;
    right:0;
    top:10px;
}

#footer p{
    font-size: 12px;
    color: #666666;
    padding-top: 15px;
    line-height: 22px;

}

.big {
	font-size:large;
	line-height:25px;
}
.rel {
    position: relative;
}
#ramecek {
    position: absolute;
    top:100px;
    left:200px;
    width: 730px;
    background-repeat: repeat-y;
    
}
#ramecek .header a {
    display: block;
    height: 56px;
}

#ramecek .header {
    background-image: url(../img/box-top.png);
    height: 56px;
}
#ramecek .footer {
    background-image: url(../img/box-bottom.png);
    height: 23px;
}

#ramecek .body {

    background-image: url(../img/box-middle.png);
    padding-bottom: 50px;

}

#ramecek .body .rlogo {
    float: left;
    width:240px;
    margin-top: 20px;
    margin-left: 20px;

}

#ramecek .body .rtext {
    width:400px;
    margin-left: 300px;
    padding-top: 20px;
font-size: 14px;
}

#ramecek .body .rtext p {
    padding: 0;
    margin: 0;
}

#ramecek .body .rtext strong {
    padding-top: 15px;
    display: block;
}

#ramecek .rtext h3 a {
	margin:0;
	padding:0;
	font-size:16px;
	text-decoration:none;
}

#ramecek .body .rtext .refs p {
	font-size:12px;
	color:#898a8c;
	margin-top:20px;
}

#ramecek .refs p i {
	display:block;
	margin-top:5px;
	text-align:right;
	
}