html, body { background: #EEE; }
body { margin: 0; padding: 0; border: 0; }
#maincontainer { background: url('dec/unav.jpg') 0 145px repeat-y #FFF; }
.outer { padding-left: 255px; }
.inner { width: 100%; }
.float-wrap { float: left; width: 100%; margin-left: -255px; }
#wrapper { float: right; margin-right: -255px; width: 100%; position: relative; }
#nav { float: left; width: 240px; position: relative; }

#top {height: 145px; overflow: hidden; }
#text {padding: 40px 40px 20px 40px; overflow: hidden;}
#nav {padding: 40px 0 20px 0; }

#nav a, #lng a, #text a.n, #text a.n2 { text-decoration: none; color: black; }
#lng img { border: none; }
body { font-family: 'Arial', 'Verdana', 'Helvetica', sans-serif; }
h2, h3, h4, h5, p { margin: 0; margin-bottom: 1em; padding: 0; }
h4 {margin-top: 2em;}
table, tr, td { margin: 0; padding: 0; border: 0px none; border-collapse: collapse; text-align: left; }

#topW { border-bottom: 2px solid #666; border-top: 2px solid #666; }
#top {background: url('dec/top.jpg') no-repeat top left #FFF; font-size: smaller;}
#top #logo {width: 142px; height: 145px; margin: 0 10px; padding: 0; float: right; background: url('dec/logo.png') no-repeat top right #FFF; }
#top #hd {margin-left: 280px; margin-top: 40px; text-align: center; font: 16pt 'Georgia', serif; color: #002; }

#nav p { margin: 0.12em 2em 0 2em; text-align: center; padding: 4px 0; border: 1px solid #333; background-color: #B9CBDE; }
#nav p.highlight { background: #9CF; border: 1px solid #333; }
#nav div.nav2 { width: 218px; padding: 5px 0; margin-left: 10px; margin-top: -1px; border: 1px solid #666; background: #EEE;}
#nav div.nav2 p { margin: 0 12px; padding: 2px 8px; text-align: left; background-color: #EEE; border: none; }
#nav div.nav2 p.highlight { background-color: #FFF; }
#text div.menu {margin: 0; padding: 0.5em; background: #F7F7F7; border: 2px dotted #336; max-width: 400px;}
#text div.menu p { margin: -2px; padding: 0.2em; font-family: 'Georgia', serif; text-align: left; }
#text div.menu p a {color: #336; text-decoration: none; }

#lng {height: 1.5em; position: absolute; top: -2px; left: 480px; overflow: hidden; width: 15em; padding: 2px; border: 2px solid #666; background: #FFF; text-align: center; font-size: smaller; }
#cors {height: 1.5em; position: absolute; top: -2px; left: 240px; overflow: hidden; width: 10em; padding: 2px; border: 2px solid #666; background: #FDD; text-align: center; font-size: smaller; color: #900; }
	
h2 { font-family: 'Georgia', serif; margin-top: 0em; margin-bottom: 1em; padding-bottom: 8px; border-bottom: 2px dotted #336; color: #336; }
h3 { font-family: 'Georgia', serif; margin-top: 1em; margin-bottom: 1em; padding-bottom: 4px; border-bottom: 2px dotted #336; color: #336; }

#text p, #text ul li { margin-top: 0.5em; margin-bottom: 0.5em; text-align: justify; }
#text ul { margin-top: 0.5em; margin-bottom: 0.5em; }
#text li { margin-top: 0; margin-bottom: 0 }
#text p.indented {margin-left: 2em; }
#text p.manager { clear: both; margin-top: 1.5em; }
#text table, #text td, #text th { padding: 0.25em 1em; }
#text td, #text td p, #text th, #text th p { margin: 0; }
#text td ul , #text td ul li { margin-top: 0; margin-bottom: 0; }
#text td { border: 1px solid white; background: #EEF;}
#text th { border: 1px solid white;  background: #DDE;}
#text p.advise {font-size: smaller; font-style: italic; text-align: left;}
#text tr.level td { background-color: #DDE; }
#text div.uname { padding: 0.5em; }
#text div.uname p { padding: 0em; margin: 0em; margin-left: 30px; }
#text div.uname p.pname { margin-left: 0em; font-weight: bold; }
#text div.uname p.url {margin-left: 30px; font-size: smaller; color: #777; }
#text div.letter { border: 1px solid #BBB; padding: 10px; background: #FFE; }
#text span.localref, #text a.n { border: 1px solid #BBB; padding: 0 2px; background: #FFE; }

#text div.ublock { clear: both; }
#text div.dateW, #text div.blockW { float: left; margin: 0.5em; clear: left; margin-left: 0; margin-right: 20px; }
#text div.dateW { width: 120px; }
#text div.blockW { width: 240px; text-align: center; }
#text div.date, #text div.block { padding: 0.5em; border-right: 2px solid #DDF; border-bottom: 2px solid #DDF;  }
#text div.date { background-color: #EEF; }
#text div.block { background-color: #EFE; }
#text div.date p {text-align: center; margin: 0; padding: 0; }
#text div.dateR { padding-top: 0.5em; }
#text div.blockRM { padding-top: 0.75em; }

#text div.annulation { color: #700; font-weight: bold; padding: 0 0.5em; margin: 0.5em -0.5em; border-left: 2px dotted #700; }
#text div.annulation p,  div.annulation ul,  div.annulation ul li { padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 0 }

#text p.booknow { text-align: left; margin-top: -0.5em; margin-left: 2px; }
#text p.booknow a,  #text a.booknow ,  #text a.booknowfloat,  #text span.booknow { background: #CFC; text-decoration: none; color: black; font-weight: bold; padding: 0 4px; border-bottom: 2px dotted #242; border-top: 2px dotted #242; font-size: smaller; font-family: 'Georgia', serif; }
a.booknowfloat { float: right; margin-left: 1em; }
#text div.book { color: #242; padding: 0 0.5em; margin: 0.5em -0.5em; border-left: 2px dotted #242; }
#text div.book h3 { color: #242; border-color: #242; }

#text p.centered { text-align: center; }
#text span.button { background-color: #DDD; border: 1px solid #BBB; padding: 0 0.5em; font-size: smaller; color: black; }

#text div.imgr {text-align: center; margin: 0 20px; margin-bottom: 15px; float: right; margin-right: 0;}
#text div.imgrborderW { float: right; margin: 0; margin-bottom: 15px; border: 0; border-left: 20px solid white; }
#text div.imgr p, #text div.imgrborder p {margin: 0; }
#text ul.images { margin: 20px 0; padding: 0; list-style-type: none; }
ul.images img, #text div.imgr img,  #text div.imgrborder img { margin: 0; vertical-align: bottom; }
#text ul.images li {  margin: 0 3px; text-align: center; vertical-align: top; }
#text ul.images li.nomargins {  margin: 0; text-align: center; vertical-align: top; }
#text ul.images li div.bd, #text ul.images li div.bd p { margin: 0; }
#text table.compact { padding: 0; margin: 1px; text-align: center; }
#text table.compact td { background: none; border: 0; padding: 0; margin: 0; text-align: center; }
#text table.compact tr.smaller td { border-top: 1px dashed #007; padding: 0; background-color: #EEE; font-size: smaller; font-style: italic; text-align: center;}
#text div.imgfolder { padding: 8px 0; margin: 0; }
#text div.imgcontainer {border: none; padding: 0; margin: 0;}
#text p.caption, #text p.captionleft {margin: 0; padding-top: 6px; padding-left: 6px; padding-right: 6px; font-size: smaller; font-family: 'Georgia', serif; font-style: italic; }
#text p.caption { text-align: center; }
#text p.captionleft { text-align: left; }

#text .small {font-size: 8pt;}
#text .small table, #text .small tr, #text .small td {margin: 0; padding: 0 4px; border: 1px white;}
#text td.nocolor { background-color: white;}

#bottom {clear: both; padding: 3px 10px; border-top: 2px solid #666; background: #EEE; font-size: smaller; text-align: center; } 

#text .report1, #text .report2 {margin: 0; text-align: left}
#text div.report1, #text div.report2 {padding: 1em 2em; margin: 1em 1em; border-top: 4px solid gray; border-left: 2px solid gray;}
#text td div.report1, #text td div.report2 {padding: 1em 0; margin: 0; border: 0; background: none;}
#text p.report1, #text p.report2 {padding: 0.25em 0.5em; margin:0;}
#text .report1 {background-color: #F0F0F0;}
#text .report2 {background-color: #FAFAFA;}
#text p.report1i, #text p.report2i {margin-top: 0.5em; text-align: left; font-size: smaller;}
#text p.title {text-align: left}
#text span.authors_en, #text span.authors_ru {font-style: italic; font-weight: bold;}
#text span.title_en, #text span.title_ru {font-weight: bold;}
#text p.summary_en, #text p.summary_ru {padding: 0.25em 1em; font-size: smaller; }
#text table.schedule, #text table.corrections {font-size: 90%; font-family: 'Arial', 'Helvetica', sans-serif;}
#text table input, #text table textarea {font-family: 'Arial' 'Helvetica' sans-serif;}

#text table.schedule td  {background: white; border: 1px solid #F0F0F0;}
#text table.schedule td, #text table.corrections td {vertical-align: top;}
#text table.schedule td.session_l {background-color: #BBB; font-weight: bold; border-top: 8px solid #AAA;}
#text table.schedule td.session {background-color: #DDD; font-size: smaller; font-weight: bold;}
#text table.schedule td.dinner {background-color: #F0F0F0; font-weight: normal; font-style: italic; }
#text table.schedule td.session, #text table.schedule td.session_l, #text table.schedule td.dinner {text-align: center;  }
#text em.s {font-style: normal; font-weight: bold; background: black; color: white;}

 #text input, #text select, #text textarea input, #text select, #text textarea {font-size: 100%; font-family: 'Arial', 'Helvetica', sans-serif;}
#text p.sysmessage,  #text p.syserror { background: #EEEEEE; padding: 0.25em;}
 #text p.sysmessage {color: green; }
 #text p.syserror {color: red; }
 
 #text span.pages strong, #text span.pages em, #text span.pages a  { font-weight: normal; font-style: normal; text-decoration: none;};
 #text span.pages strong {background-color: #FFE; color: black; padding: 0 0.25em; border: 3px solid #700; }
 #text span.pages em{background-color: #FFE; color: black; padding: 0 0.25em; border: 3px solid #FFE;}

#bottom {clear: both; padding: 3px 10px; border-top: 2px solid #666; background: #EEE; font-size: smaller; text-align: center; } 
 
/* Unavoidable CSS hack */
ul.images li, div.blockRM { display:-moz-inline-stack;display:inline-block;_overflow:hidden;zoom:1;*display:inline;}
div.blockRM {display: table;}