html, body, ul, li,content{
	margin: 0;
	padding:0;
}

.wrapper{
	width:100%;
	margin:0 auto;
	height:inhterit;
	
}

.img{
    margin:auto;
    width:70%;
    text-align:center;
}

.header img{
	display: inline-block;
    height:auto;
    width:70%;
   }


.header{
	background:#0442a5;
	height:auto;
}


ul {
    	display: block;
    	margin:0px;
    	padding: 0px;
    	list-style: none;
}

.menu{
font-family: Cuprum, Arial, Helvetica, sans-serif;
width:100%;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d0e4f7+0,73b1e7+24,0a77d5+50,539fe1+79,87bcea+100;Blue+Pipe+%231 */
background: rgb(208,228,247); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(208,228,247,1) 0%, rgba(115,177,231,1) 24%, rgba(10,119,213,1) 50%, rgba(83,159,225,1) 79%, rgba(135,188,234,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(208,228,247,1) 0%,rgba(115,177,231,1) 24%,rgba(10,119,213,1) 50%,rgba(83,159,225,1) 79%,rgba(135,188,234,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(208,228,247,1) 0%,rgba(115,177,231,1) 24%,rgba(10,119,213,1) 50%,rgba(83,159,225,1) 79%,rgba(135,188,234,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0e4f7', endColorstr='#87bcea',GradientType=0 ); /* IE6-9 */
}
.dws-menu *{
 margin: 0;
 padding: 0;
}
.dws-menu ul,
.dws-menu ol{
 list-style: none;
}
.dws-menu > ul{
 display: flex;
 justify-content:center;
}
.dws-menu > ul li{
 position: relative;
 border-right: 1px solid #fff;
}
.dws-menu > ul li:first-child{
 border-left: 1px solid #fff;
}
.dws-menu > ul li:last-child{
 border-right: 1px solid #fff;
}
.dws-menu > ul li > a i.fa{
 position: absolute;
 top: 15px;
 left: 12px;
 font-size: 18px;
}
.dws-menu > ul li a{
 display: block;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d0e4f7+0,73b1e7+24,0a77d5+50,539fe1+79,87bcea+100;Blue+Pipe+%231 */
background: rgb(208,228,247); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(208,228,247,1) 0%, rgba(115,177,231,1) 24%, rgba(10,119,213,1) 50%, rgba(83,159,225,1) 79%, rgba(135,188,234,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(208,228,247,1) 0%,rgba(115,177,231,1) 24%,rgba(10,119,213,1) 50%,rgba(83,159,225,1) 79%,rgba(135,188,234,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(208,228,247,1) 0%,rgba(115,177,231,1) 24%,rgba(10,119,213,1) 50%,rgba(83,159,225,1) 79%,rgba(135,188,234,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0e4f7', endColorstr='#87bcea',GradientType=0 ); /* IE6-9 */

 padding: 15px 10px 15px 10px;
 font-size: 14px;
 color: #fff;
 text-decoration: none;
 text-transform:uppercase;
 transition: all 0.3s ease;
}
.dws-menu li a:hover{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#258dc8+0,258dc8+100;Blue+Flat+%231 */
background: rgb(37,141,200); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(37,141,200,1) 0%, rgba(37,141,200,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(37,141,200,1) 0%,rgba(37,141,200,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(37,141,200,1) 0%,rgba(37,141,200,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#258dc8', endColorstr='#258dc8',GradientType=0 ); /* IE6-9 */
color:#fff;



 box-shadow: 1px 5px 10px -5px black;
 transition: all 0.3s ease;
}

/*sub menu*/
.dws-menu li ul{
 position: absolute;
 min-width: 150px;
 display: none;
}
.dws-menu li > ul li{
 border: 1px solid #fff;
}
.dws-menu li > ul li a{
 padding: 10px;
 text-transform: none;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
background: rgb(238,238,238); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
color:#434447;
}
.dws-menu li > ul li ul{
 position: absolute;
 right: -150px;
 top: 0;
}
.dws-menu li:hover > ul{
 display: block;
}












.content{
	min-height:1100px;
	width:95%;
	padding:10px;
	margin:auto;
	overflow:hidden;
}

.content p{
    font-family:Arial;
	color:red;
	text-align:center;
	font-size:1.5em;
    
}
h1{
	font-family:Arial;
	color:#000a14;
	text-align:center;
	font-size:1.5em;
}

.container{
    min-height:1100px;
    margin:0 auto;
    /*text-align:center;*/
    width:95%;
}

.summa{
	width:1.1em;
	float:right;
}




.block ul{
	/*list-style-type: square;*/ /* Маркеры в виде квадрата */
    	/*list-style-position: outside;*/ /* Маркеры размещаются за пределами текстового блока */
    	/*color: #75a6f4;*/ /* Цвет текста списка */
	/*padding-left: 30px;*/
	
 }

.block li{
	margin-left: 10px;
	margin-top:1px;
	width:350px;
	font-size:1em;
	border-top:1px solid #ccced1;
	border-left:3px solid transparent;
	border-right:3px solid transparent;
}

.block li:last-child{
	border-bottom:1px solid #ccced1;
}

.block a{
	color:#012660;
	line-height:25px;
	padding:7px;
	font-family:arial;
	font-size:0.95em;
	text-decoration:none;
	-moz-transition: all 0.3s 0.01s ease;
	-o-transition: all 0.3s 0.01s ease;
	-webkit-transition: all 0.3s 0.01s ease;
}


.block li:hover {
	background:#e8e9ed;
	border-left:3px solid #979aa0;
	border-right:3px solid #979aa0;
	width:350px;
	
	color:#e83541;
	/*border:0px solid #75a6f4;
	border-radius:20px;*/
}


.block h2{
	width:330px;
	color:black;
	text-align:left;
	line-height:50px;
	font-family:arial;
	font-size:18px;
	overflow:hidden;
}

.block img{
	width:40px;
	float:left;
	padding:5px;
}

.block{
	width:350px;
	/*height:930px;*/
	display:inline-block;
    vertical-align:top;
    margin:10px;
	/*border:3px double #0442a5;*/
	-moz-border-radius: 10px; 
 	-webkit-border-radius: 10px; 
 	-khtml-border-radius:10px; 
 	border-radius: 10px; 
}



.avto{
	margin-left:90px;
}

.biznes{
	margin-left:80px;
}

.zdorove{
	margin-left:12px;
}

.mebel{
	margin-left:23px;
}

.odezhda{
	margin-left:60px;
}

.prazdnik{
	margin-left:10px;
}

.telefon{
	margin-left:40px;
}

.turizm{
	margin-left:60px;
}

.elektronika{
	margin-left:25px;
}

.materialy{
	margin-left:5px;
}

.uslugy{
	margin-left:30px;
}

.ritual{
	margin-left:45px;
}

.obrazovanie{
	margin-left:45px;
}

.ogorod{
	margin-left:50px;
}

.ogorod img{
	margin-top:0px;
	width:70px;
}
.bytovye_uslugy{
    margin-left:60px;
}

.bytovye_uslugy img{
   width:15%;
}
.footer{
	background:#0442a5;
	height:auto;
	overflow:hidden;
}

.footer img{
	display: inline-block;
    height:auto;
    width:70%;
}
	@media screen and (max-width:400px){
    .content{
        margin:0 0 2em 0;
        padding:2px;
    }
    .container{
        margin:0 0 2em -0.1em;
        padding:2px;
        width:100%; 
    }
    .block{
    margin-left:2px;
    }
    .block a{
    padding:3px;
	font-size:0.82em;
    }
    .block li{
	width:250px;
	font-size:0.9em;
    }
    .block h2{
	width:310px;
	font-size:0.9em;
    }
    .block1 a{
    padding:3px;
	font-size:0.75em;
    }
    .block li:hover {
	width:250px;
    }
    .block1 li:hover {
	width:280px;
    }
	.summa{
	width:0.9em;
	}
	
}

@media (min-width: 400px) and (max-width: 800px) {
    .content{
        margin:0 0 2em 0;
        padding:2px;
    }
     .container{
        margin:auto;
        padding:2px;
        width:100%;
    }
    .block{
    margin-left:20px;
    }
    .block a{
    padding:3px;
	font-size:1em;
    }
    .block li{
    width:330px;
    }
    .block h2{
	width:330px;
	font-size:1.1em;
    }
    .block li:hover {
	width:330px;
    }
    .block1 li:hover {
	width:330px;
    }
	.summa{
	width:0.9em;
	}
	}

@media screen and (max-width:1000px){
	.dws-menu > ul li a{
 padding: 10px 5px 10px 5px;
 font-size: 12px;
} 
}
@media (min-width: 800px) and (max-width: 1000px) {
    .content{
        margin:0 0 2em 0;
        padding:2px;
    }
     .container{
        margin:auto;
        padding:2px;
        width:100%;
    }
     .header img{
    	width:90%;
    }
    .footer img{
    	width:90%;
    }
}
@media screen and (max-width:800px){
     .mesto a{
    font-size:12px;
    }
     .mesto p{
    font-size:12px;
    }
     .line a{
    font-size:12px;
    }
	.mesto {
	margin-left:3px;	
}

.img{
    width:100%;
    }

.header img{
	width:100%;
}

.footer img{
	width:100%;
}
}