/* Nagłówek    */
#basic_header{
    padding-top: 20px;
}
/*#news_header{*/
/*    padding-bottom: 48px;*/
/*}*/

/*#news_header > .container{*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/

/*#news_header  button{*/
/*    margin-left: 16px;*/
/*    margin-top: 20px;*/
/*}*/

/*#news_header  h1{*/
/*    padding-left: 90px;*/
/*}*/
/*end     -   Nagłówek   -   end*/

/*---------------------------------*/
#success_container .block{
    margin-top: 100px !important;
}

#success_container .block > h1{
    font-size: 34px;
    line-height: 50px;
}

#success_container .block > div{
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

#success_container .block > div > a{
    margin-left: 20px;
    margin-left: 20px;
}

@media only screen and (min-width: 0px) and (max-width: 700px){
    #success_container .block > div{
        flex-direction: column;
    }
    #success_container .block > div > a{
        margin: 0 auto;
        margin-bottom: 20px;
    }
    #success_container .block > div > a > button {
        width: 250px;
    }
}

/*---------------------------------*/

/* Blok z newsami   */
#news_content{
    margin-top: 45px;
    margin-bottom: 80px;
}

#news_content > .container{
    display: flex;
    flex-wrap: wrap
}

#news_content .single-news {
    overflow: hidden;
    height: 495px;
    margin-bottom: 34px;
}

#news_content .single-news{
    padding: 0px 16px;
}

#news_content .single-news .news_content {
    position: relative;
    height: 100%;
}

#news_content .single-news .news-image {
    height: 495px;
    overflow: hidden;
}

#news_content .single-news .news-image img{
    width: 100%;
    height: 100%;
    transition: 0.3s ease;
    object-fit: cover;
}

#news_content .single-news:hover .news-image > img {
    transform: scale(1.1);
}

.news-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    min-height: 180px;
    padding: 32px 52px;
    background-color: rgba(54, 87, 164, 0.7);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.news-content h4, .news-content span {
    display: block;
}

.news-content h4, .news-content span, .news-content a {
    color: var(--color-white);
    position: relative;
    font-size: 13px;
    font-weight: 300;
}

.news-content a > img {
    position: absolute;
    right: -20px;
    top: 5px
}

.news-content h4 {
    font-size: 22px;
    font-weight: bold;
}

.news-content span{
    font-size: 14px;
}

.news-content a {
    font-size: 16px;
    font-weight: bold;
}

.news-content span {
    font-family: 'Mulish';
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 1px;
    margin-top: 16px;
    margin-bottom: 32px;
    max-width: 272px;
}
/*  end     -   Blok z newsami   -   end  */

/* Strony   */
#news_pages{
    margin-bottom: 90px;
}

#news_pages > .container{
    text-align: center;
}

.pagination>li:first-child>a, .pagination>li:first-child>span{
    background: transparent !important;
}

.pagination li > a{
    background: transparent !important;
}

.pagination>li:last-child>a, .pagination>li:last-child>span{
    background: transparent !important;
}
/*  end     -   Strony   -   end  */

/* MOBILE */
@media screen and (min-width: 0px) and (max-width: 500px) {
    #basic_header h1 {
        margin: 0 auto;
        font-size: 28px;
    }
}