body{background-image: none;background-color: #fff;}
body main * {line-height: 1.4;}
body header .menu-box {max-width: calc(94% - 20px)!important;margin-top: 15px;}

.container-fluid{width: 100%!important;}
.container{width:94%;max-width: 94%;padding-right: 10px;padding-left: 10px;}
@media screen and (max-width: 899px) {
    .container{width:100%;max-width: 100%;}
}
.main.container-fluid, main.container-fluid{padding: 0!important;}
main #main-content:not(.box) {width: 100%;float: none;}
main #main-content{float: none!important;width: 100%!important;margin-top: 0!important;}
body.tablet-wide > .main > main > #main-content {float: none;width: 100%;margin-top: 0;}
body > header .logo .mainTitle .where {font-size: 3.5rem;}

/*menu*/
.menu-main {margin-bottom: 35px !important;}

/*artykuły na stronie głównej*/
#main-content .jpanes .jpanes-item{border: 1px solid #e2e2e2;padding: 16px;height: calc(100% - 23px);min-height: 280px;max-height: var(--content-frontpage-multicolumn-height);overflow: hidden;}
.jpanes-item-title{font-size: 1.8rem;margin-bottom: 20px;}
.multicolumn_more {text-align: right;margin-top: -1px;}
.more{margin-top: 0;position: relative;height: auto;padding: 5px 20px;border: 1px solid #e2e2e2;border-top: none;background: #fff;}
.jpanes-item a {text-decoration: underline;color: #c00000;}
.jpanes-item a:hover {text-decoration: none;}
#main-content .jpanes .jpanes-item p:not(:first-child) {margin-top: 10px;}

/*ważny komunikat*/
#main-content.index .important {-webkit-box-flex: 0;-ms-flex: 0 0 auto;flex: 0 0 auto;-webkit-box-ordinal-group: 1;-ms-flex-order: 0;order: 0;}
#main-content.index .important {background: #f6f6f6;border: none;padding: 35px 0;margin-top: 0;}
#main-content.index .important .important-title{font-size: 2.4rem;font-weight: bold;margin-bottom: 25px;text-align: center;}
#main-content.index .important .important-items {justify-content: center;}
#main-content.index .important .important-item * {margin-left: 2px !important;padding-left: 0 !important;}
#main-content.index .important .important-items .important-item{margin-top: 35px;}
#main-content.index .important > div strong + p {line-height: 1.4;}
#main-content.index .important .important-item .important-item-title {font-size: 2rem;color: #c00000;margin:2px;margin-bottom:15px;display: block;text-decoration: underline;}
#main-content.index .important .important-item .important-item-title:hover{text-decoration: none;}

/*taby*/
.box > .header .jtabs button {padding: 15px 40px;}
.box > .header .jtabs button:focus {padding: 13px 38px;}

.index .addon-bip:not(.addon-bip-result) > div > div:first-child::after {content: '';}
.index .addon-bip:not(.addon-bip-result) > div:not(.casestatuses_archive_open_container) {background: transparent !important;}
.index .list.general.jpanes .main-contents-tabs-column{margin-top: 50px;padding: 0 10px;}
.index .list.general.jpanes .main-contents-tabs-column article, 
.index .list.general.jpanes .main-contents-tabs-column div{width:100%;}
.main-contents-tabs-column article h3 a {color: #c00000;display:block;}
.addon-bip:not(.addon-bip-result) > div > div:first-child {text-align: left;font-weight: normal;}
.main .contents .list article > header time {margin-bottom: 10px;}
.none {margin: auto;}
.contents-more {border-top: 2px solid #c00000;text-align: right;margin-top:50px;}
.contents-more a {display: inline-block;padding: 5px 10px;border: 2px solid #c00000;border-top-width: 1px!important;font-weight: normal;font-size: 1.4rem;text-align: center;color: #c00000;background: #fff;}
.contents-more a::first-letter{text-transform: uppercase;}
.jpanes {justify-content: space-around;}


/*lista artykułów*/
.categories-contents-index{background: #f6f6f6;padding: 35px 0;width:100%;}
.categories-contents-index .box{background: #f6f6f6;}
.categories-contents-index .box > header {background:  #f6f6f6; -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
.categories-contents-index .categories-contents-index-header{border: none; text-align: center;}
.categories-contents-index .categories-contents-index-header h2{background: transparent!important;color:#444444!important;font-size: 2.4rem;font-weight: bold !important;margin-bottom: 25px;padding:0!important;}
.categories-contents-index .categories-contents-title a {color: #c00000;font-size: 2.2rem;padding-right: 20px;display: inline-block;text-decoration:underline;}
.categories-contents-index .categories-contents-title a:hover{text-decoration:none;}
.categories-contents-index .categories-contents-img {max-width: 65px;margin-right: 25px;}
.categories-contents-index .categories-contents-index-box{margin-top: 35px;}
.categories-contents-index .categories-contents-index-box header{-webkit-box-align: center;-ms-flex-align: center;align-items: center;}

/*banery*/
.index-elements .banner-sm, .index-elements .banner{height: 80px;}
.index-elements .banner.banner-sm a {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: horizontal;-webkit-box-direction: reverse;-ms-flex-direction: row-reverse;flex-direction: row-reverse;-webkit-box-pack: start;-ms-flex-pack: start;justify-content: start;-webkit-box-align: stretch;-ms-flex-align: stretch;align-items: stretch;text-align: center;-webkit-box-sizing: unset;box-sizing: unset;min-height: 80px;}
.index-elements .banner:not(.banner-sm) {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;border: 1px solid #c6c6c6;}
.index-elements .banner:not(.banner-sm) img{width: auto;max-height: 78px;}
.index-elements .banner.banner-sm a{border: none;}
.index-elements .banner-sm span:not(.tooltip) {font-size: 1.4rem;padding-left: 15px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-flex: 1;-ms-flex: 1 0 calc(100% - 95px);flex: 1 0 calc(100% - 95px);-webkit-box-align: center;-ms-flex-align: center;align-items: center;border: 1px solid #c6c6c6;border-left: none;text-align: left;}
.index-elements .banner:not(.banner-sm) span {border: none;}
.index-elements .banner-sm img {width: 52px;-webkit-box-flex: 0;-ms-flex: 0 0 52px;flex: 0 0 52px;background: #c00000;padding: 11px;}
.index-elements {margin: 35px auto;padding-left: 20px;}
.container.index-elements .row {justify-content: space-around;}
.container.index-elements nav {display: block;width: 100%;}
.container.index-elements nav ul{display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-ms-flex-wrap: wrap;flex-wrap: wrap;}

/*seealso*/
.seealso-box.index-elements{background: #f6f6f6;padding: 35px 0;margin-bottom: 0;}
.seealso-box.index-elements .box{background: #f6f6f6;padding: 0 1rem;}
.seealso-box.index-elements .box > header {background:  #f6f6f6;border-bottom:  1px solid #c6c6c6;}
.seealso-box.index-elements header{border: none; text-align: center;}
.seealso-box.index-elements header h2{background: transparent!important;color:#444444!important;font-size: 2.4rem;font-weight: bold !important;margin-bottom: 25px;padding: 0 !important;}
.seealso-box.index-elements .content {display: -webkit-box;display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap; padding-top: 35px;justify-content: space-around;}
.seealso-box.index-elements .content li {margin-bottom: 35px;padding-right: 20px;width: 100%;-webkit-box-flex: 0;-ms-flex: 0 0 100%;flex: 0 0 100%;}
.seealso-box.index-elements .content li a{font-size: 2.2rem; color: #c00000;display:-webkit-box;display:-ms-flexbox;display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center;font-weight: bold;text-decoration:underline;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;}
.seealso-box.index-elements .content li a:hover{text-decoration:none;}
.seealso-box.index-elements .content li a img{max-width: 65px;margin-right: 25px;flex: 0 0 65px;}

/*Footer*/
body > footer {margin-top: 0;}

/*RWD*/
@media (max-width: 575.9px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(50% - 2rem)!important;margin: 1rem;}
}
@media (max-width: 490.9px) {
    .index-elements .banner-sm, .index-elements .banner {width: 100%!important;margin: 1rem;}
    .seealso-box.index-elements .content li {width: 100%;-webkit-box-flex: 0;-ms-flex: 0 0 100%;flex: 0 0 100%;}
}
@media (min-width: 576px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(50% - 2rem)!important;margin: 1rem;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(2n-1){border-right:1px solid #e2e2e2;}
}
@media (min-width: 768px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(33.33% - 2rem)!important;margin: 1rem;}
    .seealso-box.index-elements .content li {width: 50%;-webkit-box-flex: 0;-ms-flex: 0 0 50%;flex: 0 0 50%;}
    .seealso-box.index-elements .content li a{-webkit-box-pack: start;-ms-flex-pack: start;justify-content: start;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(3n+3) {padding-left: 0 !important;}
}
@media (min-width: 992px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(33.33% - 2rem)!important;margin: 1rem;}
    .seealso-box.index-elements .content li {width: 33.33%;-webkit-box-flex: 0;-ms-flex: 0 0 33.33%;flex: 0 0 33.33%;}
    body > footer .boxes > div, 
    body.desktop > footer .boxes > div {width: auto; min-width: 25%;}
    .index .list.general.jpanes .main-contents-tabs-column article{margin-right: 20px;}
    .index .list.general.jpanes .main-contents-tabs-column{border-right:1px solid #e2e2e2;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(3n+3){border-right:none;padding-left: 10px !important;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(4n+4) {padding-left: 0 !important;}
}
@media (min-width: 1200px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(25% - 2rem)!important;margin: 1rem;}
    .seealso-box.index-elements .content li {width: 33%;-webkit-box-flex: 0;-ms-flex: 0 0 33%;flex: 0 0 33%;}
    body > footer .boxes > div, 
    body.desktop > footer .boxes > div {width: auto; min-width: 25%;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(3n+3){border-right:1px solid #e2e2e2;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(4n+4){border-right:none;padding-left: 10px !important;}
    .index .list.general.jpanes .main-contents-tabs-column:nth-child(5n+5) {padding-left: 0 !important;}
}
@media (min-width: 1536px) {
    .index-elements .banner-sm, .index-elements .banner {width: calc(25% - 2rem)!important;margin: 1rem;}
    .seealso-box.index-elements .content li {width: 25%;-webkit-box-flex: 0;-ms-flex: 0 0 25%;flex: 0 0 25%;}
}
@media (min-width:1366px) and (max-width:1600px) {
    body > header .breadcrumbs {width: 94%;max-width: 94%;}
    body header .menu-box {max-width: calc(94% - 20px);}
    .main.container-fluid {width: 94%;}
    body > footer .boxes {width: 94%!important; margin-left: 3%;}
  }