@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=Roboto:wght@100;300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

html
{
    height: 100%;
    opacity: 0;
    transition: opacity .2s linear;
}
body
{
    height: 100%;
    min-height: 100%;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
}

.title {
    font-weight: 500;
    font-size: 48px;
    line-height: 48px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 55px;
    transition: all .2s linear;
}

.hover {
    background: rgba(34, 34, 34, .94);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: scroll;
    display: none;
    justify-content: center;
    align-items: center;
}
.close {
    z-index: 110;
    position: fixed;
    top: 35px;
    right: 40px;
    width: 41px;
    height: 41px;
    cursor: pointer;
    transition: all .3s linear;
    transform: rotate(45deg);
    display: none;
}
.close:hover {
    transform: rotate(135deg);
}
.close:before {
    content: '';
    display: block;
    width: 41px;
    top: 20px;
    left: 0;
    height: 1px;
    background: #FFF;
    position: absolute;
    cursor: pointer;
}
.close:after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 41px;
    background: #FFF;
    top: 0px;
    left: 20px;
}

.feedback {
    position: relative;
    width: 368px;
    z-index: 101;
    background: #FFFFFF;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.05), 0px 15px 50px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    display: none;
    box-sizing: border-box;
    padding: 20px;
}
.feedback form:after {
    content: '';
    display: block;
    clear: both;
}
.feedback h2 {
    font-size: 30px;
    line-height: 44px;
    margin-bottom: 13px;
    font-weight: 400;
}
.feedback input[type=text],
.feedback input[type=email] {
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
    line-height: 38px;
    height: 40px;
    padding: 0 11px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: border .2s;
}
.feedback textarea {
    height: 200px;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
    line-height: 20px;
    padding: 8px 11px;
    margin-bottom: 20px;
    resize: none;
    transition: border .2s;
}
.feedback textarea.error,
.feedback input[type=text].error,
.feedback input[type=email].error {
    border-color: red;
}
.feedback label {
    color: #5F686E;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 5px;
    display: block;
}
.feedback label i {
    font-style: normal;
    color: red;
    display: inline-block;
    margin-left: 3px;
}
.feedback input[type=submit] {
    background: #3269E8;
    line-height: 42px;
    font-size: 16px;
    color: #FFF;
    letter-spacing: 0.05em;
    text-align: center;
    width: 150px;
    display: block;
    float: right;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background-color .2s linear;
    -webkit-appearance: none;
}
.feedback input[type=submit]:hover {
    background: #1845ad;
}
.feedback input[type=submit].loading {
    background: #1845ad url(../images/submit.gif) no-repeat center;
    background-size: 24px;
    color: transparent;
}
.feedback .result {
    line-height: 21px;
    padding-right: 160px;
}
.feedback .result.success {
    color: green;
}
.feedback .result.error {
    color: red;
}

.tabs {
    float: right;
    text-transform: none;
}
    .tabs a {
        font-size: 18px;
        line-height: 46px;
        border: 1px solid rgba(0, 0, 0, .2);
        padding: 0 20px;
        display: block;
        float: left;
        border-radius: 24px;
        margin-left: 14px;
        cursor: pointer;
        transition: all .2s linear;
    }
    .tabs .active, .tabs a:hover {
        color: #02B087;
        border-color: #888;
    }
.tab-containers {
    position: relative;
    height: 100%;
}
    .tab-containers .tab {
        display: none;
        height: calc(100% - 150px);
    }
    .tab-containers .tab:after {
        content: '';
        clear: both;
        display: block;
    }
    .tab-containers .active {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-content: flex-start;
    }
    .tab-containers .photo {
        margin-right: 5%;
        height: 100%;
        float: left;
    }
    .tab-containers img {
        display: block;
        max-width: 472px;
        max-height: 100%;
    }
    .tab-containers .info {
        float: left;
        height: 100%;
        overflow-y: scroll;
        padding-right: 10px;
    }
        .tab-containers .info h2 {
            font-size: 36px;
            line-height: 48px;
            color: #000;
            font-weight: 400;
            margin-bottom: 30px;
        }
        .tab-containers .info p {
            font-weight: 300;
            font-size: 18px;
            line-height: 26px;
            color: #000;
            margin-bottom: 12px;
        }
        .tab-containers .info li {
            font-weight: 300;
            font-size: 18px;
            line-height: 26px;
            color: #000;
            margin-bottom: 12px;
            list-style: none;
            position: relative;
            padding-left: 30px;
        }
        .tab-containers .info li:after {
            content: '';
            display: block;
            position: absolute;
            top: 10px;
            left: 0;
            width: 10px;
            height: 10px;
            background: #4a60f0;
            border-radius: 5px;
        }

header {
    position: fixed;
    z-index: 5;
    height: 116px;
    padding: 14px 0;
    width: 100%;
    left: 0;
    top: 0;
    transition: background .2s linear;
}
header.white {
    background: #FFF;
}
    header .logo {
        width: 161px;
        height: 117px;
        background: url(../images/logo.png) no-repeat center;
        background-size: contain;
        display: block;
        float: left;
        margin-right: 60px;
    }
    header .menu .versions {
        display: none;
    }
    header .menu {
        list-style: none;
        display: block;
        float: left;
        margin-top: 65px;
        width: calc(100% - 610px);
    }
        header .menu .hidden {
            display: none;
        }
        header .menu li {
            display: inline-block;
            margin-left: 10%;
        }
        header .menu li:nth-child(3) {
            margin-left: 0;
        }
            header .menu li a {
                font-size: 18px;
                line-height: 32px;
                color: #000;
                text-decoration: none;
                display: inline-block;
            }
            header .menu li a:hover,
            header .menu .active a {
                color: #4a60f0;
            }
    header .phone {
        display: block;
        float: right;
        line-height: 32px;
        padding-left: 41px;
        background: url(../images/mobile.svg) no-repeat left center;
        background-size: 21px;
        color: #000;
        margin-top: 65px;
        font-weight: 600;
        font-size: 22px;
        text-decoration: none;
    }
        header .phone:hover {
            color: #1864D1;
        }
    header .versions {
        float: left;
        margin: 65px 0 0 60px;
    }
    header .versions .a {
        position: relative;
        cursor: pointer
    }
    header .versions span {
        font-size: 18px;
        line-height: 32px;
        color: #000;
        display: block;
        position: relative;
        padding-right: 20px
    }
    header .versions span:after {
        content: '';
        display: block;
        position: absolute;
        top: 13px;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 4px 0 4px;
        border-color: #000 transparent transparent transparent;
        transition: all .2s linear
    }
    header .versions .a:hover span:after {
        transform: rotate(180deg)
    }
    header .versions .all {
        display: none;
        position: absolute;
        left: 0;
        padding: 13px 19px;
        top: 32px;
        background: #fff;
        box-shadow: 0 8px 50px rgba(0,0,0,.15);
    }
    header .versions .all a {
        color: #000;
        font-size: 16px;
        text-decoration: none;
        display: inline-block;
        margin: 8px 0;
        transition: color .2s linear
    }
    header .versions .all a:hover {
        color: #000
    }

.dots {
    position: fixed;
    z-index: 5;
    right: 60px;
    top: calc((100% - 324px) / 2);
    text-align: right;
}
    .dots div {
        text-align: right;
        margin-top: 60px;
    }
    .dots div:first-child {
        margin-top: 0;
    }
    .dots span {
        width: 34px;
        height: 34px;
        display: inline-block;
        border: 1px solid rgba(0, 0, 0, .0);
        border-radius: 18px;
        position: relative;
        cursor: pointer;
        transition: all .2s linear;
    }
    .dots .active {
        width: 76px;
        border: 1px solid rgba(0, 0, 0, .2);
    }
        .dots span i {
            position: absolute;
            width: 12px;
            height: 12px;
            top: 11px;
            right: 11px;
            background: #000;
            border-radius: 50%;
            display: block;
            transition: all .2s linear;
        }
        .dots .active i {
            background: #4A60F0;
        }

.main {
    background: url(../images/main.jpg) no-repeat center top;
    background-size: cover;
}
    .main .slogan {
        position: absolute;
        left: 15px;
        bottom: 20%;
        transition: all .2s linear;
    }
    .main .slogan h1 {
        color: #000;
        font-size: 58px;
        line-height: 76px;
        text-transform: uppercase;
        margin-bottom: 45px;
    }
    .main .slogan p {
        font-size: 24px;
        line-height: 34px;
        color: #000;
        max-width: 700px;
    }

.partners-clients {

}
    .partners-clients .grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        height: calc(100% - 150px);
        overflow: hidden;
    }
        .partners-clients .grid .p-c {
            flex: 1 1 20%;
            height: 33.33%;
            padding: 8px;
            box-sizing: border-box;
        }
        .partners-clients .grid a {
            display: block;
            height: 100%;
            border: 1px solid #DBDBDB;
            border-radius: 5px;
        }
        .partners-clients .grid img {
            margin: 0 auto;
            display: block;
            max-width: 285px;
            width: 100%;
            height: 100%;
            object-fit: contain;
            opacity: 0;
        }

.contacts {

}
    .contacts .clearfix {
        clear: both;
    }
    .contacts .container {
        height: calc(100% - 150px);
        position: relative;
    }
    .contacts .map {
        max-width: 1000px;
        height: 100%;
        transition: all .2s linear;
    }
    .contacts .block {
        background: #FFF;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 0 100px rgba(0, 0, 0, 0.05);
        border-radius: 3px;
        padding: 30px 30px;
        box-sizing: border-box;
        max-width: 416px;
        position: absolute;
        top: 18px;
        max-height: calc(100% - 35px);
        height: auto;
        bottom: auto;
        overflow-y: scroll;
        right: 15px;
        z-index: 4;
        transition: all .2s linear;
    }
    .contacts .block p {
        margin-top: 60px;
        color: #666;
        padding: 0 10px 10px;
    }
        .contacts .block p a {
            color: #666;
            text-decoration: none;
        }
        .contacts .block p a:hover {
            text-decoration: underline;
        }
    .contacts .btn {
        border: 1px solid #C4C4C4;
        box-sizing: border-box;
        border-radius: 25px;
        height: 44px;
        display: block;
        float: right;
        line-height: 44px;
        width: 187px;
        text-align: center;
        cursor: pointer;
        margin-top: 21px;
        transition: all .2s linear;
    }
        .contacts .btn:hover {
            color: #02B087;
            border-color: #888;
        }
    .contacts img {
        width: 120px;
        display: block;
        float: left;
        vertical-align: middle;
    }
    .contacts .row {
        margin-top: 20px;
        font-size: 18px;
        line-height: 26px;
        position: relative;
        padding-left: 48px;
        padding-top: 20px;
        border-top: 1px solid #EEE;
        color: #000;
    }
    .contacts .row:after {
        content: '';
        width: 20px;
        height: 22px;
        position: absolute;
        top: calc(50% - 11px);
        left: 8px;
    }
    .contacts .feedback-btn {
        margin-top: 55px;
        font-size: 16px;
        border: 1px solid #3269E8;
        box-sizing: border-box;
        border-radius: 25px;
        height: 44px;
        line-height: 44px;
        display: inline-block;
        padding: 0 31px;
        cursor: pointer;
    }
    .contacts .address:after {
        background: url(../images/address.svg) no-repeat center;
        background-size: contain;
        top: 24px;
    }
    .contacts .phone:after {
        background: url(../images/phone.svg) no-repeat center;
        background-size: contain;
        top: 23px;
    }
    .contacts .email:after {
        background: url(../images/email.svg) no-repeat center;
        background-size: contain;
        top: 23px;
    }
    .contacts .row a {
        text-decoration: none;
        color: #000;
        position: relative;
        transition: all .2s linear;
    }
    .contacts .row a:hover {
        color: #4A60F0;
    }

.error-404 {
    position: relative;
    padding: 0;
    text-align: center;
    margin: 80px 0 30px;
}
    .error-404:after {
        content: '404';
        position: absolute;
        color: #4a60f0;
        font-size: 200px;
        top: -80px;
        left: 0;
        width: 100%;
        z-index: -1;
        opacity: .4;
    }
    .error-404 h1 {
        font-size: 60px;
        line-height: 120px;
        font-weight: 300;
        color: #282828;
        margin-bottom: 30px;
    }
    .error-404 p {
        font-size: 20px;
        line-height: 20px;
        font-weight: 300;
    }

.screen .wrapper {
    height: 100%;
}

.base-animation
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: transform 0.5s linear;
    transition: transform 0.5s linear;
}
.base-animation .screen
{
    height: 100%;
    padding-top: 214px;
}

.roller .screen {
    box-sizing: border-box;
    position: relative;
}

.solid-page
{
    position: relative;
    transform: none;
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}

.solid-page .screen
{
    height: auto;
}

.influx-animation
{
    position: relative;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

.influx-animation .screen
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
}

.influx-animation .screen.current
{
    z-index: 10;
}

@media screen and (max-width: 1400px) {
    .screen .wrapper {
        padding-right: 110px;
    }
    .dots {
        right: 10px;
    }
    .contacts .block {
        max-width: 350px;
    }
    .contacts .btn {
        width: 160px;
    }
    header .menu li {
        margin-left: 10%;
    }
}

@media screen and (max-width: 1170px) {
    .title {
        font-size: 38px;
    }
    header .menu {
        width: calc(100% - 540px);
    }
    header .menu li {
        margin-left: 8%;
    }
    header .phone {
        font-size: 18px;
        padding-left: 30px;
    }
    header .versions {
        margin-left: 45px;
    }
}

@media screen and (max-height: 800px) {
    .contacts .block {
        padding: 15px 20px;
        top: 20px;
        min-height: 80%;
    }
    .contacts .block p {
        margin-top: 30px;
    }
    .contacts .row {
        margin-top: 16px;
        padding-top: 16px;
    }
    .dots .active {
        width: 76px;
    }
    .contacts .map {
        max-width: 85%;
    }
    .anchor {
        position: absolute;
        top: -120px;
    }
}

@media screen and (max-height: 750px) {
    .main .slogan {
        bottom: 15%;
    }
    .contacts .container,
    .tab-containers .tab {
        height: calc(100% - 120px);
    }
    .base-animation .screen {
        padding-top: 170px;
    }
    .tab-containers .photo {
        margin-right: 3%;
    }
}

@media screen and (max-height: 650px) {
    .main .slogan {
        bottom: 10%;
    }
    .title {
        font-size: 38px;
        margin-bottom: 30px;
    }
    .partners-clients .grid {
        height: calc(100% - 90px);
    }
    .contacts .container {
        height: calc(100% - 100px);
    }
}

@media screen and (max-width: 1020px) {
    header .menu {
        width: calc(100% - 470px);
    }
    header .logo {
        margin-right: 30px;
        width: 140px;
    }
    header .versions {
        margin-left: 30px;
    }
    .main .slogan {
        max-width: 760px;
    }
    .main .slogan h1 {
        font-size: 48px;
        line-height: 66px;
    }
    .main .slogan p {
        font-size: 20px;
        line-height: 28px;
    }
}

@media screen and (max-width: 940px) {
    header .phone {
        height: 40px;
        text-indent: -9999px;
        float: right;
    }
    header .menu {
        width: calc(100% - 360px);
        margin-left: 30px;
    }
}

@media screen and (max-width: 900px) {
    .dots {
        display: none;
    }
    header .phone {
        margin: 16px 25px 0 0;
		background-size: 21px;
    }
    .screen .wrapper {
        padding: 0 15px;
    }
    .main {
        background: url(../images/main-mobile.jpg) no-repeat center top;
        background-size: cover;
        padding-top: 250px;
        padding-bottom: 32px;
        margin-bottom: 30px;
    }
    .main .slogan {
        position: static;
    }
    .main .slogan h1 {
        font-size: 30px;
        line-height: 44px;
        margin-bottom: 25px;
    }
    .menu-icon {
        width: 38px;
        height: 30px;
        display: block;
        float: right;
        margin-top: 22px;
        z-index: 100;
        position: relative;
        cursor: pointer;
        user-select: none;
    }
    .menu-icon.opened {
        margin-top: 10px;
    }
    .menu-icon i {
        width: 38px;
        display: block;
        height: 2px;
        background: #000;
        position: absolute;
        top: 13px;
        left: 0;
        transition: all .2s;
        border-radius: 2px;
    }
    .menu-icon.opened i {
        background: transparent;
    }
    .menu-icon i:after {
        content: '';
        display: block;
        width: 50%;
        height: 2px;
        border-radius: 2px;
        background: #000;
        position: absolute;
        top: 7px;
        left: 0;
        transition: all .2s;
    }
    .menu-icon.opened i:after {
        transform: rotate(45deg);
        top: 2px;
        width: 100%;
        background: #222;
    }
    .menu-icon i:before {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #000;
        position: absolute;
        top: -7px;
        left: 0;
        transition: all .2s;
    }
    .menu-icon.opened i:before {
        transform: rotate(-45deg);
        top: 2px;
        background: #222;
    }
    header .menu {
        transform: translateX(-110%);
        z-index: 4;
        width: 100%;
        top: 0;
        left: 0;
        position: fixed;
        height: 100vh;
        transition: all .3s;
        box-sizing: border-box;
        background: #FFF;
        padding-bottom: 70px;
        margin-top: 0;
		margin-left: 0;
    }
    .close {
        top: 10px;
        right: 10px;
    }
    header {
        height: 73px;
    }
    header.fixed {
        background: #FFF;
        box-shadow: 0 0 10px #ccc;
    }
	header .wrapper {
		padding: 0 15px;
	}
    header .logo {
        width: 80px;
        height: 73px;
    }
    header .opened {
        transform: translateX(0);
        margin-top: 0;
    }
    header .menu span {
        margin: 0;
        padding: 21px 15px;
        display: block;
        border-bottom: 1px solid #E1E1E1;
    }
    header .menu li {
        margin: 0;
        display: block;
        border-bottom: 1px solid #E1E1E1;
        padding: 20px 15px;
    }
    header .menu li a {
        display: block;
        line-height: 42px;
    }
    header .versions {
        display: none;
    }
    header .menu .versions {
        display: block;
        padding: 24px 15px;
        background: #F8F9FA;
        box-sizing: border-box;
        float: none;
        width: 100%;
        margin: 0;
    }
    header .menu .versions a {
        font-size: 16px;
        line-height: 32px;
        text-decoration: none;
        color: #888;
        transition: all .3s linear;
        margin-right: 40px;
        display: inline-block;
    }
    header .menu .versions .active {
        color: #000;
    }
    .title {
        font-size: 24px;
        line-height: 32px;
		margin-bottom: 32px;
    }
    .partners-clients {
        margin-bottom: 30px;
    }
    .partners-clients .grid {
        height: auto;
    }
    .partners-clients .grid .p-c {
        flex: 1 1 33.33%;
        height: auto;
    }
    .activity {
        margin-bottom: 30px;
    }
    .activity .title {
        height: 100px;
    }
    .tabs {
        float: none;
        margin-top: 25px;
    }
    .tabs a {
        font-size: 14px;
        line-height: 36px;
        padding: 0 14px;
        margin-left: 10px;
    }
    .tabs a:first-child {
        margin-left: 0;
    }
    .contacts .container {
        height: auto;
    }
    .contacts .map {
        max-width: none;
        height: 260px;
        margin-left: -15px;
        width: calc(100% + 30px);
        margin-right: -15px;
    }
    .contacts .block {
        position: relative;
        max-width: 100%;
        left: 0;
        top: -30px;
    }
    .tab-containers .active {
        display: block;
    }
    .tab-containers .photo {
        margin: 0 0 35px;
        float: none;
        width: 100%;
        height: auto;
    }
    .tab-containers img {
        max-width: none;
        max-height: none;
        width: 100%;
    }
	.error-404 {
		margin-top: 200px;
	}
	.contacts img {
		width: 90px;
	}
}

@media screen and (max-width: 400px) {
    .main .slogan h1 {
        font-size: 24px;
        line-height: 34px;
        text-transform: none;
    }
    .main .slogan p {
        font-size: 18px;
        line-height: 26px;
        font-weight: 300;
    }
    .partners-clients .grid .p-c {
        flex: 1 1 calc(50% - 8px);
        height: auto;
        max-width: 50%;
		padding: 0;
		margin: 8px 0 8px 8px;
    }
	.partners-clients .grid .p-c:nth-child(odd) {
		margin: 8px 8px 8px 0;
	}
    .tab-containers .info h2 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 28px;
    }
    .tab-containers .info p {
        font-size: 16px;
        line-height: 26px;
    }
    .tab-containers .info li {
        font-size: 16px;
        line-height: 26px;
    }
    .contacts .row {
        font-size: 16px;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #02B087;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #02B087;
    border-radius: 4px;
}
