﻿body {
  padding-top: 50px;
  padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

/* 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;
}

/* Exibição do icone de processamento */
.progress-container {
  min-width: 38px;
  min-height: 38px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-image: url("/Content/Images/preloader.gif");
  overflow: hidden;
}

.loading-container {
  min-width: 38px;
  min-height: 38px;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-image: url("/Content/Images/loading.gif");
  overflow: hidden;
}

.loading-logo-footer {
  padding: 5px;
  height: 50px;
  width: 50px;
  background-repeat: no-repeat;
  background-image: url("/Content/Images/loading.gif");
}

.kp-logo-footer {
  padding: 5px;
  height: 50px;
  width: 50px;
  background-repeat: no-repeat;
  background-image: url("/Content/Images/logo_kp.png");
}

/*Chrome*/
/* Remove o spin button dos inputs */
input[type="number"].no-spin::-webkit-inner-spin-button,
input[type="number"].no-spin::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*Remove buttons dos inputs type date*/
input[type="date"].clean-date::-webkit-calendar-picker-indicator,
input[type="date"].clean-date::-webkit-inner-spin-button {
  display: none;
}

/*Firefox*/
@-moz-document url-prefix() {
  input[type="number"].no-spin {
    -moz-appearance: textfield;
  }

  input[type="date"].form-control,
  input[type="time"].form-control {
    line-height: 1.5;
  }
}

.table > thead > tr > td.fromapp,
.table > tbody > tr > td.fromapp,
.table > tfoot > tr > td.fromapp,
.table > thead > tr > th.fromapp,
.table > tbody > tr > th.fromapp,
.table > tfoot > tr > th.fromapp,
.table > thead > tr.fromapp > td,
.table > tbody > tr.fromapp > td,
.table > tfoot > tr.fromapp > td,
.table > thead > tr.fromapp > th,
.table > tbody > tr.fromapp > th,
.table > tfoot > tr.fromapp > th {
    background-color: #cecece;
}

.table-hover > tbody > tr > td.fromapp:hover,
.table-hover > tbody > tr > th.fromapp:hover,
.table-hover > tbody > tr.fromapp:hover > td,
.table-hover > tbody > tr:hover > .fromapp,
.table-hover > tbody > tr.fromapp:hover > th {
    background-color: #adadad;
}

.table > thead > tr > td.fromterceiro,
.table > tbody > tr > td.fromterceiro,
.table > tfoot > tr > td.fromterceiro,
.table > thead > tr > th.fromterceiro,
.table > tbody > tr > th.fromterceiro,
.table > tfoot > tr > th.fromterceiro,
.table > thead > tr.fromterceiro > td,
.table > tbody > tr.fromterceiro > td,
.table > tfoot > tr.fromterceiro > td,
.table > thead > tr.fromterceiro > th,
.table > tbody > tr.fromterceiro > th,
.table > tfoot > tr.fromterceiro > th {
    background-color: #E4E3FC;
}

.table-hover > tbody > tr > td.fromterceiro:hover,
.table-hover > tbody > tr > th.fromterceiro:hover,
.table-hover > tbody > tr.fromterceiro:hover > td,
.table-hover > tbody > tr:hover > .fromterceiro,
.table-hover > tbody > tr.fromterceiro:hover > th {
    background-color: #DFF0D8;
}


.table > thead > tr > td.updated-order,
.table > tbody > tr > td.updated-order,
.table > tfoot > tr > td.updated-order,
.table > thead > tr > th.updated-order,
.table > tbody > tr > th.updated-order,
.table > tfoot > tr > th.updated-order,
.table > thead > tr.updated-order > td,
.table > tbody > tr.updated-order > td,
.table > tfoot > tr.updated-order > td,
.table > thead > tr.updated-order > th,
.table > tbody > tr.updated-order > th,
.table > tfoot > tr.updated-order > th {
  background-color: #f5f5f5;
}

.table-hover > tbody > tr > td.updated-order:hover,
.table-hover > tbody > tr > th.updated-order:hover,
.table-hover > tbody > tr.updated-order:hover > td,
.table-hover > tbody > tr:hover > .updated-order,
.table-hover > tbody > tr.updated-order:hover > th {
  background-color: #f5f5f5;
}

.navbar-fixed-bottom {
  background-color: #fff;
}

td.col-center {
  text-align: center;
  vertical-align: middle !important;
}

td.col-left {
  text-align: left;
  vertical-align: middle !important;
}

td.col-right {
  text-align: right;
  vertical-align: middle !important;
}

th.col-center {
  text-align: center;
}

th.col-left {
  text-align: left;
}

th.col-right {
  text-align: right;
}

.input-sm-kp {
  min-width: 100% !important;
  padding: 5px 5px 5px 5px !important;
}

.input-kp {
  min-width: 100% !important;
}

.uploadFoto {
  position: relative;
  overflow: hidden;
}

.uploadFoto input.uploadFoto {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 300px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.foto-preview-container {
  min-width: 130px;
  min-height: 130px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: contain;
  overflow: hidden;
}

.foto-preview-container-list {
  min-width: 30px;
  min-height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: contain;
  overflow: hidden;
}

.ui-autocomplete-loading {
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-image: url("/Content/Images/preloader.gif") !important;
}

select.ui-autocomplete-loading {
  padding-top: 0px !important;
  padding-left: 14px !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
}

.ui-autocomplete-loading-grey {
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-image: url("/Content/Images/preloader_grey.gif") !important;
}

select.ui-autocomplete-loading-grey {
  padding-top: 0px !important;
  padding-left: 14px !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
}

.ui-autocomplete {
  position: absolute;
  cursor: default;
}

.ui-helper-hidden-accessible {
  display: none;
}

.ui-menu {
  left: 0;
  z-index: 1000;
  display: block;
  float: left;
  min-width: 160px;
  padding: 5px;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.ui-menu-item {
  display: block;
  padding: 3px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  white-space: nowrap;
}

.ui-state-focus {
  text-decoration: none;
  color: #ffffff;
  background-color: #446e9b;
}

a.disable-click {
  pointer-events: none;
}

.col-fixed-height {
  height: 100%;
  overflow-y: auto;
}

.modal-body-fixed-height {
  height: calc(100vh - 200px);
  overflow-y: auto;
}

.center .modal-body-fixed-height {
  height: 50vh;
  overflow-y: auto;
}

.panel-default-bold {
  color: #333333;
  background-color: #f5f5f5;
  border-color: #dddddd;
}

.panel-primary-bold {
  color: #ffffff;
  background-color: #446e9b;
  border-color: #446e9b;
}
/*
.panel-success-bold {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
*/
.panel-success-bold {
  color: #ffffff;
  background-color: #3cb521;
  border-color: #3cb521;
}

.panel-button {
  cursor: pointer;
}

/* Personalização Scroll Bar */
/* Chrome */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #446e9b;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a618b;
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #446e9b #f1f1f1;
}

button.close[disabled] {
  cursor: not-allowed;
}

div.blocked {
  cursor: not-allowed;
}

.center {
  top: 25vh;
}

.bg-primary .modal-title {
  color: #fff;
}

.bg-primary .close {
  color: #fff;
  opacity: unset;
}

.list-menu {
  padding: 0px 0px 0px 0px;
  margin: 0 0 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #ffffff;
  background-clip: padding-box;
}
.list-menu.pull-right {
  right: 0;
  left: auto;
}
.list-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.list-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
.list-menu > li > a:hover,
.list-menu > li > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #446e9b;
}
.list-menu > .active > a,
.list-menu > .active > a:hover,
.list-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #446e9b;
  outline: 0;
}
.list-menu > .disabled > a,
.list-menu > .disabled > a:hover,
.list-menu > .disabled > a:focus {
  color: #999999;
}
.list-menu > .disabled > a:hover,
.list-menu > .disabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.list-menu > li > a.loading {
  background-position: center right;
  background-repeat: no-repeat;
  background-image: url("/Content/Images/item-loading.gif");
  overflow: hidden;
}

div.modal-map-container {
  width: 100%;
  height: 100%;
}

div.map-container {
  margin-top: 15px;
  display: none;
}

span.badge-primary {
  background-color: #446e9b;
}
