/***MediaScreen 0-620***/

@media screen and (max-width:960px) {

html, 
input, 
textarea, 
p {
position:relative;
font:400 14px/20px 'gilroy', Tahoma, Calibri;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

body {
width:100%;
min-width:320px;
overflow-x:hidden !important;
}

h1, .slide h3 {font-size:28px;}

h2,
h3,
h4,
h5 {font-size:24px;}

.container {width:90%;}

header .header-contact,
header .nav,
.logo-topgp .logo-tag, 
header .header-8800 a:nth-child(2),
header .link-my-project:after, 
.slide p,
p.important.line-before:before,
.item-grid .item .item-img li:nth-child(3), 
.carousel-block .item-img li:nth-child(3),
.item-grid .item .img.img-scale:after,
ul.breadcrumb,
.anchor-links,
section .nav,
section .logo-name,
.tabs__caption li:after,
.tabs a.pseudo-li:after
/*,.popup input[type="file"]*/ {display:none!important;}

.menu-wrap {display:block;}

.logo-topgp .logo-name, 
header .header-8800 a:nth-child(1) {
font-size:20px;
line-height:48px;
}

.logo, 
header .header-8800,
.slide h3 {margin:0;}

.logo-topgp {padding-left:44px;}

header .link-my-project {margin-right:0;}

.menubutton {display:block;}

#slider-wrap,
.start-screen .container {height:360px;}

.slide .container {
width:100%;
padding:0 40px 80px;
}

h1 + p.important.line-before {padding-left:0;}
.home-page .padding-right-240 {padding-right:0;}
.home-page .margin-left-120 {margin-left:0;}

ul.breadcrumb + .content {padding-top:20px;}

.carousel-button {top:calc(100% + 30px);}

.carousel-block,
.item-logo .carousel-block {width:90vw;}

.item-grid.item-block .item p:first-child, 
.carousel-block p:first-child {font-size:16px;}

.item-grid .item .item-img li, 
.carousel-block .item-img li {
width:33%;
height:80px;
}

.item-grid,
.item-grid .item {
margin-right:0;
margin-left:0;
}

.item-grid,
.item-grid .item,
.item-grid.item-grid-2 .item,
.item-grid.item-grid-3 .item,
.item-grid.item-grid-4 .item,
.item-grid.item-grid-5 .item,
.popup, 
.popup input[type="text"],
.popup input[type="submit"],
.popup.container,
.list-doc li,
.item-grid.item-grid-3 .item.item-wide,
.item-grid .item .img.img-scale {width:100%;}

.item-grid .item .img + .wrap {padding:100px 0 0;}

.item-grid.item-mob-solutions .item {
height:200px;
padding:0;
border:0;
}

.item-grid.item-mob-solutions .item .img.img-scale + .wrap {
position:absolute;
top:50%;
left:0;
transform:translateY(-50%);
-webkit-transform:translateY(-50%);
padding:20px;
color:var(--basic-white);
z-index:45;
}

.item-grid.item-mob-solutions .item .img.img-scale + .wrap p.color-grey {color:var(--basic-white);}

.item-grid.item-mob-solutions .item:hover {
transform:scale(1.02);
-webkit-transform:scale(1.02);
}

.item-grid.item-mob-solutions .item:before {
content:'';
position:absolute;
top:0;
left:0;
display:block;
width:100%;
height:100%;
background:var(--basic-black);
opacity:.6;
z-index:23;
transition:all .4s ease;
}

.item-grid.item-logo .item, 
.item-grid.item-reviews .item {
width:calc(50% - 10px);
float:left;
margin-top:20px;
}

.item-grid.item-logo,
.item-grid.item-reviews{margin-top:0;}

.item-grid.item-logo .item:nth-child(even), 
.item-grid.item-reviews .item:nth-child(even) {margin-left:20px;}

.item-grid.item-logo .item {height:80px;}

.popup input[type="text"] {margin:0 0 4px;}

.popup textarea {
display:block;
margin:0;
}

footer .nav > li > a {line-height:25px;}

footer > .wrap:last-child p {
display:block;
margin:0;
}

footer > .wrap:last-child p + p {margin:10px 0 0;}

.big-link {height:240px;}
.big-link .wrap {padding:20px;}

/*** gall ***/

.gall li {
width:calc(50% - 6px);
height:120px;
}

.gall li img {
max-height:160px;
min-height:120px;
}

.lb-image {
width:95vw !important;
max-width:95vw !important;
height:auto !important;
}

.lb-prev, .lb-next {
top:calc(100% + 20px);
transform:none;
-webkit-transform:none;
width:56px;
height:56px;
}

.lb-nav a.lb-prev {
background:url(../images/icons/gall/icon-prev.svg) center no-repeat rgba(51,64,89,.5);
background-size:35%;
}

.lb-nav a.lb-next {
background:url(../images/icons/gall/icon-next.svg) center no-repeat rgba(51,64,89,.5);
background-size:35%;
}

.lb-data .lb-close {
top:-48px;
right:10px;
}

.item-grid .img-bva {width:70%;}

.img-wrapper {
float:none;
width:100%;
margin:0 0 40px;
}

.block-link-img {
width:80px;
height:80px;
}

.block-link-text {width:calc(100% - 120px);}

.tabs__caption li,
.tabs a.pseudo-li {
display:block;
font-size:28px;
margin:0 0 20px 0;
}

.home-page .tabs__caption li {font-size:24px;}

/*.tabs__caption li:after {
content:'';
position:absolute;
top:calc(100% + 19px);
left:0;
display:block;
width:80px;
height:1.5px;
background:var(--basic-grey);
}*/

section .logo {
width:36px;
height:48px;
padding:0;
margin-right:20px;
}

section .menubutton {padding:16.5px 20px 16px 0;}

section .header-8800 a:nth-child(1) {
font-size:20px;
line-height:48px;
}

}

@media screen and (max-width:960px) and (orientation:landscape) {

.menu-wrap .nav li {float:left;}

.menu-wrap .nav li a {
display:inline-block;
padding:10px 40px;
width:auto;
white-space:nowrap;
}    

.item-grid .img-bva {width:35%;}
    
.lb-image {
min-width:auto !important;
max-width:90vw !important;
width:auto !important;
height:auto !important;
max-height:90vh !important;
}

.lb-prev, .lb-next {
top:50%;
transform:translateY(-50%);
-webkit-transform:translateY(-50%);
}

.lb-data .lb-close {top:-10px;}

.gall li {
width:calc(33.3% - 6px);
height:120px;
}

.item-num .item,
.item-news-mob .item,
.item-pro-mob .item {width:calc(49.5% - 10px) !important;}

.item-num .item:nth-child(even),
.item-news-mob .item:nth-child(even),
.item-pro-mob .item:nth-child(even) {margin-left:20px;}

h2.count-num + p {padding:0 20px;}

.item-grid.item-logo .item {
float:left;
width:calc(33.333% - 15px);
height:120px;
margin-left:20px !important;
}

.item-grid.item-reviews .item {
width:calc(25% - 18px);
margin-left:20px !important;
}

.item-grid.item-logo .item:nth-child(3n+1), 
.item-grid.item-reviews .item:nth-child(4n+1) {margin-left:0 !important;}

.item-logo .item img {
max-width:55%;
max-height:50%;
}

.carousel-block {width:60vw;}
.item-logo .carousel-block {width:32vw;}

.carousel-wrapper:before {
content:'';
position:absolute;
top:0;
right:0;
width:80px;
height:100%;
background:-webkit-linear-gradient(right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 60%,#fff 100%);
background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 60%,#fff 100%);
z-index:99;
}

.item-grid.item-mob-solutions {margin-top:20px !important;}

.item-grid.item-mob-solutions .item {
float:left;
width:calc(50% - 10px);
margin:20px 20px 0 0;
}

.item-grid.item-mob-solutions .item:nth-child(even) {margin-right:0;}

.img-wrapper {
float:right;
width:50%;
margin:0 0 20px 40px;
}

.popup textarea {
height:74px;
min-height:74px;
}

.popup input[type="text"],
.popup input[type="text"]:nth-child(2n) {
width:calc(24.8% - 2px);
margin:0 4px 4px 0;
}

.popup input[type="text"]:nth-child(4n) {margin-right:0;}

.block-link-img {
width:180px;
height:180px;
}

.block-link-text {width:calc(100% - 220px);}

}