/*
*
* Здесь пытаемся уменьшить энтропию интернета 
*
*/

/* Cyrillic */
@font-face {
	font-family: 'Titillium Web[RUS by Daymarus]';
	src: url('font/titilliumwebrusbydaymarius_bd.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Titillium Web[RUS by Daymarus]';
	src: url('font/titilliumwebrusbydaymarius_rg.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Titillium Web[RUS by Daymarus]';
	src: url('font/titilliumwebrusbydaymarius_light.woff2') format('woff2');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Titillium Web[RUS by Daymarus]';
	src: url('font/titilliumwebrusbydaymarius_ex.woff2') format('woff2');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}
/*
* {
	border:  1px solid rgba(0, 0, 0, 0.28);
}
*/

/* colors */

:root {
    --color-font: #16354D;
    --color-font1: #024dc0;
    --color-font2: #0C151C;
    --color-font3: #E4E5EA;
    --color-background1: #6B99C3;
    --color-background2: #D2D2D4;
    --color-background3: #E4E5EA;
    --color-white: white;
    --color-black: black;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Titillium Web[RUS by Daymarus]', sans-serif;
	font-size: 16px;
	color: var(--color-font);
}
img {
	display: block;
	vertical-align: top;
	border: 0px;
}

/* header */

header {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	min-height: 260px;
	background-image: url(img/logo-gray.svg);
	background-repeat: no-repeat;
	background-size: 20%;
	background-position: 90% center;
	background-color: var(--color-background3);
    text-shadow: 0.5px 0.5px 1px #fff;
}
.header-logo {
	width: 150px;
	height: auto;
    padding-left: 40px;
}

header h1 {
	font-size: 1.6rem;
	font-weight: 600;
}
header h2 {
	font-size: 2.0rem;
	font-weight: 400;
    line-height: 110%;
    text-align-last: right;
}
header h2::first-line {
    font-size: 2.4rem;
}

/* Contacts */

.contacts-item {
    display: block;
    list-style: none;
    padding-right: 40px;
}
.contacts-item a {
	display: list-item;
    text-decoration: none;
    color: var(--color-font);
}
.contacts-item a:visited {
    color: var(--color-font);
}

/* Main  */

/* Navigation */

.about-wrap {
    background-color: #fff;
}
.about-wrap .navigate {
	display: flex;
    margin: 0 auto;
    padding: 30px 0;
    width: 90%;
    justify-content: space-evenly; 
    list-style: none;
}
.about-wrap .navigate a {
    display: block;
    padding: 2px 20px;
    text-decoration: none;
    color: var(--color-font);
    transition: transform 0.2s ease-out;
    position: relative;
    background-color: var(--color-background1);
    color: var(--color-font3);
}
.about-wrap .navigate a:after {
    display: block;
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0%;
    background-color: var(--color-background1);
    z-index: -1;
    transition: transform 0.2s ease-out;
}
.about-wrap .navigate a:hover {
    transform: scale(1.2);
}
.about-wrap .navigate a:hover:after{
    transform: scale(1.3, 1.7);
}

/* About */

.about > .wrap {
    display: flex;
    justify-content: space-evenly;
}

/* Slider */

.slider {
    display: flex;
    overflow: hidden;
    justify-content: space-evenly;
    width: 1000px;
    margin: 20px;
    position: relative;
}
.slider-item {
    overflow: hidden;
    width: 0px;
    position: relative;
    float: left;
    opacity: 0;
}
.slider-item.active {
    width: 100%;
    opacity: 1;
}
.slider-indicator {
    display: flex;
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 1;
    padding: 0;
}
.slider-indicator li {
    display: block;
    margin: 0 10px;
    cursor: pointer;
}
.slider-indicator .inner {
    width: 100px;
    height: 4px;
    margin: 20px;
    background-color: var(--color-font1);
}
.slider-indicator li:hover .inner,
.slider-indicator li.active .inner {
    background-color: var(--color-font3);
    transition: background-color 0.2s ease-out;
}
.slider-buttons {
    display: none;
    
    position: absolute;
    height: 40px;
    width: 100%;
    z-index: 2;
}
.slider-buttons > div {
    width: 40px;
    height: 100%;
    top: 0px;
    cursor: pointer;
}
.slider-buttons .next {
    float: right;
}
.slider-buttons .prev {
    float: left;
}

.about .wrap .text {
    width: 35%;
    padding: 30px 50px 100px 50px;
}
main h3,
main h4 {
    padding-left: 20%;
    font-size: 2rem;
}
.about-history ul,
.about-history li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.about-history ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding-top: 30px;
}
.about-history li {
	width: 20%;
    min-height: 206px;
    margin: 0 1px 30px;
    background-color: var(--color-background1); 
    color: var(--color-font3);
    transition: transform 0.15s ease-out;
    cursor: default;
    text-shadow: 0.5px 0.5px 1px var(--color-font);
}
.about-history li:hover {
    transform: scale(1.1);
}
.about-history li > p {
    padding: 0 20px;
}
.about-history li .title {
    position: relative;
    text-align: right;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 120%;
}
.about-history li .title:after {
    display: block;
    content: "";
    width: 110px;
    height: 4px;
    position: absolute;
    right: 15px;
    background-color: var(--color-font);
    transition: transform 0.15s ease-out;
}
.about-history li:hover .title:after {
    transform: scaleX(1.2);
}
.text.about.credo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-image: url(img/bacground-banner.jpg);
    background-size: 100%;
    background-position: center;
    position: relative;
}
.text.about.credo:before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--color-background1);
    opacity: 0.3;
}
.text.about.credo p {
    font-size: 1.5rem;
    color: var(--color-font3);
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0.5px 0.5px 1px var(--color-font);
}
.block-animation {
    opacity: 0;
}
.block-animation.show {
    animation: ani 0.4s forwards;
}
@keyframes ani {
    0%   {opacity: 0;}
    100% {opacity: 1;}
}

/* Production */

.production {
    padding-top: 0.5px;
    color: var(--color-font3);
    background-color: var(--color-background1);
    text-shadow: 0.5px 0.5px 1px var(--color-font);
}
.production .production-text-wrap {
    display: flex;
    justify-content: space-evenly;
}
.production .text-block {
    width: 35%;
    padding: 30px 50px;
}
.production .production-text-wrap > :last-child {
    padding-top: 130px;
    padding-bottom: 130px;
}
.text.production.credo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-image: url(img/bacground-banner2.jpg);
    background-size: 100%;
    background-position: center;
    position: relative;
}
.text.production.credo:before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--color-background3);
    opacity: 0.5;
}
.text.production.credo p {
    padding: 0 120px;
    font-size: 1.5rem;
    color: var(--color-font);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Portfolio */

#portfolio {
    height: 90vh;
    position: relative;
}
#portfolio:after {
    content: '';
    display: block;
    width: 100%;
    height: 120%;
    position: fixed;
    top: -20%;
    left: 0;
    z-index: -1;
    opacity: 0.2;
    background-image: url(img/car-elements2.jpg);
    filter: blur(2px);
    background-size: cover;
}
.portfolio-list {
    height: auto;
    padding-top: 1px;
    padding-bottom: 30px;
}
.portfolio-list .tabs-wrap {
    width: 65%;
    height: 80%;
    margin: 0 auto;
    padding-bottom: 1px;
    position: relative;
    z-index: 1;
}
.portfolio-list .title-list {
    list-style: none;
    display: flex;
    margin: 0 auto;
}
.portfolio-list .title-list li {
    margin-right: 10px;
    padding: 0 10px 2px;
    cursor: pointer;
    user-select: none;
    border-left: 3px solid transparent;
    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;    
    transition: border-color 0.4s ease-out;
    position: relative;
    top: 3px;
    font-weight: 600;
}
.portfolio-list .title-list li.active {
    border: 3px solid;
    border-color: var(--color-background2) var(--color-background2) #fff;
    border-radius: 3px;
    z-index: 2;
    background-color: var(--color-white);
}
.portfolio-list .content-list {
    display: flex;
    margin: 0;
    height: auto;
    padding: 0 0 0 1px;
    list-style: none;
    position: relative;
}
.portfolio-list .content-list li {
    display: block;
    margin: 0px 0px 30px;
    padding: 0;
    width: 0px;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
}
.portfolio-list .content-list li.active {
    opacity: 1;
    width: 100%;
    height: 100%;
    border: 3px solid;
    border-color: var(--color-background2);
    border-radius: 3px;
    z-index: 1;
    background-color: var(--color-white);
}
.portfolio-list .content-list li p {
    width: 80%;
    min-height: 7rem;
    margin: 40px auto 20px;
    padding: 0 15px 0 15px;
    font-size: 1.1rem;
    /*background-color: var(--color-background3);*/
    color: var(--color-font);
}
.portfolio-list .img-wrap {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 80px 0 0 0;
    padding: 0 0 115px;
}
.portfolio-list .img-wrap img {
	width: 150px;
    transition: transform 0.2s ease-in-out;
    position: relative;
}
.portfolio-list .img-wrap img:nth-of-type(odd) {
    
}
.portfolio-list .img-wrap img:nth-of-type(even) {
    /*top: 110px;*/
}
.portfolio-list .img-wrap img:hover {
    transform: scale(1.5);
}

/* Manufacture */

/* Quality */

.quality-and-certification {
    padding-top: 1px;
    padding-bottom: 130px;
    background-color: var(--color-background3);
    text-shadow: 0.5px 0.5px 1px var(--color-white);
}
.quality-and-certification h5 {
    margin: 40px auto;
    width: 75%;
    font-size: 1.5rem;
    font-weight: 600;
}
.quality-and-certification p {
    width: 75%;
    margin: 30px auto;
}
.quality-and-certification .img-wrap {
	display: flex;
	justify-content: space-evenly;
}
.img-cert {
	width: 20%;
    cursor: pointer;
}
.img-cert.active {
    width: auto;
    height: 85%;
    position: fixed;
    top: 50vh;
    left: 50vw;
    z-index: 1000;
    cursor: default;
}
.dark-background {
    display: none;
    opacity: 0;
}
.dark-background.active {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    background-color: var(--color-black);
    opacity: 0.75;
}
.close-cross {
    display: none;
}
.close-cross.active {
    display: block;
    width: 40px;
    height: 40px;
    background-color: transparent;
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease-out;
}
.close-cross.active::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    transform: rotate(45deg) rotateY(88deg);
    position: absolute;
}
.close-cross.active::after {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    transform: rotate(-45deg) rotateY(88deg);
    position: absolute;
}
.close-cross.active:hover {
    transform: rotate(180deg);
    transition: transform 0.2s ease-out;
}

/* Development */

.development {
    padding-top: 1px;
    background-color: #fff;
    padding-bottom: 160px;
}
.development .text-block p {
    width: 75%;
    margin: 30px auto;
}
.development .img-wrap {
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.development .img-wrap img {
    display:  flex;
    width: 250px;
}
.text.production.credo {
    text-shadow: 0.5px 0.5px 1px var(--color-font3);
}

/* Infrastructure */

.infrastructure {
    padding-top: 0.5px;
    padding-bottom: 130px;
    background-color: var(--color-background3);
    text-shadow: 0.5px 0.5px 1px var(--color-white);
}
.infrastructure .block-infra {
    margin: 0 0 30px 0;
    display: flex; 
    align-items: center;
}
.infrastructure .block-infra:nth-child(odd) {
    justify-content: flex-start;
}
.infrastructure .block-infra:nth-child(odd) img {
    order: 1;
}
.infrastructure .block-infra:nth-child(even) {
    justify-content: flex-end;
}
.infrastructure .block-infra img {
    width: 35%;
    margin: 0 100px;
    flex-grow: 3;
}
.infrastructure .block-infra p {
    margin: 0 100px;
    flex-grow: 1;
    flex-shrink: 5;
}

/* Contacts */

.contacts {
    display: flex;
    background-color: var(--color-background1);
    color: var(--color-font3);
}
.contacts .block-wrap {
    width: 33.3%;
}
.block-wrap.cont,
.block-wrap.recv {
    display: flex;
    flex-flow: row wrap;
    align-content: stretch;
    padding-bottom: 35px;
    text-shadow: 0.5px 0.5px 1px var(--color-font);
}
.block-wrap.cont h3,
.block-wrap.recv h3 {
    flex: 1 100%;
}
.block-wrap.cont .wrap,
.block-wrap.recv ul {
    flex: 1 100%;
    margin: 0 30px;
    padding: 0;   
}
.block-wrap.cont br {
    display: none;
}
.contacts .block-wrap.recv li {
    list-style: none;
}
.contacts .block-wrap a {
    color: var(--color-font3);
    text-decoration: none;
}
.contacts .block-wrap a:visited {
    color: var(--color-font3);
}

/* footer */

footer {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	min-height: 230px;
	/*min-height: 220px;*/
	background-image: url(img/logo.svg);
	background-repeat: no-repeat;
	background-size: 20%;
	background-position: 90% center;
	background-color: var(--color-background3);
    text-shadow: 0.5px 0.5px 1px #fff;
}
footer > * {
    margin: 0 60px;
}
footer a {
    color: var(--color-font);
    text-decoration: none;
}
footer a:visited {
    color: var(--color-font);
}
footer .navigate a {
    display: list-item;
    list-style: none;
}
header .contacts-item a,
footer .contacts-item a,
footer .navigate a {
   transition: transform 0.3s ease;
}
header .contacts-item a:hover,
footer .contacts-item a:hover,
footer .navigate a:hover {
    transform: scale(1.05);
}
#contacts .block-wrap a {
    transition: transform 0.3s ease;
}
#contacts .block-wrap a:hover {
    transform: scale(1.05);
}
.footer-logo {
	width: 200px;
}
.buttonUp {
    display: none;
}

@media screen and (max-width: 1440px) {
    .development .img-wrap {
        justify-content: center;
    }
    .development .img-wrap img {
        width: 210px;            
    }
    header .img-wrap {
        flex-grow: 2;
    }
    header .header-title {
        padding: 0 40px;
    }
    header .contacts-item {
        flex-grow: 2;
        padding-right: 0;
    }
    .about-wrap .navigate a {
        padding: 2px 15px;
    }
    .about-wrap .navigate a:hover {
        transform: scale(1.1);
    }
    .about-wrap .navigate {
        width: 97%;
        justify-content: space-between;
    }
    .text.about.credo p {
        text-align: center;
    }
    .portfolio-list .tabs-wrap {
        width: 85%;
    }
    .quality-and-certification h5 {
        width: 85%;
    }
    .quality-and-certification p {
        width: 85%;
    }
    .contacts h3,
    .contacts h4 {
        padding-left: 15%;
    }
}

@media screen and (max-width: 1280px) {
    .portfolio-list .img-wrap {
        margin: 50px 0 0 0;
    }
    .portfolio-list .img-wrap img {
        width: 140px;
    }
    .development .text-wrap p {
        width: 85%;
    }
    .development .img-wrap {
        width: 85%;
    }
    footer > * {
        margin: 0 40px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    header,
    footer {
        background-size: 30%;
        background-position: 95% center;
    }
    header h2 {
        font-size: 1.6rem;
    }
    header h2::first-line {
        font-size: 1.6rem;
    }
    header .header-title {
        padding: 0 60px;
    }
    .slider {
        width: 600px;
    }
    .slider-indicator .inner {
        width: 70px;
    }
    .slider-item img {
        width: auto;
    }
    .text.about.credo,
    .text.production.credo {
        height: 250px;
    }
    .portfolio-list .tabs-wrap {
        width: 95%;
    }
    .infrastructure .block-infra p {
        margin: 0 50px; 
    }
    .infrastructure .block-infra img {
        width: 45%;
        margin: 0 50px; 
    }
}

@media screen and (min-width: 700px) and (max-width: 1023px) {
    html,
    body {
        font-size: 1.05rem;
    }
    header,
    footer {
        background-size: 230px;
        background-position: 5% center;
    }
    header {
        min-height: 190px;
        flex-flow: row wrap;
        align-content: center;
    }
    header .img-wrap {
        order: 1;
        align-self: flex-end;
    }
    .header-logo {
        width: 130px;
        padding: 15px 25px;
        float: inline-end;
    }
    header h2 br {
        display: none;
    }
    header .header-title {
        padding: 0 0 0 25px;
        flex-grow: 3;
    }
    header h1 {
        font-size: 1.4rem;
    }
    header h2,
    header h2::first-line {
        font-size: 1.1rem;
        text-align-last: left;
    }
    header .contacts-item {
        order: 3;
        flex-grow: 1;
        text-align: right;
        padding-right: 25px;
    }
    header .contacts-item a, 
    footer .contacts-item a, 
    footer .navigate a {
        
    }
    header .contacts-item a:hover, 
    footer .contacts-item a:hover, 
    footer .navigate a:hover {
        transform: none;
    }
    .about-wrap .navigate {
        flex-direction: column;
        width: 95%;
        padding: 15px 0;
    }
    .about-wrap .navigate a {
        margin: 4px 0;
    }
    .about-wrap .navigate a:hover {
        transform: scale(1.02);
    }
    .about-wrap .navigate a:after {
        display: none;
    }
    .about > .wrap {
        flex-direction: column;
    }
    .slider {
        width: 96%;
        margin: 15px;
    }
    .about .wrap .text {
        width: 91%;
        padding: 30px 30px 50px 30px;
    }
    .about-history li {
        width: 30%;
    }
    .about-history li:hover {
        transform: scale(1.02);
    }
    .text.about.credo {
        height: 185px;
    }
    .text.about.credo p {
        padding: 0 15px;
        text-shadow: 1px 1px 1px #000;
    }
    .production .text-block {
        padding: 30px;
    }
    #portfolio {
        height: auto;        
    }
    #portfolio:after {
        display: none;
    }
    .portfolio-list .tabs-wrap {
        width: 95%;
        height: auto;
    }
    .portfolio-list .title-list {
        padding: 0;
        justify-content: space-between
    }
    .portfolio-list .title-list li {
        margin: 0;
        top: 4px;
        padding: 0 5px 3px;
        flex-grow: 1;
        width: 16.6%;
    }
    .portfolio-list .content-list li {
        padding-bottom: 20px;
    }
    .portfolio-list .content-list li p {
        font-size: inherit;
        min-height: 6.3rem;
    }
    .portfolio-list .title-list li:first-child {
        margin-left: 1px;
    }
    .portfolio-list .img-wrap img {
        width: 110px;
    }
    .portfolio-list .img-wrap img:nth-of-type(2n) {
        top: 0;
    }
    .portfolio-list .img-wrap img:active {
        transform: scale(1.3);
        z-index: 10;
    }
    .quality-and-certification {
        padding-bottom: 90px; 
    }
    .img-cert {
        cursor: default;
    }
    .development {
        padding-bottom: 90px;
    }
    .development .img-wrap {
        width: 95%;
    }
    .text.production.credo {
        background-size: cover;
    }
    .text.production.credo p {
        padding: 0 30px;
        text-shadow: 1px 1px 1px #fff;
    }
    .infrastructure {
        padding-bottom: 80px;
    }
    .infrastructure .block-infra {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .infrastructure .block-infra:nth-child(odd) {
        justify-content: center;
     }
    #infrastructure .block-infra img {
        order: 2;
        width: 55%;
        margin: 20px auto;
    }
    #infrastructure .block-infra p {
        order: 1;
    }
    .infrastructure .block-infra:nth-child(even) {
       justify-content: center;
    }
    .contacts {
        flex-flow: wrap;
    }
    .contacts .block-wrap {
        width: 100%;
    }
    .contacts .block-wrap.cont {
        order: 2;
        width: 50%;
        padding-bottom: 40px
    }
    .contacts .block-wrap.map {
        order: 1;
        width: 50%;
    }
    .contacts .block-wrap.recv {
        order: 3;
        padding-bottom: 50px;
    }
    footer {
        background-size: 260px;
        background-position: 95% center;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    footer > * {
        margin: 0 10px;
        text-shadow: 1px 1px 1px #fff;
    }
    footer .contacts-item {
        padding-right: 0;
        flex: 1 100%;
        padding: 5px 30px;
        text-align: center;
    }
    .block-wrap.cont br {
        display: inline;
    }
}

@media screen and (max-width: 699px) {
    header {
        flex-flow: row wrap;
        min-height: 180px;
        background-size: 210px;
        background-position: 10px center;
    }
    header .img-wrap {
        flex-grow: 1;
        order: 1;
    }
    .header-logo {
        width: 70px;
        padding: 5px;
    }
    header .header-title {
        padding: 0 10px;
        flex-grow: 2;
        order: 2;
    }
    header .header-title br {
        display: none;
    }
    header .header-title h1,
    header .header-title h2,
    header .header-title h2:first-line {
        font-size: 1.1rem;
    }
    header .contacts-item {
        padding: 5px 0 5px 10px ;
    }
    main h3, 
    main h4 {
        padding-left: 10%; 
    }
    .about-wrap .navigate {
        flex-direction: column;
        width: 95%;
        padding: 15px 0;
    }
    .about-wrap .navigate a {
        margin: 4px 0;
    }
    .about-wrap .navigate a:hover {
        transform: scale(1.02);
    }
    .about-wrap .navigate a:after {
        display: none;
    }
    .about > .wrap {
        display: block;
    }
    .about-history li:hover {
        transform: scale(1.02);
    }
    .slider {
        width: 95%;
        height: 400px;
        margin: 0 auto;
    }
    .slider-indicator {
        width: 100%;
        right: 0;
        justify-content: center;
    }
    .slider-indicator .inner {
        width: 20px;
        height: 20px;
    }
    .slider-item.active img {
        width: auto;
        height: 100%;
        position: relative;
        left: 0%;
    }
    .about .wrap .text {
        width: 95%;
        padding: 0 10px;
    }
    .about-history {
        flex-flow: column;
    }
    .about-history li {
        width: 95%;
        min-height: 195px;
        margin: 0 auto 10px;
    }
    .about-history li .title {
        font-size: 1.4rem;
        line-height: 110%;
    }
    .about-history li > p {
        padding: 0 15px;
    }
    .text.about.credo {
        height: 250px;
        padding: 0 10px;
        background-size: cover;
    }
    .text.about.credo p {
        font-size: 1.4rem;
        line-height: 120%;
        text-shadow: 1px 1px 1px #000;
    }
    .production .production-text-wrap {
        flex-flow: column nowrap;
    }
    .production .text-block {
        width: 95%;
        padding: 20px 10px;
    }
    .production .production-text-wrap > :last-child {
        padding-top: 20px;
        padding-bottom: 50px;
    }
    #portfolio {
        height: auto;
    }
    #portfolio::after {
        display: none;
    }
    .portfolio-list .tabs-wrap {
        width: 95%;
    }
    .portfolio-list .title-list {
        margin: 0;
        padding: 0 0 0 1px;
        flex-flow: column nowrap;
    }
    .portfolio-list .title-list li[data-list-id="1"] {
        order: 1;
        margin-right: 0px;
    }
    .portfolio-list .title-list li[data-list-id="2"] {
        order: 2;
        margin-right: 0px;
    }
    .manufacture-portfolio .portfolio-list .title-list li[data-list-id="3"] {
        order: 6;
        margin-right: 0px;
        padding-bottom: 5px;
    }
    .portfolio-list .title-list li[data-list-id="4"] {
        order: 3;
        margin-right: 0px;
    }
    .portfolio-list .title-list li[data-list-id="5"] {
        order: 4;
        margin-right: 0px;
    }
    .portfolio-list .title-list li[data-list-id="6"] {
        order: 5;
        margin-right: 0px;
    }
    .portfolio-list .title-list li {
        border: 0px;
        padding: 3px 0 3px 3px;
    }
    .portfolio-list .title-list li.active {
        border: 0px;
        padding: 3px 0 3px 3px;
        background-color: var(--color-background2);
        position: relative;
    }
    .portfolio-list .title-list li.active:after {
        content: '';
        display: block;
        width: 30px;
        height: 200px;
        position: absolute;
        right: 0px;
        top: 0px;
        z-index: 3;
        background-color: var(--color-background2);
    }
    .portfolio-list .img-wrap {
        padding-bottom: 60px;
    }
    .portfolio-list .img-wrap img:hover {
        transform: scale(1.2);
    }
    .portfolio-list .content-list {
        position: relative;
        z-index: 4;
        height: auto;
    }
    .portfolio-list .content-list li {
        transition: none;
    }
    .portfolio-list .content-list li p {
        width: 90%;
        min-height: 7rem;
        margin: 20px auto 20px;
        padding: 0 10px;
        font-size: 1.0rem;
    }
    .portfolio-list .img-wrap {
        margin: 25px 0 0 0;
        flex-flow: row wrap;
        align-content: space-around;
    }
    .portfolio-list .img-wrap img {
        width: 80px;
    }
    .portfolio-list .img-wrap img:nth-of-type(odd) {
        top: 0;
    }
    .portfolio-list .img-wrap img:nth-of-type(even) {
        top: 0;
    }
    .quality-and-certification {
        padding-bottom: 60px
    }
    .quality-and-certification h5 {
        font-size: 1.1rem;
    }
    .development {
        padding-bottom: 60px;
    }
    .development .text-block p {
        width: auto;
        margin: 30px 15px;
    }
    .text.production.credo {
        height: auto;
        background-size: cover;
    }    
    .text.production.credo p {
        padding: 0 15px;
        text-align: center;
        font-size: 1.4rem;
        line-height: 120%;
        text-shadow: 1px 1px 1px #fff;
    }
    .infrastructure {
        padding-bottom: 60px; 
    }
    .infrastructure .block-infra img {
        width: 95%;
        margin: 0 auto;
        flex-grow: 3;
    }
    .infrastructure .block-infra {
        flex-flow: column;
    }
    .infrastructure .block-infra p {
        margin: 0 15px 15px; 
    }
    .contacts {
        flex-flow: column;
    }
    .contacts .block-wrap {
        width: 100%;
    }
    .block-wrap.cont, 
    .block-wrap.recv {
        padding-bottom: 30px
    }
    .block-wrap.map {
        height: 250px;
    }
    footer {
        min-height: 350px;
        flex-flow: column;
        background-size: 260px;
        background-position: 130% 190px;
    }
    footer > * {
        margin: 10px auto;
        text-shadow: 1px 1px 1px #fff;
    }    
    
    #buttonUp.active {
        display: block;
        width: 40px;
        height: 40px;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1001;
        background-color: transparent;
        border: 1px solid var(--color-font2);
    }
    #buttonUp.active:after {
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        border: 1px solid;
        border-color: 
            var(--color-font2) 
            var(--color-font2) 
            transparent 
            transparent;
        transform: rotate(-45deg);
        top: 15px;
        position: absolute;
        left: calc(50% - 10px);
    }
    .DisplaNone {
        width: 0px;
        height: 0px;
        opacity: 0;
        visibility: hidden;
    }
}
