body{background: #c4f6b6 /*url(../images/мох.png) url(../images/snow.jpg)*/;} /*фон сайта и текст верхнего меню*/

/*Структура сайта*/

div.header{background: /*#e5e5e5*/ /*url(../images/metl011.gif)
    ;*/transparent;}/*цвет или фон шапки*/
div.mid{width: 1000px; margin:0 auto;}
div.footer{margin: 20px 0; text-align: center; text-transform: uppercase;}
a {text-decoration: none;}

/*Шапка сайта*/

div.topmenu img{margin:10px 0px 0px 0px;}
.layer1 {
    position: relative; /* Относительное позиционирование */
    background: url(../images/Хозяин 4.png); /* Цвет фона */
    /*height: 200px;*/ /* Высота блока */

   }
   .layer2 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 3px; /* Положение от нижнего края */
    left: 0px; /* Положение от правого края */
    line-height: 1px;}


div.menu ul li {display: inline-block; margin: 1px 10px 0px 0px;}
div.menu ul li a{font:18pt; font: Lucida Grande; color: #040404;/
    *размер и цвет текста*/ text-decoration: none;text-shadow:
     1px 1px 3px #0b4455;} /*Тень текста*/
div.menu ul li a:hover{color: #fff;}
div.menu ul li c{font:18pt; font: Lucida Grande; color: #072ff8;
    /*размер и цвет текста*/ text-decoration: none;text-shadow:
     1px 1px 3px #0b4455;} /*Тень текста*/
div.menu ul li c:hover{color: #fe0214; }

   .layer3 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 3px; /* Положение от нижнего края */
    right: 0px; /* Положение от правого края */
    line-height: 1px;}

   .layer4 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 3px; /* Положение от нижнего края */
    right: 450px; /* Положение от правого края */
    line-height: 1px;}

div.menu img{display: block; /* отображаем блоком */
        padding-top: 10px; /* выровняли текст по вертикали */
                 }

/*Главное меню*/
div.aficha h1{ display: block; /* отображаем блоком */
                margin:0 auto;
        width: 995px; /* длинна кнопки */
        height: 100px; /* высота кнопки */
        background-color: transparent; /* цвет кнопки */
        #border: 2px solid #664403;
        text-align: center; /* выравнивание по центру */
        text-decoration: none; /* убрали подчеркивание */
        #border-radius: 0px; /* круглые края */
        padding-top: 5px; /* выровняли текст по вертикали */
        font-size: 40px;
        #font-weight: normal;
        font-family: Arial black; /* задали шрифт */
        color: #464640;
        #text-transform: uppercase; /* заглавные буквы */
                }

.container{display: inline-flex; flex-flow: row; space-around; 
    border: 3px #f0eb45; margin: 0px 0px 0px 20px
      /*margin: 0 auto; padding: 0px*/;}


.layer5 {margin: 0px 0px 0px 10px;
    position: relative; /* Относительное позиционирование */
    background: url(../images/написать письмо.png); /* Цвет фона */
    /*height: 200px;*/ /* Высота блока */
   }
   .layer6 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 200px; /* Положение от нижнего края */
    left: 110px; /* Положение от правого края */
    line-height: 1px;}
    
    .layer7 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 50px; /* Положение от нижнего края */
    left: 110px; /* Положение от правого края */
    line-height: 1px;}
.container2{display: inline-flex; flex-flow: row; space-around; 
    border: 3px #f0eb45; margin: 0px 0px 0px 20px
      /*margin: 0 auto; padding: 0px*/;}
/*Контент сайта*/



#div.style img{position: relative;
    margin:5%;
        }


div.anons img {margin:0px 100px 0px 100px;}

/*Подвал*/
div.footer span {margin: 0 5px;}

div.clear{clear: both;}

/*Адаптивный дизайн*/
@media screen and (max-width: 1000px){
	div.mid{width: 95%;}
	div.aficha h3{font-size: 22px;}
	div.block {width: 48%;}
	div.anons img, div.rek img {width: 100%;}
	div.anons h3 {font-size: 18px;}

}
@media screen and (max-width: 1000px){
	div.header{text-align: center; background-position: center -130px;}
	div.topmenu, div.aficha img, div.block, div.block:nth-of-type(even){float: none;}
	div.block {width: auto; margin-bottom: 40px;}
	div.block:nth-last-of-type(2){margin-bottom: 0;}
	div.footer span {margin: 10px 0; display: block;}
}