@import "fonts.less"; article, aside, details, figcaption, figure, footer, header, menu, nav, section { display: block; } .placeholder(@rules) { &::-webkit-input-placeholder { @rules(); } &:-moz-placeholder { @rules(); } &::-moz-placeholder { @rules(); } &:-ms-input-placeholder { @rules(); } } .transparent { /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 5-7 */ filter: alpha(opacity=0); /* Netscape */ -moz-opacity: 0; /* Safari 1.x */ -khtml-opacity: 0; /* Good browsers */ opacity: 0; } .opacity_100 { /* IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 5-7 */ filter: alpha(opacity=100); /* Netscape */ -moz-opacity: 1; /* Safari 1.x */ -khtml-opacity: 1; /* Good browsers */ opacity: 1; } .transform (@transform) { -webkit-transform: @transform; -moz-transform: @transform; -o-transform: @transform; -ms-transform: @transform; transform: @transform; } .transition (@transition) { -webkit-transition: @transition; -moz-transition: @transition; -o-transition: @transition; -ms-transition: @transition; transition: @transition; } .box-shadow (@box-shadow) { -webkit-box-shadow: @box-shadow; -moz-box-shadow: @box-shadow; box-shadow: @box-shadow; } .box-sizing (@box-sizing) { -webkit-box-sizing: @box-sizing; -moz-box-sizing: @box-sizing; box-sizing: @box-sizing; } .grad (@color-1, @color-2) { background: @color-1; /* Old browsers */ background: -moz-linear-gradient(top,@color-1 0%, @color-2 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,@color-1), color-stop(100%,@color-2)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, @color-1 0%,@color-2 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, @color-1 0%,@color-2 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, @color-1 0%,@color-2 100%); /* IE10+ */ background: linear-gradient(to bottom, @color-1 0%,@color-2 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@color-1', endColorstr='@color-2',GradientType=0 ); /* IE6-9 */ } * { margin: 0; padding: 0; .box-sizing (border-box); } img { border: 0 } ul { list-style: none;} .left { float: left; } .right { float: right; } .clr { clear: both; } .clrh { clear:both; display:none; } .pull-left { float: left; } .pull-right { float: right; } .text-center { text-align: center; } .text-right { text-align: right; } .clearfix { &:after { content: ""; display: table; clear: both; } } html { height: 100%; overflow-y: scroll; } body { font-family: 'HelveticaNeue Cyrillic', Helvetica, Arial, sans-serif; font-size: 18px; color: #000; background: #fff; max-width: 1920px; margin: 0 auto; overflow-y: hidden; } section { width: 980px; margin: 0 auto; } .relative { position: relative; } .overflow-h { overflow: hidden; } a, input, button, select, textarea { outline: none; font-family: 'HelveticaNeue Cyrillic', Helvetica, Arial, sans-serif; } a { .transition(0.2s all); } .txt-color-white { color: #fff; } a { text-decoration: none; color: inherit; } .ttu { text-transform: uppercase; } #totop { position: fixed; left: 30px; bottom: 30px; opacity: .7; z-index: 999; display: none; &:hover { opacity: 1; } } .header { color: #010101; .header-line { .clearfix; padding: 10px 0; } .logo { margin-top: 4px; float: left; } .phone { line-height: 22px; } .slogan { width: 342px; text-align: center; float: left; font-weight: bold; font-size: 18px; margin-left: 146px; line-height: 21px; } .contacts { text-align: right; } .btn-link { color: #d32037; font-size: 14px; text-decoration: none; border-bottom: 1px dashed #d32037; &:hover { border-bottom-color: transparent; } } } .menu { text-align: center; padding-bottom: 10px; padding-top: 10px; li { display: inline-block; margin: 0 20px; &.active, &:hover { a { text-decoration: underline; } } a { display: block; color: #7a1a26; font-weight: 300; font-size: 16px; text-decoration: none; &.active { text-decoration: underline; } } } } .menu-fixed { padding-top: 40px; .navbar { width: 100%; position: fixed; top: 0; left: 0; background: #fff; z-index: 999; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.35); } } .main-slider { position: relative; min-height: 619px; .main-slider-pager { position: absolute; bottom: 40px; width: 100%; text-align: center; z-index: 99; .bx-pager-item { display: inline-block; vertical-align: top; margin: 0 2px; padding: 3px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #d32037; a { display: block; width: 100%; height: 100%; border-radius: 50%; text-indent: 100%; overflow: hidden; &:hover, &.active { background: #d32037; } } } } .slider { width: 100%; height: 619px; overflow: hidden; position: absolute; top: 0; left: 0; z-index: -1; li { height: 619px; background-size: cover; background-position: center; } } .main-form { background: url(../images/text-shadow.png) top 25px center no-repeat; .title { text-align: center; font-size: 36px; font-weight: bold; line-height: 56px; text-transform: uppercase; text-shadow: 1px 0 0 #fff; padding: 92px 0 115px; } } } .btn { font-size: 18px; background: none; font-weight: bold; text-align: center; position: relative; cursor: pointer; padding: 5px 10px; display: inline-block; &:active { top: 1px; } } .btn-default { color: #ff0b41; outline: 2px solid #ff0b41; outline-offset: 2px; border: 1px solid #ff0b41; margin: 4px; } .btn-submit { color: #fff; background: #d32037; position: relative; cursor: pointer; border: none; padding: 14px 42px; &:hover { background: #B1192C; } } .h2 { font-weight: bold; font-size: 30px; text-transform: uppercase; background: url("../images/h2.png") top center no-repeat; padding-top: 29px; text-align: center; span:first-child { position: relative; display: inline-block; vertical-align: top; border-top: 1px solid #7a1a26; padding-top: 4px; min-width: 220px; } .text-color { color: #d32037; } } .form-custom { background: #fff; background: rgba(255, 255, 255, 0.80); padding: 8px 46px 46px; .clearfix; .form-title { text-align: center; font-size: 24px; font-weight: bold; cursor: pointer; padding: 0 10px; margin-bottom: 47px; } label { // font-weight: 300; font-size: 16px; position: absolute; z-index: 1; top: -8px; left: 23px; &.input-error { color: red; } } .form-group { background: url("../images/form-group.png") center no-repeat; width: 198px; position: relative; input { width: 100%; position: relative; z-index: 2; line-height: 28px; padding: 10px; border: 0; background: none; } } } .form-linear { .form-group { height: 48px; float: left; margin-right: 20px; } .btn-default { float: right; padding: 9px 35px; } } .form-wrapper { padding-top: 47px; background: url(../images/call.png) top center no-repeat; } .form-default { border: 6px solid #7a1a26; text-align: center; padding: 8px 42px 55px; .form-title { margin-top: 0; display: inline-block; position: relative; top: -28px; background: #fff; margin-bottom: 5px; } .sub-title { font-size: 18px; font-weight: bold; margin-bottom: 43px; } } .form-with-textarea { padding-bottom: 41px; label { background: #fff; z-index: 3; padding: 0 10px; } .form-group { background: none; border: 1px solid #7a1a26; text-align: left; margin-bottom: 23px; input, textarea { background: none; border: 0; } } .textarea { width: 658px; max-width: 100%; .form-group { width: 100%; } } textarea { width: 100%; position: relative; z-index: 2; line-height: 28px; padding: 10px; border: 0; height: 190px; background: none; } .btn-default { margin-top: 21px; padding: 9px; width: 220px; } } .block-slogan { padding-bottom: 35px; .h2 { margin-bottom: 51px; } } .block-manufacturer { padding: 35px 0; .h2 { margin-bottom: 50px; } } .filters { .menu; margin-bottom: 20px; padding-bottom: 0; padding-top: 0; li { margin: 0 17px; a { color: #d32037; } } } #toggle-works { font-size: 16px; text-decoration: underline; margin: 14px 0 29px; display: inline-block; color: #d32037; &:hover { text-decoration: none; } } .block-works { text-align: center; padding: 40px 0 40px; .h2 { margin-bottom: 39px; } .works { margin: 0 -10px; font-size: 0; } .work { // display: inline-block; vertical-align: top; width: 180px; height: 130px; overflow: hidden; margin: 10px; position: relative; display: none; a { display: block; position: relative; &:hover { &:after { .opacity_100; } &:before { width: 166px; height: 116px; } } &:before { content: ''; width: 100%; height: 100%; border: 1px solid #fff; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; .transition(0.25s all); } &:after { content: ''; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.25); position: absolute; top: 0; left: 0; .transparent; .transition(0.25s all); } } img { display: block; width: 100%; } } .btn { padding: 9px 0; width: 220px; } } .block-advantages { padding: 29px 0 39px; .h2 { margin-bottom: 44px; } .items { .clearfix; .item { width: 448px; height: 79px; border: 3px solid #d32037; position: relative; line-height: 30px; font-size: 18px; margin-bottom: 10px; a:hover { text-decoration: underline; } &.odd { float: left; .text { text-align: right; } .icon { right: -24px; } } &.even { float: right; .text { text-align: left; } .icon { left: -24px; } } .icon { position: absolute; width: 46px; height: 52px; line-height: 52px; background: #fff; top: 9px; text-align: center; img { display: inline-block; vertical-align: middle; } } .text { display: table-cell; vertical-align: middle; padding: 0 40px; width: 448px; height: 79px; } } } .guarantees { background: url("../images/guarantees.png") top center no-repeat; width: 728px; height: 147px; line-height: 147px; text-align: center; font-weight: bold; font-size: 30px; text-transform: uppercase; margin: 40px auto; } } .block-staff { padding: 30px 0 0; .staff-list { padding: 44px 115px 20px; } .staff-item { width: 350px; border: 6px solid #d32037; padding: 13px 25px; margin-bottom: 29px; .image { position: relative; border: 12px solid #fff; &:after { content: ''; width: 221px; height: 221px; top: 6px; left: 6px; position: absolute; border: 1px solid #fff; } img { display: block; } } .description { width: 175px; text-align: center; margin-top: 51px; .title { color: #7a1a26; font-weight: bold; font-size: 24px; margin-bottom: 13px; } .position { font-size: 18px; line-height: 22px; height: 44px; overflow: hidden; margin-bottom: 25px; } .btn { width: 167px; padding: 15px 2px; } } &.odd { float: left; .image { float: left; margin-left: -158px; } .description { float: right; } } &.even { float: right; .image { float: right; margin-right: -158px; } .description { float: left; } } } } .block-actions { padding: 20px 0 25px; .h2 { margin-bottom: 54px; } .action-list { .clearfix; width: 708px; background: url(../images/staple.png) right top no-repeat; display: inline-block; vertical-align: middle; } .action-item { font-size: 20px; font-weight: bold; margin-bottom: 20px; .image, .description { display: inline-block; vertical-align: middle; } .image { margin-right: 21px; img { display: block; } } } .sale-block { display: inline-block; vertical-align: middle; text-align: center; color: #d32037; font-size: 24px; font-weight: bold; width: 266px; .btn-default { padding: 9px 20px; } p { margin-bottom: 18px } } } .bx-next, .bx-prev { top: 50%; position: absolute; text-indent: 100%; overflow: hidden; &:hover { opacity: 0.7; } } .bx-prev { left: 0; } .bx-next { right: 0; } .block-reviews { padding: 25px 0 50px; .bx-viewport { // padding-top: 60px; } .h2 { margin-bottom: 53px; } .review { .clearfix; padding: 60px 85px 0; .image { float: left; width: 295px; height: 223px; position: relative; .client { position: absolute; right: -1px; top: -60px; } img { max-width: 100%; display: block; } } .description { float: right; width: 480px; font-size: 16px; color: #373737; text-align: justify; p { font-style: italic; line-height: 20px; } .title { font-size: 18px; font-weight: bold; color: #d32037; margin-bottom: 20px; } } } .bx-next, .bx-prev { width: 32px; height: 32px; margin-top: -16px; } .bx-prev { background: url(../images/prev-small.png) no-repeat; } .bx-next { background: url(../images/next-small.png) no-repeat; } } .block-contacts { font-size: 16px; padding: 20px 0 25px; .h2 { margin-bottom: 42px; } .title { color: #7a1a26; font-size: 18px; font-weight: bold; margin-bottom: 3px; } .address { width: 480px; padding-left: 52px; background: url(../images/mark.png) left center no-repeat; p { line-height: 24px; } } .contacts { padding: 0 153px 43px; } .phone { padding-left: 44px; background: url(../images/phone.png) left center no-repeat; margin-top: 12px; line-height: 24px; } .email { padding-left: 51px; background: url(../images/email.png) left center no-repeat; margin: 13px 0 0; line-height: 24px; } a { color: #7a1a26; text-decoration: underline; &:hover { text-decoration: none; } } .map { height: 513px; } } .block-model { padding: 42px 0 40px; section { position: relative; } .h2 { margin-bottom: 50px; } .model-wrapper { margin-bottom: 80px; } .btn-wrapper { padding-top: 32px; } .btn-default { padding: 9px 25px; } .labels { .label-text, .line, .point, .arrow { position: absolute; } .point { width: 12px; height: 12px; border-radius: 50%; background: #1c0002; border: 1px solid #fff; z-index: 4; // cursor: pointer; // .transition(0.2s all); &:hover { // transform: scale(1.5); } } .line, .arrow { z-index: 2; .transition(0.4s all); } .label-text { color: #000; font-size: 16px; font-weight: 300; outline: 2px solid #d32037; outline-offset: 2px; border: 1px solid #d32037; margin: 4px; padding: 11px 18px; line-height: 19px; z-index: 3; display: none; } } .line-1 { background: url(../images/label/1.png) right bottom no-repeat; width: 59px; height: 224px; } .line-2 { background: url(../images/label/2.png) left bottom no-repeat; width: 42px; height: 199px; } .line-3 { background: url(../images/label/3.png) left bottom no-repeat; width: 63px; height: 154px; } .line-4 { background: url(../images/label/4.png) right top no-repeat; width: 57px; height: 130px; } .line-5 { background: url(../images/label/5.png) right top no-repeat; width: 56px; height: 50px; } .label-1 { .point { top: 369px; left: 413px; } .line { bottom: 232px; right: 559px; } .label-text { top: 90px; left: 1px; } } .label-2 { .point { top: 338px; left: 661px; } .line { bottom: 262px; left: 666px; } .label-text { top: 85px; right: 0; padding: 10px 21px; } } .label-3 { .point { top: 370px; left: 725px; } .line { bottom: 231px; left: 730px; } .label-text { top: 184px; right: 0; padding: 10px 29px; } } .label-4 { .point { left: 430px; top: 445px; } .line { right: 542px; top: 456px; } .label-text { left: 58px; top: 552px; padding: 10px 21px; } } .label-5 { .point { right: 408px; top: 581px; } .line { right: 358px; top: 592px; } .label-text { right: 171px; top: 607px; padding: 19px 15px; } } .arrow { transform: translate(50%, 0); } .arrow-1 { width: 91px; height: 27px; background: url(../images/label/arrow/1.png) top center no-repeat; right: 246px; top: 362px; } .arrow-2 { width: 447px; height: 119px; background: url(../images/label/arrow/2.png) top center no-repeat; right: 415px; top: 527px; } } .block-question { padding: 45px 0; .h2 { margin-bottom: 43px; } .inputs { margin-top: 14px; } } .footer { background: #1c0002; font-size: 16px; font-weight: 300; color: #fff; padding: 15px 0; margin-top: 24px; .clearfix; a:hover { opacity: 0.8; } .logo-min { margin-top: 10px; } .contacts { text-align: right; } .button { font-weight: bold; text-decoration: none; font-size: 16px; border: 2px solid #fff; padding: 5px 10px; margin-top: 14px; display: inline-block; } } .form-popup-wrapper { .form-custom { .form-group { margin-right: 0; & + .form-group { margin-left: 20px; } } .buttons { margin-top: 30px; } } } .block-acts { .slider-act-wrapper { padding: 40px 52px; position: relative; } .bx-wrapper { position: static; } .bx-next, .bx-prev { display: block; position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; text-indent: 100%; overflow: hidden; &:hover { opacity: 0.8; } } .bx-next { right: 0; background: url(../images/next-small.png) no-repeat; } .bx-prev { left: 0; background: url(../images/prev-small.png) no-repeat; } } .vk-link { img, span { display: inline-block; vertical-align: middle; } } .fake-menu { position: fixed; width: 100%; top: 0; left: 0; z-index: 100; background: #1c0002; box-shadow: 0 1px 6px #525252; padding: 12px 0; display: none; .btn-default { margin: 10px 0 0 0; padding: 5px 10px; } nav { clear: both; display: none; } ul { margin-bottom: 10px; .active { font-weight: bold; } a { display: block; color: #fff; text-decoration: none; font-size: 12px; text-transform: uppercase; padding: 13px 0 3px; } li + li { border-top: 2px solid #fff; } } } #political { text-align: justify; } .political { font-size: 16px; font-weight: 300; color: #fff; text-decoration: underline; &:hover { text-decoration: none; } } .barbershop-popup{ width: 920px; max-width: 100%; padding: 0 30px 20px; overflow: hidden; .h2{ padding-bottom: 20px; } .choose{ margin: 0 -10px; .block{ width: 440px; padding: 0 10px; .pull-left; img{ max-width: 100%; border: 1px solid #000; margin-top: 15px; } } a{ .btn; .btn-default; padding: 15px 0 16px; display: block; &:hover{ background: #d32037; color: #fff; } } } } @media screen and (max-width: 980px) { section { padding-left: 10px; padding-right: 10px; max-width: 100%; } .barbershop-popup{ .choose{ .block { width: 100%; margin: 0 0 10px; float: none; a{ margin: 0; } } } } .navbar-toggle { position: relative; float: left; padding: 7px 7px; background-color: rgba(0,0,0,0); background-image: none; border: 1px solid rgba(0,0,0,0); border-color: #fff; display: block; .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; background-color: #fff; } .icon-bar + .icon-bar { margin-top: 4px; } } .pull-right, .pull-left { float: none; } .hidden-xs, .header { display: none; } .fake-menu { display: block; .btn-default { border-color: #fff; color: #fff; outline-color: #fff; font-weight: normal; padding: 4px 10px; margin-top: 0; } } .form-custom { max-width: 100%; margin: 0 auto; } body { padding-top: 54px; overflow-x: hidden; } img { max-width: 100%; } .main-slider { min-height: auto; .main-form { .title { padding: 40px 0; font-size: 30px; line-height: 36px; } } } .form-custom { padding: 20px; background: #fff; position: relative; z-index: 99; label { background: #fff; } .form-title { margin-bottom: 25px; } .form-group { margin-right: 0; width: 100%; background: none; border: 1px solid #7a1a26; text-align: left; margin-bottom: 20px; float: none; } .buttons { text-align: center; .btn-default { float: none; } } } .filters { li { margin-bottom: 5px; } } .block-advantages { .items { .item { width: 100%; height: auto; .text { width: 100%; padding: 0 25px; text-align: center !important; } } } .guarantees { width: 100%; } } .form-default { .form-title { margin-bottom: 0; } } .carousel { width: 100%; } .block-staff { .staff-list { padding: 25px 0; .staff-item { width: 100%; text-align: center; float: none; .image { width: 259px; margin-left: auto; margin-right: auto; } .description { width: 100%; margin-top: 0; } .image, .description { float: none; } } } } .block-actions { .action-list { width: 100%; background: none; } .sale-block { width: 100%; text-align: center; } } .block-reviews { .review { padding: 60px 20px 0; .image { float: none; margin: 0 auto 25px; } .description { float: none; width: 100%; .title { text-align: center; } } } } .block-contacts { .contacts { text-align: center; padding: 0 0 40px; } .address, .phone { width: auto; text-align: left; display: inline-block; vertical-align: top; padding-right: 30px; } .map { height: 200px; overflow: hidden; } } .footer { text-align: center; .contacts { text-align: center; margin-bottom: 10px; } } .form-popup-wrapper { .form-custom { .form-group + .form-group { margin-left: 0; } .buttons { margin-top: 0; } } } } @media screen and (max-width: 650px) { .block-contacts { .address, .phone { text-align: center; } } .block-actions { .action-list { text-align: center; .action-item { margin-bottom: 30px; } .image { width: 100%; margin-right: 0; img { display: inline-block; } } } } .barbershop-popup{ padding: 0 20px 20px; .choose{ a{ font-size: 24px; } } } } @media screen and (max-width: 480px) { .barbershop-popup{ padding: 0 10px 20px; .choose{ a{ font-size: 11px; text-transform: uppercase; } } } .h2 { font-size: 21px; span:first-child { padding-top: 14px; } } }