html, body {
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    margin: 0px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 40px;
    margin: 0 0 15px 0;
}

.container {
    width: 1110px;
    margin: 0px auto;
    padding: 0px;
}
.clear {
    clear: both;
}

.bar {
    background-color: #32338d;
    color: #ffffff;
    font-size: 14px;
    height: 67px;
}
.bar a {
    color: inherit;
    text-decoration: none;
}


.bar a.mail, .bar .phone {
    box-sizing: content-box;
    display: block;
    float: left;
    line-height: 25px;
    margin-top: 20px;
    width: 180px;
}
.bar a.mail {
    background: url(/images/mail.png) no-repeat left center;
    border-right: solid 2px #ffffff;
    padding-left: 25px;
}
.bar .phone {
    background: url(/images/phone.png) no-repeat 30px center;
    padding-left: 53px;
}
.bar .consultation-link, .bar .price-link {
    display: block;
    border: solid 1px #ffffff;
    box-shadow: 0px 0px 2px 2px rgba(21, 21, 21, 0.5);
    float: left;
    line-height: 38px;
    margin: 12px 20px;
    padding: 0px 24px 0px 55px;
}
.bar .consultation-link {
    background: #4d4ec0 url(/images/lamp.png) no-repeat 24px center;
}
.bar .price-link {
    background: #4d4ec0 url(/images/download.png) no-repeat 24px center;
}
.bar .consultation-link:hover, .bar .price-link:hover {
    background-color: #191a5e;
}
.bar .social {
    float: right;
    margin-top: 25px;
}
.bar .social a {
    background-color: #4d4ec0;
    border: solid 1px #ffffff;
    box-sizing: content-box;
    display: block;
    float: left;
    height: 25px;
    margin-left: 10px;
    width: 25px;
}
.bar .social a i {
    background-image: url(/images/social.png);
    height: 15px;
    display: block;
    margin: 5px auto;
}
.bar .social a.vk i {
    background-position: 0px;
    width: 13px;
}
.bar .social a.fb i {
    background-position: -13px;
    width: 8px;
}
.bar .social a.ok i {
    background-position: -21px;
    width: 9px;
}


header.main {
    background: url(/images/header.jpg) no-repeat center center;
    background-size: cover;
    height: 320px;
}
header .container {
    background-color: #ffffff;
    height: 86px;
}
header .logo {
    background: url(/images/logo.png) no-repeat center center;
    display: block;
    float: left;
    height: 100%;
    width: 190px;
}
header nav {
    float: right;
}
header nav a {
    border-left: solid 5px #ffffff;
    color: #000000;
    display: block;
    float: left;
    font-size: 15px;
    margin-right: 43px;
    margin-top: 30px;
    padding-left: 7px;
    text-decoration: none;
}
header nav a:hover {
    text-decoration: underline;
}
header nav a.active {
    border-left-color: #ca0a0a;
}
header h1.title {
    color: #ffffff;
    font-size: 65px;
    line-height: 99px;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: center;
}
header h1.title span {
    display: inline-block;
    height: 99px;
    width: 12px;
    vertical-align: middle;
}
header h1.title span:first-child {
    background: url(/images/h1_left.png);
    margin-right: 40px;
}
header h1.title span:last-child {
    background: url(/images/h1_right.png);
    margin-left: 40px;
}
header h2, header p {
    color: #ffffff;
    margin: 0px auto;
    width: 650px;
}
header h2 {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center
}
header p {
    font-size: 13px;
    line-height: 23px;
}
header .order-link {
    background-color: #32338d;
    color: #ffffff;
    display: block;
    font-weight: 600;
    height: 67px;
    line-height: 67px;
    margin: 35px auto 0px;
    text-align: center;
    text-decoration: none;
    width: 267px;
}
header .order-link:hover {
    background-color: #a90d0d;
}


.consultation-info {
    margin: 0px auto 60px;
    width: 1077px;
}
.consultation-info .left {
    float: left;
    width: 533px;
}
.consultation-info .right {
    background: url(/images/master.png) no-repeat right center;
    height: 761px;
    float: left;
    width: 540px;
}
.consultation-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
}
.consultation-info p {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 35px;
}
.consultation-info .consultation-link {
    border: solid 2px #32338d;
    border-left-width: 4px;
    border-right-width: 4px;
    display: block;
    font-size: 13px;
    font-weight: 600;
    height: 38px;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
    width: 220px;
}
.consultation-info .consultation-link:hover {
    color: #ca0a0a;
    border-color: #ca0a0a;
}
.consultation-info .consultation-link:active {
    background-color: #ca0a0a;
    color: #ffffff;
}


.page-title {
    background-color: #f9fcff;
    line-height: 60px;
}


.reviews-widget {
    font-size: 15px;
    padding: 20px 0px 60px;
}
.reviews-widget h2, .news-list h2, .page-title {
    border-left: solid 6px #32338d;
    font-weight: 600;
    padding-left: 17px;
    margin-bottom: 50px;
}
.reviews-widget .arrow {
    display: block;
    float: left;
    height: 170px;
    width: 67px;
}
.reviews-widget .arrow.prev {
    background: #6f70af url(/images/arrow_prev.png) no-repeat center;
}
.reviews-widget .arrow.next {
    background: #6f70af url(/images/arrow_next.png) no-repeat center;
}
.reviews-widget .reviews {
    color: #797972;
    float: left;
    line-height: 18px;
    width: 976px;
}
.reviews-widget .reviews .wrap {
    left: 0%;
    position: relative;
    transition: left 1s;
}
.reviews-widget .reviews .review {
    box-sizing: border-box;
    float: left;
    padding: 0px 40px;
    width: 896px;
}
.reviews-widget .reviews .review b {
    color: #505050;
    font-weight: 600;
}
.reviews-widget .reviews {
    overflow: hidden;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    margin-top: 50px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.news-list .news {
    height: 600px;
    padding-left: 8px;
    position: relative;
    width: 540px;
}
.news-list .news:nth-child(2){
    float: left;
}
.news-list .news:nth-child(3) {
    float: right;
}
.news-list .news .date {
    background: url(/images/news_date.png);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    height: 46px;
    left: 0px;
    line-height: 38px;
    position: absolute;
    text-indent: 45px;
    top: 20px;
    width: 151px;
}
.news-list .news h3 {
    font-size: 17px;
    height: 40px;
}
.news-list .news .description {
    font-size: 15px;
}
.news-list .news a.more {
    border: solid 2px #32338d;
    bottom: 40px;
    color: #32338d;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin-top: 30px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    width: 110px;
}
.news-list .list-view .news:nth-child(2n) {
    float: left;
}
.news-list .list-view .news:nth-child(2n+1) {
    float: right;
}
.news-view {
    padding-top: 120px;
}
.news-view .news-photo {
    float: left;
    width: 460px;
}
.news-view .news-photo img {
    max-width: 100%;
}
.news-view .news-text {
    color: #51514f;
    float: right;
    width: 540px;
}
.news-view .news-text h3 {
    margin-top: 0px;
}
.news-text img {
    max-width: 100%;
}
.news-view .news-published {
    background: url(/images/calendar_grey.png) no-repeat left center;
    color: #767373;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    padding-left: 30px;
}

.back {
    display: block;
    color: #ca0a0a;
    float: right;
    height: 150px;
    line-height: 150px;
    text-decoration: none;
}
.back i {
    display: inline-block;
    background: url(/images/back.png) no-repeat;
    height: 19px;
    vertical-align: middle;
    width: 19px;
}
.back:hover {
    color: #32338d;
}
.back:hover i {
    background-position: 0px -19px;
}

.contacts {
    background: url(/images/contacts.jpg) no-repeat center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    height: 420px;
}
.contacts .shop {
    float: left;
    padding-left: 10%;
    width: 40%;
}
.contacts ul {
    float: left;
    list-style-type: none;
    margin: 0px;
    padding: 20px 0px 0px 0px;
    width: 97%;
}
.contacts li {
    height: 80px;
}
.contacts i {
    background-color: #ca0a0a;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    float: left;
    height: 55px;
    margin-right: 18px;
    width: 55px;
}
.contacts li {
    line-height: 50px;
}
.contacts .phone i {
    background-image: url(/images/contacts_phone.png);
}
.contacts .email i {
    background-image: url(/images/contacts_mail.png);
}
.contacts .address i {
    background-image: url(/images/contacts_address.png);
}
.contacts .schedule i {
    background-image: url(/images/contacts_schedule.png);
}
.contacts .schedule {
    line-height: 27px;
}

.review-list .review {
    padding-bottom: 80px;
}
.review-list .review .text {
    color: #797972;
    float: right;
    width: 950px;
}
.review-list .review .text b {
    color: #505050;
    font-weight: 600;
}
.review-list .review i {
    background-image: url(/images/review.png);
    display: block;
    float: left;
    height: 123px;
    width: 100px;
}
.review-list .review:nth-child(2n+1) i {
    background-position: -100px 0px;
}

.consultation-form, .order-form, .review-form {
    background-color: #f6f6f6;
    color: #656565;
    padding: 80px 65px;
}
.consultation-form p, .review-form p {
    margin: 0px 0px 40px;;
}
.consultation-form .field-consultationform-name, .consultation-form .field-consultationform-email {
    float: left;
    width: 48%;
}
.field-consultationform-name input, .field-consultationform-email input, .field-orderform-name input, .field-orderform-email input, .field-orderform-name input, .field-orderform-phone input, .review-form .field-reviewform-author input {
    box-sizing: border-box;
    height: 60px;
    line-height: 60px;
    padding: 0px 20px;
    width: 100%;
}
.consultation-form .field-consultationform-name  {
    margin-right: 4%;
}
.consultation-form textarea, .order-form textarea, .review-form textarea {
    box-sizing: border-box;
    margin-top: 30px;
    padding: 20px;
    resize: vertical;
    width: 100%;
}
.consultation-form input, .consultation-form textarea, .order-form input, .order-form textarea, .review-form input, .review-form textarea {
    font: inherit;
} 
.consultation-form .submit, .order-form .submit, .review-form .submit {
    background-color: #32338d;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
    margin-top: 50px;
    width: 175px;
}
.consultation-form .submit:hover, .order-form .submit:hover, .review-form .submit:hover {
    background-color: #ca0a0a;
}

.consultation-list .consultation i {
    background-image: url(/images/consultation.png);
    display: block;
    float: left;
    height: 123px;
    width: 100px;
}
.consultation-list .consultation:nth-child(2n+1) i {
    background-position: -100px 0px;
}
.consultation-list a.more {
    border: solid 2px #32338d;
    color: #32338d;
    display: block;
    float: right;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin-top: 30px;
    text-align: center;
    text-decoration: none;
    width: 150px;
}
.consultation-list .consultation {
    margin-bottom: 80px;
}
.consultation-list .consultation .text {
    color: #797972;
    float: right;
    width: 950px;
}
.consultation-list .consultation .text h3 {
    margin: 0px;
}
.consultation-text {
    padding-bottom: 30px;
}

.page-text {
    padding: 60px 0px;
}
.page-text table {
    border-bottom: solid 1px #a9a9cf;
    border-spacing: 0px;
    width: 100%;
}
.page-text table tr {
    height: 55px;
}
.page-text td, .page-text th {
    margin: 0px;
    padding: 0px 60px;
    text-align: left;
}
.page-text table thead {
    background-color: #6f70b0;
    color: #ffffff;
}
.page-text tr:nth-child(2n) {
    background-color: #d7d6e8;
}
.page-text .logos {
    float: left;
    height: 500px;
    width: 140px;
}
.page-text .text {
    float: left;
    width: 830px;
}
.page-text .text>div {
    padding: 0px 40px;
}

.contacts.inner {
    background: none;
    color: #000000;
    padding-top: 60px;
}
.contacts.inner i {
    background-color: #32338d;
}

.summary {
    color: #797972;
    height: 60px;
    text-align: right;
}

.pagination {
    float: right;
    height: 40px;
    list-style-type: none;
    padding-bottom: 60px;
}
.pagination li {
    background-color: #cecece;
    float: left;
    height: 40px;
    margin-left: 15px;
    width: 40px;
}
.pagination li.active, .pagination li:hover a, .pagination li.active:hover a {
    background-color: #32338d;
    border: none;
    color: #ffffff;
}
.pagination li a, .pagination li span, .pagination li.active a {
    background-color: inherit;
    border: none;
    color: #ffffff;
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 40px;
    margin: 0px;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    width: 40px;
}
.pagination li.disabled {
    display: none;
}

.order-form {
    margin-bottom: 60px;
}
.order-form .field-orderform-name, .order-form .field-orderform-email, .field-orderform-phone {
    float: left;
    width: 30%;
}
.order-form .field-orderform-name, .order-form .field-orderform-phone  {
    margin-right: 5%;
}
.products-grid {
    float: left;
    margin-right: 2%;
    width: 40%;
}
.products-grid table {
    border-bottom: solid 1px #a9a9cf;
    font-size: 14px;
    border-spacing: 0px;
    width: 100%;
}
.products-grid table tr, .cart table tr {
    height: 30px;
}
.products-grid td, .products-grid th, .cart td, .cart th {
    padding: 0px 5px;
    text-align: left;
}
.products-grid tr:nth-child(2n), .cart tr:nth-child(2n) {
    background-color: #d7d6e8;
}
.products-grid td:first-child {
    width: 70%;
}
.products-grid table thead tr:first-child {
    display: none;
}
.products-grid table thead tr:last-child, .cart table thead tr {
    background-color: #6f70b0;
    height: 40px;
}
.products-grid table .kv-grid-group {
    font-weight: 900;
}
.products-grid .filters {
    white-space: nowrap;
}
.products-grid .filters input, .products-grid .filters select {
    font: inherit;
    height: 30px;
    margin-right: 15px;
}

.products-grid td .title {
    float: left;
    width: 77%;
}
.products-grid td .price {
    float: left;
    width: 20%;
}
.products-grid td i {
    cursor: pointer;
    float: left;
    width: 3%;
}

.cart {
    float: left;
    width: 58%;
}
.cart table {
    border-bottom: solid 1px #a9a9cf;
    width: 100%;
}
.cart table thead {
    background-color: #6f70b0;
    color: #ffffff;
}
.cart th:nth-child(1) {
    width: 50%;
}
.cart th:nth-child(2) {
    width: 20%;
}
.cart th:nth-child(3) {
    width: 15%;
}
.cart th:nth-child(4) {
    width: 5%;
}
.cart table tr.empty td {
    height: 120px;
    font-size: 22px;
    text-align: center;
}
.cart .dummy {
    display: none;
}
.cart table input[type=number] {
    height: 22px;
    width: 60px;
}
.cart table tfoot th {
    text-align: right;
}
.cart tr i.glyphicon-remove {
    cursor: pointer;
}

footer {
    background-color: #000000;
    color: #ffffff;
    height: 140px;
}
footer .social {
    float: left;
    padding-top: 50px;
}
footer .social a {
    background-image: url(/images/footer_social.png);
    display: inline-block;
    height: 40px;
    margin-right: 10px;
    width: 40px;
}
footer .social a.vk:hover {
    background-position: 0px -40px;
}
footer .social a.fb {
    background-position: -40px 0px;
}
footer .social a.fb:hover {
    background-position: -40px -40px;
}
footer .social a.ok {
    background-position: -80px 0px;
}
footer .social a.ok:hover {
    background-position: -80px -40px;
}
footer .copyright {
    float: right;
    line-height: 140px;
}