/* Reset
------------------------------------------------ */

html, body, p, ul, ol, li, th, td, h1, h2, h3, h4, h5, h6 {
	padding:0;
	margin:0;
}

/* Overall styles
------------------------------------------------ */

html {
	background:url(../img/page-bg.jpg) #b5a75c;
	height:100%;
}

body {
	background:url(../img/brick-texture.jpg) repeat-y top center;
	font-family:arial, sans-serif;
	min-height:100%;
	font-size:13px;
	color:#666;
}

a {
	text-decoration:none;
	color:#be3223;
}

a:hover, a:active {
	text-decoration:underline;
}

.r {
	float:right;
}

.clear {
	font-size:1px;
	height:1px;
	clear:both;
}

hr {
	border-top:2px dashed #3eff18;
	background-color:transparent;
	border-bottom:0;
	border-right:0;
	border-left:0;
	margin:15px 0;
	padding:0;
	height:2px;
}

img {
	border:0;
}

h1 {
	font-family:tahoma;
	margin:0 0 15px 0;
	font-weight:normal;
	font-size:28px;
}

h2 {
	font-weight:normal;
	margin:0 0 10px 0;
	font-size:22px;
}


/* Forms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.password input,
.submit input,
.text input,
textarea {
	border:2px solid #787770;
	background:transparent;
	-moz-border-radius:5px;
	border-radius:5px;
	margin:0 0 7px 0;
	padding:2px 5px;
	font-size:13px;
	color:#827d6a;
	width:190px;
}

.submit input {
	background:url(../img/button-arrow.gif) no-repeat right center;
	padding-right:30px;
	font-weight:bold;
	cursor:pointer;
	width:auto;
}

textarea {
	font-family:inherit;
	padding:2px 10px;
	height:240px;
	width:300px;
}

.contacts .col1 {
	margin-right:10px;
	float:left;
}

.contacts .submit {
	padding-left:212px;
}

/* Layout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#container {
	position:relative;
	width:990px;
	margin:0 auto;
}

#left-sidebar {
	position:relative;
	width:190px;
	float:left;
}

#right-sidebar {
	padding:60px 13px 10px 10px;
	width:167px;
	float:right;
}

#content {
	background:url(../img/content-bg.jpg) #eae4cd;
	min-height:600px;
	margin:0 auto;
	width:950px;
}

#content-2 {
	background-image:url(../img/content2-bg.jpg);
	margin:0 auto;
	width:950px;
}

.content {
	margin:0 190px 0 190px;
	padding:15px;
}

#content-2 .content {
	margin-right:0;
	padding:15px;
}

#bricks {
	position:absolute;
	left:-360px;
	top:10px;
}

#products-text {
	background:url(../img/products.png) no-repeat 10px 0;
	position:absolute;
	height:260px;
	width:48px;
	left:-48px;
	top:25px;
}

.lang-lt #products-text {
	background-position:-41px 0;
}

.lang-ru #products-text {
	background-position:-92px 0;
}

.lang-en #products-text {
	background-position:-143px 0;
}

/* Content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.content {
	line-height:150%;
}

.content p {
	margin-bottom:15px;
}

.content ol {
	margin:0 0 0 20px;
}

.content ul {
	margin-left:15px;
	list-style:none;
}

.content ul li {
	background:url(../img/li1.png) no-repeat left 4px;
	padding:0 0 0 15px;
}

.content ul li li {
	background:url(../img/li2.png) no-repeat left 6px;
	margin:0 0 0 30px;
}


.more {
	padding-left:5px;
}

.entry {
	text-align:justify;
	margin-bottom:35px;
	overflow:auto;
}

.entry .main {
	float:left;
}

.text.hasimage {
	margin-left:200px;
}

.managers .text.hasimage {
	margin-left:165px;
}

.managers h2 {
	font-weight:bold;
	margin-bottom:0;
	font-size:14px;
}

.map {
	background:url(../img/arrow.gif) no-repeat 5px center;
	margin-left:15px;
	padding-left:25px;
}

/* Employees
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.employees {
	border-collapse:collapse;
	width:100%;
}

.employees td {
	padding-bottom:15px;
	vertical-align:top;
	width:50%;
}

.employees .odd {
	padding-right:25px;
}

.employees h2 {
	font-weight:bold;
	margin-bottom:0;
	font-size:13px;
}

.employees img {
	margin:0 0 7px 7px;
	float:right;
}

.employees .text {
	margin-left:0;
}

/* Header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header {
	position:relative;
	height:125px;
}

#logo {
	background:url(../img/logo.png) no-repeat center;
	position:absolute;
	display:block;
	width:194px;
	height:78px;
	left:10px;
	top:47px;
}

#header .bricks {
	position:absolute;
	bottom:-30px;
	z-index:29;
	right:0;
}

/* Footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#footer {
	padding:15px 20px 50px 0;
	text-align:right;
	color:#554e3b;
}

/* Language switch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#languages {
	position:absolute;
	right:200px;
	top:30px;
	line-height:10px;
	height:14px;
}

#languages a {
	background-position:center top;
	background-repeat:no-repeat;
	display:inline-block;
	vertical-align:top;
	color:#585858;
	height:14px;
}

#languages a:hover,
#languages .active {
	background-position:center bottom;
}

#languages .lv {
	background-image:url(../img/lang.lv.png);
	width:24px;
}

#languages .lt {
	background-image:url(../img/lang.lt.png);
	width:22px;
}

#languages .en {
	background-image:url(../img/lang.en.png);
	width:28px;
}

#languages .ru {
	background-image:url(../img/lang.ru.png);
	width:28px;
}

/* Default main menu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#mainmenu {
	background-color:#99915d;
	position:absolute;
	line-height:55px;
	list-style:none;
	overflow:hidden;
	height:55px;
	width:760px;
	left:210px;
	bottom:0;
}

#mainmenu li {
	display:inline-block;

	float:left;
}

#mainmenu a {
	text-decoration:none;
	display:inline-block;
	font-family:tahoma;
/*
	padding-left:15px;
*/
	font-size:15px;
	color:#fff;
}

#mainmenu a:hover,
#mainmenu a:active,
#mainmenu .active {
	background-color:#777047;
}

#back {
	display:inline-block;
	position:absolute;
	right:178px;
	height:20px;
	width:20px;
	z-index:49;
	top:88px;
}

/* Submenu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.submenu {
	margin:10px 0 0 0;
	list-style:none;
}

.submenu a {
	text-decoration:none;
	font-weight:bold;
	padding:5px 10px;
	display:block;
	color:#6a6868;
}

.submenu a:hover,
.submenu a:active,
.submenu .active,
.submenu .icon a:hover,
.submenu .icon .active {
	background-color:#c1bdb0;
}

.submenu .icon a {
	background:url(../img/media-icons.png) no-repeat 0 0;
	padding:10px 10px 10px 60px;
}

.submenu .photo a {
	background-position:15px 5px;
}

.submenu .video a {
	background-position:15px -32px;
}

.submenu .files a {
	background-position:15px -69px;
}


/* Banners
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#banners {
	margin:15px 0;
}

#banners img {
	margin-bottom:7px;
	float:left;
}


/* Flash message
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#flash-message {
	background-position:-6px -6px;
	background-repeat:no-repeat;
	margin-bottom:20px;
	padding-left:35px;
	font-weight:bold;
	line-height:32px;
}

.flash-message-failure {
	background-image:url(../img/msg-bg-err.gif);
	border-bottom:2px solid #e50d2e;
	border-top:2px solid #e50d2e;
}

.flash-message-success {
	background-image:url(../img/msg-bg-ok.gif);
	border-bottom:2px solid #51683b;
	border-top:2px solid #51683b;
}

.flash-message-unknown {
	background-image:url(../img/msg-bg.gif);
	border-bottom:2px solid #999;
	border-top:2px solid #999;
}

/* Search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#search {
	height:30px;
}

#search .input {
	float:left;
}

#search .text input {
	width:120px;
}

#search .submit input {
	background:url(../img/icn-search.png) no-repeat top;
	display:inline-block;
	margin:2px 0 0 5px;
	height:24px;
	width:24px;
	padding:0;
	border:0;
}

.highlight {
	font-weight:bold;
}

.search-options {
	margin-bottom:15px;
}

.search-options a {
	background:url(../img/icn-search.png) no-repeat left top;
	text-decoration:none;
	display:inline-block;
	padding-left:30px;
	margin-right:15px;
	font-weight:bold;
	color:#6a6868;
	height:24px;
}

.search-options .active {
	background-position:left bottom;

	color:#44433f;
}

/* Login
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#login label {
	display:inline-block;
	width:100px;
}

#login .submit {
	margin-left:98px;
}

/* Admin tools
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#admtools {
	float:right;
}

#admtools a {
	margin-left:5px;
}

/*
#admtools a:last-child {
	margin-left:15px;
}
*/

/* Galleries
------------------------------------------------ */

.galleries a {
	padding:15px 30px 30px 30px;
	text-decoration:none;
	display:inline-block;
	vertical-align:top;
	width:110px;
	color:#666;
}

.galleries a:hover {
	background-color:#d9d2b5;
}

/* Gallery
------------------------------------------------ */

.gallery .gallery-item {
	position:relative;
	display:none;
	width:535px;
}

.gallery .gallery-item:first-child {
	display:block;
}

.gallery .thumbs {
	padding-bottom:5px;
	overflow:auto;
}

.gallery .thumbs a {
	border:3px solid #f2eee2;
	display:inline-block;
	float:left;
}

.gallery .thumbs a:hover,
.gallery .thumbs a:active,
.gallery .thumbs .active {
	border:3px solid #b2ac92;
}

.gallery .thumbs img {
	display:block;
}

#gallery-prev,
#gallery-next {
	display:inline-block;
	position:absolute;
	height:365px;
	width:150px;
	top:0;
}

#gallery-prev img,
#gallery-next img {
	height:365px;
	width:150px;
}

#gallery-prev {
	left:0px;
}

#gallery-next {
	right:0;
}

#gallery-prev:hover {
	background:url(../img/gallery-prev.png) no-repeat left center;
}

#gallery-next:hover {
	background:url(../img/gallery-next.png) no-repeat right center;
}

/* Paginator
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#paginator {
	text-align:center;
	margin:40px 0;
}

#paginator a {
	color:#666;
}

#paginator .current {
	color:#be3223;
}

#paginator .prev,
#paginator .next {
	background:url(../img/paginator.gif) no-repeat top left;
	display:inline-block;
	position:relative;
	height:13px;
	width:14px;
	top:2px;
}

#paginator .next {
	background-position:top right;
}

#paginator .numbers {
	display:inline-block;
	margin:0 10px;
}

#paginator .numbers a,
#paginator .current {
	padding:0 5px;
}

/* Errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.error-message {
	font-size:12px;
	margin:-8px 0 8px 0;
	color:#d00;
}

.textarea .error-message {
	margin-left:215px;
}

/* Product list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.category {
	margin-bottom:20px;
	overflow:auto;
}

.params-small {
	border-collapse:collapse;
	width:100%;
}

.params-small th {
	border-bottom:1px solid #d5d1c5;
	border-top:1px solid #d5d1c5;
	font-weight:normal;
	text-align:left;
}

.params-small td {
	padding-left:5px;
	font-weight:normal;
	font-size:10px;
	width:50%;
}

.params-small td:first-child {
	border-right:1px solid #d5d1c5;
	font-weight:normal;
	padding-right:5px;
	font-size:10px;
	padding-left:0;
}

.product {
	padding:15px 7px;
	cursor:pointer;
	overflow:auto;
	width:250px;
}

/*
.product:nth-child(even) {
	clear:right;
}
*/

.product img {
	float:left;
}

.product .data {
	margin-left:115px;
}

.product .data strong {
	position:relative;
	top:-4px;
}

.product:hover  {
	background-color:#d9d2b5;
}

.product:hover .params-small th,
.product:hover .params-small td {
	border-color:#c2bda0;
}

.products {
	border-collapse:collapse;
	width:100%;
}

.products td {
	vertical-align:top;
	width:50%;
}

/* Product's param table
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.params {
	border-collapse:collapse;
	font-size:11px;
	margin:15px 0;
	width:100%;
}

.params tr {
	border-top:1px solid #d5d1c5;
}
.params tr:first-child {
	border-top:none;
}
.params th,
.params td {
	border-left:1px solid #d5d1c5;
	text-align:center;
	padding:0px 5px;
}
.params th:first-child,
.params td:first-child {
	border-left:none;
}

.params th {
	vertical-align:top;
	font-weight:normal;
	line-height:130%;
}

/* Product gallery
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.inline-gallery {
	min-height:225px;
	overflow:auto;
}

.inline-gallery .gallery-item {
	float:left;
}

.inline-gallery .thumbs {
	margin-left:325px;
}

.inline-gallery .thumbs a {
	border:4px solid #f2eee2;
	margin:0 0 7px 7px;
	float:left;
}

.inline-gallery .thumbs img {
	float:left;

}

.inline-gallery .thumbs a:hover,
.inline-gallery .thumbs a:active,
.inline-gallery .thumbs .active {
	border:4px solid #cec8ae;
}

/* Similar products
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.similar-products {
	overflow:auto;
}

.similar-products div {
	margin:0 20px 20px 0;
	vertical-align:top;
	float:left;
	width:70px;
}

.similar-products img {
	display:block;
}


/* SQL dump
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.cake-sql-log {
	background-color:#fff;
	font-size:12px;
}

.cake-sql-log th,
.cake-sql-log td {
	padding:2px;
}

.cake-sql-log tr:nth-child(odd) {
	background-color:#efefef;
}

/* Maps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#map-container {
	background-image:url(../img/maps/all.gif);
	position:absolute;
	height:488px;
	width:329px;
	right:213px;
	top:190px;
}


#map-container .map-overlay {
	height:488px;
	width:329px;
	z-index:998;
}

#map-container img {
	position:absolute;
	left:0;
	top:0;
}


#map-container .country {
	display:none;
	z-index:9;
}

/* Cities
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.cities {
	width:220px;
}

.cities h2 {
	text-transform:uppercase;
	margin-bottom:5px;
	font-weight:bold;
	font-size:13px;
}

.cities h3 {
	font-size:13px;
}

/* Cities search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#city-search {
	height:30px;
}

#city-search .input {
	float:left;
}

#city-search .text input {
	width:120px;
}

#city-search .submit input {
	background:url(../img/icn-search.png) no-repeat top;
	display:inline-block;
	margin:2px 0 0 5px;
	height:24px;
	width:24px;
	padding:0;
	border:0;
}

/* Print
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#print {
	background:url(../img/print.png) no-repeat center;
	position:absolute;
	display:block;
	height:25px;
	z-index:10;
	width:25px;
	right:230px;
	top:145px;
}
