html, body, div, img  {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

#main {    
  min-width: 980px;
  _width: expression(Math.max((document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth) - 20, 980)+'px');  
}    

html, body {
  height: 100%;
}

#formEdit img, #formEdit div {
  position: relative;
 _position: static;
 _posit\ion: relative;
}

div, img {
  position: relative;
}

body {
  font-family: Tahoma, Arial, Sans Serif;
  color: black;
  font-size: 14px; 
}

.small {font-size: 12px;}
.smallest {font-size: 9px;}
sup.small, sub.small {font-weight: bold;}


#main {
  position: relative;
  min-height: 100%;
  _height: 100%;
}

#header {
  height: 150px; 
}
#logo {
  position: relative;
  left: 42px;
  top: 25px;
  display: block;
  width: 220px;
  height: 90px;
  text-decoration: none; 
}
#logo img {
  width: 220px;
  height: 90px;
  border-style: none;
}
#mainMenu {
  position: absolute;
  top: 75px;
  left: 345px;
  font-size: 16px;
  font-family: Arial, Sans Serif;
  font-weight: bold; 
  white-space: nowrap;
}
#mainMenu div {
  border-right: 1px solid black;
  display: inline;
  padding: 0px 25px;
}
#mainMenu div.last {
  border-right: 0px solid;
}
#mainMenu span, #mainMenu a.select {
  color: #939393;
}
#mainMenu a {
  color: black;
  text-decoration: none;
}
#mainMenu a:hover {
  text-decoration: underline;
}


#left {
  width: 320px;  /* Ширина left */
  float: left;
  padding: 0px 0px 10px 0px;
  margin: 0px;
  font-size: 16px;
  font-family: Arial, Sans Serif;
  font-weight: bold;    
}

#left ul, #left li {
  margin: 0px;
  padding: 0px;
  line-height: 15px; 
}
#left ul {
  list-style-image: url('img/main.png'); 
  margin-left: 41px; 
} 
#left li {
  padding-left: 11px; 
  margin-top: 30px;
}
#left ul ul {
  list-style-image: url('img/enclosure.png'); 
  margin: -15px 0px 40px 30px;
  font-weight: normal;  
}
#left li li {
  margin-bottom: -5px;  
}

#left ul ul ul {
  list-style-image: none;
  list-style-type: none;  
  margin: -5px 0px 0px -40px
}
#left li.select {
  list-style-image: url('img/select.png'); 
}
#left li li li.select {
  list-style-image: none; 
}
#left li li a {
  color: #7a7a7a; 
}
#left a {
  color: black;
  text-decoration: none;
}
#left a:hover {
  text-decoration: underline;
} 
#left li.select li a, #left li li.select li a {color: #7a7a7a;}
#left li.select a, #left li li.select a, #left li li li.select a, #left li span {
  color: #da251d;
}

#currency, #search {
  margin-top: 50px;
  width: 242px;
  height: 105px;
  font-size: 15px;
  font-weight: normal;
  background: url('img/currency.jpg') no-repeat;
  padding: 7px 5px 0px 10px;
}

#search {
  margin-top: 50px;
  background: url('img/search.jpg') no-repeat;
  height: 80px;
}
#search input {
  height: 14px;
  font-size: 10px;
  height: 14px;
 _height: 20px;
 _heig\ht: 14px;
  width: 90px;
}
#search div {
  margin-top: 8px;
  *margin-top: 13px;
}
#currency div.title {
 font-size: 13px;
 margin-bottom: 5px;
}
#convertLink, #searchLink {
  position: absolute;
  right: 20px;
  bottom: 30px;
}
#convertLink a, #searchLink a {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #da251d;
  text-decoration: none;
}
#convertLink a:hover, #searchLink a:hover {
  text-decoration: underline;
}


#conv, #searchF {
  display: none;
  position: absolute;
  background: url('img/convBG.jpg') no-repeat;
  width: 247px;
  height: 222px;
  font-family: Tahoma, Arial, Sans Serif;
  font-size: 14px;
  z-index: 100;
} 
#searchF {
  background: url('img/convBGs.jpg') no-repeat;
  height: 322px;
}
#conv div, #searchF div {
  padding: 55px 10px 10px 10px;
}
#conv div, #conLine div input, #conLine div select, #searchF div {
  color: #db3b33; 
}
#conv div div, #searchF div div, #conLine div input {
 text-align: center;
 padding: 2px 0px; 
}  
#conv div, #searchF div, #conLine div div {
  font-weight: bold;
  line-height: 1.8em;
}
#conv div div span, #searchF div div span {
  font-size: 12px;
}
#conv a, #searchF a {
  position: absolute;
  z-index: 100;
  left: 224px;
  top: 5px;
  * top: 11px;
  text-decoration: none;
  width: 8px;
  height: 8px; 
}
#conv img, #searchF img {
 border: 0px solid;
}
.conNowrap {
 white-space: nowrap;
}
#convInput {
 width: 90px;
 text-align: center;
}
#searchF form, #searchF fieldset {
 width: 195px;
 padding: 0px;
 text-align: center;
}
#searchF fieldset {padding: 4px;}
#searchF input {
 width: 60px;
}
#searchF h2 {
 position: absolute;
 top: 6px;
 left: 5px;
 font-size: 14px;
 font-weight: bold;
 color: white;
 padding: 0px;
 margin: 0px;
 line-height: 1.2em;
}
#searchF div {padding-top: 25px;}
#searchF legend {text-align: left;}
.fleft, .fleft input, .fleft label {text-align: left !important; font-size: 12px;}
.fleftCh {width: 12px !important;}
.fleftTx {width: 70px !important;}
#selectRoomsNum {display: none; text-align: left !important;}
#searchF hr {margin: 0px;}


#content {             
   margin-left: 320px; /*  Ширина left  */
   padding: 0px 70px 50px 30px;
   _padding: 0px 35px 50px 15px; 
}
.notice {     
 min-height: 188px;
 _height: 188px;
 overflow: visible; 
 left: 0px;
 top: 0px;            
}
.detailNotice {
 min-height: 158px !important;
 _height: 158px !important;
}
#content .notice img {
 margin: 0px;
 border-style: none;
}
a.preview, span.preview {
 display: block;
 position: absolute;
 top: 0px;
 left: 0px;
 z-index: 10;
 text-decoration: none;
 padding: 0px;
 margin: 0px;
}
a.preview img, span.preview img {
  display: block;
  width: 200px;
  height: 128px;
}
a.preview span, span.preview span {
 display: block;
 position: relative;
 padding: 0px;
 margin: 0px;
}
a.preview span.mask, span.preview span.mask {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 200px;
  height: 128px;
  background: url('img/mask.png') no-repeat;
  * background-image: expression('none');
  * filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://"+window.location.hostname+"/img/mask.png', sizingMethod='crop')");
}
a.preview span.mask span, span.preview span.mask span {
  position: absolute;
  font-size: 21px;
  color: white;
  font-weight: normal;
  top: 33px;
  left: 140px;
  width: 47px;
  text-align: center;
  line-height: 1em;
}
a.preview span.mask span.thousand, span.preview span.mask span.thousand {
  font-size: 16px;
  top: 36px;
}
#content .objDesc {
  display: block;
  position: absolute;
  top: 0px;
  left: 245px;
  * margin-right: -245px;
  _margin-right: 0px;
  padding-bottom: 20px;
  font-size: 15px;
  color: #555555;
  font-weight: normal;
  
}
#content .objDesc b {
  font-size: 15px;
  color: black;
  font-weight: bold;
}
#content .objDesc h1 {
  font-size: 20px;
  color: #555555;
  font-weight: bold;
  line-height: 1em;
  margin: 5px 0px -5px 0px;
}
#content .detail {
  display: block;
  position: relative;
  text-align: right;
  font-size: 17px;
}
#content img.detail {
 text-align: left !important;
 position: static !important;
}
#content .objDesc .detail {
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 10;
  padding: 0px;
  margin: 0px;

}
#content .detail a {
  color: #df0221;
  text-decoration: none;
}
#content .detail a:hover {
  text-decoration: underline;
}
#content .stopper {
  display: block;
  width: 200px;
  height: 128px;
  background-color: #DBDBDB;
}
div.firstBlockOfCards {margin-bottom: 160px;}

div.edtp {
 font-size: 10px;
 position: absolute;
 z-index: 10;
 top: 28px;
 left: 255px;
}
div.edtp a {
 text-decoration: none;
 margin-left: 10px;
}
div.edtp a:hover {text-decoration: underline;}

div.d_all_top {margin: 20px 0px;}



#clear {
  clear: both;
  height: 105px; /* Ширина footer */
}


#footer {
  position: relative;
  margin-top: -105px;
  height: 105px;   /* Ширина footer */
  padding-left: 350px;
}
#line {
  border: 1px solid #f3f3f3;
  background-color: #e0e0e0;
  height: 2px;
  line-height: 0px;
}
#footerText {
  padding-top: 20px;
  color: #555555;
  font-size: 15px;  
}
#footerText a {
  color: #da251d;
  font-weight: bold;
  text-decoration: none;
}
#footerText a:hover {
  text-decoration: underline;
}
#paragraf {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: arial;
  font-size: 8px;
  text-align: center;
}
#paragraf a {
  color: #df0221;
  text-decoration: none;
}
#paragraf a:hover {
  text-decoration: none;
}

#hd {
 display: block;
 position: absolute;
 z-index: 100;
 right: 0px;
 top: 0px;
 width: 20px;
 height: 20px;
 text-decoration: none;
 cursor: default;
}

.err {
 color: #df0221;
}


#counter {
  position: absolute;
  right: 120px;
  bottom: 8px;
  _bottom: 6px;
}



/* ------------------- */
p {
  margin: 0.5em 0em;
}

a {color: #df0221;}

h1,h2,h3,h4,h5,h6 {
 font-weight: normal;
 margin: 1.5em 0em 1.5em 0em;
 color: #555555;
}

h1 {
  font-size: 18px;
}
h2 {
  font-size: 16px;
}
h3 {
  font-size: 14px;
}
h4 {
  font-size: 12px;
}
h5 {
  font-size: 11px;
}
h6 {
  font-size: 10px;
}

.clear {
 clear: both;
 font-size: 1px;
 height: 1px;
 line-height: 1px;
}

div.up {
 text-align: right;
 padding: 10px 40px 20px 0px;
}

div.up a {
 text-decoration: none;
}

#content img {
 border: 1px solid gray;
 margin: 10px 15px;
}

img.icq {
 margin: 0px 3px !important;
 vertical-align: middle !important;
 border-style: none !important;
}

div.paging {
 margin: 20px 0px 10px 0px;
}
div.paging a, div.paging span {
 padding: 3px 6px 2px 6px;
}
div.paging a:hover {
 background-color: #dddddd;
 text-decoration: none;
}
#pay {
 display: block;
 margin-top: 30px;
 text-decoration: none;
 font-size: 10px;
}
#nic, #basargusha {
 display: block;
 margin-top: 30px;
 text-decoration: none;
 font-size: 10px;
 width: 246px;
}
#mtj {
 background: transparent url('img/mtj.jpg') right top no-repeat;
 display: block;
 margin-top: 30px;
 text-decoration: none;
 font-size: 10px;
 width: 246px;
 height: 340px;
}
#japan, #mango, #taxi,
#japan:hover, #mango:hover, #taxi:hover {
 width: 240px;
 height: 115px;
 display: block;
 position: absolute;
 text-decoration: none;
}
#japan {
 top: 230px;
}
#mango {
 top: 0px;
}
#taxi {
 top: 130px;
}
#nic img, #basargusha img {
 margin-left: 6px;
 border: 1px solid #dddddd;
}
#basargusha img {border-style: none;}
