@font-face {
font-family: "Roboto";
src: url("../fonts/Roboto/Roboto-Light.ttf") format('truetype');   
font-style: normal;  
font-weight: normal;  
}
@font-face {
font-family: "Roboto";
src: url("../fonts/Roboto/Roboto-Medium.ttf") format('truetype');   
font-style: normal;  
font-weight: normal;  
}
@font-face {
font-family: "UbuntuMono";
src: url("../fonts/UbuntuMono/UbuntuMono-Regular.ttf") format('truetype');   
font-style: normal;  
font-weight: normal;  
}
@font-face {
font-family: "KiwiMaru";
src: url("../fonts/UbuntuMono/KiwiMaru-Regular.ttf") format('truetype');   
font-style: normal;  
font-weight: normal;  
}

:root {
  --h2-color: Indigo;
  --h3-bgc: rgba(120, 0, 170, 0.8);
  --h4-bgc: rgba(120, 0, 170, 0.6);
  --h5-bgc: rgba(120, 0, 170, 0.4);
  --h6-bgc: rgba(120, 0, 170, 0.2);
  --tr-zeebra: #eeeefa;
  --h2-font-size: 26px;
  --h3-font-size: 22px;
  --h4-font-size: 17px;
  --h5-font-size: 16px;
}

.red {	color : red; }

.bgc-lightgrey		{	background: lightgrey; }
.bgc-lightlightgrey	{	background: #E5E5E5; }
.bgc-lightgreen		{	background: lightgreen; }
.bgc-white		{	background: white; }
.bgc-red		{	background: red; }
.bgc-green		{	background: green; }

.bold { 
	font-size: 18px;
	font-weight: bold;
}

a1 { color : MediumBlue; }
a1:visited { color: purple; }
 
.alert {
	color : red;
	font-size: 15px;
	font-weight: bold;
}

/*  определения */

/*  термины, ключевые слова */
.term {
	color : rgba(125, 0, 85, 1);
	font-size: 20px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;
	padding: 5px;
	margin: 5px;
}

.term a { color : rgba(125, 0, 85, 1); }

.termmin { 	font-size: 18px; }

span.termmin { 
	padding: initial;
	margin: initial; }
	
.termregular { font-size: initial; }


/*  замена классу   */
.define {
	font-family: "KiwiMaru", sans-serif;
	font-size: 18px;
	color: indigo;
	padding: 2px 7px;
}

/*  define reductive - Понятие, упрощенное для начинающих.    */


.note {
	font-family: "KiwiMaru", sans-serif;
	font-size: 18px;
	color: indigo;
	padding: 2px 7px;
}

.bigterm {
	font-family: "Roboto", sans-serif;
	font-size: 22px;
	color : indigo;
	border:1px solid blue;
	background-color : #eeeefa;
}

.basic {
	color : rgba(125, 0, 85, 1);
	font-size: 22px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;
	padding: 5px;
	margin: 5px;
}

.basic a { color : #7D0057; }

.basic_min {
	color : rgba(125, 0, 85, 1);
	font-size: 20px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;
	padding: 5px;
	margin: 5px;
}

.basic_min a { color : rgba(125, 0, 85, 1); }


/*  заголовки */


/* h1 a {color : white; background-color : Indigo;}   не используются в page */

h2 { margin-top: 10px; }

h2, .head2 {
	color : var(--h2-color);
	font-size: 26px;
}

h3, .head3, .span3 {
	background-color: var(--h3-bgc);
	padding: 10px;
	color : white;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 0 0 1px black, 0 0 5px black;
}

h4, .head4, .span4 {
	background-color: var(--h4-bgc);
	color : black;
	padding: 10px;
	font-size: 17px;
	#font-weight: bold;
	#text-shadow: 0 0 1px black, 0 0 5px black;
}

h5, .head5 {
	background-color: var(--h5-bgc);
	color : black;
	padding: 8px;
	font-size: 16px;
	font-weight: normal;
	text-decoration: underline;
}

h6, .head6 {
	background-color: var(--h6-bgc);
	color : black;
	padding: 8px;
	margin: 8px 0px;
	font-size: 15px;
	font-weight: normal;
}

.head2, .head3, .head4, .head5, .head6 {
	text-align: center;
}

h2, h3, h4, h5, h6 { 
	border-radius: 3px;
}

h2 a, h3 a, h4 a, h5 a, h6 a { 
	color: inherit;
	font-size: inherit; 
}

a.selflink:before {   
    content: "§ ";
    text-decoration: none;
    visibility: hidden;
} 

a.selflink:hover:before {   
    visibility: visible;
}

h3:hover a.selflink:before {   
    visibility: visible;
}
h4:hover a.selflink:before {   
    visibility: visible;
}

.revert h1, .revert h2, .revert h3,
 .revert h4, .revert h5, .revert h6 {
	all: revert;
}

/* сворачиваемый блок содержания */

.hspoiler {
	border-radius: 3px;
	margin-top: -18px; /* для примыкания к заголовку */
	padding: 5px;
}
.hspoiler .hspoiler_summary{
	background-color: var(--h3-bgc);
	border-radius: 3px;
	color: white;
	font-family: UbuntuMono;
	font-size: inherit;
	margin: -5px;
	padding: 3px;
}

.hsp3 .hspoiler_summary{
	background-color: var(--h3-bgc);
	color: white;
}

.hsp4 .hspoiler_summary{
	background-color: var(--h4-bgc);
	color: black;
}

.hsp5 .hspoiler_summary{
	background-color: var(--h5-bgc);
	color: black;
}

.hsp6 .hspoiler_summary{
	background-color: var(--h6-bgc);
	color: black;
	margin: 0px;
}

.hspoiler .hspoiler_button{
	background-color: var(--h3-bgc);
	border-radius: 3px;
	color: white;
	font-family: UbuntuMono;
	font-size: inherit;
	margin: -5px;
	padding: 3px;
}

.hsp3 .hspoiler_button{
	background-color: var(--h3-bgc);
}

.hsp4 .hspoiler_button{
	background-color: var(--h4-bgc);
}

.hsp5 .hspoiler_button{
	background-color: var(--h5-bgc);
	color: black;
}

.hsp6 .hspoiler_button{
	background-color: var(--h6-bgc);
	color: black;
}
/* сворачиваемый блок содержания 2 */
 
.spoiler {
	border: 2px solid rgba(125, 0, 85, 0.6); 
	border-radius: 3px;
	margin-top: 0px;
	padding: 5px;
}

.spoiler .head {
	color : rgba(125, 0, 85, 1);
	font-size: 16px;
	padding: 0px;
	margin-bottom: 5px;
}
.spoiler .spoiler_summary{
	background-color: rgba(125, 0, 85, 0.6);
	border-radius: 3px;
	color: white;
	font-family: UbuntuMono;
	font-size: inherit;
	margin: -5px;
	padding: 3px;
}

.spoiler .spoiler_button{
	background-color: rgba(125, 0, 85, 0.6);
	border-radius: 3px;
	color: white;
	font-family: UbuntuMono;
	font-size: inherit;
	margin: -5px;
	padding: 3px;
}

/* wrapper .compact */
.compact{
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
.compact p {
	padding-top: inherit;
	padding-bottom: inherit;
	margin-top: inherit;
	margin-bottom: inherit;
}
.compact ul {
	padding-top: inherit;
	padding-bottom: inherit;
	padding-left: 20px;
	margin-top: inherit;
	margin-bottom: inherit;
}
.compact li {
	padding-top: inherit;
	padding-bottom: inherit;
	margin-top: inherit;
	margin-bottom: inherit;
}

/* блоки ссылок, содержания и прочие */
.links_list, .content_list, .books_list, .other_list, .extra_list, .related {
	padding: 5px;
	margin: 5px;
	padding-top: 0px;
	background-color: rgba(0, 0, 255, 0.08);
}

.links_list .head, .content_list .head, .books_list .head, .other_list .head, .extra_list .head, .related .head {
	color : inherit;
	font-size: 20px;
	padding: 0px;
	margin: 0px;
}

.links_list ul, .content_list ul, .books_list ul, .other_list ul, .extra_list ul, .related ul {
	margin: 5px;
}

.links_list ul li a, .content_list ul li a, .other_list ul li a {
	color1 : inherit;
}
 
/* в Python иерархия наследования */
.inherit {
	font-family: "Times New Roman", serif;
	font-style: italic;
}

.inheritance{
	font-family: "Trebuchet MS", sans-serif;
	font-size: 18px;
	color : rgb(65, 134, 203);
	color : blue;
}

/* терминал */
.terminal {
	color: white;
	background-color : #444;
	border-radius: 3px;
	line-height: 1.5;
	padding: 10px;
	margin: 10px;
}

.terminal p {  
    padding: 0px;
	margin: 0px;  
}  

.terminal p:before {  
    content: "$ ";  
} 

.cli {
	color: white;
	background-color : rgba(68, 68, 68, 1);
	border-radius: 3px;
	line-height: 1.5;
	padding: 10px;
	margin: 0px;
}

.cli p {  
    padding: 0px;
	margin: 0px;  
}  

.cli p:before {  
    content: "$ ";  
}

.cli p.res:before {  
    content: "";  
}

.divcli {
	border: 4px double gray;
	background-color: rgba(0, 0, 0, 0.08);
	border-radius: 3px;
	padding: 0px;
	margin: 0px;
}
.divcli .head {
	border-bottom: 4px double gray;
	font-weight: normal;
	color: rgba(0, 0, 0, 1);
	margin: 0px;
	padding: 4px;
}

.wrapcli {
	border: 4px double gray;
	border-radius: 3px;
	padding: 0px;
	margin: 0px;
}
.wrapcli .head {
	border-bottom: 4px double gray;
	font-weight: normal;
	color: rgba(0, 0, 0, 1);
	background-color: rgba(0, 0, 0, 0.05);
	margin: 0px;
	padding: 4px;
}


.code {
	white-space: pre;
	color : #003841;
}

.pre {
	white-space: pre;
}

.spancode {
	white-space: pre;
	color: #003841;
	background-color: lightcyan;
}

/*  блоки примеров */
.example {
	border:4px double blue;
	background-color : lightcyan;
	padding: 3px;
	margin: 3px;
}

.example1 table {
	width: 100%;
}

.example .head {
	border-bottom: 4px double blue;
	/* font-size: 18px; */
	font-weight: bold;
	color: Indigo;
	margin: 0px;
	padding: 4px;
}

.example p {
	padding: 0px;
	margin: 3px;
}

.example .view {
	border:1px solid blue;
	background-color : white;
	padding: 20px;
	overflow: auto;
}

.example .code, .example .result, .example .file {
	border:1px solid blue;
	background-color : white;
	padding: 10px;
	margin: 10px;
	overflow: auto;
}
.example .result_img {
	border:1px solid blue;
	background-color : white;
	padding: 10px;
	margin: 10px;
}

/*  таблица  */
.table-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

.tabdescr { 
	border: 0.5px solid black;
	margin:5px;
	background: white;
	border-spacing1: 0;
	border-collapse1: collapse;
}

.tabdescr thead th { 
	border: 0.5px solid black;
	background: rgba(0, 0, 0, 0.6);
	color : white;
	text-shadow: 0 0 1px black, 0 0 5px black;
	padding: 3px 5px; /*    Top&Bottom-Right&Left  */
	font-size: 18px;
	font-weight: bold;
}

.tabdescr td, tr th { 
	border: 0.5px solid black;
	padding: 3px 5px; /*    Top&Bottom-Right&Left  */
}


.tabdescr caption { 
	text-align: left;
}

.etr tr:not(.head4):not(.head5):nth-child(even) {  
background-color: var(--tr-zeebra); /*  зебра  */
}

.etsr :nth-child(even)  {  
color: white;
background-color: black; /*  зебра */
}

/* Кнопка вверх для прокрутки страницы сайта в начало */
.goup {
	position: fixed;
	right: 1%;
	bottom: 5%;
	background: #CCCCCC;
	padding: 10px;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 5px;
   }
   
/*  списки  */
dl.styled dt {
	font-size: 16px;
	font-weight: bold;
   }

.goup a{
	text-decoration: none;
	border-radius: 5px;
   }

/* пути к каталогам и файлам */
span.path {
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	color: rgb(0, 102, 0);
	background : rgb(227, 232, 244);
	padding: 0px 5px;
	border-radius: 8px;
}
/* команды ОС */
span .command {
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	color: rgb(139, 69, 19);
	background-color : #ccffcc;
	padding: 0px 5px;
	border-radius: 8px;
}

.zoom {
	border: 1px solid black;
	display: inline-block;
	transition: 0.5s;
}
.zoom:hover { transform: scale(6,6);}
.zoom2:hover { transform: scale(2,2);}
.zoom3:hover { transform: scale(3,3);}
.zoom4:hover { transform: scale(4,4);}
.zoom6:hover { transform: scale(6,6);}

.styled dt { font-weight: bold; }
 
