html,
body {
    height: 100%;
    background: none;
}

.wrap {
    min-height: 100%;
    height:     auto;
    margin:     0 auto -60px;
    padding:    0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height:           60px;
    background-color: #F5F5F5;
    border-top:       1px solid #DDDDDD;
    padding-top:      20px;
}

.not-set {
    color:      #CC5555;
    font-style: italic;
}

.ml-0 {
    margin-left: 0;
}

.mr-1 {
    margin-right: .25rem!important
}

.mb-1 {
    margin-bottom: .25rem!important
}

.mt-1 {
    margin-top: .25rem!important
}

.ml-1 {
    margin-left: .25rem!important
}

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

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

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

.b-flex {
    display: flex;
    align-items: center;
}

.justify-content {
    justify-content: space-between;
}

.list-group-item, .list-group-item a {
    color: #555;
}

.list-styled ul {
    list-style-type: circle;
    padding-inline-start: 40px;
}
.list-styled ul li a {
    color: #555;
}

.dashboard-block h3 {
    font-size: 24px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position:     relative;
    top:          1px;
    display:      inline-block;
    font-family:  'Glyphicons Halflings';
    font-style:   normal;
    font-weight:  normal;
    line-height:  1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display:    block;
    margin-top: 5px;
    color:      #999999;
}

.error-summary {
    color:       #A94442;
    background:  #FDF7F7;
    border-left: 3px solid #EED3D7;
    padding:     10px 20px;
    margin:      0 0 15px 0;
}

.help-block-error {
    color: #c23934;
}

.stage-right {
    background-color: rgb(244, 246, 249);
    border-left:      1px solid #D8DDE6;
    width:            0rem;
    transition:       width .2s ease-in-out .05s;
    overflow:         hidden;
}

.slds-grid--frame {
    max-height: none;
    min-width:  767px;
    overflow-y: auto;
}

.stage-container {
    min-height: 100%;
}

.slds-grid--frame, .slds-grid_frame {
    overflow: unset;
}

section.slds-nowrap {
    overflow-x: unset !important;
}

.btn-group.bootstrap-select {
    width:   100% !important;
    display: block;
}

.btn-group.bootstrap-select > button {
    background-color: white;

}

.bo-order-date-filter .form-group, .bo-order-date-filter {
    margin-bottom: 1em;
}

.comment-td {
    max-width: 400px;
    word-wrap: break-word;
}

.ui-sortable .ui-sortable-handle {
    padding: 3px 5px;
    margin-top: 0;
    margin-bottom: 2px;
}

.ui-sortable .ui-sortable-handle input[type="checkbox"] {
    margin-top: 0;
}

.ui-sortable .ui-sortable-handle:hover {
    background-color: #f7f9fb;
}

.ui-sortable .ui-sortable-handle:hover, .ui-sortable .ui-sortable-handle:hover * {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.ui-sortable .ui-sortable-handle.cursor-draggable, .ui-sortable .ui-sortable-handle.cursor-draggable label {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.ui-sortable .ui-sortable-handle input[type=checkbox]:hover, .ui-sortable .ui-sortable-handle input[type=checkbox]:hover * {
    cursor: pointer;
}

.panel.panel-collapse .panel-heading, .panel.panel-collapse .panel-heading label, .panel.panel-collapse .panel-heading input[type=checkbox] {
    cursor: pointer;
}

.panel.panel-collapse .panel-body {
    -webkit-transition: max-height 0.5s ease-out;
    -moz-transition:    max-height 0.5s ease-out;
    -ms-transition:     max-height 0.5s ease-out;
    -o-transition:      max-height 0.5s ease-out;
    transition:         max-height 0.5s ease-out;
    max-height:         1000px;
}

.panel.panel-collapse .panel-body.collapse {
    max-height: 0;
    overflow:   hidden;
}

#moneyTurnoverFilter .label-template {
    margin:  0 1em 1em 0;
    display: inline-block;
}

#moneyTurnoverFilter .label-template .delete {
    background: none;
    border:     none;
    padding:    0.5em 0 0.5em 0.5em;
}

.spinning {
    animation:         spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

#clientListFilter .loader {
    line-height: 230%;
    padding: 0;
}

.bo-order-date-filter [type=submit] {
    vertical-align: top;
    margin-left:    1em;
}

#orderHistoryActions .history-action .panel-body.row > .col-xs-12 {
    margin-bottom: 1em;
}

#orderHistoryActions .history-action .checkbox {
    display: inline;
    margin:  0;
}

#orderHistoryActions .history-action .checkbox input[type=checkbox] {
    margin-top: 0;
    cursor:     pointer;
}

#orderHistoryActions .history-action .user-name {
    min-width:    25%;
    display:      inline-block;
    margin-right: 1em;
}

#orderHistoryActions .history-action .user-name.to-delete {
    text-decoration: line-through;
    color:           lightgray;
}

p.bg-info {
    padding: 1em;
}
.slds-tabs--scoped__nav {
    border-radius: .15rem .15rem 0 0;
    background: #f9f9f9;
    margin: -15px -15px 15px -15px;
}

.slds-tabs--scoped__subtab {
    margin-left: 15px;
 }

.slds-tabs--scoped__nav h1 {
    font-weight: 500 !important;
}

.slds-active .slds-tabs--scoped__link {
    color: #443c39;
    text-decoration: none !important;
    background-color: #ecf0f5;
    border-bottom-style: none;
}

.slds-form--horizontal h3 {
    text-align: left !important;
    padding-bottom: 0.5rem;
}
.breadcrumb-bo {
    margin-bottom: 0;
}

.role-permissions-panel-parent-element {
    font-size: 16px;
    font-weight: 600;
}
.role-permissions-panel-child-element {
    font-size: 14px;
    font-weight: 400;
}
.role-permissions-panel-child-block {
    margin-left: 10px;
}
.tree-item-default-color {
    color: black
}

.text-lightgrey {
    color: lightgrey !important;
}

.select2-selection__clear{
    display: none;
}

.help-block {
    color: #c23934;
}


.selectpicker-fullwidth > .bootstrap-select {
    width: 100% !important;
}

.selectpicker-fullwidth > .select2-container {
    width: 100% !important;
}

.input-contract-comment-label {
    vertical-align: top;
}

.slds-modal__container {
    height: 100vh;
}

.slds-modal--prompt .slds-modal__content, .slds-modal__container .slds-modal__content {
    overflow-x: auto;
}

.width-117 {
    width: 117px;
}

input.placeholder-hiding::-webkit-input-placeholder {
    color: #999;
}
input.placeholder-hiding:focus::-webkit-input-placeholder {
    color: transparent;
}
/* Firefox < 19 */
input.placeholder-hiding:-moz-placeholder {
    color: #999;
}
input.placeholder-hiding:focus:-moz-placeholder {
    color: transparent;
}
/* Firefox > 19 */
input.placeholder-hiding::-moz-placeholder {
    color: #999;
}
input.placeholder-hiding:focus::-moz-placeholder {
    color: transparent;
}

/* Internet Explorer 10 */
input.placeholder-hiding:-ms-input-placeholder {
    color: #999;
}
input.placeholder-hiding:focus:-ms-input-placeholder {
    color: transparent;
}

.detail-view-fixed-width th {
    width: 25%;
}

.detail-view-fixed-width td {
    width: 75%;
}

.grid-view-top-button {
    margin-bottom: 1rem;
}

tr.warning-table-row td {
    background-color: #ffe1a2;
}

.slds-table:not(.slds-no-row-hover) tbody tr.warning-table-row:hover>td {
 background-color: #ffd98a;
}

.edit-service-outlay-dialog {
    z-index: 10000;
}

.scroll-y-table-wrapper thead {
    position: sticky;
    top: -2px;
    z-index: 1;
    box-shadow: 0 10px 5px -10px rgba(0, 0, 0, .3);
    background: #fff;
}

.scroll-y-table-wrapper .table-bordered>thead>tr>th, .scroll-y-table-wrapper .table-bordered>thead>tr>td {
    border: none;
    background: #fff;
    z-index: 2;
    position: relative;
}

.scroll-y-table-wrapper .grid-view--table {
    max-height: 70vh;
}

.ui-datepicker {
    z-index: 1100 !important;
}

.slds-text-color--yellow {
    color: #d3ad1e;
}

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

.c2m__slds-button-disabled {
    background: rgb(224, 229, 238);
    border-color: transparent;
    color: rgb(255, 255, 255);
}

.select2-search--inline .select2-search__field:focus {
    border: none !important;
}

.grid-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

}
.grid-details__label {
    font-weight: 600;
    padding: 12px;
}
.grid-details__label:nth-child(4n+1) {
    background: rgba(255, 255, 255, .4);
}
.grid-details__value {
    padding: 12px;
}
.grid-details__value:nth-child(4n+2) {
    background: rgba(255, 255, 255, .4);
}

label.required:before {
    content: "*";
    color: #c23934;
    margin-right: 2px;
}

.slds-input[readonly], .slds-select[readonly] {
    border-color: transparent;
    background-color: transparent;
    font-size: .875rem;
    font-weight: 400;
}

.outlay-input {
    text-align: right;
}

.magic-table-wrapper .slds-table thead th:first-child.accent-cell,
.magic-table-wrapper .slds-table thead td:first-child.accent-cell,
.magic-table-wrapper .slds-table tbody td:first-child.accent-cell {
    background: #e3f4e9 !important;
}

.accent-cell {
    background-color: #e3f4e9 !important;
}

.accent-cell:hover {
    background-color: #f4f6f9 !important;
}

.lector-payment-conditions-wrapper {
    display: inline-block;
}

.lector-payment-conditions-input-wrapper {
    display: inline-block;
    margin-right: 10px;
}
