/* sticky footer: http://ryanfait.com/sticky-footer/ */
html, body {
    height: 100%;
}

#body-wrapper {
    min-height: 100%;
    margin: 0 auto -60px;
    /* must be negative of footer height */
    position: relative;
    /* background: floralwhite; */
}

#footer-pusher {
    height: 60px;
    /* must be same as footer height */
    background: white;
}

#main-footer {
    background: #071d49;
    color: white;
    /* margin-top: 10px; */
    border: 1px solid #133e40;
    height: 60px;
    max-height: 60px;
    /*RLK - hopefully this will hold */
    /* padding-left: 26px; */
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* max-width: 950px; */
    min-width: 950px;
    margin: 0 auto;
    position: relative;
    left: 0;
    right: 0;
    border: 0;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    }

#main-footer:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden;
}

footer {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    /* font: inherit; */
    vertical-align: baseline;
}

.footer-rwd {
    /* width: 33%; */
    /* float: left; */
    display: inline-block;
    padding: 0 1%;
}

div#footer-rwd-1 {
    /* width: 28%; */
}

div#footer-rwd-3 {
    /* width: 26%; */
}

div#footer-rwd-2 {
    /* width: 44%; */
}

@media screen and (max-device-width: 780px) and (min-device-width: 521px) {
    #main-footer {
        height: 42px;
        max-height: 42px;
        line-height: 1.4;
        font-size: 11px;
        padding-top: 2px;
        min-width: auto;
    }

    #body-wrapper {
        min-height: 100%;
        margin: 0 auto -42px;
        /* must be negative of footer height */
    }

    #footer-pusher {
        height: 40px;
        /* must be same as footer height */
    }

    .footer-rwd {
        /* width: 33%; */
        /* float: left; */
        display: block;
        padding: 0 1%;
    }

    div#footer-rwd-1 {
        float: left;
        padding-left: 10px;
    }

    div#footer-rwd-3 {
        /* width: 26%; */
        /* float: left; */
        clear: left;
    }

    div#footer-rwd-2 {
        float: right;
        /* clear: right; */
        padding-right: 10px;
    }
}

@media screen and (max-device-width: 520px) {
    #main-footer {
        height: 55px;
        max-height: 55px;
        line-height: 1.6;
        font-size: 10px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    #body-wrapper {
        min-height: 100%;
        margin: 0 auto -55px;
        /* must be negative of footer height */
    }

    #footer-pusher {
        height: 55px;
        /* must be same as footer height */
    }

    .footer-rwd {
        /* width: 33%; */
        /* float: left; */
        display: block;
        padding: 0 1%;
    }

    div#footer-rwd-1 {
        float: none;
    }

    div#footer-rwd-3 {
        /* width: 26%; */
        float: none;
        clear: left;
    }

    div#footer-rwd-2 {
        float: none;
        /* clear: right; */
    }
}



span#footer-phone img {
    position: relative;
    top: 4px;
    padding-right: 2px;
}

span#footer-email img {
    position: relative;
    top: 5px;
    margin-right: 2px;
}

div#main-footer a {
    color: white;
}

th#jo-msg-jobname {
    width: 124px;
}