/* General */
* { outline: 0!important; }
html,
body { background: #f8f8ff; font-family: 'Lato', sans-serif; font-size: 10pt; font-weight: normal; color: #202020; margin: 0; overflow-x: hidden; height: 100%; }

* { border-radius: 0; font-family: 'Lato', sans-serif; }

.container-fluid { padding: 0; position: relative; z-index: 50; }
.content { text-align: center; }

.container.projectsContainer { width: 1530px; max-width: none; position: relative; z-index: 50; }
.container.createProject { position: relative; z-index: 50; }
/* .container.projectsContainer .panel, */
/* .container.createProject .panel { background-color: #212121eb; color: #f1f1f1; } */
.container.projectsContainer .btn-xs { padding: 0.375rem 0.75rem; }
/* .container.projectsContainer table td { border-bottom: 1px solid #202020; padding: 4px; vertical-align: middle; } */
.container.projectsContainer table form,
.container.projectsContainer table form button { margin: 0; }

#createProjectForm .panel-body { padding: 0; width: 100%; }

.panel-info>.panel-heading { border: 0; font-size: 9pt; background: #BBDEFB; color: #212121; }
#structureWrapper td:not(:last-child),
#structureWrapper th:not(:last-child) { border-right: 2px solid #dedede; }

textarea { background-color: #B2EBF2; }

form { margin-bottom: 10px; }

label { font-size: 9pt; }

h2 { margin-bottom: 20px; }
table td { border: 0; padding: 0 10px; font-size: 9pt; vertical-align: top; }

table.table { margin-top: 10px; color: #202020; }
.table-condensed form { margin-bottom: 0; }
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th { vertical-align: middle; }
.table-condensed>tbody>tr>td, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>td, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>thead>tr>th { padding: 8px 5px; }

input, select { max-width: 100%; }
input[type=file] { height: 35px; }

a.btn { font-size: 0.875rem; }

hr { border-color: #000; }

.jumbotron { background: 0; padding-left: 15px; padding-right: 15px; }

#structureWrapper { margin: 0; }

.panel-heading { border-radius: 0; }

.manageConditions.row,
.structurePanel.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

/* Helpers */
.clear { clear: both; }
/* UI elements */

.navbar { padding: 0; border: 0; }
.navbar a { cursor: pointer; }
.navbar>.container, .navbar>.container-fluid { display: block; }
.navbar-nav { display: block; }
.navbar .dropdown-menu { position: absolute; }

.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a.active { background-color: #fff; color: #202020; }
.navbar-inverse .navbar-nav>li>a { background-color: #202020; color: #f1f1f1; transition: 0.2s ease-in; font-size: 10pt; border-top: 2px solid #fff; margin: 0 5px; }

.form-control { border-radius: 0; transition: 0.2s ease-in!important; }
select { cursor: pointer; }
select.form-control,
input.form-control { font-size: 9pt; }
.form-control:not(textarea):focus { box-shadow: none; background: #E6EE9C; border-color: #212121; color: #000; font-style: italic; }

#loading { position: fixed; z-index: 20000; background: #fff; width: 100%; height: 100%; top: 0; left: 0; transition: 0.3s ease-in; }

#loadingIconWrapper { position: absolute; width: 55px; height: 55px; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }

i.fas.fa-spinner.fa-pulse { font-size: 36pt; }
#bgimg { position: fixed; width: 100%; min-height: 100%; display: block; z-index: 10; top: 0; bottom: 0; margin: auto; }

table td[data-column-no="0"],
table th[data-column-no="0"],
.singleDeduplRule[data-dedupl-no="0"],
.singleDeduplRuleSingleCondition[data-dedupl-cond-no="0"],
.singleCondition[data-condition-no="0"],
.conditionSingleOutput[data-condition-single-output="0"],
.columnCondition .form-group,
.exampleOutput .form-group,
.ruleBlock .form-group,
.randomNumberGenerate .form-group,
.excelColumn .form-group,
.setStartingNumber .form-group { display: none; }

.bg-danger { padding: 15px; }

.ui-sortable-handle { cursor: move; }

textarea.example { font-size: 8pt; resize: vertical; }

h2#projectTitle { margin-top: 50px; color: #000; }

.exampleRowSelector { margin-bottom: 20px; position: absolute; right: 76px; top: 70px; }
.exampleRowSelector select#exampleRowSelector { font-size: 10pt; }
.exampleRowSelector label { color: #000; }

.columnNumber { text-align: center; }
.columnHeader { font-size: 16pt; font-weight: bold; }

/* .structurePanel.panel { background: #212121b3; color: #fff; border-radius: 0; border-width: 2px; } */
.structurePanel.panel { background: #fffc; color: #000; border-radius: 0; border-width: 2px; }

.structurePanel .panel-body { overflow-x: auto; }
#structureWrapper { margin: 20px 0; }
#structureWrapper td,
#structureWrapper th { width: 195px; min-width: 195px; }

table.ui-sortable-helper { background: #fff; }

.ruleBlock button { vertical-align: middle; margin: 3px 2px; }
.ruleBlock label { margin-bottom: 10px; }

#sourceExcelTable { position: absolute; left: 0; top: -543px; z-index: 200; background: #fff; transition: 0.2s ease-in; cursor: pointer; width: 100%; height: 543px; }

#sourceExcelTable .panel-body { max-height: 500px; overflow-y: auto; }

#toggleSourceExcelTable { position: absolute; width: 200px; background: #fff; color: #31708f; border: 1px solid #bce8f1; box-shadow: 0 1px 2px rgba(0,0,0,.05); background-color: #BBDEFB;  height: 38px; left: 0; right: 0; bottom: -38px; font-size: 8pt; text-align: center; padding: 10px; cursor: pointer; transition: 0.2s ease-in; z-index: -1; margin: auto; }

#sourceExcelTable.floatedIn { top: 0; }

.draghandle { display: inline-block; cursor: move; height: 9px; width: 9px; vertical-align: top; padding-right: 5px; float: left; vertical-align: super; }
.placeholder { box-shadow: 4px 5px 4px #C6C6C6 inset; background: #EFEFEF !important; }

input.columnMustHave { vertical-align: middle; margin: auto; }

span.columnHeader { vertical-align: middle; }

textarea.example.form-control[readonly] { background: #80CBC4; color: #505050; border: 1px solid #212121; cursor: no-drop; }

.deleteColumnWrapper { text-align: center; }

#errorModal .modal-dialog { width: 300px; }
#errorModal .modal-content { border: 3px solid #b92c28; }

.errorRow { text-align: center; color: #b92c28; font-weight: bold; background: #f2dede; margin: 15px; padding: 8px; display: none; }

#back { position: absolute; left: 15px; top: 15px; }

.projectsContainer button+input[type="file"] { display: none; width: 200px; }
.projectsContainer input[type="file"]+.ok { display: none; margin: 0 3px; }
.projectsContainer .ok i.fas { font-size: 13pt; }
.projectsContainer th { padding: 5px 10px; font-size: 9pt; }
.projectsContainer .copy { padding: 1px 10px; }
.clippy { width: 15px; padding: 0; }

td.deleteColumnWrapper {
    padding: 10px 10px 20px;
}
th.columnNumber {
    padding-top: 20px;
}
.checkboxHelper { cursor: pointer; transition: 0.2s ease-in; }
.columnNumber label { vertical-align: middle; margin-bottom: 0; font-weight: normal; line-height: 1; }
.columnNumber input { display: none; }
.columnNumber input+.checkboxHelper:before { content: '\f0c8'; font-size: 14pt; color: #C62828; }
.columnNumber input:checked+.checkboxHelper:before { content: '\f14a'; }

.close { line-height: 0.8; }

.panel-collapse pre { font-size: 10pt; }

button.btn.btn-danger.btn-xs.deleteRule {
  font-family: Arial;
  padding: 1px 7px 3px;
}

/* Conditions */
/*
orange section
50  FFF3E0
100 FFE0B2
200 FFCC80
300 FFB74D
400 FFA726

*/

#createProjectForm .manageConditions .panel-body { padding: 15px; }

.manageConditions { width: 20%; position: absolute; right: -20%; z-index: 100; top: 50px; transition: 0.2s ease-in; border-color: #FFE0B2; }
.manageConditions.panel { border-width: 2px; }
.manageConditions.floatedIn { right: 1%; }
.manageConditions.floatedIn #toggleManageConditions { opacity: 0; }
#toggleManageConditions { position: absolute; width: 60px; background: #fff; color: #31708f; border: 1px solid #FFE0B2; box-shadow: 0 1px 2px rgba(0,0,0,.05); background-color: #FFE0B2;  height: 95px; left: -45px; top: -1px; font-size: 8pt; text-align: left; padding: 2px 5px; cursor: pointer; transition: 0.2s ease-in; z-index: -1; opacity: 1; }
#toggleManageConditions:hover { left: -60px; }

#toggleManageConditions span { transform: rotate(90deg); display: block; position: absolute; bottom: 40px; left: -17px; font-size: 8pt; user-select: none; }

.manageConditions.panel-info>.panel-heading { background: #FFE0B2; }

.conditionWrapper { margin: 0; }

.singleCondition ,
.elseCondition  { vertical-align: middle; float: none; }
.singleCondition .col-xs-1,
.elseCondition .col-xs-1 { padding: 0; text-align: center; }

.elseCondition { width: 100%; padding-bottom: 20px; background: #EFEBE9; margin: 0; }
.elseCondition .col-xs-4 { float: none; margin: auto; }

.singleCondition { position: relative; padding: 20px 0 20px 20px; margin: 0; }
.singleCondition:not([data-condition-no="1"]) { border-top: 2px solid #FFCC80; }
.singleCondition .form-group { width: 66%; margin: 10px 0; float: left; }

.singleCondition .arrow { display: block; }

.singleNo { position: absolute; left: 0; top: 0; width: 25px; height: 100%; text-align: center; color: #212121; background: #FFCC80; border-left: 2px solid #212121; border-bottom: 2px solid #212121; }
.singleNo span { font-weight: bold; position: absolute; height: 30px; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }

.subConditionButtonsWrapper {
  background: #FFF3E0;
  position: absolute;
  right: 282px;
  padding: 8px;
  border: 2px solid #212121;
  border-bottom: 0;
  border-left: 0;
}

.deleteSingleCondition { position: absolute; top: 16px; right: 30px; }

.conditionModal { display: none; position: fixed; z-index: 100; padding: 30px; top: 90px;  border: 1px solid rgba(0,0,0,.2); box-shadow: 0 5px 15px rgba(0,0,0,.5); max-height: 75%; overflow-y: auto; border-radius: 0px; width: 1000px; left: calc(50% - 500px); background: #fff; }
.conditionModal .close { position: absolute; top: 20px; right: 20px; }

.conditionBlock.opened { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 100; width: 100%; }

button.condition { margin: 0 3px 6px; }

select.logicOperator { display: block; width: auto; margin: 0px auto 15px; }

.conditionOutputWrapper { background: #FFF3E0; padding: 0 10px 5px 10px; margin-bottom: 0; right: 0; border-left: 2px solid #212121; border-top: 2px solid #212121; border-bottom: 2px solid #212121; width: 280px; }
.arrow { font-size: 9pt; margin: 5px; }

.conditionSingleOutput { margin: 10px 0; border-top: 2px solid #212121; border-bottom: 2px solid #212121; }
.conditionSingleOutput input.form-control,
.conditionSingleOutput select.form-control { border: 1px solid #212121; border-top: 0; border-collapse: collapse; }
.conditionSingleOutput input.form-control:first-child,
.conditionSingleOutput select.form-control:first-child { border-top: 1px solid #212121; }
input.form-control.conditionOutputText { margin-bottom: 0; }
.conditionSingleOutput p { position: absolute; top: -40px; left: 0; right: 0; margin: auto; width: 18px; }
.conditionSingleOutput { position: relative; }
.conditionOutputWrapper div.conditionSingleOutput:not([data-condition-single-output="1"]) { margin-top: 40px; }

.exampleOutputColumn .fa-spinner { margin: 10px; }
.exampleOutputColumn td:before { content: attr(data-no); position: absolute; left: -6px; }

.col-xs-3.exampleColumnWrapper { position: absolute; right: -260px; top: 90px; transition: 0.2s ease-in; }
.col-xs-3.exampleColumnWrapper.opened { right: 0; padding-left: 10px; box-shadow: -6px 6px 5px #313131; }
.exampleOutputColumn.row { border: 2px solid #212121; border-right: 0; background: #FFF3E0; padding-left: 15px; }
button.btn.btn-success.calcExample { position: absolute; right: 20px; top: 60px; }

.conditionModal { overflow-x: hidden; border: 1px solid #FFE0B2; padding: 0; }
.conditionModal .panel { display: flex; background: #fff; border: 0; margin-bottom: 0; }
.conditionModal .panel-heading { background: #FFE0B2; border-top: 2px solid #FFCC80; width: 145px; }
.conditionModal .panel-body { width: 113%; }

.conditionBlockNameWrapper { margin: 0; background: #FFE0B2; padding: 20px 10px; }

.projectsContainer p.bg-success { padding: 10px; }

/* Deduplication */
/*
deep purple section
50  EDE7F6
100 D1C4E9
200 B39DDB
300 9575CD
400 7E57C2
*/
#createProjectForm .deduplicationSection>.panel-body { padding: 0; border: 2px solid #D1C4E9; }
#createProjectForm .deduplicationSection .singleDeduplRuleSingleCondition { padding: 15px 15px 15px 0; }

.deduplicationSection { width: 470px; position: absolute; z-index: 100; top: 50px; transition: 0.2s ease-in; left: -470px; border: 1px solid #D1C4E9; }
.deduplicationSection.panel-info>.panel-heading { background: #D1C4E9; }
.deduplicationSection.floatedIn { left: 1%; }
.deduplicationSection.floatedIn #toggleManageDeduplicationRules { opacity: 0; }
.deduplicationSection.floatedIn:before { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: -50; width: 100%; display: block; }

#toggleManageDeduplicationRules { position: absolute; width: 60px; background: #fff; color: #31708f; border: 1px solid #D1C4E9; box-shadow: 0 1px 2px rgba(0,0,0,.05); background-color: #D1C4E9;  height: 95px; right: -45px; top: 0; font-size: 8pt; text-align: left; padding: 2px 5px 2px 27px; cursor: pointer; transition: 0.2s ease-in; z-index: -1; box-shadow: 2px 2px 5px rgba(0,0,0,.5); opacity: 1; }
#toggleManageDeduplicationRules:hover { right: -60px; }
#toggleManageDeduplicationRules span { transform: rotate(-90deg); display: block; position: absolute; bottom: 40px; right: -26px; font-size: 8pt; user-select: none; }

.deduplicationSection.floatedIn #toggleManageDeduplicationRules { box-shadow: 5px 5px 10px rgba(0,0,0,.5); }
.deduplicationSection>.panel-body { background: #fff; padding: 10px; box-shadow: 5px 5px 10px rgba(0,0,0,.5); }

.singleDeduplRule { width: calc(100% - 40px); display: inline-block; margin: 0; border: 1px solid #D1C4E9; vertical-align: top; border-radius: 3px; background: #EDE7F6; margin: 10px 20px; }
.singleDeduplRule .panel { margin-bottom: 0; display: flex; border: 0; }
.singleDeduplRuleTarget { padding: 10px; }
.singleDeduplRule .panel-info>.panel-heading { padding: 5px 10px; background: #D1C4E9; width: 130px; }
.addDeduplRuleCondition, .removeDeduplRuleCondition { margin: 2px 0; }

.singleDeduplRule>.panel { display: flex; }

.singleDeduplRuleConditions.panel-body { padding: 0; }
.singleDeduplRuleSelectTarget { margin-bottom: 10px; }
.singleDeduplRuleSingleCondition h5 { white-space: nowrap; background-color: transparent; padding: 5px; margin: 5px 0; font-size: 10pt; }
.singleDeduplRule .conditionsHead { text-align: right; margin-right: 10px; }
.singleDeduplRuleSingleCondition { padding: 10px 0; border-top: 2px solid #D1C4E9; background: #EDE7F6; margin: 0; }

.singleDeduplRuleSingleConditionSelectSourceWrapper { display: none; }
.row.singleDeduplRuleSingleCondition .deduplCondDetailsWrapper { padding: 0; }
.singleDeduplRule .logicalType { display: none; }
.singleDeduplRule .exactType { display: none; }
.singleDeduplRule .rankingType { display: none; }
.singleDeduplRule .rankingType h5 p { font-size: 10pt; font-weight: normal; margin-bottom: 10px; }
.singleDeduplRule .rankingType .ranks { display: block; }
.singleDeduplRule .rankingType .rank { margin: 3px 0; }
.singleDeduplRule .rankingType .rank span { display: inline-block; vertical-align: middle; }
.singleDeduplRule .rankingType .rank span.rankNumber { width: 5%; font-size: 8pt; }
.singleDeduplRule .rankingType .rank span.rankInput { width: 90%; }

.deleteDeduplRule { position: absolute; right: 15px; top: -5px; }

button.deleteDeduplCond { float: right; margin-right: 13px; }


/* -------------------- imported from theme ----------------------- */

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #202020;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

select.form-control {
    border: 2px solid #212121;
    border-top: 0;
}
select.form-control.dateStructure {
  display: inline-block;
  width: auto;
}
input.form-control {
    border-left: 2px solid #212121;
    border-bottom: 2px solid #212121;
    margin-bottom: 3px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #858796;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.35rem;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  }

  @media (prefers-reduced-motion: reduce) {
    .btn {
      -webkit-transition: none;
      transition: none;
    }
  }

  .btn:hover {
    color: #858796;
    text-decoration: none;
  }

  .btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
  }

  .btn.disabled, .btn:disabled {
    opacity: 0.65;
  }

  a.btn.disabled,
  fieldset:disabled a.btn {
    pointer-events: none;
  }

  .btn-primary {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }

  .btn-primary:hover {
    color: #fff;
    background-color: #2e59d9;
    border-color: #2653d4;
  }

  .btn-primary:focus, .btn-primary.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
  }

  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }

  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #2653d4;
    border-color: #244ec9;
  }

  .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-primary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(105, 136, 228, 0.5);
  }

  .btn-secondary {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }

  .btn-secondary:hover {
    color: #fff;
    background-color: #717384;
    border-color: #6b6d7d;
  }

  .btn-secondary:focus, .btn-secondary.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
  }

  .btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }

  .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #6b6d7d;
    border-color: #656776;
  }

  .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-secondary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(151, 153, 166, 0.5);
  }

  .btn-success {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }

  .btn-success:hover {
    color: #fff;
    background-color: #17a673;
    border-color: #169b6b;
  }

  .btn-success:focus, .btn-success.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
  }

  .btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }

  .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
  .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #169b6b;
    border-color: #149063;
  }

  .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
  .show > .btn-success.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(62, 208, 156, 0.5);
  }

  .btn-info {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }

  .btn-info:hover {
    color: #fff;
    background-color: #2c9faf;
    border-color: #2a96a5;
  }

  .btn-info:focus, .btn-info.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
  }

  .btn-info.disabled, .btn-info:disabled {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }

  .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
  .show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #2a96a5;
    border-color: #278c9b;
  }

  .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
  .show > .btn-info.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(84, 196, 212, 0.5);
  }

  .btn-warning {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }

  .btn-warning:hover {
    color: #fff;
    background-color: #f4b619;
    border-color: #f4b30d;
  }

  .btn-warning:focus, .btn-warning.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
  }

  .btn-warning.disabled, .btn-warning:disabled {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }

  .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
  .show > .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #f4b30d;
    border-color: #e9aa0b;
  }

  .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
  .show > .btn-warning.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(247, 203, 91, 0.5);
  }

  .btn-danger {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }

  .btn-danger:hover {
    color: #fff;
    background-color: #e02d1b;
    border-color: #d52a1a;
  }

  .btn-danger:focus, .btn-danger.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
  }

  .btn-danger.disabled, .btn-danger:disabled {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }

  .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
  .show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #d52a1a;
    border-color: #ca2819;
  }

  .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
  .show > .btn-danger.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(235, 101, 88, 0.5);
  }

  .btn-light {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }

  .btn-light:hover {
    color: #3a3b45;
    background-color: #dde2f1;
    border-color: #d4daed;
  }

  .btn-light:focus, .btn-light.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
  }

  .btn-light.disabled, .btn-light:disabled {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }

  .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
  .show > .btn-light.dropdown-toggle {
    color: #3a3b45;
    background-color: #d4daed;
    border-color: #cbd3e9;
  }

  .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
  .show > .btn-light.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(220, 221, 225, 0.5);
  }

  .btn-dark {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-dark:hover {
    color: #fff;
    background-color: #484a54;
    border-color: #42444e;
  }

  .btn-dark:focus, .btn-dark.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
  }

  .btn-dark.disabled, .btn-dark:disabled {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
  .show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #42444e;
    border-color: #3d3e47;
  }

  .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
  .show > .btn-dark.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(115, 116, 128, 0.5);
  }

  .btn-outline-primary {
    color: #4e73df;
    border-color: #4e73df;
  }

  .btn-outline-primary:hover {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }

  .btn-outline-primary:focus, .btn-outline-primary.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
  }

  .btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #4e73df;
    background-color: transparent;
  }

  .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
  }

  .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-primary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
  }

  .btn-outline-secondary {
    color: #858796;
    border-color: #858796;
  }

  .btn-outline-secondary:hover {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }

  .btn-outline-secondary:focus, .btn-outline-secondary.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
  }

  .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #858796;
    background-color: transparent;
  }

  .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: #858796;
    border-color: #858796;
  }

  .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-secondary.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(133, 135, 150, 0.5);
  }

  .btn-outline-success {
    color: #1cc88a;
    border-color: #1cc88a;
  }

  .btn-outline-success:hover {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }

  .btn-outline-success:focus, .btn-outline-success.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
  }

  .btn-outline-success.disabled, .btn-outline-success:disabled {
    color: #1cc88a;
    background-color: transparent;
  }

  .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
  .show > .btn-outline-success.dropdown-toggle {
    color: #fff;
    background-color: #1cc88a;
    border-color: #1cc88a;
  }

  .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-success.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(28, 200, 138, 0.5);
  }

  .btn-outline-info {
    color: #36b9cc;
    border-color: #36b9cc;
  }

  .btn-outline-info:hover {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }

  .btn-outline-info:focus, .btn-outline-info.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
  }

  .btn-outline-info.disabled, .btn-outline-info:disabled {
    color: #36b9cc;
    background-color: transparent;
  }

  .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
  .show > .btn-outline-info.dropdown-toggle {
    color: #fff;
    background-color: #36b9cc;
    border-color: #36b9cc;
  }

  .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-info.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(54, 185, 204, 0.5);
  }

  .btn-outline-warning {
    color: #f6c23e;
    border-color: #f6c23e;
  }

  .btn-outline-warning:hover {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }

  .btn-outline-warning:focus, .btn-outline-warning.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
  }

  .btn-outline-warning.disabled, .btn-outline-warning:disabled {
    color: #f6c23e;
    background-color: transparent;
  }

  .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
  .show > .btn-outline-warning.dropdown-toggle {
    color: #fff;
    background-color: #f6c23e;
    border-color: #f6c23e;
  }

  .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-warning.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 62, 0.5);
  }

  .btn-outline-danger {
    color: #e74a3b;
    border-color: #e74a3b;
  }

  .btn-outline-danger:hover {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }

  .btn-outline-danger:focus, .btn-outline-danger.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
  }

  .btn-outline-danger.disabled, .btn-outline-danger:disabled {
    color: #e74a3b;
    background-color: transparent;
  }

  .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
  .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #e74a3b;
    border-color: #e74a3b;
  }

  .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-danger.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(231, 74, 59, 0.5);
  }

  .btn-outline-light {
    color: #f8f9fc;
    border-color: #f8f9fc;
  }

  .btn-outline-light:hover {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }

  .btn-outline-light:focus, .btn-outline-light.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
  }

  .btn-outline-light.disabled, .btn-outline-light:disabled {
    color: #f8f9fc;
    background-color: transparent;
  }

  .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
  .show > .btn-outline-light.dropdown-toggle {
    color: #3a3b45;
    background-color: #f8f9fc;
    border-color: #f8f9fc;
  }

  .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-light.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 252, 0.5);
  }

  .btn-outline-dark {
    color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-outline-dark:hover {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-outline-dark:focus, .btn-outline-dark.focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
  }

  .btn-outline-dark.disabled, .btn-outline-dark:disabled {
    color: #5a5c69;
    background-color: transparent;
  }

  .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
  .show > .btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #5a5c69;
    border-color: #5a5c69;
  }

  .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
  .show > .btn-outline-dark.dropdown-toggle:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(90, 92, 105, 0.5);
  }

  .btn-link {
    font-weight: 400;
    color: #4e73df;
    text-decoration: none;
  }

  .btn-link:hover {
    color: #224abe;
    text-decoration: underline;
  }

  .btn-link:focus, .btn-link.focus {
    text-decoration: underline;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .btn-link:disabled, .btn-link.disabled {
    color: #858796;
    pointer-events: none;
  }

  .btn-lg, .btn-group-lg > .btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
  }

  .btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
  }

  .btn-block {
    display: block;
    width: 100%;
  }

  .btn-block + .btn-block {
    margin-top: 0.5rem;
  }

  input[type="submit"].btn-block,
  input[type="reset"].btn-block,
  input[type="button"].btn-block {
    width: 100%;
  }

.btn-group-xs>.btn, .btn-xs {
    padding: 1px 5px;
}
