h1, h2, h3, h4, h5, h-1, h-2, h-3, h-4, h-5, t-o, l-rh, h-t, i-t, s-r, lo-go, l-ist, me-nu, se-ch, do-cs, so-d, pre, img {display: block;}
me-nu, l-ist, table, p, a, li {max-height: 999999px;}

/* ЗАГОЛОВКИ */

/*h2 {text-transform: uppercase;}*/
h1, h2, h3, h4 {text-align: center;}
/*h1, h3, h4, h5 {font-weight: normal;}*/
h1, h4 {font-style: italic;}
h1 {font-size: 95%;}
h2 {margin: 4% 10% 4% 10%; font-size: 130%;}
h3 {margin: 4% 10% 4% 10%; font-size: 107%;}
h4 {margin: 3% 10% 3% 10%; font-size: 100%;}
h5 {text-align: left; margin: 3% 30% 3% 3.5%; font-size: 95%;}

/* ЗАГОЛОВКИ СОДЕРЖАНИЯ */

h-1 {margin: 0% 0 4% 0%; font-size: 105%;}
h-2 {margin: 0 0 3% 0%; font-size: 105%; font-style: italic;}
h-3 {margin: 0 0 1.5% 5%; display: list-item; list-style-type: circle;}
h-4 {margin: 0 0 1.5% 9%;}
h-5 {margin: 0 0 1.5% 13%;}

/* САЕНТО ТЕГИ */

t-o, l-rh {text-align: left;}
h-t, i-t, s-r {text-align: center;}
h-t, i-t  {margin: 3% 15%; font-size: 93%;}
t-o {width: 23%; margin: 0 75% 0 1%; text-indent: -1%; font-size: 80%;}
i-t {font-style: italic; word-wrap: break-word;}
s-r {font-weight: bold; margin: 2% 15%;}
l-rh {margin: 3vmin auto 3vmin 68%; font-size: 93%;}

/* РАЗНЫЕ ЦВЕТА ПО ТИПАМ ПУБЛИКАЦИЙ */

.hcob h-t, .hcob t-o, .hcob l-rh {color: #EC8383;}
.hcob h1, .hcob h2, .hcob h3, .hcob h4, .hcob h5, .hcob s-r, .hcob i-t, .hcob b, .hcob i, .hcob #mshow, .hcob #mhide, .hcob h-1 {color: #e43f3f;}

.pl h-t, .pl t-o, .pl l-rh {color: #15c182;}
.pl h1, .pl h2, .pl h3, .pl h4, .pl h5, .pl s-r, .pl i-t, .pl b, .pl i, .pl #mshow, .pl #mhide, .pl h-1 {color: #107e23;}

.etc h-t, .etc t-o, .etc l-rh {color: steelblue;}
.etc h1, .etc h2, .etc h3, .etc h4, .etc h5,  .etc i-t, .etc s-r, .etc b, .etc i, .etc #mshow, .etc #mhide, .etc h-1 {color: #154599;}

.hcob lo-go {background-color: #eb8e8e;}
.pl lo-go {background-color: #15c182;}
.etc lo-go {background-color: steelblue;}

/* МЕЛКИЕ ЭЛЕМЕНТЫ */

a {text-decoration: none; color: #656661;}
p {text-indent: 5%; margin: 2% 0; line-height: 125%;}
li {margin: 1.3% 0;}
ul {list-style-type: none;}
ol, ul {margin: 2% 0 2% 5%; padding: 0;}
ol ol, ul ul, ol ul, ul ol {margin: 1% 0 2% 4%; padding: 0;}
ol ol {list-style-type: lower-alpha;}
table ul, table ol {padding-left: 1.3em;}
td, th {border: 1px solid lightgrey; padding: 5px 10px; word-wrap: break-word; vertical-align: top;}
/*tr:hover {background-color: #f5f5f5;}*/
hr {margin: 4% 0%;}
img {max-width: 93%; margin: auto;}
d-f, #mshow, #mhide, #save_link {display: none;}
#mshow:focus, #mhide:focus {outline: none;}

table {margin-left: 1.5%; border-collapse: collapse; width: 100%; font-size: 100%;}
.srtd {width: 50%;}
pre {background-color: #EBECEC; padding: 3.5%; white-space: pre-wrap; font-size: 120%;}

/* КРУПНЫЕ ЭЛЕМЕНТЫ */

body {font-family: Liberation Serif; font-size: 130%; letter-spacing: -0.05; background: #539ac478; background-attachment: fixed; background-size: 100%; width: 100%; margin: 0;} /*#B5B5B5 #BDB5AA #9A968A*/

.etc lo-go {
    background-color: steelblue;
    background-image: url(/logo-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
.etc lo-go > a > img { opacity:0; }
lo-go {width: 20%; padding: 1.2% 2% 1.2% 1%;}
lo-go, me-nu {position: absolute; left: 2%;}
/*me-nu {width: 19%; margin-top: 7.6%; padding: 1.5% 2% 2% 2%; font-size: 85%; line-height: 130%;}*/
me-nu {width: 19.8%; margin-top: 7.2%; padding: 0; font-size: 85%; line-height: 130%;}
se-ch, do-cs, so-d, l-ist {background-color: white;}
se-ch, do-cs {width: 100%; padding: 5% 8%; margin-top: 3%;}
so-d {width: 96%; padding: 7% 10% 10% 10%; margin-top: 3%;}

l-ist {width: 45%; margin: 2% 25% 2% 26%; padding: 3.5% 6% 5% 8%;}

/* определения слов */
m-k {position: relative; color: red; text-indent: 0;}
m-k:hover d-f {display: inline-block;}
d-f {position: absolute; background-color: #f9f9f9; border-style: solid; border-width: 1px; border-color: lightgrey; border-radius: 4px; color: black; line-height: 120%; text-align: left; min-width: 500px; box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.1); padding: 8px 11px; z-index: 1;}

/* edit page */
#edit-i {width: 1.5vw; float: right; margin-bottom: 1%; margin-right: -6%;}
#editform {margin: 2vh 2vw;}
.editarea {width: 45vw; height: 90vh; font-size: 120%; display: inline-block;}







/*  ДЛЯ МОБИЛЬНЫХ  */

@media screen and (max-width: 1000px)
{
body {font-size: 2.3vmax;}

lo-go img {height: 16vmin; width: auto; margin-left: 10vw;}
lo-go {position: static; float: none; width: auto; margin: 1vmin 0; padding: 2.5vmin;}
/*me-nu {position: static; float: none; width: auto; margin: 1vmin 0; padding: 3vmin; display: none;}*/
me-nu {position: static; display: none; width: auto; margin-top: 1%;}
se-ch, do-cs, so-d {margin: 1vmin 0; padding: 3vmin; width: auto;}
.stext {width: 70vw; height: 9vw; font-size: 3vmax;}
.sbutt {width: 20vw; height: 9vw; font-size: 2.3vmax;}
.stext, .sbutt {margin: 0; padding: 0;}
l-ist {width: auto; margin: 1vmin 0; padding: 2% 5% 5% 5%; overflow-wrap: break-word;}
table {margin-left: 0%;}

h-t {font-size: 85%;}
t-o {width: 40vmin; text-indent: -2%;}
i-t, s-r {margin: 5%;}

ol {margin: 2% 2% 2% 3%;}
hr {margin: 5% 0%;}

#mshow, #mhide {background-color: white; border: none; width: 100%; height: 12vmin; font-size: 4.5vmin; margin: 0% 0%;}
#mshow {display: inline-block;}
}

