@charset"utf-8";
/* CSS Document */

@import url('reset.css');
@import url('fonts.css');
header, section, footer, nav, article, aside {
    display: block;
}
body {
    font-family: 'roboto_condensedlight';
    color: #000000;
    background: url(../images/pattern.jpg);
}
#container {
    margin: 0 auto;
    width: 990px;
}
#header {
    position: relative;
    height: 455px;
    width: 990px;
   	margin-top: 10px;
}

  /* #topmenu это горизонтальное меню */
#topmenu {
    position: relative;  /* absolute; */
    width: 990px;
    padding-top: 95px;
    padding-left: 15px;
}

.block {
    padding-top: 10px; /* Отступ от верхнего края линии */
    width: 990px; /* Ширина блока было 990 */
    margin-left: 250px; /* Отступ от левого блока */
    /* background: url(../images/pattern0.jpg); Это я добавил серый фон */
}
    
#topmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#topmenu li {
	float: left;
    /* left: 0px; убрал */
    padding-left: 1px;
    margin-left: 0px; /* Выстраивает меню в строчку и действует на списки   */
}


#topmenu a {
	display: block;
	color: #ffffff;  /* #d3dfe4;   */
	font-weight: bold;
	font-size: 90%;
	height: 32px;
	padding-top: 17px; /* 17 px расстояние текста кнопки сверху кнопки */
	text-decoration: none;
}

#topmenu #item_1 {
	background: url("../images/topmenu_1.png") no-repeat;
	width: 240px;  /* 248 px размер кнопки меню */
    
}

#topmenu #item_1 a {
	padding-left: 60px;  /* 60 px расстояние текста кнопки от начала кнопки */
}

#topmenu #item_2 {
	background: url("../images/topmenu_2.png") no-repeat;
    width: 240px;
    left: 0px;
}

#topmenu #item_2 a {
	padding-left: 100px;
}

#topmenu #item_3 {
	background: url("../images/topmenu_3.png") no-repeat;
	width: 240px;
}

#topmenu #item_3 a {
	padding-left: 125px;
}

#topmenu #item_4 {
	background: url("../images/topmenu_4.png") no-repeat;
	width: 240px;
}

#topmenu #item_4 a {
	padding-left: 120px;
}

#topmenu #item_1:hover {
	background: url("../images/topmenu_1_active.png") no-repeat;
}

#topmenu #item_2:hover {
	background: url("../images/topmenu_2_active.png") no-repeat;
}

#topmenu #item_3:hover {
	background: url("../images/topmenu_3_active.png") no-repeat;
}

#topmenu #item_4:hover {
	background: url("../images/topmenu_4_active.png") no-repeat;
}


h1 {
    position: relative;
    padding-top: 10px;
    text-transform: uppercase;
    padding-left: 300px;
    font-family: 'ristretto_slab_pro_rgregular';
    color: #50c550;
    font-size: 100px;
    z-index: 10;
}
h1 span {
    line-height: 1.2;
    padding-bottom: 5px;
    text-transform: none;
    text-align: center;
    display: block;
    background: #50c550;
    font-family: 'roboto_condensedlight';
    color: #fff;
    font-size: 24px;
}

h2 {
    background: url(../images/rowBig.png) no-repeat;
    padding-top: 5px;
    padding-left: 84px; /* Отступ текста от цифры */
    font-family: 'ristretto_slab_pro_rgregular';
    color: #F30000;
    text-decoration: underline;
    font-size: 40px;
    padding-bottom: 15px;
    cursor: pointer;
}

h5 {
    position: relative;
    padding-top: 10px;
    text-transform: uppercase;
    text-align: center;
    padding-left: 244px;
    font-family: 'ristretto_slab_pro_rgregular';
    color: #F30000;

    font-size: 50px;
    z-index: 10;
}
h5 span {
    line-height: 1.0;
    padding-bottom: 5px;
    text-transform: none;
    text-align: center;
    display: block;
    background: #156A85;
    font-family: 'roboto_condensedlight';
    color: #ffffff;

    font-size: 24px;
}
.autor {
    position: relative;
    z-index: 10;
    padding-left: 250px;
    padding-top: 48px;
    font-size: 25px;
    text-align: center;
    color: #000;
}
/* autor11 не используется */
.autor1 {
    position: relative;
    z-index: 10;
    padding-left: 250px; 
    padding-top: 20px;
    font-size: 20px;
   
    text-align: center;
}
.links {
    position: relative;
    text-align: center;
    padding-left: 390px;
    z-index: 10;
}
.links a {
    text-decoration: none;
    border-bottom: 1px solid #50c550;
    display: inline-block;
    margin: 35px 18px 0 18px;
    color: #50c550;
    font-size: 20px;
  }

.girl {
    position: absolute;
    top: 0;
}

li {
    margin-left: 70px; /* Выстраивает меню в строчку и действует на списки   */
    background: url(../images/rowSmoll.png) 0 4px no-repeat;
    font-family: 'roboto_condensedlight_italic';
    font-size: 20px;
    padding-left: 23px; /* Отступ маленькой стрелочки вправо */
    padding-bottom: 12px;
}

.buttonBlock {
    margin-left: 0px; /* расстояние синего блока вправо */
    
  
}

.buttonBlock a {
    width: 175px;
    height: 49px;
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius: 8px;
    line-height: 49px;
    margin: 18px 10px;
    background: #F30000; /* цвет блока Глава */
    font-size: 28px;
    text-decoration: none;
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}


.dopMatBlock {
    padding-top: 13px;
    padding-left: 5px;
}
.dopMatBlock a {
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 25px;
    color: #000000;  /* цвет текста лабораторная работа */
    font-size: 20px;
}

/* параметры линии */
.line {
    width: 900px;
    background: url(../images/line.png);
    vertical-align: middle;
    height: 9px;
    margin-top: 40px;
    margin-left: -220px;
    margin-bottom: 32px;
}

/* блок в котором написано Глава */
.inner {
    display: none;
}
.footerBox {
    line-height: 1.5;
    border: 1px dotted #65898f;
    text-align: center;

    height: 80px;
    padding-top: 19px;
    width: 205px;
    margin: 85px auto;
    font-size: 14px;

    /* font-weight: bold; жирный шрифт */
    color: #000000;
}
.footerBox a {
    color: #0004FC;
}

