﻿html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
    background: url("https://template.mt.gov/resources/template/images/background108.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header {
    background: white;
}

header a {
    color: black !important;
}

footer .nav-link:hover {
    background-color: #eee;
    color: #6E9699;
    text-decoration: underline;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    line-height: 64px;
    background-color: #fff;
}

footer .logo {
    margin-top: .3em;
}

footer .nav-link {
    padding: 0 .5rem;
    font-size: 15px;
}

/*Large devices (desktops, 992px or less)*/
@media (max-width: 992px) {
    main .container-fluid {
        padding-bottom: 3em;
    }
}

/*Medium devices (tablets, 768px or less)*/
@media (max-width: 768px) {
    .navbar-brand {
        white-space: normal;
        text-align: center;
    }
}
/* Small devices (phones, 576px or less)*/
@media (max-width: 576px) {
    .navbar-dark .navbar-nav .nav-link {
        margin: 0;
        padding: 10px;
    }
}

/* Xtra Small devices (phones, 576px or less)*/
@media (max-width: 450px) {
    main .container-fluid {
        padding-bottom: 8em;
    }
}