.xcrud {
    margin-bottom: 20px;
}

.xcrud-grouping-row {
    background-color: #fbfbfb !important;
    border-bottom: 2px solid #ddd9d9;
    color: #ae0101;
}

.xcrud-grouping-row-sum {
    background-color: #fbfbfb !important;
    border-bottom: 2px solid #ddd9d9;
    color: #ae0101;
    font-weight: bold;
}

.xcrud-total-title {
    text-align: right;
    display: block;
    padding-right: 50px;
}

.xcrud-list {
    /*min-width: 100%;*/
    /*width: auto;*/
    display: table !important;
    margin-bottom: 3px;
    /*   table-layout: fixed;*/
}

.tabulator-row .tabulator-cell:last-of-type {
    padding: 0!important;
}

.tabulator-row .btn-sm,
.btn-xs {
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    margin: 1px;
    left: 2px!important;
}

.parsley-custom-error-message,
.parsley-errors-list {
    color: #FF0000;
    padding-left: 1px;
    padding-top: 0px;
    margin: 0;
    margin-bottom: 5px;
    list-style-type: none;
}

.xcrud-actions input {
    float: right;
}

.clr {
    clear: both;
    font-size: 0;
}

.modal-dialog {
    max-width: none!important;
    width: 60%;
}

.tabulator-table {
    width: 100%;
}

.tabulator-tableHolder {
    min-height: 50px!important;
}

.xcrud-list th,
.xcrud-list td {
    /*white-space:nowrap;*/
}

.xcrud-column:hover {
    text-decoration: underline;
    cursor: pointer;
}

.xcrud-header {
    border-bottom: 1px solid #E5E5E5;
}

.xcrud-top-actions {
    padding: 5px 0;
    overflow: hidden;
}

.xcrud-container {
    position: relative;
}

.xcrud-list-container {
    /*overflow-x: auto;*/
    /* overflow-x: scroll;*/
    clear: both;
    width: 100%;
    padding: 0!important;
}

.xcrud-nav {
    padding: 15px 10px 5px;
}

.xcrud-nav>* {
    vertical-align: top;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 5px;
}

td.xcrud-actions {
    text-align: right;
    white-space: nowrap;
}

.xcrud-actions a {
    vertical-align: top;
}

.xcrud .xcrud-list .xcrud-row:hover td.xcrud-actions-fixed {
    position: absolute;
    right: 0;
    border-left: none;
    margin-top: -1px;
}

.xcrud-overlay {
    /*display: none;*/
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff 50% 50% no-repeat url(loading.gif);
    opacity: 0.5;
    width: 100%;
}

.xcrud-num {
    color: #bbb;
    width: 10px;
}

.xcrud-benchmark {
    margin: 5px;
    font-size: 10px;
    line-height: 1.2;
    float: right;
    color: #999;
}

.xcrud-benchmark span {
    margin: 0 5px;
}

table.xcrud-details.table td input,
table.xcrud-details.table td select,
table.xcrud-details.table td textarea {
    margin-bottom: 0;
}

.xcrud .tab-content {
    padding: 8px;
    border: 1px solid #DDDDDD;
    border-top: 0;
}


/*.xcrud .xcrud-remove-file{
    vertical-align: bottom;
    margin-left: 5px;
}*/

.xcrud .xcrud-file-container.error {
    border: 1px solid #E20101;
    background-color: #FFE4E4;
    padding-left: 5px;
}

.xcrud .xcrud-file-container {
    font-size: 14px;
    line-height: 30px;
}

.xcrud .xcrud-file-container img {
    max-width: 99%;
    vertical-align: bottom;
}

.xcrud-add-file {
    /*margin-top: 5px;*/
    position: relative;
    overflow: hidden;
}

input.xcrud-upload {
    cursor: pointer;
    direction: ltr;
    font-size: 100%;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-300px, 0px) scale(4);
    -webkit-transform: translate(-300px, 0px) scale(4);
    filter: progid: DXImageTransform.Microsoft.Alpha(opacity=0);
}

.xcrud .xcrud-list td.xcrud-sum {
    font-weight: bold;
}


/* column styles */

.xcrud-list td.align-left {
    text-align: left
}

.xcrud-list td.align-right {
    text-align: right;
}

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

.xcrud-list td.font-bold {
    font-weight: bold;
}

.xcrud-list td.font-italic {
    font-style: italic;
}

.xcrud-list td.text-underline {
    text-decoration: underline;
}

.xcrud .xcrud-list td .btn {
    margin-top: -4px;
    margin-bottom: -4px;
}

.xcrud-th th {
    background: #efefef;
    white-space: nowrap;
}

.xcrud .xcrud-daterange {
    width: 80px;
}

.xcrud-googlemap img {
    max-width: inherit;
}

.xcrud-search input,
.xcrud-search select {
    width: 10%;
    margin: 0 5px 0 0;
    vertical-align: top;
    min-width: 120px;
}

.xcrud .btn-group {
    white-space: nowrap;
    margin-right: 5px;
}

.xcrud .btn-group .btn {
    float: none !important;
}

.xcrud-upload-container img {
    display: block;
    max-width: 700px;
    clear: both;
    margin-bottom: 5px;
}

ul.xcrud-map-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 2px;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 5;
}

ul.xcrud-map-dropdown li {
    margin: 0;
    padding: 3px 10px;
    cursor: pointer;
}

ul.xcrud-map-dropdown li:hover {
    background: #f4f4f4;
}

input.xcrud-inline {
    display: inline-block;
    width: 40%;
    margin-right: 10px;
}

.xcrud-map {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    margin: 10px 0;
}


/*.xcrud-radio-label,.xcrud-checkboxes-label{
    display: block;
}
.xcrud-radio-label input,.xcrud-checkboxes-label input{
    margin-right: 7px;
}*/

.xcrud .validation-error {
    box-shadow: 0 0 1px red, 0 0 3px red !important;
    background: #FFEBEB !important;
}

th.xcrud-actions {
    width: 40px;
}

a.xcrud_modal {
    text-decoration: none;
    color: inherit;
}


/*.xcrud-view table tr td:first-child{
    width: 30%;
}*/


/*td.details-label{
    width: 30%;
}*/


/* messages */

.xcrud-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 15px;
    padding: 10px 20px;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(0, 0, 0, 0.05);
    display: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    color: #fff;
    color: rgba(255, 255, 255, 0.90);
    cursor: pointer;
    z-index: 500;
}

.xcrud-message.success {
    background: #5AB95F;
    border-top: 1px solid #8A1414;
    border-bottom: 1px solid #8A1414;
}

.xcrud-message.error {
    background: #D05C5C;
    border-top: 1px solid #931C1C;
    border-bottom: 1px solid #931C1C;
}

.xcrud-message.info {
    background: #6CC3C6;
    border-top: 1px solid #127B7C;
    border-bottom: 1px solid #127B7C;
}

.xcrud-message.note {
    background: #DDB75D;
    border-top: 1px solid #A66E13;
    border-bottom: 1px solid #A66E13;
}

.xcrud-toggle-show {
    float: right;
    font-size: 13px;
    font-weight: bold;
    line-height: inherit;
    margin: 8px;
    cursor: pointer;
}

h2 {
    border-bottom: 1px solid #ddd;
}

.xcrud-main-tab {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 15px 6px;
    margin: 0 2px;
    font-size: 20px;
}

#xcrud-modal-window .modal-body>span>img {
    display: block;
    width: 100%;
}


/* RTL */

.xcrud.xcrud_rtl {
    direction: rtl;
}

.xcrud.xcrud_rtl .xcrud-list .xcrud-row:hover td.xcrud-actions-fixed {
    right: auto;
    left: 1px;
}

.xcrud.xcrud_rtl .xcrud-toggle-show {
    float: left;
}

.xcrud.xcrud_rtl .xcrud-button>i {
    margin-right: auto;
    margin-left: 4px;
}

.xcrud.xcrud_rtl .xcrud-details-table td:first-child {
    text-align: left;
}

.tabulator {
    background-color: transparent!important;
}

.xcrud-advanced-search-title {
    margin-bottom: 15px;
    position: relative;
    display: block;
    border-bottom: 1px solid #e5e5e5;
    background: #f2f2f2;
    padding: 8px;
}

.template-upload.fade.in {
    opacity: 1!important;
}

.template-download.fade.in {
    opacity: 1!important;
}

.fileupload {
    border: 1px dashed #888;
    padding: 13px;
}

#fileupload {
    border: 1px dashed #888;
    padding: 13px;
}

.search_values {
    border: 1px solid #e5e5e5;
    padding: 5px;
    margin: 4px;
    display: inline-block;
    border-radius: 4px;
    background: #f7f7f7;
}

.fade {
    opacity: 100!important;
}

.search_values button {
    margin-left: 10px;
}

.group_form_header{
  background: #e5e5e5;
  padding: 5px;
}

.form-row .row{
  width:100%;
  margin: 15px;
}

/** Panel View **/
div.xcrud-row{
  width: 32%;
  overflow: hidden;
  float: left;
  border: 1px solid #e5e5e5;
  margin-top: 10px;
  margin-left: 2px;
  padding: 20px;
  max-height: 350px;
  min-height: 350px;
  overflow-y: scroll;
}

div.xcrud-row span:not(.slider){
  display: block;
  width: auto !important;
  margin-bottom:10px;

}
div.xcrud-row .dropdown-toggle{
float: right;
  position: relative;
  top: -32px;
  right: 0px;
  border: 1px solid #e5e5e5;
}

.xcrud-num {
  color: #bbb;
  width: 10px;
}


div.xcrud-th{
  padding:10px;
}

div.xcrud-th span{

  padding: 10px;
  background: #f7f7f4;
  border: 1px solid #eeeded;

}

.form-control[readonly] {
  pointer-events: none!important;
}

.resizer {
    width: 5px;
    height: 100%;
    background: gray;
    cursor: col-resize;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
th {
    position: relative;
}
.hidden {
    display: none;
}
.sig-canvas{
    touch-action: none; /* Disable touch actions that could trigger scrolling */
}

/* Basic styling for the filter buttons and inputs */
.add-filter, .remove-filter {
    margin-left: 5px;
    cursor: pointer;
}

#filters-amount input, #filters-amount select {
    margin-right: 10px;
}

#advanced-search-form{
  border: 1px solid #e5e5e5;
  padding: 40px;
}


.xcrud-grouping-row {
    background-color: #f5f5f5;
    font-weight: bold;
}
.xcrud-grouping-row-level2 {
    background-color: #e8e8e8;
    font-weight: bold;
}
.xcrud-grouping-row-level2 td{
    padding-left: 40px;
}

.xcrud-toggle-group {
    cursor: pointer;
    display: inline-block;
    width: 15px;
    text-align: center;
}