#footer{
    padding-top: 0px;
    padding-bottom: 0px;
    background: #fff;
    color: #545874;
    border-top: 1px solid #eaecf4;
}

#footer .contentBody > div{
    float: left;
    margin-right: 80px;
}

/* nagłówki kolumn to h2 (wcześniej div): pogrubione 700, bez marginesu przeglądarki, układ jak dawny div (display: table) */
#footer .contentBody > div .footerTitle{
    display: table;
    position: relative;
    margin-top: 0;
    color: #6556e7;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: inherit;
    margin-bottom: 20px
}

#footer .contentBody > div .footerTitle2{
    display: inline-block;
    margin-top: 20px;
}

#footer .contentBody > div .footerContact{
    text-align: right;
}

#footer .contentBody > div .footerContact a{
    color: #545874;
    text-decoration: none;
}

#footer .contentBody > div div,
#footer .contentBody > div > a{
    margin-bottom: 10px;
    /*width: 100%;*/
    position: relative;
    color: #545874;
    text-decoration: none;
    display: table;
}

#footer .contentBody > div div:not(.footerTitle),
#footer .contentBody > div a:not(.footerTitle),
#footer .contentBody > div i,
#footer .contentBody > div .footerContact a{
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#footer .contentBody > div div:not(.footerTitle):hover,
#footer .contentBody > div a:not(.footerTitle):hover,
#footer .contentBody > div i:hover,
#footer .contentBody > div .footerContact a:hover{
    color: #6556e7;
}

#footer i.social-icon{
    float: right;
    font-size: 25px;
    color: #38529a;
}

#footer i.linkedin-icon{
    color: #0a66c2; 
    margin-left: 10px;
}

#footer .contentBody > div:last-child{
    margin-right: 0px;
    float: right;
}

.cookies{
    float: left;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.cookies > div{
    border: 1px solid #6556e7;
    color: #6556e7;
    background: rgba(101, 86, 231, 0.3);
    display: table;
    padding: 20px;
    border-radius: 5px;
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
}

.cookies > div table{
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%;
}

.cookies table tr td:first-of-type i{
    font-size: 40px;
    margin-right: 10px;
}

.cookies table tr td:nth-of-type(2){
    line-height: 20px;
}

.cookies table tr td:nth-of-type(2) button{
    margin-top: 20px;
    float: right;
    display: none;
}

.cookies table tr td:nth-of-type(3) button{
    margin-left: 20px;
}

.mobileSpaceFooter{
    display: none;
    margin-bottom: 0px !important;
}

.celeriseBox{
    float: left;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    color: #fff;
    background: #000;
    margin-top: 20px;
    background-image: radial-gradient(#2e2e2e, #010101) !important
}

.celeriseBox > div{
    width: 1350px;
    margin: 0 auto;
    text-align: center;
    line-height: 25px;
}

.celeriseBox > div span{
    opacity: 0.5;
    display: block;
}

.celeriseBox > div span:nth-last-of-type(2), .celeriseBox > div span:last-of-type{
    margin-top: 10px;
    display: inline-block;
}

.celeriseBox > div span:nth-last-of-type(3){
    margin-top: 10px;
}

.celeriseBox > div span:last-of-type{
    display: inline-block;
    margin-left: 5px;
    margin-top: 0px;
}

.celeriseBox img{
    height: 15px;
    position: relative;
    top: 3px;
    cursor: pointer;
}

.celeriseBox a{
    display: table;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
}

.celeriseBox a:hover{
    opacity: 0.5;
}

.footerSpace{
    width: 100%;
    background: #eaecf4;
    height: 1px;
    max-width: 150px;
}

/* ---------- reguły przeniesione ze styles.css i mobile.css (ładowane po tym pliku, dlatego na końcu) ---------- */

.contentBody {
    line-height: 25px;
    margin-top: 30px;
}

/* jak treść stron: do 1400 px szerokość 1200 px */
@media (max-width: 1400px) {
    .contentBox:not(.certificatePanelBox) .fullContent,
    .footerImage {
        width: 1200px !important;
    }

    .celeriseBox > div {
        width: 1200px !important;
    }

}

/* jak treść stron: do 1240 px szerokość 1000 px */
@media (max-width: 1240px) {
    .contentBox:not(.certificatePanelBox)  .fullContent,
    .footerImage {
        width: 1000px !important;
    }

    .celeriseBox > div {
        width: 1000px !important;
    }

}

@media (max-width: 1130px) {
    .contentBody {
        padding: 20px !important;
        margin-top: 0px !important;
    }

    #footer {
        background: #fff !important;
        margin-top: 0px !important;
        padding-top: 0px !important;
        margin-top: 0px !important;
    }

    #footer .contentBody > div {
        width: 50% !important;
        margin-right: 0px !important;
    }

    #footer .contentBody > div .footerContact {
        text-align: left !important;
    }

    #footer .contentBody > div:nth-child(3) {
        clear: left !important;
    }

    #footer .fullContent {
        float: left;
        width: 100%;
    }

    .celeriseBox > div {
        width: -moz-calc(100% - 40px) !important;
        width: -webkit-calc(100% - 40px) !important;
        width: -o-calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
    }

}

/* przełącznik języka w stopce: nazwy obok siebie z odstępem, zawijane w obrębie kolumny
   (reguła wyżej daje każdemu div w kolumnie display: table, przez co odstępy nie działały, a lista rozpychała kolumnę) */
#footer .contentBody > div .footerLangs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    max-width: 100%;
}

#footer .contentBody > div .footerLangs a {
    color: #545874;
    text-decoration: none;
}

#footer .contentBody > div .footerLangs a:hover {
    color: #6556e7;
}

#footer .contentBody > div .footerLangs a.h24-lang__active {
    color: #6556e7;
    font-weight: 700;
}

/* długie słowa w linkach stopki (np. niemieckie złożenia) łamią się zamiast rozpychać kolumnę na telefonie */
#footer .contentBody > div > a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* nagłówek Język: pod linkami kontaktowymi jest margines 10 px i luz wiersza, więc nad nagłówkiem o 4,5 px mniej,
   żeby widoczne odstępy nad Skontaktuj się i Język były równe */
#footer .footerContact + .footerTitle2 {
    margin-top: 15.5px !important;
}
