/***
Layout
***/
html, body {
    font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygens-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#kt_header .kt-aside__brand-logo {
    margin: auto 0;
}

.kt-aside-menu .kt-menu__nav {
    padding-top: 0;
}

.kt-aside--minimize .kt-aside-menu-wrapper .kt-aside-menu {
    overflow: visible !important;
}

.tab-content {
    padding: 0.7rem 0 0.5rem;
}

/***
Modals
***/

.modal-body .modalErrors, .modal-body .modal-body-message {
    margin-bottom: 15px;
}

.modal-body .modalErrors ul.items {
    list-style-type: none;
    margin-left: 20px;
}

#ajaxProgresModal .progress {
    width: 50%;
    position: relative;
    top: 15%;
    margin: 0 auto;
}

.progress .progress-bar {
    width: 100%;
}

#csvImportModal .reopenCSVImport {
    margin-bottom: 15px;
}

#csvImportModal .form-control-file {
    margin-top: 15px;
}

/***
Advanced Search
***/

.listButtons .btn, #form-buttons .btn {
    margin-bottom: 10px;
}

.listButtons .kt-badge i:hover {
    cursor: pointer;
}

.listButtons .kt-badge {
    text-transform: capitalize;
}

.kt-subheader .kt-subheader__main .kt-subheader__breadcrumbs .kt-subheader__breadcrumbs-no-link {
    padding: 0 0.35rem 0 0;
    font-size: 1rem;
    font-weight: 500;
    color: #959cb6;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

/***
Table
***/

.form-group .dataTables_wrapper {
    margin: 0 10px;
}

.dataTable .btn {
    margin: 3px 0;
}

.dataTable .clickableTd {
    cursor: pointer;
}

.dataTable .kt-badge {
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-align: center;
    padding-top: 2px;
    padding-bottom: 17px;
}

.table-group .col-form-label {
    display: block;
    text-align: left;
}

.table-group .dataTables_wrapper .dataTable {
    margin: 0 !important;
}

.table-group .tooltipNearTable {
    float: left;
    padding-left: 3px;
}

.table-error {
    padding-top: 5px;
    display: inline-flex;
}

.dataTable .kt-badge i {
    margin-right: 5px;
}

table .dataTables_empty {
    vertical-align: top;
}

.dataTable {
    border: 1px solid #ebedf2 !important;
}

table .greenRow td {
    background-color: #C2F0C2;
}

table .orangeRow td {
    background-color: #FFD351;
}

table .redRow td {
    background-color: #FFC9C9;
}

.table-clickable tr td:not(.tdCheckbox):not(.dataTables_empty) {
    cursor: pointer;
}

.table-clickable tbody tr:not(.noRecords) {
    cursor: pointer;
}

tbody.detailBody tr.detailClickable {
    cursor: pointer;
}

.dataTable .col1 {
    width: 10%;
}

.dataTable .col2 {
    width: 20%;
}

table.dataTable td {
    overflow-wrap: anywhere; /* AP3ADMIN-157: force to wrap very long text in data table cells */
}

td.rangeTd {
    max-width: 350px;
}

td .range {
    max-height: 40px;
    overflow: hidden;
}

td .popup {
    display: none;
    position: absolute;
    border: solid 1px gray;
    background-color: #f9f9f9;
    border-radius: 5px !important;
    padding: 8px;
    margin-top: 20px;
    margin-left: 20px;
    max-width: 700px;
    z-index: 50;
    word-wrap: break-word;
}

td .range:hover + .popup {
    display: block;
}

th.routingId {
    width: 100px;
}

td.editable input {
    width: 80px;
}

td.date input {
    width: 120px
}

td.date .input-calendar-pointer {
    position: relative;
    top: 2px;
    right: 25px;
}

td.date .input-calendar-pointer i {
    font-size: 130%;
    color: #5867dd;
}

td.error {
    border: 1px solid red !important;
}

#config-report {
    margin-left: 5%;
    margin-right: 15%;
}

.emv-report {
    max-width: 90%;
    float: left;
    border: 1px solid #000;
}

.periodicCampaignTable {
    position: relative;
    top: -10px;
}

.dataTable td {
    word-break: break-word;
}

td.activeAcq, td.disabledAcq {
    width: 20%;
    vertical-align: top;
}

/***
Forms
***/

/* general */
.form-group, .table-group, .controls {
    margin-bottom: 1rem;
}

.form-group .form-control {
    display: inline-flex;
}

.form-group .text-muted {
    display: block;
}

.form-control .select2 {
    display: block;
}

.form-group .col-form-label {
    text-align: right;
}

@media (max-width: 1024px) {
    .form-group .col-form-label {
        text-align: left;
    }

    .modal-dialog .form-group .col-form-label {
        text-align: right;
    }
}

label .required {
    display: inline-flex;
    color: #e02222;
    font-size: 110%;
    padding-left: 2px;
}

.form-group.row .kt-checkbox-inline {
    display: inline-flex;
    margin-right: 5px;
}

.form-group.row .kt-checkbox-inline .kt-checkbox {
    min-height: 18px;
}

.form-group.row .kt-checkbox-inline ~ .btn,
.form-group.row textarea ~ .btn {
    vertical-align: top;
}

.form-group .btn.btn-icon {
    margin: 1px;
}

.form-group .col-1 {
    padding: 0;
}

.form-control[readonly], .kt-checkbox > input[readonly] ~ span {
    cursor: not-allowed;
}

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

.datetimepicker {
    margin-top: 0;
}

.input-group-append .btn-warning i {
    color: #fff;
    padding: 0 2px;
}

textarea.fixed-width {
    max-width: 600px;
    min-width: 600px;
    word-wrap: normal;
    overflow-x: scroll;
}

.button-group {
    margin-bottom: 1.5rem;
    display: inline;
}

.diff, .control-label {
    word-wrap: break-word;
}

.select2-container--default .select2-results__option {
    color: #495057;
}

.input-group-append .btn i {
    padding-right: 0;
}

.input-group-append .btn .fa-spinner {
    font-size: 1.4rem;
}

.kt-section .kt-section__title {
    color: #646c9a;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

a[class$="-link"] {
    display: inline-flex;
    margin: 5px;
    color: #000;
}

a[class$="-link"] i {
    font-size: 1.4rem;
}

.orgUnitForceValue {
    display: inline-block;
    margin: 0 10px;
}

.form-group input[type=file] {
    max-width: 100%;
}

/* error */

.parsley-errors-list {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #fd397a;
    font-weight: 400;
    list-style-type: none;
    padding: 0;
}

.invalid-feedback {
    display: inline;
}

input[type=text].errorValueCheck,
input[type=number].errorValueCheck,
input[type=text].errorValueCheck.m-wrap,
input[type=number].errorValueCheck.m-wrap {
    color: #B94A48;
    border: 1px solid #B94A48;
}

input[type=text].errorValueCheck:focus,
input[type=number].errorValueCheck:focus,
input[type=text].errorValueCheck.m-wrap:focus,
input[type=number].errorValueCheck.m-wrap:focus {
    color: #B94A48;
    font-weight: bold;
    border: 1px solid #B94A48;
}

span.errorRights, span.errorOrgUnitsMop, span.errorOrgUnitsProduct {
    color: #b94a48;
    height: 20px;
    padding: 0 14px;
}

.form-group.error .tagsinput_in {
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.form-group.error .control-label {
    color: #b94a48;
}

/* use validation style for free text selection (select2) element */
select.parsley-error + span span.selection span.select2-selection--single {
    border-color: #fd397a;
}

/* param-tags */

#param-tags {
    position: absolute;
    width: 25%;
    right: 10%;
    padding-top: 15px;
    z-index: 1;
}

#param-tags .row > div {
    padding-bottom: 15px;
}

#param-tags button {
    display: block;
    margin: 4px 12px;
}

/* tree */

#tree_1 [name=group], #tree_2 [name=group] {
    color: black;
}

.orgUnitTree {
    float: left;
    padding: 7px 0 15px 0;
}

/* other */

.page-404 h3, .page-500 h3 {
    margin-top: 20px;
}

.phaseForm {
    min-width: 620px;
}

.campaignCreated {
    width: 50%;
    float: left;
}

#inputSitePhase1 {
    margin-bottom: 10px;
}

.emvKernelConfigurations {
    white-space: pre;
    font-family: monospace !important;
}

.kt-footer__copyright a {
    margin: 0;
}

.fixed-range-width { max-width: 600px; min-width: 600px; max-width: 588px\0/; min-width: 588px\0/; word-wrap: normal; }
#readOnlyBinRangesGroup textarea { max-height: 100px; min-height: 100px; background: #eee; overflow: hidden; display: block; margin-bottom: 0.4em; }

/***
Tooltip
***/

.edit-help, .edit-help .ui-dialog-buttonpane {
    background: #f5f5f5;
}

.edit-help .ui-widget-header {
    background: #3d3d3d;
}

.edit-help textarea {
    padding: 5px;
}

.edit-help .ui-dialog-buttonpane {
    padding: 0
}

.edit-help .ui-icon-close.ui-icon {
    width: 20px;
    background-position: -78px -126px;
}

.ui-dialog-title {
    color: white;
}

.smc-tooltip:hover {
    cursor: pointer;
}

.smc-tooltip span, .smc-tooltip-edit span {
    display: none !important;
}

.smc-tooltip-edit.hidden {
    display: none;
}

.smc-tooltip-box {
    display: none;
    position: absolute;
    padding: 8px;
    -webkit-box-shadow: 0 0 5px 2px #999;
    box-shadow: 0 0 5px 2px #999;
    font-size: 11px;
    max-width: 300px;
    height: auto;
}

.smc-tooltip.hidden {
    display: none;
}

#smc-tooltip-dialog {
    padding: 5px;
}

#smc-tooltip-dialog textarea {
    width: 378px;
    height: 145px;
}

.ui-dialog-buttonset .btn {
    font-size: 14px !important;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif !important;
    padding: 8px 25px !important;
}

.ui-dialog-buttonset .btn:hover {
    font-size: 14px !important;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif !important;
    border: none !important
}

.ui-dialog-buttonset .btn.smc-save:hover, .ui-dialog-buttonset .btn.smc-save:focus {
    background: blue;
}

.ui-dialog-buttonset .btn:focus {
    font-size: 14px !important;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif !important;
}

/***
General
***/

.hide, .hidden {
    display: none;
}

.success {
    color: green;
}

.error {
    color: red;
}

.cb {
    clear: both;
}

.fl {
    float: left;
}

.font-blue {
    color: #5867dd !important;
}

.font-red {
    color: #e7505a !important;
}

.dropdown-top {
    z-index: 100;
}

.progress.progress--lg,.progress.progress--lg .progress-bar {
    height: 20px;
    border-radius: 4px;
}