.form-horizontal visible {
    display: block;
}

.form-horizontal hidden {
    display: none;
}

.filter visible {
    display: block;
}

.filter hidden {
    display: none;
}

/* List View - fix trash icon inside table column */
.model-list form.icon {
    display: inline;
}

.model-list form.icon button {
    border: none;
    background: transparent;
    text-decoration: none;
    padding: 0;
    line-height: normal;
}

.model-list a.icon:first-child {
    margin-left: 10px;
}

/* List View - prevent link icons from differing from trash icon */
.model-list a.icon {
    text-decoration: none;
    color: inherit;
}

/* List View - fix checkbox column width */
.list-checkbox-column {
    width: 14px;
}

/* List View - fix overlapping border between actions and table */
.model-list  {
    position: relative;
    margin-top: -1px;
    z-index: 999;
}

/* List View Search Form - fix gap between form and table */
.actions-nav form.navbar-form {
    margin: 1px 0 0 0;
}

/* Filters */
table.filters {
    border-collapse: collapse;
    border-spacing: 4px;
}

/* prevents gap between table and actions while there are no filters set */
table.filters:not(:empty) {
    margin: 12px 0px 20px 0px;
}

/* spacing between filter X button, operation, and value field */
/* uses tables instead of form classes for bootstrap2-3 compatibility */
table.filters tr td {
    padding-right: 5px;
    padding-bottom: 3px;
}

/* Filters - Select2 Boxes */
.filters .filter-op {
    width: 130px;
}

.filters .filter-val {
    width: 270px;
}

/* Image thumbnails */
.image-thumbnail img {
    max-width: 100px;
    max-height: 100px;
}

/* Forms */
/* adds spacing between navbar and edit/create form (non-modal only) */
/* required because form-horizontal removes top padding */
div.container > .admin-form {
    margin-top: 35px;
}

div.container {
    width: 100%;
}

/* Form Field Description - Appears when field has 'description' attribute */
/* Test with: form_args = {'name':{'description': 'test'}} */
/* prevents awkward gap after help-block - This is default for bootstrap2 */
.admin-form  .help-block {
    margin-bottom: 0px;
}

/* Modals */
/* hack to prevent cut-off left side of select2 inside of modal */
/* may be able to remove this after Bootstrap v3.3.5 */
body.modal-open {
    overflow-y: scroll;
    padding-right: 0 !important;
}

/* Details View - add space between navbar and results */
.fa_filter_container {
    margin-top: 20px;
    margin-bottom: 10px;
}

body {
    padding-top: 4px;
}
a[id^="actions"] {
    cursor: pointer;
    position:absolute;
}

th {
    text-align: center;
    vertical-align: bottom;
}

p#data {
    margin: 15px 0 5px;
}

span.required {
    color: red;
}

div.create_ps_transfer {
    float: none;
    margin: 0 auto;
    width:50%;
}

#balances-table * {
    vertical-align: middle;
}

#input_payways * {
    vertical-align: middle;
}

#output_payways * {
    vertical-align: middle;
}

p.data {
    margin: 15px 0 5px;
}

input.paymethods {
    text-align: center;
}

tr.invoice_success {
    background-color: #ccffcc;
}

tr.invoice_waiting {
    background-color: #ffff99;
}

tr.invoice_pscreatingerror {
    background-color: #ffd2b3;
}

tr.invoice_rejected {
    background-color: #ffd2b3;
}

tr.invoice_new {
    background-color: #F0FFFF;
}

tr.invoice_manualrejected {
    background-color: #ffd2b3;   
}

tr.currency_code_840 {
    background-color: #ffd2b3;
}

tr.currency_code_643 {
    background-color: #ccffcc;
}

tr.currency_code_980 {
    background-color: #ffff99;
}
tr.currency_code_978 {
    background-color: #F0FFFF;
}

tr.withdraw_success {
    background-color: #ccffcc;
}

tr.withdraw_manualcanceled, tr.withdraw_rejected {
    background-color: #ffd2b3;
}

tr.withdraw_new, tr.withdraw_waitingmanualconfirm {
    background-color: #F0FFFF;
}

tr.withdraw_psprocessing, tr.withdraw_manualconfirm, tr.withdraw_psprocessingerror, tr.withdraw_psnetworkerror {
    background-color: #ffff99;
}

tr.withdraw_manualrejected {
    background-color: #ffd2b3;   
}

input.pay_method_rate {
    width:40px;
    text-align: center;
}

input.checkbox {
    width:28px;
    height:28px;
    display: inline-block;
    text-align:center;
}

input.text {
    width: 112px;
    height: 28px;
    display: inline-block;
}

.dropdown-menu {
    float:right;
}

#action_button {
    background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
    padding: 0;
}

.table#paloma td {
   text-align: center;   
}

td.alarmed {
    background-color: #F78181;
}

tr.alarmed {
    background-color: #F78181;
}

.statistic_form input.form-control {
    display: block; /* allows labels to sit on input when inline */
    margin-bottom: 25px; /* gives padding to bottom of inline inputs */
}

input.form-control.checkbox{
    box-shadow: none;
    -webkit-box-shadow: none;
}

.small-checkbox {
    height: 29px;
}

span.glyphicon {
    font-size: 1.2em;
}

/* red bg for a table row */
tr.error {
    background-color: #eeaaaa;
}

tr.error:hover{
    background: #e99595 !important;
}

table th {
    vertical-align: middle !important;
}

td {
    text-align: center;
}

table.filters td {
  text-align: left;
}

table .datetime {
    min-width: 120px;
    width: 120px;
}

/* hiding selected options with select2 */
.select2-results__option[aria-selected=true] {
    display: none;
}

#task-list td form {
    display: inline;
}

#task-list td form .handle-btn {
    border: none;
    padding: 0;
    background: transparent;
    color: #2fa4e7;
}

.help-div {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.help-div .help-div-span {
  visibility: hidden;
  width: 472.5px;
  background-color: black;
  color: white;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 100%;
  margin-left: -67.5px;
}

.help-div:hover .help-div-span {
  visibility: visible;
}

.flash-success{
    color: darkgreen;
}

.flash-error{
    color: darkred;
}

.hiding_columns{
    display: block;
}

.list_of_hiding_columns{
    display: none;
    border: 1px solid black;
    border-radius: 5px;
    background-color: aliceblue;
    z-index: 1000;
    position: absolute;
}

.support-container {
    padding: 20px;
    border: #5c2040 1px solid;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    background-color: blueviolet;
    height: 50px;
}
