* {
    font-family: 'Jura', sans-serif;

}
.content {
    line-height: 1.6em;
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.top-menu {
    display: flex;
    flex-direction: row;
    background: #00000087;
    overflow: hidden;
    box-shadow: -2px -2px 9px 3px #5b7181;
}

.bottom {
    background: #95a6c0;
    padding: 16px 28px;
    color: #fff;
    z-index: 2;
    position: relative;
}

a {
    margin: 20px 8px 13px 20px;
    padding: 2px;
    color: #239bbf;
    position: relative;
    font-size: 20px;
    text-decoration: none;
    white-space: nowrap;
    float: right;
}
.top-menu a {
    color: #fff;
}
.bottom a {
    color: #fff;
    margin: 0;
}
a:before {
    content: ' ';
    background: rgba(86, 190, 195, 0.42);;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 4px;
    transition: all 0.5s ease-out;

}
a:hover:before {
    right: auto;
    width: 4px;
    left: -6px;
    height: 100%;
}

.bottom a:before {
    background: rgba(255, 255, 255, 0.52);

}
.content {
    position: relative;

}
.inner {
    padding: 32px;
}
.left-line {
    background: #327bab;
    top: 0;
    bottom: 0;
    width: 12px;
    left: 0px;
    position: absolute;
}
.logo {
    font-size: 52px;
    color: #ffffff;
    white-space: nowrap;
    padding: 0 6px 0 14px;
    background: #25304b;;
    position: relative;
    margin-right: 16px;
    width: 216px;
}
.ru .logo span {
    position: relative;
    top: -3px;
    left: 3px;
}
.logo:before {
    content: ' ';
    position: absolute;
    right: -15px;
    top: -9px;
    background: #25304b;
    width: 28px;
    height: 117%;
    transform: rotate(25deg);
    box-shadow: 3px -4px 0px 0px #327bab;
}
.logo div {
    display: inline-block;
}
/*.logo span {
    transform: rotate(336deg);
    display: inline-flex;
    margin-right: -18px;
    top: 2px;
    position: relative;
}*/
.tns-outer button {
    display: none;
}
.gallery-wrap {
    /*padding: 32px 0 32px 12px;*/
}
.gallery img {
    border: 8px solid #ededed;
    border-bottom-style: dotted;
}

.company-name {
    z-index: 1;
    position: relative;
    text-shadow: 0px 4px #5b8da5;
    top: -4px;
}
.ru .company-name {
    font-size: 36px;
}

.inner {
    padding: 32px 128px 64px 348px;
    max-width: 640px;

    transition: 0.5s all ease-in;
}


.left-line {
    background: #25304b;
    top: 0;
    bottom: 0;
    width: 0px;
    left: 236.5px;
    position: absolute;
    border-right: 3px solid #327bab;

    transition: 0.5s all ease-in;
}
.left-img {
    background: url(../img/ls1.jpg);
    position: absolute;
    left: 0;
    top: -2px;
    height: 100%;
    width: 237px;
    background-repeat-y: no-repeat;
    background-color: #8594b5;
    padding-bottom: 2px;
    transition: 0.5s all ease-in;
}
/*.logo:after {
    content: ' ';
    background: linear-gradient(89deg, #13934c, transparent);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}*/
.gallery {
    height: 373px;
    position: relative;
    overflow: hidden;
    padding: 0 0px;
    margin-bottom: -61px;
    background: url(../img/bg4.jpg);
    background-size: cover;
    background-position-y: bottom;
    top: -61px;
    left: 0px;
    z-index: -1;
}
.m-contact .gallery {
    background: url(../img/bg1.jpg);

}
.m-service .gallery {
    background: url(../img/bg2.jpg);
}
.m-certificate .gallery {
    background: url(../img/bg3.jpg);
}
li {
    margin-bottom: 16px;
}
.certs img {
    max-height: 192px;
    transition: 0.5s all ease-in;
}
.certs img.active {
    max-height: 75vh;
    max-width: 60vw;
}
.hidden {
    display: none;
}
.lbl {
    display: inline;
    font-weight: bold;
}
.info a {
    margin: 0 4px;
    padding: 0;
    float: inherit;
}
.languages {
    position: absolute;
    z-index: 4;
    right: 0;
    padding: 0px 16px;
    margin-top: 4px;
    top: 64px;
    display: flex;
}
.language-switch {
    background: #eef9fdc9;
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-radius: 0 16px;
    cursor: pointer;
    position: relative;
    transition: 0.3s all ease;
    top: 0;
    color: #1a1a1a;
    width: 32px;
    margin-left: 12px;
    border: 1px solid #787777;
}
.language-switch:hover {
    background: #5c616e;
    color: #fff;
    top: 4px;
    border-radius: 16px 0;
}

.ru .language-switch-ru:hover, .en .language-switch-en:hover {
    background: #165c859e;
    color: #fff;
    top: 0;
    border-radius: 0;
}
.ru .language-switch-ru, .en .language-switch-en {
    background: #165c859e;
    border-radius: 0;
    color: #fff;
    border-color: transparent;
}

@media screen and (max-width: 980px){
    .left-img {
        width: 32px;
    }
    .left-line {
        left: 26.5px;
    }
    .inner {
        padding-left: 64px;
        padding-right: 32px;
    }
}