html, body { height:100%; font-family: Tahoma;min-width:990px}

#first { min-height: 100%;	height: auto !important;	height: 100%;	margin: 0 auto -210px;}
.outer { min-width:990px}

/* стили для IE6 */
* html .outer {padding-left:990px}
* html .minwidth {height:0} /* holy hack для IE, что бы включить свойство hasLayout */
* html .container {margin-left:-990px;position:relative; height:0}

body {background-image:url('/local/tpl/main/img/bck.jpg'); background-repeat:repeat-y; background-position: 100% 0;background-color:#FFF; margin:0;padding:0;}

#logo {position:absolute;top:20px;left:0;width:278px; height:273px; background-image:url('/local/tpl/main/img/top-left.jpg');z-index:999;}
#logo img {position: relative; top:0; left: 25px;}

#header {width:100%; height:166px; background-color:#f7f5ee;}
#name {position:absolute; top:70px; left:295px;z-index:999;}
#header-text {font-family: Verdana; color:#613700; font-size: 90%;position:absolute; top:150px; left: 295px;margin:0; padding:0;}

#header-form {width:190px; height:40px; margin: 75px 0 0 85px; }
#header-form div {height:20px;}
#header-form img {float:right; margin: 0 0 0 10px;border-style:none;}
#header-form input {border: 1px solid #686868; background-color:#ffffe7; width:160px; height: 15px; line-hieght:15px; font-size:80%; float:right;}

#header-form .search {float:right; margin: 5px 5px 0 0;}

#header-right {float:right; width:665px; height:166px; background-image: url('/local/tpl/main/img/top-right-1.jpg'); background-repeat: no-repeat; background-position: 0 100%;}
#header-right-in {float:right; width:335px; height:166px; background-image:url('/local/tpl/main/img/top-right-2.jpg');}

#top-bck {width:100%; height:3px; background-color:#c7bda6; background-image:url('/local/tpl/main/img/top-bck.jpg');}
#top-bck-in {width:16px; height:3px; float:right; background-image:url('/local/tpl/main/img/top-right-3.jpg');}

#content {width:100%;background-image:url('/local/tpl/main/img/left-bck.jpg');background-position: 100% 0; background-repeat: no-repeat;}
#left {width:285px; float:left;}
#main { margin-left: 300px;}
#menu-block {width:285px; height:390px;background-image:url('/local/tpl/main/img/menu-book.jpg');margin-top:95px;}
#date {text-align:right; font-weight:bold;color:#333;font-size:85%;margin-right:25px;}
#ask {text-align:center; margin: 20px 0 0 75px;border-style:none;}

#before-footer, #footer {width:100%;height:210px; }

#footer-top {height:30px; }
#footer-top-menu {height:30px;width:90px; float:left; margin:0 0 0 100px;}
#footer-top-menu img { float:right; margin: 0 0 0 10px;}
#footer-top-copy {float:left; margin:0 0 0 100px; height:30px;}
#footer-top-copy p {font-size:75%;margin:0; padding:0;}

#footer-right {width:95px; height:190px;float:right; background-image:url('/local/tpl/main/img/books-right.gif');margin:0;padding:0;}
#footer-in {margin-right:95px;height:190px; background-image:url('/local/tpl/main/img/books.jpg');background-position: 100% 100%;}

#menu {padding: 39px 0 0 75px;}
#menu img {margin:0;padding:0;}



a {font-weight:bold;}
a:link, a:visited {color:#F60;}
a:active, a:hover {color:#F93;}
#main #map {font-size:75%; margin: 10px 0 15px 0;}
#map a:link, #map a:visited {color:#F00;}
#map a:active, #map a:hover {color:#C00;}
#main p { margin: 3px 20px 4px 0; padding:0; font-size:90%;color:#333}
h1, h2, h3 {color:#F60;margin: 5px 35px 3px 0; padding:0;}
h1 {font-size:125%;}
h2 { font-size:115%;}
h3 { font-size:105%;}
a img {border-style:none;}

.all-news {text-align:right;}
.line {background-image:url('/local/tpl/main/img/line.gif');background-repeat:repeat-x;height:1px;margin: 0 25px 0 10px;}
.news-block {display:table;margin: 5px 10px; width:100%;}
.news-img {float:left;}
.news-img img {float:left;margin: 0 10px 0 0;border:1px solid #333;}

.img-right {float:right; margin: 0 10px 10px 10px;}
.right {float:right; margin: 0 35px 10px 10px;text-align: center;}
.left { float: left; margin: 0 10px 10px 10px; text-align: center; }







.float-holder .floatbox{ float: left; width: 150px; }
* html .float-holder p { height: 1%;}
#main .float-holder p, #main .float-holder h2 { margin-top: 0; margin-left: 170px; }

#calendar-holder {width:240px;height:262px;background-image:url('/local/tpl/main/img/calendar-bck.jpg'); }
#calendar-holder p {color:#583200; margin: 0; padding:25px 0 5px 31px; font-size:100%;}
#calendar {width:180px;height:180px;margin: 5px 0 0 30px; }

#calendar .dow {font-weight:bold;}
#calendar table td {width:27px; height:18px; text-align:center; font-size:80%; color:#583200}
#calendar-holder  #steps {margin:-40px 0 0 55px; padding:0;font-size:80%;cursor:pointer;cursor:hand;}
#calendar img {margin: 55px 0 0 70px; text-align:center;}