html, body {height: 100%; margin: 0; padding: 0}
#container {  position: relative;  min-height: 100%; }
* html #container {height: 100%;}
#wrapper {position: relative; min-height: 100%; }
.empty {height: 70px;}

/*
 * Main elements
 ----------------------------------------------------------------------------------------- */
h1,h2,h3 {font-family: 'PT Serif', "Times New Roman", serif; color: #222; margin-top: 0; font-weight: 500; margin-bottom: 0}
h1 {font-size: 46px; margin-bottom: 15px}
h2 {font-size: 38px;}
h3 {font-size: 30px;}
p {padding: 0; margin: 10px 0 15px 0; line-height: 1.6; max-width: 750px}
p > span {font-size: 20px; color: #c33826}
p > a, p > a:visited {color: #c33826}

#header ul, #menu_left ul, .catalog, .gallery {list-style: none;}

/*
 * Header, logo, main menu
 ----------------------------------------------------------------------------------------- */

#header {
	background: #000;
	padding: 15px 0 10px 0;
	height: 45px;
	margin-bottom: 15px;
}
#header * {color: #fff;}

/* logo */
#logo {margin-top: -10px}
#logo > a {
	display: block;
	overflow: hidden;
	outline: none;
	text-indent: -1000px;
	width: 232px;
	height: 60px;
	background: url(/img/logo.jpg) no-repeat center #fff042;
}

/* slogan */
#slogan {font-size: 22px; margin-top: 10px}

/* main menu */
#menu_top {
    text-align: right;
	padding: 0; 
	margin: 0;
	width: 100%;
	height: 70px;
	float: right;
	margin-top: 10px
}

#menu_top > li {
    display: inline-block;
}

#menu_top > li > a {
	text-transform: uppercase;
	font-size: 19px;
	padding: 8px;
	text-decoration: none;
	margin: 0 5px;
}

#menu_top a.cur {color:#222;background: #fff042}
#menu_top a.cur:hover {color: #222}

/* sub menu */ 
#menu_sub {
	position: absolute;
	z-index: 99;
	bottom: -22px;
	left: auto;
	right: 0;
	width: 500px;
	padding: 7px;
	text-align: right;
}
#menu_sub > li {display: inline-block; text-align: center;}
#menu_sub a {
	font-size: 18px;
	padding: 7px;
	margin: 5px;
	/*text-decoration: none;*/
	font-weight: 500;
	color: #222;
}

#menu_sub a:hover {color:#fff;background: #c33826}
#menu_sub a.cur {color:#fff;background: #c33826}
#menu_sub a.cur:hover {color: #fff}

/*
 * Main page slideshow
 ----------------------------------------------------------------------------------------- */

body.cur {
	background: #000;
}
body.cur #menu_sub a {color:#ccc}

#img {position: relative; height: 770px}
#img #footer {position: absolute;
width: 100%;
bottom: -40px
}


/*
 * Left menu
 ----------------------------------------------------------------------------------------- */
#menu_left {
	/* screen margin */
    margin: 15px 20px 0 0px;
	/* shadow */
	padding-bottom: 10px;
	background: #fff042 url( /img/shadow_big.jpg ) bottom no-repeat;
}

#menu_left ul{margin:0; padding: 10px 0}
#menu_left li {
	background: url( /img/stripes_yellow.gif ) repeat-x bottom;
	padding: 0 0 7px 0;
}
#menu_left li.last {background: none}
#menu_left a {
	font-size: 24px;
	color: #222;
	display: block;
	padding: 5px 0 5px 50px;
	text-decoration: none;
	outline: none;
	zoom: 1;
}

/*#menu_left a:hover,*/
#menu_left a.cur {
	color:#fff;
	background: #222;
}

#menu_left select {
		margin: 10px 0 5px 50px;
		display: block
}

/*
 * Catalog
 ----------------------------------------------------------------------------------------- */

/* section description */
#content div.description {
	text-align: right;
	font-style: italic;
	font-size: 18px;
	color: #d4d4d4;
	width: 420px;
	padding-top: 30px
}

/* main block */
ul.catalog {padding: 0; margin: 0 }
ul.catalog li {
    width: 200px;
    height: 200px;
    float: left;
    margin: 0 10px 30px 10px;
}

/* shadow wrapper */
ul.catalog div {
	padding-bottom: 7px;
	background: url(/img/shadow_mid.jpg) no-repeat bottom;
}

/* image block/link */
ul.catalog a {
    display: block;
    height: 140px;
    border: 10px #e4e4e4 solid;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative;
}

/* short name */
ul.catalog span {
	bottom: 0px;
	display: block;
	width: 100%;
	position: absolute;
	text-align: center;
	color: #fff;
	font-style: italic;
	padding: 5px 0;
	background: url(/img/op.png)
}

/*
 * Content
 ----------------------------------------------------------------------------------------- */

/* table */
#content table.detail, table.detail tr, table.detail td,  table.detail th {margin: 0; border-collapse:collapse; text-align: center;}
#content table.detail {width: 480px}
#content table.detail th, table.detail  td {border-right: #808080 solid 1px; border-bottom: #808080 solid 1px; padding: 5px; background: #fff}
#content table.detail th {/*width: 100px;*/ color: #808080; font-weight: 500; font-size: 16px;}
#content table.detail th.first { width: 30px}
#content table.detail th.last {border-right: none; width: 40px}
#content table.detail tr.last td, #content table.detail tr.last th {border-bottom: none}
#content table.detail td:last-child {border-right: none;}

/* gallery previews */
ul.gallery { margin: 0 0 0 -6px; padding: 0}
ul.gallery li {
	width: 110px;
	height: 70px;
	display: inline-block;
	margin: 10px 10px 5px 0;
	padding: 0 0 6px 0;
	background: url(/img/shadow_small.jpg) bottom no-repeat
}
a.pirobox_gall {
	border: 5px solid #e4e4e4;
	display: block;
	line-height: 1;
	overflow: hidden;
	width: 100px;
	height: 60px;
}
a.pirobox_gall:hover {border: 5px solid #fff042;}

/* news block */
ul.news {margin: -15px 0 0 -15px; padding: 0; list-style: none}
ul.news > li {
	width: 420px;
	float: left;
	margin: 15px 0 0 15px;
	overflow: hidden;
	height: 200px;
}
ul.news > li.even {padding-left: 20px;}


 
 #content div.g5 > img,
 #content div.g4 > img,
 #content div.g6 > img,
 #content div[class^=g] > img
 
  {width: 100%; max-width: 100%; height: auto}
 
 
 
 /*
 * Header, logo, main menu
 ----------------------------------------------------------------------------------------- */

/*
 * Footer, copyrights
 ----------------------------------------------------------------------------------------- */
#footer {
	background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAOUlEQVQYV2NkIBIwEqmOgX4K/wOdhGIbNqtBimAALo+uEFkRimJkhdgUwRXDFOJTBFYMUkhQEUghABLnBgmO0ukyAAAAAElFTkSuQmCC) repeat-x top;
	padding-top: 10px;
	position: relative;
	margin-top: -60px;
	height: 50px;
}
#footer > div {background: #000; padding: 15px 0; }
#footer *{color: #fff; font-weight: 500}







#img > a {
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	display: block;
}









