* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit; /* наследуем свойство box-sizing */
}

html, body {
  margin:0;
  padding:0;  
}


body {
/* динамический шрифт, зависит от размера экрана */  
  font: 19px 'Times New Roman'; 
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }


.hide {
    display: none;
}
 
.show {
    display: block;
}

#onTop {
	width:100px;
	border:1px solid #ccc;
	background:#f7f7f770;
	text-align:center;
	padding:5px;
	position:fixed;
	bottom:6em; /* отступ кнопки от нижнего края страницы*/
	right:10px;
	cursor:pointer;
	display:none;
	color:#333;
	font-family:verdana;
	font-size:11px;
}
/* 
=========================================================
Описываем шапку - НАЧАЛО
=========================================================
*/

header {
    text-align: justify;
    height: 4em;
    padding: 0.5em 3%;
    color: #fff;
	background: rgb(94,59,187);
}
 
header::after {
    content: '';
    display: inline-block;
    width: 100%;
}
 
header > div,
header > div::before,
header nav,
header > div h1 {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}
 
header > div {
    height: 100%;
}
 
header > div::before {
    content: '';
    height: 100%;
}
 
header > div h1 {
    font-size: 1.3em;
    font-style: italic;
}

header > div h1 span {
    font-size: 0.7em;
}

@media screen and (max-width: 1280px){
     
    header {
        height: auto;
    }
     
    header > div,
    header > div h1,
    header nav {
        height: auto;
        width: auto;
        display: block;
        text-align: center;
    }
     
}

/* 
=========================================================
Описываем шапку - КОНЕЦ
=========================================================
*/

/* 
=========================================================
Описываем центральную section - НАЧАЛО
=========================================================
*/
main {
	width: 100%;
	flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	min-height:85vh;
	height:auto !important;
	_height:87vh;
	overflow:auto;
	background: rgb(24,0,84);
}

* html main {
  height: 100%;
}
section {
   display: block;
}

section::after {
    content: '';
    display: inline-block; 
    width: 100%;
}

section#content {
	width: 1024px;
	margin:auto;
	overflow:hidden;
}

section#content h1 {
	color: rgb(132, 45, 109);
	text-align:left;
	font: 1em 'verdana';
	border-bottom: 1px solid;
	padding-bottom: 10px;
}

section#content article h1 {
	color: orange;
	text-align:center;
}

article{
	float:right;
	padding: 25px;
}

article h1 {
	margin-bottom:25px;
	padding-bottom:15px;
	border-bottom: 1px solid;
	text-transform: uppercase;
}

article p{
	/*! margin-bottom: 7px; */
	text-align:justify;
	text-indent: 1.3em;
	line-height: 1.3em;
}

article ol {
	list-style-type:decimal;
	text-align:justify;
	line-height: 1.3em;
	margin-left:2.3em;
	margin-bottom: 0px;
}

article ul {
	list-style-type: disc;
	text-align:justify;
	line-height: 1.3em;
	margin-left:2.4em;
	margin-bottom: 0px;
}

article h2 {
	font-size: 1em;
    margin: 17px 0;
    /* font-style: italic; */
    color: white;
	background-color:rgb(2, 146, 137);
	background:rgb(2, 146, 137);
	text-transform:uppercase;
	padding: 5px 10px;
	text-align:center;
}

article h3 {
	font-size: 1.2em;
    margin: 15px 15px 5px 15px;
/*    font-style: italic;*/
    color: #007da5;
		text-align:center;
}

.table { 
	display: table;
	width:100%;
	margin:30px auto;
	border-spacing: 5px;
	
}
.tr    { 
	display: table-row;
}
.cell  { 
	display: table-cell;
	padding:30px;
	color:white;
	cursor:pointer;
}

.cell.blue:hover, .cell.green:hover, .cell.purple:hover, .cell.red:hover, .cell.orange:hover, .cell.yellow:hover{
	background: rgb(105,105,105);
}

.cell.blue{background: rgb(0,118,200);}
.cell.green{background: rgb(2,141,0);}
.cell.purple{background: rgb(169,1,159);}
.cell.red{background: rgb(176,26,64);}
.cell.orange{background: rgb(213,77,39);}
.cell.yellow{background: #ec0;}

@media screen and (max-width: 1024px){
     
    section {
        height: auto;
    }
    
}
/* 
=========================================================
Описываем центральную section - КОНЕЦ
=========================================================
*/
.center {
	text-align:center;
	text-indent:none;
}

p.center,  div.center{
	margin: 15px auto;
}

/* 
=========================================================
Описываем footer - НАЧАЛО
=========================================================
*/

 footer {
			flex: 0 0 auto;
			-ms-flex: 0 0 auto;
			background: rgb(24,0,84);
            width: 100%;
            /* position: fixed; */
			color: white;
			font: 0.8em 'verdana';
        }
#sfedu{
	float:left;
	margin: 8px;
}
#sfedu img {
	/* width:20%; */

}
#copyrights {
	float:right;
	color: white;
	/*font-weight:bold;*/
	margin: 15px;
}
#copyrights a {
	text-decoration:none;
	color: white;
}		
/* 
=========================================================
Описываем footer - КОНЕЦ
=========================================================
*/


/* 
=========================================================
Списки, неразрывности
=========================================================
*/
.nobr {
	white-space: nowrap;
}

.n_list {
	margin-right:0.3em;
}
.m_list {
	margin-right:0.42em;
	font-size: 1.35em;
	vertical-align:text-top;
}
/*
=========================================================
Титульные страницы 
=========================================================
*/
.no_ul a{
	font-weight:normal !important;
	color:black !important;
	}
	
.no_ul a:hover{
	font-weight:normal !important;
	color:#0284af !important;
	}