﻿/* #region General Styles */

body {
    /* Move content down because we have a fixed navbar that is 50px tall and up because of footer */
    padding-top: 50px;
    padding-bottom: 65px;
    /* needed for the footer to stay at the bottom */
    position: relative;
    min-height: 100vh;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

a {
    color: #0071eb;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

.btn-primary {
    background-color: #2474b9;
    color: #fff;
    border-color: #1e629d;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: #1e629d;
        border-color: #164772
    }

        .btn-primary:active:hover {
            background-color: #164772;
        }

/* #endregion */

/* #region Navbar*/
.navbar-inverse {
    background-color: #fefefe;
    box-shadow: 1px 0 3px 1px #999;
    border-color: #999; /*overrides bootstrap border-color*/
}

    .navbar-inverse .navbar-brand {
        color: #164772;
        font-weight: 100;
        font-family: Helvetica,'Times New Roman', Arial, serif;
    }

        .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
            color: #1e629d;
        }

    .navbar-inverse .navbar-nav > li > a {
        /*Nav links*/
        color: #164772;
    }

        .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
            color: #1e629d;
            text-decoration: underline;
        }

    .navbar-inverse .navbar-toggle {
        /* toggle square */
        border-color: transparent;
        transition: .2s;
    }

        .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
            background-color: #f1f1f1;
            border-color: #164772;
        }

        .navbar-inverse .navbar-toggle .icon-bar {
            background-color: #164772;
        }

/* #endregion */

.gridview {
    width: 100%;
    text-align: center;
    border: 1px solid #b1b1b1;
    background: #f9f9f9;
    box-shadow: 0 0 5px -2px;
    border-color: #ddd;
}

.gridview-header {
    border-bottom: 1px solid #7d7d7d;
}

    .gridview-header th {
        background-color: #e8e8e8;
    }

    .gridview-header a, .gridview-header th {
        color: #0061ca;
    }

.gridview tr:hover {
    background-color: lightgoldenrodyellow;
}

.gridview-alt-row {
    background-color: #f9f9f9;
}

/* #region Footer */
.footer {
    box-shadow: 1px 0 3px 1px #999;
    background-color: #2e4f6e;
    background-color: #164772;
    color: #ededed;
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-bottom: 1px; /*needed so <p> margin doesn't collapase underneath footer*/
}
/* #endregion */

/*#region Queries*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {

    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }

    .logo {
        background: url(../images/tdcj-seal-darkblue.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-position-x: right;
        background-size: 190px;
    }

    .navbar-inverse .navbar-brand {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .logo {
        background-size: 240px;
    }

    .footer {
        font-size: 1.4rem;
    }
}
/* #endregion */

table th {
    padding: 3px;
    text-align: center;
}

table td {
    padding:3px ;

}

.collapsible {
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 70%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active, .collapsible:hover {
    background-color: #666;
}

.content {
    padding: 0px;
    display: none;
    overflow: hidden;
    background-color: white;
    width: 70%;
    border: 1px solid black;
}

.autoCalculateTextbox {
    width:325px;
    text-align:left;
}
