/* RESET ------------------------------------------------ */

#wholeFooter {
    width: 100%;
    background-color: #eee;
    border-top: dotted thin #333;
}

#footerContainer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    background-color: #eee;
}

#footerContainer {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px;
    position:relative;
}


    /* Mobile First Main Content ------------------------------------------------ */



    /* Footer links */



    #footerContainer .footerNav {
        display: block;
    }

    #footerContainer h4 {
        margin: 40px 10px 15px 0;
        font-weight: bold;
        color: #333;
        font-size: 1.2rem;
        text-decoration: dotted;
    }
	
	#footerContainer h1 {
        margin: 40px 10px 15px 0;
        font-weight: bold;
        color: #333;
        font-size: 1.2rem;
        text-decoration: dotted;
        font-family: Arial;
    }

    #footerContainer nav ul {
        margin-top: 10px;
        margin-right: 10px;
    }

    #footerContainer a:active {
        text-decoration: underline;
    }

    #footerContainer li {
        margin-bottom: 17px;
    }

    #footerContainer a {
        font-size: 13pt;
        line-height: 1;
        text-decoration-line:none;
    }



    /* Social media icons */

    #footerContainer .socialLinks {
        width: 280px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top:20px;
    }



    #footerContainer .feefoImage img {
        margin-top:20px;
        max-width:280px;
        display: block;
       margin-left:-10px;
    }

    #footerContainer .footerTop {
        display: flex;
        flex-direction:column;
        justify-content: flex-start;
    }


/* Logo */

#wholeFooter .logo {
    display: block;
    margin: 0 auto;
    background-color: transparent;
}

#wholeFooter .logoContainer {
    background-color: #333;
    padding-top: 30px;
    padding-bottom: 30px;
}


/* Disclaimer */

#wholeFooter .disclaimer {
    max-width: 760px;
    background-color: #333;
}

    #wholeFooter .disclaimer p {
        margin-top: 0;
        font-size: 12px;
        font-family: 'Arial', sans-serif;
        background-color: #333;
        color: white;
        padding: 0 20px 40px 20px;
    }
	
	#wholeFooter .disclaimer a {
        margin-top: 0;
        font-size: 12px;
        font-family: 'Arial', sans-serif;
        background-color: #333;
        color: white;
    }


#footerContainer .returnToTop {
    position:absolute;
    bottom: 10px;
    right:10px;
}

#footerContainer .mobileSiteLink {

    display:block;
    margin-top:30px;
}

#footerContainer #aqsIMG {
    display: none;
}


/* Desktop view ------------------------------------------------ */


@media only screen and (min-width: 760px) {


    #footerContainer .footerNavColumn {
        max-width: 280px;
        min-width: 160px;
        margin-right: 30px;
    }

    #footerContainer {
        padding: 10px;
    }

    /* Navigation */

    #footerContainer .footerNav {
        display: flex;
        justify-content: space-between;
    }

    #footerContainer a:hover {
        text-decoration: underline;
        cursor: pointer;
    }


    /* Social media icons */

    #footerContainer .socialLinks {
        width: 300px;
        display: flex;
        align-items:center;
        margin-top:30px;
    }

    #footerContainer .socialLinksImages {
        margin-right: 40px;
    }

    #footerContainer .socialLinksImages:hover {
        opacity: .5;
    }
    
    #footerContainer .footerTop {
        display:flex;
        justify-content:space-between;
        flex-direction: row;
    }
    
    #footerContainer .feefoImage {
        margin-left:0px;
        width:280px;
        height:100%;
    }

    #footerContainer .feefoImage:hover {
        opacity: .5;
    }
    
    

    /* Logo */

    #wholeFooter .logo {
        margin: 0;
    }

        #wholeFooter .logo:hover {
            cursor: pointer;
        }


    /* Disclaimer */


    #wholeFooter .disclaimer, #wholeFooter .logoContainer {
        max-width: 960px;
        margin: 0 auto;
        padding: 20px 10px;
        
    }

        #wholeFooter .disclaimer p {
            padding: 0;
        }

    #wholeFooter #bottomFooter {
        max-width: 100%;
        background-color: #333;
        padding: 20px;
        padding-bottom: 30px;
    }

    #footerContainer #aqsIMG {
        display: block;
        width: 100px;
        height: 100px;
        margin-top: 12px;
    }
}
