/* Неоптимизированная копия main_new.css 2023 */

/* Общие */
body { background-color: #FFFFFF;
color: #000000
}

footer { background-color: #D3D3D3;
}

P { font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
}

dfn { font-style: normal;
}

td { font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
}

a { font-family: arial;
font-size: 1.1em;
text-decoration:none;
}

LI { font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
}

DT { margin: 30px 5px 10px 5px;
font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
text-decoration:none;
}

DD { margin: 5px 5px 5px 30px;
font-family: arial;
font-size: 1.2em;
text-align: justify;
text-indent: 1em;
}

figcaption { font-family: arial;
font-size: 1.3em;
margin: 5px 5px 5px 5px;
font-weight: bold;
}

H1 { font-family: arial;
font-size: 1.7em;
text-align: left;
margin: 30px auto 10px auto;
border-bottom: 1px solid DarkGrey; /* Параметры линии внизу */
}

H2 { font-family: arial;
font-size: 1.5em;
text-align: left;
margin: 30px auto 10px auto;
border-bottom: 1px solid DarkGrey;
}

H3 { font-family: arial;
font-size: 1.4em;
text-align: left;
margin: 25px auto 10px auto;
border-bottom: 1px solid DarkGrey;
}

H4 {font-family: arial;
font-size: 1.35em;
text-align: left;
margin: 20px auto 10px auto;
}

/* Заголовок списков */
H5 {
font-family: arial;
font-size: 1.3em;
text-align: left;
}

blockquote {background: Gainsboro;}

/* Адаптивный дизайн с максимальной шириной экрана 1080 */
header {width: 100%; max-width:2048px;}
article {width: 100%; max-width:2048px;}
footer {width: 100%; max-width:2048px;}
#header {width: 100%; max-width:2048px;}
#cmain {width: 100%; max-width:2048px;}
#descript {width: 100%; max-width:2048px;}
#content {width: 100%; max-width:2048px;}
#ctitle {clear: left; width: 100%; max-width:2048px;}
#cbot {clear: both; width: 100%; max-width:2048px;}

/* Гибкие изображения */
img {max-width:100%; height:auto;}

/* Меню Листать class (2019) - заменяется на menum */
li.navlk { 
font-family: arial;
font-size: 1.15em;
font-weight: bold;
display: inline;
margin: 7px 5px;
color: Gray;
background-color: #F5DEB3;
border: 2px solid Chocolate;
}

ul.navlk { 
list-style-type: none;
}

a.navlk {
font-family: arial;
font-size: 1.15em;
text-decoration: none;
font-weight: bold;
}

/* Выделение серым текущей страницы */
li.navlk_gr {
font-family: arial;
font-size: 1.15em;
font-weight: bold;
display: inline;
margin: 7px 5px;
background-color:LightGrey;
border: 2px solid Gray;
}

/* Пример example */
#example a {text-decoration: none;}

/* Дополнительно */
#dop a {text-decoration: none;}

/* spkl - список пословиц */

p.spkl {
font-family: arial;
font-size: 1.2em;
text-align: justify;
margin: 5px 30px;
text-decoration: none;
}

a.spkl {
text-decoration: none; /* Отменяем подчеркивание у ссылки */
}

hr.spkl {
border: none;
height: 1px;
color: #FF9900;
border-color: #FF9900;
background-color: #FF9900;
align: center;
width: 70%;
}

/* Логотип */
#log {
align: left;
float:none;
margin: 0px auto 20px auto;
}

/* Меню листать (class) */

nav.menum {
margin-top:12px; 
margin-bottom:12px;
font-family: arial;
font-size: 1.2em;
text-decoration: none;
}

a.menum {
font-family: arial;
font-size: 1.2em;
text-decoration: none;
margin:0 7px 0 7px; 
}

/* Примеры (class) */
div.exam {background: Wheat; border:2px solid SaddleBrown;}

/* Важное (class) */
div.imp {background: LightSteelBlue; border:2px solid Navy;}

/* Оглавление (class) */
div.ogl {background: LightGray; border:2px solid DarkSlateGray;}

/* Заголовки-ссылки (class) */
/* Заголовок оранжевый */
a.zag { margin: 10px 5px 10px 5px;
text-decoration:none;
color: #D2691E;
}

a:visited.zag {
text-decoration:none;
color: #D2691E;
}

a:hover.zag {
color: #FFFFFF;
background-color: #D2691E;
}

/* Заголовок коричневый */
a.zag1 { margin: 10px 5px 10px 5px;
text-decoration:none;
color: #8B4513;
background-color: #FFE4B5;
border: 2px solid #8B4513;
padding: 5px 20px 0 5px;
}

a:visited.zag1 {
text-decoration:none;
color: #8B4513;
}

a:hover.zag1 {
color: #FFFFFF;
background-color: #8B4513;
}

/* Меню вверху (class) */

nav.hd {
margin: 10px auto 10px auto;
font-family: arial;
font-size: 1.1em;
text-decoration: none;
background: #FFE4B5;
text-align: center;
}

a.hd {
font-family: arial;
font-size: 1.1em;
text-decoration: none;
margin: auto 5px auto 5px;
}

a:visited.hd {
text-decoration:none;
color: #0000FF;
}

a:hover.hd {
color: #FFFFFF;
background-color: #FF8C00;
}

/* Футер (class) */

nav.foot {
margin-top:12px; 
margin-bottom:12px;
font-family: arial;
font-size: 1.1em;
text-decoration: none;
}

a.foot {
font-family: arial;
font-size: 1.1em;
text-decoration: none;
margin: 0 7px 0 7px;
}

a:visited.foot {
text-decoration:none;
color: #0000FF;
}

a:hover.foot {
color: #FFFFFF;
background-color: #696969;
}

/* Подпись внизу (class) */
p.bot {
font-family: arial;
font-size: 0.8em;
}

a.bot {
text-decoration: none;
}

/* Реклама вверху */
#ad1 {
clear:both; 
float:none; 
margin-top:25px; 
margin-bottom:25px;
align: center;
}

/* Реклама внизу */
#ad2 {
clear:both; 
float:none; 
margin-top:25px; 
margin-bottom:25px;
align: center;
}

/* Реклама средн */
#ad3 {
clear:both; 
float:none; 
margin-top:25px; 
margin-bottom:25px;
align: center;
}

/* Картинки (по ширине картинки) */
div.img {
float:left; 
margin-top:10px; 
margin-bottom:10px;
width:100%;
}

/* Рейтинг (class) */
span.rate {
font-family: arial;
font-size: 1.3em;
color: OrangeRed;
margin:0 7px 0 7px;
}

/* Возраст (class) */
span.old {
font-family: arial;
font-size: 1.3em;
color: Red;
margin:0 7px 0 7px;
}

/* комментарий в словарях (class) */
span.komm {
color: Green;
font-style: italic;
}

/* действующие лица в пьесах (class) */
span.pies {
font-family: arial;
font-size: 1.3em;
color: saddlebrown;
font-style: italic;
}

/* Списки определений, например Слова (class) */
DT.defn { margin: 30px 5px 10px 5px;
font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
text-decoration:none;
}

a.defn { margin: 10px 5px 10px 5px;
font-family: arial;
font-size: 1.3em;
text-align: justify;
text-indent: 1em;
text-decoration:none;
}

DD.defn { margin: 5px 5px 5px 30px;
font-family: arial;
font-size: 1.2em;
text-align: justify;
text-indent: 1em;
}

/* hr басни (class) */
hr.hrb {
height: 2px;
border: none;
color: #666666;
background-color: #666666;
text-align: left; /* выравнивание влево для ie */
margin: 0 auto 0 30px; /* выравнивание влево для остальных браузеров */
width: 15%;
}