﻿html, body {
    height: auto;
    min-height: 100%;
}

html {
    height: 100%;
}

body, body #ajaxContainer {
    height: 100%;
}

.content {
    height: auto;
    min-height: 100%;
}

    .content:after {
        padding-bottom: 190px;
        content: "";
        display: block;
        height: 0px;
        width: 100%;
    }

footer {
    height: 185px;
    margin-top: -210px;
}


header, .wrapper {
    width: 1147px;
    margin: 0 auto;
}

header {
    height: 198px;
    position: relative;
    z-index: 150;
}

    header nav {
        margin-left: -17px;
        height: 135px;
        width: 1183px;
    }

        header nav a {
            font-size: 20px;
            display: inline-block;
            margin: 10px 5px 0;
            padding: 9px 12px 8px;
            position: relative;
            vertical-align: middle;
            text-transform: uppercase;
        }

            header nav a img {
                margin: 0 42px 0 24px;
            }

            header nav a.active, header nav a:hover {
                margin: 10px 4px 0;
            }

            header nav a:nth-child(4) {
                margin: 19px 5px 0;
            }

            header nav a.active:before, header nav a:hover:before {
                content: "";
                display: block;
                height: 1px;
                width: 178px;
                position: absolute;
                margin: 0 0 0 25px;
                top: -47px;
                -webkit-transform: rotate(150deg);
                -moz-transform: rotate(150deg);
                -ms-transform: rotate(150deg);
                -o-transform: rotate(150deg);
                cursor: default;
            }

            header nav a:nth-child(5).active:before, header nav a:nth-child(6).active:before, header nav a:nth-child(7).active:before, header nav a:nth-child(5):hover:before, header nav a:nth-child(6):hover:before, header nav a:nth-child(7):hover:before {
                margin: 0 0 0 -131px;
                top: -46px;
                -webkit-transform: rotate(30deg);
                -moz-transform: rotate(30deg);
                -ms-transform: rotate(30deg);
                -o-transform: rotate(30deg);
            }

            header nav a:nth-child(6).active:before, header nav a:nth-child(6):hover:before {
                margin: 0 0 0 -143px;
            }

            header nav a:nth-child(5).active:before, header nav a:nth-child(5):hover:before {
                margin: 0 0 0 -98px;
            }

            header nav a:nth-child(4):hover {
                border: none;
            }

                header nav a:nth-child(4):hover:before {
                    content: none;
                    display: none;
                }

footer {
    width: 100%;
}

    footer nav {
        margin: -30px 0 0 0;
        width: 16%;
        height: 80px;
    }

        footer nav a {
            font-size: 25.5px;
            display: inline-block;
            margin: 7px 0px 1px -10px;
            padding: 13px 11px;
            position: relative;
            text-transform: uppercase;
        }

            footer nav a.active:before, footer nav a:hover:before {
                content: "";
                display: block;
                height: 178px;
                width: 1083px;
                position: absolute;
                left: -1084px;
                top: 23px;
                cursor: default;
            }

            footer nav a + a.active:before, footer nav a + a:hover:before {
                height: 120px;
            }

            footer nav a.active, footer nav a:hover {
                margin: 6px 0px 0px -11px;
            }

    footer .wrapper {
        position: relative;
    }

        footer .wrapper div {
            width: 100%;
            margin: 65px 0 0px;
        }

    footer div span {
        display: inline-block;
        font-size: 16px;
    }

        footer div span + span {
            float: right;
        }

    footer .wrapper:after {
        content: "";
        display: block;
        width: 100px;
        height: 1px;
        margin-top: 18px;
        position: absolute;
        right: 188px;
        -webkit-transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        -o-transform: rotate(30deg);
    }

.project, .projects {
    position: relative;
}

    .projects:before, .project:before {
        content: "";
        display: block;
        width: 684px;
        height: 1px;
        margin-top: -30px;
        position: absolute;
        left: -638px;
        -webkit-transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        -o-transform: rotate(30deg);
    }

.main-content:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 100%;
}

.main-content > nav {
    width: 170px;
    float: left;
}

    .main-content > nav a {
        font-size: 25px;
        margin: 0 0 24px 0;
        display: inline-block;
        position: relative;
        width: 100%;
        line-height: 25px;
    }

        .main-content > nav a.active:before, .main-content > nav a:hover:before {
            content: "";
            display: block;
            height: 612px;
            width: 1083px;
            margin-top: -619px;
            position: absolute;
            right: 181px;
            bottom: 0;
            top: 16px;
            cursor: default;
        }

.services > nav a.active:before, .services > nav a:hover:before, .engineering-investigations > nav a.active:before, .engineering-investigations > nav a:hover:before {
    right: 256px;
    margin-top: -619px;
}

.about-company, .licenses, .team, .services, .engineering-investigations {
    margin-top: 23px;
    padding-bottom: 22px;
}

.slider ul {
    position: relative;
}

    .slider ul li {
        position: absolute;
        top: 0;
        left: 0;
        display: none;
    }

        .slider ul li:first-of-type {
            display: block;
        }


.about-company .slider {
    float: left;
    width: 358px;
    margin-left: 12px;
}

    .about-company .slider ul {
        /*width: 358px;
        height: 357px;*/
        width: 355px;
        height: 230px;

    }

        .about-company .slider ul li {
            /*    width: 358px;
     height: 357px; */
            width: 355px;
            height: 230px;

        }

.about-company article {
    width: 570px;
    float: left;
    margin-left: 35px;
}

.slider nav {
    display: table;
    margin: 19px auto 0;
    margin-bottom: 30px;
}

    .slider nav a {
        display: inline-block;
        width: 7px;
        height: 7px;
        vertical-align: middle;
        margin: 0 7px;
    }

        .slider nav a:first-child, .slider nav a:last-child {
            width: 18px;
            height: 21px;
            margin: 0 10px;
        }

        .slider nav a:last-child {
        }

.licenses section, .team section {
    width: 915px;
    float: right;
    margin-top: -53px;
}

.team section {
    width: 943px;
}

    .licenses section h3, .team section h3 {
        display: block;
        text-align: right;
        font-size: 25px;
        padding-bottom: 10px;
        padding-right: 1px;
    }

    .licenses section ul li, .team section ul li {
        display: inline-block;
        margin-left: 13px;
        margin-bottom: 61px;
    }

    .team section ul li {
        margin-left: 32px;
        display: block;
        float: left;
    }

        .licenses section ul li:first-child, .licenses section ul li:nth-child(5n+1), .team section ul li:first-child, .team section ul li:nth-child(5n+1) {
            margin-left: 0;
        }

.licenses section ul li a {
    display: block;
}

    .licenses section ul li a img {
        display: block;
    }

.team section ul {
    width: 100%;
    display: table;
}

    .team section ul li {
        vertical-align: top;
        z-index: 1000;
        position: relative;
    }

        .team section ul li a {
            width: 162px;
            display: block;
            cursor: default;
            position: relative;
        }

            .team section ul li a span {
                display: block;
                text-align: right;
                font-size: 22px;
                text-transform: uppercase;
                margin-top: 13px;
            }

                .team section ul li a span + span {
                    /*font-size: 19px;*/
                    font-size: 16px;

                    text-transform: none;
                    margin-top: 6px;
                }

            .team section ul li a img, .team section ul li a svg {
                transition: 0.3s linear;
                -webkit-transition: 0.3s linear;
                -moz-transition: 0.3s linear;
                -o-transition: 0.3s linear;
            }

            .team section ul li a img, .engineering-investigations section ul li a img,
            .team section ul li svg {
                height: 110px;
                width: 162px;
                -webkit-filter: grayscale(1);
                -moz-filter: grayscale(1);
                -ms-filter: grayscale(1);
                -o-filter: grayscale(1);
                filter: grayscale(1);
                filter: gray;
            }

        .team section ul li:hover {
            z-index: 2000;
        }

.engineering-investigations section ul li a {
    cursor: default;
}

    .engineering-investigations section ul li a img {
        /*width: 227px;*/
        width: 225px;

        height: auto;
        margin: 5px 0 17px;
        display: block;
    }

.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    filter: gray;
}

.team section ul li a:hover img, .engineering-investigations section ul li a:hover img,
.team section ul li a:hover svg {
    filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
}

.team section ul li a:hover img, .team section ul li a:hover svg {
    -moz-transform: scale(1.50);
    -webkit-transform: scale(1.50);
    -o-transform: scale(1.50);
    -ms-transform: scale(1.50);
    transform: scale(1.50);
    z-index: 2000;
}

.team section ul li a:hover svg {
}

.google-map, .contacts-map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contacts-map {
    height: 331px;
    top: 198px;
}

.services article {
    width: 720px;
    display: block;
    float: left;
    margin-left: 61px;
}

.services > nav, .engineering-investigations nav {
    width: 245px;
}

.engineering-investigations article {
    width: 575px;
    float: left;
    margin-left: 61px;
}


.engineering-investigations section {
    width: 227px;
    float: right;
}

.project {
    margin-bottom: 30px;
}

    .project .slider {
        float: left;
        width: 791px;
        margin-right: 39px;
    }

        .project .slider nav {
            margin-right: 117px;
            margin-bottom: 30px;
        }

        .project .slider ul {
            width: 100%;
            height: 473px;
        }

            .project .slider ul li img {
                width: 100%;
                height: 100%;
            }

    .project article {
        width: 315px;
        float: left;
    }

        .project article h2 + span {
            margin-top: 13px;
        }

        .project article span {
            display: block;
            margin: 1px 0px;
            font-size: 19px;
            line-height: 24px;
        }

            .project article span span {
                display: inline-block;
                margin: 0;
                margin-right: 6px;
            }

.projects {
    margin-bottom: 30px;
}

    .projects section {
        width: 970px;
        float: right;
        position: relative;
        margin-right: 60px;
    }

        .projects section .slider-wrapper {
            position: relative;
            overflow: hidden;
            height: 650px;
        }

        .projects section ul {
            width: 970px;
            height: 650px;
            position: absolute;
            top: 6px;
            left: 0;
        }

            .projects section ul li {
                width: 188px;
                float: left;
                margin: 0 3px;
                display: block;
                position: relative;
                top: 0;
                /*opacity: 0.4;*/
				opacity: 0.5;
            }

                .projects section ul li:hover {
                    opacity: 1;
                }

                .projects section ul li a :nth-child(2) {
                    /*font-size: 30px;*/
                    font-size: 22px;
                    text-transform: uppercase;
                    margin-top: 21px;
                    display: block;
                    /*line-height: 28px;*/
                    line-height: 23px;

                }

                .projects section ul li a :nth-child(3) {
                    margin-top: 4px;
                    display: block;
                }

                .projects section ul li a :nth-child(4) {
                    font-size: 18px;
                    line-height: 16px;
                    display: block;
                    /*margin-top: 15px;*/
                    margin-top: 10px;

                }

                .projects section ul li img {
                    width: 188px;
                    height: 356px;
                }

        .projects section .left-arrow, .projects section .right-arrow {
            display: block;
            position: absolute;
            top: 239px;
            left: -60px;
            width: 33px;
            height: 36px;
        }

        .projects section .right-arrow {
            left: auto;
            right: -58px;
        }

.grayscale-replaced {
    overflow-x: visible !important;
    overflow-y: visible !important;
}
/*start animation styles*/
.pageload-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
}

    .pageload-overlay.show {
        visibility: visible;
    }

    .pageload-overlay svg {
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
    }

        .pageload-overlay svg path {
            fill: #fff;
        }

    .pageload-overlay::after,
    .pageload-overlay::before {
        content: '';
        position: fixed;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border-radius: 50%;
        visibility: hidden;
        opacity: 0;
        z-index: 1000;
        -webkit-transition: opacity 0.15s, visibility 0s 0.15s;
        transition: opacity 0.15s, visibility 0s 0.15s;
    }

    .pageload-overlay::after {
        background: #ff7800;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
        -webkit-animation: moveRight 0.6s linear infinite alternate;
        animation: moveRight 0.6s linear infinite alternate;
    }

    .pageload-overlay::before {
        background: #ff0000;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
        -webkit-animation: moveLeft 0.6s linear infinite alternate;
        animation: moveLeft 0.6s linear infinite alternate;
    }
/*end animation styles*/
@-webkit-keyframes moveRight {
    to {
        -webkit-transform: translateX(20px);
    }
}

@keyframes moveRight {
    to {
        transform: translateX(20px);
    }
}

@-webkit-keyframes moveLeft {
    to {
        -webkit-transform: translateX(-20px);
    }
}

@keyframes moveLeft {
    to {
        transform: translateX(-20px);
    }
}

.pageload-loading.pageload-overlay::after,
.pageload-loading.pageload-overlay::before {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

/*start light box*/
.lightbox-bg {
    width: 100%;
    position: fixed;
    height: 100%;
    z-index: 10000;
    overflow: auto;
    top: 0;
    left: 0;
}

.lightbox-bg {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
    opacity: 0.8;
}

.light-box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 200;
    display: none;
    overflow-y: auto;
}

    .light-box .container-box {
        width: 700px;
        height: 400px;
        margin: 50px auto 0;
        position: relative;
        z-index: 10001;
    }


        .light-box .container-box img {
            width: 100%;
            display: block;
            position: absolute;
            top: 0px;
            left: 0px;
            z-index: 0;
        }

    .light-box .container {
        position: relative;
        height: 100%;
    }

    .light-box .close {
        position: absolute;
        height: 30px;
        width: 30px;
        right: 40px;
        top: 40px;
        display: block;
    }

    .light-box .next, .light-box .prev {
        position: absolute;
        display: block;
        right: 40px;
        top: 50%;
        width: 42px;
        height: 42px;
        margin-top: -15px;
    }

    .light-box .prev {
        right: auto;
        left: 40px;
        background-position: 0px 0px;
    }

    .light-box .loading {
        background-size: 250px;
        background-origin: border-box;
        background-color: black;
    }

    .light-box .title-, .light-box .controls- {
        text-align: center;
        font-size: 20px;
        position: relative;
        z-index: 10001;
        margin-top: 30px;
    }
/*end light box*/

.contacts {
    margin-top: 362px;
    margin-bottom: 30px;
}

    .contacts section {
        width: 300px;
        float: right;
        margin-left: 65px;
    }

        .contacts section span {
            font-size: 20px;
            display: block;
            line-height: 20px;
            margin-bottom: 10px;
        }

        .contacts section + section {
            width: 590px;
            float: right;
        }

            .contacts section + section div:after {
                content: "";
                display: block;
                clear: both;
            }

            .contacts section + section div span {
                width: 210px;
                text-align: right;
                display: block;
                float: left;
                font-size: 19px;
                height: 24px;
                margin-bottom: 11px;
                line-height: 22px;
            }

            .contacts section + section div input, .contacts section + section div textarea, .contacts section + section div select {
                width: 350px;
                float: right;
            }

            .contacts section + section div select {
                width: 362px;
            }

            .contacts section + section div textarea {
                max-width: 350px;
                overflow-y: auto;
            }

    .contacts .btn {
        float: left;
        margin-left: 228px;
        margin-bottom: 30px;
    }

.google-info-window {
    color: black;
    font-size: 19px;
    font-family: 'web_serveroff_3regular';
    line-height: 20px;
    margin-top: 10px;
}

.google-info-window-title {
    font-size: 22px;
}

/*start custom dropdown list*/
div.select-wrapper {
    float: right;
    display: inline-block;
    width: 350px;
    background: url("../img/slider-controls.png") no-repeat;
    cursor: pointer;
    font-family: web_serveroff_3regular;
    font-size: 19px;
    height: 24px;
    margin-bottom: 10px;
    padding: 0 5px;
    position: relative;
}

    div.select-wrapper .holder {
        width: 350px;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        text-align: left;
    }

    div.select-wrapper ul {
        position: absolute;
        top: 24px;
        width: 100%;
        left: -1px;
    }

        div.select-wrapper ul li {
            padding: 2px 0px 2px 10px;
        }


/* .wrapper nav a:first-child {
    display: none;
} */
