body {
  height: calc(100vh - 40px);
}
.content {
  width: 100%;
  min-height: calc(100vh - 120px);
}
.footer {
  border-top: 1px solid #ddd;
  padding: 15px 0;
  margin-top: 15px;
  clear: both;
  display: block; 
}

.bottomFix {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.tab-content {
  overflow: visible;
}

.tablewrapper .tab-content {
  display: inline-block !important;
}

table.mlp_livestock td{
  padding-bottom: 10px;
  padding-right: 20px;
}

.labeled-chart-container {
  display: inline-block;
  position: relative;
  overflow: auto;
  height: auto;
  width: auto;
}
.canvas-holder {
  float: left;
  display: inline-block;
  position: relative;
}
.doughnut-legend {
	display: inline-block;
	width: auto;
	margin-left: 50px;
  list-style: none;
}
.doughnut-legend li {
  display: block;
  padding-left: 30px;
  position: relative;
  margin-bottom: 4px;
  border-radius: 5px;
  padding: 2px 8px 2px 28px;
  /*font-size: 14px;*/
  cursor: pointer;
  -webkit-transition: background-color 200ms ease-in-out;
  -moz-transition: background-color 200ms ease-in-out;
  -o-transition: background-color 200ms ease-in-out;
  transition: background-color 200ms ease-in-out;
}
.doughnut-legend li:hover,
.doughnut-legend li:focus {
	background: #ddd;
}
.doughnut-legend li span {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 23px;
  border-radius: 5px;
}
.doughnut-legend-text {
  position: relative;
  z-index: -10;
}
.sortable {
  cursor: pointer;
}
.sortable.active {
  background: #ddd;
}
.dropdown-menu .divider {
  height: 2px;
}
.text-right {
  text-align: right !important;
}
#Zone-Caption {
  margin-top: 5px;
  display: block;
}
.company-lock-toggle {
  margin-top: -13px;
}
.crop-indicator {
  display: inline-block !important; 
  margin-top: -10px; 
  width: 15px; 
  height: 17px;
}
@media(min-width: 550px) {
  .eqp-remove,
  .crop-remove {
    display: inline-block; 
    visibility:hidden; 
    margin-top: -3px;
    margin-left: 10px;
    position: absolute;
  }
}

.equipment-row:hover .eqp-remove,
.crops-table tr:hover .crop-remove {
  visibility: visible;
}
.comment-actions {
  margin-top: 5px;
}
.datepicker.dropdown-menu {
  z-index: 1051;
}
.negative,
.negative td {
  background-color: #fb0000 !important;
  color: #fff;
}
.negative .table-input,
.negative .editable {
  color: #fb0000 !important;
}

@media(max-width:1322px) {
  /*.span6 {*/
  /*  display: block !important;*/
  /*  width: 100% !important;*/
  /*  clear: both !important;*/
  /*  margin-left: 0 !important;*/
  /*}*/
}

.risk-row {
  overflow: auto;
}

.risk-row,
.family-members input,
.family-income input,
.client-reputation input,
.supply-row input,
.risk-row input {
  margin-bottom: 5px;
}

.family-members-row .remove,
.family-income-row .remove,
.client-reputation .remove,
.level2data .remove,
.mgr-emails .remove {
  position: absolute;
  margin-top: 1px;
  visibility: hidden;
}

.risk-row:hover .remove,
.family-members-row:hover .remove,
.family-income-row:hover .remove,
.client-reputation:hover .remove,
.level2data:hover .remove,
.mgr-emails p:hover .remove {
  visibility: visible;
}

.risk-row .span6.last {
  margin-left: 4px;
}

.supply-row,
.risk-row,
.lh-row {
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 5px 0;
  overflow: auto;
}
.supply-row:first-child,
.lh-row:first-child,
.risk-row:first-child{
  border-top: none;
}

.eqp-info {
  display: none;
}
.detail-view th {
  width: 35%;
}

.web-hidden {
  display: none;
}

.input-append .add-on, .input-prepend .add-on {
  height: inherit;
  width: 32px;
}

.input-append .btn,
.input-prepend .btn {
  height: 29px;
}

.file-label {
  cursor: pointer;
  border: #ddd 1px solid;
  height: 29px;
  line-height: 29px;
}

input[type="file"].file {
  /*z-index: -1;*/
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}


@media(max-width: 1024px) {
  #loan_history .lh-row > div {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  
}

@media(max-width: 979px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: none;
  }
  .dropdown-submenu.open > .dropdown-menu {
    display: block !important;
  }
  .dropdown-submenu.active a{
    color: #fff;
  }
  
  .dropdown-toggle-collapsed{
    display: inline-block;
    padding: 5px;
    color: #fff !important;
    border: 1px solid #fff;
  }
}

.modal-wide,
.modal-medium {
  height: 80%;
  width:100%;
  left:0%;
  right:0%;
  margin-left: auto;
  margin-right: auto;
}

.modal-medium .modal-body {
  max-height: 100%;
  height: 100%;
}

@media(min-width: 769px) {
  .modal-wide {
    width: 80%;
    left:10%;
    right:10%;
    width: 60%;
    left: 20%;
    right: 20%;
  }
  .modal-wide .modal-body {
    height: 90%;
    top: 0;
    bottom: 10%;
  }
  .modal-medium {
    width: 60%;
    left: 20%;
    right: 20%;
    height: 60%;
  }
}

/*
* Navbar settings
*/
#cssmenu * {
  margin: 0;
  padding: 0;
  text-decoration: none
}

.logo {
  position: relative;
  z-index: 123;
  padding: 10px 20px;
  text-align: center;
  width: 100px;
  font: 18px verdana;
  color: #6DDB07;
  float: left;
  line-height: 44px;
}

.logo a {
  color: #777;
  text-shadow: 0 1px 0 #fff;
}

nav {
  position: relative;
  width: 980px;
  margin: 0 auto;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #head-mobile {
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0
}

#cssmenu #head-mobile {
  display: none
}

#cssmenu {
  width: 100%;
  font-family: sans-serif;
  margin-bottom: 20px;
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
  background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
  background-image: -o-linear-gradient(top,#fff,#f2f2f2);
  background-image: linear-gradient(to bottom,#fff,#f2f2f2);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  box-shadow: 0 1px 4px rgba(0,0,0,0.065);
}

#cssmenu > ul > li {
  float: left
}

#cssmenu > ul > li > a {
  padding: 17px;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;
}

#cssmenu > ul > li:hover > a,
#cssmenu ul li.active > a {
  color: #fff;
}

#cssmenu > ul > li:hover,
#cssmenu ul li.active:hover,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:hover {
  color: #fff !important;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top,#08c,#0077b3);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
  background-image: -webkit-linear-gradient(top,#08c,#0077b3);
  background-image: -o-linear-gradient(top,#08c,#0077b3);
  background-image: linear-gradient(to bottom,#08c,#0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradie;
}

#cssmenu > ul > li.has-sub > a {
  padding-right: 30px
}

#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #000;
  content: ''
}

#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #000;
  content: '';
  -webkit-transition: all .25s ease;
  -ms-transition: all .25s ease;
  transition: all .25s ease
}

#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0
}

#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  z-index: 1000;
}

@media(min-width: 1000px) {
  #cssmenu ul ul {
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
  }
}

#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -ms-transition: all .25s ease;
  /*background: #f2f2f2;*/
  transition: all .25s ease
}

#cssmenu ul ul li:hover {}

#cssmenu li:hover > ul {
  left: auto;
  background: #f2f2f2;
}

#cssmenu li:hover > ul > li {
  /*min-height: 35px;*/
  height: auto;
}

#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0
}

#cssmenu ul ul li a {
  padding: 0 15px;
  width: 250px;
  font-size: 12px;
  text-decoration: none;
  color: #000;
  font-weight: 400;
  line-height: 30px;
}

#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #fff !important;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top,#08c,#0077b3);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
  background-image: -webkit-linear-gradient(top,#08c,#0077b3);
  background-image: -o-linear-gradient(top,#08c,#0077b3);
  background-image: linear-gradient(to bottom,#08c,#0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradie;
}

#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #000;
  content: ''
}

#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #000;
  content: '';
  -webkit-transition: all .25s ease;
  -ms-transition: all .25s ease;
  transition: all .25s ease
}

#cssmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0
}

#cssmenu ul ul li.has-sub:hover:not(.diver),
#cssmenu ul li.has-sub ul li.has-sub ul li:hover:not(.devider) {
  color: #fff !important;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top,#08c,#0077b3);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#08c),to(#0077b3));
  background-image: -webkit-linear-gradient(top,#08c,#0077b3);
  background-image: -o-linear-gradient(top,#08c,#0077b3);
  background-image: linear-gradient(to bottom,#08c,#0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradie
}

#cssmenu ul ul ul li.active a {
    border-left: 1px solid #333
}

#cssmenu > ul > li.right {
  float: right;
}

#cssmenu li.right:hover > ul,
#cssmenu li.right li:hover > ul {
  right: 0;
}

#cssmenu li.right ul ul {
  margin-right: 100%;
}

#cssmenu li.divider {
  height: 2px !important;
  min-height: 2px !important;
  margin: 1px;
  overflow: hidden;
  background-color: #e5e5e5;
  border-bottom: 1px solid #fff;
  line-height: 2px;
}

@media screen and (max-width:1000px) {
    .logo {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 46px;
      text-align: center;
      padding: 10px 0 0 0;
      float: none;
      line-height: 44px;
    }
    .logo2 {
        display: none
    }
    nav {
        width: 100%;
    }
    #cssmenu {
        width: 100%
    }
    #cssmenu ul {
        width: 100%;
        display: none;
    }
    #cssmenu ul li {
        width: 100%;
        border-top: 1px solid #ddd;
    }
    #cssmenu ul li:hover {
        background: #ddd;
    }
    #cssmenu ul ul li,
    #cssmenu li:hover > ul > li {
        height: auto
    }
    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0
    }
    #cssmenu > ul > li {
        float: none
    }
    #cssmenu ul ul li a {
        padding-left: 25px
    }
    #cssmenu ul ul li {
        /*background: #333!important;*/
    }
    #cssmenu ul ul li:hover {
        /*background: #363636!important*/
    }
    #cssmenu ul ul ul li a {
        padding-left: 35px
    }
    #cssmenu ul ul li a {
        color: #000;
        background: none
    }
    #cssmenu ul ul li:hover > a,
    #cssmenu ul ul li.active > a {
        color: #fff;
    }
    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left
    }
    #cssmenu > ul > li.has-sub > a:after,
    #cssmenu > ul > li.has-sub > a:before,
    #cssmenu ul ul > li.has-sub > a:after,
    #cssmenu ul ul > li.has-sub > a:before {
        display: none
    }
    #cssmenu #head-mobile {
        display: block;
        padding: 23px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700
    }
    .button {
        width: 55px;
        height: 46px;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        z-index: 1040;
    }
    .button:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        content: ''
    }
    .button:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #ddd;
        content: ''
    }
    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #ddd;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg)
    }
    .button.menu-opened:before {
        top: 23px;
        background: #ddd;
        width: 19px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid #ddd;
        height: 46px;
        width: 46px;
        cursor: pointer
    }
    #cssmenu .submenu-button.submenu-opened {
        /*background: #262626*/
    }
    #cssmenu ul ul .submenu-button {
        height: 34px;
        width: 34px
    }
    #cssmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #000;
        content: ''
    }
    #cssmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px
    }
    #cssmenu .submenu-button.submenu-opened:after {
        background: #000;
    }
    #cssmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #000;
        content: ''
    }
    #cssmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px
    }
    #cssmenu .submenu-button.submenu-opened:before {
        display: none
    }
    #cssmenu ul ul ul li.active a {
        border-left: none
    }
    #cssmenu > ul > li.has-sub > ul > li.active > a,
    #cssmenu > ul ul > li.has-sub > ul > li.active > a {
        border-top: none
    }
}

.excel-data-preview .highlight td {
  background: #ddd;
}

#add-herd .nav-tabs a i {
  display: none;
}

/*
* Custom CLARA icons
*/
.icon-cow {
  background: url('img/icons/icon-cow.png') no-repeat center;
  background-size: contain;
}

.icon-bull {
  background: url('img/icons/icon-bull.png') no-repeat center;
  background-size: contain;
}

.icon-sheep {
  background: url('img/icons/icon-sheep.png') no-repeat center;
  background-size: contain;
}

.icon-goat {
  background: url('img/icons/icon-goat.png') no-repeat center;
  background-size: contain;
}

.icon-broiler {
  background: url('img/icons/icon-broiler.png') no-repeat center;
  background-size: contain;
}

.icon-chicken {
  background: url('img/icons/icon-chicken.png') no-repeat center;
  background-size: contain;
}

.icon-turkey {
  background: url('img/icons/icon-turkey.png') no-repeat center;
  background-size: contain;
}

.icon-yak {
  background: url('img/icons/icon-yak.png') no-repeat center;
  background-size: contain;
}

@media (max-width: 480px) {
  #add-herd {
    max-width: 100%;
  }
  
  #add-herd .nav-tabs a span {
    display: none;
  }
  
  #add-herd .nav-tabs a i {
    display: block;
  }

  #add-herd .nav-tabs a i {
    padding: 15px;
  }
  
  .tabs-left>.nav-tabs>li>a, 
  .tabs-right>.nav-tabs>li>a {
    min-width: 56px;
  }
}

input.editable-input {
  display: none;
}

.cows-accordion,
.cows-accordion .accordion-group {
  border: none;
}

.table-quests tfoot th,
.table-changes tfoot th{
  line-height: 14px;
}

.table-quests .search-col,
.table-changes .search-col {
  text-align: right !important;
}

.table-quests .pager-col span.pages-compact,
.table-changes .pager-col span.pages-compact {
  display: none !important;
}

@media (max-width: 767px) {
  .table-quests .pager-col span.pages-full,
  .table-changes .pager-col span.pages-full {
    display: inline !important;
  }
  .table-quests .search-col,
  .table-changes .search-col {
    padding-top: 10px !important;
    text-align: left !important;
  }
  .table-quests .process-col,
  .table-changes .process-col {
    display: none !important;
  }
}

@media (max-width: 425px) {
  .table-quests .pager-col span.pages-full,
  .table-changes .pager-col span.pages-full {
    display: none !important;
  }
  .table-quests .pager-col span.pages-compact,
  .table-changes .pager-col span.pages-compact {
    display: inline !important;
  }
}

.table-quests span.productions img {
    width: 16px;
    margin-left: 2px;
    text-decoration: none;
}

.table-changes {
  width: 100%;
}
.table-changes .changes-col {
  max-width: 400px;
  max-height: 400px;
}

.table-changes .changes-col .changes-col-content {
  width: 100%;
  max-height: 400px;
  overflow-y: scroll;
  word-break: break-word;
}

.table-mini,
.table-mini td,
.table-mini th {
  padding: 0;
  margin: 0;
}

.table-center * {
  text-align: center;
}
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

.text-bold {
  font-weight: bold !important;
}

.padding {
  padding: 5px 10px !important;
}

.w-auto {
  width: auto !important;
}
.w-130 {
  width: 130px !important;
}
.w-80 {
  width: 80px !important;
}
.h-30 {
  height: 30px !important;
}

/**
 * Margin and padding classes
 */
.m-0 {
  margin: 0 !important;
}

.mt-0,
.my-0 {
  margin-top: 0 !important;
}

.mr-0,
.mx-0 {
  margin-right: 0 !important;
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mt-3,
.my-3 {
  margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0,
.py-0 {
  padding-top: 0 !important;
}

.pr-0,
.px-0 {
  padding-right: 0 !important;
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.pr-3,
.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}

.pr-5,
.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-n1 {
  margin: -0.25rem !important;
}

.mt-n1,
.my-n1 {
  margin-top: -0.25rem !important;
}

.mr-n1,
.mx-n1 {
  margin-right: -0.25rem !important;
}

.mb-n1,
.my-n1 {
  margin-bottom: -0.25rem !important;
}

.ml-n1,
.mx-n1 {
  margin-left: -0.25rem !important;
}

.m-n2 {
  margin: -0.5rem !important;
}

.mt-n2,
.my-n2 {
  margin-top: -0.5rem !important;
}

.mr-n2,
.mx-n2 {
  margin-right: -0.5rem !important;
}

.mb-n2,
.my-n2 {
  margin-bottom: -0.5rem !important;
}

.ml-n2,
.mx-n2 {
  margin-left: -0.5rem !important;
}

.m-n3 {
  margin: -1rem !important;
}

.mt-n3,
.my-n3 {
  margin-top: -1rem !important;
}

.mr-n3,
.mx-n3 {
  margin-right: -1rem !important;
}

.mb-n3,
.my-n3 {
  margin-bottom: -1rem !important;
}

.ml-n3,
.mx-n3 {
  margin-left: -1rem !important;
}

.m-n4 {
  margin: -1.5rem !important;
}

.mt-n4,
.my-n4 {
  margin-top: -1.5rem !important;
}

.mr-n4,
.mx-n4 {
  margin-right: -1.5rem !important;
}

.mb-n4,
.my-n4 {
  margin-bottom: -1.5rem !important;
}

.ml-n4,
.mx-n4 {
  margin-left: -1.5rem !important;
}

.m-n5 {
  margin: -3rem !important;
}

.mt-n5,
.my-n5 {
  margin-top: -3rem !important;
}

.mr-n5,
.mx-n5 {
  margin-right: -3rem !important;
}

.mb-n5,
.my-n5 {
  margin-bottom: -3rem !important;
}

.ml-n5,
.mx-n5 {
  margin-left: -3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mt-auto,
.my-auto {
  margin-top: auto !important;
}

.mr-auto,
.mx-auto {
  margin-right: auto !important;
}

.mb-auto,
.my-auto {
  margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-grid {
  display: grid !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
}

@media print {
  .d-print-none {
    display: none !important;
  }
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
}

@media print {
  #cssmenu {
    display: none !important;
  }
  a[href]:after {
    display: none;
    visibility: hidden;
  }
}

.balance-table {
  display: flex;
  position: relative;
}

.balance-table .description {
  height: 40px;
  display: inline-block;
  flex-grow: 1;
  padding-right: 10px;
}

.balance-table .year0,
.balance-table .year1 {
  height: 40px;
  display: inline-block;
  width: 100px;
}

.balance-table .brow-delete {
  display: none;
  width: 30px;
  position: absolute;
  top: -3px;
  right: -30px;
}

.balance-table:hover .brow-delete {
  display: block;
}

@media(max-width: 500px) {
  .balance-table {
    display: block;
  }
  .balance-table .description {
    display: block;
    width: 100%;
  }

  .balance-table .brow-delete {
    top: 44px;
    left: 210px;
    right: inherit;
    display: block;
  }

}

.quest-fish-row {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding-bottom: 10px;
}

.alert-default {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #fbeed5;
}

.loan-details {
  width: auto;
}
.loan-details th,
.loan-details td {
  text-align: center;
  overflow-wrap: anywhere;
  max-width: 150px;
}
.loan-details td:first-child {
  max-width: 240px;
  width: 240px;
  text-align: left;
}

.crop-extra-options-list li {
  margin-right: 7px;
}

.crop-extra-options-list label {
  font-weight: bold;
}

.quest-form .accordion {
  margin-bottom: 0;
}