/*RESPONSIVE CONTENT*/

@media only screen and (min-width: 0px) and (max-width: 960px) {

    body {
        font-size: 14px;
    }

    /*HEADER*/

    #mainHeader {
        background: #ffffff;
    }

    #mainHeader .contain {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    header {
        width: 100%;
        padding: 5px 0;
    }

    header img {
        margin: 0 auto;
        max-width: 250px;
        padding: 10px;
    }

    nav {
        padding: 0;
        position: -webkit-static;
        position: static;
        background: #FFFFFF;
        top: 0;
        z-index: 3;
        width: 100%;
    }

    #nav {
        display: none;
    }

    #nav ul {
        float: none !important;
    }

    #loginBtn,
    #menuBtn {
        display: block;
    }

    /*FOOTER*/

    .middleFooter,
    .bottomFooter .container {
        flex-direction: column;
        text-align: center;
    }

    .middleFooter div {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .bottomFooter figure {
        flex-direction: column;
    }

    .bottomFooter figure:nth-child(1) img {
        margin: 0 0 10px 0 !important;
        width: 100px;
    }

    .bottomFooter figure:nth-child(2) img {
        margin: 10px 0 !important;
        width: 150px;
    }

    #backToTop {
        font-size: 1em;
    }
}


@media only screen and (min-width: 0px) and (max-width: 780px) {

    #loginBtn,
    #menuBtn {
        font-size: 1.5em;
    }
    
    #secondaryHeader div {
        text-align: center;
    }

    .divider {
        text-align: center;
    }

    .divider h2 {
        font-size: 1.25em;
    }

    .divider p {
        font-size: 1em;
    }

    .divider span {
        font-size: 0.875em;
    }

    .divider a:link,
    .divider a:visited {
        color: #ffffff !important;
        text-decoration: underline;
    }

    .divider a:hover,
    .divider a:active {
        text-decoration: none;
    }

    .divider span {
        color: #ffffff;
        margin-bottom: 10px;

    }

    .topFooter .container {
        flex-direction: column;
        text-align: center;
    }

    .topFooter .container div,
    .middleFooter div {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .topFooter .button-container .button {
        width: 49.5%;
    }

    .topFooter .container div:nth-child(3) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .topFooter .container div:nth-child(3) ul {
        padding: 0 0 10px 0;
        margin: 0;
        width: 100%;
    }

    .topFooter .container div:nth-child(3) ul li {
        list-style-type: none;
        margin-bottom: 10px;
    }

    .topFooter .container div:nth-child(3) a:link,
    .topFooter .container div:nth-child(3) a:visited {
        text-decoration: none;
        background: #4c4b4c;
        padding: 10px;
        color: #FFFFFF;
        text-align: center;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .topFooter .container div:nth-child(3) a:hover,
    .topFooter .container div:nth-child(3) a:active {
        background: #77c045;
    }
}
