.newsbox-container {
    width: 100%;
    position: relative;
    float: left;
    background-color: #343539;
    margin-top: 20px;
    display: flex;
}

.newsbox-container .slide-shaper {
    display: none;
}

.newsbox-container .zajawka {
    top: 0;
    width: 100%;
    display: block;
    float: left;
    position: absolute;
    opacity: 0;
    margin: 0px !important;
}

.newsbox-container .zajawka:nth-child(1) {
    position: relative;
}

.newsbox-container .zajawka a {
    display: block;
    border: none;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.newsbox-container .zajawka.in-row .box-left,
.newsbox-container .zajawka.in-row .box-right {
    display: inline-block;
}

.newsbox-container > div:first-child {
    width: 75%!important;
    max-width: 883px!important;
}

.newsbox-container .zajawka.active {
    z-index: 10;
    animation: .3s fadeIn 1 forwards;
    -webkit-animation: .3s fadeIn 1 forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1
    }
}

.newsbox-container .zajawka:not(.active) {
    animation: .3s fadeOut 1 forwards;
    -webkit-animation: .3s fadeOut 1 forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.newsbox-container .slide-shaper {
    position: relative;
    float: left;
    display: block;
    width: 100%;
}

.newsbox-container .nb-shaper-image {
    width: 100%;
    padding-bottom: 43.5%;
    display: block;
}

.newsbox-container .nb-shaper-text {
    width: 100%;
    padding-bottom: 20%;
    display: block;
}

.timer {
    display: block;
    width: 100%;
    height: 5px;
    background: #ccc;
    position: relative;
    float: left;
    margin-bottom: 10px;
    margin-top: 5px;
}

.newsbox-container .pager-con {
    display: block;
    z-index: 10;
    flex-grow: 1;
    position: relative;
}

.newsbox-container .pager {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    border-left: 1px solid #fff;
    background: #fff;
}

.newsbox-container .pager-button {
    width: 100%;
    margin: 0;
    height: 0px;
    padding-bottom: calc(50% + 2px);
    display: block;
    float: left;
    color: #fff;
    background: white;
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    transform: translate3d(0px, 0px, 1px);
    transition: none;
}

.newsbox-container .pager-button.animated {
    transition: transform .3s;
}

.newsbox-container .pager-button::after {
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 20;
    transform: translate3d(0, 0, 1px);
}

.newsbox-container .pager-button.active {
    background: #3b63ac;
    cursor: auto;
    overflow: hidden;
}

.newsbox-container .pager-button.active::before {
    content: '';
    width: 5px;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    display: none;
    position: absolute;
}

.newsbox-container .pager-button .box-left {
    width: 100%!important;
}

.newsbox-container .pager-button .box-left img {
    width: 100%;
    transform: scale3d(1, 1, 1);
    transition: transform .3s;
}

.newsbox-container .pager-button:hover .box-left img {
    transform: scale3d(1.1, 1.1, 1);
}

.newsbox-container .pager-button .box-right {
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    transform: scale3d(1, 1, 1);
}

.newsbox-container .pager-button .box-right::before {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    right: 0;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.newsbox-container .pager-button .box-right .tresc {
    display: none;
}

.newsbox-container .pager-button:hover,
.newsbox-container .pager-button:focus {
    background: #3b63ac;
}

.nav-arrows {
    display: block;
    position: absolute;
    bottom: 10px;
    z-index: 10;
    width: 75%;
    max-width: 883px;
    left: 0;
    top: 50%;
    height: 0;
    margin-top: -40px;
    opacity: 0;
    transition: opacity .3s;
}

.newsbox-container:hover .nav-arrows {
    opacity: 1;
}

.nav-arrow {
    height: 80px;
    width: 40px;
    display: inline-block;
    color: #000;
    cursor: pointer;
    font-size: 0;
}

.nav-arrow.prev {
    background: rgba(0, 0, 0, 0.6) url('../../images/portal/arrow-prev-white.png') no-repeat center center;
    float: left;
    transition: background .3s;
}

.nav-arrow.next {
    background: rgba(0, 0, 0, 0.6) url('../../images/portal/arrow-next-white.png') no-repeat center center;
    float: right;
    transition: background .3s;
}

.nav-arrow.prev:hover {
    background: rgba(0, 0, 0, 1) url('../../images/portal/arrow-prev-white.png') no-repeat center center;
}

.nav-arrow.next:hover {
    background: rgba(0, 0, 0, 1) url('../../images/portal/arrow-next-white.png') no-repeat center center;
}

.newsbox-container .box-left {
    display: block;
    float: right;
    width: 100%;
}

.newsbox-container .zajawka.in-column > a > .box-right,
.newsbox-container .zajawka .box-right {
    padding-left: 20px;
    box-sizing: border-box;
    display: block;
    float: left;
    clear: none;
    width: 100%!important;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.newsbox-container .akt_kat {
    padding: 3px 10px;
    margin: 0 0 10px;
    width: auto !important;
    float: left;
    border-radius: 5px;
    color: #fff;
    background: #e31e25;
    text-transform: uppercase;
    position: relative;
}
.newsbox-container > .zajawka .akt_kat {
	margin-left:9px;
}

.newsbox-container .title {
    float: left;
    clear: both;
    font-size: 18px;
    text-shadow: 1px 1px 1px #000;
    position: relative;
}

.newsbox-container .nb-title {
    font-weight: bold;
    margin-bottom: 1em;
}

.newsbox-container .nb-excerpt {
    margin-bottom: 1em;
}

.newsbox-container .zajawka {
    width: 75% !important;
    height: 0;
    padding-bottom: 40%;
    max-width: 883px;
    left: 0;
    border: none;
    padding: 0px;
    height: 467px;
    overflow: hidden;
}

.newsbox-container .zajawka .box-left img {
    max-width: 100%;
    max-height: 100%;
}

.nb-read-more {}

/*.newsbox-container .zajawka .box-right::before {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    right: 0;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}*/

.newsbox-container .zajawka .box-right {
    padding: 30px 50px 40px 50px !important;
	padding: 30px 40px 30px 35px !important;
    color: #000;
    clear: none;
    margin-top: 0px;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.65) 100%);
}

.newsbox-container .zajawka .link {
    display: none;
}

.newsbox-container .zajawka > a > .box-left {
    text-align: left;
    margin-bottom: 0px;
    text-align: center;
}

.newsbox-container .box-right .info {
    display: none;
}

.newsbox-container .zajawka .box-right .tresc {
    color: white;
    padding-top: 20px;
    line-height: 150%;
    display: block;
    font-family: PT Sans;
    font-size: 107%;
    padding: 10px 0px 0px 0px;
    float: left;
    position: relative;
	margin:5px 9px 9px;
}

.newsbox-container .zajawka .box-right .title {
    font-weight: normal;
    display: inline-block;
    text-align: initial;
    font-size: 110%;
    font-family: Lato;
    font-size: 340%;
    color: white;
    margin: 0px;
    text-transform: none;
    background: none;
    padding: 7px;
	line-height:1em;
	
	transition:all .2s;
}

.newsbox-container .zajawka .box-right .title:hover {
    padding: 7px;
    background-color: rgba(0, 0, 0, 0.45);
}

.newsbox-container .zajawka .box-right .info_kalendarz {
    font-weight: normal;
    display: inline-block;
    text-align: initial;
    font-family: Lato;
    font-size: 150%;
    color: white;
    margin: 0px;
    text-transform: none;
    background: none;
    padding-left: 0px;
    text-shadow: 1px 1px 1px #000;
    position: relative;
    padding: 9px 15px 15px 0px;
}

.newsbox-container .pager .info_kalendarz {
    display: none;
}

.newsbox-container .grid_cover {
    z-index: 1;
    position: absolute !important;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url(../../images/portal/siatka.png);
    display: block;
}

.newsbox-container .kategory_kalednarz {
    margin: 0px 15px 15px 0px;
    position: relative;
}

.newsbox-container .newsbox-outline {
    position: absolute;
    z-index: 10;
    display: none;
}

.newsbox-container .nbo-top {
    width: 100%;
    height: 2px;
    background: red;
    top: 0;
}

.newsbox-container .nbo-bottom {
    width: 100%;
    height: 2px;
    background: red;
    bottom: 0;
}

.nbo-right {
    width: 2px;
    background: red;
    top: 0;
    bottom: 0;
    right: 0;
}

.newsbox-container .nbo-left {
    width: 2px;
    background: red;
    top: 0;
    bottom: 0;
    left: 0;
}

.newsbox-container a:focus+div.newsbox-outline,
.newsbox-container a:focus+div.newsbox-outline+div.newsbox-outline,
.newsbox-container a:focus+div.newsbox-outline+div.newsbox-outline+div.newsbox-outline,
.newsbox-container a:focus+div.newsbox-outline+div.newsbox-outline+div.newsbox-outline+div.newsbox-outline {
    display: block;
}