/*!
 * Docs Boostrap Template footer styles
 * Copyright 2015 Bernardo Martínez Garrido
 * Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)
 *
 * This file contains styles for the footer.
 */

/* Separates the content from the footer. */
body {
    margin-bottom: 12em;
}

/**
* General footer configuration.
*/

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 12em;
    padding-top: 1em;
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
}

/* To allow resizing and keeping the background color */
.footer div {
    background-color: #f5f5f5;
}

.footer .dl-horizontal {
    margin-bottom: 0.5em;
}

/**
* Footer links.
*
* Their colors are inverted to improve contrast against the background.
*/

.footer a {
    color: #0050aa;
}

.footer a:hover,
.footer a:focus {
    color: #2780e3;
}

/**
* Footer copyright info
*/

.footer .copyright {
    width: 100%;
    padding: 0 1em 0.5em 1em;
    background-color: #f5f5f5;
}

.footer .copyright ul {
    margin: 0 0 0 0;
}

/**
* Adapting styles to various screen sizes.
*/

/**
* Separators on small sizes.
*/

/* Extra Small Devices, Phones */
@media only screen and (max-width: 992px) {
    .footer .footer-info {
        border-top: 1px solid #e6e6e6;
    }

    .footer .list-copyright {
        border-top: 1px solid #e6e6e6;
    }
}

/**
* Navigation links resizing.
*/

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    .footer dl {
        margin-left: auto;
        margin-right: auto;
    }
}

/**
* Copyright info resizing.
*/

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
    .footer .copyright {
        text-align: right;
    }

    .footer .list-copyright {
        padding-left: 0;
        list-style: none;
        margin-left: -5px;
    }

    .footer .list-copyright > li {
        display: inline-block;
        padding-left: 5px;
        padding-right: 5px;
    }
}