/* Общие определения */

H1, H2, H3 {
	text-align: center;
}

H3 {
	margin-bottom: .5em;
	margin-top: 1.3em;
}

LI H2, LI H3 {
	text-align: left;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

VAR {
	font-family: "Times New Roman", "Times Roman", serif;
	font-size:  large;
	font-style: italic;
}

VAR.greek {
	font-family: "Symbol", serif;
	font-style: normal;
}

DL {
	margin: 0px 2em;
}

DL DL {
	margin: 0px;
}

DD {
	margin-top: -1.1em;
	margin-left: 2em;
	margin-bottom: 10px;
	text-align: justify
}

A IMG {
	border-style: none;
}

CITE {
   quotes: "\00AB" '\00BB' '\201E' '\201D' '\2039' '\203A' '\201A' '\2019' '"' '"'
}

CITE:before {
   content: open-quote
}

CITE:after {
   content: close-quote
}

P {
   text-align: left
}

P.narrow {
   text-align: left
}

TABLE.border {
	border-collapse: collapse
}
TABLE.border TD {
	border: solid 1px black;
	padding: .2em
}
TABLE.centered {
	margin-left: auto;
	margin-right: auto;
}
TABLE.margin {
	margin-top: .55em;
	margin-bottom: .55em;
}
TABLE.center TD, TABLE.center TH, BODY TABLE TD.center, BODY TABLE TH.center {
	text-align: center
}
TABLE.left TD, TABLE.left TH, BODY TABLE TD.left, BODY TABLE TH.left {
	text-align: left
}
TABLE.right TD, TABLE.right TH, BODY TABLE TD.right, BODY TABLE TH.right {
	text-align: right
}

/* Элементы */
BLOCKQUOTE {
   float: right;
   white-space: pre;
}
BLOCKQUOTE DIV.author {
   font-style: italic;
   text-align: right
}

TABLE.frac, TABLE.group, TABLE.paint {
	border-style: none;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse
}
TABLE.frac TR.numerator TD,
TABLE.frac TD.numerator {
	border-style: none;
	text-align: center
}
TABLE.frac TD.denominator,
TABLE.frac TR.denominator TD {
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: black;
	text-align: center
}

TABLE.group TD.group {
	font-size: 200%;
	font-weight: 100;
	font-stretch: ultra-condensed;
	font-style: normal;
	padding-right: .2em
}

TABLE.group TD.coll {
	border-style: solid none solid solid;
	border-color: black;
	border-width: 2px
}

TABLE.paint TD {
	border-color: black;
	border-width: 1px;
	text-align: center;
}
TABLE.paint TD.l, TABLE.paint TR.l TD {
	border-left-style: solid;
}
TABLE.paint TD.r, TABLE.paint TR.r TD  {
	border-right-style: solid;
}
TABLE.paint TD.t, TABLE.paint TR.t TD  {
	border-top-style: solid;
}
TABLE.paint TD.b, TABLE.paint TR.b TD  {
	border-bottom-style: solid;
}
TABLE.paint TD.s {
	width: 2em; height: 2em
}
TABLE.paint TD.ss {
	width: 1.1em; height: 1.1em
}
SPAN.radic {
	border-top: solid black 1px;
	padding-top: 3px;
	padding-left: 2px;
	white-space: nowrap
}

TD.mathop {
	padding: 0px .3em
}
TD.text {
	padding: 0px 1em
}

UL.plain {
	list-style-type: none
}

P.alt {
	font-size: small;
}

SUP, SUB {
	white-space: nowrap
}

P.comment {
	font-size: smaller
}

P.advertisment {
	text-align: center
}

TABLE.border {
	border-collapse: collapse
}

TABLE.border TD, TABLE.border TH {
	border: 1px solid black
}

/* Форматирование страницы как целого */

TABLE.main {
	margin: 0px;
	padding: 0px;
}

TR.hat, TD.hat {
	background: #8080FF;
	/* background: #5555cd; */
	/* background: #148aff; */
	
	/* background: #6092ff; */
	/* background: #4d85ff; */
	/* background: #337AB7; */
	/* background: -webkit-linear-gradient(0deg, rgb(128, 232, 255), rgb(128, 128, 255));
background: -moz-linear-gradient(0deg, rgb(128, 232, 255), rgb(128, 128, 255));
background: linear-gradient(0deg, rgb(128, 232, 255), rgb(128, 128, 255)); */
/* background: -webkit-linear-gradient(0deg, rgb(41, 204, 241), rgb(54, 54, 245));
background: -moz-linear-gradient(0deg, rgb(41, 204, 241), rgb(54, 54, 245));
background: linear-gradient(0deg, rgb(41, 204, 241), rgb(54, 54, 245)); */
/* background: -webkit-linear-gradient(0deg, rgb(41, 204, 241), rgb(146, 146, 255));
background: -moz-linear-gradient(0deg, rgb(41, 204, 241), rgb(146, 146, 255));
background: linear-gradient(0deg, rgb(41, 204, 241), rgb(146, 146, 255)); */
/* background: -webkit-linear-gradient(0deg, rgb(123, 231, 255), rgb(119, 116, 255));
background: -moz-linear-gradient(0deg, rgb(123, 231, 255), rgb(119, 116, 255));
background: linear-gradient(0deg, rgb(123, 231, 255), rgb(119, 116, 255)); */
/* background: -webkit-linear-gradient(180deg, rgb(123, 202, 255), rgb(119, 116, 255));
background: -moz-linear-gradient(180deg, rgb(123, 202, 255), rgb(119, 116, 255));
background: linear-gradient(180deg, rgb(123, 202, 255), rgb(119, 116, 255)); */
	color: white;
	text-align: center;
}

H1, H1 A {
	font-weight: bold;
	font-size: 28pt;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
	color: white
}

TR.border, TD.border {
	font-size: 1pt!important;
	background: #004080;
	text-align: center;
}

TD.news {
	background: #8080FF;
}

TD.main {
	background: white;
	color: black;
	vertical-align: top;
	padding: 0px 0px 10px;
}

TD.body {
	background: white;
	color: black;
	vertical-align: top;
	padding: 20px 15px 20px;
}

TD.body TABLE.time H2 {
	margin: 0px;
	font-size: x-large;
}

TD.body P {
	margin: 0px 0px 0.7em;
}

TD.body TABLE.time {
	margin: 0px;
	border-style: none none solid solid;
	border-width: 1px;
	border-color: #004080;
	padding: 0px;
}

TD.body TABLE.time H2, TD.body TABLE.time TH {
	color: white;
}

TD.body TABLE.time TD {
	white-space: nowrap
}

TD.body TABLE.time TD, TD.body TABLE.time TH {
	margin-top: 1em;
	border-style: none solid none none;
	border-width: 1px;
	border-color: #004080;
	padding: 1px 0.5em;
}

.banners {
	text-align: center;
	font-size: xx-small;	
	vertical-align: middle;
}

.banners A IMG {
	margin-left: 3px;
}


/* Главная страница */

table.plain {
	/* -webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26); */
	/* -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
-moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset;
box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2) inset; */
}

table.plain td.content {
	vertical-align: top;
	padding: 0px 0px;
	border-style: solid;
	border-color: #004080;
	border-width: 2px;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
}

table.plain H2.notice {
	background: #004080;
	color: white;
	font-size: large;
	font-weight: normal;
	margin: 0px;
	padding: 3px 1em;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
}

H2.notice {
	background: #004080;
	color: white;
	font-size: large;
	font-weight: normal;
	margin: 0px;
	padding: 3px 1em;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
}

H3.notice {
	background: #DDEEFF;
	color: black;
	font-size: small;
	font-weight: normal;
	margin: 0px;
	padding: 3px 1em;
	border-color: #004080;
	border-width: 2px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	-moz-box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
	box-shadow: 0px 0px 10px 0px rgba(34, 60, 80, 0.26);
}

TABLE.plain DIV.notice {
	margin: 0px 1em 10px;
}

DIV.notice P {
	margin: 10px 0px 15px;
}

DIV.notice P.alert {
	font-size: large;
	color: red;
	text-align: center
}

TD.main A:link, TD.body A:link {
	text-decoration: none;
	color: blue;
}

TD.main A:visited, TD.main A:active,
TD.body A:visited, TD.body A:active {
	text-decoration: none;
	color: purple;
}

TD.main A:link:hover, TD.body A:link:hover,
TD.main A:visited:hover, TD.body A:visited:hover {
	text-decoration: underline;
}

TD.main A:link:hover.nohover, TD.main A:visited:hover.nohover,
TD.body A:link:hover.nohover, TD.body A:visited:hover.nohover {
	text-decoration: none;
	background: inherit
}

/* Задачи */

DIV.leader {
	font-size:  large;
	font-weight:  bold;
	text-align: center;
	margin-bottom: 1.5em;
}

DIV.subleader { /* S. K. (Oct 4, 2013) */
	font-size: normal;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}

TD.body P.nav-answer {
	text-align: right;
}

P.nav-answer A {
	text-decoration: none;
	background: white;
	color: blue;
	margin-left: .5em;
}

DIV.answer A {
	font-weight: bold;
	text-decoration: none;
	background: white;
	color: blue;
	margin: 0px
}

DIV.answer {
	border-style: solid;
	border-color: #004080;
	border-width: 2px;
	padding: 5px 1em;
	margin-left: 0px;
	margin-bottom: 10px;
	display: none;
	text-align: justify
}

/* Для поиска по сайту */

FORM.search {
	padding: 20px;
	text-align: right;
	margin-right: 10%;
	margin-top: 30px
}

FORM.search A IMG {
	vertical-align: middle;
}

FORM.search INPUT.gtext {
	margin-left: 10px;
	vertical-align: middle;
}

FORM.search INPUT.ytext {
	margin-left: 22px;
	vertical-align: middle;
}

/* Лекции */
DIV.lect {
	border-style: solid;
	border-color: #004080;
	border-width: 2px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

DIV.lect P {
	background: white;
	margin: 0px;
	padding: 5px 10px
}

DIV.lect P.header {
	color: white;
}

DIV.lect P.number {
	background: #DDEEFF;
}

DIV.lect P.lector {
	background: #004080;
	font-weight: bold;
	color: white;
}

DIV.lect P.lector_desc {
	background: #004080;
	color: white;
}

DIV.lect H3 {
	background: #8080FF;
	color: white;
	margin: 0px;
	padding: 5px 10px;
	text-align: left;
	font-weight: normal
}

/* Заочное отделение */
DL.zaoch DT {
	font-weight: bold;
}

/* Литература */
DL.books {
	border-bottom-style: solid;
	border-color: blue;
	border-width: 2px;
	margin: 0px;
}

DL.books DT {
	padding: 3px 15px;
	display: block;
	margin: 0px;
	background: #DDEEFF;
	border-style: solid solid none;
	border-color: #004080;
	border-width: 2px;
}

DL.books DD {
	padding: 10px 15px 20px;
	display: none;
	margin: 0px;
	background: white;
	border-style: none solid;
	border-color: #004080;
	border-width: 2px;
}

H2.books {
	background: #004080;
	color: white;
	font-size: large;
	font-weight: bold;
	margin: 0px;
	padding: 3px 2em;
	border-style: solid;
	border-color: #004080;
	border-width: 2px;
}

H3.books {
	background: #8080FF;
	color: white;
	font-size: large;
	font-weight: normal;
	margin: 0px;
	padding: 3px 2em;
	border-style: none solid;
	border-color: #004080;
	border-width: 2px;
}

/* сотрудники */
P.position {
	font-style: italic;
}

P.name {
	font-weight: bold;
}

P.email {
	font-size: small;
}

IMG.photo { /* С. К. */
	padding: 0pt;
	margin-left: 20px;
	float: right;
	vertical-align: center;
	width: 100;
}
	

#tooltip {
	visibility: hidden;
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: #FFFFCC;
	padding: 4px;
	border: solid 1px black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	-moz-border-radius: 10px;
	max-width: 60%;
}

/* эпиграф (добавлено мной - А.К.) */

.epigraf {
              color: #004080;
              text-align: right;
              padding-left: 40%;
              padding-right: 1%;
              font-style: italic;
}

.epigrafstih {
                color: #004080;
                font-style: italic;
}

.author {
              color: #004080; 
              text-align: right;
}
              
/* отбивка вокруг картинок (добавлено С. К.) */
IMG.illustration {
	padding: 7pt;
}

/* список кружков вне МГУ (добавл. С. К.) */

div.outcircle {
	margin-left: 7pt;
	margin-right: 7pt;
	margin-bottom: 7pt;
	margin-top: 0pt;
	background-color: white;
	padding: 7pt;

	border: 1px dashed blue;
}

div.outhdr {
	margin: 7pt;
	text-align: center;
}

div.outcname {
	text-align: center;
}

div.outcaddr {
	padding-top: 3pt; padding-bottom: 3pt;
}

div.outmetro {}

/* слайд-шоу КА */
* {
  box-sizing: border-box;
}

/* Расположите контейнер изображения (необходимо расположить стрелки влево и вправо) */
.container {
  position: relative;
}

/* Скрыть изображения по умолчанию */
.mySlides {
  display: none;
}

/* Добавить указатель при наведении на миниатюры изображений */
.cursor {
  cursor: pointer;
}

/* Вперед и предыдущие кнопки */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Позиция "next кнопка" на право */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* При наведении курсора добавьте черный цвет фона с небольшим количеством прозрачного */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Номера текст (1/3 и т.д.) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Контейнер для текста изображения */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Шесть колонн бок о бок */
.column {
  float: left;
  width: 16.66%;
}

/* Добавить эффект прозрачности для миниатюрных изображений */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}
