* { margin: 0; padding: 0;}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    height: 100%;
	min-width: 800px;
	background: #baa165;
	text-align: center;
}

#height {
	min-height: 100%;
    margin-bottom: -115px;
}

* html #height {
	height: 100%;
}

#head {
	height: 250px;
	width: 100%;
	background: url(/public/images/head-bg-left.jpg) left top no-repeat;
}

#right-bg {
	height: 250px;
	width: 100%;
	background: url(/public/images/head-bg-right.jpg) right top no-repeat;
}

#logo {
	width: 100%;
	height: 205px;
	background: url(/public/images/logo.gif) 20% 10% no-repeat;
}

#container {
	margin: auto;
	width: 775px;
	height: 460px;
	background: #F9DFA6;
	border: 1px solid transparent;
	color: #5E1711;
	overflow: auto;
}

#content {
	text-align: left;
	font-family: Arial, sans-serif;
        padding-left: 10px;
}

#error404 {
    color: #fff;
    text-align: center;
    margin: auto;
    background: #000;
}


/*        menu        */

#menu, #menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu {
	margin: auto;
	margin-top: 20px;
	width: 775px;
    display: block;
    z-index: 999;
    text-align: left;
}

#menu li {
    float: left;
    position: relative;
}

#menu li ul {
    display: none;
    position: absolute;

}

#menu li:hover ul {
    display: block;
    background: #39170D;
    white-space: nowrap;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABFSURBVHjaYoyLi6tmYGDgYqAO+MYCJHiBmJ1KBjIzAYm/DNQDf5kYqAxGDRw1cNTAUQPpZyAzFc1jBpXYn6lYyH4DCDAApX8Hvk4iLAgAAAAASUVORK5CYII=);
    background:rgba(0, 0, 0, 0.5);
    _zoom:1;
    _background:#000;
    _filter:alpha(opacity=50);
}

#menu li:hover ul li:hover {
    background: #fff;
}

#menu li:hover ul li:hover a {
    color: #000;
    text-decoration: none;
}


#menu li:hover ul a {
    padding: 0;
    color: #fff;
    font-weight: normal;
    font-size: 12px;
}

#menu li a {
	margin: 5px 20px;
	text-decoration: none;
	font-family: Verdana, sans-serif;
	color: #3e180f;
	font-weight: bold;
	font-size: 14px;
    outline: none;
}

#menu a:hover {
    text-decoration: underline;
    color: #fff;
}

#flower-gallery {
	margin: auto;
	margin-top: 80px;
	height: 75px;
	width: 310px;
	background: url(/public/images/flower-gallery.gif) left top no-repeat;
}

/********* FOOTER *******/

#footer {
    height: 115px;
    background: url(/public/images/footer-left-bg.gif) left bottom no-repeat;
    margin: 0;
}

#footer-right {
	height: 75px;
	background: url(/public/images/footer-right-bg.jpg) right bottom no-repeat;
	margin: 0;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 18px;
	padding-top: 40px;
}

.contacts {
	text-align: left;
	width: 620px;
	margin: auto;
}

.poweredby {
	text-align: left;
	color: #5e1811;
	font-size: 12px;
	float: right;
	margin-right: 130px;
	margin-top: -30px;
	width: 200px;
}

.poweredby a {
	color: #5e1811;
	text-decoration: none;
}

.poweredby a:hover {
	color: #fff;
	text-decoration: underline;
}

/****************************** CLASSES ************************/

.clear {
    clear: both;
    height:0;
}

.empty {
    clear: both;
    height: 120px;
    margin: 0;
}



/******************************************************************/
/********************* SUB TEMPLATES STYLES ***********************/

/*************** UHOD ***************/
#gallery-head {
    margin-top: 50px;
    height: 70px;
    background: url(/public/images/uhod/gallery.gif) center top no-repeat;
}

#table-uhod {
    margin-left: 10px;
    margin-top: 20px;
}

#table-uhod a.business-link-pic {
    display: block;
    width: 184px;
    height: 188px;
    background: url(/public/images/uhod/business-bukets.jpg) left bottom no-repeat;
    margin: 0 2px;
}

#table-uhod a.business-link-pic:hover {
    background-position: left top;
}

#table-uhod a.business-link {
    display: block;
    width: 182px;
    height: 47px;
    background: url(/public/images/uhod/button-business.png) left bottom no-repeat;
    margin: 15px 3px 0 5px;
}

#table-uhod a.business-link:hover {
    background-position: left top;
}


#table-uhod a.svadb-link-pic {
    display: block;
    width: 184px;
    height: 188px;
    background: url(/public/images/uhod/svadb-bukets.jpg) left bottom no-repeat;
    margin: 0 2px;
}

#table-uhod a.svadb-link-pic:hover {
    background-position: left top;
}

#table-uhod a.svadb-link {
    display: block;
    width: 182px;
    height: 47px;
    background: url(/public/images/uhod/button-svadb.png) left bottom no-repeat;
    margin: 15px 3px 0 5px;
}

#table-uhod a.svadb-link:hover {
    background-position: left top;
}


#table-uhod a.prazdn-link-pic {
    display: block;
    width: 184px;
    height: 188px;
    background: url(/public/images/uhod/prazdn-bukets.jpg) left bottom no-repeat;
    margin: 0 2px;
}

#table-uhod a.prazdn-link-pic:hover {
    background-position: left top;
}

#table-uhod a.prazdn-link {
    display: block;
    width: 182px;
    height: 47px;
    background: url(/public/images/uhod/button-prazdn.png) left bottom no-repeat;
    margin: 15px 3px 0 5px;
}

#table-uhod a.prazdn-link:hover {
    background-position: left top;
}


#table-uhod a.car-link-pic {
    display: block;
    width: 184px;
    height: 188px;
    background: url(/public/images/uhod/car-bukets.jpg) left bottom no-repeat;
    margin: 0 2px;
}

#table-uhod a.car-link-pic:hover {
    background-position: left top;
}

#table-uhod a.car-link {
    display: block;
    width: 182px;
    height: 47px;
    background: url(/public/images/uhod/button-car.png) left bottom no-repeat;
    margin: 15px 3px 0 5px;
}

#table-uhod a.car-link:hover {
    background-position: left top;
}

.gallery_image a {
	font-family: Arial, serif;
	font-size: 12px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	margin: 5px;
	float: left;
}

.gallink img {
	border: 2px solid #ffffa5;
}

#login_form {
	margin: 10px;
	color: #fff;
}

#left-panel {
	font-family: Arial, serif;
	font-size: 12px;
	color: #fff;
	padding: 10px 0 0 20px;
	width: 300px;
	height: 450px;
	float: left;
	background: #a5a5a5;
}

#left-panel a {
	color: #656565;
}

#user_id {
	font-weight: bold;
}

#admin-page {
	background: #ccc;
	width: 775px;
	height: 460px;
	color: #000;
}

h3, h4 {
	text-decoration: underline;
}

.error {
	font-family: Arial, serif;
	font-weight: bold;
	color: #f00;
	margin-top: 20px;
	background: #000;
	width: 100%;
	text-align: center;
}

.gallery-in-left {
	display: block;
	height: 15px;
	padding-left: 25px;
	margin-left: -10px;
	background: url(/public/images/admin/gallery_icon_small.jpg) left center no-repeat;	
}

a.delete-link {
	float: left;
	display: block;
	height: 100px;
	width: 25px;
	background: url(/public/images/admin/remoove.png) left top no-repeat;
}

#gallery_container {
	padding: 20px 10px 10px 20px;
}

#right-adminpanel {
	padding: 10px;
}

a.addingimg {
	font-family: Arial,serif;
	font-size: 12px;
	color: #656565;
	margin-left: 10px;
	padding-left: 20px;
	height: 30px;
	background: url(/public/images/admin/add.png) left center no-repeat;
}

.is_auth {
	text-align: center;
}

.is_auth a {
	font-family: Arial, sans-Sserif;
	font-size: 12px;
	color: #656565;
}

.text_adding {
	margin: 0;
}

.text_adding textarea {
	border: 1px solid #656565;
}

.red {
	color: #f00;
}

#adding_parent {
	height: 100%;
	background: #efefde;
	padding: 0;
	margin: 0;
}







