body {
 padding-left: 10px;
 padding-right: 10px;
 padding-top: 10px;
 margin: 0;
 text-align: center;
 hyphens: auto;
 -o-hyphens: auto;
 -ms-hyphens: auto;
 -moz-hyphens: auto;
 -webkit-hyphens: auto;
 background-color: #E0D9D2;
}

#wrap {
 width: 944px;
 margin: 0 auto;
}
#mwrap {
 width: 822px;
 margin: 0 auto;
 overflow: hidden;
 background: url(/line.gif) top left repeat-y;
}

#leftsm {
 float: left;
 width: 95px;
}
#leftcol {
 float: left;
 text-align: left;
 width: 200px;
 background-color: gray;
 padding-left: 3px;
 padding-right: 3px;
 margin-right: 10px;
}
#rightcol {
 float: right;
 text-align: left;
 width: 728px;
}
@media print {
 .myads, .mycontrol, .navbutton, #my_addthis {
  display: none;
 }
}
#leftcol, #rightcol {
 display: inline;       /* fix for doubling margin in IE */
 word-wrap: break-word; /* fix for long text breaking float in IE */
 overflow: hidden;      /* fix for long non-text content breaking IE float */
 padding-bottom: 10px;
}

.justify { text-align: justify; }
.noborder { border: 0; }

P { text-align: justify; }
.left { text-align: left; }

q:lang(ru) { quotes: "\00ab" "\00bb"; }
q:lang(ru) q:lang(ru) { quotes: "\201e" "\201c"; }

A:hover img.tuman {filter: alpha(opacity=100); opacity: 1.0;}
.tuman {filter: alpha(opacity=40); opacity: 0.4;}

img {
 max-width: 100%;
 height: auto;
}
iframe {
 max-width: 100%;
}

TD.p {BACKGROUND-COLOR: #E0D9D2; font-size: x-small; }
TABLE.tab {BACKGROUND-COLOR: #000000;}

table.bor1 > tbody > tr > * {
    border: 1px solid black;
    padding: 3px;
}

A.cont:link, A.cont:visited {
    text-decoration: none;
}
A.cont:hover {
    color: maroon;
    text-decoration: underline;
}
DIV.cont {
    border: 1px solid black;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    font-size: small;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 0px;
    margin-right: 0px;
    background-color: silver;
}
DIV.sub {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    padding-left: 1em;
}
#totop {
    display: none;
}

figure {
 margin: 0;
}
.center {
 text-align: center !important;
 margin-left: auto !important;
 margin-right: auto !important;
}
.myads {
 max-width: 100% !important;
 /* overflow-x cause IE scroll bug */
 overflow: hidden !important;
}

/* Safari hyphens vs nowrap conflict */
.nowrap {
 word-wrap: normal; /* IE */
 white-space: nowrap;
 hyphens: none;
 -o-hyphens: none;
 -ms-hyphens: none;
 -moz-hyphens: none;
 -webkit-hyphens: none;
}

.yeswrap {
 word-wrap: break-word; /* IE */
 white-space: pre-wrap;
 hyphens: auto;
 -o-hyphens: auto;
 -ms-hyphens: auto;
 -moz-hyphens: auto;
 -webkit-hyphens: auto;;
}

.nohyp {
 hyphens: none;
 -o-hyphens: none;
 -ms-hyphens: none;
 -moz-hyphens: none;
 -webkit-hyphens: none;
}

.small { font-size: x-small; }
.big { font-size: larger; }

.clear { height: 0; font-size: 0; overflow: hidden; clear: both; }

.cols2t, .cols2m {
 display: inline-block;
 padding: 5px;
 width: 47%;
}

.cols2t {
 vertical-align: top;
}

.cols2m {
 vertical-align: middle;
}

h1 { font-size: 1.7em; margin: 0.57em 0; }
h2 { font-size: 1.28em; margin: 0.64em 0; }
h3 { font-size: 1em; margin: 0.71em 0; }
h4 { font-size: 0.85em; margin: 0.95em 0; }
h5 { font-size: 0.71em; margin: 1.28em 0; }
h6 { font-size: 0.64em; margin: 1.42em 0; }
