/*Основная кнопка*/
    .button, input[type=submit]{
        display: inline-block;
        color: #000; 
        background:linear-gradient(#fff 40%, #dfdfdf 70%);
        padding: 4px 16px;
        font-size: 17px; font-weight: bold;
        box-shadow: 0 2px 4px 0px #000, 0 0px 10px 0 #fff inset; text-shadow: 0 1px 2px #fff, 0 1px 2px #fff, 0 1px 2px #fff, 0 1px 2px #fff; border-radius: 2px;
        user-select: none; -webkit-user-select: none; -moz-user-select: none;
        }

    .button:hover, input[type=submit]:not([disabled=disabled]):hover{
        transform: translate(0px, 1px);
        box-shadow: 0 1px 2px 0px #000, 0 0px 10px 0 #fff inset;
        }

    .button:active, input[type=submit]:not([disabled=disabled]):active{
        transform: translate(0px, 2px);
        box-shadow: 0 -1px 2px 1px #000, 0 0px 10px 0 #fff inset;
        }
/**/

/*Дополнительная кнопка*/
	main .container .main-btn, main .container .main-btn:hover{color: #3f65a2; background: none; text-decoration: none;}

    main .container .main-btn{
    	padding: 5px 10px; 
    	position: relative;
    	user-select: none; -webkit-user-select: none; -moz-user-select: none;
		}
   
    main .main-btn:before, main .main-btn:after{
        content: ' ';
        display: block;
        position: absolute;
        border: 1px solid #3f65a2;
        transition: width 0.2s, height 0.2s;
        }

    main .main-btn:before{
        left: 0px; top: 0px;
        width: 100%; height: 1px;
        border-right: 0; border-bottom: 0;
        }  

    main .main-btn:after{
        right: 0px; bottom: 0px;
        width: 1px; height: 100%;
        border-left: 0; border-top: 0;
        }  

    main .main-btn:hover:before{width: 1px; height: 100%;}
    main .main-btn:hover:after{width: 100%; height: 1px;}
/**/

/*Картинка на главной*/
	#home-ban{
	    margin-top: -1px;
	    height: 495px;
		color: #fff; background: url(../images/home-ban01.jpg) center; background-size: cover;
		border-bottom: 8px solid #3f65a2;
		font-size: 17px;
	    }

	#home-ban .text{
	    padding: 70px 0 70px 155px;
	    width: 700px;
		}		

	#home-ban .title{
		font-size: 48px; line-height: 48px;
		margin: 0 0 20px -55px;
		}

	#home-ban a{
    	float: right;
   		margin: 270px 100px 0 0;
   		box-shadow: 0 0 8px 2px;
		}

@media (max-width: 1015px){
	#home-ban{height: auto;}

	#home-ban>.container{
		display: flex; align-items: center;
		padding-top: 30px; padding-bottom: 30px; 
		}
    
	#home-ban>.container>* {margin: 30px 10px;}

	#home-ban .text{padding: 0;}
	#home-ban .title{margin-left: 0;}

	#home-ban a{float: none;}
}

@media (max-width: 815px){
	#home-ban>.container{display: block;overflow: hidden;}

	#home-ban .text{width: auto; margin: 0;}
	#home-ban .text p:not(.title){padding-right: 170px;}

	#home-ban>.container a{
	    width: 157px;
	    display: block;
	    float: right;
	    margin: 0;		
		}
}

@media (max-width: 615px){
	#home-ban>.container{padding-top: 15px; padding-bottom: 15px;}

    #home-ban .title{
    	font-size: 44px; line-height: 44px;
    	margin-bottom: 7px;
    	}

    #home-ban .text p:not(.title){padding: 0;}

    #home-ban>.container a{
    	margin: auto;
    	float: none;
    	}
}
/**/

/*404*/
	#er404{
	    color: #fff; background: #3f65a2;
	    border-radius: 50%;
	    margin: auto; padding: 40px 0;
	    width: 350px; height: 350px; line-height: 110px;
	    font-size: 140px; text-align: center;
	    box-shadow: 0 0 0 6px #fff, 0 0 0 8px #3f65a2;
	    transform-origin: 50% bottom;
	    transition: transform 0.5s;
	    user-select: none; -webkit-user-select: none; -moz-user-select: none;
	    cursor: default;
		}

	#er404 span{
		display: block;
		font-size: 50px;
		}

	#er404:hover{transform: rotate(10deg);}
/**/

/*Обратная связь Включаемое поле*/
	.obrsv{
		border-radius: 5px;
    	margin: 35px 0; 
    	overflow: hidden;
		}

	.obrsv>div{
		display: flex; align-items: center; justify-content: space-between;
		padding: 17px 35px;
		}

	.obrsv p{
		font-size: 1.76em;
	    text-shadow: -1px -1px 0px #222;	
	    margin: 0;	
		}

	.obrsv span{
	    text-shadow: none;
	    font-style: italic;
	    font-size: 1.18em;
	    color: #e6e6e6;
	    margin-top: 5px;
	    display: block;		
		}

	.obrsv.left div div{order: 1;}

	.obrsv label{
	    font-size: 1.76em; line-height: normal;
	    margin: 0; padding: 7px 40px;
	    border-radius: 4px;
	    }

	.obrsv:not(.custom){background: linear-gradient(#5b92cb, #4067a3);}
	.obrsv:not(.custom)>div{background: url(../images/obrsv.png) no-repeat 70% center;}
	.obrsv.left:not(.custom)>div{background-position: 33% center; }
/**/

/*Колонки*/
	.col2{
		display: flex; justify-content: space-between;	
		margin: 15px 0;
		}

	.col2>*{width: 45%;}
/**/

/*Списки*/
	.ul2{text-align: center;}

	.ul2 li{
		display: inline-block; vertical-align: middle;
		background: url(../images/ul2.png) center no-repeat;
		width: 32%; min-height: 90px;
		margin-bottom: 20px; padding: 10px;
		text-align: center; font-size: 1.23em; font-weight: bold;
		}
/**/

/*Специалисты*/
	#experty .owl-theme .owl-controls .owl-buttons div{top: 25%;}

    .owl .bx-newslist-block{margin: 0;}
    .owl.news{margin: 30px 0 40px;}


	.bx-newslist-img img{transition: transform 0.2s; transform-origin: 50% bottom 0;}
    .bx-newslist-img a:hover img{transform: scale(1.011);}

    .bx-newslist-img a:after{
		content: ' ';
		display: block; 
		margin: auto;
		width: 100%; height: 3px;
		background: #3f65a2;
		transition: width 0.2s;
    	}

    .bx-newslist-img a:hover:after{
    	width: 94%;
    	}

    .bx-newslist-img, .bx-newslist-audio, .bx-newslist-youtube, .bx-newslist-slider{margin-bottom: 9px;}
    .bx-newslist-block{margin: 20px 0;}
    
    .btn-xs, .btn-group-xs>.btn{
        border-radius: 0; border: 0;
        padding: 5px 10px;
        font-size: 15px;
        }
/**/

/*Карточка специалиста*/
	.detailhead{display: flex; justify-content: space-around; align-items: center;}
	.detailhead .bx-newsdetail-img{margin-right: 15px;}
/**/

/*Документы*/
	.docs .documenty{display: flex; flex-flow: wrap; justify-content: space-around; align-items: flex-start;}
	.docs .documenty>div{width: 33.33333333%;}

	.owl .documenty{padding: 0 30px;}

	.documenty .img{
		background: url(../images/ser.jpg) no-repeat; background-size: 100% 100%;
		padding: 25px 33px;
		}

	.documenty img{
		height: 100%;
		opacity: 0.8;
		}

	.documenty .img:hover{transform: scale(1, 1.017);}
	.documenty .img:hover img{opacity: 1;}
	.documenty .newslist-other{text-align: center;}

@media (max-width: 700px){
	.docs .documenty>div{width: 50%;}
}

@media (max-width: 430px){
	.docs .documenty{display: block;}
	.docs .documenty>div{width: 300px; margin: auto;}
}
/**/

/*Отзывы*/
	.owl .otzivi{margin-top: 10px;}
	.otzivi .podpis{font-size: 16px; line-height: 16px;}
	.otzivi .img{margin: 10px 0 20px;}
/**/

a.shap:before {
    display: none;
}