/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *




 */

h1 {
	color: #17a400;
	font: small-caps bold large "Lucida Grande", Lucida, Verdana, sans-serif;
}

.p_16 {
  padding: 16px;
}
a img { border: none;
		text-decoration: none;
}

error {
	background-color:yellow
}

container {
    padding: 2em;
}

#material_transactions_new  {
	display:  none;
}

.activity {
    border: inset thin;
    padding: 1em;
}

.setup {
    border: inset thin;
    padding: 1em;
}

.material_transaction {
    border: inset thin;
    padding: 1em;
}

.material_transactions {
	display:  inline;
}

.flickr_pagination {
    margin-bottom: 1em;
    text-align: center;
  }

  .flickr_pagination a, .flickr_pagination span {
    padding: .2em .5em;
  }

  .flickr_pagination .disabled {
    color: #AAA;
  }

  .flickr_pagination .current {
    color: #FF0084;
    font-weight: bold;
  }

  .flickr_pagination a {
    border: 1px solid #DDDDDD;
    color: #0063DC;
    text-decoration: none;
  }

  .flickr_pagination a:hover, .flickr_pagination a:focus {
    background: #0063DC;
    border-color: #003366;
    color: white;
  }

  .flickr_pagination .page_info {
    color: #aaa;
    padding-top: .8em;
  }

  .flickr_pagination .prev_page, .flickr_pagination .next_page {
    border-width: 2px;
  }

  .flickr_pagination .prev_page {
    margin-right: 1em;
  }

  .flickr_pagination .next_page {
    margin-left: 1em;
  }

/* Navbar menu item box styling - Bootstrap default style */
.navbar-nav .nav-item .nav-link.border:hover,
.navbar-nav .nav-link.border:hover {
  border-color: #dee2e6 !important; /* Bootstrap's border-light color */
  background-color: rgba(0, 0, 0, 0.05) !important; /* Bootstrap's default hover effect */
  text-decoration: none !important;
  color: #212529 !important; /* Bootstrap's text-dark color */
}

.navbar-nav .nav-item.active .nav-link.border {
  border-color: #007bff !important; /* Bootstrap's primary color */
  background-color: rgba(0, 123, 255, 0.1) !important; /* Light primary background */
  color: #007bff !important; /* Bootstrap's primary color for text */
}

.overlay-label-field {
  position: relative;
}

.overlay-label-field .overlay-label {
  position: absolute;
  top: -0.6rem;
  left: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0 0.25rem;
  background: #fff;
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.2;
  pointer-events: none;
}

.overlay-label-field .form-control {
  position: relative;
  z-index: 1;
}

/* DataTables (sortable_table): make search input less wide */
.dataTables_wrapper .dataTables_filter input.form-control {
  width: 12rem;
}

@media only screen and (max-width: 640px) {
  /* DataTables filter stacks to avoid horizontal overflow on narrow screens */
  .dataTables_wrapper .dataTables_filter {
    min-height: 24px;
    width: 90%;
  }

  .dataTables_wrapper .dataTables_filter label {
    display: block;
    width: 90%;
    margin-bottom: 0.25rem;
  }

  .dataTables_wrapper .dataTables_filter input.form-control {
    display: block;
    width: 90%;
    box-sizing: border-box;
  }

  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr {
    display: block;
  }

  .responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .responsive-table tr {
    border: 1px solid #dee2e6;
    margin-bottom: 0.75rem;
  }

  .responsive-table td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding: 1rem 0.75rem 1rem 50%;
    min-height: 2.5rem;
    white-space: normal;
  }

  .responsive-table td:before {
    content: attr(data-label);
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    width: 45%;
    padding-right: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .responsive-table td[data-label="Actions"] {
    display: none;
  }

  /* Equipment index: on small screens, only show Name + Company */
  .equipment-table td[data-label="Use Material"],
  .equipment-table td[data-label="Non-MSU"] {
    display: none;
  }

  /* Equipment index: keep the Show action visible, hide admin actions */
  .equipment-table td.equipment-show {
    display: block;
  }

  .equipment-table td.equipment-admin {
    display: none;
  }

  /* Materials index: keep the Show action visible, hide admin actions */
  .material-table td.material-show {
    display: block;
  }

  .material-table td.material-admin {
    display: none;
  }
}
/* Example tokeninput style #2: Facebook style */
ul.token-input-list-facebook {
    background-color: #fff;
    border: 1px solid #8496ba;
    clear: left;
    cursor: text;
    font-family: Verdana;
    height: auto !important;
    height: 1%;
    /* font-size: 12px; */
    list-style-type: none;
    margin: 0;
    min-height: 1px;
    overflow: hidden;
    padding: 0;
    width: 200px;
    z-index: 999;
}

ul.token-input-list-facebook li input {
    background-color: white;
    border: 0;
    margin: 2px 0;
    padding: 3px 8px;
    width: 100px;
    -moz-appearance: caret;
    -webkit-appearance: caret;
}

li.token-input-token-facebook {
    background-color: #eff2f7;
    border: 1px solid #ccd5e4;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #000;
    cursor: default;
    float: left;
    height: auto !important;
    height: 15px;
    margin: 3px;
    overflow: hidden;
    padding: 1px 3px;
    white-space: nowrap;
}

li.token-input-token-facebook p {
    display: inline;
    padding: 0;
}

li.token-input-token-facebook span {
    color: #a6b3cf;
    cursor: pointer;
    font-weight: bold;
    margin-left: 5px;
}

li.token-input-selected-token-facebook {
    background-color: #5670a6;
    border: 1px solid #3b5998;
    color: #fff;
}

li.token-input-input-token-facebook {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.token-input-dropdown-facebook {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    cursor: default;
    font-family: Verdana;
    font-size: 11px;
    overflow: hidden;
    position: absolute;
    width: 200px;
    z-index: 1;
}

div.token-input-dropdown-facebook p {
    color: #777;
    font-weight: bold;
    margin: 0;
    padding: 5px;
}

div.token-input-dropdown-facebook ul {
    margin: 0;
    padding: 0;
}

div.token-input-dropdown-facebook ul li {
    background-color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 3px;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li.token-input-dropdown-item2-facebook {
    background-color: #fff;
}

div.token-input-dropdown-facebook ul li em {
    font-style: normal;
    font-weight: bold;
}

div.token-input-dropdown-facebook ul li.token-input-selected-dropdown-item-facebook {
    background-color: #3b5998;
    color: #fff;
}
