﻿html, body {
    height: 100%;
    font-size: .9em !important;
    margin: 0;
}

    body.loading {
        overflow: hidden;
    }

        body.loading .gdmodal {
            display: block;
        }

.main-body {
    padding: 10px 20px 10px 20px;
}

.site-header {
    background-color: #29571E;
    border-radius: 5px;
}

.site-content-wrapper {
    max-height: calc(100% - 40px);
    overflow: auto;
}

.footer {
    overflow: hidden;
    border-top: 2px solid #cccccc;
    text-align: center;
    padding-top: .25em;
    padding-bottom: .25em;
    color: #f1e5b6;
    text-shadow: 1px 2px 1.5px rgba(0,0,0,0.3) !important;
    background-color: #29571E;
    height: 3em !important;
    min-height: 3em !important;
}

.copywrite-text {
    font-size: 10px;
    /*font-weight: bold;*/
    display: block;
}

.version-text {
    font-size: 10px;
    font-weight: bold;
    display: block;
}

.home {
    padding-top: 15px;
    font-size: 1.5em;
}

.navbar-toggle {
    background-color: #29571E;
}

.input-panel-group {
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    border: 1px solid #e3e3e3;
    background-color: #f5f5f5;
    border-radius: .5em;
}

.login-input-panel {
    height: 220px;
}

.uppercased {
    text-transform: uppercase;
}

.bold-text {
    font-weight: bold;
}

/***********************************************************
 ********************** Result Tables **********************
 ***********************************************************/

/*.resulttable {
    background-color: red;
}

.headerrow {
    background-color: red;
}*/

.resulttable th {
    background-color: #29571E;
    text-align: center;
    padding: 2px 4px 2px 4px;
    border-style: none;
    color: #f1e5b6;
}

/*background-color: #29571E;
color: #f1e5b6;*/


.resulttable td {
    padding: 2px 4px 2px 4px;
    border-style: none;
    border-color: black;
    border-width: 1px;
}

.resulttable tr:nth-child(even) {
    background-color: #F2F2F2;
}

.resulttable tr:nth-child(odd) {
    background-color: #D4D6CD;
}

.rowcolor {
    background-color: #F2F2F2;
}

.rowcoloralt {
    background-color: #D4D6CD;
}



/***********************************************************
 ********************** Search Master **********************
 ***********************************************************/
div.searchmstr-title {
    background-color: #aaaaaa;
    text-align: center;
    font-weight: bold;
    border: 1px solid #cccccc;
}

div.searchmstr-input-content {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #cccccc;
    margin: -1px 0 0 0; /* "Collapse" the top border */
}

div.searchmstr-button-content {
    padding: 10px 0px 10px 0px;
    border: 1px solid #cccccc;
    margin: -1px 0 0 0; /* "Collapse" the top border */
}

div.searchmstr-results-content {
    height: 550px;
    padding-top: 10px;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #cccccc;
    margin: -1px 0 0 0; /* "Collapse" the top border */
}

div.searchmstr-main-content {
    height: 550px;
    /*padding-top: 10px;*/
    padding: 15px;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #cccccc;
    margin: -1px 0 0 0; /* "Collapse" the top border */
}

@media only screen and (max-width: 991px) {
    div.searchmstr-results-content {
        height: 200px;
    }

    div.searchmstr-main-content {
        height: 550px;
    }
}

/***********************************************************
 ******************* Progress Indicators *******************
 ***********************************************************/
div.progress {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1051 !important;
    background-color: #000000;
    opacity: 0.2;
}

img.progress-img {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1051 !important;
    width: 130px !important;
    height: 130px !important;
}

#loadingOverlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    transition: 1s 0.4s;
}

#loadingProgstat {
    font-size: 1.7em;
    letter-spacing: 3px;
    position: absolute;
    top: 50%;
    margin-top: -60px;
    width: 100%;
    text-align: center;
    color: #bcd7ff;
}

/***********************************************************
 ********************** Global Styles **********************
 ***********************************************************/
.hidden {
    display: none;
}

.error {
    color: #CC0000;
    font-weight: bold;
}

.centered-text {
    text-align: center;
}

.centered {
    margin: 0 auto;
}

.disabled-tims-button,
.disabled-tims-button:hover {
    color: #191919;
    cursor: not-allowed;
    color: #666;
    pointer-events: none;
}

.form-section {
    background-color: #f7f7f7;
    border: 1px inset #cccccc;
}

.form-section-header {
    background-color: #29571E;
    color: #f1e5b6;
    text-align: center;
    font-weight: bold;
    border: 1px solid #cccccc;
}

    .form-section-header:hover {
        background-color: forestgreen;
    }

.form-section-label {
    margin-top: 6px;
}

.form-section-table {
    border: solid 1px;
    border-color: aliceblue;
}

.result-panel {
    max-height: 300px;
    overflow-y: scroll;
    border: groove 1px;
    border-color: aliceblue;
}

.result-table th {
    background-color: lightblue;
}

.resulttable.selectable > tbody > tr {
    cursor: pointer;
}

.result-table > tbody > tr {
    cursor: pointer;
}

.checkBoxList {
    max-height: 118px;
    height: auto !important;
    overflow-y: auto;
    border: 1px solid #ccc !important;
    border-radius: 3px;
    padding: 5px;
}

.control-group-box {
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    border-color: #ccc;
    background-color: #fff;
}

.control-group-header {
    background-color: darkgray;
    font-size: small;
    font-weight: bold;
    text-align: center;
    height: 20px;
    width: 100%;
}

.cbl-hor input[type="radio"] {
    margin-left: 10px;
    margin-right: 1px;
}

.dropdown-menu {
    /*font-size: 12px !important;*/
}

/* Primarily for disabling hover events on anchor tags */
.no-highlight {
    pointer-events: none;
}

.no-padding {
    padding: 0px 0px 0px 0px !important;
}

.page-header-margins {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

.padding-sm {
    padding: 7px;
}

.padding-md {
    padding: 12px;
}

.bold {
    font-weight: bold;
}

.small {
    font-size: small;
}

.right-buffer-sm {
    margin-right: 5px;
}

.left-right-buffer-md {
    margin-left: 15px;
    margin-right: 15px;
}

.fa-left {
    padding-right: 8px;
}

.full-width {
    width: 100%;
}

.pagesectioncolor {
    background-color: #E8E6C2;
}

.thinborder {
    border-style: solid;
    border-width: 1px;
    border-color: black;
}

input[type=checkbox] {
    margin-right: 5px;
}

input[type=radio] {
    margin-right: 5px;
}

.nolink {
    color: black;
    text-decoration: none;
    font-style: normal;
    cursor: default;
}

    .nolink:hover {
        color: black;
        text-decoration: none;
        font-style: normal;
        cursor: default;
    }

    .nolink:visited {
        color: black;
        text-decoration: none;
        font-style: normal;
        cursor: default;
    }

    .nolink:focus {
        color: black;
        text-decoration: none;
        font-style: normal;
        cursor: default;
    }

    .nolink:active {
        color: black;
        text-decoration: none;
        font-style: normal;
        cursor: default;
    }

.no-resize {
    resize: none;
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}


.hiddenColumn {
    display: none;
}

.headerSection {
    background-color: #29571E;
    padding:4px;
    font-weight: 600;
    color: #f1e5b6;
    margin-bottom: 4px;
    font-size:14px;
}

.gridview-fixed-header th {
    position: sticky;
    top: 0;
    background-color: #29571E;
    z-index: 2;
    padding: 2px;
    color: #f1e5b6;
    font-weight: 500;
    font-size: 14px;
}

    /*background-color: #29571E;
    color: #f1e5b6;*/


.gridview-fixed-header {
    width: 100%;
    table-layout: fixed;
}

.grid-container {
    border: 1px solid #ccc;
    overflow-y: auto;
    overflow-x:auto;
}

.modal-header-style {
    background-color: #29571E;
    color: #f1e5b6;
    padding: 8px;
}


.modal-content-resizable {
    resize: both; 
    overflow: auto; 
    min-width: 300px;
    min-height: 200px;
}


textarea.form-control {
    text-align: left !important;
    vertical-align: top !important;
    white-space: pre-wrap !important;
}

.no-resize {
    resize: none;
    overflow: auto; 
}