

/*
    layout
*/
footer {
    display: flex;
    flex-direction: column;
}

footer .it-footer-small-prints {
    order: 1;
}

footer .founded-containers {
    order: 2;
}

footer .contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0rem;
}

footer .instagram-link {
    margin-bottom: 1rem;
}

footer .instagram-link img{
    width: 30px;
    height: 30px;
}

.links-policy {
    display: flex;
    flex-direction: column;
}

.links-policy a {
    margin-top: 1rem;
}

@media (min-width:992px){ 
    footer .it-footer-small-prints {
        order: 2;
    }
    
    footer .founded-containers {
        order: 1;
    }

    footer .instagram-link {
        margin: 0 2rem 0 0;
    }

    footer .instagram-link img {
        margin: 0;
    }

    footer .it-footer-small-prints ul.it-footer-small-prints-list li.links-policy,
    footer ul > li.list-inline-item.links-policy {
        align-items: center;
    }

    .links-policy a{
        margin-left: 2rem;
        display: block;
    }

    footer .it-footer-small-prints .it-footer-small-prints-list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    footer .it-footer-small-prints .it-footer-small-prints-list .contacts,
    footer .it-footer-small-prints .it-footer-small-prints-list .list-inline-item {
        display: flex;
        flex-direction: row;
    }
}





/*
    fine layout
*/

footer .it-footer-small-prints ul.it-footer-small-prints-list li:last-child,
footer ul > li.list-inline-item {
    padding: 0;
}

.it-footer-small-prints {
    background-image: linear-gradient(65deg, #1b1e3c 59%, #4b331d 100%);
}

footer .it-footer-main {
    border-top:5px solid  #BB7537;
    background-color: #111433;
}

footer .it-footer-small-prints a:hover,
footer .it-footer-small-prints a:hover:not(.disabled),
footer .it-footer-main h4 a:hover,
footer a:hover {
    color: var(--accent-color);
    transition: 0.2s ease;
}

footer li a,
footer li{
    color: #fff ;
    font-size: 14px;
    text-align: center;
}

.it-footer-small-prints a.link-mail,
.it-footer-small-prints a:hover:not(.disabled).link-mail {
    color: var(--accent-color);
    transition: 0.2;
}

.it-footer-small-prints a.link-mail:hover,
.it-footer-small-prints a:hover:not(.disabled).link-mail:hover {
    opacity: 0.8;
}


@media (min-width:768px) {
    footer li a{
        display: block;
        white-space: nowrap;
    }
}

@media (min-width:1024px) {
    .it-footer-small-prints {
        background-image: linear-gradient(65deg, #13284B 58%, #BB7537 100%);
    }

    footer li a,
    footer li{
        text-align: left;
    }
}

 

/* MENU */
footer .it-footer-main {
    display: none;
}

footer .it-footer-main h4 a{
    text-align: center;
    font-size: 16px;
    padding-bottom: 6px;
}


/* FOOTER PATNERS */
footer .loghi-partners-header:before {
    content: "Funded by:";
    display: block;
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    margin-top: 1rem;
    font-size: 14px;
}

html[lang="it"] footer .loghi-partners-header:before {
    content: "Finanziato da:";
}


footer .founded-containers {
    padding: 1rem 1rem;
    background-color: #1B1E3C;
    border-top: 1px solid #ffffff21;
}

footer .founded-containers > li{
    list-style: none;
    margin: 2rem 2rem 1rem 2rem;
}


footer .loghi-partners-header a{
    padding: 0;
    margin: 0;
    padding: 1.5rem 0rem;
}

footer .loghi-partners-header a:hover {
    opacity: 0.8;
    transition: 0.2s ease;
}

footer .loghi-partners-header a img {
    width: 200px;
}


@media (min-width:992px) {
    footer .loghi-partners-header {
        position: relative;
    }

    footer .loghi-partners-header .container {
        display: flex;
        justify-content: center;
    }

    footer .loghi-partners-header:before {
        position: absolute;
        margin: 0;
        top: 25px;
    }

    footer .loghi-partners-header {
        justify-content: center;
        flex-direction: row;
        display: flex;
    }

    footer .founded-containers > li {
        list-style: none;
        margin: 1rem auto 2rem auto;
        max-width: 1296px;
    }

    footer .loghi-partners-header {
        padding: 4rem 0rem 1.5rem 0rem;
    }

    footer .loghi-partners-header a {
        padding: 1rem 2rem;
    }

    footer .loghi-partners-header a img {
        width: auto;
        height: 50px;
    }
}

/*social*/
.contacts {
    display: flex;
    padding: 0;
    justify-content: center;
    margin-bottom: 1rem;
}

.contacts img{
    width: 30px;
    transition: 0.2s ease;
}

.contacts img:hover {
    opacity: 0.8;
}



@media (min-width: 992px) {
    
    .it-footer-small-prints ul.it-footer-small-prints-list li:nth-child(2){
        align-items: flex-start;
    }

    .contacts img{
        margin-top: 5px;
    }

    footer .it-footer-small-prints ul.it-footer-small-prints-list li {
        padding: 0 2rem;
    }

}