/*--
A Design by W3layouts 
Author: W3layout
Author URL: http://w3layouts.com
Distributor: http://bootstraptema.ru/
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
body a {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
html, body{
    font-size: 100%;
    font-family: Avenir Next, sans-serif;
}
/*h1,h2,h3,h4,h5,h6 {*/
/*    font-family: "adineue PRO Cyr", sans-serif;*/
/*}*/
/*-- banner --*/
.banner{
    position: relative;
    min-height: 620px;          /* фиксированная высота баннера */
    background: url(../images/carousel5.jpeg) no-repeat center center;
    background-size: cover;
    /*padding: 0;                 !* убираем пляску от padding *!*/
    overflow: hidden;
    padding-top: 80px;
}

.banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.banner .container{
    position: relative;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 24px;
}
.agile-logo {
    width: 12%;
    z-index: 2;
    position: relative;
}
.agile-logo h1 a{
    color: #FFFFFF;
    font-size: 1.4em;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
}
.agile-logo h1 a span{
    display: block;
    color: #FFFFFF;
    font-size: .23em !important;
    text-transform: uppercase;
    letter-spacing: 18px;
}
.w3l-banner-grids {
    margin: 8em 0 0 0;
}
/*--slider--*/
#slider2,
#slider3 {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  margin: 0 auto;
}
.rslides_tabs li:first-child {
  margin-left: 0;
}
.rslides_tabs .rslides_here a {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: bold;
}
.events {
  list-style: none;
}
.callbacks_container {
  position: relative;
  float: left;
  width: 100%;
}
.callbacks {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}
.callbacks li {
  position: absolute;
  width: 100%;
}
.callbacks img {
  position: relative;
  z-index: 1;
  height: auto;
  border: 0;
}
.callbacks .caption {
	display: block;
	position: absolute;
	z-index: 2;
	font-size: 20px;
	text-shadow: none;
	color: #fff;
	left: 0;
	right: 0;
	padding: 10px 20px;
	margin: 0;
	max-width: none;
	top: 10%;
	text-align: center;
}
.callbacks_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    bottom: -50%;
    left: 0;
    opacity: 0.6;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    width: 40px;
    height: 40px;
    background: transparent url("../images/arrows.png") no-repeat left top;
}
 .callbacks_nav:hover{
  	opacity: 0.3;
  }
.callbacks_nav.next {
  left: auto;
    background-position: right top;
  left: 95.5%;
 }
 .callbacks_nav.prev {
	right: auto;
	background-position:left top;
	left: 91%;
}
#slider3-pager a {
  display: inline-block;
}
#slider3-pager span{
  float: left;
}
#slider3-pager span{
	width:100px;
	height:15px;
	background:#fff;
	display:inline-block;
	border-radius:30em;
	opacity:0.6;
}
#slider3-pager .rslides_here a {
  background: #FFF;
  border-radius:30em;
  opacity:1;
}
#slider3-pager a {
  padding: 0;
}
#slider3-pager li{
	display:inline-block;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
}
.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display:none;
  width: 100%;
  left: 0;
  top: 0;
}
.rslides li{
  position: relative;
  display: block;
  float: left;
}
.rslides img {
  height: auto;
  border: 0;
  }
.callbacks_tabs{
    list-style: none;
    position: absolute;
    top: 60%;
    /*bottom: 30px;   !* всегда внизу баннера *!*/
    left: 6%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    z-index: 3;
}
.callbacks_container,
.rslides,
.rslides li{
    min-height: 520px; /* подбирай, но главное одинаково */
}

/* на всякий: чтобы li не сжимались */
.rslides li{
    width: 100%;
}
.slider-top span{
	font-weight:600;
}
.callbacks_tabs li{
    display: inline-block;
    margin: 0;
}
/*----*/
.callbacks_tabs a{
 visibility: hidden;
}
.callbacks_tabs a:after {
    content: "\f111";
  font-size: 0;
  font-family: FontAwesome;
  visibility: visible;
  display: block;
  height: 15px;
  width: 15px;
  display: inline-block;
  background: #fff;
  border: 2px solid #fff;
  border-radius:50%;
  -webkit-border-radius:50%;
  -o-border-radius:50%;
  -moz-border-radius:50%;
  -ms-border-radius:50%;
}
.callbacks_here a:after{
    background: #27292B;
    border: 2px solid #27292B;
}
.slider {
    float: left;
    width: 50%;
}
.w3ls-text h3 {
    font-size: 2.5em;
    color: #FFFFFF;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}
.w3ls-text p {
    font-size: 1em;
    line-height: 1.8em;
    margin: 2em 0 2em 0;
    color: #FFFFFF;
}
.w3ls-text a{
    color: #FFFFFF;
    font-size: 1em;
    padding: .5em 1em;
    display: block;
    border: solid 2px #FFF;
    width: 33%;
    text-align: center;
    text-decoration: none;
}
.w3ls-text a:hover {
    background: #27292B;
}
.agileinfo-social-grids{
	float:right;
    position: relative;
    z-index: 2;
}
.agileinfo-social-grids ul{
	padding:0;
	margin:0;
}
.agileinfo-social-grids ul li{
    display: block;
}
.agileinfo-social-grids ul li a {
	color: #333;
    text-align: center;
}
.agileinfo-social-grids ul li a i.fa.fa-facebook{
    height: 40px;
    width: 40px;
    border: solid 2px #FFF;
    background: none;
    line-height: 40px;
    color: #FFF;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}
.agileinfo-social-grids ul li a i.fa.fa-facebook:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #3b5998;
}
.agileinfo-social-grids ul li a i.fa.fa-twitter, .agileinfo-social-grids ul li a i.fa.fa-instagram,
.agileinfo-social-grids ul li a i.fa.fa-star, .agileinfo-social-grids ul li a i.fa.fa-whatsapp{
    height: 40px;
    width: 40px;
    border: solid 2px #FFF;
    background: none;
    line-height: 40px;
    color: #FFF;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}
.agileinfo-social-grids ul li a i.fa.fa-instagram:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #E1306C;
}
.agileinfo-social-grids ul li a i.fa.fa-star:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #ff0000;
}
.agileinfo-social-grids ul li a i.fa.fa-whatsapp:hover {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background: #25D366;
}
.agileinfo-social-grids ul li a i.fa.fa-twitter:hover{
    height: 40px;
    width: 40px;
    line-height: 40px;
	background: #55acee;
}
.agileinfo-social-grids ul li a i.fa.fa-rss{
    height: 40px;
    width: 40px;
    border: solid 2px #FFF;
    background: none;
    line-height: 40px;
    color: #FFF;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}
.agileinfo-social-grids ul li a i.fa.fa-rss:hover{
    height: 40px;
    width: 40px;
    line-height: 40px;
	background: #f26522;
}
.agileinfo-social-grids ul li a i.fa.fa-vk{
    height: 40px;
    width: 40px;
    border: solid 2px #FFF;
    background: none;
    line-height: 40px;
    color: #FFF;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}
.agileinfo-social-grids ul li a i.fa.fa-vk:hover{
    height: 40px;
    width: 40px;
    line-height: 40px;
	background: #45668e;
}
.agileinfo-social-grids ul li:nth-child(2){
	margin:.5em 0;
}
.agileinfo-social-grids ul li:nth-child(3){
	margin:0 0 .5em 0;
}
#m_nav_container {
    z-index: 9990 !important;
}
#m_nav_menu {
    z-index: 9999 !important;
}
/*-- services --*/
.services {
    padding: 4em 0 11em;
    background: #f6f6f6;
}
.services-left-info {
    margin: 4em 0 0 0;
}
.services-left-info h2,.wthree-about-info h3,.team-info h3{
	color: #333333;
    font-size: 2.5em;
    margin: 0;
    font-weight: 600;
    position: relative;
}
.services-left-info h2:after,.wthree-about-info h3:after{
    content: "";
    height: 2px;
    background: #333333;
    position: absolute;
    width: 15%;
    top: 55px;
    left: 0;
}
.services-left-info p{
    font-size: .9em;
    color: #8c8c8c;
    margin: 2em 0 0 0;
    line-height: 1.8em;
}
.agile-services-grid {
    position: relative;
}
.w3l-services-grids {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 153px;
}
.w3l-services-grids1{
    left: 349px !important;
}
.w3l-services-grids2{
	left: 592px;
    top: 21px;
}
.service-grid-bg {
    background: #ffffff;
    height: 130px;
    width: 130px;
    margin-bottom: .5em;
    text-align: center;
    position: relative;
}
.service-grid-text {
    position: absolute;
    inset: 0;                 /* занимает весь ромб */
    display: flex;
    flex-direction: column;
    align-items: center;      /* горизонталь */
    justify-content: center;  /* вертикаль */

    transform: rotate(-45deg); /* компенсируем поворот */
    text-align: center;
}
.service-grid-text i.fa {
    color: #45624e;
    font-size: 1.5em;
    margin: 0;
}
.service-grid-text h5{
	color: #333333;
    font-size: 1em;
    font-weight: 600;
    margin: 8px 0 0;
    padding: 5px;
}
.service-grid-bg:hover{
	background:#45624e;
	transition: 0.5s all;
	-webkit-transition: 0.5s all;
	-o-transition: 0.5s all;
	-moz-transition: 0.5s all;
	-ms-transition: 0.5s all;
}
.service-grid-bg:hover div.service-grid-text h5{
	color:#FFFFFF;
}
.service-grid-bg:hover i.fa{
    color:#FFFFFF;
}
/*-- //services --*/
/*-- about --*/
.about{
    padding: 4em 0;
    background: #FFFFFF;
}
.wthree-about-info{
	text-align:center;
}
.wthree-about-info p{
    font-size: 1em;
    color: #8c8c8c;
    margin: 2em 0 0 0;
}
.wthree-about-info h3:after {
    width: 5%;
    left: 47%;
}
.agileits-about-grids{
	margin:4em 0 0 0;
}
.about-grid {
    display: flex;
}

.about-grid-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
	padding: 2em;
    text-align: center;
    border: solid 1px #45624e;
    position: relative;
    overflow: hidden;
}
i.fa.fa-thumbs-up,i.fa{
    color: #45624e;
    font-size: 2em;
}
.agileits-caption i.fa {
    color: #FFFFFF;
    font-size: 3em;
}
.about-grid-info h4,.agileits-caption h4{
    color: #45624e;
    font-size: 1.1em;
    margin: 1em 0;
    font-weight: 600;
}
.agileits-caption h4 {
    color: #FFFFFF;
}
.about-grid-info p,.agileits-caption p{
    color: #8c8c8c;
    font-size: .9em;
    margin: 0;
    line-height: 1.8em;
}
.agileits-caption p{
    color: #FFFFFF;
}
.agileits-caption {
    background: #45624e;
    padding: 4em 1em 1em 1em;
    position: absolute;
    left: 0;
    bottom: -108%;
    text-align: center;
    width: 100%;
    height: 100% !important;
    -webkit-transition: .5s all;
    transition: .5s all;
    -moz-transition: .5s all;
}
.about-grid-info:hover .agileits-caption {
    bottom: 0%;
    color: #ffffff;
}
.about-grid-info:hover .agileits-caption {
    bottom: 0%;
}
.agileits-about-top-grids {
    display: flex;
    flex-wrap: wrap;
}
.agileits-about-top-grids:nth-child(2) {
    margin: 2em 0 0 0;
}
/*-- //about --*/
/*-- team --*/
.team{
	padding:4em 0;
    background: #FFFFFF;
}
.team-grids{
	margin:4em 0 0 0;
}
.team-info{
    position: relative;
    overflow: hidden;
}
.team-info img{
	width:100%;
	border:solid 1px #45624e;
}
/* reviews */
.review-card{
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(69,98,78,0.15);
    flex: 1;
}

.review-text{
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    position: relative;
    padding-left: 24px;
    text-align: start;
}

.review-text:before{
    content: "“";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: #45624e;
    font-family: serif;
}

.review-footer{
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
}

.review-author{
    font-weight: 700;
    color: #45624e;
    padding-right: 5px;
}

.review-date{
    font-size: 13px;
    color: #888;
}

#owl-demo .item{
    height: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    display: flex;
    width: 100%;
    padding: 10px;
    margin: 0;
}
.owl-carousel .owl-stage{
    display: flex;
}

#owl-demo .owl-item {
    display: flex !important;
    height: auto !important;   /* снимаем возможные ограничения */
}
#owl-demo .owl-wrapper {
    display: flex !important;
}

#owl-demo .owl-wrapper-outer {
    overflow: hidden;
}
.reviews-more{
    text-align: center;
    margin-top: 30px;
}

.reviews-more-btn{
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #45624e;
    color: #45624e;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.reviews-more-btn:hover{
    background: #45624e;
    color: #ffffff;
}

/*-- //team --*/
/*-- portfolio --*/
.portfolio{
	padding:4em 0;
	background: #f6f6f6;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	color: #ffffff;
    cursor: default;
    background: #45624e;
    border: solid 2px #45624e;
}
.nav-tabs > li > a {
    margin-right: 3px;
    border-radius: 0;
    font-size:1em;
    color: #333333;
	border: solid 1px #333333;
}
.nav-tabs > li > a:focus{
	background:transparent;
}
.nav-tabs {
	border-bottom: none;
    margin: 3em auto;
    width: 34%;
}
.nav-tabs > li {
    margin: 0 10px;
}
.nav-tabs > li > a:hover {
	color:#FFFFFF;
	background: #45624e;
    border: solid 1px #45624e;
}
.w3_tab_img_left h3 {
    font-size: 1.5em;
    color: #fff;
    margin: 0 0 .5em;
}
.imghvr-shutter-in-out-diag-2 {
    border-radius: 5px;
}
.w3_tab_img_left p{
	color:#fff;
	line-height:2em;
}
.w3_tab_img_left {
    margin: 2em 0 0;
}
/*-- //portfolio --*/
/*-- skills --*/
.skills{
    padding: 4em 0;
    background: url(../images/carousel2.jpeg) no-repeat 0px -429px;
    background-size: cover;
}
.skills-about-info h3{
    color: #ffffff;
}
.skills-about-info h3:after{
    background: #ffffff;
}
.skills-about-info p{
    color: #ffffff;
}
.dark-area {
    clear: both;
    width: 100% !important;
    margin: 3em auto 0 !important;
}
div#dgreencircle {
   margin: 0 auto;
}
div#sacircle {
    margin: 0 auto;
}
div#sacircle1,div#lightcircle {
    margin: 0 auto !important;
}
.w3ls-skills-grids {
    float: left;
    width: 33%;
}
.w3ls-skills-info{
    margin: 2em 0 0 0;
    text-align: center;
}
.w3ls-skills-info h4{
	color:#FFFFFF;
	font-size:1.2em;
	font-weight:600;
	margin:0;
    text-align: center;
}
.w3ls-skills-info p{
    color: #ffffff;
    font-size: .9em;
    line-height: 1.8em;
    margin: 1em 0 0 0;
}
.jarallax {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
/*-- //skills --*/
/*-- contact --*/
.contact{
	padding:4em 0;
	background:#f7f7f7;
}
.agile-contact-grids {
    margin: 4em 0 0 0;
}
.address-grid h4,.contact-form h4,.agileits-map h4{
	color:#333333;
	font-size:1.2em;
	font-weight:600;
	margin:0;
}
.address-grid ul{
    padding: 0;
    margin: 2em 0 0 0;
}
.address-grid ul li{
    display: block;
    color: #8c8c8c;
    font-size: .9em;
    margin-bottom: 1.5em;
}
.address-grid ul li a{
	color:#8c8c8c;
	text-decoration:none;
}
.w3_address i.fa{
    margin-right: 10px;
    font-size: 1em;
    color: #333333;
}
.contact-form{
	margin:2em 0 0 0;
}
.contact-form h4{
	margin-bottom:2em;
}
.styled-input.agile-styled-input-top {
    margin-top: 0;
}
.contact input[type="text"],.contact textarea, .contact input[type="tel"]{
    font-size: .9em;
    color: #8c8c8c;
    padding: 0.5em 1em;
    border: 0;
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
    background: none;
    -webkit-appearance: none;
	outline: none;
}
.contact textarea {
	min-height: 13em;
    resize: none;
}
/*-- input-effect --*/
.styled-input input:focus ~ label, .styled-input input:valid ~ label,.styled-input textarea:focus ~ label ,.styled-input textarea:valid ~ label{
    font-size: .9em;
    color: #27292B;
    top: -1.3em;
    -webkit-transition: all 0.125s;
	-moz-transition: all 0.125s;
	-o-transition: all 0.125s;
	-ms-transition: all 0.125s;
    transition: all 0.125s;
}
.styled-input {
	width:100%;
	margin: 2em 0 1em;
	position: relative;
}
.styled-input label {
	color: #8c8c8c;
    padding: 0.5em .9em;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    pointer-events: none;
    font-weight: 400;
    font-size: .9em;
    display: block;
    line-height: 1em;
}
.styled-input input ~ span,.styled-input textarea ~ span {
	display: block;
    width: 0;
    height: 2px;
    background: #333;
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.125s;
    -moz-transition: all 0.125s;
    transition: all 0.125s;
}
.styled-input textarea ~ span {
    bottom: 5px;
}
.styled-input input:focus.styled-input textarea:focus {
	outline: 0;
}
.styled-input input:focus ~ span,.styled-input textarea:focus ~ span {
	width: 100%;
	-webkit-transition: all 0.075s;
	-moz-transition: all 0.075s;
	transition: all 0.075s;
}
/*-- //input-effect --*/
.contact input[type="submit"] {
	outline: none;
    color: #FFFFFF;
    padding: .8em 4em;
    font-size: .9em;
    margin: 1em 0 0 0;
    -webkit-appearance: none;
	background:#000000;
    border: 2px solid #333333;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
}
.contact input[type="submit"]:hover {
    background-color: transparent;
    color: #333333;
	background:none;
	border: 2px solid #333333;
}
.map-grid{
	margin:2em 0 0 0;
}
.map-grid iframe{
    width: 100%;
    height: 600px;
    border: 0;
}
/*-- //contact --*/
/*-- footer --*/
.footer{
	background:#333333;
}
.footer-legal{
    font-size: 13px;
    color: #9a9a9a;
    margin-top: 10px;
    line-height: 1.6;
}
.footer-top{
    padding: 4em 0 2em 0;
}
.footer-logo h3 a {
    color: #FFFFFF;
    font-size: 2em;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
}
.footer-logo h3 a span {
    display: block;
    color: #FFFFFF;
    font-size: .23em !important;
    text-transform: uppercase;
    letter-spacing: 18px;
}
.footer-logo p{
	color: #FFFFFF;
	font-size:.9em;
	line-height:1.8em;
	margin:2em 0 0 0;
}
.footer-grid h3,.footer-list h3{
	font-size:1.5em;
	margin:0 0 1em 0;
	color:#FFFFFF;
}
.footer-grid ul,.footer-list ul{
	padding:0;
	margin:0;
}
.footer-grid ul li,.footer-list ul li{
	display:block;
	margin:.5em 0;
}
.footer-grid ul li a{
	color:#FFFFFF;
	font-size:.9em;
	text-decoration:none;
}
.footer-grid ul li a:hover{
	color:#27292B;
}
.footer-list ul li {
	color:#FFFFFF;
	font-size:.9em;
}
.footer-list ul li i {
    padding-right: 5px;
    font-size: 15px;
}
.footer-grid p{
	color: #FFFFFF;
	font-size:.9em;
	line-height:1.8em;
	margin:0;
}
.footer-grid input[type="email"] {
    display: inline-block;
    border: 2px solid #ffffff;
    width: 100%;
    outline: none;
    background: #FFFFFF;
    padding: 7px 15px;
    font-size: .9em;
    color: #BBBBBB;
    margin: 1.5em 0 1em;
}
.footer-grid input[type="submit"] {
	outline: none;
    color: #FFFFFF;
    padding: .5em 2em;
    font-size: .9em;
    -webkit-appearance: none;
    background: none;
    border: 2px solid #ffffff;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
}
.footer-grid input[type="submit"]:hover{
	background: #27292B;
}
.footer-bottom{
    padding: 1em 0;
    text-align: center;
    border-top: solid 1px #525252;
}
.footer-bottom p{
	color:#FFFFFF;
	font-size:.9em;
	margin:0;
}
.footer-bottom p a{
	color:#27292B;
	text-decoration:none;
}
.footer-bottom p a:hover{
	color:#FFFFFF;
}
/*-- //footer --*/
/*-- responsive --*/
@media(max-width:1440px){
	.banner {
		background: url(../images/carousel5.jpeg) no-repeat center center;
		background-size: cover;
	}
	#m_nav_menu {
		right: 141px !important;
	}
	.nav-tabs {
		width: 38%;
	}
}
@media(max-width:1366px){
	.banner {
		background: url(../images/carousel5.jpeg) no-repeat center center;
		background-size: cover;
	}
	.nav-tabs {
		width: 40%;
	}
	#m_nav_menu {
		right: 104px !important;
	}
}
@media(max-width:1280px){
	.banner {
        background: url(../images/carousel5.jpeg) no-repeat center center;
		background-size: cover;
	}
	#m_nav_menu {
		right: 62px !important;
	}
	.nav-tabs {
		width: 43%;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 2em 2em 2em !important;
	}
}
@media(max-width:1080px){
	.banner {
        background: url(../images/carousel5.jpeg) no-repeat center center;
		background-size: cover;
	}
	.services-left {
	    float: none;
		width: 100%;
	}
	.services-right {
		float: none;
		width: 100%;
		height: 275px;
	}
	
	.about-grid-info {
		padding: 1em;
	}
	.nav-tabs {
		width: 51%;
	}
	.w3_tab_img_left p {
		line-height: 1.5em;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 1em !important;
	}
}
@media(max-width:1024px){
	#m_nav_menu {
		right: 34px !important;
	}
	.nav-tabs {
		width: 54%;
	}
}
@media(max-width:991px){
    .callbacks_tabs{
        top: 70%;
        left: 8%;
    }
	#m_nav_menu {
		right: 127px !important;
	}
	#m_nav_container {
		text-align: center !important;
	}
	.m_nav_item {
		margin-right: 34px !important;
	}
	.services-left-info {
		margin: 0em 0 0 0;
	}
	.about-grid {
		float: left;
		width: 50%;
		margin-bottom: 2em;
	}
	.about-grid:nth-child(3),.about-grid:nth-child(4){
		margin-bottom: 0;
	}
	.agileits-caption {
		height: 210px;
	}
	.w3_tab_img_left {
		margin: 2em 0 0;
		float: left;
		width: 25%;
	}
	.w3_tab_img_left p {
		font-size: .9em;
	}
	.agile-contact-right {
		margin: 2em 0 0 0;
	}
	.footer-grid:nth-child(2) {
		margin: 2em 0;
	}
	.footer-list {
		margin: 2em 0;
	}
}
@media(max-width:800px){
	#m_nav_menu {
		right: 31px !important;
	}
	.w3ls-text h3 {
		font-size: 2em;
	}
	.w3ls-text a {
		width: 52%;
	}
	.w3l-services-grids {
		left: 83px;
		top: 42px;
	}
	.w3l-services-grids2 {
		left: 523px;
		top: 64px;
	}
	.w3l-services-grids1 {
		left: 279px !important;
	}
	.nav-tabs {
		width: 68%;
	}
	.w3_tab_img_left h3 {
		font-size: 1.2em;
	}
	.team-caption h4 {
		font-size: 1.2em;
	}
}
@media(max-width:768px){
    .callbacks_tabs{
        top: 65%;
    }
	.service-grid-bg {
		height: 100px;
		width: 100px;
	}
	.w3l-services-grids {
		left: 127px;
	}
	.w3l-services-grids2 {
		left: 469px;
		top: 58px;
	}
	.nav-tabs {
		width: 71%;
	}
	.w3_tab_img_left h3 {
		font-size: 1em;
	}
}
@media(max-width:667px){
	#m_nav_menu {
		right: 15px !important;
	}
	.slider {
		width: 62%;
	}
	.w3l-services-grids {
		left: 83px;
	}
	.w3l-services-grids1 {
		left: 235px !important;
	}
	.w3l-services-grids2 {
		left: 426px;
	}
	.services {
		padding: 4em 0 8em;
	}
	.agileits-caption {
	    height: 209px;
	}
	.w3_tab_img_left {
		width: 50%;
	}
	.nav-tabs {
		width: 86%;
	}
	.w3_tab_img_left h3 {
		font-size: 1.5em;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 2.8em 1em 2em !important;
	}
	#m_nav_container {
		height: 282px !important;
	}
}
@media(max-width:640px){
	.agileits-caption {
		height: 220px;
	}
}
@media(max-width:600px){
	.slider {
		width: 70%;
	}
	.w3l-services-grids1 {
		left: 159px !important;
		top: 122px !important;
	}
	.w3l-services-grids2 {
		left: 273px;
		top: 215px;
	}
	.services {
		padding: 4em 0 12em;
	}
	.nav > li > a {
		padding: 10px 11px;
	}
}
@media(max-width:568px){
	.w3ls-skills-grids {
		width: 50%;
	}
	.skills {
		background: url(../images/carousel4.jpeg) no-repeat 0px 0px;
	}
	.nav > li > a {
		padding: 10px 9px;
	}
}
@media(max-width:480px){
	.w3l-services-grids {
		left: 78px;
	}
	.w3l-services-grids1 {
		left: 155px !important;
		top: 117px !important;
	}
	.w3l-services-grids2 {
		left: 268px;
		top: 210px;
	}
	.agileits-caption {
		height: 245px;
	}
	.nav-tabs > li > a {
		font-size: .9em;
	    margin-right: 0px;
	}
	.nav-tabs > li {
		margin: 0 7px;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 1em 1em 2em !important;
	}
}
@media(max-width:414px){
    .agileinfo-social-grids ul li a i.fa {
        font-size: 1em;
    }
	.slider {
		width: 100%;
		float: none;
	}
	.w3l-banner-grids {
		margin: 8em 0 0 0;
	}
	.callbacks_tabs {
		bottom: -15%;
	}
	.agileinfo-social-grids {
		float: left;
	    margin: 4em 0 0 0;
	}
	.agileinfo-social-grids ul li {
		display: inline-block;
	}
	.banner {
		padding: 1em 0 2em;
	}
	.w3ls-text h3 {
		font-size: 1.5em;
	}
	.services {
		padding: 2em 0 12em;
	}
	.service-grid-bg {
		height: 80px;
		width: 80px;
	}
	.service-grid-text h5 {
        font-size: 11px;
        line-height: 1.1;
        margin-top: 4px;
        padding: 0 6px;
        max-width: 70px;          /* под 80x80 ромб, подстрой при желании */
        overflow: hidden;

        display: -webkit-box;
        -webkit-line-clamp: 2;    /* максимум 2 строки */
        -webkit-box-orient: vertical;
	}

    .service-grid-text i.fa{
        font-size: 14px;
    }
	.w3l-services-grids {
		left: 62px;
	}
	.w3l-services-grids1 {
		left: 125px !important;
		top: 103px !important;
	}
	.w3l-services-grids2 {
		left: 235px;
		top: 180px;
	}
	.w3l-services-grids2 {
		left: 218px;
		top: 180px;
	}
	.services {
		padding: 2em 0 8em;
	}
	.about {
		padding: 2em 0;
	}
	.about-grid {
		float: none;
		width: 100%;
	}
	.agileits-caption {
		height: 208px;
	}
	.about-grid:nth-child(3), .about-grid:nth-child(4) {
		margin-bottom: 2em;
	}
	.portfolio {
		padding: 2em 0;
	}
	.nav-tabs > li {
		margin: 0 4px;
	}
	.nav-tabs {
		width: 93%;
		margin: 1em auto;
	}
	.w3_tab_img_left {
		margin: 1em 0 0;
	}
	.w3_tab_img_left h3 {
		font-size: 1.2em;
	}
	.team {
		padding: 2em 0;
	}
	.team-grids {
		margin: 2em 0 0 0;
	}
	.skills {
		padding: 2em 0;
	}
	.w3ls-skills-grids {
		margin-bottom: 1em;
	}
	.contact {
		padding: 2em 0;
	}
	.map-grid iframe {
		height: 300px;
	}
	.footer-top {
		padding: 2em 0 2em 0;
	}
}
@media(max-width:384px){
    .callbacks_tabs{
        top: 50%;
    }
	.w3ls-text p {
	    font-size: .91em;
		line-height: 1.8em;
		margin: 1em 0;
	}
	.agile-logo h1 {
		margin: 0;
	}
	.w3ls-text h3 {
		font-size: 1.3em;
		line-height: 1.5em;
	}
	.w3l-banner-grids {
		margin: 8em 0 0 0;
	}
	.w3ls-text a {
		width: 52%;
	}
	.services-left-info h2, .wthree-about-info h3, .team-info h3 {
		font-size: 1.5em;
	}
	.services-left-info h2:after, .wthree-about-info h3:after {
		top: 41px;
	}
	.service-grid-bg {
		height: 65px;
		width: 65px;
	}

    .service-grid-text h5{
        font-size: 9px;
        font-weight: normal;
        line-height: 1.05;
        max-width: 56px;          /* под 65x65 */
        padding: 0 4px;
    }

    .service-grid-text i.fa{
        font-size: 12px;
    }
	.w3l-services-grids {
		left: 45px;
	}
	.w3l-services-grids1 {
		left: 100px !important;
		top: 91px !important;
	}
	.w3l-services-grids2 {
		left: 178px;
		top: 153px;
	}
	.services {
		padding: 2em 0 3em;
	}
	.agileits-about-grids {
		margin: 2em 0 0 0;
	}
	.about-grid {
		margin-bottom: 1em;
	}
	.about-grid:nth-child(3){
		margin-bottom: 1em;
	}
	.about-grid:nth-child(4) {
		margin-bottom: 0em;
	}
	.nav-tabs > li {
		margin: 0 4px 5px 0;
	}
	.w3_tab_img_left {
		width: 100%;
	}
	.w3_tab_img_left h3 {
		font-size: 1.5em;
	}
	.w3_tab_img_left p {
		font-size: 1em;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 4em 1em 2em !important;
	}
	.agile-contact-grids {
		margin: 2em 0 0 0;
	}
}
@media(max-width:320px){
	.agile-logo h1 a {
		font-size: 1.1em;
	}
	.agile-logo h1 a span {
		letter-spacing: 13px;
	}
	.m_nav_ham {
		width: 20px !important;
		height: 2px !important;
		margin: 4px auto !important;
	}
	#m_nav_menu {
		top: 24px !important;
	}
	.w3ls-text a {
		font-size: .9em;
	}
	.w3l-services-grids {
		left: 37px;
		top: 12px;
	}
	.w3l-services-grids1 {
	    left: 88px !important;
		top: 63px !important;
	}
	.w3l-services-grids2 {
		left: 164px;
		top: 127px;
	}
	.services {
		padding: 2em 0 2em;
	}
	.agileits-caption {
		height: 220px;
	}
	[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
		padding: 2em 1em 2em !important;
	}
	.w3ls-skills-grids {
		margin-bottom: 2em;
		width: 100%;
	}
	.contact textarea {
		min-height: 10em;
	}
	.contact input[type="submit"] {
		padding: .5em 2em;
	}
	.footer-logo h3 a {
	    font-size: 1.6em;
	}
	.footer-logo h3 a span {
		letter-spacing: 11px;
	}
	.footer-grid h3, .footer-list h3 {
		font-size: 1.2em;
	}
	.footer-grid input[type="submit"] {
		padding: .5em 1.2em;
	}
	.m_nav_ham_2_open {
		margin-top: -6px !important;
		margin-right: 1px !important;
	}
	.m_nav_ham_1_open {
		margin-top: 8px !important;
	}
}
/*-- //responsive --*/
.imghvr-shutter-in-out-diag-2 {
    width: 100%;
    max-height: 250px;        /* фиксируем высоту карточки */
    height: 250px;
    overflow: hidden;     /* обрезаем лишнее */
}

.imghvr-shutter-in-out-diag-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* не растягиваем */
    object-position: center 80%; /* 🔥 показываем НИЗ */
}

#myTab {
    display: flex;
    justify-content: center; /* 🔥 центрируем */
    /*border-bottom: none;     !* опционально — убираем линию *!*/
}
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 80px;
}

.header-logo img{
    height: 60px;
    display: block;
}

.header-nav{
    display: flex;
    gap: 30px;
}

.header-nav a{
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color .3s;
}

.header-nav a:hover{
    color: #45624e;
}

.btn-request{
    background: #45624e;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s;
}

.btn-request:hover{
    background: #2f4b39;
}

.footer-list a {
    color: #ffffff;
}

/* desktop defaults */
.btn-mobile { display: none; }
.btn-desktop { display: inline-block; }

/* burger button */
.btn-burger{
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    cursor: pointer;
}
.btn-burger span{
    height: 2px;
    width: 100%;
    background: #222;
    border-radius: 2px;
}

/* mobile behaviour */
@media (max-width: 768px){
    .header-nav{ display: none; }
    .btn-desktop{ display: none; }
    .btn-mobile{ display: inline-flex; }
}

/* drawer */
.mobile-drawer{
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    background: #fff;
    z-index: 1100;
    box-shadow: -20px 0 50px rgba(0,0,0,.2);
    transform: translateX(100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.mobile-drawer.is-open{ transform: translateX(0); }

.drawer-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.drawer-overlay.is-open{
    opacity: 1;
    pointer-events: auto;
}

.drawer-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.drawer-title{ font-weight: 800; font-size: 18px; }
.drawer-close{
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav{
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
}

.drawer-link{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    font-weight: 700;
    background: rgba(0,0,0,.03);
}
.drawer-link:hover{ background: rgba(0,0,0,.06); }

.drawer-actions{
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.drawer-cta{
    background: #45624e;
    color: #fff;
    border: none;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.drawer-whatsapp{
    text-align: center;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.12);
    color: #222;
    font-weight: 700;
}

.request-modal{
    border-radius: 18px;
    overflow: hidden;
}

.request-modal__header{
    background: #f7faf7;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 22px;
}

.request-modal__title{
    margin: 0;
    font-weight: 900;
    color: #222;
}

.request-modal__subtitle{
    margin: 6px 0 0;
    color: #666;
    font-size: 14px;
}

.request-modal__close{
    font-size: 28px;
    opacity: .7;
}

.request-modal__body{
    padding: 22px;
}

.request-modal__left{
    padding-right: 24px;
    border-right: 1px solid rgba(0,0,0,.06);
}

.request-modal__list{
    margin: 12px 0 18px;
    padding-left: 18px;
}

.request-modal__list li{
    margin-bottom: 8px;
    color: #444;
}

.request-modal__contact{
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 14px;
}

.request-modal__phone a{
    color: #45624e;
    font-weight: 800;
    text-decoration: none;
}

.request-modal__name{
    margin-top: 6px;
    color: #666;
}

.request-modal__btn{
    width: 100%;
    background: #45624e;
    color: #fff;
    border: none;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.request-modal__btn:hover{
    background: #2f4b39;
}

.request-modal__policy{
    margin-top: 10px;
    font-size: 12px;
    color: #777;
}

/* mobile modal */
@media (max-width: 768px){
    .request-modal__left{
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,.06);
        padding-right: 0;
        padding-bottom: 14px;
        margin-bottom: 14px;
    }
}

/* partners */
.partners{
    padding: 4em 0 3em;
    background: #ffffff;
}

.partners-marquee{
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.partners-track{
    display: flex;
    width: max-content;
    animation: partners-scroll 30s linear infinite; /* 🔥 скорость */
}

.partner{
    flex: 0 0 auto;
    max-width: 220px;               /* 5 логотипов ≈ 1100px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
}

.partner img{
    max-height: 60px;
    max-width: 100%;
    opacity: 0.9;
    transition: opacity .3s, transform .3s;
    /*filter: grayscale(100%);*/
}

.partner img:hover{
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* animation */
@keyframes partners-scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}
/* по умолчанию (большие экраны) */
.txt-mobile { display: none; }
.txt-desktop { display: inline; }

/* на мобильных показываем короткий текст */
@media (max-width: 414px){
    .txt-desktop { display: none; }
    .txt-mobile { display: inline; }
}

/* fade-in on scroll */
.fade {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}

.fade.is-visible {
    opacity: 1;
    transform: none;
}

/* если нужно отключать анимации людям с reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade { transition: none; transform: none; }
}
.footer-disclaimer{
    margin-top: 6px;
    font-size: 12px;
    opacity: .8;
    line-height: 1.35;
}
