.slider {
    height: 50vh;
}
p {
    padding-bottom: 10px;
}
.big-boxes{
    padding-top: 0;
    margin-top: -20px;
    z-index: 50;
    padding-bottom: 100px;
    overflow: visible;
}
.gallery img{
    max-width: 100%;

}
.gallery {
    border-collapse: collapse;
    border: 0;
}
.gallery td {
    border: 0;
    padding: 5px;
}
.big-box {
    flex: 1 25%;
    height: 420px;
    margin-top: -20px;
    z-index: 50;
    padding-top: 0;
}
.big-box a {
    padding-top:20px;
    background: #d40d19;
}
.big-box p {
    display: none;
}
.big-box a::after {
    display: none;
}
.big-box a::before, .big-box a:hover::before, .big-box a:focus::before{
    height: 140px;
}
.big-box a:hover strong {
    bottom: 20px;
}
.big-box strong {
    text-align: center;
    bottom: 40px;
    padding: 0;
    font-size: 1.4em;
}
.big-box strong span{
    display: block;
    font-size: 0.75em;
}
.content {
    padding-top: 20px;
    padding-bottom:40px;
    display: flex;
    flex-direction: row-reverse;
    font-family: "Roboto","sans-serif";
}
article {
    color: #555555;
    flex: 1 75%;
    padding: 30px;
}
aside {
    flex: 1 25%;
    padding: 30px;
    border-right: 1px solid rgba(0,0,0,0.2);
}
h1 {
    font-size: 42px;
    color: #d40d19;
    padding-bottom: 20px;
    font-family: "Oswald"!important;
}
h2 {
    font-size: 36px;
    color: #d40d19;
    font-weight: 600;
    padding-bottom: 15px;
    font-family: "Roboto"!important;
}
h3, h3 a {
    font-size: 30px;
    color: #d40d19;
    padding-bottom: 10px;
    font-family: "Oswald"!important;
}
h4 {
    font-size: 25px;
    color: #d40d19;
    font-weight: 300;
    font-family: "Roboto"!important;
    padding-bottom: 8px;
}
h5 {
    font-size: 20px;
    color: #d40d19;
    padding-bottom: 6px;
    font-family: "Oswald"!important;
}
h6 {
    font-size: 16px;
    color: #d40d19;
    font-weight: 100;
    font-family: "Roboto"!important;
    padding-bottom: 5px;
}
p + h1, p+h2, p+h3, p+h4, p+h5, p+h6 {
    padding-top: 20px;
}
/*
.content p :not(.skk_filters label, .skk_filters p select option,.skk_filters p select) {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Roboto',Verdana, sans-serif;
}*/
.content p iframe {
    max-width: 100%;
}
.content li p {
    padding-top: 0px;
    padding-bottom: 0px;
}
.content ul, .content ol {
    font-family: 'Roboto',Verdana, sans-serif;
    list-style: none;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
}
.content ol {
    margin-left: 30px;
    list-style: radial-gradient;
}
.content ol ol {
    /* counter-reset: item2; */
}
.content li ul, .content li  ol {
    padding-top: 0px;
    padding-bottom: 0px;
}
.content ul li, .content ol li  {
    position: relative;
    padding-left: 50px;
}
.content ol li {
    padding-left: 12px;
}
.content ul > li:before {
    content: "■";
    color: #d40d19;
    position: absolute;
    left: 20px;
}
.content ol > li::marker {
    /* content: counter(item) ". ";
    counter-increment: item; */
    color: #d40d19;
    /* position: absolute;
    left: 20px; */
}

.content ol ol > li:before {
    /* content: counter(item) counter(item2, lower-alpha) ". "; */
    counter-increment: item2;
    color: #d40d19;
    position: absolute;
    left: 20px;
}



.content ul ul > li:before {
    content: "□";
}
.content article a {
    font-family: 'Roboto',Verdana, sans-serif;
    color: #d40d19;
    font-weight: bold;
}
.content article .button{
    color: #fff;
    padding: 15px 20px;
    background: #d40d19;
    display: inline-block;
    text-decoration: none;
    font-family: 'Oswald','sans-serif';
    text-transform: uppercase;
    transition: all 0.2s linear;
    margin: 1px;
    border: none;
}
.content article input :not(.skk_filters_btn_search) {
    padding: 15px 20px;
    font-family: 'Oswald','sans-serif';
}
.content article .button--inline{
    width: 50%;
    display: inline-block;
}
.text-center {
    text-align: center;
}
.child{
    font-size: 1.5em;
    display: block;
    padding-bottom: 10px;
}
.content .button:hover{
    color: #d40d19;
    background: #fff;
    outline: 1px solid #d40d19;
}
.aktualnosci,.dark,.light {
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 20px;
    color: #767676;

}

.aktualnosci__link, .light__link, .dark__link{
    display: block;
    width: 100%;
    text-decoration: underline;
    font-size: 24px;
    padding-top:50px;
    padding-bottom: 15px;
    padding-left: 25px;
 
}
.aktualnosci__link, .light__link {
border-bottom: 1px solid #d40d19;
  background: #d40d19;
  color: #fff;
   
}
.aktualnosci__link:after,.light__link:after,.dark__link:after {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 16px;
    padding: 12px 16px;
    transition: all 0.2s linear;
    color: #fff;
}
.aktualnosci__link:after{
    content: "zobacz wszystkie >";
    background: #d40d19;
}
.light__link:after {
    content: "zobacz więcej >"; 
    background: #d40d19;
}
.dark__link:after {
    content: "zobacz więcej >";    
    background: #767676;

}
.aktualnosci__link:hover:after,.light__link:hover:after  {
    background: #fff;
    color: #d40d19;
    outline: 1px solid #d40d19;
}
.dark__link {
    border-top: 1px solid #767676;
    border-bottom: 1px solid #767676;
    background: #eee;
    color: #636363;
}
.dark__link:hover:after {
    background: #fff;
    color: #636363;
    outline: 1px solid #636363;
}
aside li {
    border-top: 1px solid #767676;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
}
aside li:first-child {
    border-top: 0;
}
aside li a {
    color: #636363;
}
.aktualnosci ul li:before {
    content: "";
}
.aktualnosci ul li {
    padding-left: 5px;
    border-bottom: 0;
}
aside p{
    line-height: 1.7;
    font-family: 'Roboto',Verdana, sans-serif;
}
.data{
    display: block;
    color: #d40d19;
    vertical-align: middle;
    font-size: 14px;
    line-height: 30px;
    padding-bottom: 10px;
}
.data em {
    color: #fff;
    background: #d40d19;
    height: 30px;
    display: inline-block;
    width: 30px;
    font-size: 14px;
    vertical-align: middle;
    margin-right: 10px;
    font-style: normal;
    text-align: center;
}
.aktualnosci li a {
    color: #d40d19;
    text-decoration: underline;
    font-weight: 700;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.aktualnosci p {
    font-size: 14px;
    color: #555555;
}
.aktualnosci li{
    border-top: 0;
}
.news__single {
    padding-left: 0;
}
.news__single:after{
    width: 90%;
    background: #ccc;
    height: 1px;
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}
article .news__single img {
    width: 160px;
    min-width: 160px;
    height: 160px;
    max-height: 160px;
	object-fit: cover;
}
.news .see-more::before{
    left: 20px;
    right: auto;
}
.news .see-more::after{
    left: 60px;
    right: auto;
}
.files{
    font-size: 20px;
    padding-top: 30px;
    color: #d40d19;
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
}
.files li:before {
    display: none;
}
.file {
    font-weight: 100!important;
    font-family: 'Oswald','sans-serif'!important;
    display: flex;
    margin-bottom: 8px;
    padding-bottom: 5px;
    padding-left: 0!important;
    flex-wrap: wrap;
    flex: 0 50%;
    position: relative;
}
.file::after {
    position: absolute;
    height: 1px;
    width: 50%;
    bottom: 0;
    left: 0;
    content: "";
    background: #ccc;
}
.file__mime {
    position: absolute;
    left: 10px;
    font-size: 22px;
    top: 60px;
    color: #fff;
}
.file__links {
    flex: 1 100%;
}
.file__links a {
  text-decoration: underline;
  padding: 3px;
  font-size: 14px;
}
.file__links a:focus-visible {
    outline: 3px solid #d40d19;
    outline-offset: 2px;
    border-radius: 2px;
}
.file__links i {
    padding: 2px;
    vertical-align: middle;
}
.file__description {
    display: block;
    color: #000;
    font-size: 16px;
}
.file__text {
    display: inline-block;
    padding: 0px 10px;
    flex: 0 85%;
}
.file__image {
    width: 77px;
    height: 100px;
    display: block;
    content: "";
    background-size: cover;
    background-position: center;
}
.file__name {
    display: block;
    font-size: 20px;
}
.file i {
    font-size: 25px;
}
strong {
    color: #d40d19;
}
b {
    font-weight: 700;
}
thick {
    font-weight: 100;
}
#fullScreen {
    height: 100vh;
}
.job-offers {
    display: flex;
    flex-wrap: wrap;
}
.job-offer {
    flex: 0 33%;
    padding: 5px 10px;
    padding-left: 0;
}
.job-offer i {
    font-size: 37px;
    text-decoration: inherit;
    color: rgb(255, 200, 200);
}
.job-offer p {
    padding-top: 3px;
    padding-bottom: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border: 2px solid #d40d19;
    height: 100%;
    text-align: center;
    padding: 10px 10px;
    transition: all .1s linear;
}
.job-offer i.fa-map-marker,.job-offer span{
    font-size: 14px;
    color: #ccc;
    padding-top: 2px;
}
.job-offer span{
    font-size: 13px;
}
.job-offer a{
    font-family: "Oswald", sans-serif!important;
    font-size: 16px!important;
    font-weight: bold!important;
    transition: all .1s linear;
    padding-top: 5px;
    
}
.job-offer:hover a, .job-gz a {
    color: #fff!important;
}
.job-offer:hover p, .job-gz p {
    background: #d40d19;
}
.job-offers.covers .job-offer {
    display: flex;
    flex-direction: column;
}
.job-offers.covers .job-offer a {
    align-self: flex-end;
    margin-top: auto;
}
ul.images li:before {
    content: "";
}
ul.images li {
    padding-left: 0;
    display: inline-block;
    width: 33%;
}
ul.pagination {
    text-align: center;
}
.content ul.pagination li:before{
    content : "";
}
ul.pagination li {
    display: inline-block;
    padding: 5px;
    border: 1px solid #d40d19;
    height: 40px;
    width: 40px;
    padding: 8px;
    text-align: center;
}
ul.pagination li.active {
    color: #fff;
    background: #d40d19;
    font-weight: bold;
}
table {
    border-collapse: collapse;
}
.projects {
    width: 100%;
}
.projects, .projects td, .references, .references td, .gala-table, .gala-table td {
    border: 0;
}
.projects tr, .gala-table tr {
    border-bottom: 1px solid #ccc;
}
.references tr td:first-child img{
    width: 120px;
    text-align: center;
}
.gala-table td {
    padding: 10px;
}
.gala-table tr td:first-child {
    width: 100px;
    padding: 0;
    background: #ccc;
}
.jobs form {
    width: 100%;
    max-width: 500px;
}
.form-input{
    width: 50%;
    display: inline-block;
    float: left;
    padding: 2px;
}

.form-input--full {
    width: 100%;
}
.jobs .form-input select, .jobs .form-input input, .jobs .form-input textarea {
    padding: 5px;
    border: 1px solid #d40d19; 
    width: 100%;
    font-family: 'Roboto','sans-serif';
}
.form-input input[type=file]{
    border: none;
}
.jobs-files {
    border: 1px solid #d40d19; 
    display: none;    
    font-size: 14px;
    font-family: Roboto;
}
/*
.projects tr td:first-child:before {
    height: 10px;
    content: "";
    width: 10px;
    background: #d40d19;
    position: absolute;
    top: 50%;
    left: -30px;
}*/
.projects tr td:nth-child(2) img{
 max-height: 75px;   
 max-width: unset;
}
.projects p {
    padding: 10px;
    font-size: 18px;
}
.references ul{
    padding: 10px;
}
.references ul li {
    padding: 5px;
    padding-left: 55px;
}
.references ul li:before {
    content: "\e7c9";
    font-family: "hawcons";
    font-size: 25px;
    left: 20px;
    top: 0px;
}
.references tbody {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.references tr {
    flex: 0 24%;
    display: flex;
    flex-wrap: wrap;
    margin: 0.5%;
    border: 1px solid #ccc;
}
.references tr td:first-child {
    align-self: center;
    text-align: center;
}
.references tr td:nth-child(2){

    align-self: flex-end;
}
.references td {
    flex: 1 100%;
}
.tabela {
    border-collapse: collapse; 
    border: 1px solid rgb(128,128,128);
}
.tabela td{
    padding: 5px 10px;
}

@media(max-width: 620px){
    .reference{ flex: 1 50%;}
 
}


@media (max-width:1400px){
    body > * {
        padding: 0 4em;
    }
    aside {
        flex: 1 30%;
    }
    .news__single {
        flex: 0 100%;
    }
    .file {
        flex: 0 100%;
    }
}
@media (max-width:1100px){
    body > * {
        padding: 0 2em;
    }
    .content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    aside {
        border-right: 0;
        display: flex;
        flex-wrap: wrap;
    }
    aside > div {
        flex: 1 50%;
        padding: 5px;
    }
    .big-box {
        flex: 1 50%;
    }
    article {
        padding: 0px;
    }
}
@media (max-width:800px){
    body > * {
        padding: 0 0.9em;
    }
    aside > div {
        flex: 1 100%;
        padding: 0px;
    }
    .big-box {
        flex: 1 100%;
    }
    .job-offer {
        flex: 0 100%;
    }
}
@media (max-width:576px){
    .news__single {
        padding-bottom: 60px;
    }
    .news .see-more::before, .news .see-more::after{
        bottom: 20px;   
    }
    .single__content {
        padding-left: 0px!important;
    }
    .gallery tr {
        display: flex;
        flex-wrap: wrap;
    }

}
@media (max-width:400px){
    h1 {
        font-size: 26px;
    }
    h2{
        font-size: 22px;
        
    }
    h3{
        font-size: 20px;
        
    }
    h4{
        font-size: 18px;
        
    }

}

.skk_offers_tb th{
    font-size: 16px!important;
    text-transform: uppercase!important;
    background-color: #d40d19!important;
    color: white!important;
}
.skk_offers_tb th{
    padding-top: 10px!important;
    padding-bottom: 10px!important;
}
.skk_filters label, .skk_filters p select option {
    text-transform: uppercase!important;
}
.skk_filters_btn_search {
    padding: 0px!important;
}
.skk_filters label {
    font-family: 'Oswald', sans-serif!important;
}
.skk_filters p {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

/* --------------------------------------------------------
   YouTube – zamiana iframe na miniaturkę (WCAG 2.1.2, 1.4.2)
   -------------------------------------------------------- */
.yt-preview {
    display: block;
    position: relative;
    max-width: 640px;

    overflow: hidden;
    border-radius: 4px;
    background: #000;
    text-decoration: none;
}
.yt-preview img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.2s;
}
.yt-preview:hover img,
.yt-preview:focus img {
    opacity: 0.75;
}
.yt-preview__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #ff0000;
    border-radius: 12px;
    pointer-events: none;
    transition: background 0.2s;
}
.yt-preview:hover .yt-preview__play,
.yt-preview:focus .yt-preview__play {
    background: #cc0000;
}
.yt-preview__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.yt-preview__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.85em;
    text-align: center;
}

#main-content {
      padding: 0 9em !important;
}

@media screen and (max-width:1023px) {
    #main-content  {
        padding: 16px !important;
}

}