﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top:5px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.navbar-default .navbar-text{
    color:#fff;
}
.nav-justified > li > a {
    border: 1px solid #ddd;
    padding-right: 1px;
}

/* Set padding to display errors that occur during databinding */
.padding-error {
    padding-top: 20px;
}

@media only screen and (max-width: 767px) {
    .nofloat {
        float: none;
        padding: 10px 15px;
    }
}

.full-width-div {
    position: absolute;
    width: 100%;
    left: 0;
    z-index:1000;
}

a.fc-event
{
    border-color:#fff;
}

.alert-note {
    border-color: palegoldenrod;
    background-color: palegoldenrod;
}

/*.alert-note > .alert {

}*/
img.chart {
    width: 100%;
    max-width: 500px;
}

a {
    color: #2c3e50;
}
a:hover {
    color:darkblue;
}

input.loading {
    background: url('../images/loading.gif') no-repeat right center;
}

.footer {
    clear: both;
    background: #E8EDF0;
    color: #022336;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    margin: 0;
    font-size: smaller;
    position: fixed;
    bottom: 0px;
    width: 100%;
}



 /*Collapse early*/ 
/*@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none !important;
    }

        .navbar-collapse.collapse.in {
            display: block !important;
        }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

    .navbar-header {
        float: none;
    }
}*/


#loadingSpinner {
    top: 50%;
    left: 50%;
    z-index: 2000;
    position: fixed;
    display: none;
    color: grey;
}

.loaderSpinner {
    border: .5em solid grey;
    border-right-color: transparent;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
}

.spinAnimation, .loaderSpinner {
    animation: spin 2s linear infinite;
}

.panel {
    height: 100%
}
.panel-body {
    height: 100%
}
.table-responsive {
    height: 100%
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.panel-heading-tab {
    padding: 10px 15px 0px 15px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #076c34
}

/*@media screen and (max-width: 1000px) {
    tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0.5em 0;
        border: 1px solid rgba(3,3,3,0.2);
    }

    td, th {
        flex: 1 1 150px;
        border: 0.5px solid rgba(3,3,3,0.2);
    }

}*/

/*@media screen and (max-width: 1024px) {
    .fltrow td {
        flex: 1 1 150px;
        border: 0.5px solid rgba(3,3,3,0.2);
    }

    .fltrow {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0.5em 0;
        border: 1px solid rgba(3,3,3,0.2);
        height: auto !important;
        width: calc(100vw - 50px)
    }
}*/
table.TF.sticky th {
    background-color: white !important;
    top:38px !important;
}

.fltrow td {
    position:sticky;
    top: -1px;
    background: white !important; 
}

.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
    white-space:nowrap;
    padding: 1px;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.5); /* White background with opacity */
    z-index: 1001;
}

.btn-blue {
    color: #fff;
    background-color: #337AB7;
    border-color: #2e6da4;
}

.btn-disabled {
    cursor: not-allowed;
    box-shadow: none;
    background-color: darkgrey;
    color: white;
    /*pointer-events: none;*/
}

.btn-green {
    color: #fff;
    background-color: #076c34;
    border-color: #076c34;
}

.btn-disabledGreen {
    cursor: not-allowed;
    box-shadow: none;
    background-color: #6c798d;
    color: white;
    /*pointer-events: none;*/
}

.btn-disabledBlue {
    cursor: not-allowed;
    box-shadow: none;
    background-color: #2E6DA4;
    color: white;
    /*pointer-events: none;*/
}

.btn-disabledRed {
    cursor: not-allowed;
    box-shadow: none;
    background-color: #bd9999;
    color: white;
    /*pointer-events: none;*/
}

.btn-100width{
    width: 100%;
}
.badge-grey {
    display: inline-block;
    background-color: #eee;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 3px;
    /*margin-bottom: 0;*/
}
.badge-red {
    display: inline-block;
    background-color: red;
    color:white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 3px;
    /*margin-bottom: 0;*/
}
.badge-lightblue {
    display: inline-block;
    background-color: #B9D9EE;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 3px;
    /*margin-bottom: 0;*/
}
.badge-peppermint {
    display: inline-block;
    background-color: #B3E2CD;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 3px;
    /*margin-bottom: 0;*/
}
.badge-orange {
    display: inline-block;
    background-color: #FFA500;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 5px 3px;
    /*margin-bottom: 0;*/
}

.lightblue {
    background-color: #B9D9EE;
}

.peppermint {
    background-color: #B3E2CD;
}

.tr_PUK {
    background-color: #e3eff8;
}

.tr_PUR {
    background-color: #d9f0e6;
}

.tr_Usage {
    background-color: #f8ece3;
}

.overflowx {
    overflow-x: scroll;
}

table.black-border-table > * > tr > * {
    border: 1px solid !important;
}

.label-withRightAttach {
    border-radius: 0.25em 0 0 0.25em;
}

.labelRightBtn {
    border-radius: 0 0.25em 0.25em 0;
    cursor: pointer;
}