@import "normalize.css";
@import "reset.css";

/* --- ustawienia ogólne --- */

.cls-1 {
    fill: #458031;
}

.cls-2 {
    fill: #452211;
}

.cls-3 {
    fill: #fff;
}

.cls-4 {
    fill: #1976d2;
}

.cls-5 {
    fill: #3f752d;
}

.transform {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

strong {
    font-weight: bold;
}

/* --- podział podtron --- */

#content_podstrona {
    padding: 70px 50px;
    display: flex;
}

#content_podstrona .strona_lewa {
    width: 250px;
    flex: 0 0 auto;
}

#content_podstrona .strona_separator {
    width: 2px;
    height: auto;
    background: #f1f1f3;
    margin: 0 49px;
    flex: 0 0 auto;
}

#content_podstrona .strona_prawa {
    width: calc(100% - 350px);
}

/* --- cms --- */

.cms {
    display: inline-block;
    width: 100%;
    color: #626262;
}

.cms h1, h1 {
    font: 700 50px/58px 'DM Sans', sans-serif;
    position: relative;
}

.cms h1 span, h1 span {
    font: 400 30px/45px 'DM Sans', sans-serif;
    color: #458031;
    position: relative;
}

.cms h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    border-radius: 2px;
    background: #458031;
}

.cms h1 {
    margin: 0 0 40px;
    padding: 0 0 40px;
}

.cms h2, h2 {
    font: 700 40px/48px 'DM Sans', sans-serif;
    margin-bottom: 35px;
}

.cms h3, h3 {
    font: 700 30px/38px 'DM Sans', sans-serif;
    margin-bottom: 30px;
}

.cms h4, h4 {
    font: 700 22px/32px 'DM Sans', sans-serif;
    margin-bottom: 30px;
}

.cms h5, h5 {
    font: 700 18px/28px 'DM Sans', sans-serif;
    margin-bottom: 25px;
}

.cms p,
.cms li {
    font: 400 16px/28px 'DM Sans', sans-serif;
}

.cms p {
    margin-bottom: 25px;
}

.cms > img,
.cms p img {
    max-width: 100%;
    height: auto;
    margin: 50px 0;
    display: block;
}

.cms hr, hr {
    margin: 50px 0;
    background: #f1f1f3;
    border: none;
    width: 100%;
    height: 2px;
}

.cms a {
    color: #59a83d;
}

.cms a.telefon,
.cms a > strong {
    color: #626262;
}

.cms ul {
    margin: 0 0 35px 20px;
    overflow: auto;
}

.cms ol {
    margin: 0 0 35px 0;
    overflow: auto;
}

.cms ol ul,
.cms ol ol,
.cms ul ul,
.cms ul ol {
    margin: 15px 0 0 0;
}

.cms li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.cms ul > li:before {
    position: absolute;
    content: '';
    height: 4px;
    width: 4px;
    border-radius: 100%;
    background: #458031;
    left: 0;
    top: 13px;
}

.cms ul > li:last-of-type,
.cms ol > li:last-of-type {
    margin-bottom: 0;
}

.cms ol > li {
    list-style-type: decimal;
    margin-left: 35px;
    padding-left: 10px;
}

.cms table {
    background-color: #f1f1f3;
    border-collapse: collapse;
    margin: 0 0 50px 0;
    width: 100%;
    overflow-x: auto;
}

.cms > table td, .cms > table th {
    border: 1px solid #fff;
    text-align: center;
    vertical-align: middle;
    padding: 30px 35px;
}

.cms > table thead th {
    border-bottom: 1px solid #458031;
    font: 700 18px/24px 'DM Sans', sans-serif;
}

.cms > table tbody {
    font: 400 16px/20px 'DM Sans', sans-serif;
}

/* --- pliki na podstronie --- */

#pliki {
    margin: 0 0 50px 0;
}

#pliki a {
    font: 700 16px/24px 'DM Sans', sans-serif;
    color: #626262;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#pliki a:last-of-type {
    margin-bottom: 0;
}

#pliki a:hover {
    color: #59a83d;
}

#pliki .kolko {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: #458031;
    flex: 0 0 auto;
    margin: 0 20px 0 0;
}

#pliki a:hover .kolko {
    background: #59a83d;
}

#pliki .kolko .ico_strzalka {
    width: 22px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0) rotate(90deg);
}

#pliki a:hover .ico_strzalka {
    top: 42%;
}

/* --- galeria na podstronie --- */

#galeria {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 50px 0;
    justify-content: center;
}
#galeria h3 {
    width: 100%;
}
#galeria a {
    position: relative;
    margin: 20px;
    overflow: hidden;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galeria a .maska {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 128, 49, 0);
    z-index: 1;
}

#galeria a:hover .maska {
    background-color: rgba(69, 128, 49, 0.6);
}

#galeria a img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
    transition-duration: 0.5s;
}

#galeria a:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
}

#galeria a .ico_lupa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    opacity: 0;
    z-index: 3;
}

#galeria a:hover .ico_lupa {
    opacity: 1;
}

/* --- menu boczne --- */

.menu_boczne {
    color: #626262;
    padding: 0 0 50px;
    border-bottom: 2px solid #458031;
}

#menu_fullscreen .menu_boczne {
    color: #fff;
    padding: 0;
    border: none;
}

.menu_1 > li {
    padding: 0 0 30px;
    position: relative;
}

#menu_fullscreen .menu_1 > li {
    padding: 0 0 25px;
}

.menu_1 > li:last-of-type {
    padding: 0;
}

.menu_1 > li > a {
    position: relative;
    display: inline-block;
    font: 700 21px/23px 'DM Sans', sans-serif;
    text-transform: uppercase;
}
.menu_1.user > li > a {
    font: 700 16px/23px 'DM Sans', sans-serif;
}

#menu_fullscreen .menu_1 > li > a {
    margin: 0 40px 0 0;
}

.menu_1 li a:hover,
.menu_1 li a.active {
    color: #458031;
}

#menu_fullscreen .menu_1 li a:hover,
#menu_fullscreen .menu_1 li a.active {
    color: #1a4b0b;
}

.menu_2 {
    overflow: hidden;
}

#menu_fullscreen .menu_2 {
    padding: 10px 0 0;
}

.menu_2 li {
    padding: 15px 0 0;
    position: relative;
}

#menu_fullscreen .menu_2 li {
    padding: 5px 0 0;
}

.menu_2 > li > a {
    font: 700 16px/18px 'DM Sans', sans-serif;
    padding: 5px 0 5px 30px;
    display: inline-block;
    position: relative;
}

.menu_2 li .ico_strzalka {
    width: 13px;
    height: 10px;
    position: absolute;
    left: -13px;
    top: 10px;
}

.menu_2 a:hover .ico_strzalka,
.menu_2 a.active .ico_strzalka {
    left: 0;
}

#menu_fullscreen .menu_2 .ico_strzalka .cls-1 {
    fill: #1a4b0b;
}

.menu_boczne .menu_plus {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    height: 26px;
    width: 26px;
    background-color: #fff;
    border-radius: 100%;
    cursor: pointer;
    z-index: 1;
}

.menu_boczne .menu_plus:after,
.menu_boczne .menu_plus:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #1a4b0b;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.menu_boczne .menu_plus:after {
    height: 3px;
    width: 19px;
}

.menu_boczne .menu_plus:before {
    width: 3px;
    height: 19px;
}

.menu_boczne .menu_plus.active:before {
    height: 1px;
}

.toggle_container {
    margin: 0;
    overflow: hidden;
    height: auto;
    position: relative;
    display: none;
}

/* --- buttony --- */

.btn {
    position: relative;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    background: #458031;
    font: 700 14px/14px 'DM Sans', sans-serif;
    padding: 12px 22px 12px 53px;
    border-radius: 27px;
}

.btn:hover {
    background: #59a83d;
}

.btn_2 {
    font: 700 16px/16px 'DM Sans', sans-serif;
    background: linear-gradient(90deg, rgba(70, 129, 50, 1), rgba(88, 161, 62, 1), rgba(70, 129, 50, 1));
    background-size: 200% 100%;
    box-shadow: 0 16px 24px 0 rgba(0, 0, 0, 0.15);
    padding: 18px 88px 18px 38px;
}

.btn .ico_strzalka {
    position: absolute;
    width: 22px;
    height: 17px;
    top: 50%;
    left: 13px;
    transform: translate(0, -50%);
}

.btn:hover .ico_strzalka {
    left: 22px;
}

.btn_2 .ico_strzalka {
    width: 26px;
    height: 20px;
    right: 37px;
    left: auto;
}

.btn_2:hover .ico_strzalka {
    right: 24px;
    left: auto;
}

.btn_lewy {
    padding: 18px 30px 18px 63px;
}

.btn_lewy .ico_strzalka {
    transform: translate(0, -50%) rotate(180deg);
    left: 25px;
}

.btn_lewy:hover .ico_strzalka {
    left: 15px;
}

.btn_prawy {
    padding: 18px 70px 18px 30px;
}

.btn_prawy .ico_strzalka {
    right: 30px;
    left: auto;
}

.btn_prawy:hover .ico_strzalka {
    right: 20px;
    left: auto;
}

/* --- header --- */

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 50px 0;
    z-index: 5;
}

header.podstrona {
    border-bottom: 2px solid #f1f1f3;
}

header.open {
    position: fixed;
    border: none;
}

.header_top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
}

header.podstrona .header_top {
    height: 110px;
}

header .logo,
header .svg_logo {
    width: 235px;
    height: 140px;
}

header.open .svg_logo .cls-1,
header.open .svg_logo .cls-2 {
    fill: #fff;
}

header.open .logo,
header.open .svg_logo,
header.podstrona .logo,
header.podstrona .svg_logo {
    width: 185px;
    height: 110px;
}

#szukaj {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#szukaj div {
    position: relative;
    width: 460px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

#szukaj label,
#szukaj input {
    width: 100%;
    height: 100%;
}

#szukaj input {
    padding: 5px 85px 5px 45px;
    color: #626262;
    font: 400 16px/16px 'DM Sans', sans-serif;
    border-radius: 25px;
    border: 2px solid #fff;
    background-color: #f1f1f3;
    box-shadow: -1px 5px 7px 0 rgba(0, 0, 0, 0.1) inset;
}

header.open #szukaj input {
    border-color: #458031;
}

#szukaj div input:hover,
#szukaj div input:focus {
    border: 2px solid #59a83d;
}

#szukaj button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translate(0, -50%);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #458031;
    flex: 0 0 auto;
}

#szukaj button:hover {
    background-color: #59a83d;
}

#szukaj button .ico_lupa {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
}

.header_right {
    display: flex;
    align-items: center;
}

.fb_link, .tk_link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 60px 0 0;
}

.tk_link span {
    display: inline-block;
    color: #458031;;
    font: 400 16px/16px 'DM Sans', sans-serif;
    margin-right: 20px;
}

header.open .fb_link span {
    color: #fff;
}

.fb_link:hover span {
    color: #4da6ff;
}

.fb_link .ico_fb {
    width: 30px;
    height: 30px;
}

.fb_link:hover .ico_fb .cls-4 {
    fill: #4da6ff;
}

header.open .fb_link .ico_fb .cls-4 {
    fill: #fff;
}

.hamburger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    width: 160px;
}

.hamburger .text,
.hamburger .text_2 {
    color: #626262;
    font: 700 24px/24px 'DM Sans', sans-serif;
    margin-right: 20px;
}

.hamburger.open .text {
    display: none;
}

.hamburger .text_2 {
    display: none;
    color: #fff;
}

.hamburger.open .text_2 {
    display: block;
}


.hamburger div {
    width: 48px;
    height: 44px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hamburger div span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #458031;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -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;
}

.hamburger.open div span,
.hamburger.open:hover div span {
    background: #fff;
}

.hamburger:hover div span {
    background: #59a83d;
}

.hamburger div span:nth-child(1) {
    top: 0;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.hamburger div span:nth-child(2) {
    top: 50%;
    left: 50%;
    width: 30px;
    height: 8px;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.hamburger:hover div span:nth-child(2) {
    width: 100%;
}

.hamburger div span:nth-child(3) {
    top: 41px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.hamburger.open div span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 3px;
    height: 6px;
}

.hamburger.open div span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.hamburger.open div span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 39px;
}

.hamburger.open div span:nth-child(1),
.hamburger.open div span:nth-child(3) {
    border-radius: 3px;
    left: 8px;
}

/* --- menu full scren --- */

#belka_dolna {
    position: fixed;
    bottom: 0;
    left:0;
    height: 0;
    width: 100%;
    background: #458031;
    z-index: 5;
}

#menu_fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(0,-100%);
    width: 100%;
    height: 100%;
    background-color: #458031;
    z-index: 4;
    padding: 220px 300px 100px;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

#menu_fullscreen.open {
    transform: translate(0,0);
}

#menu_fullscreen .separator {
    width: 3px;
    height: 100%;
    margin: 0 30px;
    background: #1a4b0b;
}

#menu_fullscreen .box {
    width: 500px;
    overflow: hidden;
}

#menu_fullscreen .naglowek {
    font: 700 46px/46px 'DM Sans', sans-serif;
    margin: 0 0 60px;
    display: block;
}

/* --- breadcrumps --- */

#breadcrumps {
    display: none;
}

header.podstrona #breadcrumps {
    display: flex;
    color: #626262;
    align-items: center;
    justify-content: flex-start;
    margin-left: 260px;
}

header.open #breadcrumps {
    display: none;
}

#breadcrumps .start {
    display: block;
    font: 700 14px/14px 'DM Sans', sans-serif;
    height: 30px;
    padding: 8px 12px;
    margin: 0 20px 0 0;
    background: #f1f1f3;
    flex: 0 0 auto;
}

#breadcrumps .home {
    margin-right: 15px;
    height: 15px;
}

#breadcrumps .home .ico_home {
    width: 14px;
    height: 15px;
}

#breadcrumps div .separator,
#breadcrumps div a,
#breadcrumps div .active {
    display: inline-block;
    font: 700 14px/14px 'DM Sans', sans-serif;
    text-transform: uppercase;
}

#breadcrumps div a:hover,
#breadcrumps div .active {
    color: #458031;
}

#breadcrumps div .separator {
    margin: 0 15px;
}

#breadcrumps div .separator:first-of-type {
    margin-left: 0;
}

/* --- filtrowanie --- */

#sort_filtr {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 0 0 10px;
}

#filtrowanie {
    margin: 0 0 10px;
}

#filtrowanie form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#filtrowanie label {
    font: 400 16px/28px 'DM Sans',sans-serif;
    margin: 0 10px 0 0;
}

#filtrowanie .irs--round {
    margin: 0 20px 0 0;
    width: 200px;
}

#filtrowanie .irs--round .irs-handle {
    top: 19px;
}

#filtrowanie .irs--round .irs-line {
    top: 26px;
}

#filtrowanie .btn {
    padding: 12px 22px;
}

/* --- sortowanie --- */

#sortowanie {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 50px 10px 0;
}

#sortowanie .separator {
    color: #dbdbdb;
    font: 400 13px/13px 'DM Sans', sans-serif;
    margin: 0 20px;
}

#sortowanie a {
    color: #458031;
    font: 400 13px/13px 'DM Sans', sans-serif;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

#sortowanie a.active,
#sortowanie a:hover {
    color: #626262;
}

#sortowanie span {
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 100%;
    background: #f1f1f3;
    position: relative;
    margin: 0 0 0 15px;
}

#sortowanie a svg {
    width: 11px;
    height: 7px;
    position: absolute;
    left: 50%;
    top: 50%;
}

#sortowanie a svg.up {
    transform: translate(-50%,-50%) rotate(0deg);
}

#sortowanie a svg.down {
    transform: translate(-50%,-50%) rotate(180deg);
}

/* ---- paginacja ---- */

#paginacja {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #626262;
    font: 400 16px/16px 'DM Sans', sans-serif;
    margin: 0 auto 50px;
}

#paginacja select {
    border: 2px solid #f1f1f3;
    margin: 0 15px;
    padding: 0 10px;
    color: #626262;
    font: 400 16px/16px 'DM Sans', sans-serif;
    height: 40px;
    width: 75px;
    text-align: center;
}

#paginacja select:focus,
#paginacja select:hover {
    border: 2px solid #59a83d;
}

.button_pag {
    width: 38px;
    height: 38px;
    border-radius: 100%;
    background: #458031;
    position: relative;
    margin: 0 20px;
}

.button_pag:hover {
    background: #59a83d;
}

#paginacja .button_pag .ico_strzalka {
    width: 22px;
    height: 17px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

#paginacja .pag_prev .ico_strzalka {
    transform: translate(-50%,-50%) rotate(180deg);
}

/* --- strona główna - podział na kategorię --- */

#home_kategorie {
    padding: 30px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#home_kategorie .box {
    position: relative;
    width: 48.25%;
    padding: 100px 130px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#home_kategorie .down_box {
    width: 100%;
    height: 305px;
    margin: 60px 0 0;
}

#home_kategorie .box:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #37454f;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

#home_kategorie img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 1s;
}

#home_kategorie .box:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
}

#home_kategorie .ikona {
    position: absolute;
    top: 45px;
    right: 50px;
    z-index: 1;
}

#home_kategorie .ikona_budowa {
    width: 112px;
    height: 116px;
}

#home_kategorie .ikona_wykonczenie {
    width: 113px;
    height: 114px;
}

#home_kategorie .ikona_nieruchomosci {
    width: 112px;
    height: 115px;
    top: 50%;
    transform: translate(0,-50%);
}

#home_kategorie .tresc {
    z-index: 1;
    color: #fff;
    display: block;
}

#home_kategorie .down_box .tresc {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#home_kategorie .text_1 {
    display: block;
    font: 400 38px/65px 'DM Sans', sans-serif;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

#home_kategorie .text_2 {
    display: block;
    font: 700 70px/70px 'DM Sans', sans-serif;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

#home_kategorie .down_box .text_1 {
    margin: 0 25px 0 0;
}

#home_kategorie .down_box .text_2 {
    margin: 0 200px 0 0;
}

#home_kategorie .text_2 span {
    color: #458031;
}

#home_kategorie .box:hover .btn,
#home_kategorie .box:hover .btn_2 {
    background: linear-gradient(90deg, rgba(70, 129, 50, 1), rgba(88, 161, 62, 1), rgba(70, 129, 50, 1)) 100% 0 / 200% 100%;
}

#home_kategorie .box:hover .btn_2 .ico_strzalka {
    right: 24px;
    left: auto;
}

/* --- strona główna - nowości & menu boczne z nowościami--- */

.nowosci {
    width: 100%;
    margin: 35px 0;
}

.nowosci .tytul {
    display: block;
    color: #626262;
    font: 700 36px/44px 'DM Sans', sans-serif;
    text-align: center;
    margin: 0 0 20px;
}

.nowosci .lista_nowosci {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.produkt {
    width: 320px;
    margin: 45px 30px;
}

.produkt .foto_produkt {
    display: block;
    width: 320px;
    height: 320px;
    position: relative;
    margin: 0 0 30px;
    overflow: hidden;
}

.produkt .foto_produkt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.5s;
}

.produkt .foto_produkt:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
}

.produkt .foto_produkt .trojkat {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 20px solid #458031;
    border-right: 20px solid transparent;
}

.produkt .foto_produkt:hover .trojkat {
    border-bottom: 20px solid #59a83d;
}

.produkt .nazwa {
    display: block;
    color: #626262;
    font: 700 16px/24px 'DM Sans', sans-serif;
    height: 48px;
    overflow: hidden;
    margin: 0 0 20px;
}

.produkt .nazwa:hover {
    color: #59a83d;
}

.produkt .wiersz {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.produkt .wiersz .cena {
    color: #bababa;
    font: 400 10px/10px 'DM Sans', sans-serif;
    display: block;
    text-transform: uppercase;
}

.produkt .wiersz .cena span {
    color: #458031;
    font: 700 24px/24px 'DM Sans', sans-serif;
    text-transform: none;
    margin: 6px 0 0;
    display: block;
}

.nowosci .btn_2 {
    color: #458031;
    background: #fff;
    box-shadow: none;
    left: 50%;
    transform: translate(-50%, 0);
}

.nowosci .btn_2:hover {
    color: #59a83d;
}

.nowosci .btn_2:hover .ico_strzalka .cls-1 {
    fill: #59a83d;
}

.strona_lewa .nowosci .tytul {
    font: 700 22px/28px 'DM Sans', sans-serif;
}

.strona_lewa .produkt {
    width: 100%;
    margin: 25px 0;
}

.strona_lewa .produkt .foto_produkt {
    width: 250px;
    height: 250px;
    margin: 0 0 15px;
}

.strona_lewa .produkt .nazwa {
    font: 700 16px/22px 'DM Sans', sans-serif;
    height: 44px;
    margin: 0 0 15px;
}

.strona_lewa .produkt .wiersz .cena span {
    font: 700 20px/20px 'DM Sans', sans-serif;
    margin: 4px 0 0;
}

.strona_lewa .produkt .wiersz .btn {
    padding: 10px 15px 10px 50px;
}

.strona_lewa .nowosci .btn_2 {
    padding: 18px 100px 18px 25px;
}

/* --- footer stopka --- */

#stopka,
#copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#stopka .box,
#copyright .box {
    width: 50%;
}

#stopka .box {
    padding: 40px 70px;
}

#stopka .box_lewy,
#copyright .box_lewy {
    background-color: #458031;
}

#stopka .box_prawy,
#copyright .box_prawy {
    background-color: #f1f1f3;
}

#stopka .box_prawy {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#stopka .dane_kontaktowe,
#stopka .zapytaj_online {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
}

#stopka .zapytaj_online {
    margin: 30px 0 0;
    justify-content: space-around;
}

#stopka .dane {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#stopka .dane svg {
    width: 22px;
    height: 40px;
    margin-right: 25px;
    flex: 0 0 auto;
}

#stopka .dane .text {
    font: 700 18px/24px 'DM Sans', sans-serif;
}

#stopka .dane .text span {
    font: 400 16px/24px 'DM Sans', sans-serif;
}

#stopka .zapytaj_online div {
    display: inline-block;
    position: relative;
    color: #fff;
    font: 700 30px/44px 'DM Sans', sans-serif;
    z-index: 1;
}

#stopka .zapytaj_online div .ikona_zapytaj {
    width: 121px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#stopka .zapytaj_online .btn_2 {
    box-shadow: none;
    background: transparent;
    border: 2px solid #3f752d;
    z-index: 2;
}

#stopka .zapytaj_online .btn_2:hover {
    border-color: #59a83d;
    background: #59a83d;
}

#stopka .menu,
#stopka .fb_link {
    padding-top: 25px;
}

#stopka .menu span {
    display: block;
    color: #626262;
    font: 700 30px/30px 'DM Sans', sans-serif;
    margin-bottom: 40px;
}

#stopka .menu a {
    display: block;
    color: #626262;
    font: 700 18px/18px 'DM Sans', sans-serif;
    margin-bottom: 15px;
}

#stopka .menu li:last-of-type a {
    margin-bottom: 0;
}

#stopka .menu a:hover,
#stopka .menu a.active {
    color: #59a83d;
}

#stopka .menu .ico_strzalka {
    width: 13px;
    height: 10px;
    position: relative;
    left: 0;
    margin-right: 40px;
}

#stopka .menu a:hover .ico_strzalka,
#stopka .menu a.active .ico_strzalka {
    left: 15px;
}

#stopka .menu a:hover .ico_strzalka .cls-1,
#stopka .menu a.active .ico_strzalka .cls-1 {
    fill: #59a83d;
}

#stopka .fb_link {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font: 700 20px/32px 'DM Sans', sans-serif;
    text-align: center;
    color: #1976d2;
    margin-right: 100px;
}

#stopka .fb_link:hover {
    color: #4da6ff;
}

#stopka .fb_link span {
    margin-right: 0;
    color: #626262;
    font: 400 18px/32px 'DM Sans', sans-serif;
    display: inline-block;
}

#stopka .fb_link .ico_fb {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

#copyright .box_prawy {
    text-align: right;
}

.copyright {
    font: 400 10px/10px 'DM Sans', sans-serif;
    padding: 25px 30px;
    display: inline-block;
}

.box_lewy .copyright {
    color: #fff;
}

.box_prawy .copyright {
    color: #458031;
}

/* --- podstrona kontakt --- */

.kontakt {
    display: flex;
    align-items: center;
}

.kontakt .cms {
    width: 25%;
}

.kontakt .logo {
    width: 75%;
}

.kontakt .logo .svg_logo {
    width: 435px;
    height: 260px;
    display: block;
    margin: 0 auto;
}

/* -- formularz kontaktowy -- */

#formularz_kontaktowy {
    color: #626262;
}

#formularz_kontaktowy form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#formularz_kontaktowy form > div {
    width: 23%;
    margin-bottom: 30px;
}

#formularz_kontaktowy .formularz_kolumna1 {
    width: 74.2%;
}

#formularz_kontaktowy .form_text {
    font: 400 14px/14px 'DM Sans', sans-serif;
    margin-bottom: 20px;
    display: block;
}

#formularz_kontaktowy .form_text > span {
    color: #59a83d;
}

#formularz_kontaktowy input,
#formularz_kontaktowy textarea {
    width: 100%;
}

input,
textarea,
select {
    border: 2px solid #f1f1f3;
    height: 50px;
    padding: 10px;
    font: 400 14px/18px 'DM Sans', sans-serif;
    color: #2c2c2c;
}

#formularz_zapytaj textarea {
    height: 240px;
}

#formularz_kontaktowy textarea {
    height: 160px;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
    border: 2px solid #59a83d;
}

#formularz_kontaktowy .textarea {
    margin-bottom: 25px;
}

#formularz_kontaktowy .token {
    margin-bottom: 25px;
}

#formularz_kontaktowy .token div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#formularz_kontaktowy .token div img {
    margin-right: 30px;
    flex: 0 0 auto;
}

#formularz_kontaktowy .token div input {
    width: 120px;
    text-align: center;
}

#formularz_kontaktowy .form_text_small {
    font: 400 12px/20px 'DM Sans', sans-serif;
    margin-bottom: 20px;
    display: block;
    text-align: justify;
}

/* -- formularz kontaktowy -- */

#strefa_logowanie {
    color: #626262;
}

#strefa_logowanie form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: left;
}

#strefa_logowanie form > div {
    width: 25%;
    margin-bottom: 30px;
}

#strefa_logowanie .form_text {
    font: 400 14px/14px 'DM Sans', sans-serif;
    margin-bottom: 20px;
    display: block;
}
#strefa_logowanie a {
    font: 400 14px/14px 'DM Sans', sans-serif;
    margin: 0 20px 20px 0;
    display: inline-block;
    color: #59a83d;
}

#strefa_logowanie .form_text > span {
    color: #59a83d;
}

#strefa_logowanie input,
#strefa_logowanie select,
#strefa_logowanie textarea {
    width: 100%;
}

input,
textarea,
select {
    border: 2px solid #f1f1f3;
    height: 50px;
    padding: 10px;
    font: 400 14px/18px 'DM Sans', sans-serif;
    color: #2c2c2c;
}

#formularz_zapytaj textarea {
    height: 240px;
}

#strefa_logowanie textarea {
    height: 160px;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
    border: 2px solid #59a83d;
}

#strefa_logowanie .textarea {
    margin-bottom: 25px;
}

#strefa_logowanie .token {
    margin-bottom: 25px;
}

#strefa_logowanie .token div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#strefa_logowanie .token div img {
    margin-right: 30px;
    flex: 0 0 auto;
}

#strefa_logowanie .token div input {
    width: 120px;
    text-align: center;
}

#strefa_logowanie .form_text_small {
    font: 400 12px/20px 'DM Sans', sans-serif;
    margin-bottom: 20px;
    display: block;
    text-align: justify;
}
#strefa_logowanie .zgoda {
    display: flex;
    user-select: none;
    font: 400 12px/20px 'DM Sans', sans-serif;
}
#strefa_logowanie .zgoda input {
    width: auto;
}
#strefa_logowanie .zgoda a {
    font: 400 12px/20px 'DM Sans', sans-serif;
    color: #458031;
}
#strefa_logowanie div p {
    margin-bottom: 0;
}
#strefa_logowanie .btn_prawy {
    padding-right: 30px;
}
#strefa_logowanie .add-photos-btn a.btn {
    color: #626262 !important;
    background-color: #f1f1f3 !important;
}
#strefa_logowanie .status {
    color: #458031;
}

/* --- podtsrona kategorie --- */

.zbior_kategorii {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.box_kategoria {
    margin: 25px 65px;
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box_kategoria span {
    display: block;
}

.box_kategoria .kolko {
    position: relative;
    width: 230px;
    height: 230px;
    border-radius: 100%;
    background: #f1f1f3;
    margin: 0 0 20px;
}

.box_kategoria:hover .kolko {
    background: #458031;
}

.box_kategoria .ikona_kategoria {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 156px;
    /*box-shadow: 25px 17px 21px 0px rgba(80, 47, 60, 0.25);*/
}

.box_kategoria .ico_strzalka {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: auto;
    height: 20px;
}

.box_kategoria:hover .ico_strzalka {
    top: 92%;
}

.box_kategoria:hover .ikona_kategoria .cls-1,
.box_kategoria:hover .ico_strzalka .cls-1 {
    fill: #fff;
}

.box_kategoria .nazwa {
    color: #626262;
    font: 700 22px/26px 'DM Sans', sans-serif;
    text-align: center;
    height: auto;
    max-height: 52px;
    overflow: hidden;
}

.box_kategoria:hover .nazwa {
    color: #458031;
}

/* --- lista produktów --- */

.lista_produktow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 25px;
}

.lista_produktow .foto_produkt {
    margin: 0;
}

.lista_produktow .produkt {
    height: 320px;
    width: 680px;
    display: flex;
    justify-content: space-between;
    margin: 45px 0;
}

.lista_produktow .foto_produkt .trojkat {
    right: 0;
    left: auto;
    transform: rotate(-90deg);
}

.lista_produktow .opis_produktu {
    width: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lista_produktow .opis_produktu_top {
    max-height: 200px;
    height: auto;
    overflow: hidden;
}

.lista_produktow .produkt .nazwa {
    font: 700 22px/28px 'DM Sans', sans-serif;
    max-height: 84px;
    height: auto;
}

.lista_produktow .produkt p {
    color: #626262;
    font: 400 16px/24px 'DM Sans', sans-serif;
    text-align: justify;
    max-height: 96px;
    overflow: hidden;
}

.lista_produktow .produkt .wiersz {
    flex-direction: column;
}

.lista_produktow .produkt .cena {
    margin: 0 0 10px;
}

/* --- produkt --- */

#widok_produkt {
    display: block;
}

#widok_produkt .cms {
    display: block;
}

#widok_produkt .cms h1:after {
    left: 560px;
}

#widok_produkt .produkt_top {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 50px;
}

#widok_produkt .produkt_foto {
    width: 500px;
    height: 500px;
    position: relative;
    margin: 0 60px 50px 0;
    float: left;
}

#widok_produkt .produkt_foto img {
    width: 100%;
    height: 100%;
}

#widok_produkt .produkt_foto .trojkat {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 25px solid #458031;
    border-left: 25px solid transparent;
}

#widok_produkt .produkt_wiersz {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 0 50px;
}

#widok_produkt .produkt_cena {
    margin: 0 40px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#widok_produkt .cena_netto {
    font: 400 12px/12px 'DM Sans', sans-serif;
    color: #bababa;
    text-transform: uppercase;
    margin: 0 0 15px;
    display: block;
}

#widok_produkt .cena_wartosc {
    color: #458031;
    font: 700 36px/36px 'DM Sans', sans-serif;
    display: block;
}

#widok_produkt .btn {
    padding: 18px 125px 18px 30px;;
}

#widok_produkt .btn_prawy .ico_strzalka {
    right: 90px;
}

#widok_produkt .btn_prawy:hover .ico_strzalka {
    right: 70px;
}

#widok_produkt .btn .ico_koszyk {
    position: absolute;
    width: 33px;
    height: 27px;
    top: 50%;
    right: 25px;
    transform: translate(0,-50%);
}

#widok_produkt .produkt_opis {
    margin: 0 0 50px;
}

#widok_produkt .produkt_dane {
    width: 100%;
}

/* --- cookies --- */

#ciasteczka {
    display: block;  /* do zmiany na block lub none*/
    max-width: 270px;
    height: 80px;
    background: #fff;
    padding: 0 10px;
    position: fixed;
    bottom: 9px;
    left: 0;
    z-index: 9999;
    -webkit-border-radius: 0 40px 40px 0;
    border-radius: 0 40px 40px 0;
    border: 1px solid #E0E0E0;
    overflow: hidden;
    cursor: pointer;
    opacity: .95;
}

#ciasteczka .zawartosc {
    max-width: 300px; /* do zmiany */
}

#ciasteczka p.info {
    margin: 3px 0 0 0;
    font: 300 9px/10px 'Arial';
    text-align: justify;
}

#ciasteczka p strong, #ciasteczka p span {
    font: 600 10px/12px 'Arial';
}

#ciasteczka p a {
    color: #9a7e44;
}

#ciasteczka .zamknij {
    float: right;
    width: 34px;
    height: 35px;
    background: url('../grafika/ico-ok.png') no-repeat;
    display: block;
    overflow: hidden;
    margin: 18px 0 0 9px;
    cursor: pointer;
}

#ciasteczka:hover .zamknij {
    background-position: 0 -36px;
}

/* --- komunikaty --- */

.komunikat_wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 20;
    min-width: 300px;
    left: 50%;
    top: -300px;
    transform: translate(-50%,0);
}

.komunikat_wrapper.open {
    top: 10px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.komunikat {
    position: relative;
    color: #ffffff;
    font: 400 14px/21px "Fira Sans", sans-serif;
    padding: 20px 60px 20px 105px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 20;
    min-width: 300px;
    min-height: 84px;
    border-radius: 25px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.komunikat_wrapper .komunikat {
    opacity: 0;
    margin-bottom: 10px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.komunikat_wrapper .komunikat.open {
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.komunikat::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    width: 64px;
    height: 64px;
    transform: translate(0,-50%);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.komunikat_ok::before {
    background: url('../grafika/ikona-ok.png');
}
.komunikat_ok {
    background-color: #99cc00;
}

.komunikat_uwaga:before {
    background: url('../grafika/ikona-uwaga.png');
}

.komunikat_uwaga {
    background-color: #ED6F00;
}

.komunikat_blad:before {
    background: url('../grafika/ikona-blad.png');
}

.komunikat_blad {
    background-color: #ff0000;
}

.komunikat_info:before {
    background: url('../grafika/ikona-info.png');
}

.komunikat_info {
    background-color: #00A4FF;
}

.komunikat_krzyzyk {
    margin-left: 20px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.komunikat_krzyzyk:hover {
    transform: rotate(180deg);
}

/* =============================================================================
   Style upload
   ========================================================================== */

ul.cvf_uploaded_files {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    height: auto !important;
}

ul.cvf_uploaded_files li {
    list-style-type: none;
    margin: 18px 18px 0 0;
    padding:0;
    width: 320px;
    height: 320px;
    line-height: 110px;
    position: relative;
}
ul.cvf_uploaded_files li:before {
    display: none;
}

ul.cvf_uploaded_files li img.img-thumb {
    width: 320px;
    height: 320px;
    object-fit: cover;
}

ul.cvf_uploaded_files li img:hover {
    cursor: move;
}

/*ul.cvf_uploaded_files .ui-selected {*/
/*background: red;*/
/*}*/

ul.cvf_uploaded_files .highlight {
    width: 320px;
    background-color: #f0f1f2;
}

ul.cvf_uploaded_files .cvf_delete_image {
    display: block;
    width: 16px;
    height: 16px;
    border: 0;
    position: absolute;
    top: -10px;
    right: -25px;
    background-image: url('../grafika/ico-usun.gif');
}

#loading {
    position: relative;
    display: none;
}

#loading img {
    margin: 60px 40px 0 40px;
}








