/*
 * Core
 */
.rw-legend  {
  font-size: 12px;
  font-weight:bold;
  margin-bottom: 6px;
}

.rw-pagination {
  margin-top: 6px;
  margin-bottom: 0px;
}

.rw-pagination-info {
  text-align: right;
  margin-top: 6px;
  font-size: 12px;
}

.rw-centerVertically
{
  display: flex;
  justify-content: center;
  align-items: center;
}

/*
 * Spinner
 */
.modal-loader {
  /*position:absolute;*/
  position:fixed;
  height:100%;
  left:0;
  right:0;
  top:0;
  bottom:0;
  margin:auto;
  z-index: 10;
  background-color: rgba(255,255,255,0.5);
}

.spinner {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 40%;
  font-size: 10px;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(8, 8, 8, 0.5);
  border-right: 1.1em solid rgba(255, 255, 255, 0.5);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.5);
  border-left: 1.1em solid rgba(255,255,255,0.5);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 6em;
  height: 6em;
}

@-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);
  }
}


/*
 * Attach Manager
 */
.rw-attach-row {
  margin-top: 0px;
  margin-left: 5px;
  margin-right: 5px;
}

.rw-attach-container {
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

.rw-attach-image {
/*   width:100%; */
  margin-bottom:0px;
}

/*
 * Form
 */
.noresize {
  resize: none;
}

.rw-btn-checkbox {
  border:1px solid #ccc;
  background-color:white;
}

.rw-row {
  float: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
}

.rw-row-measure {
  float: none;
  margin-right: auto;
  margin-bottom: 10px;
}

.rw-control-font-size,.ui-select-match-text,.ui-select-search {
  font-size: 12px;
}

.rw-messages {
  font-size: 12px;
  color: red;
}

.rw-button-no-margin{
  margin-top:0px;
}

.rw-button-padding
{
  padding: 3px 5px !important;
}

.rw-button-with-margin{
  margin-top:5px;
}

/* CT: */
.rw-field
{
  padding-left: 5px !important;
  padding-right: 5px !important;
  margin-bottom: .4rem !important;
}

.rw-label
{
  font-weight:400 !important;
  margin-bottom: 0 !important;
}

.uppercase
{
  text-transform: uppercase;
}

fieldset.fieldset-border
{
  border: 1px groove #ddd !important;
  padding: 0 0.4em 0.4em 0.4em !important;
  margin: 0 5px 0.5em 5px !important;
  -webkit-box-shadow:  0px 0px 0px 0px #000;
          box-shadow:  0px 0px 0px 0px #000;
}

legend.fieldset-border
{
  font-size: 12px !important;
  text-align: left !important;
  width:auto;
  padding: 0 10px;
  margin: 5px 6px !important;
  border-bottom:none;
}

.rw-tooltip+.tooltip>.tooltip-inner
{
  padding: 15px;
  font-size: 1.2em;
  background-color: #FFEB6C;
  color: #374D40;
}

/*
 * Collection view
 */
.cv-item {
  cursor: pointer;
  padding: 4px;
  font-size: 12px;
  margin-left: 0;
  margin-right: 0;
  border-bottom: 1px solid #ccc;

  /* Row roles to fixs cols with same height */
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
}

.cv-item:hover {
  background-color: #e4e4e4;
}

.cv-item-col {
  padding-left: 0;
  padding-right: 0;

  /* Roles to have cols with same height */
  float: none;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}

.cv-item-sel {
  background-color: #e4e4e4;
}

/*
 * Reimplemented form-control classe to fix font size
 */
.form-control {
  font-size: 12px;
  border-radius: .25rem;
  height: 32px;
}

/* CT reimplemented input-sm*/
.input-sm {
  height: 28px;
}

select.input-sm
{
  height: 28px;
  line-height: 28px;
}

.ui-select-bootstrap > .input-sm > .ui-select-toggle {
  height: 28px !important;
}
/*
 * webkit scrollbar rules
 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px; /*CT*/
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
}

::-webkit-scrollbar-track {
  /*border: 1px gray solid;*/
}

/*
 * Rules to hide arrow in input[date] & input[number]
 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
  -moz-appearance:textfield;
}


/*
 * Angular Slider overwrite
 */
.rzslider .rz-bar {
  background-color:#CACACA !important;
}

.rzslider .rz-bar.rz-selection {
  background-color:#343a40 !important;
}

.rzslider .rz-pointer {
  border-radius: 2px !important;
  moz-border-radius: 2px !important;
  webkit-border-radius: 2px !important;
  height: 24px !important;
  width: 12px !important;
  top: -11px !important;
  background-color:#343a40 !important;
}

.rzslider .rz-pointer:after {
  display:none !important;
}

.rzslider .rz-bubble {
  font-size:12px !important;
}

/*
 * Popover
 */
.popover {
  width:auto;
  height:auto;
  max-width: none;
}

.popover-content {
  width:auto;
  max-width:460px;
  height:auto;
  padding:5px 5px 5px 5px;
}

.popover-title {
  padding:5px 5px 5px 10px;
}
.rw-search-popover {
  min-width:450px;
  max-height:250px;
  overflow-y:auto;
}

.rw-search-popover-no-overflow {
  min-width:450px;
}

/*
 * DataTable custom
 */
.dataTables_wrapper {
  padding: 0px;
  position: relative;
  font-size: 11px;
}

.dataTables_length {
  position: absolute;
  bottom: 0px;
}

.dataTables_info {
  position: absolute;
  right: 8px;
}

.dataTables_paginate {
  text-align: center;
}

.dataTables_paginate a {
  border-style: solid;
  border-width: 1px;
  border-color: #DDDDDD;
}

/* Table header */
/*thead tr {
  color: #ffffff;
  height: 30px;
  background-color: #343a40;
}

thead th {
  padding: 0px 12px;
  text-align: center;
  border-right: 1.5px double #ffffff;
}*/


thead tr {
  color: #000;
  height: 30px;
  background-color: #fff
}

thead th {
  padding: 0px 12px;
  font-size: 12px;
  text-align: start;
  border-right: none !important;
}


thead .sorting {
  background-image: url("../image/table/sort.png");
  background-repeat: no-repeat;
  background-position: center right;
}

thead .sorting_asc {
  background-image: url("../image/table/sort-asc.png");
  background-repeat: no-repeat;
  background-position: center right;
}

thead .sorting_desc {
  background-image: url("../image/table/sort-desc.png");
  background-repeat: no-repeat;
  background-position: center right;
}

/* Table row */
.dataTable tbody td {
  padding: 6px 10px !important;
}

.dataTable tr.even {
  background-color: #ffffff;
}

.dataTable tr.odd {
  background-color: #f2f2f2;
}

.dataTable.hover tbody tr:hover {
  background-color: #e4e4e4;
}

/*
table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected {
  background-color: #B0BED9;
}

table.dataTable.hover tbody>tr.selected:hover,
table.dataTable.hover tbody>tr>.selected:hover,
table.dataTable.display tbody>tr.selected:hover,
table.dataTable.display tbody>tr>.selected:hover {
  background-color: #B0BED9;
}
*/

.dataTable,
.dataTable.no-footer {
  border-top: none;
  border-bottom: 1px solid #000;
}

.dataTable thead th {
  border-bottom: none !important;
}

.row-selected {
  background-color: #B0BED9 !important;
}

/* Columns separator */
/*.row-border tbody th, table.dataTable.row-border tbody td,
table.dataTable.display tbody th, table.dataTable.display tbody td
{
  border-right: 1.5px double #ffffff;
}*/

.row-border tbody th, table.dataTable.row-border tbody td,
table.dataTable.display tbody th, table.dataTable.display tbody td
{
  border-right: none !important;
}

/* Class used into createdRow callback function for rwTable */

.td-center-text {
  text-align: center;
}

.td-text-bold {
  font-weight: 700;
}

.td-text-red {
  font-weight: 700;
  color:red;
  text-align: center;
}

.td-text-green {
  font-weight: 700;
  color: green;
  text-align: center;
}


/*
 * Search
 */
select .input-sm {
  padding-left: 10px;
}

.rw-search-group {
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.rw-search-condition {
  margin-top: 5px;
}

.rw-search-buttonbar {
  padding-right: 5px;
}
.rw-search-form-footer {
  margin-top: 5px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  color: #fff;
  background-color: #131313;
}

a:link, a:visited {
  color:#404040;
}

.rw-search-input-error {
  border-color: #b94a48;
}

.rw-search-control {
  font-size:12px;
  margin-bottom:2px;
  height:30px;
  max-width:110px;
  border-radius:3px;
}

.uib-daypicker thead th
{
  padding: 0px 0px;
  text-align: center;
  border-right: 1.5px double #ffffff;
}

/* Reimplemented style summernote */
@media only screen and (max-height: 767px)
{
  .note-editor.note-frame .note-editing-area .note-editable
  {
    height: 40vh !important;
  }
}
@media only screen and (min-height: 768px)
{
  .note-editor.note-frame .note-editing-area .note-editable
  {
    height: 45vh !important;
  }
}

/*
 * Geo Data Management
 */
.rw-geodata-container {
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

.datetime-picker-dropdown
{
  min-width: 250px !important;
}