/**************************************************************************************************
 *
 * CSS for the GTI Staff Login Administration Utility.
 *
 * Ray O'Donnell <ray@teladesign.ie>
 * May 2017
 *
 **************************************************************************************************/

html {
    position: relative;
    min-height: 100%;
}


body {
    /* Clear the fixed-top navbar. */
    padding-top: 70px;
    /* The height of the footer. */
    margin-bottom: 40px;
}

.footer {
    height: 40px;
    position: absolute;
    bottom: 0;
    background-color: #222;
    color: #fff;
    width: 100%;
}

.footer .row > div {
    margin-top: 10px;
}

.footer .row > div:last-child {
    text-align: right;
}


/*
 * Listings.
 */

.buttons-cell {
    text-align: right;
}

@media (min-width: 768px) {

    .buttons-cell a {
        margin-right: 20px;
    }
}

@media (max-width: 767px) {

    .buttons-cell a {
        margin-right: 5px;
    }
}

.buttons-cell a:last-child {
    margin-right: 0;
}

.control-column {
    margin-bottom: 30px;
}

.control-column a {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
}

.control-column a:last-child {
    margin-bottom: 0;
}

.control-column a .glyphicon {
    margin-right: 5px;
}

/* Alerts. */
.alert .glyphicon {
    margin-right: 5px;
}


/* Forms. */

.form-buttons {
    margin-bottom: 30px;
}

.form-buttons input[type=submit],
.form-buttons a {
    width: 100%;
    margin-top: 30px;
}

form ul.errors {
    list-style-type: none;
    padding-left: 0;
    color: #f00;
}

/* DatePicker overrides. */

.datepicker.dropdown-menu {
    z-index: 2000;
}

/* End. */