#main-footer {
    background: #333333;
    color: white;
    padding: 20px 0;
    box-shadow: 0px -3px 5px black;
    position: relative;
    z-index: 3;
}

#main-footer .entry-title{
    font-size: 25px;
    margin-bottom: 40px;
}

#main-footer .list-partenaire{
    margin: 20px 0;
    padding: 0;
    list-style-type: none;
}

#main-footer .list-partenaire .item-partenaire .entry-thumbnail{
    background-color: white;
    min-height: 150px;
    height: 150px;
    overflow: hidden;
    line-height: 150px;
    margin-bottom: 10px;
    padding: 10px;
}

#main-footer .list-partenaire .item-partenaire .entry-thumbnail img{
    max-width: 100%;
    max-height: 100%;
}

#main-footer .list-partenaire .item-partenaire .entry-description{
    text-align: center;
}

#main-footer .list-partenaire .item-partenaire .entry-description a{
    color: white;
    font-size: 17px;
}

#main-footer .list-partenaire .item-partenaire .entry-description a:hover{
    color: #1ea6fb;
}

#footer {
    background: #222222;
    font-size: 12px;
    padding-top: 20px;
    padding-bottom: 10px;
    box-shadow: 3px -3px 5px black;
}

#footer .text{
    color: white;
    font-size: 14px;
    font-weight: normal;
}

#footer .text a{
    color: #1ea6fb;
    font-size: 14px;
    font-weight: normal;
}

#footer .text a:hover{
}

@media screen and (max-width: 992px) {
    #main-footer .element:nth-child(1), #main-footer .element:nth-child(2){
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 500px) {
    #main-footer .element{
        display: block;
        float: none;
        margin: 0px auto 80px auto;
    }
    
    #main-footer .element:nth-child(4){
        margin-bottom: 20px;
    }
}