/*
 * This file is part of the SourceSup project.
 * 2013 - 2019 / RENATER
 */
footer {
    display: table;
    /*position: absolute;*/
    right: 0;
    bottom: 0;
    left: 0;
    height:80px;
    min-height:auto;
    width:100%;
    background-color:#333;
    padding:0!important;
    font-size: 0.85rem;
}
footer aside, footer article, footer a, footer a:hover{
    color:#fff;
}
footer article {
    height:50px;
    padding: 1em;
}
footer article p span{
    padding:0 10px;   
}
footer article p span:nth-child(1){
    width:110px;
}
footer article p span:nth-child(1) img{
    width:95px;
}
footer article p span:nth-child(2) {
    margin-left:0.975rem;
    font-size:0.7rem;
    line-height:0.9;
    border-left: 1px solid #fff;
}

footer aside {
    height:30px;
    background-color:#41494c;
    font-size:11px;
}
footer aside p span:nth-child(1).columns, footer article p span:nth-child(1).columns{
    padding-left: 0;
    padding-right:0;
}

footer aside p span:nth-child(2).columns{
    text-align:right;
}
footer aside *{
    font-family: 'LatoWeb';
    letter-spacing: 1px;
}

/*
        footer
*/


footer {
    color: #bcc1c5;
    display: table;
    height: 86px;
    min-height: auto;
    width: 100%;
    text-shadow: none;
    background: none;
    background-color: #263548;
    padding: 0!important;
    font-size: 0.85rem;
    position: relative;
    bottom: 0;
    border-radius: 0;
}

footer > article{
    width:100%;
    margin: 0px auto;
    display: table-row;
    height: 50px;
    padding: 1em;

}

footer > article > p > span:nth-child(1) img {
    width: 95px;
}


footer > article > p > span:nth-child(2) {
    margin-left: 0.975rem;
    font-size: 0.7rem;
    line-height: 0.9;
    border-left: 1px solid #fff;
}

footer > article > p > span:nth-child(3) {
    width: 39%;
}

footer > aside {
    height: 20px;
    background-color: #304c6f;
    font-size: 10px;
    text-align: right;
    padding: 0.5rem;
    border-radius: 0;
}

footer > aside, footer > article, footer a, footer a:hover{
    color:#fff;
}

footer > aside > p {
    margin-top:0.2em !important;
}

footer > aside > p > span.medium-5 {
    width: 41.66667%;
}

footer > aside > p > span.medium-7 {
    width: 50%;
}

.footer-copyright{
    width: 100%;
    color: black;
    margin: 20px 0 0 4rem;
    padding-bottom:20px;
    display:table;
}



/* Top button */
.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999998;
    background-color:#4a5ea5;
    color: #eeeeee;
    width: 50px;
    height: 50px;
    line-height: 50px;
    right: 30px;
    bottom: 100px;
    padding-top: 0px;
    border-radius: 50%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
    background-color:#304c6f;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
}
.scroll-top-wrapper i.fa {
    line-height: inherit;
}

#arrow {
    display: block;
    border-right:7px solid #fefefe;
    border-bottom:7px solid #fefefe;
    width: 11px;
    height: 11px;
    transform: rotate(-135deg);
    margin: 19px auto 0 auto;
    border-radius: 3px;
    z-index: 99999999;
}
#arrow:after {
    content: "";
    background: #fefefe;
    border-radius: 10px;
    display: block;
    height: 7px;
    position: absolute;
    width: 11px;
    left: 9px;
    transform: rotate(89deg);
    bottom: 5px;
}
#arrow:before{
    content: "";
    background: #fefefe;
    border-radius: 10px;
    display: block;
    height: 7px;
    position: absolute;
    width: 10px;
    left: -3px;
    top: 11px;
}

/* max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) {
    footer {
        display: table;
        height: auto;
        bottom: 0;
        margin-top:1rem!important;
        padding-left:0;
    }
    footer aside {
        height: auto;
    }
    footer article{
        display:none;
    }
    footer aside p span:first-of-type{
        width:100%;
    }
    footer aside p span:last-of-type{
        width: 100%;
        text-align: left !important;
        padding-left: 0;
        padding-top: 1rem;
        float: none !important;
        display: block;
    }
}
