﻿/* http://harvesthq.github.io/chosen/*/

html, body {
    /*height: 95%;*/
}

* {
    outline: none;
}

body
{
    font-family: Arial, Verdana;
    font-size: 9pt;
    /*display: table-cell;*/
    vertical-align: middle;
    margin:0;
    padding:0;

}

*, *:before, *:after {
    box-sizing: border-box;
}

ul { list-style: none; }

select {
    width:200px;
}

option:hover{
background:blue;
}


input, textarea {
    border-radius: 3px;
    width:200px;   
    border:1px solid #cccccc;   
    padding:0px 7px;     
}

input {
    height:24px;
}

input[type='checkbox'] {
    height:16px;
}

.smallInput, .smallInputDate {
    width: 200px;
}

.tdbutton {
    width:25px;
}

.menu {
    font-weight:bold;
    font-size:8.5pt;
}

.subHeader {
    text-decoration:underline;
    font-weight:bold;
}

table {
    border-collapse:collapse;
    width:100%;
    border: 1px solid #cccccc;
    border-collapse: collapse;
    border-radius: 15px;
    margin-bottom: 10px;
    margin-top: 10px;    
}

table td {
    
    border-top: 1px solid #cccccc;
    padding: 3px 20px;
}

table td:first-child {
    width:50%; 
     border-top: 1px solid #cccccc;
}

#mainDiv {
    width: 984px;    
    margin: 0 auto 100px;
    background-color:White;
    padding:20px;
    border-radius: 3px;
    text-align:center;
}

#tabs {
    text-align:left;  
    background-color: rgb(233,233,233); 
}

.mainTab {
    background-image: url("../images/tab-screen-sliced_17.jpg");
    background-size: 100% auto;
    
    background-repeat: no-repeat;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 12px;
    background-color:lightgrey;
}

.mainText {
    font-size:1.3em;
    padding:25px;
    padding-top:5px;
}

.main {
   background-image: url('../images/dairy-bkgd-pic.jpg');
   /*background-attachment: fixed;*/
   background-size:cover;
    width: 100%;
    min-height: 100vh;
    /*max-height: 100%;*/
    position: absolute;
    /*top: 120px;*/
    left: 0;
    margin: 0 auto;
	background-position: center;
    min-width: 984px;
}

.bannerwrap {
    width: 100%;
    width: 100vw;
    height: 120px;
    background-color: white;
    margin-bottom: 20px;
    min-width: 984px;
}

.banner {
    border: 0 none;
    margin: 0 auto;
    /*position: absolute;*/
    padding-top: 10px;
    text-align: center;
    /*top: 20px;*/
    left: 15%;
    width: 70%;
}


.copyright {
    background-color: white;
    background-size: cover;
    bottom: 0;
    font-size: 0.9em;
    height: 75px;
    left: 0;
    padding-top: 19px;
    text-align: center;
    width: 100%;
    position: absolute;
}


.bigTable {
     border:none;
     width:100%;
     margin-top:-10px;
}

.bigTable td {
    border:none !important;
    width:50%;     
    vertical-align:top;
}


input[type="file"] {
    display: none;
}
.importButton {
    height: 32px;
    display: inline-block;
    margin-top: 10px;
    line-height: 32px;
}
.importButton .fa {
    margin-left: 15px;
}

.resultTable, .NSummaryTable {
     border:none;
     width:100%;
     border-collapse:collapse; 
     padding:0px; 
}

/*#riskRunOffLG, #riskDrainageLG, #riskDeNLG, #riskRunOffLGS2, #riskDrainageLGS2, #riskDeNLGS2{
    padding-left: 130px;
}*/

.resultTable td, .NSummaryTable td {
    border:none !important;
    width:100% !important;  
    vertical-align:top;
	border-top:none;
}

.dialTable {
    width:90%; 
    left:5%;
    position:relative;
    border:none;     
     border-collapse:collapse; 
}

.dialTable td {
    border:none !important;    
    vertical-align:top;
	border-top:none;
    text-align:center;
}

.dialTable td:first-child {
    width: auto;
}

.NSummaryTable td:first-child {
    width:65% !important;  
}

.NSummaryTable td {
    text-align:left;
}

#info {
    
}

.tdheader {
    font-weight:bold;
    /*width:50%;*/
}


/* Fix 100% width */
.chosen-container, .chosen-drop, .chosen-drop .chosen-search, .chosen-drop .chosen-search input {
  width: 100% !important;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Override width */
.chosen-container { width:200px !important; }

.datepick-month-year {
    width:auto;
}

.datepick-month td:first-child {
    width:auto;      
}

/*#NSWWidgetLast_svg, #NGWWidgetLast_svg, #NDNWidgetLast_svg {
    width:204px;
}*/



/*.widget td {
    width:33.3% !important;
    padding:0;
    margin:0;
}*/

.ui-datepicker-calendar td:first-child {
    width: auto !important;
    border-top: none !important;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor{
    padding: 0;
     border: 0 none;
}

.ui-tabs .ui-tabs-nav {
    padding: 0;
     border: 0 none;
}

.ui-tabs {
    padding: 0;
     border: 0 none;
}

.ui-tabs .ui-tabs-nav li {
    border-top: 0;
    border-right:0;
    border-left:0;
    margin:0;
}

li {
    padding:0; margin:0;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    padding:0;   
}


#dairyMainTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-top-dairy-on.jpg');
   width:470px;
   height:35px;
   display: inline-block;
}

#dairyMainTab span {
    background-image: url('../images/Dairy/tab-top-dairy-off.jpg');
     width:470px;
   height:35px;
   display: inline-block;
}


#grainMainTab.ui-tabs-active span {
   background-image: url('../images/Grain/tab-top-grain-on.jpg');
   width:470px;
   height:35px;
   display: inline-block;
}

#grainMainTab span {
    background-image: url('../images/Grain/tab-top-grain-off.jpg');
     width:470px;
   height:35px;
   display: inline-block;
}

.calculateBtn {
    background-image: url('../images/calculate-risk.jpg');
    display: inline-block;
    height: 55px;
    width: 232px;
    cursor:pointer;
}

.calculateBtn:hover {
    background-image: url('../images/calculate-risk-rollover.jpg');
}

.saveBtn {
    background-image: url('../images/save-risk.jpg');
    display: inline-block;
    height: 55px;
    width: 232px;
    cursor:pointer;
}

.saveBtn:hover {
    background-image: url('../images/save-risk-rollover.jpg');
}


#dairyLocationTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-1-on.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyLocationTab span {
   background-image: url('../images/Dairy/tab-1-off.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyBlkTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-2-on.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyBlkTab span {
   background-image: url('../images/Dairy/tab-2-off.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyPastureAnimalTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-3-on.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyPastureAnimalTab span {
   background-image: url('../images/Dairy/tab-3-off.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}


#dairyFertTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-4-on.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyFertTab span {
   background-image: url('../images/Dairy/tab-4-off.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}


#dairyEffluentTab.ui-tabs-active span {
   background-image: url('../images/Dairy/tab-5-on.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#dairyEffluentTab span {
   background-image: url('../images/Dairy/tab-5-off.jpg');
   width:185px;
   height:42px;
   display: inline-block;
}

#tabs-a, #tabs-b, .assessList {
    padding:7px 7px 7px;
    margin:0;
    background-color:rgb(233, 233, 233);
}

.assessList {
    background-color: white;
    min-height:250px;
    width: 98%;
    margin:0 auto;
    border-radius: 5px;
}

.assessList .bigTable {
    border-radius: 15px;
    border:1px solid #cccccc;   
    padding: 10px;
}

#grainAssessment, #ui-id-2 {
    display:none;
}

#grainAssessment, #dairyAssessment {
    padding-bottom: 15px;
}

.assessList table {
    width:75%;margin:0 auto
}

.assessList table td:not(:first-child) {
    width:15%;
}


.errorMsg {
    display:none;
    color:red;
}


.tblNoBorder {
    /*border: 0px;
    padding:0px;*/
    /*margin: 0px -20px;*/ 
}

label input[type='checkbox']  {
  width: 20px;
  height: 13px;
  padding: 0;
  margin:0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
}

label {
  /*display: block;*/
  padding-left: 15px;
  text-indent: -15px;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    text-align: center;
    float: none !important;
} 

button {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    -moz-user-select: none;
    -x-system-font: none;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(251, 139, 1, 0.81);
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-bottom-color: currentcolor;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-style: solid;
    border-bottom-width: 0;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: currentcolor;
    border-left-style: solid;
    border-left-width: 0;
    border-right-color: currentcolor;
    border-right-style: solid;
    border-right-width: 0;
    border-top-color: currentcolor;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-top-style: solid;
    border-top-width: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: default;
    display: inline-block;
    font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    font-feature-settings: inherit;
    font-kerning: inherit;
    font-language-override: inherit;
    font-size: 17px;
    font-size-adjust: inherit;
    font-stretch: inherit;
    font-style: inherit;
    font-synthesis: inherit;
    font-variant-alternates: inherit;
    font-variant-caps: inherit;
    font-variant-east-asian: inherit;
    font-variant-ligatures: inherit;
    font-variant-numeric: inherit;
    font-variant-position: inherit;
    font-weight: 400;
    height: auto;
    letter-spacing: 0;
    line-height: 32px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    /*padding-bottom: 4px;*/
    padding-left: 10px;
    padding-right: 10px;
    /*padding-top: 4px;*/
    position: relative;
    text-decoration-color: -moz-use-text-color;
    text-decoration-line: none;
    text-decoration-style: solid;
    text-overflow: ellipsis;
    transition-delay: 0s;
    transition-duration: 0s;
    transition-property: none;
    transition-timing-function: ease;
    vertical-align: middle;
    white-space: nowrap;
    cursor:pointer;
}

button:hover {
    background-color: rgba(253, 113, 0, 0.81);
}

.backBtn {   
    margin-left: 40px;
    margin-right: -70px;
}


#grainLocationTab.ui-tabs-active span {
   background-image: url('../images/Grain/tab-1-on.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

#grainLocationTab span {
   background-image: url('../images/Grain/tab-1-off.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

#grainBlkTab.ui-tabs-active span {
   background-image: url('../images/Grain/tab-2-on.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

#grainBlkTab span {
   background-image: url('../images/Grain/tab-2-off.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

#grainFertTab.ui-tabs-active span {
   background-image: url('../images/Grain/tab-3-on.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

#grainFertTab span {
   background-image: url('../images/Grain/tab-3-off.jpg');
   width:193px;
   height:42px;
   display: inline-block;
}

.ui-widget-overlay.custom-overlay
{
    background-color: black;
    background-image: none;
    opacity: 0.7;
    z-index: 1040;    
}

.em {
    color:red;
}

.ui-widget-content {
    background-image: none !important;
}

button i {
    font-size: 16px !important;
}

.biggerIcon, .fa-caret-down, .fa-caret-up, .fa-info-circle {
    font-size:19px !important
}

.border {
    border: 1px solid #cccccc;
    padding: 10px;
}

.periodDate {
    font-size: 12px;     
}

.S2 {
    color: blue;
    display:none;
}

.NSummary {
    width:95%; 
    margin:0 auto;
}
.NSummaryIndGraph {
    width:100%;
}
.NSummaryInd, .NSummaryIndGraph {
    border: 0px;
}

.NSummaryInd td, .NSummaryIndGraph td {
    border: 0px;
    padding:3px 1px;
}

.NSummaryInd td:first-child {
    border: 0px;
    width:auto;
}

.grazingStatus {
    text-align:left;
    font-weight:bold;
}

.GrainSummary {
    width: 90%;
    margin: 0 auto;
    border:0px;
}

.GrainSummary td, .GrainSummary td:first-child {
    border:0px;
    width:33.3%
}

.fa-plus {
    font-size: 14px !important;
}

.alignCenter {
    text-align:center;
}

.verticalMiddle {
    position: relative;
    top: 50%; 
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}


.NSummaryIndGraph td:first-child {
    border: 0px;
    width:50% !important;
}
.NSummaryIndGraph td:last-child {
    border: 0px;
    width:50% !important;
}

.nameDairy {
    color:black;
}

.fa-arrow-left {
    float:right;    
    /*font-size:19px !important;*/
}

.fa-arrow-right {
    float:left;    
    /*font-size:19px !important;*/
}

.datepick-month-header select:last-child { display:none; }


fieldset {
    width:75%;    
    margin: auto;
    border-radius: 10px; 
    border:1px solid #cccccc; 
    padding: 10px;
}

fieldset legend {
    font-weight:bold;
    margin-left: 10px;
}