/* Специально для текст-реплейсмента */
A.rplc,A.rplc_active,SPAN.rplc {}
A.rplc_small,SPAN.rplc_small {}
H1.rplc {}
H2.rplc {}


/* Для отладки сайта */
TD {border:0px solid gray;}
DIV {border:0px solid green;}
P {border:0px solid green;}

/* Тескт */
BODY {font-family:verdana,sans-serif;}
H1 {font-size:100%;margin:0;}
TR#header H1 {font-weight:normal;}
H2 {font-size:80%;margin:0 0 0 0;font-weight:normal;}
H3 {font-size:80%;margin:0;font-weight:normal;}
H4 {font-size:80%;margin:0 0 0 2.3em;font-weight:normal;}
P, UL, OL {font-size:80%;line-height:160%;}
UL {list-style:none;margin:0;}
UL UL {font-size:100%;margin-top:-1.5em;}
UL H2 {font-size:100%;}
OL {padding-left:4em;margin:0;}
LI {line-height:140%;}
.smaller {font-size:78%;}
LI SPAN.smaller {font-size:85%;}

/* Общее для всех страниц */
BODY{width:100%;height:100%;border:0;margin:0;padding:0;background-color:#000;color:#cccccc;}
A {color:#888;}
A:hover {color:#cccccc;}
A.rplc_active {color:#cccccc;}
IMG {border:0;}
P {padding:0;margin:0;}
TABLE {border:0;width:100%;}

/* Главная таблица-контейнер, page */
TABLE#main {height:100%;}

/* Крошки и почта, page */	
TR#header {vertical-align:top;height:40px;}
TR#header H1 {width:75%;}
DIV#counter {position:absolute;top:0;left:0;visibility:hidden;}
DIV#e-mail {position:absolute;top:0;right:11%;}
DIV#english {position:absolute;top:15px;right:15px;}

/* Главная навигация, page */
TR#footer {height:1px;}
TR#footer TABLE TD {width:1%;vertical-align:bottom;white-space:nowrap;padding-bottom:25px;}
TR#footer TABLE IMG.logo {margin-bottom:-25px;}
TR#footer TABLE DIV.current_section {color:white;}

/* page_home */
DIV#quick_links {text-align:right;width:89%;}
DIV#no_news {text-align:center;padding:80px;}

/* page_news */
/* Навигация по годам */
DIV#second_nav_years {padding-left:150px;}
/* Даже если выключена подмена текста, акценты останутся над своими годами */
DIV#second_nav_years SPAN.rplc,DIV#second_nav_years A.rplc {font-size:17.5px;letter-spacing:0.03em}
/* Акценты на главных событиях истории */
DIV#feature_top_1 {padding-left:155px;margin-bottom:-35px;}
DIV#feature_top_2 {padding-left:1080px;}
DIV#feature_bottom_1 {padding-left:80px;}
DIV#feature_bottom_2 {padding-left:340px;margin-top:-40px;}

DIV#news {margin:40px 0;}

DIV#heading {margin-bottom:40px;padding-left:41%;}
DIV#news DIV#heading H1 {width:80%;}
DIV#news DIV#heading DIV {margin-top:-15px;}
DIV#news DIV.date {float:left;width:40%;text-align:right;padding-right:5px;white-space:nowrap;}
DIV#news DIV.padding-bottom {padding-bottom:40px;}
DIV#news DIV.text, DIV#news DIV.newstext P{margin-left:41%;}
DIV#news DIV.text P:first-child {margin-top:0;}
DIV#news H2,
DIV#news DIV.text P {width:80%;padding-right:20px;}
DIV#news DIV.news_img, DIV#news DIV.newstext {text-align:center;}
DIV#news DIV.newstext {padding-right:0px;}
DIV#news DIV.newstext P {text-align:left;}
DIV#news_error {text-align:center;}

/* верстка page_works, page_about vacancy*/
TD.col1, TD.col3  {width:35%;}
TD.col2 {width:30%;}

/* категории -- page_works, page_about vacancy */
DIV.categories {padding:0 10px 0 80px;}
DIV.categories UL {margin:0;padding:0;display:inline;}
DIV.categories UL H2 {font-size:85%;display:inline;}
DIV.categories P, DIV.categories LI.margin-bottom {margin-bottom:1em;}
DIV.categories LI {line-height:120%;display:inline;}
P#arrow {line-height:100%;margin:0 0.3em 0 -1.3em;display:inline;}

/* page_works */
TABLE#works {margin:40px 0;}
TABLE#works H1 {margin:0 0 20px 0;}
TABLE#works TR, TABLE#works TD {vertical-align:top;}
TABLE#works UL {margin:0;padding:0;}
DIV.works_list UL LI, DIV.works_list P {margin-bottom:1em;}
P.margins_vertical {margin:2em 0 0.5em 0;}
/* категории в корневом разделе */
DIV.categories_root {vertical-align:top;padding:0;}
DIV.categories_root LI {margin-bottom:0.5em;}
/* серия или одиночная работа */
TABLE#works TD.work_heading H1 {margin:0;width:80%}
TD.work_heading P {margin:-0.3em 0 20px 0;}
TR.work_line {height:1px}
TR.work_line TD {padding:0 1em 2em 0;}
TR.work_line TD.col1 {text-align:right;}
TR.work_line TD.col1, TR.work_line TD.col4 {width:45%;}
TR.work_line TD.col2, TR.work_line TD.col3 {white-space:nowrap;width:5%;}
/* иконки и рамеры файлов */
TR.work_line TD.col2 P, TR.work_line TD.col3 P {line-height:100%;}
TR.work_line TD.col2 P {margin-right:0.5em;}
TR.work_line TD.col2 IMG, TR.work_line TD.col3 IMG {margin-right:10px;}
/* титры */
TR.work_line TD.col4 {padding-left:80px;}
TR.work_line TD.col4 P {margin-bottom:2em;}
/* дизайн-работы */
TR.design_work IMG {margin-bottom:4em;}
TR.design_work TD.col3 {padding:0 1em 0 1em;}
TR.design_work TD.col2 P {margin-top:-5em;margin-bottom:5em;}

.kosmos_kino {background:url(/img/works/kosmos.jpg) no-repeat;text-align:right;}
.kokoshko_root {background:url(/img/works/kokoshko.jpg) no-repeat;text-align:right;}

/* page_about */
TABLE#about {height:100%;}
TABLE#about TR.link {cursor:pointer;cursor:hand;}
DIV#about_slogan {margin:20px 0 60px 0;text-align:center;}
TR.collections_nav UL {margin:0;padding:0;}
TR.collections_nav H1 {margin:0 0 20px 0;}
/* we */
TR#cross {height:30%;}
TR#cross TD {text-align:center;}
TD#cardiogramm {height:290px;text-align:center;background:url(/img/about/we/lines.gif);}
/* we_face */
TR#face {vertical-align:middle;}
TR#face TD {text-align:center;padding-bottom:40px;}
/* contacts */
TD#moon {vertical-align:bottom;text-align:center;width:25%;}
TD#direction {vertical-align:middle;text-align:right;width:25%;}
TD#sputnik {vertical-align:top;text-align:center;width:50%;}
DIV#e-mail_description {position:absolute;top:50px;right:9%;text-align:center;}
/* contacts_map */
TR#map {vertical-align:middle;}
TR#map TD {text-align:center;background:url(/img/about/contacts/map/map.gif) 50% 40%;}
TR#map DIV#address {text-align:left;width:50%;float:right;}
TR#map DIV#address DIV#spacer {height:40px;}
/* contacts_street */
TR#street {vertical-align:middle;text-align:center;}
TR#street IMG {width:100%;height:100%;}
/* contacts_door */
TR#door {vertical-align:middle;text-align:center;}
/* services */
TR#lamp {vertical-align:top;}
TR#lamp TD {height:50%;}
TR#lamp DIV {position:absolute;top:0;left:43%;}
TR#text {text-align:center;}
TR#text TD {height:50%;vertical-align:middle;padding:0 0 0 0;}
/* awards */
TR#awards TD {text-align:center;}
/* vacancy */
TR#vacancy TD {vertical-align:top;}
/* mission */
TR#mission TD#bg_center {width:4%;height:342px;vertical-align:top;}
TR#mission TD#bg_center {background:url(/img/about/mission/astronaut.gif) no-repeat center;}
TR#mission TD#bg_center DIV{margin:50px 20px 0 190px;text-align:center;}
TR#mission TD#bg_left,TR#mission TD#bg_right {width:48%;}
TR#mission TD#bg_left {background:url(/img/about/mission/bg_left.gif) no-repeat top right;}
TR#mission TD#bg_right {background:url(/img/about/mission/bg_right.gif) no-repeat top left;}

/* page_works, page_about nav */

TR.second_nav TD {padding-bottom:40px;white-space:nowrap;height:1px;text-align:center;vertical-align:middle;}
TR.second_nav TD.col3 {vertical-align:bottom;}
TR.second_nav H1 {margin:0 0 20px 0;}
TR.second_nav H2 {width:50px;margin:0 25px;display:inline;}
TD#kokoshko {text-align:center;}


TR.sub_nav {text-align:left;height:1px;}
TR.sub_nav TABLE {width:1%;white-space:nowrap;}
