@import "../core/css/common.css";

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

.polecenia > .description h2 {
    font-size: 1rem;
    font-weight: normal;
}

.polecenia > .photo {
    display: inline-block;
    float: left;
    padding-right: 8px;
}

.polecenia > .photo img {
    width: 100px;
}

#porcjowanie {
    padding-top: 20px;
    width: 100%;
}

.aktualnosc-lista {
    min-height: 215px;
    object-fit: cover;
}

a:focus, a:hover {
    color: #35549e;
}

.min-h {
    min-height: 345px;
}

.u-btn-primary:hover, .u-btn-primary.active {
    border-color: #416fe4;
    background-color: #005087;
}

.alert-success p {
    color: #155724;
}

.right-bar {
    position: fixed;
    background: none;
    right: 0;
    top: 20vh;
    z-index: 10;
}

.basket-link {
    display: none;
}

.basket-link.basket-visible {
    display: block;
}

.basket-discount-row:before {
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background: #7f7f7f;
    content: '';
    top: 8px;
    left: -88px;
}

.right-bar a {
    background: none;
    border-radius: 3px 0 0 3px;
    width: 53px;
    height: 53px;
    font-size: 22px;
    cursor: pointer;
    z-index: 4;
    background: #fff;
    box-shadow: 3px 3px 30px 0 rgba(0, 0, 0, .2);
    padding: 15px 16px 8px;
}

.right-bar a:hover {
    background: #e4e4e4;
}

.collapse .list-unstyled .basket-discount-row {
    margin-top: 20px;
}

.collapse .list-unstyled .basket-price {
    margin-top: -20px;
    background: linear-gradient(45deg, #dfdfdf, transparent);
    color: #7f7f7f;
    padding: 2px 6px;
    font-size: 0.85714rem !important;
}

h2.przelewy-redirect {
    margin-bottom: 55px;
    font-weight: 300 !important;
    box-shadow: 0 0 2px #ccc;
    padding: 16px;
    border-radius: .25rem !important;
    background-color: #f3fdfa;
}

h2.przelewy-redirect span {
    font-weight: 400 !important;
}

.warn {
    border-bottom: 1px #f73333 solid;
    padding-bottom: 5px;
}

.warn:checked {
    border: 0;
    color: initial !important;
}

#warning.alert {
    display: none;
}

.grecaptcha-badge {
    display: none !important;
}

.navbar-toggler.g-right-0 {
    left: 0 !important;
}

.navbar-brand {
    margin: 0 auto;
}

.u-searchform-v1 {
    width: 100vw;
}

.nawigacja span {
    color: #474747;
    font-weight: 500;
    font-size: 14px;
}

main .about-us:nth-of-type(odd) {
    background-color: #fafafa !important;
}

.force-white p {
    color: #fff;
}

.kontakt-prawnik {
    border: 0;
    height: 540px;
}

.ribbon {
    color: #fff;
}

.ribbon-1 {
    position: absolute;
    top: -6.1px;
    right: 10px;
}

.ribbon-1:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 53px solid transparent;
    border-right: 53px solid transparent;
    border-top: 10px solid #F8463F;
}

.ribbon-1 span {
    position: relative;
    display: block;
    text-align: center;
    background: #F8463F;
    font-size: 14px;
    line-height: 1;
    padding: 12px 8px 10px;
    border-top-right-radius: 8px;
    width: 90px;
}

.ribbon-1 span:before, .ribbon-1 span:after {
    position: absolute;
    content: "";
}

.ribbon-1 span:before {
    height: 6px;
    width: 6px;
    left: -6px;
    top: 0;
    background: #F8463F;
}

.ribbon-1 span:after {
    height: 6px;
    width: 8px;
    left: -8px;
    top: 0;
    border-radius: 8px 8px 0 0;
    background: #C02031;
}

.ribbon-2 {
    width: 60px;
    padding: 10px 0;
    position: absolute;
    top: -6px;
    left: 25px;
    text-align: center;
    border-top-left-radius: 3px;
    background: #F47530;
}

.ribbon-2:before {
    height: 0;
    width: 0;
    right: -5.5px;
    top: 0.1px;
    border-bottom: 6px solid #8D5A20;
    border-right: 6px solid transparent;
}

.ribbon-2:before, .ribbon-2:after {
    content: "";
    position: absolute;
}

.ribbon-2:after {
    height: 0;
    width: 0;
    bottom: -29.5px;
    left: 0;
    border-left: 30px solid #F47530;
    border-right: 30px solid #F47530;
    border-bottom: 30px solid transparent;
}

.ribbon-3 {
    width: 150px;
    height: 50px;
    line-height: 50px;
    padding-left: 15px;
    position: absolute;
    left: -8px;
    top: 20px;
    background: #59324C;
}

.ribbon-3:before, .ribbon-3:after {
    content: "";
    position: absolute;
}

.ribbon-3:before {
    height: 0;
    width: 0;
    top: -8.5px;
    left: 0.1px;
    border-bottom: 9px solid black;
    border-left: 9px solid transparent;
}

.ribbon-3:after {
    height: 0;
    width: 0;
    right: -14.5px;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 15px solid #59324C;
}

.ribbon-4 {
    position: absolute;
    top: 15px;
    padding: 8px 10px;
    background: #00B3ED;
    box-shadow: -1px 2px 3px rgba(0, 0, 0, .3);
}

.ribbon-4:before, .ribbon4:after {
    content: "";
    position: absolute;
}

.ribbon-4:before {
    width: 7px;
    height: 100%;
    top: 0;
    left: -6.5px;
    padding: 0 0 7px;
    background: inherit;
    border-radius: 5px 0 0 5px;
}

.ribbon-4:after {
    width: 5px;
    height: 5px;
    bottom: -5px;
    left: -4.5px;
    background: lightblue;
    border-radius: 5px 0 0 5px;
}

.ribbon-5 {
    display: block;
    width: calc(100% + 20px);
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-left: -10px;
    margin-right: -10px;
    background: #EDBA19;
    position: relative;
    top: 20px;
}

.ribbon-5:before, .ribbon-5:after {
    content: "";
    position: absolute;
}

.ribbon-5:before {
    height: 0;
    width: 0;
    bottom: -10px;
    left: 0;
    border-top: 10px solid #cd8d11;
    border-left: 10px solid transparent;
}

.ribbon-5:after {
    height: 0;
    width: 0;
    right: 0;
    bottom: -10px;
    border-top: 10px solid #cd8d11;
    border-right: 10px solid transparent;
}

.article h2 {
    margin-top: 25px;
}

.breadcrumbs-one > li > a,
.breadcrumbs-one > a {
    color: #fff !important;
}

.breadcrumbs-one > a:hover {
    text-decoration: none;
}

.breadcrumbs-one > li > a:hover,
.breadcrumbs-one > a:hover,
.breadcrumbs-one .current {
    color: #89cfff !important;
}

.breadcrumbs-one .previous {
    margin-right: 0.5rem;
}

.breadcrumbs-one .spacer {
    margin-right: 0.5rem !important;
}

label {
    transition: opacity .15s linear;
}

label.error {
    font-weight: 700;
    font-size: 14px;
    color: #e64b3b !important;
    position: relative;
    padding: .75rem 1.25rem;
    width: 100%;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.45rem;
    background-color: rgba(255, 0, 0, 0.1) !important;
}

input.error {
    border: 1px #d9534f solid;
}

.basket-photo + div {
    width: 75%;
}

header {
    -webkit-transition: all 0.3s ease-out 0.2s;
    -moz-transition: all 0.3s ease-out 0.2s;
    -o-transition: all 0.3s ease-out 0.2s;
    transition: all 0.3s ease-out 0.2s;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

@media (max-width: 770px) {
    .navbar-brand img {
        height: 58px !important;
    }

    .navbar-toggler {
        margin-top: 10px;
    }

    #navBar.show + .g-hidden-md-down,
    #navBar.collapsing + .g-hidden-md-down {
        display: block !important;
        width: 100%;
    }

    #navBar.show + .g-hidden-md-down a,
    #navBar.collapsing + .g-hidden-md-down a {
        width: 92%;
    }

    .nav-search-button {
        margin-right: 10px;
        position: absolute !important;
        top: 16px;
        right: 10px;
    }

    .nav-search-button a {
        font-size: 26px !important;
    }

    .u-searchform-v1 {
        transform: translateY(30px);
        right: -34px !important;
    }

    .basket-photo {
        float: left
    }

    .basket-photo + div {
        display: inline !important;
    }

    footer > div > div.container {
        padding-top: 34px !important;
    }

    #js-header .navbar-toggler[aria-expanded=true] + a + div {
        display: block !important;
        width: 100%;
        background: snow;
        margin: 0 !important;
    }

    .kontakt-prawnik {
        display: none;
    }

    .article iframe {
        min-height: 240px;
    }
}

@media (max-width: 575px) {
    .basket-discount-row:before {
        display: none;
    }
}

.banery {
    margin-top: 10px;
}

.article iframe {
    width: 100%;
    min-height: 480px;
}


.reklama-wspolpraca {
    display: block;
    width: 100%;
}

.reklama-wspolpraca:hover {
    text-decoration: none;
}

.reklama-wspolpraca div {
    background: linear-gradient(-45deg, #1d4fb6, #2d3015);
    padding: 30px 20px !important;
    text-align: center;
    color: azure;
    box-shadow: 1px 9px 2px #000;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    -webkit-transition: all 0.2s ease-in-out 0.3s;
    -moz-transition: all 0.2s ease-in-out 0.3s;
    -o-transition: all 0.2s ease-in-out 0.3s;
    transition: all 0.2s ease-in-out 0.3s;
}

.reklama-wspolpraca div:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 91, 0.35);
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 0;
}

.reklama-wspolpraca div:hover:after {
    content: '';
    position: absolute;
    opacity: 1;
}

.reklama-wspolpraca div:hover {
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.color-red {
    color: var(--red);
}

.card-borderless {
    border-width: 0;
}

.card-flush.card-stretched-vertical .card-body .card-footer {
    padding-bottom: 0;
}
.card-stretched-vertical .card-body .card-footer {
    padding: 0;
    margin-top: auto;
}
.card-flush .card-body, .card-flush .card-footer, .card-flush .card-header, .card-flush .collapse .card-body {
    padding-right: 0;
    padding-left: 0;
}
.card-footer:last-child {
    border-radius: 0 0 .75rem .75rem;
}
.card-footer, .card-header {
    border-width: 0;
}
.card-footer {
    padding: 1.75rem 1.75rem;
    background-color: transparent;
    border-top: .0625rem solid rgba(220,224,229,.6);
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: .75rem;
    border-bottom-left-radius: .75rem;
}
.card-img, .card-img-top {
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}
.card-img, .card-img-bottom, .card-img-top {
    width: 100%;
}

.gap-7 {
    gap: 3rem!important;
}
.d-grid {
    display: grid!important;
}

.card-stretched-vertical .card-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}
.card-flush .card-body, .card-flush .card-footer, .card-flush .card-header, .card-flush .collapse .card-body {
    padding-right: 0;
    padding-left: 0;
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.75rem 1.75rem;
}


.nawigacja {
    width: 100%;
    text-align: center;
    border-top: 1px #d9d9d9 solid;
    clear: both;
}

.nawigacja div {
    display: inline-block;
    vertical-align: top;
    width: 49%;
    max-width: 49%;
}

.nawigacja #poprzedni > a, .nawigacja #nastepny > a {
    /*padding: 20px;*/
    padding: 8px;
    display: block;
    width: 100%;
    height: 100%;
}

.nawigacja #poprzedni,
.nawigacja #nastepny {
    opacity: 0;
}

.nawigacja small {
    font-weight: 600;
    font-size: 12px;
}

.nawigacja span {
    color: #474747;
    font-weight: 500;
    font-size: 14px;
}

.nawigacja #poprzedni {
    /*text-align: right;*/
    text-align: left;
}

.nawigacja #poprzedni img,
.nawigacja #nastepny img {
    /*width: 98px;
    height: 55px;*/
    width: 102px;
    height: 70px;
}

.nawigacja #poprzedni img {
    float: left;
    margin-right: 10px;
}

.nawigacja #nastepny img {
    float: right;
    margin-left: 10px;
}

.nawigacja #nastepny {
    /*text-align: left;*/
    text-align: right;
    transform: translateX(300px);
}

.nawigacja .vertical-line {
    background: #d9d9d9;
    width: 1px;
    height: 118px;
}

.box-shadow-right {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 100%);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#000000",GradientType=1);
}

.link {
    color: #fff;
    margin-bottom: -5px;
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
}

.link:hover {
    text-decoration: none;
    color: rgb(255, 102, 125);
    transition: all .2s;
}

.box-container {
    position: relative;
    margin-bottom: 15px;
}

.sticky-card.absolute {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 15px;
    right: 15px;
}

.sticky-card.fixed {
    position: fixed;
    top: 120px;
    max-width: 320px;
}

.sticky-card {
    width: 320px;
}