body
{
  margin: 0;
  font-family:Arial;
  background-color:#3366cc;
  background-image: url('images/bggradient.jpg');
  background-position: top center;
  background-repeat: repeat-x;
} 
#maintable
{
  margin: 0 auto;
  width:1000px;
  border-collapse: collapse;
  border:1px;
  border-color: #2938b5; /* Цвет границы */
  border-style: solid; /* Стиль границы */  
  background-color:#fff2bf;
}
#topbar
{
  background-image: url('images/topbar.jpg');
  background-repeat: repeat-x;
  height:50px;
}
#topimage
{
  background-image: url('images/topimage_all.gif');
  background-repeat: repeat-x;
  height:151px;
}
#beforemenuspacer
{
  height:4px;
}
.topmenu,.topmenu_sel
{
  background-image: url('images/notselmenu.gif');
  background-repeat: repeat-x;
  height:37px;  
  color:white;
  text-align:center;
  vertical-align: middle;
  padding-left:22px;/*
  padding-right:25px;*/
  width:197px;
}
.topmenu_sel
{
  background-image: url('images/selmenu.gif'); 
  width:200px;
}
.spacermenu
{
  width:3px;
}
.topmenu a:link,.topmenu a:visited,.topmenu a:hover,.topmenu a, .topmenu_sel a:link,.topmenu_sel a:visited,.topmenu_sel a:hover,.topmenu_sel a,#bottombar a,#bottombar a:link,#bottombar a:visited,#bottombar a:hover
{
  color:white;
  text-decoration:none;
  font-weight:bold;
}
#undermenu
{
  background-image: url('images/undermenu.gif');
  background-repeat: repeat-x;
  height:10px;
}
#bottomimage
{
  background-image: url('images/bottomimage.jpg');
  background-repeat: repeat-x;
  height:110px;
}
#bottombar
{
  background-color:#3399cc;
  background-image: url('images/bottombar.gif');
  background-repeat: repeat-x;
  text-align:right;
  padding-right:22px;
}
.querypagetabledata td
{
  text-align:center;
}
.querypagetabledata
{
  font-size:12px;
}
#mainpagespacer,.mainpagespacer
{
  background-image: url('images/mainpagespacer.gif');
  background-repeat: repeat-y;  
  background-position: center;
}

#mainpagetablefreecottages
{
  border-bottom:1px;
}
.borderfreecottage
{
  /*border:1px solid #003366;*/
  border:1px solid #3c877b;
  padding:7px;
}
.mainheader,h2
{
  color:#ff9900;
}
.mainpagetablefreecottagesitem
{
  font-size:9px;
  color:#338278;
}
.mainpagetext
{
  color:#003568;
}
.cellfreecottages
{
  padding:5px;
}
.leftitemmain
{
  width:72%;
  padding-right:10px;
}
.searchbutton,.extsearchbutton
{
  background-repeat: no-repeat;  
  background-position: left center;  
  height:27px;
  text-align:center;
  padding-top:3px;
}
.searchbutton a:link,.searchbutton a:visited,.searchbutton a:hover,.searchbutton a,.extsearchbutton a:link,.extsearchbutton a:visited,.extsearchbutton a:hover,.extsearchbutton a
{
  color:white;
  text-decoration:none;
  vertical-align: middle;
  font-weight:bold;
}
.searchbutton
{
  background-image: url('images/search.gif');
  width:90px;
  padding-left:30px;
}
.extsearchbutton
{
  background-image: url('images/extsearch.gif');
  width:190px;
}
.sendquerybutton
{
  background-image: url('images/sendquery.gif');
  width:94px; 
  height:22px;
}
#searchtableborder,#searchtableborder2
{
  border:1px solid #003366;
  padding:7px;
}
#searchtableborder
{
  width:961px;
}
#outerquery
{
  padding:0;
  width:977px;
  border:1px solid #99ccff;
  margin-left:9px;
  margin-top:10px;
  margin-bottom:10px;
  
}

#searchpagetable
{
  width:940px;
}
#searchtableborder2
{
  width:550px;
}
.topqueryrow
{
  background-image: url('images/topquery.gif');
  background-repeat: repeat-x;
  height:40px;
  vertical-align:middle;
  color:white;
}
.querylighted
{
  color:#ff3300;
  font-weight:bold;
}
.querypagetable3
{
  font-size:10px;
  border:1px solid #ff9562; 
  margin:5px;
}
.topbord > td
{
  border-top:1px solid #ff9562; 
}
.querypagetable3 td
{
  vertical-align:top;
  padding-top:10px;
  padding-bottom:10px;
}
.querypagetabledist td
{
  padding-top:2px;
  padding-bottom:2px;
}
.querypagespacer
{
  background-image: url('images/querypagespacer.gif');
  background-repeat: repeat-y;  
  background-position: center;
 
}
.itemborder1
{
  border:1px solid #003366; 
}
.itemmagetabledesc1 td
{
  text-align:center;
  font-size:12px;
  padding:5px;
}

.butt1a,.butt1b,.butt2,.butt3,.butt4
{
  height:27px;
}
.butt3
{
  color:white;
  text-align:center;
  vertical-align: middle;
  font-weight:bold;
}
.butt1a
{
  background-image: url('images/but1a.gif');
  background-repeat: no-repeat;
  background-position: left;
}
.butt1b
{
  background-image: url('images/but1b.gif');
  background-repeat: no-repeat;
  background-position: left;  
  padding-left:30px;  
}
.butt4
{
  padding-top:1px;
}
.butt4 a:link,.butt4 a:visited,.butt4 a:hover,.butt4 a
{
  color:white;
  text-decoration:none;
  vertical-align: middle;
  font-weight:bold;
}
.butt2
{
  background-image: url('images/but2.gif');
  background-repeat: repeat-x;
}
.butt3
{
  background-image: url('images/but3.gif');
  background-repeat: no-repeat;
  background-position: right;  
}
#searchbutter
{
  width:100px;
}
#extsearchbutter
{
  width:200px;
}
#searchid
{
  background-image: url('images/searchid.gif');
  background-repeat: no-repeat;  
  background-position: center; 
  width:233px;
  height:80px;
}
.imgsm
{
  cursor:pointer;
  width:75px;
  height:75px;
}
.phototable
{
  border:1px solid #ff8566;
  border-collapse:collapse;
  background-color:white;
}
.rightsmphoto
{
  padding:10px;
}
.leftsmphoto
{
  text-align:center;
  padding-left:10px;
  padding-top:10px;
  padding-bottom:10px;
}
.oborudright
{
  background-image:url('images/querypagespacer.gif');
  background-repeat:repeat-y;
  background-position:0px 0px;
}
.zpCal1Container,#zpCal1Container
{
  font-size:10px !important;
}
div.cb
{
 width: 19px;
 height: 19px;
 /*padding-left: 20px;*/
 border: 0;
 background: #ffffff url(images/cb_uncheck.gif) no-repeat top left;
 float: left;
}

div.cb:hover
{
 background: #ffffff url(images/cb_uncheck_m_on.gif) no-repeat top left;
}

div.cb.checked
{
 background: #ffffff url(images/cb_check.gif) no-repeat top left;
}

div.cb.checked:hover
{
 background: #ffffff url(images/cb_check_m_on.gif) no-repeat top left;
}

.incatbut,.incatbut2,.atbut,.atbut2,.incatbut3
{
  width:21px;
  height:26px;
  font-weight:bold;
  font-size:18px;
}
.atbut2
{
  width:32px;
}
.incatbut,.incatbut2,.incatbut3
{
  cursor:pointer;
  color:#003366;
  border:0;
  background-color:#fff2bf; 
}
.incatbut2
{
  width:55px;
}
.incatbut3
{
  width:30px;
}
.incatbut
{
  width:25px;
}
.atbut,.atbut2
{
  color:#ff3300;
  border:0;
  background-image: url('images/digbg.gif');
  padding-bottom:7px;
  
  padding-left:5px;
}
.atbut2
{
  padding-left:3px;
  background-image: url('images/digbg2.gif');
  padding-top:1px;
  padding-bottom:5px;  
}

.datepick {width:164px !important;}
.datepick-month-year{font-size:12px !important;}
.fullyday{ background-image: url('main/im/full2.gif')  !important;background-repeat: no-repeat  !important;}
.uppart{ background-image: url('main/im/up2.gif')  !important;background-repeat: no-repeat  !important;}
.bottompart{ background-image: url('main/im/down2.gif')  !important;background-repeat: no-repeat  !important;}


h1
{
  padding:0;
  margin:0;
  font-size:16px;
}
h2
{
  font-weight:normal;
  font-family:Arial;
  font-size:16px;
  margin:0;
  margin-bottom:0px;
  padding:0;
}
