/* Main settings */
* {
  padding: 0;
  margin: 0;
  outline: none;
}
html, body {
  height: 100%;
  min-width: 990px;  
}
body {
  font-size: 14px;
  font-family: Arial,Verdana,Tahoma,sans-serif;
  background: url('/img/bg_main.png') repeat top left #cfd9e5;
}
table {
  border: 0px; 
  border-collapse: collapse;
}
table td {
  vertical-align: top; 
  text-align: left;
}

img {	
	border: 0;
	text-decoration: none;
}

h1, h1 a, .premium {	
	color: #C00;
}
h1, h2, h3, .localMenu {
  font-family: "Trebuchet MS";
  font-weight: normal;
  margin-bottom: 15px;
}
h1 {
  font-size: 26px;
}
h2 {
  font-size: 22px;
}
h3 {
	margin-top: 15px;
}
p, dl {
  padding-bottom: 15px;
}

a, .aslink {
  color: #06C; 
  text-decoration: underline; 
  cursor: pointer;
}
a:hover, .aslink:hover, .mainMenu a:hover, .superMenu a:hover {
  color: #C00;
}
a.premium:hover, h1 a:hover {
  color: #F00;
}

h3, .localMenu {
  font-size: 12px;
	font-weight: bold;	
	text-transform: uppercase;
}

/* Float */
.floatL {float: left;}
.floatR {float: right;}
.nofloat {float: none !important;}

.drop {margin: 0; padding: 0; height: .1px; font-size: 0; line-height: .1px; clear: both;}
.clear:after {content: "."; display: block; margin: 0; padding: 0; height: .1px; clear: both; visibility: hidden; line-height: .1px; font-size: 0;}
.clear {display: inline-block;}
/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block; clear: both;}
/* End hide from IE-mac */

/* Main structure */
.L {
  float: left;
  width: 30%;
}
.L .margin {
  margin: 0 50px 0 0;
}
.C {
  background: url('/img/bg_foots.png') no-repeat 100% 75%;
  float: left;
  width: 70%;
}
.C .margin {
  margin: 30px 145px 30px 0;
}

.w100 {width: 100%;}
.w50 {width: 50%;}
.w45 {width: 45%;}
.w33 {width: 33%;}
.w25 {width: 24%;}

/* Decoration */
.cover_rb {background: url('/img/bg_cover_rb.png') no-repeat bottom right; min-height: 100%;}
.cover_t {background: url('/img/bg_cover_t.png') repeat-x top left;}
.cover_tr {background: url('/img/bg_cover_tr.png') no-repeat top right;}
.cover_tl {background: url('/img/bg_cover_tl.png') no-repeat top left;  min-height: 600px;}
.cat1 {background: url('/img/cat1.png') no-repeat 100% 30px; min-height: 847px;}
.cat2 {background: url('/img/cat2.png') no-repeat 100% 0; min-height: 841px;}
.cat3 {background: url('/img/cat3.png') no-repeat 100% 10px; min-height: 867px;}

.search {
  position: relative;
  background: url('/img/bg_search.png') repeat-x top left; 
  padding: 8px;  
  margin: 15px 0 10px -8px;
  height: 29px;
}
.search_l, .search_r {
  position: absolute;
  height: 45px;
  width: 4px;
  top: 0;
}
.search_l {
  background: url('/img/bg_search_l.png') no-repeat top left; 
  left: -4px;
}
.search_r {
  background: url('/img/bg_search_r.png') no-repeat top right;
  right: -4px;
}

.comment {
  font-size: 11px;
}
.copyright, .small, .news dt {
  font-size: 12px;
}
.passive, .comment, .news dt {
	color: #656a71;
}

.photoCard {
	padding: 8px 8px 11px 8px;
	width: 104px;
	height: 104px;
	background: url('/img/bg_card.png') no-repeat top left;
}
.photoCardBig {
	padding: 13px 13px 16px 13px;
	width: 204px;
	height: 204px;
	background: url('/img/bg_card_big.png') no-repeat top left;
}
.photoFolder {
	padding: 24px 8px 11px 8px;
	width: 104px;
	height: 104px;
	background: url('/img/bg_folder.png') no-repeat top left;
}
.photoSlider {
	padding: 13px 13px 28px 13px;
	width: 204px;
	height: 204px;
	background: url('/img/bg_slider.png') no-repeat top left;
	position: relative;
}
.photoSlider .showL, .photoSlider .showR {
	position: absolute;
	width: 16px;
	height: 16px;
	bottom: 8px;
	cursor: pointer;
}
.photoSlider .showL {
	left: 91px;
}
.photoSlider .showR {
	right: 91px;
}

.photoCard, .photoCardBig, .photoFolder, .photoSlider {
	display: inline-block;
}
.photoCard a, .photoCardBig a, .photoFolder a, .photoSlider a, .photoCard span, .photoCardBig span, .photoFolder span, .photoSlider span, .photo a, .photo span {
	border: 1px solid #f5f7f9;
	display: inline-block;
}
.photoCard img, .photoCardBig img, .photoFolder img, .photoSlider img, .photo img {
	border: 1px solid #9199a3;
  vertical-align: top;  
}

.photo {
  overflow-x: auto; 
  overflow-y: hidden;
  width: 100%;
}
.photoViewer {
  text-align: center;
  border: 1px solid #f5f7f9;
  background: #d6dfea;  
}
.photoViewer .Adds {
  padding: 10px;
  border: 0;
}
.photoViewer .Adds dt, .photoViewer .Adds dd {
  float: none;
  display: inline;
  width: auto;
}
.photoViewer .Adds dt {
  border-right: 1px dotted #9199a3;
  padding-right: 5px;
  margin-right: 5px;
}
.title {
	padding-bottom: 5px;
	border-bottom: 1px solid #ecf3fb;
}

.message {
	padding: 10px;
	border: 1px dashed #ecf3fb;
	text-align: center;
	font-weight: bold;
	margin-bottom: 30px;
}


/* Lists */
.catsList dt {
	float: left;
	width: 230px;
}
.catsList dd {
	padding-left: 245px;
}

.catsListSimple dt {
	float: left;
	width: 120px;
}
.catsListSimple dd {
	padding-left: 135px;
}

.photoList {
	float: left;
	width: 33%;	
}
.photoList dt {
	padding-bottom: 3px;
}
.photoList dd {
	padding-right: 15px;
}

.news dt {
	width: 85px;
	float: left;
}
.news dd {
	padding: 0 0 15px 100px;
}

/* tables */
.history {
	font-size: 11px;
	width: 100%;
}
.history td {
	border: 1px solid #ecf3fb;
	padding: 3px 5px;
	vertical-align: middle;
	width: 25%;
}

.form {
	width: 100%;
}
.form td {	
	border-top: 1px solid #ecf3fb;
	padding: 5px;
	vertical-align: top;
}
.form td.left {
	width: 30%;
	text-align: right;
	font-weight: bold;
}
.form input.w100, .form textarea.w100, .form select.w100 {
	width: 80%;
}
.form label input {
	margin-right: 5px;
	vertical-align: middle;
}

/* Menus */
.navigation div {
  position: absolute;
  z-index: 100;
  top: 215px;
  height: 44px;
  background-image: url('/img/bg_navigation.png');
  background-repeat: no-repeat;
}
.navigation .language {
  left: 0;  
  background-position: -40px 0;
  padding-left: 1px;
}
.navigation .links {
  right: 0;
  background-position: 0 0;
  padding-left: 4px;
}
.navigation a, .navigation span {
  display: block;
  float: left;
  width: 36px;
  line-height: 36px;  
  text-align: center;
  margin: 2px 1px 0 0;
  color: #000 !important;
  font-size: 12px;
  font-family: "Trebuchet MS";
}
.navigation span {
  background: url('/img/bg_navigation_on.png') repeat-x top left;
  color: #FFF !important;
}

menu {
  list-style: none;
}
.mainMenu, .superMenu { 
  text-transform: uppercase;
  font-family: "Trebuchet MS"; 
  font-weight: bold;
  position: relative;
}
.mainMenu li, .superMenu li {
  float: left;
}
.mainMenu a, .superMenu a {
  display: block;
  color: #000;
}
.mainMenu { 
  margin: 0 0 15px -8px;
}
.mainMenu a {
  line-height: 40px;
  padding: 0 8px 4px 8px;
}
.mainMenu li.on {
  background: url('/img/bg_menu_r.png') no-repeat top right; 
  padding-right: 4px;
  margin: 0 -4px;
}
.mainMenu li.on a {
  background: url('/img/bg_menu_l.png') no-repeat top left;
  padding: 0 8px 4px 12px;
}
.mainMenu li.on a, .mainMenu li.on a:hover {
  color: #FFF;
}
.mainMenu li.spacer {
  width: 40px;
  height: 4px;
  font-size: 0;
  background: #C00;
  padding: 0;
  margin: 12px 0;
}

.superMenu {
  height: 185px;
  margin: 0 -145px 0 -17px;
}
.superMenu menu a {
  position: relative;
  text-decoration: none;  
}
.superMenu menu span {
  position: absolute;
  text-decoration: underline;
}
.superMenu .on span {
  color: #C00;
  text-decoration: none;
  color: #C00;
  border-bottom: 4px solid #C00;
}

.Adds {
	padding-top: 5px;
	border-top: 1px dashed #9199a3;
}
.Adds dt {
	float: left;
	text-align: left;
	width: 40%;
	padding-left: 30px;
	background: url('/img/arr_l.gif') no-repeat 0 5px; 
}
.Adds dd {
	float: right;
	text-align: right;
	width: 40%;
	padding-right: 30px;	
	background: url('/img/arr_r.gif') no-repeat 100% 5px; 
}

.subMenu {
	font-size: 12px;
	overflow: hidden;
	position: relative;
	margin-left: -5px;
}
.subMenu a {
	white-space: nowrap;
	line-height: 15px;
	border-left: 1px solid #9199a3;
	margin-left: -1px;	
	padding: 0 6px 0 5px;
}

div.localMenu {
  margin-bottom: 30px;
  overflow: hidden;
	position: relative;
  margin-left: -5px;
}
div.localMenu div {
  overflow: hidden;
}
div.localMenu span, div.localMenu a {
  white-space: nowrap;
	line-height: 15px;
	border-left: 1px solid #9199a3;
	margin-left: -1px;	
	padding: 0 6px 0 5px;
}

.Paging {
	padding-top: 15px;
}
.Paging a, .Paging b, .Paging span {
	border-left: 1px dotted #9199a3;
	margin-left: 5px;	
	padding-left: 5px;
}

/* Additionsl */
.normal {font-weight: normal;}
.bold {font-weight: bold;}
.italic {font-style: italic;}

.margin {margin: 15px;}
.marginT {margin-top: 15px;}
.marginL {margin-left: 15px;}
.marginR {margin-right: 15px;}
.marginB {margin-bottom: 15px;}
.marginTs {margin-top: 5px;}
.marginLs {margin-left: 5px;}
.marginRs {margin-right: 5px;}
.marginBs {margin-bottom: 5px;}
.marginT0 {margin-top: 0;}
.marginL0 {margin-left: 0;}
.marginR0 {margin-right: 0;}
.marginB0 {margin-bottom: 0;}
.margin0 {margin: 0;}

.padding {padding: 15px;}
.paddingT {padding-top: 15px;}
.paddingL {padding-left: 15px;}
.paddingR {padding-right: 15px;}
.paddingB {padding-bottom: 15px;}
.paddingTs {padding-top: 5px;}
.paddingLs {padding-left: 5px;}
.paddingRs {padding-right: 5px;}
.paddingBs {padding-bottom: 5px;}
.paddingT0 {padding-top: 0;}
.paddingL0 {padding-left: 0;}
.paddingR0 {padding-right: 0;}
.paddingB0 {padding-bottom: 0;}
.padding0 {padding: 0;}

.textC {text-align: center;}
.textR {text-align: right;}
.textL {text-align: left;}
.verticalT {vertical-align: top;}
.verticalB {vertical-align: bottom;}
.verticalM {vertical-align: middle;}

.border0 {border: 0;}

/* IDs */
#Logo {
  display: block;
  float: left;
  background: url('/img/realgem_logo.png') no-repeat top left; 
  width: 185px;
  height: 146px;
}

#Koti {
  background: url('/img/koti.png') no-repeat top left; 
  width: 99px;
  height: 124px;  
  top: 25px;
  left: 100px;
  margin-right: 100px;
}
#Koti span {
  top: 100px;
  left: -30px;
}

#Koshki {
  background: url('/img/koshki.png') no-repeat top left; 
  width: 81px;
  height: 156px;
  top: 0;
  left: 0;
  margin-right: 20px;
}
#Koshki span {  
  top: 10px;
  right: -30px;
}

#Kotiata {
  background: url('/img/kotiata.png') no-repeat top left; 
  width: 103px;
  height: 103px;
  top: 35px;
  left: 0;  
}
#Kotiata span {
  top: 80px;
  right: -50px;
}
