body{padding:0;margin:0;background-image:url('/elements/pictures/main/body_background_light.jpg'); height:100%;width:100%;display:table;font-family:Tahoma;}
table.main_table{border-collapse:collapse;  vertical-align:top;  width:100%;  height:100%;  border:none;  padding:0px;  margin:0px;
/*background-repeat:no-repeat;    background-image:url(/elements/pictures/background_3.jpg);  background-size:contain;    background-color:#88aabc;  */
}
/* верх главной таблицы */
td.main_td_top_left{border-collapse:collapse;background:url('/elements/pictures/main/main_top_left.jpg'); background-repeat:no-repeat;background-position:right bottom;  height:50px;}
td.main_td_top_center{border-collapse:collapse;background:url('/elements/pictures/main/main_top_center.jpg'); background-repeat:no-repeat;background-position:right bottom;  }
td.main_td_top_right{border-collapse:collapse;background:url('/elements/pictures/main/main_top_right.jpg'); background-repeat:no-repeat;background-position:left bottom;  }
/* центр главной таблицы */
td.border_right{border-collapse:collapse;  width:50%;  height:680px;  background-image:url('/elements/pictures/main/main_center_right.jpg');  background-repeat:no-repeat;
/*background-repeat:no-repeat;  background-size:cover;                             */
/*background-image:url(/elements/pictures/right.jpg);    */
/*background-repeat:no-repeat;   */
}
td.border_left{border-collapse:collapse;  width:50%;  height:680px;  background-image:url('/elements/pictures/main/main_center_left.jpg');  background-repeat:no-repeat; 
/*background-repeat:no-repeat;    background-image:url(/elements/pictures/left.jpg); */
background-position:right top;                       }
/* низ главной таблицы */
td.main_td_bottom_left{border-collapse:collapse;background:url('/elements/pictures/main/main_bottom_left.jpg'); background-repeat:no-repeat;background-position:top right;  background-size:100% 100%}
td.main_td_bottom_center{border-collapse:collapse;background:url('/elements/pictures/main/main_bottom_center.jpg'); background-repeat:no-repeat;background-position:top right; }
td.main_td_bottom_right{border-collapse:collapse;background:url('/elements/pictures/main/main_bottom_right.jpg'); background-repeat:no-repeat;background-position:top left; }
/* центральный кусок */
td.center_table{border-collapse:collapse;  vertical-align:top;    width:960px;  height:100%;  background:url('/elements/pictures/main/center_background_up.jpg') -1px -20px no-repeat, #796D5F;}
/* верх центральной таблицы */
td.background_center_table{background:url('/elements/pictures/main/center_background_up.jpg'); }
td.up{border:none;      border-collapse:collapse;  width:100%;  height:33px;  border-width:0px;  border-style:solid;  background-repeat:no-repeat;}
option{background:#fcf1dd;border-top:2px solid #b03b05;border-left:2px solid #b03b05;border-right:2px solid #f3d4a5;border-bottom:2px solid #f3d4a5;white-space:nowrap;
/* перенос */
}
select.year{width:120px;}
SELECT.top{background:#FCF1DD;border-top:2px solid #B03B05;border-left:2px solid #B03B05;border-right:2px solid #F3D4A5;border-bottom:2px solid #F3D4A5;white-space:nowrap}
#main_menu a{cursor:pointer;}
a.scroll{color:#000;
  text-decoration:underline;
  font-family:sans-serif;
  font-size:22pt;
  font-weight:600;
  font-family:'minion pro';
  text-align:center;
  vertical-align:bottom;
}
a.scroll:hover{color:#000;
/* Цвет ссылки при наведении на нее курсора мыши */
text-decoration:none;    font-family:'minion pro';    text-align:center;    vertical-align:bottom;    cursor:pointer;       }
/* низ центральной таблицы */
td.background_bottom_center_table{background:url('/elements/pictures/main/center_background_bottom.jpg') 0px -1px no-repeat;border-top:1px solid #7D7161;}
table.bottom{padding:0;  border-collapse:collapse;  border:0;  width:100%;   margin:0px;  font-size:7pt;font-family:arial;  text-align:center;   }
td.bottom_padding{width:30px;}
td.bottom_left{background:url('/elements/pictures/main/eshva.png');
/*background-repeat:no-repeat; background-position:50 12;   */
background-repeat:no-repeat;   background-position:bottom left;  border:0px;  text-align:left;  width:245px;  height:50px;  color:#333333; margin:0px 0px;  padding-left:65px;  padding-top:12px;
/* border-left:55px solid;   */
}
td.bottom_right{background:url('/elements/pictures/main/catch.png');  background-repeat:no-repeat;   background-position:right top;  border-collapse:collapse;  border:0px;  text-align:right;  width:245px;  height:53px;  color:#333333; margin:0px 0px;  padding-right:85px;         }
.ie9 td.bottom_right{background:url('/elements/pictures/main/catch.png');  background-repeat:no-repeat;   background-position:right top;  border-collapse:collapse;  border:0px;  text-align:right;  width:245px;  height:54px;  color:#333333; margin:0px 0px;  padding-left:320px;         }
a.bottom{color:#36639c;
/* Цвет обычной ссылки */
text-decoration:none;   font-family:sans-serif;   }
a.bottom:visited{color:#36639c;
/* Цвет посещенной ссылки */
font-family:'Trebuchet MS';   text-decoration:underline;    }
a.bottom:hover{color:#904060;
/* Цвет ссылки при наведении на нее курсора мыши */
text-decoration:underline;    }
/* центр центральной таблицы */
table.center_table{border-collapse:collapse;position:relative;   width:932px;  height:678px;  vertical-align:top;  border:0px;background-repeat:no-repeat;   border:none;}
img{border:0px;}
form.formchek{margin:0;width:410px;height:50px;}
select.selectedchek{color:#a37558;font-size:20pt;vertical-align:top;width:193px;height:36px;background:#fcf1dd;border-top:2px solid #b03b05;border-left:2px solid #b03b05;border-right:2px solid #b03b05;border-bottom:2px solid #b03b05;white-space:nowrap;
/* перенос */
}
.bottonchik{font-size:20pt;vertical-align:top;width:140px;height:36px;
/*border-top:2px solid #B03B05;border-left:2px solid #B03B05;border-right:2px solid #F3D4A5;border-bottom:2px solid #F3D4A5;white-space:nowrapcolor:#A37558;background:#FCF1DD;*/
}
#scroll2{cursor:pointer;}
/* появляющиеся окна */
.pop-up-window{border-collapse:collapse;display:none;z-index:2;position:fixed;background:#000000;   opacity:0.7;width:100%;height:100%;color:white;text-align:center;vertical-align:middle;overflow:hidden;}
.ie9 .pop-up-window{border-collapse:collapse;display:none;z-index:2;position:absolute;background:none;   width:100%;height:100%;color:white;text-align:center;vertical-align:middle;overflow:inherit;}
.pop_up_table{border-collapse:collapse;text-align:center;vertical-align:middle;text-align:center;width:100%;height:100%;}
.pop_up_table td{border-collapse:collapse;text-align:center;vertical-align:middle;width:100%;height:100%;}
.pop_up_content{margin:0px;padding:0px;border-collapse:collapse;display:none;position:absolute;top:10%;left:35%;z-index:4;width:500px;height:650px;}
.pop_up_content p{font-size:19px;}
.pop_up_content div{position:absolute;top:100px;left:60px;z-index:5;width:380px;height:430px;font-size:22px;font-family:arial;color:#654130;}
.pop_up_content p{padding-left:15px;}
.pop_up_content div hr{color:#654130;}
scroll{color:#fff;}
/* Галерея */
.pop-gal-window{display:none;position:absolute;top:0px;background:#000000;   opacity:0.7;width:100%;height:100%;color:white;}
.ie9 .pop-gal-window{border-collapse:collapse;display:none;z-index:1;position:absolute;background:none;   width:100%;height:100%;color:white;text-align:center;vertical-align:middle;overflow:inherit;}
.pop_gal_table{border-collapse:collapse;text-align:center;vertical-align:middle;text-align:center;width:100%;height:100%;}
.pop_gal_table td{border-collapse:collapse;text-align:center;vertical-align:middle;width:100%;height:100%;}
.pop_gal_content{background:url('/elements/pictures/main/scroll.png') no-repeat;background-size:100% 100%;margin:0px;padding:0px;padding-bottom:100px;display:none;border-collapse:collapse;position:absolute;top:10%;left:25%;z-index:2;width:960px;min-height:650px;  }
.ie9 .pop_gal_content{background:#DFCDB5; }
p.hide{display:none;}
.ie9 p.hide{display:block;color:black;}
.pop_gal_content div{height:100%;width:100%;font-size:22px;font-family:arial;color:#654130;padding:100px 0px 0px 60px;}
div.demo{margin:0px;  padding:0px;  width:90%;  height:100%;}
.pop_gal_content p{padding-left:15px;}
.pop_gal_content div hr{color:#654130;                             }
img.mini{width:15%;}
/* Галерея END */
/* Добавление фото */
.pop-addphoto-window{border-collapse:collapse;display:none;z-index:1;position:fixed;background:#000000;   opacity:0.7;width:100%;height:100%;color:white;text-align:center;vertical-align:middle;overflow:hidden;}
.ie9 .pop-addphoto-window{border-collapse:collapse;display:none;z-index:1;position:absolute;background:none;   width:100%;height:100%;color:white;text-align:center;vertical-align:middle;overflow:inherit;}
.pop_addphoto_content{background:#ffffe1;display:none;margin:0px;padding:0px;border-collapse:collapse;position:absolute;top:10%;left:25%;z-index:1;width:960px;min-height:650px;border-radius:15px;  }
.pop_addphoto_content div{position:static;top:140px;left:60px;z-index:5;font-size:16px;font-family:arial;color:#654130;}
.pop_addphoto_content p{padding-left:15px;}
.pop_addphoto_content div hr{color:#654130;                             }
/* Галерея END */
/* Персональные выставки */
table.content_table{border-collapse:collapse;  }
td.solo_shows_table{border-collapse:collapse;  border:0px solid black;background:url('/elements/pictures/solo_shows/background.jpg') 0px 0px no-repeat;background-size:100% 590px;width:932px;height:578px;
/* ради бога не трогай это значение */
border-bottom:1px solid #7D7161;}
div.solo_shows_stand{position:absolute; top:450px; left:584px; width:200px; height:100px; font-size:20px; text-align:center; vertical-align:middle;}
div.solo_shows_stand p{font-family:Verdana; font-weight:bold;  text-shadow:1px 1px 4px white, 0 0 2em white;}
table.for_pictures{position:absolute; top:140px; left:100px; width:700px; height:230px; text-align:center; vertical-align:middle;}
table.for_pictures td{text-align:center; vertical-align:middle; padding-left:50px;}
img.first_picture, img.second_picture, img.third_picture{position:absolute;  top:30px;  width:130px;  height:165px;}
img.first_picture{left:50px;}
img.second_picture{left:284px;}
img.third_picture{left:515px;}
img.first_pictureframe, img.second_pictureframe, img.third_pictureframe{position:absolute; top:-10px;}
img.first_pictureframe{left:13px;}
img.second_pictureframe{left:245px;}
img.third_pictureframe{left:475px;}
.under_picture_shows1, .under_picture_shows2, .under_picture_shows3{display:block;border:1px solid black; position:absolute; width:160px; height:20px;background:#fff;cursor:default;top:225px;}
.under_picture_shows1 p, .under_picture_shows2 p, .under_picture_shows3 p{margin:0px;padding:0px;text-align:center;font-size:14px;}
.under_picture_shows1{left:37px;}
.under_picture_shows2{left:270px;}
.under_picture_shows3{left:500px;}
img.act_frame{position:absolute;top:115px;left:270px;}
img.act_picure{position:absolute;top:130px;left:295px;width:360px;height:245px;}
.under_picture{display:block;border:1px solid black; position:absolute; left:345px;top:395px; width:250px; height:20px;cursor:default;}
.under_picture p{font-family:san serif;margin:0px;padding:0px;text-align:center;font-size:16px;background:#f5f5f5;}
.fal_for_pic{cursor:pointer;}
div.for_pic{width:498px;height:240px;position:absolute;top:130px;left:220px;}
div.pages{position:absolute;  top:580px;  width:520px;  height:20px;  text-align:center;}
div.pages a{color:#4682B3;}
span.curent_page{color:black;  padding:0px 3px;}
div.into_solo_shows{position:absolute;top:550px;left:1030px;width:84px;height:90px;background:url('/elements/pictures/guestbook_ico.png') no-repeat;cursor:pointer; }
div.into_solo_shows:hover{background:url('/elements/pictures/guestbook_ico2.png') no-repeat;}
div.into_news{position:absolute; top:455px; left:1030px; width:92px; height:90px; background:url('/elements/pictures/news_ico2.png') no-repeat; cursor:pointer; }
div.into_news:hover{background:url('/elements/pictures/news_ico.png') no-repeat;}
div.show_caption{border-radius:6px;  background:rgba(100,100,100,0.2);  position:absolute;  top:450px;  left:70px;  width:480px;  height:130px;  padding:10px;}
textarea.show_caption{resize:none;  border:none;  border-radius:6px;  background:rgba(100,100,100,0.2);  position:absolute;  top:450px;  left:70px;  width:480px;  height:130px;  padding:10px;  color:white;}
div.for_navi_show{position:absolute;  top:450px;  left:610px;  width:150px;  height:70px;  padding:8px;  font-size:22px;  text-shadow:1px 1px 4px white, 0 0 2em white;  }
div.for_navi_show p{cursor:pointer;}
p.into_gal{background:none; text-decoration:underline;}
p.into_gal:hover{background:none; text-decoration:none;}
span.special{color:#4682B4; }
span.special a{color:#4682B4; }
span.special a:hover{text-decoration:none; }
ul.last_news{margin-top:-20px;  width:470px;}
ul.last_news li{margin:7px 0px;}


div.leftGal, div.rightGal{
  width:63px;
  height:146px;
  position:absolute;
  cursor:pointer;
  top:180px;
  opacity:0.9;
}

div.leftGal:hover, div.rightGal:hover{
  opacity:1;
}

div.leftGal{
  left:75px;
  background:url('/img/lg.png');
}

div.rightGal{
  right:100px;
  background:url('/img/rg.png');
}

.test{
  border:1px solid red;
}

div.container{
  width:100%;
  height:100%;
  position:relative;
}

div.book1, div.book2, div.book3, div.letter, div.description, div.letopis, div.fonds{
  text-align:center;
  position:absolute;
} 

div.book1, div.book2, div.book3{
  width:288px;
  height:393px;
}

div.sample{
  z-index:6;
}

@font-face{
  font-family: Adventure;          
  src: url(/css/Adventure.ttf);  
}

div.book1{
  background:url(/img/history/books/book1_face_1.jpg) no-repeat;
  background-size:100% 100%;
  left:20px;
  top:60px;
  cursor:pointer;
  z-index:1;
}

div.book2{
  background:url(/img/history/books/book2_face_1.jpg) no-repeat;
  background-size:100% 100%;
  left:320px;
  top:60px;
  cursor:pointer;
  z-index:1;
}

div.book3{
  background:url(/img/history/books/book3_face_1.jpg) no-repeat;
  background-size:100% 100%;
  left:620px;
  top:60px;
  cursor:pointer;
  z-index:1;
} 

div.sample{
  position:absolute;
  top:40px;
  left:-150px;
  height:400px;
} 

.test{
  border:1px solid red;
}

img.page{
  width:100%;
  height:100%;
}

.hide{
  display:none;
}

div.closeBook{
  display:none;
  background:black;
  width:22px;
  height:22px;
  position:absolute;
  top:10px;
  right:-100px;
  cursor:pointer;
  background:url('/img/history/sprites.png');
  background-position: -44px 0px;
}
div.closeBook:hover{
  background-position: -66px 0px;
}

.whitepage_left, .whitepage_right{
  width:98%;
  font-family: Adventure;
}

.whitepage_left{
  background:url('/img/history/books/pageBackgroundLeft1.png');
  background-size:100% 100%;
}

.whitepage_right{
  background:url('/img/history/books/pageBackgroundRight1.png');
  background-size:100% 100%;
  
}
img.chronicle_right {
  width:583px;
  height:550px;
  margin-top:25px;
  margin-left:8px;
  }
img.chronicle_left {
  width:580px;
  height:550px;
  margin-top:25px;
  margin-left:9px;
  }
img.book_s {
  width:592px;
  height:590px;
  margin-top:5px;
  }
img.book_e {
  width:593px;
  height:590px;
  margin-top:5px;
  margin-left:8px;
  }  
.whitepage_left h3, .whitepage_right h3{
  text-align:center;
}

.whitepage_left p, .whitepage_right p{
  padding:0px 5px 0px 15px;
}

div.letter{
  background:url(/img/history/letter.png) no-repeat;
  right:-20px;
  top:50px;
  width:264px;
  height:393px;
}

div.description{
  bottom:5;
  left:150;
  height:135px;
  width:65%;
}

div.letopis{
  width:63px;
  height:60px;
  background:url(/img/history/letopis.png) no-repeat;
  background-size:100% 100%;
  left:390px;
  top:-3px;
  cursor:pointer;
}

div.fonds{
  width:101px;
  height:60px;
  background:url(/img/history/fonds.png) no-repeat;
  background-size:100% 100%;
  right:370px;
  top:-5px;
  cursor:pointer;
}

td.fonds{
  padding:100px 0px 0px 30px;
  
}

div.fondsItem{
  width:275px;
  float:left;
  color:#53412B;
  font-weight:bold;
  margin:15px 10px 10px 10px;
}

div.fondsItem a{
  color:inherit;
  text-decoration:none;
}

div.fondsItem a:hover{
  text-decoration:underline;
}

div.fondsItem img{
  width:150px;
  float:left;
  margin-right:10px;
  border:2px solid white;
  border-radius:2px;
  -webkit-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    2px 2px 5px rgba(50, 50, 50, 0.75);
  box-shadow:         2px 2px 5px rgba(50, 50, 50, 0.75);
}

table.readFond{
  width:95%;
  height:70%;
  margin-top:90px;
}

td.readFondLeft{
  width:40%;
}

td.readFondRight{
  width:60%;
  padding: 5px 0px 0px 30px;

}

td.readFondLeft img{
  width:350px;
  float:left;
  margin-left:5px;
  border:5px solid white;
  border-bottom:25px solid white;
  border-radius:3px;
  -webkit-box-shadow: 2px 2px 5px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    2px 2px 5px rgba(50, 50, 50, 0.75);
  box-shadow:         2px 2px 5px rgba(50, 50, 50, 0.75);
}

td.readFondRight table{
  width:100%;
  color:#54422A;
}

td.readFondRight textarea, td.readFondRight input[type="text"]{
  width:100%;
  border:2px solid #864719;
}

input.submitFonds{
  margin-top:12px;
  padding:5px 10px;
  color:#362D21;
  background: #D0C09B;
  border:2px solid #68410E;
  border-radius:4pxж 
  font-size:16px;
  font-weight:bold;
}
div.number {
  position:absolute;
  left:300px;
  bottom:5px;
  }