﻿html, body {
    margin: 0;
    padding: 0;
}

body {
    font: normal 10pt/12pt 'Open Sans', sans-serif;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="text"],
a {
    outline: 0;
}

img {
    border: 0;
}

section, header {
    display: block;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 400;
    margin-top: 0;
    letter-spacing: 0.5pt;
}

h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #f28f2a;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.1em;
}

#scrollup {
    position: fixed;
    opacity: 0.6;
    padding: 5px;
    background: rgba(101, 172, 226, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    right: 20px;
    bottom: 20px;
    display: none;
    cursor: pointer;
    border: 1px solid #fff;
}


/********** Основные блоки **********/

header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
    height: 60px;
}

#business,
#advantages,
#stages,
#order,
#options,
#more-advant,
#about,
#partners,
#contacts {
    padding-top: 60px;
}

.inner {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

header .inner {
    padding: 10px 0;
}

#start .inner {
    padding: 100px 0 40px;
}

footer .inner {
    padding: 20px 0;
}


/********** Кнопки **********/

input[type="submit"], #anketaForm input[type="button"] {
    min-width: 250px;
    padding: 7px 10px;
    font: normal 18pt 'PT Sans Narrow', sans-serif;
    color: #fff;
    background: #ef9d4b;
    background: -webkit-linear-gradient(top, #ef9d4b 0%, #d56d07 100%);
    background: -moz-linear-gradient(top, #ef9d4b 0%, #d56d07 100%);
    background: linear-gradient(to bottom, #ef9d4b 0%, #d56d07 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef9d4b', endColorstr='#d56d07', GradientType=0 );
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 2px #FFF, inset 0px 0px 4px #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    text-shadow: 0 -1px 1px #777;
}

    input[type="submit"]:hover, input[type="submit"]:active, #anketaForm input[type="button"]:hover, #anketaForm input[type="button"]:active {
        background: #E3862B;
    }

    input[type="submit"]:active, #anketaForm input[type="button"]:active {
        background: -webkit-linear-gradient(top, #d56d07 0%, #ef9d4b 100%);
        background: -moz-linear-gradient(top, #d56d07 0%, #ef9d4b 100%);
        background: linear-gradient(to bottom, #d56d07 0%, #ef9d4b 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d56d07', endColorstr='#ef9d4b', GradientType=0 );
        box-shadow: inset 0px 0px 6px #000;
        text-shadow: none;
        -webkit-transition: all .05s;
        -moz-transition: all .05s;
        transition: all .05s;
    }

#clearButton {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #000 !important;
    font-size: 1.3em !important;
}

    #clearButton:hover, #clearButton:active {
        color: #487dc1 !important;
    }

#order-top-demo {
    background: #a0d6ea;
    background: -webkit-linear-gradient(top, #a0d6ea 0%, #59c5ed 100%);
    background: -moz-linear-gradient(top, #a0d6ea 0%, #59c5ed 100%);
    background: linear-gradient(to bottom, #a0d6ea 0%, #59c5ed 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0d6ea', endColorstr='#59c5ed', GradientType=0 );
    margin-right: 40px;
}

    #order-top-demo:hover {
        background: #91cde4;
    }


/********** Навигация - Header **********/

#bs-logo {
    display: block;
    float: left;
}

nav {
    display: block;
    float: right;
}

    nav ul {
        list-style: none;
        padding-left: 0;
    }

        nav ul li {
            display: inline-block;
        }

    nav li:last-child > a {
        padding-right: 0;
    }

    nav a {
        color: #fff;
        padding: 0 10px;
        text-decoration: none;
        -webkit-transition: all .2s;
        -moz-transition: all .2s;
        transition: all .2s;
    }

        nav a:hover {
            color: #FFCA79;
            -webkit-transition: all .2s;
            -moz-transition: all .2s;
            transition: all .2s;
        }


/********** Старт **********/

#start {
    background: url(../img/start-back.jpg) center no-repeat;
    background-size: cover;
    /*background-attachment: fixed;*/
    color: #fff;
}

.main-title {
    float: right;
    text-align: center;
    margin-top: 100px;
}

    .main-title h1 {
        font-size: 40pt;
        text-align: left;
        color: #fff;
        text-transform: none;
    }

    .main-title h2 {
        font-size: 22pt;
        line-height: 26pt;
    }

    .main-title h3 {
        font-size: 18pt;
        line-height: 20pt;
    }

#phone-email {
    float: right;
    margin: -95px 0 0;
}

    #phone-email h1 {
        font-size: 28pt;
        text-align: left;
        color: #fff;
    }

    #phone-email h2 {
        font-size: 22pt;
    }

    #phone-email a {
        color: #fff;
        text-decoration: none;
    }

        #phone-email a:hover {
            border-bottom: 1px solid;
        }

#box, .main-title {
    display: inline-block;
    vertical-align: top;
}

#sertificate {
    margin-top: 10px;
}

#order-top {
    margin-top: 60px;
    width: 100%;
}


/********** Бизнес-процессы **********/

#business {
}

/***   /\__/\   Карусель   /\__/\   ***/

.carousel {
    max-width: 1000px; /* ширина всего блока */
    margin: 50px auto 0;
    width: 100%;
}

.carousel-wrapper {
    margin: 10px 30px 0; /* отступы для стрелок */
    overflow: hidden; /* скрываем содержимое, выходящее за рамки основной области */
    position: relative;
}

.carousel-items {
    width: 10000px; /* устанавливаем большую ширину для набора элементов */
    position: relative; /* позиционируем блок относительно основной области карусели */
}

.carousel-block {
    float: left; /* выстраиваем все элементы карусели в ряд */
    width: 195px; /* задаём ширину каждого элемента */
    padding: 0 20px; /* делаем оступы, чтобы элементы не сливались */
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
    line-height: normal;
}

.carousel-img {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #487dc1;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    padding: 22px;
}

.carousel-button-left a, .carousel-button-right a {
    width: 25px;
    height: 36px;
    position: relative;
    top: 80px;
    cursor: pointer;
    text-decoration: none;
}

.carousel-button-left a {
    float: left;
    background: url(../img/carousel-left.png);
}

.carousel-button-right a {
    float: right;
    background: url(../img/carousel-right.png);
}


/********** Преимущества **********/

#advantages {
    background: url(../img/advant-back.jpg) center no-repeat;
    background-size: cover;
    color: #fff;
}

    #advantages h1 {
        color: #fff;
    }

.advant-grid {
    display: table;
    width: 100%;
}

.advant-cell {
    display: table-cell;
    width: 25%;
    text-align: center;
    padding: 10px 10px 0;
}

/***   /\__/\   Переворот   /\__/\   ***/

/* контейнер с перспективой */
.flip-container, .front, .back {
    height: 250px;
}

.flip-container {
    -webkit-perspective: 1500;
    -moz-perspective: 1500;
    perspective: 1500;
}
    /* поворот контейнера при клике */
    .flip-container.hover .flipper, .flip-container:hover .flipper {
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

/* скорость поворота */
.flipper {
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

/* скрытие оборотной стороны */
.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* передняя панель поверх задней */
.front {
    z-index: 2;
    /* for firefox 3.1 */
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

    .front h3 {
        font: normal 11pt/14pt 'Open Sans', sans-serif;
        line-height: normal;
        margin-top: 20px;
        letter-spacing: normal;
        color: #ddd;
    }

/* задняя скрытая панель */
.back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

    .back p {
        text-align: left;
        color: #ddd;
    }

/* кнопка */
.push-me {
    background: url(../img/push-me.png) center no-repeat;
    border: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    outline: none;
}


/********** Этапы работы **********/

#stages {
}

.stage {
    display: inline-block;
    width: 140px;
    padding: 0 10px;
    vertical-align: top;
    text-align: center;
}

    .stage p {
        text-align: left;
        font-size: 0.8em;
    }

    .stage h1 {
        font: bold 50pt 'Open sans', sans-serif;
        border: 3px solid #0f7ec5;
        border-radius: 50px;
        width: 50px;
        height: 70px;
        color: #0f7ec5;
        padding: 0 0 0 20px;
    }

    .stage::before {
        content: ' ';
        background: url(../img/stage-arrow.png) center no-repeat;
        width: 117px;
        height: 36px;
        display: block;
        margin: 22px 0 0 107px;
        position: absolute;
    }

    .stage.last::before {
        content: none;
        background: none;
    }

    .stage h3 {
        font: bold 9pt 'Open sans', sans-serif;
        text-transform: uppercase;
        margin: 20px 0;
        letter-spacing: normal;
        height: 30px;
    }


/********** Закажите решение **********/

#order {
    background: url(../img/start-back.jpg) center no-repeat;
    background-size: cover;
    color: #fff;
}

    #order h1 {
        color: #fff;
    }


/********** Опции и услуги **********/

#options {
}

.options-row {
    display: table;
    margin-bottom: 20px;
}

.options-text {
    display: table-cell;
    vertical-align: middle;
    padding-left: 20px;
}

.options-img {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #487dc1;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    padding: 22px 25px 22px 19px;
}


/********** Преимущества **********/

#advantages {
}

#more-advant {
    background: url(../img/more-advant-back.jpg) center no-repeat;
    background-size: cover;
    color: #fff;
}

    #more-advant h1 {
        color: #fff;
    }

.advant-img {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #487dc1;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    padding: 22px 25px 22px 19px;
    background: #fff;
    margin-bottom: 30px;
}


/********** Партнеры **********/

#partners {
    background: url(../img/partners-back.jpg) center no-repeat;
    background-size: cover;
}

    #partners h1 {
        color: #533618;
    }

#partners-row {
    text-align: center;
}

.partners-cell {
    display: inline-block;
    margin: 0 10px;
}


/********** Контакты **********/

#contacts {
    min-height: 360px;
}

#contacts-block {
    display: table;
}

#contact-form, #p-a-m {
    display: table-cell;
    width: 50%;
}

    #contact-form form {
        max-width: 80%;
        width: 80%;
    }

    #contact-form input {
        width: 88%;
    }

        #contact-form input[type="submit"] {
            width: 100%;
        }

#contact-phone {
    font-size: 1.6em;
    line-height: 1.5em;
}

#contact-address {
    font-size: 1.1em;
    line-height: 1.5em;
}

#map {
    border: 1px solid #3f98d1;
    width: 500px;
    height: 250px;
}


/********** Footer **********/

footer {
    background: url(../img/start-back.jpg) center no-repeat;
    background-size: cover;
    color: #fff;
}

    footer .inner {
        text-align: center;
    }

#p-a-m a {
    text-decoration: none;
}

    #p-a-m a:hover {
        border-bottom: 1px solid;
    }


/********** Формы и Модальное окно **********/

#order-solution {
    text-align: center;
}

.fio, .email, .phone, .comment,
.contact-fio, .contact-company, .contact-phone, .contact-email, .contact-city,
#order-modal .name, #order-modal .company, #order-modal .email, #order-modal .phone {
    border: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 10px 10px 10px 35px;
    font-size: 1.2em;
    margin: 20px 0;
    width: 250px;
    /*opacity: 0.7;*/
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.contact-fio, .contact-company, .contact-phone, .contact-email, .contact-city,
#order-modal .name, #order-modal .company, #order-modal .email, #order-modal .phone {
    border-bottom: 1px solid #000;
    color: #000;
    margin: 14px 0;
}

    .fio:focus, .email:focus, .phone:focus, .comment:focus,
    .contact-fio:focus, .contact-company:focus, .contact-phone:focus, .contact-email:focus, .contact-city:focus {
        /*opacity: 1.0;*/
    }

.fio {
    background: url(../img/fio.png) 0% 50% no-repeat;
}

    .fio:focus {
        background: url(../img/contact-fio-focus.png) 0% 50% no-repeat;
    }

.email {
    background: url(../img/email.png) 0% 50% no-repeat;
    margin: 20px;
}

    .email:focus {
        background: url(../img/contact-email-focus.png) 0% 50% no-repeat;
        margin: 20px;
    }

.phone {
    background: url(../img/phone.png) 0% 50% no-repeat;
}

    .phone:focus {
        background: url(../img/contact-phone-focus.png) 0% 50% no-repeat;
    }

.contact-fio, #order-modal .name {
    background: url(../img/contact-fio.png) 0% 50% no-repeat;
}

    .contact-fio:focus, #order-modal .name:focus {
        background: url(../img/contact-fio-focus.png) 0% 50% no-repeat;
    }

.contact-company, #order-modal .company {
    background: url(../img/contact-company.png) 0% 50% no-repeat;
}

    .contact-company:focus, #order-modal .company:focus {
        background: url(../img/contact-company-focus.png) 0% 50% no-repeat;
    }

.contact-phone, #order-modal .phone {
    background: url(../img/contact-phone.png) 0% 50% no-repeat;
}

    .contact-phone:focus, #order-modal .phone:focus {
        background: url(../img/contact-phone-focus.png) 0% 50% no-repeat;
    }

.contact-email, #order-modal .email {
    background: url(../img/contact-email.png) 0% 50% no-repeat;
}

    .contact-email:focus, #order-modal .email:focus {
        background: url(../img/contact-email-focus.png) 0% 50% no-repeat;
    }

.contact-city {
    background: url(../img/contact-city.png) 0% 50% no-repeat;
}

    .contact-city:focus {
        background: url(../img/contact-city-focus.png) 0% 50% no-repeat;
    }

.comment {
    background: url(../img/comment.png) 0% 50% no-repeat;
    width: 887px;
}

    .comment:focus {
        background: url(../img/comment-focus.png) 0% 50% no-repeat;
        width: 887px;
    }

#order-modal .name, #order-modal .company, #order-modal .email, #order-modal .phone {
    width: 305px;
}

#order-modal, #order-top {
    display: inline-block;
    float: right;
}

#order-modal {
}

    #order-modal label {
        display: inline-block;
        width: 165px;
        font-size: 1.1em;
    }

    #order-modal .submit {
        width: 350px;
    }

.spam {
    font-size: 0.8em;
    color: #B5B5B5;
    margin: 10px 0;
    display: block;
}

#modal_form, #modal_form_order {
    width: 350px;
    height: 330px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #CFDBE0 url(../img/pattern.png) left bottom no-repeat;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -210px;
    margin-left: -230px; /* мaгия центрoвки css - oтступaем влевo и вверх минус пoлoвину высoты и чуть больше половины ширины */
    display: none;
    opacity: 0;
    z-index: 1001;
    padding: 40px;
    box-shadow: 0 0 10px #000;
}

#modal_form_order {
    background: #CFDBE0;
    width: 800px;
    min-height: 500px;
    margin-top: -350px;
    margin-left: -400px; /* центровка блока */
}

.modal_close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: block;
    background: url(../img/close.png) 0% 0% no-repeat;
}

    .modal_close:hover,
    .modal_close:active {
        background: url(../img/close.png) 0% 100% no-repeat;
    }

#overlay, #overlay-full {
    z-index: 1000;
    position: fixed;
    background-color: #000;
    opacity: 0.6;
    -moz-opacity: 0.6;
    filter: alpha(opacity=60);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
}


/********** Анкета **********/

#anketaForm {
    height: 500px;
    overflow: auto;
}

    #anketaForm h2 {
        margin-top: 40px;
        line-height: normal;
    }

    #anketaForm input[type="text"] {
        padding: 3px 5px;
        margin: 5px 0;
    }

.ukaz {
    display: inline-block;
    margin-left: 10px;
}

.app_form_part label {
    width: 410px;
    display: inline-block;
}

.count, .krit {
    width: 30px;
}

.krit-row label, .common-row label {
    width: 150px;
}

.effect-row label, .functional-row label {
    width: auto;
}

.uchet-row label, .program-row label {
    width: 430px;
}

.opisanie-row label {
    width: 310px;
}

.trebovanie-row label {
    width: 320px;
}

.buttons {
    text-align: center;
    margin: 20px auto;
}
