﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 70px;
    /*padding-bottom: 20px;*/ /* LUIS - Original */
}

/*Fixa Título e Rpdapé do Grid*/
/*https://www.codeproject.com/articles/21027/how-to-fixed-gridview-s-header-and-footer-when-scr */
/*1. Use the below 2 Css Classes for GridView Header and footer*/
/*.GVFixedHeader { font-weight:bold; background-color: Green; position:relative; 
                 top:expression(this.parentNode.parentNode.parentNode.scrollTop-1);}
.GVFixedFooter { font-weight:bold; background-color: Green; position:relative;
                 bottom:expression(getScrollBottom(this.parentNode.parentNode.parentNode.parentNode));}*/
/*2. Use the below JavaScript to compute Footer's Position*/ 
/*<script type="text/javascript">
    function getScrollBottom(p_oElem)
    {
        return p_oElem.scrollHeight - p_oElem.scrollTop - p_oElem.clientHeight;
    }
</script>*/
/*3. Create GridView inside a Panle, Set Panle's property ScrollBars to "Auto", Gridview's HeaderStyle to "GVFixedHeader" and FooterStyle to "GVFixedFooter".*/
/*<asp:Panel runat="server" ID="pnlContainer" ScrollBars="Auto" Height="150px" Width="400">
    <asp:GridView ShowFooter="True" runat="server" Width="96%" ID="gvDemo" AutoGenerateColumns="False">
    <HeaderStyle CssClass="GVFixedHeader" />
    <FooterStyle CssClass="GVFixedFooter" />
    ...
    </asp:GridView>
</asp:Panel>*/

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    /*max-width: 280px;*/ /* LUIS - Original */
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}
