/** CLAYTON SPECIFICS */

.incorrect-row {
    background-color:#ff8787;
}

.incorrect-quantity {
    font-weight:bold;
    color:red;
}

.report-collapsible-line {
    font-weight:bold;
    padding: 4px 6px !important;
    background-color: #eef0f4;
    color:rgb(85, 85, 85);
}

.table-column-mulitiple-input {
    margin-bottom:5px;
}

/** CHANGE GENERATOR ? */
html {
    background-color: #f5f5f5;
}

body {
    background-color: inherit;
}

.header {
    color:#727272;
}

#content-head {
    background-color: inherit;
    background-image:none;
}

#content-body {
    background-color: inherit;
    padding-top:0px;
}

.main-btn-toolbar {
    padding: 6px 6px 0 6px;
    background-color:white;
    border-bottom: 1px solid #e1e1e1;
    padding-left: 10px;
    padding-right: 10px;
}

.main-btn-toolbar .btn {
    margin-bottom:6px;
}

.affix {
    margin:0px;
    padding:0px;
    border:none;
}

.form-container, .list-container {
    padding-top:6px;
}


.table-container {
    padding-bottom: 5px;
}

.table-paging {
    border: 1px solid #bed3e8;
}

.form-actions {
    padding:0px;
}

.tabbable .nav li:not(.active) a {
    border: 1px solid #e1e1e1;
}

.activation-filter {
    padding-top:10px;
    padding-left: 10px;
    padding-right: 10px;
}

/** Remove last-form-group */
.panel-body {
    padding-bottom:5px
}

/** Change margin to set button on top of relationLists */
.panel .form-actions {
    margin-bottom:10px;
}

.panel .table {
    margin-bottom: 5px;
}

/** Font size of collapsible subtable **/
.panel .invoice-table {
    margin-bottom: 10px;
}

.invoice-table .rf-cst-c, .invoice-table .rf-cst-nd-c {
    font-size: inherit;
}

.invoice-table .rf-dt-tft .rf-dt-ftr-c {
    background-color:#ededed;
    text-align:left;
    padding: 4px 6px !important;
}

.table-with-total-footer .rf-dt-sftr-c {
    text-align:left;
}

/** ============ GENERAL ============ */

/** Allow all form-control to have same height (issue with select) except textArea */
.form-control:not(textarea) {
    height: 28px !important;
}

.inlinetextarea {
    resize: none;
    height: 28px !important;
}

.radio-inline-group {
    min-height: 28px !important;
}

/** Buttons displayed as link */
.btn-link:hover, .btn-link:visited, .btn-link:active {
  text-decoration: none;
}

/** Bootstrap navbar style */
.nav-pills > li {
    background-color: inherit;
    margin-right: 5px;
}

.nav-pills > li > a {
    background-color: white;
    padding: 7px 15px;
    margin-bottom: 6px;
}

/** alert **/
li.alert {
    margin-bottom: 5px;
    padding: 10px 15px;
}


/** Important to ensure that fields in read mode have correct height **/
.form-control-static {
    min-height: 28px;
}

/** Align relationList footer content **/
.rf-cst-ftr-c {
    text-align:center;
}

/** ============ MODAL ============ */

.modal-title {
    color:#255f96;
    padding:0px;
    font-weight:bold;
}

.modal-content {
    background-color:#e6ecf0;
}

.modal-body {
    background-color:white;
    padding: 10px;
}

.toggler {
    background-color:white;
}

.modal .controlpanel .btn-toolbar {
    margin-bottom:10px;
}

.modal .btn-group {
    float: inherit;
}

/** Modal content: Panels */

.modal-content .well {
    margin-bottom: inherit;
    border:0px;
    background-image:none;
    background-color: transparent;
    box-shadow: none;
    padding: 0px;
}

.modal-content .panel {
    border: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-bottom: 0px;
}

.modal-content .panel + .panel {
    margin-top:5px;
}

.modal-content .panel-heading {
    border-radius: 3px;
}

.modal-content .panel-body {
    padding: 10px 0px 0px 0px;
}

/** ============ REQUIRED ============ */

.control-label {
    padding-right: 2px;
}

.required span:last-child {
    color: red;
    margin-left: 3px;
}

.not-required {
    padding-right: 12px;
}

/** ============ ONE AGGREGATION ============ */
.composition-actions {
    height:28px;
}

.composition-action img {
    margin-right:5px;
}

.composition-action a {
    padding: 4px 8px;
    float:left
}

/** ============ RICH:PICKLIST ============ */
.rf-pick-lst-dcrtn {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.rf-pick-btn {
    margin-bottom: 10px;
    display: inline-block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #f1f1f1;
    text-shadow: 0 1px 0 #fff;
    border-color: #ccc;
}

.rf-pick-btn:focus:not(.rf-pick-btn-dis), .rf-pick-btn.focus:not(.rf-pick-btn-dis) {
  color: #333333;
  background-color: #d8d8d8;
  border-color: #8c8c8c;
}

.rf-pick-btn:hover:not(.rf-pick-btn-dis) {
  color: #333333;
  background-color: #d8d8d8;
  border-color: #adadad;
}

.rf-pick-sel {
    border-width: 0px;
}

.rf-pick-opt {
    padding: 5px 10px;
    border-bottom: 1px solid #d8d8d8;
}

.rf-pick-lst-scrl {
    width: auto !important;
}

.rf-pick-full-width {
    width:100%;
}

.rf-pick-alignment {
    margin-top:10px;
}

/** ============ CHECKBOX ============ */
.checkBoxContainer {
    min-height: 28px;
    padding-top: 7px;
}

/** ============ ERROR ON FIELDS ============ */
.form-control-alert {
    clear: both;
}

.form-control-alert span.alert {
    padding: 4px 8px;
    margin-bottom: 0px;
    margin-top: 4px;
    display: block;
}

/** ============ UPLOADER ============ */
.upload-uploader input.upload {
    display: none;
}

.upload-preview div:first-child {
    padding-top: 5px;
    float:left;
}

.upload-preview div:last-child {
    float:right;
}

/** ============ SIGNATURE PAD ============ */
.wrapper {
  position: relative;
  width: 400px;
  height: 200px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 10px;
}

.signature-pad {
  position: absolute;
  left: 0;
  top: 0;
  width:400px;
  height:200px;
  background-color: white;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.signature-pad-actions-group {
    margin-bottom: 10px;
}

.signature-pad-action {
    width:197px;
}

input.signature-by {
    margin-bottom:10px;
}


/* =================== PHOTO ================== -*/
.smallUploader.rf-fu {
    width:100%;
    border:none;
}

.smallUploader .rf-fu-hdr {
    background-image:none;
    background-color:transparent;
    border:none;
}

.smallUploader .rf-fu-btns-lft {
    width: 100%;
    text-align: center;
    padding: 9px;
    overflow: inherit;
}

.smallUploader .rf-fu-btns-rgh {
    display:none;
    width: 0%;
}

.smallUploader .rf-fu-btn-add {
    background-image: none;
    border-color: #ccc;
    text-shadow: 0 1px 0 #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 1px rgba(0, 0, 0, 0.075);
    background-color: #f1f1f1;
    border-radius: 3px;
    margin: 0px;
}

.smallUploader .rf-fu-btn-add:hover {
    background-color:#d2d2d2;
}

.smallUploader .rf-fu-btn-cnt-add {
    background-image: none;
    overflow: inherit;
    font-size: 11px;
    line-height: 1.5;
    padding: 2px 6px !important;
    color: #333333; 
}

.smallUploader .rf-fu-inp {
    width:85px;
    height:23px;
    cursor:pointer;
}

.smallUploader .rf-fu-itm {
    border-bottom:none;
}

.smallUploader .rf-fu-itm-lft {
    width: 100%;
}

.smallUploader .rf-fu-itm-rgh {
    width: 0%;
}

.smallUploader .rf-fu-itm-lbl, .smallUploader .rf-fu-itm-rgh {
    display:none;
}