@media (min-width: 1170px){
	.container{width: 1100px;}

    header .top .title{
        font-size: 40px; line-height: 40px;
        width: 430px;
        }	
}


@media (max-width: 1015px){
	.container{width: auto;}
	h1, .h1{font-size: 36px;}
	h2, .h2{font-size: 29px;}

	/*Шапка*/
	header .top .container{height: 180px;}

	header .top .title {
	    font-size: 30px; line-height: 38px;
	    width: 39%;
		}

	header .top figure{top:20px;}
	header .contacts a[href^='tel:'] {font-size: 28px;}
	/**/

	/*Контент*/
	main {font-size: 15px; line-height: 23px;}

	.obrsv>div{padding: 17px 25px;}

	.obrsv label{
		padding: 5px 25px;
		}
	/**/

	/*Подвал*/
	footer .footer .title{
		font-size: 25px;
		width: 190px;
		}

	footer .contacts a[href^='tel:']{
		font-size: 27px;
		margin-top: -5px;
		}
	/**/
}


@media (max-width: 815px){
	/*Меню*/
	label[for=showmenu]{display: inline-block;}

	nav ul{
		position: fixed; top: 38px; bottom: 0; left: 0; right: 0;
		display: none;
    	background: #e6e8e8;
    	overflow: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
		}

	nav ul::-webkit-scrollbar{display: none;}

	nav #showmenu:checked~ul{display: block;}
	
	nav a:before{display: none;}

	nav ul>li{
		display: block;
		text-align: center;
		animation: lishow 0.7s; -webkit-animation: lishow 0.7s;
		}

	@keyframes lishow{
	    0% {opacity: 0; transform: translate(-50px, 0);}
	    100% {transform: translate(0, 0);}
	    }

	@-webkit-keyframes lishow{
	    0% {opacity: 0; transform: translate(-50px, 0);}
	    100% {transform: translate(0, 0);}
	    }

	nav>div>ul>li:last-of-type{float: none;}
	/**/

	/*Шапка*/
	header .contacts a[href^='tel:'] {font-size: 24px;}
	/**/

	/*Контент*/
	.button, input[type=submit]{font-size: 15px;}
	.col2{display: block;}
	.col2>* {width: auto;}
	.ul2 li{width: 49%;}
	/**/

	/*Подвал*/
	footer .menu ul{
        overflow: hidden; overflow-x: auto; -webkit-overflow-scrolling: touch;
        white-space: nowrap; word-wrap: normal;
        margin-left: -5px;
        }

    footer .menu ul::-webkit-scrollbar{display: none;}

    footer .menu a:before{display: none;}
    footer .menu a{padding: 0 8px;}
    footer .menu li:last-of-type{float: none;}
    footer .menu li:last-of-type a{box-shadow: none;}
    footer .footer .title{display: none;}
	/**/
}


@media (max-width: 615px){
	.container{padding: 0 10px;}

	/*Шапка*/
	header .top .container{
		height: auto;
		}

	header .top figure{
		position: static;
    	margin: 0;
		}

	header .top .title{display: none;}

	header .top figure{width: 125px;}

	header .contacts a[href^='tel:'] {font-size: 19px;}
	header .contacts a[href^='mailto:']{font-size: 17px;}
	/**/

	/*Контент*/
	h1, .h1{font-size: 29px;}
	h2, .h2{font-size: 25px;}
	h3, .h3{font-size: 21px;}

	.button, input[type=submit]{font-size: 14px;}

	.breadcrumbs{margin: -10px 0;}

	.ul2 li{
	    width: auto; min-height: 0;
	    display: block;
	    text-align: left;
	    margin-bottom: 10px; padding: 5px 0 5px 55px;
	    background: url(/images/ul2-min.png) no-repeat left center;
		}

	.obrsv>div{
		display: block;
    	text-align: center;
		}

	.obrsv:not(.custom)>div{background-size: cover;}

	.obrsv label{
		margin: 10px auto;
		font-size: 20px;
		}

	table:not(.clear){border: 0;}

	table:not(.clear) th, table:not(.clear) td{
		display: block; 
		margin-top: -1px;
		}

	table:not(.clear) tr{border: 2px solid #3f65a2; border-left: 0; border-right: 0;}
	
	.detailhead{display: block;}
	.row{margin: 0 -10px;}
	/**/

	/*Подвал*/
	footer .container{padding-top: 0;}
	footer .contacts{margin-top: -50px;}
	footer .contacts a[href^='tel:']{font-size: 20px;}
	footer .contacts a[href^='mailto:']{font-size: 17px;}
	footer .footer img {width: 60px;}
	footer .menu ul{margin-bottom: 0;}
	/**/
}