﻿html, body {
    width: 100%;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    font-size: 10px;
    font-family: "RobotoLight";
}

b {
    font-weight: normal;
    font-family: "RobotoRegular";
}

* {
    margin: 0;
    padding: 0
}

a {
    text-decoration: none;
}

main {
    position: relative;
    display: block;
}

#container {
    position: relative;
    display: block;
    min-height: 100%;
    background-color: #ffffff;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

/*Надстройка над гридом*/
img, object, embed {
    height: auto;
    max-width: 100%;
    display: inline-block;
}

li {
    list-style: none;
}

.grid {
    max-width: 1170px;
    min-width: 320px;
    background-color: transparent;
}

.ffb {
    font-family: "RobotoRegular";
}

.ffr {
    font-family: "RobotoLight";
}

/******/

/** colors **/

.c-white {
    color: #ffffff;
}

.c-70 {
    color: #707070;
}

.c-80 {
    color: #808080;
}

.c-30 {
    color: #303030;
}

.c-blue {
    color: #204cb6;
}

.c-blue-lite {
    color: #b3c9ff;
}

.c-orange {
    color: #ffb626;
}

.bbda-blue {
    border-bottom: 1px dashed #204cb6;
}

.bbda-orange {
    border-bottom: 1px dashed #ffb626;
}

/** end colors **/

.bc-white {
    background-color: white;
}

.bc-70 {
    background-color: #707070;
}

.bc-f7 {
    background-color: #f7f7f7;
}

.bc-e6 {
    background-color: #e6e6e6;
}

.bc-orange {
    background-color: #ffb626;
}

.bc-blue {
    background-color: #204cb6;
}

.bc-blue-dark {
    background-color: #133b9a;
}

.bd-rad17 {
    border-radius: 17px;
}

/**icons**/
i.icon {
    display: inline-block;
    position: relative;
    background: no-repeat center center transparent;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

i.workStage1 {
    background-image: url("../images/main/stage/1.png");
}

i.workStage2 {
    background-image: url("../images/main/stage/2.png");
}

i.workStage3 {
    background-image: url("../images/main/stage/3.png");
}

i.workStage4 {
    background-image: url("../images/main/stage/4.png");
}

i.workStage {
    background-position: left top;
    background-size: 100% auto;
    cursor: pointer;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
}

i.workStage1:hover, li.active > i.workStage1 {
    background-image: url("../images/main/stage/1h.png");
}

i.workStage2:hover, li.active > i.workStage2 {
    background-image: url("../images/main/stage/2h.png");
}

i.workStage3:hover, li.active > i.workStage3 {
    background-image: url("../images/main/stage/3h.png");
}

i.workStage4:hover, li.active > i.workStage4 {
    background-image: url("../images/main/stage/4h.png");
}

#reviewsBlock > .icon.left {
    background-image: url("../images/main/i/slide_left.png");
    left: 0;
}

#reviewsBlock > .icon.right {
    background-image: url("../images/main/i/slide_right.png");
    right: 0;
}

#reviewsBlock > .icon {
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 28px;
    margin-top: -14px;
    position: absolute;
    top: 50%;
    width: 40px;
    z-index: 1;
}

form label {
    color: #ffffff;
    display: block;
    font-family: RobotoRegular;
    font-size: 1.6em;
    line-height: 20px;
    padding-bottom: 11px;
    position: relative;
}

/************/

#tableBlock .icon {
    position: absolute;
    background-position: left top;
}

.icon.table_book {
    background-image: url("../images/main/table/book.png");
    height: 147px;
    left: 5.5%;
    top: 30%;
    width: 156px;
}

.icon.table_plant {
    background-image: url("../images/main/table/plant.png");
    left: 5.5%;
    top: 30%;
    width: 114px;
    height: 120px;
}

.icon.table_apple {
    background-image: url("../images/main/table/apple.png");
    height: 68px;
    left: 40.7%;
    top: 39.5%;
    width: 65px;
}

.icon.table_brief {
    background-image: url("../images/main/table/brief.png");
    height: 192px;
    left: 13.75%;
    top: 51.7%;
    width: 166px;
}

.icon.table_calendar {
    background-image: url("../images/main/table/calendar.png");
    height: 67px;
    left: 53.15%;
    top: 63.9%;
    width: 65px;
}

.icon.table_cup_l {
    background-image: url("../images/main/table/cup_l.png");
    height: 90px;
    left: 19.65%;
    top: 31.1%;
    width: 72px;
}

.icon.table_cup_r {
    background-image: url("../images/main/table/cup_r.png");
    height: 80px;
    left: 82.9%;
    top: 58.4%;
    width: 73px;
}

.icon.table_flash_drives {
    background-image: url("../images/main/table/flash_drives.png");
    height: 87px;
    left: 47.35%;
    top: 32.5%;
    width: 51px;
}

.icon.table_folders {
    background-image: url("../images/main/table/folders.png");
    height: 222px;
    left: 70.5%;
    top: 12.5%;
    width: 191px;
}

.icon.table_hands_l {
    background-image: url("../images/main/table/hands_l.png");
    height: 192px;
    left: 24.5%;
    top: 59.8%;
    width: 423px;
}

.icon.table_hands_r {
    background-image: url("../images/main/table/hands_r.png");
    height: 236px;
    left: 56.4%;
    top: 50.7%;
    width: 425px;
}

.icon.table_headphones {
    background-image: url("../images/main/table/headphones.png");
    height: 247px;
    left: 46.95%;
    top: 17.3%;
    width: 213px;
}

.icon.table_keyboard {
    background-image: url("../images/main/table/keyboard.png");
    height: 103px;
    left: 26.85%;
    top: 49.4%;
    width: 217px;
}

.icon.table_monitor {
    background-image: url("../images/main/table/monitor.png");
    height: 157px;
    left: 24.3%;
    top: 9.12%;
    width: 403px;
}

.icon.table_mouse {
    background-image: url("../images/main/table/mouse.png");
    height: 63px;
    left: 77.6%;
    top: 60.6%;
    width: 51px;
}

.icon.table_notebook {
    background-image: url("../images/main/table/notebook.png");
    height: 317px;
    left: 54.15%;
    top: 18.1%;
    width: 344px;
}

.icon.table_pad {
    background-image: url("../images/main/table/pad.png");
    height: 151px;
    left: 85%;
    top: 27.1%;
    width: 140px;
}

.icon.table_pencils {
    background-image: url("../images/main/table/pencils.png");
    height: 51px;
    left: 77.85%;
    top: 40.1%;
    width: 88px;
}

.icon.table_phone {
    background-image: url("../images/main/table/phone.png");
    height: 88px;
    left: 81.75%;
    top: 16.1%;
    width: 68px;
}

.icon.table_plant {
    background-image: url("../images/main/table/plant.png");
    height: 120px;
    left: 12.5%;
    top: 18%;
    width: 114px;
}

.icon.table_tablet {
    background-image: url("../images/main/table/tablet.png");
    height: 244px;
    left: 39.5%;
    top: 33.6%;
    width: 140px;
}


/** end icons **/

.slider, .slider * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/** input **/

select, input[type="text"], input[type="password"], input[type="email"] {
    background-color: #ffffff;
    color: #1c1919;
    display: inline-block;
    font-size: 15px;
    line-height: 18px;
    padding: 10px 11px;
    white-space: nowrap;
    width: 100%;
    outline: none;
    height: 40px;
    border: medium none;
}

textarea {
    background-color: #ffffff;
    width: 100%;
    color: #1c1919;
    display: inline-block;
    font-size: 15px;
    resize: none;
    border: none;
    outline: none;
    padding: 10px 15px;
}

.errorField .errorMessage {
    color: #ffb1e8;
    font-size: 1.1em;
    left: 0;
    line-height: 1.3em;
    overflow: hidden;
    position: absolute;
    top: 100%;
    width: 100%;
}

::-webkit-input-placeholder, ::-moz-placeholder, :-moz-placeholder, :-ms-input-placeholder {
    color: #939393;
}

.bd {
    border: 1px solid #dedede !important;
}

.input-error > select,
.input-error > input[type="text"],
.input-error > input[type="password"],
.input-error > input[type="email"],
.input-error > textarea {
    border: 1px solid #e27171 !important;
}

.searchTop {
    background-color: #f7f7f7 !important;
    border: medium none;
    color: #939393 !important;
    display: inline-block;
    font-size: 1.5em !important;
    line-height: 18px !important;
    padding: 12px 10px;
    white-space: nowrap;
    width: 100%;
    outline: none;
    height: 39px !important;
    border-right: 1px solid #e8e3dd !important;
}

.searchTop:focus {
    background-color: #FFFFFF !important;
}

.searchForm {
    position: relative;
}

/** end input **/

.button {
    background-color: #ffb626;
    border: medium none;
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
    font-family: RobotoRegular;
    font-size: 1.4em;
    line-height: 20px;
    padding: 10px 35px;
    position: relative;
    border-bottom: 2px solid #de9402;
    border-right: 1px solid #de9402;
}

.sendButton {
    border-radius: 5px;
}

.button:hover {
    background-color: #9b6f35;
}

time {
    color: #939393;
    text-transform: none;
}

a time {
    text-transform: none;
}

.i-b {
    display: inline-block;
    position: relative;
}

/*header*/

#headerWrap {
    position: relative;
    background: transparent url("../images/main/heder_shadow.png") repeat-x bottom center;
}

header {
    position: relative;
    margin: 0 auto;
    max-width: 1170px;
    min-width: 320px;
}

/*end header*/

/*** menu ***/
#menuWrap > menu {
    display: table;
    position: relative;
    width: 100%;
}

#menuWrap > menu li {
    display: table-cell;
    text-align: center;
}

#menuWrap > menu li a {
    display: block;
    text-transform: uppercase;
    color: #3a3b3c;
    font-size: 1.4em;
    line-height: 40px;
    font-family: RobotoRegular;
}

.mobileMenu > menu {
    padding: 18px 27px 20px;
}

.mobileMenu > menu li {
    line-height: 35px;
}

.mobileMenu > menu li a {
    color: #2c2c2c;
    font-family: RobotoRegular;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.mobileMenu > menu > li.active > a {
    color: #63b0e3;
}

#mobileMenuBlock {
    position: relative;
    width: 32px;
    height: 30px;
    cursor: pointer;
    float: right;
    background: #204CB6 url("../images/main/i/mobile-menu.png") no-repeat center center;
    /*z-index: 4;*/
}

.mobileMenu {
    display: none;
    position: absolute;
    width: auto;
    background-color: #ffffff;
    right: 32px;
    top: 0;
    z-index: 4;
    min-width: 268px;
    box-shadow: 0 0 4px #dadada;
}

.mobileMenu .icon.close {
    position: absolute;
    width: 32px;
    height: 30px;
    right: -32px;
    top: 0;
    background: #204CB6 url("../images/main/i/mobile-menu-close.png") no-repeat center center;
}

.mobileMenu .searchForm {
    border-bottom: 1px solid #e8e3dd;
}

/*** end menu ***/

#tableBlock {
    /*background: transparent url("../images/main/table.jpg") no-repeat bottom center;*/
    position: relative;
    min-width: 320px;
    max-width: 1766px;
    margin: 0 auto;
    overflow: hidden;
}

.advantages {
    display: flex;
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
}

#presentationBlock:before, #tableBlock:before, .advantages > div:before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#presentationBlock {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

#presentationBlock .main {
    left: 0;
    padding: 3.3%;
    position: absolute;
    right: 0;
    top: 0;
}

#portfolioPic {
    background: transparent url("../images/main/portfolio.png") no-repeat scroll center bottom / contain;
    border-bottom: 1px solid #dadada;
    height: 79px;
}

#sliderWorkStages, #reviewsInner {
    display: block;
    position: relative;
    overflow: hidden;
}


#sliderWorkStages *{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}


#reviewsBlock {
    position: relative;
    display: block;
}

#sliderWorkStages .slider, #reviewsBlock .slider {
    display: block;
    position: relative;
    left: 0;
    transition: top 0.3s ease-out 0s, left 0.3s ease-out 0s;
}

#sliderWorkStages .slider .slide, #reviewsBlock .slider .slide {
    float: left;
    height: 100%;
    max-width: 2000px;
    position: relative;
    width: 100%;
}

#sliderWorkStages .sliderControls {
    display: block;
    margin: 0 auto;
    position: relative;
    max-width: 550px;
}

#sliderWorkStages .sliderControls > li {
    position: relative;
}

.portfolioBlock {
    background: transparent url("../images/main/portfolio/1.png") no-repeat center center;
    max-width: 3000px;
    margin: 0 auto;
}

.quote {
    display: block;
    position: relative;
    background-color: #f7f7f7;
    border-radius: 17px;
    padding: 30px;
}

.quote:before {
    content: '';
    background: transparent url("../images/main/i/quote_tail.png") no-repeat center center;
    height: 23px;
    width: 20px;
    position: absolute;
    left: -20px;
    top: 27px;
}





/** 404 **/
.notFound {
    padding-top: 70px;
    padding-bottom: 90px;
    text-align: center;
}

.notFoundCode {
    color: #204cb6;
    font-family: RobotoRegular;
    font-size: 180px;
    line-height: 1;
}

.notFoundTitle {
    color: #303030;
    font-family: RobotoRegular;
    font-size: 30px;
    line-height: 38px;
    padding: 20px 0 35px;
}

/** **/
@media handheld, only screen and (max-width: 1600px) {
    #tableBlock {
        background-size: 107% auto;
    }
}

@media handheld, only screen and (max-width: 1160px) {

    header, .grid {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media handheld, only screen and (max-width: 1000px) {
    .small-bc-f7 {
        background-color: #f7f7f7;
    }

    .small-bc-e6 {
        background-color: #e6e6e6;
    }
}

/** pad **/
@media handheld, only screen and (max-width: 900px) {
    /*body {
        font-size: 8px;
    }*/
    #tableBlock {
        height: 290px;
        background: transparent url("../images/main/table.jpg") no-repeat scroll center bottom / cover;
    }

    .button {
        padding: 10px 20px;
    }

    .portfolioBlock .bg-blur {
        background: transparent url("../images/main/popup.png") repeat;
    }

    .notFound {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .notFoundCode {
        font-size: 130px;
    }

    .notFoundTitle {
        font-size: 26px;
        line-height: 32px;
    }

    .pad-bc-f7 {
        background-color: #f7f7f7;
    }

    .pad-bc-e6 {
        background-color: #e6e6e6;
    }
}

/** tab **/
@media handheld, only screen and (max-width: 700px) {
    #tableBlock {
        height: 220px;
    }

    .tab-bc-f7 {
        background-color: #f7f7f7;
    }

    .tab-bc-e6 {
        background-color: #e6e6e6;
    }
}

/** mobile **/
@media handheld, only screen and (max-width: 480px) {
    header, .grid {
        padding-left: 10px;
        padding-right: 10px;
    }

    #tableBlock {
        height: 175px;
    }

    .portfolioBlock {
        /*background-size: contain;*/
        /*background-position: center 4px;*/
        background: none;
    }

    .portfolioBlock .bg-blur {
        background: none;
    }

    .quote {
        padding: 18px;
    }

    .quote::before {
        display: none;
    }

    .notFound {
        padding-top: 35px;
        padding-bottom: 45px;
    }

    .notFoundCode {
        font-size: 96px;
    }

    .notFoundTitle {
        font-size: 20px;
        line-height: 26px;
        padding: 12px 0 25px;
    }

    #reviewsInner::after {
        background-color: #ffffff;
        content: "";
        height: 100%;
        opacity: 0.5;
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
    }

    .button {
        padding: 8px 15px 9px;
    }
}