﻿/*bootstrap overrides and site-specific styles*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300);

body {
    padding-top: 100px;
    padding-bottom: 20px;
    font-size: 13px
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 30px;
    padding-right: 30px;
}

/* 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, ul.token-input-list {
    max-width: 280px;
}

/*logo header*/
#nrd-header
{
    height: 60px;
    background: #6f7798 url(../images/Logo-LPSNRD-Management.svg) no-repeat 30px 10px;
}
/*nav font size override*/
.navbar-nav a
{
    /*font-size: 12px;*/
}

/*checkbox overrides*/
input[type=checkbox]
{
}

/*nowrap text*/
.nowrap
{
    white-space: nowrap;
}
.nrd-oc-label
{
    width: 650px;
    white-space: nowrap;
    text-align: right;
    border: 1px solid blue;
}

/*checkbox override*/
input[type="checkbox"].nrd-checkbox {
    display: none;
}
input[type="checkbox"].nrd-checkbox + label {
    display: inline;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #ccc;    
    /*label styling*/
    padding: 2px 3px;
    font-size: 13px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    color: #e1e1e1;
    vertical-align: baseline;
    white-space: nowrap;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
input[type="checkbox"].nrd-checkbox:checked + label {
    background-color: #428bca;
    border: 1px solid #428bca;
    color: #ffffff;
}
input[type="checkbox"].nrd-checkbox:disabled + label {
    opacity: 0.4;
}




/*outgoing communications table*/
#nrd-oc-table tr td:nth-child(2) label
{
    font-weight: normal;
}
#nrd-oc-table tr td
{
    vertical-align: middle;
}
#nrd-oc-table label
{
    margin-bottom: 0;
}





/*datepicker override*/
.nrd-dp-sm
{
    width: 100px!important;
}







/*Bootstrap Navigation Override*/
.navbar-nav, .dropdown-menu
{
    font-size: 12px;
}
.navbar-nav > li
{
    border-right: 1px solid #f0f0f0;
}
.navbar-nav > li:first-child
{
    border-left: 1px solid #f0f0f0;
}
.navbar li:hover {
    background-color: #e7e7e7;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}
.dropdown-submenu.pull-left {
    float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.has-submenu.highlighted:hover
{
    color: #333;
}
@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
.nav>li>a {padding: 10px;}



/*helper classes that seem to be missing from bootstrap.min.css*/
.bg-primary {color: #fff; background-color: #337ab7;}
a.bg-primary:hover {background-color: #286090;}
.bg-success {background-color: #dff0d8;}
a.bg-success:hover {background-color: #c1e2b3;}
.bg-info {background-color: #d9edf7;}
a.bg-info:hover {background-color: #afd9ee;}
.bg-warning {background-color: #fcf8e3;}
a.bg-warning:hover {background-color: #f7ecb5;}
.bg-danger {background-color: #f2dede;}
a.bg-danger:hover {background-color: #e4b9b9;}




/*TableTools container element and styles applying to all components*/
div.DTTT_container {
    position: relative;
    float: left;
    /*top: -3px;*/
    margin-bottom: 0;
    margin-right: 20px;
}
a.DTTT_button {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 0;
    margin-right: 5px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
a.DTTT_button:hover {
    text-decoration: none !important;
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}




/*Datatable widget bar styles*/
table.dataTable tr th
{
    white-space: nowrap;
}
.tbar-wrapper
{
    padding: 10px;
    background-color: #efefef;
    margin-bottom: 15px;
    border-radius: 5px;
}
.tbar-wrapper label {
    margin-bottom: 0px;
}
.clear
{
    clear: both;
}




/*DataTable bootstrap override*/ 
/* Otherwise the search and per page used a bold font set by bootstrap */
.dataTables_length label {
font-weight: 200;
}
/* All jacked up by base dataTables CSS, pagination buttons way spread out */
div.dataTables_paginate ul.pagination li.paginate_button {
margin: 0px;
padding: 0px;
border: 0px;
white-space: nowrap;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
border: 0px;
background-image: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
border: 0px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
border: 0px;
}
.dataTables_wrapper label {
font-weight: 200;
margin: 0px;
}
.dataTables_filter input[type=search]
{
    width: auto;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc:after
{
    content: none;
}
table.dataTable thead th, table.dataTable thead td, table.dataTable.no-footer
{
    border-bottom: 1px solid #afafaf;
}




/*Entry table styles*/
table.entryTable
{
    margin-left: 20px;
}
table.entryTable tr td:first-child
{
    text-align: right;
    padding-right: 15px;
    white-space: nowrap;
}
table.entryTable tr td:first-child.dataTables_empty
{
    text-align: center;
    padding-right: 15px;
    white-space: nowrap;
}
table.entryTable tr td.fieldset
{
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #3693CF;
    padding-top: 20px;
}
table.entryTable tr.spaceover > td
{
    padding-top: 15px;
}
span.rf
{
    color: red;
}
table.entryTable tr td
{
    padding-bottom: 5px;
}




/*override token input styles*/
ul.token-input-list
{
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
            transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
ul.token-input-list li {
    height: 30px;
    padding-top: 3px;
}
ul.token-input-list:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
li.token-input-token {
    background-color: #a0c5e4;
    font-weight:normal;
}
div.token-input-dropdown ul li.token-input-selected-dropdown-item {
    background-color: #a0c5e4;
}

div.token-input-dropdown {
    border-top: 1px solid #ccc;
    border-color: #66afe9;
    border-radius: 5px;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}




/*meter details table*/
#nrd-meter-details tr td:first-child, #nrd-meter-details tr td:nth-child(3), #nrd-meter-details tr td:nth-child(5) {
    text-align: right;
}
#nrd-meter-details tr td {
    padding-right: 15px;
}
.nrd-meter-header {
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.tt-dropdown-menu {
    background-color: #f6f6f6;
    border: 1px solid #66afe9;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    line-height: 1.42857;
    max-height: 150px;
    outline: 0 none;
    overflow-y: auto;
    padding: 5px 10px 0px 10px;
    width: 100%;
    text-align: left;
	z-index: 1000 !important;
}




/*chemigation edit details*/
#nrd-chem-details tr td:first-child, #nrd-chem-details tr td:nth-child(3), #nrd-chem-details tr td:nth-child(5) {
    text-align: right;
}
#nrd-chem-details tr td:nth-child(2), #nrd-chem-details tr td:nth-child(4) {
    padding-right: 50px;
}
#nrd-chem-details tr td {
    padding-right: 15px;
}
.entryTable.nrd-chem-edit-tl tr td:nth-child(3), .entryTable.nrd-chem-edit-tl tr td:nth-child(5)
{
    text-align: right;
    padding-right: 15px;
}
.entryTable.nrd-chem-edit-tl tr td:nth-child(2), .entryTable.nrd-chem-edit-tl tr td:nth-child(4)
{
    padding-right: 15px;
}




/*quantity result edit table*/
#nrd-quant-edit tr td:first-child, #nrd-quant-edit tr td:nth-child(3), #nrd-quant-edit tr td:nth-child(5) {
    text-align: right;
}
#nrd-quant-edit tr td {
    padding-right: 15px;
}

.form-control.tt-input.typeahead-disabled,
.form-control.typeahead-disabled.tt-input {
	cursor: not-allowed !important; 
	background-color: #EEE !important;
}




/*input button group for file upload*/
.btn-file {
  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;
  background: red;
  cursor: inherit;
  display: block;
}
input[readonly] {
  background-color: white !important;
  cursor: text !important;
}

.highlightedInput {
  box-shadow: 0 0 3px #428bca;
  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #428bca;
  background: #E4EEF8;
  font-weight: bold;
}

.btn-filepick
{
    background-color: #ccc;
}
.btn-filepick:hover
{
    background-color: #999;
}




/*spinner and container*/
#spinnerContainer {
    position: absolute;
    width: 100vw; 
    height: 100vh;
    background-color: #000000;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.6;
    z-index: 999999999999;
    text-align: center;
    vertical-align: middle;
    top: 0;
    display: none;
}
.nrd-loader {
  margin: 0em auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 2em solid rgba(255, 255, 255, 0.2);
  border-right: 2em solid rgba(255, 255, 255, 0.2);
  border-bottom: 2em solid rgba(255, 255, 255, 0.2);
  border-left: 2em solid #ffffff;
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.nrd-loader, .nrd-loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}




.vertical-divider {padding-right: 10px; border-right: 1px solid #ccc; margin-right: 10px;}

/*owner changes*/
td.SavedIcon {color: #99cc99;}
td.DiscardedIcon {color: #ff9999;}
a.owner-change {cursor: pointer; text-decoration: none;}
.noHover, .noHover:hover, .noHover tr, .noHover tr:hover { background-color: transparent!important;}


/* WIDTHS */
.w50 {width: 50px;}  .w60 {width: 60px;}  .w70 {width: 70px;}  .w80 {width: 80px;}  .w90 {width: 90px;}  
.w100 {width: 100px;} .w110 {width: 110px;} .w120 {width: 120px;} .w130 {width: 130px;} .w140 {width: 140px;} .w150 {width: 150px;} .w160 {width: 160px;} .w170 {width: 170px;} .w180 {width: 180px;} .w190 {width: 190px;} 
.w200 {width: 200px;} .w210 {width: 210px;} .w220 {width: 220px;} .w230 {width: 230px;} .w240 {width: 240px;} .w250 {width: 250px;} .w260 {width: 260px;} .w270 {width: 270px;} .w280 {width: 280px;} .w290 {width: 290px;} 


/* HEADER 
h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    color: #666;
    margin-bottom: 20px;
}*/


.dt-button {text-decoration: none; font-size: 13px;background-color: #f5f5f5;
 border: 1px solid #CCC;
 border-radius: 3px;
 color: #333;
 padding: 3px 5px 3px 5px; display: inline-block;
 white-space: nowrap;}
.dt-button:hover {
    text-decoration: none;
 background-color: #EBEBEB;
 border-color: #ADADAD;}

/*highlight flagged datatable rows*/
.flaggedMeterReading > td {
    background: #f2dede;
}