.fleximg img {
	max-width: 100% !important;
	height: auto;
	width: auto;
}
@media (max-width:1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 95%;
    }
    .nav-container {
        background: #fff;
        border-bottom: solid 1px #ddd;
        border-left: solid 1px #ddd;
    }
    #service .nav-item.slick-slide {
        border-left: none
    }
    .tab-clickable {
        padding-right: 0;
    }
    #tabservice .nav-item .nav-link {
        background-repeat: no-repeat;
        background-position: 5px center;
        padding-left: 60px;
        transition: all 200ms linear;
        font-size: 16px;
    }
    .tab-clickable {
        font-weight: 700;
        display: block;
        text-align: left;
        padding: 31px 0px 31px 20px;
        background: #fff;
        font-size: 18px;
        position: relative;
        cursor: pointer;
    }
    .slick-dots {
        position: absolute;
        bottom: -45px;
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        text-align: center;
    }
}

@media (max-width:1362px) {
    .slick-dots {
        bottom: -45px;
    }
}

@media (max-width:1200px) {
    .slitem {
        padding-top: 170px;
    }
    body #tabservice .nav-item .nav-link {
        background-repeat: no-repeat;
        background-position: 5px center;
        padding-left: 10px;
        transition: all 200ms linear;
        font-size: 16px;
    }
    .tab-clickable {
        padding: 34px 0px 33px 20px;
        font-size: 16px;
    }
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 98%;
    }
    #aboutbg {
        position: relative;
    }
    #aboutbg::before {
        background-color: rgba(216, 213, 213, 0.75);
    }
    #aboutbg::before {
        content: ' ';
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
    }
    #aboutbg .container {
        z-index: 3;
        position: relative;
    }
}

@media (max-width:1024px) {
    .padding20 {
        padding: 0 20px;
    }
    #about .aboutinner {
        margin-right: 0;
    }
    #call {
        display: none;
    }
    .nav-container {
        width: 100%;
    }
    .main-container {
        width: 100%;
    }
    .services-slider {
        display: block;
        max-width: 100%;
    }
    .nav-container .slick-slide {
        max-height: auto;
        margin-bottom: 0;
    }
    .footer-four {
        display: none;
    }
    .block-title {
        display: none;
    }
    #sl2 {
        display: none;
    }
    .maininfo img {
        margin-right: 0;
    }
    .maininfo {
        text-align: right;
    }
    #sl1 {
        left: calc(50% - 400px);
        top: 100px;
        font-size: 28px;
    }
    .mtc {
        text-align: center;
    }
}

section section {
    padding: 0;
}

@media (max-width:900px) {.topphone{display:block}
    #projSlider .slick-prev {
        height: 70px;
        width: 70px;
        background: #fff url(img/ar.jpg) no-repeat center center;
        left: 0;
        z-index: 12;
        bottom: -70px;
        top: auto;
    }
    #projSlider .slick-next {
        height: 70px;
        width: 70px;
        left: auto;
        right: 0;
        z-index: 12;
        bottom: -70px;
        top: auto;
    }
    .search-block-form {
        margin: 30px 0;
        text-align: center;
    }
    .nav-item:last-child {
        border-right: none;
        border-bottom: 0;
        padding: 15px 0;
        text-align: center;
        margin-left: -5px;
    }
    #otzyvy {
        background-size: cover;
        background: url(img/bg1.jpg) no-repeat right top;
    }
    #otzyvy .brdbtn {
        margin-bottom: 30px;
    }
    .superheadline::before {
        content: ' ';
        z-index: 1;
        border: 10px solid;
        border-color: inherit;
        opacity: .2;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 200px;
        height: 200px;
    }
    #sl1 {
        left: calc(50% - 350px);
        top: 50px;
        font-size: 28px;
    }
    #otzyvy .carousel-item.active {
        padding: 20px;
    }
    #otzyvy .carousel-control-prev-icon,
    #otzyvy .carousel-control-next-icon {
        opacity: 0.1;
    }
    #otzyvy .carousel-control-prev-icon:hover,
    #otzyvy .carousel-control-next-icon:hover {
        opacity: 1;
    }
    #otzyvy .carousel-item.active {
        padding: 0;
        font-size: 14px;
    }
    #aboutus {
        padding: 40px 0;
        font-size: 16px;
    }
    #aboutus .uppertxt {
        font-size: 14px;
    }
    #aboutus .fs16 {
        font-size: 14px;
    }
}

.mobtit {
    display: none
}

@media (max-width:1000px) {.navbar-expand-lg .navbar-collapse {
	justify-content: space-between;
	position: absolute;
	top: 57px;
	width: 100%;
	background: #fff;
	width: 300px;
	z-index: 40;
	}.content .mt40{margin-top:0} .gradient {
	margin: 0 auto;
}.blog .rowblock .data {
	color: #fff;
	background: #0164c3;
	position: absolute;
	left: 0px;
	top: 0;
	z-index: 15;
	width: 40px;
	height: 60px;
	padding: 5px 5px 5px 10px;
	font-weight: 700;
}.cloned #logo {
	height: auto;
	width: auto;
	margin-top: 5px;
} #projSlider .slick-dots, .slider-nav2 .slick-dots { 
	display: none;
	}.imgouter {
	position: relative;
	float: left;
	margin: 0  0 40px 0;
	max-width: 100%;
}#servicelist .row .rowblock::before, .rel::before {
	left: 20px; 
}
	ul ul .nav-item:first-child {
	padding-left: 0;
}.nav-item:last-child {
	border-right: none;
	border-bottom: 0;
	padding: 0;
	text-align: left;
	margin-left: 20px;
}#servicelist .rowblock, #blog .rowblock {
	display: flex;
	align-items: center;
	height: 80%;
	flex-flow: row wrap;
	align-content: center;
	padding: 40px 30px 20px 50px;
	background: #fff;
	
	margin-top: 5%;
	position: relative;
	text-align: left;
}
    .navbar {
        justify-content: right;
    }
    .navbar-expand-lg .navbar-collapse {
        justify-content: space-between;
        position: absolute;
        top: 47px;
        width: 100%;
        background: #fff;
        width: 300px;
        z-index: 40;
    }
    .search-block-form {
        margin: 30px 0;
        text-align: center;
    }
   
    .navbar-light .navbar-nav .nav-link {
        color: #000;
        text-transform: uppercase;
        font-size: 14px;
        margin: 0 auto;
    }
    .navbar-light .navbar-toggler {
        border-color: rgb(0, 84, 164);
    }
    .mobtit {
        display: block
    }
    .nav-link.active::after {
        content: none;
    }
    .nav-link.active::before {
        left: 0;
    }
	.poisk {
	margin: 30px auto;
}
    .navbar-nav {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        max-width: 250px;
        margin: 0 auto;
    }
    .menu a {
        color: #000;
    }
    .nav-item.slick-slide {
        margin-left: 0;
    }
    .dropdown-menu {
        position: absolute;
        z-index: 1000;
        display: none;
        min-width: 10rem;
        padding: .5rem 0;
        margin: 0;
        font-size: 1rem;
        color: #212529;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: none;
        border-radius: .25rem;
        margin-top: 0 !important;
        padding-top: 0
    }
    .menu {
        background: #f7f7f7;
    }
    #aboutbg {
        background-size: cover;
    }
    .topline {
        background: #0054a4;
        padding: 7px 0;
        color: #fff;
        font-size: 14px;
        position: static;
    }
    .topaddress {
        display: none;
    }
    .topline span {
        padding: 0 12px;
        border-right: none;
    }
    .menu {
        background: rgba(255, 255, 255, 0.691);
        position: static;
    }
    .navbar-expand-lg .navbar-nav {
        width: 100%;
        flex-direction: row;
        justify-content: right;
        padding-top: 15px;
        font-weight: 700;
        display: block;
    }
    .nav-item {
        border-bottom: solid 1px #ccc;
        padding: 0;
        margin-left: 20px;
        /* background: #ddd; */
        border-right: none;
    }
    .slider-top {
        display: none;
    }
    .infoline {
        padding: 10px 0;
        color: #000000;
    }
    #logo {
        padding-top: 5px;
    }.otstup {
	margin-top: 15px;
	margin-right: 0;
}.cornerbrd2 {
	padding-left: 0;
	background: none;
	padding-bottom: 0;
}
}

@media (max-width:768px) {.imgblock {
	width: 100%;
}
.outlist {
	width: 100%;
	flex-direction: row;
	display: block;
}.descblock {
	width: 100%;
	z-index: 10;
	position: relative;
	margin-right: 0;
}#servicelist .row .rowblock::before, .rel::before {
	position: absolute;
	content: '';
	left: 0px;
	top: auto;
	bottom: 0;
	width: 2px;
}#servicelist .row:nth-child(2n) .outlist {
	flex-direction: row-reverse;
	margin-left: 0;
}#servicelist .row:nth-child(2n) .outlist .descblock {
	width: 100%;
	z-index: 10;
	position: relative;
	margin-left: 0;
	margin-right: 0;
}#servicelist .rowblock, #blog .rowblock {
	display: block;
	align-items: center;
	height: 80%;
	flex-flow: row wrap;
	align-content: center;
	padding: 20px 30px 20px 100px;
	background: #fff;
	-webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	margin-top: 5%;
	position: relative;
	text-align: left;
}#servicelist .rowblock {
	padding: 20px 10px 20px 20px !important;
}
	.imgblock img {
border-left: 2px solid #0054a4;
}.fleximg img {
	max-height: auto;
	max-width: 100%;
	height: auto;
	width: auto;
}.fleximg {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 0;
}.content .mt40 {
	margin-top: 0;
}.headline {
	font-size: 32px;
	line-height: 42px;
}.topblock {
	background: url(img/topfon.jpg) no-repeat top center #0054a4; background-size: cover;
}
	.blog .rowblock .data {
	color: #fff;
	background: #0164c3;
	position: absolute;
	left: -8px;
	top: 0;
	z-index: 15;
	width: 20px;
	height: 40px;
	padding: 0;
	font-weight: 700;
	font-size: 12px;
	text-align: center;
	line-height: 16px;
	padding: 3px;
}.cloned .navbar-expand-lg .navbar-collapse {
	justify-content: space-between;
	position: absolute;
	top: 57px;
	width: 100%;
	background: #fff;
	width: 300px;
	z-index: 40;
}.navbar-nav .nav-item.poisk  {
	margin: 20px auto;
}
}
@media (max-width:600px) {.formouter {
	padding: 20px;
}#service .fs24 {
	font-size: 14px;
	text-align: left;
	color: #06345f;
	font-weight: 700;
}.count-box {
	font-size: 40px;
	line-height: 1em;
	color: #ffffff;
	font-weight: 700;
}.count-box::before {
 	height: 80px;
 
}
    section {
        padding: 40px 0;
    }
    #projSlider {
        margin: 40px 0 40px 0;
    }
    #projSlider h4 {
        font-size: 26px;
    }
    #projSlider .slick-prev {
        height: 40px;
        width: 40px;
        left: 0;
        bottom: -80px;
    }
    #projSlider .slick-next {
        height: 40px;
        width: 40px;
        right: 0;
        bottom: -80px;
        left: auto;
    }
    #servicelist .rowblock {
        padding: 20px 10px;
    }
    .bgblue .column {
        border-bottom: solid 1px #fff;
        font-size: 14px;
        padding: 20px 0;
        border-right: none;
    }
    footer .container.mt40 {
        display: none;
    }
    footer {
        padding: 25px 0 0 0;
    }
    #projects .container .col-md-9 {
        background: url(img/project.jpg) no-repeat top left;
        background-size: contain;
        min-height: 106px;
    }
    footer h3 {
        text-transform: uppercase;
        font-size: 26px;
        margin-bottom: 20px;
    }
    .mobtit {
        display: block;
        text-align: center;
        line-height: 18px;
        padding-top: 15px;
    }
    #otzyvy .superheadline+p {
        font-size: 20px;
    }
    body {
        overflow-x: hidden;
        max-width: 100%
    }
    .soc {
        float: none;
    }
    .fbrd {
        border: solid 1px #686a6d;
        padding: 30px;
        font-size: 16px;
        text-transform: uppercase;
        margin-bottom: 40px;
    }
    #sl1 {
        left: calc(50% - 150px);
        top: 50px;
        font-size: 28px;
    }
    .superheadline {
        font-size: 30px;
        max-width: 100%;
        text-align: center;
        text-transform: uppercase;
        text-shadow: 4px 4px 2px rgba(150, 150, 150, 0.43);
    }
    .maininfo {
        text-align: right;
        padding-top: 150px;
    }
    #sl1 {
        left: 10%;
        top: 50px;
        font-size: 20px;
        right: 10%;
    }
    .service-block-2 .service-content {
        position: relative;
        bottom: 0;
        right: 0;
        z-index: 99;
        padding-left: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .superheadline::before {
        content: ' ';
        z-index: 1;
        border: 10px solid;
        border-color: inherit;
        opacity: .2;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 300px;
        height: 100px;
    }
    #logo {
        display: block;
        margin: 0 auto;
    }
    #otzyvy .superheadline {
        color: #fff;
        font-size: 30px;
        font-weight: 900;
        text-shadow: 4px 4px 2px rgba(39, 39, 39, 0.42);
    }#projSlider .slick-dots, .slider-nav2 .slick-dots {
	position: absolute;
	bottom: auto;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	margin-left: auto;
	top: -20px;
	margin: 0 auto;
}.tst {
	
	bottom: 20px;
	left: 20px;
	
}
#projSlider .slick-prev {
	height: 40px;
	width: 40px;
	left: 0;
	bottom: auto;
	top: 0px;
}#projSlider h4 {
	font-size: 26px;
	padding-top: 50px;
}
	#projSlider .slick-next{	
	bottom: auto;
	top: 0px;} 
	
}

.mobtit {
    padding-top: 0;
}

@media (max-width:500px) {
	footer h3 {
	margin: 20px 0 40px 0;
}footer {
	
	background-size: 140%;

}
	.topblock {
        padding: 40px 0 50px;
    }
    #about .aboutinner {
        border-bottom: solid #f2f2f2 20px;
        border-top: solid #f2f2f2 20px;
        border-right: solid #f2f2f2 20px;
        margin-right: 0;
    }
    h2 {
        font-size: 32px;
        line-height: 40px;
      
    }
    .navbar-nav {
        max-width: auto;
        margin: 0;
    }
    .soc a {
        display: inline-block;
        margin-right: 5px;
        font-size: 22px;
        line-height: 22px;
    }
    .heading-top .title {
        font-size: 24px;
        letter-spacing: -1px;
        text-transform: uppercase;
    }
    .headline {
        font-size: 32px;
        line-height: 42px;
    }
    #aboutbg {
        background: #edefee;
        background-image: none;
    }
    #sl1 {
        top: 35px;
    }
    .topmail {
        display: none;
    }
    .timet {
        display: none;
    }
    .callme img {
        display: none;
    }
    .dib {
        padding: 0 0 5px 0;
        text-align: center;
        display: block;
        display: none;
    }
    #service .text-right {
        text-align: justify;
    }
    .services-slider+.row.mt40 {
        border: solid 5px #ddd;
        padding: 20px;
        text-align: justify;
    }
    .services-slider+.row.mt40 .flimg {
        display: none;
    }
    .services-slider+.row.mt40 .brdbtn {
        margin: 10px auto;
        display: block;
    }
    #otzyvy {
        background: url(img/bg1.jpg) no-repeat right top;
        background-size: cover;
        padding-bottom: 40px;
    }
    .soc {
        float: none;
    }
    .topsoc .soc {
        float: left;
    }
    .slick-dots {
        bottom: -25px;
    }.imgouter {
	position: relative;
	float: left;
	margin: 0 0 30px 0;
	max-width: 550px;
}
	.contacts .row {
	display: flex;
	flex-direction: column-reverse;
}
}

@media (max-width:440px) {.fs36 {
	font-size: 26px;
}
	.nav-item:last-child {
	border-right: none;
	border-bottom: 0;
	padding: 0;
	text-align: left;
	margin-left: 0;
}ul ul .nav-item:first-child {
	padding-left: 0;
}
.navbar-nav .nav-item {
	margin: 0;
}
	.navbar-nav {
	 
	max-width: auto;
	margin: 0 auto;
	padding: 10px;
}
    #about .aboutinner {
        border: none;
    }
    #team .slick-prev {
        height: 60px;
        width: 60px;
        bottom: 10px;
    }
    #team .slick-next {
        height: 60px;
        width: 60px;
        bottom: 10px;
    }
	.copyright .text-right{      text-align: left;}
}