@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=pl&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600,700&lang=pl&display=swap');

/*--bs-primary:#015497;
--bs-primary-rgb: 13, 110, 253;*/

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0;
}
h1 > a.navbar-brand { font-size: 1.5rem;color:#343A40;}
h3 {
    font-size: calc(1.17rem);
}
.fw-bold.pt-4.mb-4 > h2 { font-size: 1.1rem;}
h4 {
    font-size: calc(1rem + 0vw);
}

.card > .collapse hr {
    margin-right: -24px;
    margin-left: -24px;
}

.card-body > .collapse hr {
    margin-right: -16px;
    margin-left: -16px;
}

.header {
    background-image: linear-gradient(to right, #0152A4, #0C3F74);
    background-position: right 0% top 0%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--bs-border-radius) !important;
}

.headerSerwisy {
    background-image: url('../assets/imageSerwisy.png');
    background-position: left 0% top 0%;
    background-size: contain;
    background-repeat: no-repeat;
}

.headerNarzedzia {
    background-image: url('/assets/imageNarzedzia.png');
    background-position: left 0% top 0%;
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.tab-pane.active.show {
    background-color: #F6F7FA !important;
    border: 1px solid #bababa;
}

.bg-light {
    background-color: #F6F7FA !important;
}

.recommended {
    background-color: #EBF1F7;
}

.bg-shadow {
    /*background:  linear-gradient(to bottom, #F2F5FA, #fff);*/
    background-image: url('/assets/plansza_samo_tlo.svg');
    background-repeat: repeat-x;
}

.tax-box {
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.tax-box-button {
    border: 2px solid #015497;
    border-radius: 3px;
    margin: 0;
    background: transparent;
    color: #003E71;
}

.tag-button {
    border: 1px solid #015497;
    border-radius: 3px;
    margin: 0;
    background: transparent;
    color: #003E71;
    width: unset;
}

.link-button, a.link-button:hover {
    border: 2px solid #0052a5;
    border-radius: 3px;
    color: #003E71;
    text-align: center;
    text-decoration: none;
}

.tax-box-button img {
    vertical-align: middle;
    margin-bottom: 0.2rem;
}

a {
    color: #015497;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.primary, a.primary:hover {
    color: #015497;
    line-height: inherit;
}

.bd-excerpt2 > a.primary, .accordion-body > a.primary, .accordion-body > p > a {
    text-decoration: underline;
}

.secondary {
    color: #343A40;
    font-weight: normal;
    font-size: 14px;
}
.small-text, .small-text > .tag-button {
    font-size: 14px;
}
.small-text:last-child, .card-text > p:last-child {
    margin-bottom: 0;
}

.border-primary {
    border-color: #015497 !important;
}

.btn-primary {
    background: #0052a5;
    color: #fff;
}

.cardMinHeight {
    min-height: 70px;
}

.underline {
    text-decoration: underline;
}

.verticalAlign {
    margin-top: auto;
    margin-bottom: auto;
}

.nav-tabs {
    --bs-nav-tabs-border-radius: 0;
}
.nav-tabs:nth-child(n+2) {
    border-bottom: 0;
}

.nav-tabs:not(:has(.show)) {
    border-top: 1px solid #bababa;
}

.text-right {
    float: right;
    display: inline-block;
    color: #015497;
}

footer {
    padding: 2rem 0;
}

.linia {
    color: #dc0032;
    opacity: 1;
    height: 1px;
    border-top: 1px solid;
}

.footer-logo svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

a.footer-link {
    font-weight: 700;
    text-decoration: underline;
    color: #0052a5;
}

a.page-link {
    text-decoration: none;
}

.nav-link button.accordion-button::after {
    margin-left: 1rem;
}

.accordion {
    --bs-accordion-border-color: none;
}

.accordion-item:first-of-type, .accordion-item:first-of-type .accordion-button {
    border-radius: 0;
}

a.nav-link.accordion-item, .accordion-button:not(.collapsed) {
    background-color: transparent;
}

.accordion.accordion-flush > .accordion-item > h2.accordion-header > button.accordion-button {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230052a5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230052a5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    color: #000;
}

.accordion-button.primary:not(.collapsed) {
    color: #0052a5;
}

a.accordion-button::after {
    content: none;
}

.accordion-button:not(.collapsed), .accordion-button.collapsed {
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

    .accordion-button:not(.collapsed)::after {
        background-image: var(--bs-accordion-btn-active-icon);
        transform: var(--bs-accordion-btn-icon-transform);
    }

.accordion-button:focus {
    border: 0;
}
a.nav-link.accordion-item:not(:has(.collapsed)) {
    background-color: #F6F7FA;
    border-left: var(--bs-nav-tabs-border-width) solid var(--bs-accordion-border-color);
    border-right: var(--bs-nav-tabs-border-width) solid var(--bs-accordion-border-color);
}

a.nav-link.accordion-item:not(:has(h2)) {
    padding: 1.25rem;
}

.accordion-header {
    border-top: 1px solid #BABABA;
    box-shadow: none;
}
.accordion-header > .link {
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1rem;
    background-color: transparent;
}

a.nav-link.accordion-item:has(.link) {
    background-color: transparent;
    border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-accordion-border-color);
}

.list-group > .accordion-item > .accordion-header {
    border: 1px solid #BABABA;
    padding-left: 16px;
    padding-right: 16px;
}

.mobile-accordion-header {
    border: 0;
    border-bottom: 1px solid #BABABA;
    box-shadow: none;
    margin-bottom: 1rem;
}

.nav-link > .accordion-header {
    border: 0;
}

.accordion-body {
    padding: 0;
}

.list-group.accordion-item:not(.collapsed),
.list-group.accordion-button:not(.collapsed) {
    background-color: #F6F7FA;
    box-shadow: none;
    color: #0052a5;
}

.collapsed:focus {
    box-shadow: none;
}

.offcanvas-header > form.d-flex {
    border: 0;
}
.offcanvas-header .btn-close {
    margin:0;
}
.btn-close, .offcanvas-header > form.d-flex > select.form-select {
border: 1px solid #000;
border-radius: 3px;
--bs-btn-close-opacity: 1;
}

h5.collapsed > img, .accordion-body > .collapsed > img {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.nav-tabs .nav-link {
    border: 0;
    text-decoration: none;
}

h5 {
    margin-bottom: 0;
}

.card-title {
    margin-bottom: 0;
}

.fade.active:not(.show) {
    display: none;
}
.carousel-indicators {
    margin-bottom: 0.5rem;
}
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border: 1px solid white;
    border-radius: 50%;
    margin: 0 .4em;
    background-color: transparent;
    margin-bottom: 10px;
}

.carousel-indicators:after, .carousel-indicators:before {
    content: '';
    display: block;
    border-bottom: 1px solid white;
    flex: 1 0;
    height: 4px;
}

.carousel-indicators:before {
    margin-right: .4em;
    border-bottom-left-radius: 3px;
}

.carousel-indicators:after {
    margin-left: .4em;
    border-bottom-right-radius: 3px;
}

.carousel-indicators > .active {
    background-color: white;
}

.carousel-caption {
    margin: 1.5rem 0;
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    border: 1px solid white;
    border-radius: 3px;
    text-align: left;
    border-bottom: 0;
}

.btn-secondary {
    --bs-btn-color: #0052a5;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    font-weight: bold;
}

.btn-outline-secondary {
    --bs-btn-border-color: #717171;
    color: #343A40;
}

.d-flex,.dropdown {
    color: #555;
    background-color: #fff;
    /*padding: 2px;*/
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.form-select {
    border: 0;
}

input[type="search"]::placeholder {
    color: #bbb;
}

.search-submit-btn {
    text-indent: -999px;
    overflow: hidden;
    width: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent url('/assets/ICONS/search.svg' ) no-repeat center;
    cursor: pointer;
    opacity: 0.7;
}
.form-control {
    border: 0;
}

.submitdark {
    text-indent: -999px;
    overflow: hidden;
    width: 40px;
    background: #0052A5 url('/assets/ICONS/SearchWhite.svg' ) no-repeat center !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    border:0;
}

.d-flex > .submitdark {
    padding: 0;
    opacity: 1;
}

.search-submit-btn:hover {
/*button [type="submit"]:hover {*/
    opacity: 1;
}

.search-submit-btn:focus,
/*button[type="submit"]:focus,*/
input[type="search"]:focus {
    outline: none;
}

.navbar-toggler {
    border: 0;
}

.search-link {
    float: right;
}

.color-mobile-icon {
    color: #343A40;
    font-size: x-large;
}


@media (min-width: 992px) {
    .search-link {
        display: none;
    }

    #carouselCaptionsMobile, #menubocznemobilne {
        display: none;
    }

    .card-body > .collapse {
        margin-left: 0.5rem;
    }
}

@media (max-width: 991px) {
    .header {
        border-radius: 0 !important;
    }

    #carouselCaptions, #taxTabs, #menuboczne {
        display: none;
    }

    .carousel-caption {
        color: #343A40;
        border-color: #0052a5;
        right: 0;
        left: 0;
    }

    .carousel-indicators {
        margin-left: 0;
        margin-right: 0;
    }

    .carousel-indicators > .active {
        background-color: #0052a5;
    }

    .carousel-indicators [data-bs-target] {
        border: 1px solid #0052a5;
    }

    .carousel-indicators:after, .carousel-indicators:before {
        border-bottom-color: #0052a5;
    }
}

.list-group-item, .btn-outline-secondary {
    border-color: #BABABA;
}

    .list-group-item.active {
        color: #015497;
        border-color: #BABABA;
        border-left: 4px solid #0052a5;
        background-color: #F6F7FA;
    }

.bd-excerpt {
    padding-left: 1rem;
    background-color: transparent;
    border-left: 0.4rem solid #0052A5;
}

.bd-excerpt2 {
    padding-left: 1rem;
    background-color: transparent;
    border-left: 0.2rem solid #0052A5;
    margin-left: 0.6rem;
}
.bd-destructive {
    padding-left: 1rem;
    background-color: transparent;
    border-left: 0.4rem solid #AD0000;
}

.collapse > ul li::marker, .accordion-body > ul li::marker, ul.blueMarker li::marker {
    color: #015497;
}

.collapse > ol li::marker, .accordion-body > ol li::marker {
    color: #015497;
    font-family: Montserrat;
    font-size: small;
    font-weight: 700;
}

.collapse .show > ol, .collapse .show > ul, .collapse > ol, .collapse > ul {
    padding-left: 2rem;
}

.pagination {
    --bs-pagination-disabled-bg: #fff;
}

.hightlight {
    background: #F29833;
    border-radius: 3px;
}

.widthAuto {
    width: auto;
}

.form-check-input:checked {
    background-color: #0052a5;
    border-color: #0052a5;
}

.dropdown-toggle::after {
    border-top: 0;
}

.alert > .btn-close {
    height: 0.4rem;
    width: 0.4rem;
    font-weight: bold;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230052a5'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    border: 0;
    vertical-align: middle;
}

.alert {
    padding: 0.35em;
    font-size: 14px;
    color: #0052a5;
}

.btn.show {
    background-color: #d6e4ee;
    border-color: #0052a5;
    color: #0052a5;
}

.alert.btn > .btn-close {
    height: 0.3rem;
    width: 0.3rem;
}

.filtry {
    display: flex;
    vertical-align: top;
}

.rectangle {
    width: 40px;
    height: 4px;
    background: #0052a5;
}

.card-title img {
    width: auto;
}

.rectangleKalkulator {
    width: auto;
    height: 640px;
    background: #F6F7FA;
    border: 1px solid #BABABA;
    border-radius: var(--bs-border-radius)
}

.hightlight2 {
    background: #EBF1F7;
    border: 0;
    border-radius: var(--bs-border-radius)
}

.tag-button {
    position: relative;
    /*padding-right: 1.5rem;  miejsce na x */
    font-size: small;
}

.tag-close {
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    display: none; /* domyślnie ukryty */
}

.tag-button.active .tag-close {
    display: inline; /* pokazuj tylko, gdy aktywny 
    background-color: #d6e4ee;*/
    border-color: #0052a5;
    color: #0052a5;
}

.tag-button.active {
    background-color: #d6e4ee;
    color: #0052a5;
    font-weight:bold;
}

.accordion-button:focus-visible, .btn:focus-visible, .search-submit-btn:focus-visible, .accordion-item:focus-visible, .form-control:focus-visible, .carousel-control-prev-icon:focus-visible, .carousel-control-next-icon:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.4);
    border-radius: 3px;
}

.btn:hover, .btn:focus, :not(.btn-check) +.btn:active {
    background-color: #3376AB;
    border-color: #3376AB;
}
.table-responsive table {
    border-collapse: collapse;
    text-align: inherit;
    overflow: hidden;
}
.table-responsive th,
.table-responsive td {
    border: 1px solid #c6c7c8;
    padding: .5rem .5rem;
}
.table-responsive th {
    background-color: #cfe2ff;
}
.table-responsive tr:first-child, .table-responsive tbody:first-child > tr:first-child {
    background: #0052a5;
    color: #fff;
    padding: .5rem .5rem;
    text-align: center;
    font-weight: bold;
    border: calc(var(--bs-border-width) * 1.5) solid #0052a5;
    border-bottom: calc(var(--bs-border-width) * 1.5) solid #0052a5;
}
.table-responsive tr:nth-child(2n+1) > td {
    border: 1px solid #c6c7c8;
}

.active > .page-link, .page-link.active {
    z-index: 3;
    color: #fff;
    background-color: #0052a5;
    border-color: #0052a5;
}
