body, body * { font-family: 'Open Sans', sans-serif; } @maincolor: #82786a; @maincolor2: #37737a; @maincolorinverse: #fff; @color: #444444; @link: #3f3f3f; @link2: #6d5e46; /* #ab9573; */ @lightbg: #fff; @lightbg2: #f0f0f0; @padding: 16px; body { background: @lightbg; font-size: 18px; line-height: 1.65; margin: 0; color: @color; @media screen and (max-width: 767px) { font-size: 15px; table tbody { td, th { font-size: 14px; } } } } a:link, a:visited, a:hover { color: @link2; /* link2 #19770d */ &[rel=help] { border-radius: 6px; text-decoration: none; cursor: pointer; position: relative; display: inline; &:after { content: "i "; width: 16px; height: 16px; line-height: 16px; font-size: 13px; font-weight: bold; border-radius: 12px; text-align: center; background: #666; color: #fff; display: inline-block; margin: 0 5px 0 5px; } &:hover { color: #888; &:after { background: #888; } } } &[href$=".pdf"] { /* PDF file */ text-decoration: none; font-weight: 600; display: inline-block; &:hover { opacity: 0.7; } &:before { content: " "; width: 33px; height: 32px; display: inline-block; margin-right: 5px; vertical-align: top; background: url('../img/pdf.svg') left top no-repeat; background-size: 31px 30px; } } } .container { .sizing; float: none; max-width: 1240px; width: 100%; padding: 0 20px; margin: 0 auto; } .sizing { display: block; float: left; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } #page-wrapper { min-height: 100vh; background: @lightbg; display: block; float: left; width: 100%; height: 100vh; } img { max-width: 100%; } @media screen and (max-width: 767px) { .container { padding: 0 16px; } } header { .sizing; width: 100%; background: @lightbg; padding: @padding 0 @padding; top: 0; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; @media screen and (max-width: 767px) { padding: @padding 0; position: -webkit-sticky; position: sticky; top: 0; z-index: 100; box-shadow: 0 0 5px rgba(0,0,0,0.25); .info { display: none !important; } .language-selector { display: none; } .logo-and-info-wrapper { .navbar-brand { svg, img { width: 120px; height: 33.6px; } } } } } .language-selector { float: right; margin-top: 11px; li { img { display: none; } margin: 0 !important; float: left; background: transparent !important; a { width: 31px; height: 19px; border: 1px solid #eee; display: inline-block !important; margin: 0 5px 0 0; padding: 0 !important; background-size: 100% 100%; &.pl-pl { background-image: url('../img/pl-pl.gif') } &.ru { background-image: url('../img/ru-ru.gif') } &.en { background-image: url('../img/en-gb.gif') } &.uk { background-image: url('../img/uk-ua.gif') } } } } .fields-container { display: none; } .subpage-header { .container { max-width: 960px; } padding: 20px 0; background: #333333; background: url('../img/motyw_prawy.png') #333333 right bottom repeat-y; color: #fff; float: left; width: 100%; display: block; margin-bottom: @padding * 2; h1 { font-weight: 500; font-size: 46px; @media screen and (max-width: 1024px) { font-size: 20px; } @media screen and (max-width: 767px) { font-size: 20px; } } } #content .container{ max-width: 960px; } .item-page { line-height: 1.75; .item-image { .sizing; float: right; padding: 0 @padding * 2 @padding; position: relative; img { width: 400px; } @media screen and (max-width: 767px) { width: 100%; .corner-borders { width: 100%; img { width: 100%; } } } } table { width: 100%; border-collapse: collapse; padding: 10px; td,th { padding: 5px 5px; } thead { tr { th, td { text-align: left; /* padding-left: 0; padding-right: 0; */ border-bottom: 2px solid @maincolor; background: #f6f6f6; color: @maincolor; } td { } } } tbody { counter-reset: thcounter; tr { td, th { border-width: 0; border-bottom: 1px solid #ccc; vertical-align: top; font-weight: normal; p { margin: 0; } ul { li { padding-left: 10px; background: transparent; position: relative; &:before { content: " "; display: block; border-radius: 10px; position: absolute; background: @color; width: 4px; height: 4px; left: 0; top: 20px; } } } } th { text-align: left; &:first-child { text-align: right; font-weight: bold; width: 22px; &:before { counter-increment: thcounter; content: counter(thcounter, decimal) "."; } } } td { &:last-child { white-space: nowrap; width: 2px; } } &:hover { td, th { &:first-child { background: #eee; } background: #fafafa; } } } } } ol { margin-left: 0; list-style-type: none; counter-reset: olcounter; margin-bottom: 8px; padding: 0; > li { margin-bottom: 20px; padding-left: 60px; position: relative; &:last-child { margin-bottom: 0; } &:before { counter-increment: olcounter; content: counter(olcounter, decimal); border: 1px solid #ccc; border-right: 3px solid #ccc; font-weight: 600; margin-right: 10px; display: inline-block; width: 30px; height: 30px; line-height: 28px; text-align: center; position: absolute; margin-top: -5px; background: #fff; left: 10px; top: 3px; border-radius: 50% 6px; /* 6px; */ z-index: 2; /* box-shadow: 2px 2px 4px rgba(0,0,0,0.2); */ } &:after { border: 1px solid #ddd; margin-right: 10px; display: inline-block; width: 30px; height: 30px; line-height: 28px; text-align: center; position: absolute; /* content: " "; */ background: #ddd; margin-top: -5px; left: 12px; top: 3px; border-radius: 6px; transform: rotate(10deg); z-index: 1; } } } p, ol, ul { margin: 0 0 22px; &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0; } } ul { margin: 0; padding: 0; li { position: relative; padding: 5px 0 5px 40px; background: url('../img/ul_li_3d.svg') left top no-repeat; list-style: none; background-size: 30px auto; min-height: 30px; margin: 0 10px 10px; } } ol, ul { margin: 20px 0 20px; } blockquote { padding: @padding; border: 1px solid #ccc; background: #e5f4db; /* #ddd3c5; */ margin-left: 0; margin-right: 0; position: relative; border-left: 5px solid #94cd6d; /* #918779 */ h1, h2, h3, h4, h5, h6 { color: #444; font-weight: 600; font-size: 18px; margin: 0 0 6px; } &:before, &:after { border: 1px solid #94cd6d; /* #918779; */ position: absolute; width: 30px; height: 30px; content: " "; display: block; } &:before { left: 3px; top: 3px; border-bottom-width: 0; border-right-width: 0; } &:after { right: 3px; bottom: 3px; border-top-width: 0; border-left-width: 0; } &.czy-wiesz-ze { background: #fff; border-color: #ccc; &:before, &:after { border-color: #ccc; } } } > div { > h2, > h3, > h4 { font-weight: 500; border-bottom: 4px solid @color; display: inline; margin: 0 0 10px; } > h2 { } > h3 { } > h4 { } } } .phone { float: right; padding-left: @padding; span { float: left; clear: both; white-space: nowrap; color: #888; margin-bottom: 2px; line-height: 1; font-size: 15px; } a { float: left; clear: both; color: #dc1414; font-size: 25px; font-weight: 700; white-space: nowrap; text-decoration: none; line-height: 1; } @media screen and (max-width: 767px) { padding-right: 40px; span { font-size: 14px; float: right; } a { font-size: 22px; } } } ul.sigFreeClassic li.sigFreeThumb { .sizing; float: left; margin: 0; width: 25% !important; padding: @padding / 2 !important; a { max-width: 100%; height: auto !important; padding-bottom: 66%; img { background-size: cover; max-width: 100%; } } } #page-wrapper { -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; } body.modal { overflow-y: hidden; #page-wrapper { /* Add the blur effect */ filter: blur(8px); -webkit-filter: blur(8px); opacity: 0.5; } } #blueimp-gallery .indicator { display: none !important; } .gallery-container { display: block; margin: 0px -10px; .gallery-item { .sizing; width: 25%; float: left; padding: 10px; @media screen and (max-width: 1024px) { width: 33%; } @media screen and (max-width: 767px) { width: 50%; } a { .sizing; width: 100%; float: left; padding-bottom: 100%; position: relative; overflow: hidden; border: 1px solid #eee; img { max-width: 100%; position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 100%; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; } &:hover img { transform: translateY(-50%) scale(1.2) rotate(5deg); opacity: 0.7; } } } } .info-modal { position: fixed; left: 0; top: 0; bottom: 0; right: 0; cursor: pointer; z-index: 10000; background: rgba(255,255,255,0.6); &.hidden { display: none; } .modal-center { max-width: 100%; width: 600px; .sizing; padding: @padding; display: block; position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; .close { position: absolute; right: 30px; top: 30px; width: 20px; height: 20px; background: transparent; z-index: 2; &:after, &:before { content: " "; width: 100%; height: 2px; top: 50%; position: absolute; background: #fff; display: block; left: 0; } &:after { transform: rotate(135deg); } &:before { transform: rotate(45deg); } } .padding-box { .sizing; position: relative; padding: @padding * 3 @padding ; overflow: hidden; background: @link; box-shadow: 2px 2px 6px rgba(0,0,0,0.25); border-radius: 12px; max-height: 90vh; .overflowed { .sizing; /* height: 60vh; */ height: auto; max-height: 60vh; overflow-x: hidden; overflow-y: auto; } &:before { content: " "; position: absolute; left: 15px; top: 15px; width: 20px; height: 20px; border-radius: 10px 0 0 0; border-color: #fff; border-style: solid; border-width: 1px 0 0 1px; z-index: 2; } &:after { content: " "; position: absolute; right: 15px; bottom: 15px; width: 20px; height: 20px; border-radius: 0 0 10px 0; border-color: #fff; border-style: solid; border-width: 0 1px 1px 0; z-index: 2; } .modal-content { .sizing; padding: 0 @padding; color: #fff; position: relative; font-size: 16px; line-height: 1.65; max-height: 100%; overflow-y: auto; p:first-child { margin-top: 0; } p:last-child { margin-bottom: 0; } } } } } .logo-and-info-wrapper { display: table; float: left; .navbar-brand { font-size: 1px; line-height: 1; display: table-cell; vertical-align: middle; svg, img { width: 180px; height: 50px; } } .info { padding-left: @padding * 2; padding-top: 6px; display: table-cell; vertical-align: middle; white-space: nowrap; address { font-size: 14px; font-style: italic; margin-top: -10px; @media screen and (min-width: 768px) and (max-width: 880px) { display: block; width: 190px; white-space: normal; } } p { font-size: 16px; line-height: 1; margin: 4px 0; display: block; } } } .top-wrapper { display: block; float: left; width: 100%; position: -webkit-sticky; position: fixed; top: -80px; z-index: 11; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; @media screen and (max-width: 767px) { top: 0 !important; } } .navigation-sticker { .sizing; position: -webkit-sticky; position: sticky; top: 0; width: 100%; padding-top: 0; background: @lightbg; background: #f6f6f6; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; z-index: 22; box-shadow: 0px 3px 2px rgba(128,128,128,0.1); .menu-center { margin: 0 auto; text-align: center; font-size: 1px; line-height: 1; } .navigation { .sizing; float: none; display: inline-block; .mod-list.nav { .sizing; list-style: none; margin: 0; padding: 0; text-align: left; li { .sizing; margin: 0; padding: 0; position: relative; &.current, &.active { a, .nav-header { /* background: @link; color: @maincolorinverse; */ font-weight: 600; &:before { content: " "; background: @link; left: 25px; right: 25px; position: absolute; bottom: 13px; height: 2px; } } } &:hover .mod-menu__sub { display: block; } a, .nav-header { position: relative; .sizing; width: auto; font-size: 16px; text-transform: uppercase; line-height: 60px; color: @link; padding: 0 25px; text-decoration: none; border-radius: 5px 5px 0 0; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; @media screen and (max-width: 1024px) { padding: 0 15px; text-transform: none; } } } .mod-menu__sub { .sizing; list-style: none; margin: 0; padding: 5px 0; border: 1px solid @lightbg2; border-top-width: 0; border-radius: 0 0 5px 5px; background: @lightbg; position: absolute; top: 100%; left: 0; box-shadow: 0px 3px 2px rgba(128,128,128,0.25); display:none; li { .sizing; margin: 0; padding: 0; clear: both; width: 100%; &.current, &.active { a { font-weight: bold; } } a { .sizing; width: auto; font-size: 16px; line-height: 32px; font-weight: normal; color: #444; padding: 5px 25px; text-decoration: none; white-space: nowrap; width: 100%; border-radius: 0; background: #fff; text-transform: none; position: relative; /* &:before { left: @padding; right: @padding; height: 1px; background: #eee; position: absolute; bottom: 0; content: " "; } */ &:before { display: none; } &:hover { background: #eee; color: @color; text-shadow: 1px 1px 1px rgba(255,255,255,0.4); } } } } } } @media screen and (max-width: 767px) { display: none; } } .navbar-header { .sizing; width: 100%; } body { -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; @media screen and (min-width: 768px) { padding-top: 140px; .top-wrapper { top: -80px; } &.show-hight-bar { /* padding-top: 140px; */ .top-wrapper { top: 0; } } } @media screen and (max-width: 767px) { padding-top: 65px; } } @media screen and (max-width: 1024px) { body { &:after { position: fixed; left: 100%; right: 0; bottom: -100px; top: 0; content: " "; background: #000; display: block; z-index: 9; -moz-transition: opacity 0.3s; -webkit-transition: opacity 0.3s; transition: opacity 0.3s; opacity: 0; } &.mobile-menu-visible { &:after { left: 0; opacity: 0.6; } } } } .navbar-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 43px; height: 43px; border-width: 0; border-radius: 4px; background: transparent; z-index: 2; outline: 0; outline-color: transparent; outline-style: none; box-shadow: none!important; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */ &:focus { outline: 0; outline-color: transparent; outline-style: none; box-shadow: none!important; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */ } position: absolute; -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; transition: .5s ease-in-out; cursor: pointer; @media screen and (min-width: 768px) { display: none; } span { display: block; position: absolute; height: 2px; width: 21px; background: @link2; border-radius: 6px; opacity: 1; left: 11px; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; } @burgTop1: 14px; @burgTop2: 21px; @burgTop3: 29px; span:nth-child(1) { top: @burgTop1; } span:nth-child(2), span:nth-child(3) { top: @burgTop2; } span:nth-child(4) { top: @burgTop3; } &.open { span:nth-child(1) { top: @burgTop2; width: 0%; left: 50%; } span:nth-child(2) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); } span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); } span:nth-child(4) { top: @burgTop2; width: 0%; left: 50%; } } } .navigation-mobile { display: none; .contact-data { .sizing; width: 100%; float: left; font-size: 14px; padding-bottom: @padding * 2; p { margin-top: 24px; } } .language-selector { .sizing; width: 100%; padding-top: 24px; text-align: center; margin-bottom: 24px; margin-top: 0; li { margin: 0; float: none; a { margin: 0 15px; } } } @media screen and (max-width: 1024px) { background: #fff; display: block; position: fixed; .sizing; z-index: 10; width: 300px; top: 0; bottom: -100px; right: -300px; margin: 0; box-shadow: 0 0 5px rgba(0,0,0,0.25); -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; padding: 80px 0 100px; overflow-y: auto; overflow-x: hidden; display: block; &.visible { right: 0; } .navigation { .sizing; float: left; display: block; width: 100%; .mod-list.nav { .sizing; list-style: none; margin: 0; padding: 0; width: 100%; float: left; li { .sizing; width: 100%; &.current, &.active { a, .nav-header { color: @link2; font-weight: 600; } } .mod-menu__sub, &:hover .mod-menu__sub { display: none; } a, .nav-header { .sizing; float: left; width: 100%; border-radius: 0; padding: @padding / 1.5 0; line-height: 1.3; text-decoration: none; color: @color; } .nav-header { position: relative; &:before { border: 2px solid @link2; border-right-width: 0; border-bottom-width: 0; content: " "; width: 8px; height: 8px; display: block; position: absolute; right: 5px; top: 50%; -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; transform: translateY(-50%) rotate(135deg); } } &.expanded { > .nav-header { &:before { transform: translateY(-50%) rotate(45deg); } } } } .mod-menu__sub { .sizing; width: 100%; list-style: none; padding: 0; border: 1px solid @link2; box-shadow: none; display:none; position: relative; padding: 5px 0; margin: 10px 0; border-radius: 2px; /* &:before { display: block; content: " "; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 5px solid @link2; position: absolute; left: 0; top: -6px; } &:after { display: block; content: " "; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 5px solid #fff; position: absolute; left: 0; top: -5px; } */ li { .sizing; margin: 0; padding: 0; clear: both; width: 100%; &.current, &.active { a { font-weight: bold; } } a { .sizing; width: 100%; font-size: 14px; line-height: 32px; font-weight: normal; color: #888; padding: 5px 15px; text-decoration: none; white-space: nowrap; width: 100%; border-radius: 0; &:hover { background: #eee; color: @color; text-shadow: 1px 1px 1px rgba(255,255,255,0.4); } } } } } } } } .content-table { .sizing; display: table; width: 100%; margin: 40px 0; @media screen and (max-width: 1368px) { margin: 20px 0; } table-layout: fixed; position: relative; > .left-side, > .right-side { .sizing; float: none; display: table-cell; vertical-align: middle; width: 50%; } > .left-side { padding-right: @padding; } > .right-side { padding-left: @padding; } @media screen and (max-width: 767px) { display: block; > .left-side, > .right-side { display: block; float: left; width: 100%; padding-left: 0; padding-right: 0; } } h2 { color: @maincolor; border-bottom: 1px solid @maincolor; padding: 16px 0; margin: 0; font-size: 24px; line-height: 1.3; text-transform: uppercase; font-weight: 600; margin-bottom: @padding; } strong, b { color: @maincolor; font-weight: 600; } ul { margin: 0; padding: 0; li { position: relative; padding: 5px 0 5px 40px; background: url('../img/ul_li_3d.svg') left top no-repeat; list-style: none; background-size: 30px auto; min-height: 30px; margin: 0 0 10px; } } } .side-icon-table { display: table; width: 100%; margin: 40px 0; table-layout: fixed; @media screen and (max-width: 767px) { margin: 0 0 16px; } > .left-side, > .right-side { .sizing; float: none; display: table-cell; vertical-align: top; } > .left-side { padding-right: @padding; width: 90px; svg { max-width: 100%; } @media screen and (max-width: 767px) { display: none; } } > .calendar { width: 100px; overflow: hidden; } > .right-side { padding-left: @padding; @media screen and (max-width: 767px) { padding-left: 0; } h2 { width: auto; display: inline-block; } } } /* SEKCJA Z KOMPOZYCJÄ„ 3D */ .main-desc { background: @lightbg2; .sizing; width: 100%; position: relative; &:before { background: url('../img/motyw_lewy.png') left bottom repeat-y; display: block; position: absolute; left: 0; right: 0; bottom: 0; top: 0; opacity: 0.5; content: " "; @media screen and (max-width: 767px) { display: none; } } p { font-size: 22px; line-height: 1.75; @media screen and (max-width: 767px) { font-size: 16px; text-align: center; } } } .offer-section { background: @lightbg2; .sizing; width: 100%; position: relative; @media screen and (max-width: 767px) { .left-side { text-align: center; } } /* &:before { background: url('../img/motyw_prawy.png') right bottom repeat-y; display: block; position: absolute; left: 0; right: 0; bottom: 0; top: 0; opacity: 0.5; content: " "; } */ &:before { background: url('../img/motyw_poziomy2.png') center bottom repeat-x; display: block; position: absolute; left: 0; right: 0; bottom: 0; top: 0; opacity: 0.3; content: " "; @media screen and (max-width: 767px) { display: none; } } .side-icon-table { .left-side { width: 60px; svg { display: none; } } } } .features { .sizing; width: 100%; border-radius: 4px; background: #585858; color: #fff; padding: @padding; position: relative; overflow: hidden; margin-top: 30px; .feature { .sizing; float: left; width: 33.3333%; text-align: center; margin-bottom: @padding; &.empty { visibility: hidden; opacity: 0; } .img { .sizing; width: 100%; padding: 0 @padding * 2; @media screen and (max-width: 767px) { padding: 0 @padding * 3; } svg { max-width: 100%; height: auto; } } &:nth-child(3n + 1) { clear: both; } @media screen and (max-width: 767px) { width: 50%; &:nth-child(3n + 1) { clear: none; } &:nth-child(2n + 1) { clear: both; } } .title { text-shadow: 1px 1px 1px rgba(0,0,0,0.42); } } .offer-text { .sizing; position: absolute; right: -110px; bottom: -110px; padding: 10px 0 0; background: #333333; width: 220px; height: 220px; text-align: center; transform: rotate(-45deg); text-shadow: 1px 1px 1px rgba(0,0,0,0.42); text-transform: uppercase; span { display: block; } @media screen and (max-width: 767px) { width: 200px; height: 200px; } } } /* SEKCJA Z INFEM O PROMOCJACH */ .promo-section { .sizing; width: 100%; background: #333333; color: #fff; text-shadow: 5px 5px 5px rgba(0,0,0,0.75); font-size: 32px; line-height: 1.4; text-align: center; padding: 50px 0; font-weight: 500; @media screen and (max-width: 767px) { font-size: 20px; padding: 20px 0; } p { margin: 0 0 12px; &:last-child { margin-bottom: 0; } } } /* SEKCJA ZE SLOGANEM NA DREWNIE */ .main-slogan { .sizing; width: 100%; background: url('../img/drewno-pattern.jpg') center top; color: #fff; text-shadow: 5px 5px 5px rgba(0,0,0,0.75); font-size: 46px; line-height: 1.4; text-align: center; padding: 30px 0; font-weight: normal; @media screen and (max-width: 767px) { font-size: 20px; } p { margin: 0 0 12px; &:last-child { margin-bottom: 0; } } } @corners: 60px; .corner-borders { .sizing; position: relative; padding: 2px; float: left; display: block; img { float: left; width: 100%; } &:before, &:after { content: " "; display: block; position: absolute; width: @corners; height: @corners; border: 1px solid @maincolor; } &:before { left: 0; top: 0; border-bottom-width: 0; border-right-width: 0; } &:after { right: 0; bottom: 0; border-top-width: 0; border-left-width: 0; } .corner-borders { padding: 4px; &:before, &:after { width: @corners - 2px; height: @corners - 2px; } } } .contact-section { .sizing; width: 100%; p { margin: 12px 0; } } /* KWIECISTA STOPKA */ .footer-section { .sizing; width: 100%; .plant-pattern { .sizing; width: 100%; height: 150px; background: url('../img/pattern-kwiaty.png') center bottom -50px repeat-x; @media screen and (max-width: 767px) { background-size: 220px auto; height: 80px; background-position: center bottom; } } .wood-middle { .sizing; width: 100%; height: 10px; text-align: center; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.5); box-shadow: 0px 2px 2px rgba(0,0,0,0.5); overflow: hidden; position: relative; background: url('../img/drewno-pattern.jpg') 120px 30px; @media screen and (max-width: 767px) { background-size: 200px; } z-index: 2; border-top: 2px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); } .wood-bottom { .sizing; width: 100%; text-align: center; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.5); background: url('../img/drewno-pattern.jpg') left top; position: relative; z-index: 1; p { margin: 4px 0; } @media screen and (max-width: 767px) { background-size: 200px; } } } /* cookies */ .cookies-box { position: fixed; left: 0; bottom: 0; display: none; box-sizing: border-box; padding: 10px 46px 10px 10px; background: #fff; z-index: 10000; width: 100%; box-shadow: 0 0 6px rgba(0,0,0,0.1); } .cookies-box .cookies-content { font-size: 14px !important; line-height: 1.3 !important; color: #222 !important; p { margin: 0; } } .cookies-box .cookies-content a { color: @link2; text-decoration: underline; } .btn-close { position: absolute; right: 5px; top: 5px; background: transparent; border-width: 0; padding: 5px; font-size: 20px; width: 40px; height: 40px; cursor: pointer; &:after, &:before { content: " "; position: absolute; left: 10px; right: 10px; height: 2px; background: @link2; display: block; } &:after { transform: rotate(45deg); } &:before { transform: rotate(135deg); } } .anim { -webkit-animation-name: headeranimation; /* Safari 4.0 - 8.0 */ -webkit-animation-duration: 15s; /* Safari 4.0 - 8.0 */ animation-name: headeranimation; animation-duration: 15s; animation-iteration-count: 1; } /* Safari 4.0 - 8.0 */ @-webkit-keyframes headeranimation { 0% {background-position: center 50%;} 100% {background-position: center 60%; } } /* Standard syntax */ @keyframes headeranimation { 0% {background-position: center 50%;} 100% {background-position: center 60%; } } .slideTransition {} .transition { -moz-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s; } /* slajder */ .main-img { .sizing; width: 100%; height: 100vh; max-height: 680px; @media screen and (max-width: 1368px) { height: 60vh; } @media screen and (max-width: 767px) { max-height: 240px; } background: url('../img/gabinet-stomatologiczny.jpg') center center; background-size: 100% auto; } .hw_slider { .sizing; width: 100%; position: relative; min-height: 320px; height: 100vh; height: 88vh; /* max-height: 680px; @media screen and (max-width: 1368px) { height: 60vh; }*/ @media screen and (max-width: 767px) { max-height: 240px; } overflow: hidden; .slide { position: absolute; left: 0; top: 0; bottom: 0; right: 0; z-index: 1; &.active { z-index: 2; .slide-bg { /* background-position: center 60% !important; */ } } } .slides { .sizing; width: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; > img { position: absolute; opacity: 0; } z-index: 1; .slide-img { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; .slide-bg { .sizing; position: absolute; left: 0px; top: 0px; bottom: 0px; right: 0; z-index: 2; -webkit-transition: opacity 0.6s background-position 6s; -moz-transition: opacity 0.6s background-position 6s; transition: opacity 0.6s background-position 6s; opacity: 0.0; -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); background-size: cover; background-position: center center; background-repeat: no-repeat; -moz-transition: 2s; -webkit-transition: 2s; transition: 2s; background-position img { visibilit: hidden; opacity: 0.0; width: 100%; } } } .description-overlay { .sizing; width: auto; position: absolute; right: 0; top: -50%; width: 0%; z-index: 2; clear: both; background: @maincolor2; opacity: 0.8; bottom: -50%; -webkit-filter: blur(6px); -moz-filter: blur(6px); -o-filter: blur(6px); -ms-filter: blur(6px); filter: blur(6px); -webkit-transition: 0.3s; transition: 0.3s; } .desc-content { width: 50%; position: absolute; right: 0; z-index: 4; top: 50%; } .desc { display: none !important; .sizing; position: absolute; display: block; left: 0px; top: 0; width: 100%; bottom: 0; padding: 0; .sizing; z-index: 3; opacity: 1.0; &.active { opacity: 1.0; z-index: 4; } .main-slogan { position: absolute; float: left; clear: both; left: 0; max-width: 100%; width: 600px; padding-left: 50%; text-transform: uppercase; .sizing; .slideTransition; margin-left: 80px; opacity: 0.0; padding: 40px 0; -webkit-filter: blur(12px); -moz-filter: blur(12px); -o-filter: blur(12px); -ms-filter: blur(12px); filter: blur(12px); padding-left: @padding * 2; padding-right: @padding * 2; text-align: center; top: 50%; transform: scaleX(1) scaleY(1) translateY(-50%); .slideTransition; h3 { font-size: 52px; line-height: 1.3; color: #fff; font-weight: 700; text-transform: none; font-weight: 100; a { color: @maincolor; } .sizing; .slideTransition; } } .secondary-slogan { position: relative; float: left; clear: both; width: 100%; font-size: 20px; color: @maincolor; margin-top: 0; opacity: 0.0; margin-left: -30%; padding: 0; -webkit-filter: blur(6px); -moz-filter: blur(6px); -o-filter: blur(6px); -ms-filter: blur(6px); filter: blur(6px); .sizing; .slideTransition; p { font-size: 18px; line-height: 1.4; color: #fff; } ul { padding: 0; li { margin-bottom: 5px; padding-left: 22px; list-style: none; } } } .btn { clear: both; float: left; margin-top: 20px; margin-left: @padding; margin-right: @padding; opacity: 0.0; -webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); filter: blur(5px); .slideTransition; font-size: 22px; font-weight: 400; padding: 8px 25px; background-color: transparent; border-width: 2px; color: @maincolor; text-transform: none; &:hover { background: @maincolor; border-color: @maincolor; } } } .active { .slide-bg { z-index: 3; opacity: 1.0; -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); } .description-overlay { background: @maincolor2; opacity: 0.8; width: 50%; -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); } .main-slogan { -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); margin-left: 0; opacity: 1.0; transform: scaleX(1) scaleY(1) translateY(-50%); } .secondary-slogan { -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); margin-left: 0; opacity: 1.0; margin-bottom: 2px; } .btn { -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); opacity: 1.0; } } } .pagination { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 4; text-align: center; ul { .sizing; float: none; display: inline-block; line-height: 0; background: rgba(255,255,255,0.8); border-radius: 30px; list-style: none; margin: 0; padding: 0 10px; text-align: center; width: auto; li { position: relative; display: inline-block; padding: 12px; cursor: pointer; .transition; &:before { display: block; width: 16px; height: 16px; background: #444; border-radius: 15px; content: " "; } &.active { &:before { background: @maincolor; } } .thumb { display: block; position: absolute; margin-left: -23px; width: 120px; border: 3px solid @maincolor; height: 52px; background-position: center center; background-size: cover; bottom: 40px; left: -50%; border-radius: 3px; box-shadow: 0 0 8px rgba(0,0,0,0.6); .transition; z-index: 1; opacity: 0.0; -webkit-filter: blur(10px); -moz-filter: blur(10px); -o-filter: blur(10px); -ms-filter: blur(10px); filter: blur(10px); background-color: #fff; background-repeat: no-repeat; max-height: 0; &:before { display: block; border-right: 6px solid transparent; border-left: 6px solid transparent; border-top: 8px solid @maincolor; width: 0; height: 0; content: " "; position: absolute; left: 50%; margin-left: -3px; bottom: -10px; } } &:hover .thumb { opacity: 1.0; z-index: 5; -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); max-height: 999px; } } } } .arrows { bottom: 0; left: 0; position: absolute; right: 0; top: 50%; .center-content { position: relative; z-index: 4; } .arrow { display: none; float: left; width: 24px; height: 40px; position: absolute; top: 50%; margin-top: -20px; cursor: pointer; z-index: 5; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #fff; font-size: 30px; &.left { left: @padding; background-position: 0 0; &:before { content: "\f053"; } &:hover { background-position: 0 -40px; } } &.right { right: @padding; background-position: -24px 0; &:before { content: "\f054"; } &:hover { background-position: -24px -40px; } } } } } @media screen and (max-width: 767px) { h2 { font-size: 28px; line-height: 1.4; } .hw_slider { height: 320px; min-height: 320px; .slide { position: absolute; } .slides { > img { position: absolute; opacity: 0; } .slide-img { .slide-bg { } } .description-overlay { .sizing; position: absolute; right: 0; left: 0; top: auto; bottom: 0; width: 0%; z-index: 2; clear: both; background: @maincolor2; opacity: 0.8; bottom: -50%; } .desc-content { width: 100%; position: absolute; right: 0; z-index: 4; top: 0; bottom: 0; } .desc { .sizing; position: absolute; display: block; left: 0px; top: 0; width: 100%; bottom: 0; padding: 0; .sizing; z-index: 3; opacity: 1.0; &.active { opacity: 1.0; z-index: 4; } .main-slogan { max-width: 100%; width: 100%; padding: @padding / 2 @padding; margin-left: 0; text-align: center; top: auto; bottom: 0; background: @maincolor2; transform: scaleX(1) scaleY(1) translateY(0); .slideTransition; h3 { font-size: 22px; line-height: 1.4; width: 100%; margin-bottom: 0; } } } .active { .description-overlay { background: @maincolor2; opacity: 0.8; width: 50%; -webkit-filter: blur(0px); -moz-filter: blur(0px); -o-filter: blur(0px); -ms-filter: blur(0px); filter: blur(0px); } .main-slogan { transform: scaleX(1) scaleY(1) translateY(0); } .secondary-slogan { margin-left: 0; opacity: 1.0; margin-bottom: 2px; } .btn { opacity: 1.0; } } } .pagination { display: none; } .arrows { bottom: 0; left: 0; position: absolute; right: 0; top: 50%; .center-content { position: relative; z-index: 4; } .arrow { display: block; float: left; width: 24px; height: 40px; position: absolute; top: 50%; margin-top: -20px; cursor: pointer; z-index: 5; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #fff; font-size: 30px; &.left { left: @padding; background-position: 0 0; &:before { content: "\f053"; } &:hover { background-position: 0 -40px; } } &.right { right: @padding; background-position: -24px 0; &:before { content: "\f054"; } &:hover { background-position: -24px -40px; } } } } } } .promocja { display: inline-block; border-radius: 3px; padding: 2px 4px; font-size: 11px; color: #fff; background: #e84135; vertical-align: middle; margin-top: -3px; margin-left: 7px; text-transform: uppercase; font-weight: 600; }