@font-face {
    font-family: 'Bembo';
    src: url('font/Bembo SC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html,body{
	background: #a1a1a1;
}
#baner {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 120px;
	font-family: 'Bembo';
}
.baner {
	font-size: 36px;
}
#content {
	position: relative;
	top: 112px;
	left: -8px;
	width: 100%;
	min-height: 500px;
	font-family: 'Bembo';
	font-size: 22px;
	overflow: hidden;
}
a.obj_link {
	color: #971818;
	text-decoration: none;
}
a.obj_link:hover {
	text-decoration: underline;
}
#objekat {
	width: 100%;
	position: relative;
	top: 100px;
}
img.objekat {
	border: #6e6e6e 1px solid;
	padding: 2px;
	height: 200px;
}
.obj_name {
	font-size: 14px;
}
.photo {
	width: 100%;
	height: 140px;
	margin-bottom: 5px;
}        
.name {
	width: 100%;
	margin: 0px;
	line-height: 0.8;
}
#link {
	width: 100%;
	position: relative;
	margin-top: 105px;
}
#text {
	width: 100%;
	position: relative;
/*	margin-bottom: 20px; */
}
ul.list {
	position: relative;
	top: -20px;
	left: -20px;
	text-align: center;
}
.list li {
	width: 130px;
	height: 160px;
	margin-right: 5px;
	margin-bottom: 10px;
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
}
#photo_obj {
	overflow: hidden;
	width: 134px;
	height: 134px;
	border: #6e6e6e 1px solid;
	background: white;
}
.objekat1:hover {
	opacity: .5;
}
.objekat2:hover {
	opacity: .5;
/*	max-width: 160px;
	height: auto;
	max-height: 160px;
	border: #6e6e6e 1px solid;
	padding: 2px; */
}
.name1 {
	width: 100%;
	height: 55px;
	margin: 0;
	line-height: 0.8;
	padding-top: 5px;
}
#container {
	width: 1050px;
	height: 360px;
	position: relative;
	margin-left: 50%;
	left: -535px;
}
#description {
	position: relative;
	float: right;
	right: 24px;
	width: 500px;
	height: 100%;
	text-align: justify;
	color: #272727;
}
.desc_name {
	font-size: 26px;
	font-weight: bold;
/*	border-bottom: #971818 1px solid; */
}
.desc_text {
	font-family: 'Times New Roman';
	font-size: 16px;
	text-indent: 20px;
}
#back {
	position: relative;
	bottom: 10px;
	left: 20px;
	font-size: 16px;
}

/***************** Gallery ********************/
.gallerycontainer {
position: relative;
top: -16px;
left: 0;
float: left;
width: 500px;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}
#gallery ul {
	width: 500px;
	position: absolute;
	top: 0px;
	right: 0px;
	list-style-type: none;
}
#gallery li {
	float: right;
	height: 140px;
	background: white;
	border: 1px solid #6e6e6e;
	margin: 0 5px 5px 0;
}
.thumbnail img{
float: right;
}
.gallerycontainer li {
	width: 140px;
	height: 140px;
	overflow: hidden;
}
.thumbnail:hover{
background: white;
}

.thumbnail:hover img{


}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: 0px;
border: 1px solid gray;
visibility: hidden;
text-decoration: none;
color: #272727;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
max-width: 400px;
height: auto;
max-height: 460px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
position: fixed;
top: 140px;
left: 50%; /*position where enlarged image should offset horizontally */
z-index: 50;
box-shadow: 5px 8px 10px #272727;
}
/***************** end of Gallery ********************/

#footer {
	position: relative;
	left: -8px;
	top: 112px;
	width: 100%;
	padding-top: 3px;
	font-family: 'Bembo';
	font-size: 16px;
}
