@color-1: #007D19; @color-2: #777777; @color-3: #696969; @text-gray: #383838; @width-basic: 1100px; @import url('https://fonts.googleapis.com/css?family=Play:400,700&subset=cyrillic'); html{ @media (max-width:768px){ width: 100%; } } body{ font-family: 'Play', sans-serif; min-width: @width-basic; color: @text-gray; background: #fff url('../img/body-backgr.jpg'); padding: 30px 0; @media (max-width:768px){ min-width: 100%; padding-top: 40px; } } h1,h2,h3,p{ margin: 0; font-weight: normal; } strong{ } a{ color: @text-gray; &:hover{ opacity: 0.5; transition: 0.3s all; } } .clearfix:after{ content: ""; clear: both; display: table; } .container{ width: @width-basic; margin: 0 auto; @media (max-width:768px){ width: 425px; } } //общий вид заголовков .content-title{ text-transform: uppercase; font-size: 18px; margin-bottom: 10px; } //общий вид кнопок .btn{ color: #fff; font-size: 16px; text-decoration: none; padding: 10px 20px; display: inline-block; text-align: center; background: @color-2; border-radius: 4px; border: none; outline: none; span{ font-weight: bold; } &:hover{ background: darken(@color-2, 5%); transition: 0.3s all; color: #fff; } } .my-head{ .head-top{ background: #fff; margin-bottom: 15px; padding: 5px 20px; } .left-head{ float: left; margin-right: 250px; @media (max-width:768px){ margin-right: 0; width: 155px; } } a{ color: #363636; text-decoration: none; display: block; margin-bottom: 3px; font-size: 14px; span{ color: #8d8d8d; display: block; font-size: 12px; } i{ font-size: 14px; display: inline-block; vertical-align: text-bottom; } } .logo{ height: 69px; } .contacts{ float: left; width: 260px; @media (max-width:768px){ float: right; width: auto; width: 170px; } .phone{ background: url('../img/head-icon.png') no-repeat left 2px; padding-left: 15px; } .mail{ background: url('../img/head-icon.png') no-repeat left -39px; padding-left: 15px; } } .footer-right{ float: right; text-align: right; @media (max-width:768px){ float: none; clear: both; text-align: center; padding-top: 20px; } a{ margin-bottom: 5px; @media (max-width:768px){ margin: 0; } } } .language{ margin: 10px 0; @media (max-width:768px){ margin: 0; display: inline-block; vertical-align: text-top; margin-right: 20px; } .lang--inner{ width: 20px; height: 15px; display: inline-block; vertical-align: middle; } .ru{ background: url('../img/ru.png') no-repeat 50% 50%; background-size: 100%; } .usa{ background: url('../img/eng.png') no-repeat 50% 50%; background-size: 100%; } .btn{ padding: 4px 10px; display: inline-block; vertical-align: middle; font-size: 12px; color: #000; margin-right: 20px; background: none; border: 1px solid #000; // @media (max-width:768px){ // font-size: 12px; // } } } .download-price{ background: url('../img/head-icon.png') no-repeat left -84px; padding-left: 15px; display: inline-block; @media (max-width:768px){ margin: 0; display: inline-block; vertical-align: text-top; } } .menu{ clear: both; background: #fff; margin-bottom: 30px; padding: 0 20px; @media (max-width:768px){ display: none; } ul{ padding: 0; margin: 0; font-size: 0; li{ list-style: none; display: inline-block; a{ display: block; font-size: 19px; text-decoration: none; padding: 15px; color: #000; &:hover{ transition: 0.3s all; } } } } } } //меню-выдвижное .hidden-menu { position: fixed; top: -1000px; left: 0; width: 100%; background: #fff; margin: 0; padding: 50px 30px; transition: top .2s; z-index: 1; display: none; text-align: left; z-index: 100; @media (max-width:768px) {display: block;} ul{ padding: 0; margin: 0; } ul li{ list-style: none; a{ display: block; text-decoration: none; color: #000; text-transform: uppercase; font-size: 14px; padding: 5px; outline: none; &:hover{ color: @color-2; transition: 0.3s all; } } ul{ display: none; padding-left: 10px; margin-left: 15px; border-left: 1px dotted #000; li a{ color: @color-2; font-size: 11px; padding: 3px 5px; &:hover{ color: @color-1; } } } } } .hidden-menu-ticker { display: none; } //кнопочка .btn-menu { position: fixed; top: 0px; right: 10px; width: 70px; padding: 15px; margin-right: 20px; cursor: pointer; z-index: 101; display: none; @media (max-width:768px) {display: block;} } .btn-menu span { display: block; height: 2px; background: #000; margin: 7px 0 0; transition: all .1s linear .23s; position: relative; } .btn-menu span.first { margin-top: 0; } .hidden-menu-ticker:checked ~ .hidden-menu { top: 0; } .hidden-menu-ticker:checked ~ .btn-menu span.first { -webkit-transform: rotate(40deg); top: 10px; } .hidden-menu-ticker:checked ~ .btn-menu span.second { opacity: 0; } .hidden-menu-ticker:checked ~ .btn-menu span.third { -webkit-transform: rotate(-40deg); top: -8px; } .intro{ margin-bottom: 30px; .text{ float: left; width: 73%; padding: 113px 0; height: 105px; background-size: 100%; overflow: hidden; position: relative; img{ position: absolute; z-index: -1; width: 100%; height: auto; top: 0; left: 0; } @media (max-width:768px){ float: none; width: 100%; padding: 20px 0; height: auto; } h2{ font-size: 30px; text-align: center; padding: 0 30px; @media (max-width:768px){ line-height: 30px; } } } .news--feed__intro{ float: right; width: 27%; background: #fff; height: 330px; overflow: hidden; @media (max-width:768px){ float: none; width: 100%; height: auto; } .news--feed__intro__block{ padding: 20px; } .news--inner__intro{ padding-bottom: 15px; border-bottom: 1px solid #c6c6c6; margin-bottom: 15px; &:last-child{ margin-bottom: 0; padding-bottom: 0; border: none; } .miniature{ width: 70px; height: 70px; float: left; position: relative; overflow: hidden; @media (max-width:768px){ width: 82px; height: 82px; } .date{ position: absolute; bottom: 0; padding: 3px; left: 0; right: 0; background: #d4d4d4; font-size: 12px; text-align: center; } img{ width: 100%; height: auto; } } .text--inner{ float: right; width: 180px; height: 70px; position: relative; @media (max-width:768px){ width: 280px; padding-top: 7px; } .title{ font-size: 14px; margin-top: -3px; } p{ font-size: 12px; } .btn{ font-size: 12px; padding: 5px 10px; border-radius: 3px; position: absolute; bottom: 0; left: 0; z-index: 2; @media (max-width:768px){ margin-top: 10px; } } } } } } .my-footer{ padding: 30px; padding-bottom: 20px; background: #fff; .contacts{ float: left; width: 270px; margin-right: 130px; margin-bottom: 20px; @media (max-width:768px){ float: none; width: 100%; } a{ color: #363636; text-decoration: none; display: block; margin-bottom: 3px; font-size: 14px; span{ color: #8d8d8d; display: block; font-size: 12px; } i{ font-size: 14px; display: inline-block; vertical-align: text-bottom; } } .phone{ background: url('../img/head-icon.png') no-repeat left 2px; padding-left: 15px; } .mail{ background: url('../img/head-icon.png') no-repeat left -39px; padding-left: 15px; } } .menu-footer{ float: left; width: 270px; margin-bottom: 20px; @media (max-width:768px){ float: none; width: 100%; } ul{ margin: 0; padding: 0; li{ list-style: none; width: 48%; display: inline-block; a{ text-decoration: none; display: block; padding: 2px; font-size: 14px; &:hover{ text-decoration: underline; } } } } } .socials{ float: right; margin-bottom: 20px; width: 70px; @media (max-width:768px){ float: none; width: 100%; text-align: center; } a{ display: inline-block; width: 30px; height: 30px; margin-bottom: 5px; background: @color-2; background-repeat: no-repeat; background-position: center center; vertical-align: text-top; } .ok{ background-image: url('../img/ok.png'); } .vk{ background-image: url('../img/vk.png'); } .fb{ background-image: url('../img/fb.png'); } .inst{ background-image: url('../img/inst.png'); } .yout{ background-image: url('../img/yout.png'); } } .chkopy{ clear: both; display: block; text-align: center; padding-top: 20px; border-top: 1px solid #bababa; font-size: 14px; a{ text-decoration: none; font-size: 14px; line-height: 26px; } } } .content-page{ padding: 20px; background: #fff; margin-bottom: 30px; } .text-page{ p{ font-size: 14px; line-height: 20px; display: block; margin-bottom: 5px; } ul li{ list-style: none; padding-left: 20px; background: url('../img/custom-list.png') no-repeat left 3px; font-size: 14px; margin-bottom: 5px; } img{ max-width: 100%; } .aligncenter{ margin: 10px auto; display: block; } .alignleft{ margin: 10px; float: left; } .alignright{ margin: 10px; float: right; } } .sidebar{ float: left; width: 250px; background: #fff; padding: 20px; margin-bottom: 30px; @media (max-width:768px){ float: none; width: 100%; padding: 0; } .nav-menu{ ul{ padding: 0; margin: 0; li{ list-style: none; margin-bottom: 5px; &:hover ul{ display: block; } a{ text-decoration: none; font-size: 14px; display: block; padding: 2px; } ul{ padding-left: 10px; padding-bottom: 10px; display: none; li{ margin-bottom: 0px; } } } } .current-cat ul{ display: block; } } } .sidebar-fixed{ position: fixed; top: 20px; transition: 0.3s all; z-index: 10; @media (max-width:768px){ position: relative; top: auto; } } .catalog-page{ .subcateg{ padding: 0; margin: 0; margin-bottom: 20px; font-size: 0; li{ list-style: none; background: @color-2; color: #fff; display: inline-block; border-radius: 4px; padding-right: 10px; font-size: 14px; margin-right: 4px; margin-bottom: 4px; &:hover{ background: darken(@color-2, 5%); transition: 0.3s all; color: #fff; } a{ display: inline-block; padding: 5px 10px; text-decoration: none; color: #fff; font-size: 16px; &:hover{ opacity: 1; } } } } .content-page{ float: right; width: 765px; @media (max-width:768px){ float: none; width: 100%; padding: 20px 0; .content-title{ padding: 0 20px; } .text-page{ padding: 0 20px; } } } .produkt-block--nav{ padding-top: 50px; } } .category--inner{ display: block; width: 250px; float: left; position: relative; text-align: center; margin-right: 7px; text-decoration: none; overflow: hidden; outline: 1px solid #e6e6e6; margin-bottom: 10px; @media (max-width:768px){ float: none; width: 100%; margin-right: 0; margin-bottom: 20px; } &:nth-child(3n){ margin-right: 0; } .miniature{ img{ width: 100%; height: auto; } } h3{ background: #cccccc; padding: 7px 0; } } .produkt--inner{ padding: 10px; width: 154px; display: inline-block; vertical-align: text-top; margin-right: 12px; margin-bottom: 15px; border: 1px solid #d6d6d6; text-align: center; .miniature{ width: 100%; height: 150px; overflow: hidden; margin-bottom: 10px; display: block; img{ width: 100%; height: auto; } } a{ text-decoration: none; } .text--inner{ .title{ font-size: 14px; margin-bottom: 10px; &:hover{ opacity: 0.5; transition: 0.3s all; } } .btn{ font-size: 14px; padding: 5px 0; width: 100%; display: block; } } } .kama_breadcrumbs{ margin-bottom: 20px; display: block; a{ } .kb_sep{ color: #767676; } .kb_title{ color: #848484; } } #home_css_en { .kama_breadcrumbs{ span:first-child a{ font-size: 0; position: relative; &::before{ content: 'Home'; font-size: 16px; } } } } .contacts-page{ .maps{ margin-bottom: 40px; } .text-page{ margin-bottom: 40px; } .form-mail{ form{ font-size: 0; } input,textarea{ width: 100%; font-size: 14px; padding: 10px; margin-bottom: 10px; } input{ width: 49%; &:nth-child(1){ margin-right: 2%; } } textarea{ height: 70px; } } } .gallery{ .gallery-item{ @media (max-width:768px){ width: 50% !important; } .gallery-icon{ a{ img{ @media (max-width:768px){ height: auto !important; } } } } } } .news-page{ .news--inner__intro{ width: 330px; float: left; margin-right: 33px; margin-bottom: 30px; &:nth-child(3n){ margin-right: 0; } .miniature{ width: 100px; height: 100px; overflow: hidden; float: left; position: relative; .date{ position: absolute; bottom: 0; padding: 3px; left: 0; right: 0; background: #d4d4d4; font-size: 12px; text-align: center; } img{ width: 100%; height: auto; } } .text--inner{ float: right; width: 220px; .title{ font-size: 14px; margin-top: -3px; margin-bottom: 7px; } p{ font-size: 12px; line-height: 14px; } .btn{ font-size: 12px; padding: 5px 10px; margin-top: 7px; border-radius: 3px; } } } } .produkt-single{ .gallery{ width: 400px; float: left; @media (max-width:768px){ width: 100%; float: none; margin-bottom: 30px; } .photo{ width: 100%; height: auto; margin-bottom: 5px; position: relative; &:hover{ cursor: zoom-in; } #xzoom-magnific{ position: relative; background: red !important; &::before{ content: ''; position: absolute; font-size: 20px; background: red; width: 20px; height: 20px; right: -40px; bottom: -40px; z-index: 999999999; display: block; } } } img{ width: 100%; height: auto; } .xzoom-thumbs{ text-align: center; a{ list-style: none; display: inline-block; vertical-align: text-top; width: 100px; height: auto; overflow: hidden; border: 2px solid #c3c3c3; background-color: #646464; .xactive{ opacity: 0.5; } } } } .text--inner{ width: 650px; float: right; @media (max-width:768px){ width: 100%; float: none; } } } /* Lens */ .xzoom-lens { border: 1px solid #555; box-shadow: -0px -0px 10px rgba(0,0,0,0.50); cursor: zoom-in; img{ background: red !important; } } .xzoom-source{ position: relative; &::before{ content: ''; position: absolute; width: 100%; height: 100%; // background: rgb(0, 0, 0); // opacity: 0.3; } } .news-single .miniature{ margin-bottom: 20px; text-align: center; img{ max-width: 100%; height: auto; } } //модальное окно .modal-content{ position: fixed; top: 100px; left: 50%; width: 300px; padding: 50px; margin-left: -200px; text-align: left; background: #fff; z-index: 99999; box-shadow: 0 2px 5px 0px; display: none; .close{ position: absolute; right: 5px; top: 5px; width: 50px; height: 50px; background: red url('../img/close.png') no-repeat 50% 50%; } input{ width: 100%; padding: 7px; background: #ffffff; border: 1px solid @color-3; border-radius: 4px; margin-bottom: 20px; } .btn{ width: 200px; margin: 0 auto; display: block; } } /* Magnific Popup CSS */ .mfp-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 0.8; filter: alpha(opacity=80); } .mfp-wrap { top: 0; left: 0; width: 100%; height: 100%; z-index: 1043; position: fixed; outline: none !important; -webkit-backface-visibility: hidden; } .mfp-container { text-align: center; position: absolute; width: 100%; height: 100%; left: 0; top: 0; padding: 0 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .mfp-container:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; } .mfp-align-top .mfp-container:before { display: none; } .mfp-content { position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 1045; } .mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width: 100%; cursor: auto; } .mfp-ajax-cur { cursor: progress; } .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor: -moz-zoom-out; cursor: -webkit-zoom-out; cursor: zoom-out; } .mfp-zoom { cursor: pointer; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; } .mfp-auto-cursor .mfp-content { cursor: auto; } .mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { -webkit-user-select: none; -moz-user-select: none; user-select: none; } .mfp-loading.mfp-figure { display: none; } .mfp-hide { display: none !important; } .mfp-preloader { color: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 1044; } .mfp-preloader a { color: #cccccc; } .mfp-preloader a:hover { color: white; } .mfp-s-ready .mfp-preloader { display: none; } .mfp-s-error .mfp-content { display: none; } button.mfp-close, button.mfp-arrow { overflow: visible; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; display: block; outline: none; padding: 0; z-index: 1046; -webkit-box-shadow: none; box-shadow: none; } button::-moz-focus-inner { padding: 0; border: 0; } .mfp-close { width: 44px; height: 44px; line-height: 44px; position: absolute; right: 0; top: 0; text-decoration: none; text-align: center; opacity: 0.65; padding: 0 0 18px 10px; color: white; font-style: normal; font-size: 28px; font-family: Arial, Baskerville, monospace; } .mfp-close:hover, .mfp-close:focus { opacity: 1; } .mfp-close:active { top: 1px; } .mfp-close-btn-in .mfp-close { color: #333333; } .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { color: white; right: -6px; text-align: right; padding-right: 6px; width: 100%; } .mfp-counter { position: absolute; top: 0; right: 0; color: #cccccc; font-size: 12px; line-height: 18px; } .mfp-arrow { position: absolute; opacity: 0.65; margin: 0; top: 50%; margin-top: -55px; padding: 0; width: 90px; height: 110px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .mfp-arrow:active { margin-top: -54px; } .mfp-arrow:hover, .mfp-arrow:focus { opacity: 1; } .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { content: ''; display: block; width: 0; height: 0; position: absolute; left: 0; top: 0; margin-top: 35px; margin-left: 35px; border: medium inset transparent; } .mfp-arrow:after, .mfp-arrow .mfp-a { border-top-width: 13px; border-bottom-width: 13px; top: 8px; } .mfp-arrow:before, .mfp-arrow .mfp-b { border-top-width: 21px; border-bottom-width: 21px; } .mfp-arrow-left { left: 0; } .mfp-arrow-left:after, .mfp-arrow-left .mfp-a { border-right: 17px solid white; margin-left: 31px; } .mfp-arrow-left:before, .mfp-arrow-left .mfp-b { margin-left: 25px; border-right: 27px solid #3f3f3f; } .mfp-arrow-right { right: 0; } .mfp-arrow-right:after, .mfp-arrow-right .mfp-a { border-left: 17px solid white; margin-left: 39px; } .mfp-arrow-right:before, .mfp-arrow-right .mfp-b { border-left: 27px solid #3f3f3f; } .mfp-iframe-holder { padding-top: 40px; padding-bottom: 40px; } .mfp-iframe-holder .mfp-content { line-height: 0; width: 100%; max-width: 900px; } .mfp-iframe-holder .mfp-close { top: -40px; } .mfp-iframe-scaler { width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; } .mfp-iframe-scaler iframe { position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: black; } /* Main image in popup */ img.mfp-img { width: auto; max-width: 100%; height: auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 40px 0 40px; margin: 0 auto; } /* The shadow behind the image */ .mfp-figure { line-height: 0; } .mfp-figure:after { content: ''; position: absolute; left: 0; top: 40px; bottom: 40px; display: block; right: 0; width: auto; height: auto; z-index: -1; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: #444444; } .mfp-figure small { color: #bdbdbd; display: block; font-size: 12px; line-height: 14px; } .mfp-bottom-bar { margin-top: -36px; position: absolute; top: 100%; left: 0; width: 100%; cursor: auto; } .mfp-title { text-align: left; line-height: 18px; color: #f3f3f3; word-wrap: break-word; padding-right: 36px; } .mfp-image-holder .mfp-content { max-width: 100%; } .mfp-gallery .mfp-image-holder .mfp-figure { cursor: pointer; } @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { /** * Remove all paddings around the image on small screen */ .mfp-img-mobile .mfp-image-holder { padding-left: 0; padding-right: 0; } .mfp-img-mobile img.mfp-img { padding: 0; } .mfp-img-mobile .mfp-figure { /* The shadow behind the image */ } .mfp-img-mobile .mfp-figure:after { top: 0; bottom: 0; } .mfp-img-mobile .mfp-figure small { display: inline; margin-left: 5px; } .mfp-img-mobile .mfp-bottom-bar { background: rgba(0, 0, 0, 0.6); bottom: 0; margin: 0; top: auto; padding: 3px 5px; position: fixed; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .mfp-img-mobile .mfp-bottom-bar:empty { padding: 0; } .mfp-img-mobile .mfp-counter { right: 5px; top: 3px; } .mfp-img-mobile .mfp-close { top: 0; right: 0; width: 35px; height: 35px; line-height: 35px; background: rgba(0, 0, 0, 0.6); position: fixed; text-align: center; padding: 0; } } @media all and (max-width: 900px) { .mfp-arrow { -webkit-transform: scale(0.75); transform: scale(0.75); } .mfp-arrow-left { -webkit-transform-origin: 0; transform-origin: 0; } .mfp-arrow-right { -webkit-transform-origin: 100%; transform-origin: 100%; } .mfp-container { padding-left: 6px; padding-right: 6px; } } .mfp-ie7 .mfp-img { padding: 0; } .mfp-ie7 .mfp-bottom-bar { width: 600px; left: 50%; margin-left: -300px; margin-top: 5px; padding-bottom: 5px; } .mfp-ie7 .mfp-container { padding: 0; } .mfp-ie7 .mfp-content { padding-top: 44px; } .mfp-ie7 .mfp-close { top: 0; right: 0; padding-top: 0; }