@media (max-width: 1200px) {
	.uslugi .btn-detail {
    margin-right: 0;
    margin-bottom: 20px;
}
.uslugi .btn-detail:last-of-type {margin-bottom: 0;}
.excerpt, .excerpt a {
    font-size: 15px;
    color: #343434;
    font-family: 'ProximaNovaBold';
    line-height: 1;
    margin-top: 5px;
    margin-bottom: 7px;
    height: 109px;
}
}

@media (min-width: 1920px) {
    .sitename {
        width: max-content;
    }
}

@media (max-width: 992px) {
.news .col-md-3 {
    margin-bottom: 30px;
    -ms-flex: 0 0 25%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
}
.main-news {
    height: 100%;
    background-size: 100%;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
}
.shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 500px;
}
.priem {
    background: #19954f;
    color: #fff;
    text-align: center;
    padding: 15px 8px;
    font-family: 'ProximaNovaSemi';
}
.priem br {display: none;}
/* .sitename h2 {
    width: 100%;
} */

.logo {
    margin-right: 20px;
}

.header a {
    font-size: 14px;
}

.phone {
    margin-right: 30px;
}

.sitename h6 {
    color: #fff;
}

.contacts.type_3 .contacts-wrapper {
    padding: 35px 0 0;
}

.contacts-wrapper .col-md-4, .contacts-wrapper .col-md-8 {    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;}

.menu-item-has-children:after {
    right: -11px;
}

.contacts.type_3 .top_block .item:nth-child(2n+1) {
    width: 100%;
}

.footer .row .col-md-3 {
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
}

.main-menu a {
    color: #636363;
    text-decoration: none;
    font-size: 14px;
}

}



@media (max-width: 768px) {

	.hide-xs {display: none !important;}
	.visible-xs {display: block !important;}

	.icons-right {display: none !important;}

	.contacts {
    color: #333;
    display: block !important;
	}
.head {
    padding-top: 15px;
    width: 100%;
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 15px;
    display: flex !important;
}

.sitename h2 {
    font-size: 17px;
    font-family: 'ProximaNovaBold';
    margin-top: -2px;
    color: #fff;
    /* width: 100%; */
}

.logo {
    height: 100px;
    width: 100px;
    min-width: 100px;
}

.logo img {width: 80%;}

.mobile-menu img {width: 30px;}

.main-menu {display: none;}

.txt-tpl, .doc-tpl, .section-404, .search-page {
    padding-bottom: 80px;
    padding-top: 40px;
}

.footer .row .col-md-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer .row {
    margin-bottom: 30px;
}
.copy {
    margin-right: 0;
    margin-bottom: 20px;
}

.footer2 .d-flex {display: block !important;}

.main-block {
    margin-bottom: 65px;
    padding-top: 15px;
}

.priem br {display: none;}

.sidebar {margin-bottom: 20px;}

.news .col-md-3 {
    margin-bottom: 20px;
    -ms-flex: 0 0 25%;
    flex: 0 0 49.333%;
    max-width: 50.333%;
}

.excerpt, .excerpt a {
    font-size: 15px;
    color: #343434;
    font-family: 'ProximaNovaBold';
    line-height: 1;
    margin-top: 5px;
    margin-bottom: 7px;
    height: 77px;
}

.partners .swiper-slide {
    background: #fff;
    height: 100px;
    padding: 10px;
}

.detail {
    z-index: 9;
    position: relative;
    padding-left: 35px;
    padding-bottom: 15px;
    padding-right: 35px;
}

.detail a {
    font-size: 14px;
    font-family: 'ProximaNovaBold';
    color: #fff;
    text-align: left;
    line-height: 1;
}

.main-news {
    height: 300px;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: #19954f;
    font-size: 20px;
}

.date {
    color: #929292;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 0;
    right: auto;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0;
    left: auto;
}

.detail .name {
    margin-bottom: 15px;
    line-height: 1.2;
}

.card h5 {
    font-size: 16px;
    color: #19954f;
    font-family: 'ProximaNovaBold';
    margin: 0;
}

.uslugi .btn-detail {
    width: auto;
    height: auto;
    display: block;
}

.main-menu.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow-y: scroll;
}
#menu-top {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block;
    justify-content: space-between;
    margin-top: 25px;
}

.menu-item-has-children:after {display: none;}

.main-menu a {
    color: #636363;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.sub-menu a {
    padding: 4.5px 13px;
    width: 100%;
    display: block;
    line-height: 1.3;
}

.sub-menu {
    display: block;
    list-style: none;
    padding-left: 0;
    position: initial;
    padding: 0 0;
    background-color: #f3f3f3;
    width: 100%;
    box-shadow: none;
    left: -14px;
    border-radius: 0;
    z-index: 99;
}
#searchform {
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.search .search-button-div {
    position: initial;
    top: 0px;
    right: 0;
}
.btn-search {
    background: #19954f;
    font-size: 14px;
    display: block;
    margin-left: 0;
    width: 70px;
    height: 37px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 0;
}
.search .search-input {
    background: #f5f5f5;
    border: none;
    color: #444444;
    display: block;
    height: 37px;
    line-height: 18px;
    padding: 0 13px 0px 7px;
    vertical-align: top;
    width: 100%;
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid #dadada;
}
.close-block {    position: absolute;
    top: 19px;
    right: 15px;}

.search .search-input-div {
    width: 100%;
}
.schedule {
    width: 100% !important;
}
}



@media (max-width: 480px) {

.excerpt, .excerpt a {
    height: auto;
}

	.hide-xs {display: none !important;}
	.visible-xs {display: block !important;}

	.icons-right {display: none !important;}

	.contacts {
    color: #333;
    display: block !important;
	}
.head {
    padding-top: 15px;
    width: 100%;
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 15px;
    display: flex !important;
}

.sitename h2 {
    font-size: 17px;
    font-family: 'ProximaNovaBold';
    margin-top: -2px;
    color: #fff;
    width: 100%;
}

.logo {
    height: 100px;
    width: 100px;
    min-width: 100px;
}

.logo img {width: 80%;}

.mobile-menu img {width: 30px;}

.main-menu {display: none;}

.txt-tpl, .doc-tpl, .section-404, .search-page {
    padding-bottom: 80px;
    padding-top: 40px;
}

.footer .row .col-md-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer .row {
    margin-bottom: 30px;
}
.copy {
    margin-right: 0;
    margin-bottom: 20px;
}

.footer2 .d-flex {display: block !important;}

.main-block {
    margin-bottom: 65px;
    padding-top: 15px;
}

.priem br {display: none;}

.sidebar {margin-bottom: 20px;}

.news .col-md-3 {
    margin-bottom: 20px;
    -ms-flex: 0 0 25%;
    flex: 0 0 100%;
    max-width: 100%;
}
.partners .swiper-slide {
    background: #fff;
    height: 100px;
    padding: 10px;
}

.detail {
    z-index: 9;
    position: relative;
    padding-left: 35px;
    padding-bottom: 15px;
    padding-right: 35px;
}

.detail a {
    font-size: 14px;
    font-family: 'ProximaNovaBold';
    color: #fff;
    text-align: left;
    line-height: 1;
}

.main-news {
    height: 300px;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.shadow {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: #19954f;
    font-size: 20px;
}

.date {
    color: #929292;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 0;
    right: auto;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0;
    left: auto;
}

.detail .name {
    margin-bottom: 15px;
    line-height: 1.2;
}

.card h5 {
    font-size: 16px;
    color: #19954f;
    font-family: 'ProximaNovaBold';
    margin: 0;
}

.uslugi .btn-detail {
    width: auto;
    height: auto;
    display: block;
}

.main-menu.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    overflow-y: scroll;
}
#menu-top {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block;
    justify-content: space-between;
    margin-top: 25px;
}

.menu-item-has-children:after {display: none;}

.main-menu a {
    color: #636363;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.sub-menu a {
    padding: 4.5px 13px;
    width: 100%;
    display: block;
    line-height: 1.3;
}

.sub-menu {
    display: block;
    list-style: none;
    padding-left: 0;
    position: initial;
    padding: 0 0;
    background-color: #f3f3f3;
    width: 100%;
    box-shadow: none;
    left: -14px;
    border-radius: 0;
    z-index: 99;
}
#searchform {
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.search .search-button-div {
    position: initial;
    top: 0px;
    right: 0;
}
.btn-search {
    background: #19954f;
    font-size: 14px;
    display: block;
    margin-left: 0;
    width: 70px;
    height: 37px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 0;
}
.search .search-input {
    background: #f5f5f5;
    border: none;
    color: #444444;
    display: block;
    height: 37px;
    line-height: 18px;
    padding: 0 13px 0px 7px;
    vertical-align: top;
    width: 100%;
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid #dadada;
}
.close-block {    position: absolute;
    top: 19px;
    right: 15px;}

.search .search-input-div {
    width: 100%;
}
.schedule {
    width: 100% !important;
}

.year {
    font-size: 34px;
    line-height: 1;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    min-width: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
}
.docs .d-flex {display: block !important;}
.docs-inner {display: flex !important;}
}
