@charset "ISO-8859-1";

/*
 *  NMPT - tracking of manure generation and application for farm operations.
 *   
 *  Copyright (C) 2013-2024  Thomas Hatley
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

body {
    margin: 0;
    padding: 0;
}

#banner {
	margin-right:0;
    margin-top:0;
    border-collapse: collapse;
}

#bannerContent {
    border-collapse: collapse;
    width: 100%;
}

#bannerTitle {
    font-size: xx-large;
    margin-left:0px;
    text-align: left;
}

.filterTitle {
    padding-left:2em;
    padding-right:0.5em;
    font-weight:bold;
}

.navlink {
    width:100%;
}

.img_logo {
    /* height:120px; */
    /* height: 17vh; */    width: 15em;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

#bannerLinkBox {
    float:right;
}

#fillBlock {
	margin-left:auto;
	margin-right:auto;
	border-collapse: separate;
}

#navbar {
    bottom: 0;
	vertical-align: middle;
    width:180px;
    padding-top: 10%;
    padding-right: 0px;
    /* 120 = height of logo_img 
    height: calc(100vh - 136px); */
    height:79vh;
    float:left;	
    margin-top:0;
    margin-left:0;
    border-collapse: collapse;
    border:none;
}

#navbar ul{
	width:100%;
    list-style: none;
}

#navbar li a:link, #navbar li a:visited {
    font-size:105%;
    display:block;
    margin-bottom: 1px;
    padding: 0.4em 0 0.4em 0.5em;
    border-left: 12px;
    text-decoration:none;
}

#helpNav {
    bottom: 0;
    vertical-align: middle;
    width:180px;
    padding-top: 10%;
    padding-right: 0px;
    /* 120 = height of logo_img 
    height: calc(100vh - 136px); */
    height:79vh;
    float:left; 
    margin-top:0;
    margin-left:0;
    border-collapse: collapse;
    border:none;
    background-image: none;
}

#helpLinks {
    margin-left: 0.4em;
}

#helpLinks ul {
    width:100%;
    list-style: none;
    /* background-image: none; */
    padding-left:0em;
    border: none;
}

#helpLinks li a:link, #helpNav li a:visited {
    font-size:105%;
    display:block;
    margin-bottom: 1px;
    padding: 0.4em 0 0.4em 0.5em;
    border-left: 12px;
    text-decoration:none;
}

.help-video-button {
	margin-left: .5em;
	padding: 0;
	background: red !important;
}

.help-video-icon {
	margin-left: .5em;
	padding: 0;
}

.help-video-link {
    cursor: pointer !important;
    padding: 0 !important;
}


#login ul {
	padding-left: .4em; 
	width:auto;
}

#login li label, #login li a {
	border:none;
}

#login li input {
	margin-bottom: 1em;
}

#login li a:link, #login li a:visited {
	padding:0.4em 0 0.4em 0.5em;
}

#content {
	vertical-align:top;
	padding-left:2em;
	margin-right: 0;
    margin-left:0;
    border:none
}

#mainBody {
}

.editButtons, .editButtons td {
	border-style:none !important;
}

.greeting {
	width:85%;
}

.pageHeader h2 {
	font-weight: bold;
    margin-top: .25em;
    margin-bottom: .5em;
}

.itemName {
	padding-left: 1em;
	text-align: left;
}

.calendarClass input {
    width: 7em !important;
}

.shortText {
	width:3em;
}

.medText {
    width:8em;
}

.medText-inline {
	display:inline-block;
	min-width: 4em;
	min-height: 1em;
	padding: 4px;
}

.notAllowed {
	cursor:not-allowed;
}

.longText {
	display:block;
    width:12em;
}

.calc-table td:nth-child(1) {  
  text-align:right;
}

.functionBar {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* used anymore?? */
.nmpt-table {   
    /* background-color: #285c00; */
    border-collapse:collapse;
    text-align:center;
    margin-bottom:2em;
}

.nmpt-new-table td:nth-child(1) {  
  text-align:left;
}

.row-editor {
	float:right; 
	display:inline-block;
}

.nmpt-table-title {
	text-align:center;
	display:block;
	font-size: large;
	font-weight: bold;
}

.nmpt-tabs {
    width: fit-content;
    text-align: center;
}

.filter-table-header {
    min-height:1.5em;
    vertical-align:middle;
}

.ui-state-highlight .ui-icon {
    background-image: url("/jakarta.faces.resource/images/ui-icons_111111_256x240.png.xhtml?ln=primefaces-nmpt&v=14.0.12") !important;
}

.ui-widget, .ui-widget .ui-widget {
    font-size: 95% !important;
}

.ui-selectonemenu {
	text-align: left;
	padding-right: 2em;
}

.ui-datatable table {
	text-align:center;
}

.ui-tabs-panel {
	width:fit-content;
}

.ui-datepicker-year {
	text-decoration: underline blue;
}

.nmp-planning-datepicker .ui-datepicker-year {
	display: none;
}

.ui-button .ui-icon-pdf {
   background-image: url('images/pdf.png.xhtml?ln=core') !important;
   background-repeat: no-repeat !important;
}

.no-grid td {
	border:none;
}

.nmpt-fieldset {
	vertical-align:top;
	border:none;
}

.nonstandard {
    font-weight:bold;
    font-style:italic
}
/*
.systemMsgHdr {
    width:100%;
    text-align:center;
}

.systemMessagesHdr {
  width:100%;
}

.systemMessagesHdr tr td:nth-child(1) {
  width:30%;
}

.systemMessagesHdr tr td:nth-child(2) {
  width:70%;
  text-align:center;
  padding-right:20%;
}*/

.systemMessages {
    width:50em;
    height: 50%;
}

/*
.systemMessages td:nth-child(1) {
    padding-left:5%;
}

.systemMessages td:nth-child(2) {
    padding-left:10%;
}

.systemMsg {
    text-align: left;
}
*/

.equipmentTable td:nth-child(1) {  
  text-align:left;
}

.newEquipmentTable {
    margin-bottom:2em;
}

.newEquipmentTable th:nth-child(3) {
    width:6em;
}

.newEquipmentTable th:nth-child(4) {
    width:9em;
}

.newFieldTable {
    margin-bottom:2em;
}

.newFieldTable th:nth-child(1) {
    width:16em;
}

.newFieldTable th:nth-child(2) {
    width:16em;
}

.newFieldTable th:nth-child(3) {
    width:6em;
}

.newFieldTable th:nth-child(4) {
	width:16em;
}

.newFieldTable th:nth-child(5) {
	width:8em;
}

.newFieldTable td:nth-child(1) {
    width:20em;
}

.newFieldTable td:nth-child(2) {
    width:20em;
}

.newFieldTable td:nth-child(3) {
    width:8em;
}

.reportButton {
    width:100%;
    height: 3em;
}

.reportTable {
    max-width:65em;
}

.reportTable td {
	padding:.25em;
}

.soilsTable tbody td {
	padding-left:0 !important;
	padding-right:0 !important;
}

.soilShortCol {
	width:3em;
}

.soilMenu {
	width:auto !important;
	font-size: 85% !important;
}

.soilShortCol table {
	border-style:hidden;
}

.soilSample {
	width:18em !important;
}

.soilSample td:nth-child(1) {
    width:5em;
}

.sampleDetails tr td {
	border-style: none !important;
}

.soilColumn {
	border: inset;
	width: 14em;
}

.soilsText {
    width:5em;
    padding: 0em !important;
}

.soilSample tr td {
    border-style: solid !important;
}

.soil-widget-hdr {
	width:4em;
	padding: 0em !important
}

.soilDetailHdr {
	width: 5em;
    display: block;
    text-align: left;
    padding-left: 4px;
}

.soilsText table {
    border-style:hidden;
}

.worksheet {
	margin-top: 2%;
}

.no-border, .no-border tr td {
	border-style: hidden !important;
}

.tfDetails, .sfDetails {
	vertical-align:top
}

.storageCell {
	padding:0px 2px !important;
}

.rotate90 {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);  
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.verticalHeader th .rotate90 {
    height: 120px;
}

.confirmDelete .ui-icon-alert {
    background-image: none !important;
}

.confirmDelete .ui-confirm-dialog-message {
    display: block !important;
}

.storageCalcs {
	text-align: center !important;
}

.storageCalcs tr {
	height: 3em;
}

.solidsCalcsTotal tr:nth-child(2) td:nth-child(2) {
	background-color:#fffc9c;
	font-weight: bold;
}

.liquidsCalcsTotal tr:nth-child(3) td:nth-child(2) {
	background-color:#fffc9c;
	font-weight: bold;
}

.calc-totals {
	font-weight: bold;
}

.utilize-exports {
	border-collapse: inherit;
	border: none !important;
	width: auto !important;
}

.utilize-exports tr td {
    border-collapse: inherit;
    border: none !important;
}

/* popup table on storage calcs - solids table */
.nmp-help-table, .nmp-help-table thead th, .nmp-help-table td {
	border: solid 1px;
}

.nmp-help-table thead th {
	background-color:#bfe6bd ;
	font-weight: bold;
}

.nmp-help-table tr td:nth-child(2)  {
	padding-left:2em;
	width: 14em;
}

.nmp-embedded-table {
	width: 100%;
}

.nmp-embedded-table, .nmp-embedded-table td {
	border-style:none;	
}

.nmp-embedded-table tr td:nth-child(1) {
	width: 9em;
}

.padlock .ui-chkbox .ui-chkbox-box {
	border-style:none !important;
}

.utilization-lock, .utilization-lock td {
	border-style:none !important;
	width:auto !important;
	margin:auto;
	background-color: inherit;
	padding: 0 !important;
}

.utilization-lock .ui-chkbox .ui-checkbox-box {
    background-color: inherit !important;
    border: hidden !important;
} 

.utilization-locked, .utilization-locked .ui-chkbox-icon {
    border:hidden;
    background-color: white;
}

.utilization-unlocked, .utilization-unlocked .ui-chkbox-icon {
    border:hidden !important;
    background-color: white;
}

.utilization-locked .ui-chkbox-icon {
    background-position: -128px -64px !important;
}

.utilization-unlocked .ui-chkbox-icon {
    background-position:  -96px -128px !important;
}

.printableText {
    display: none;
}
    

@media print {
	
	.printableText {
        display: inline;
    }
    

	.planningMap {
        display: block !important;
        width: auto !important;
        max-width: 850px !important;
        margin-top: 100px;
        margin-left: auto;
        margin-right:auto;
    }
    
    .planningMap image {
        width: 90% !important;
        height: auto !important;
        max-width: 850px;
        margin-top: 100px;
        margin-left: auto;
        margin-right:auto;
    }
}

