﻿html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 70px;
    padding-bottom: 20px;
    /* Margin bottom equal to or greater than footer height */
    margin-bottom: 40px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #f5f5f5;
}

thead {
    background-color: steelblue;
}

    thead th {
        color: white;
        font-weight: bold;
    }

/* Many radio buttons & fieldsets I don't want to have any special layout */
fieldset.noBorder {
    border: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

/*#region remove/add section*/
.btn-file {
    /* btn-file class idea from www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3 */
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }
/*#endregion*/

/*#region JQUERY UI OVERRIDES ***********************************************
 * Mainly to make jQuery UI datepicker and the 3rd party timepicker look correct
 * with the Bootstrap theme "Cerulean" */
table.ui-timepicker * {
    /* Universal selector is necessary in this case */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

/* Enforce Bootstrap's link coloring instead of jQuery UI's*/
a.jqGridLink {
    color: #2fa4e7 !important;
}

/*#endregion*/
