/**
* FMIC Custom Styles
* author: Mindstorm Software Innovations
* website: <mindstorminnovations.com>
* version 1.0 2017.2.13
**/

img { max-width: 100%; }
.box {
    margin-top: 10px;
    border-color: #e0e0e;
    clear: both;
}
.box-header { background-color: #f1f1f1; }
.box-header .btn {
    margin-left: 5px;
}
.box-header .box-title { margin: 8px 0; }
h4 {
    background-color: #d2d6de;
    padding: 10px;
    color: #333;
}
.skin-green .sidebar-menu > li > .treeview-menu {
    margin: 0;
    padding: 0;
}
.treeview-menu > li.selected > a{
    color: #ffffff;
    background-color: #222d32;
    border-left: 3px solid #8aa4af;
}
.modal-header {
    padding: 0;
}
.modal-header .close {
    margin: 8px 10px 0;
}

/*
* Dashboard
*/
.dashboard section {
    overflow: hidden;
}
.dashboard h3 { margin: 0; }
.dashboard .row.box-title{
    color: #00A65A;
    padding: 20px;
    clear: both;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.dashboard .row.box-title .form-control {
    border-radius: 40px 0 0 40px;
    border-right: none;
    padding: 6px 18px;
}
.dashboard .row.box-title .form-control:focus { border-color: #d2d6de; }
.dashboard .row.box-title .input-group .input-group-addon {
    border-radius: 0 40px 40px 0;
    padding: 6px 20px;
}
.white-box {
    background-color: #fff;
    overflow: hidden;
    width: 30.5%;
    float: left;
    margin: 15px;
    padding: 15px;
}
.white-box .box-title {
    background: none;
    margin: 0px 0px 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0;
}
.white-box .box-content {
    position: relative;
}
.white-box .fa {
    position: absolute;
    top: 50%;
    left: 12px;
    font-size: 2.8em;
    transform: translateY(-50%);
}
.white-box p {
    font-size: 3.6em;
    line-height: normal;
    margin: 0;
}

/*
* Login Page
*/
.login-page {
    background-color: #00A65A;
    height: auto;
}
.login-box {
    width: auto;
    max-width: 400px;
}
.login-box-body {
    padding: 85px 20px 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.login-logo {
    margin-bottom: -75px;
}
.login-logo img {
    width: 150px;
}
.login-box .btn-flat {
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
}

/*
* Header
*/
.logo img{
    height: 50px;
    float: left;
}
.main-header .logo .logo-lg {
    font-size: 14px;
    text-align: left;
    line-height: 1.2;
}
.main-header .logo .logo-lg small {
    padding: 10px 0;
    display: block;
}

/*
* Sidebar
*/
.sidebar-menu .treeview-menu > li > a { white-space: initial; }
.control-sidebar a { color: #b8c7ce; }

/*
* Tables
*/
.table > tbody > tr > th {
    border-bottom: 1px solid #eaeaea;
    vertical-align: middle;
}
.table td a {
    color: #00A65A;
}
.filter label { line-height: 2; }
.filter .btn { margin-left: 0; }
.product-info .btn { margin-left: 5px; }
.mDetails > span {
    display: none;
    font-weight: bold;
}
.mDetails:hover > span {
    display: block;
}
table td:last-child .fa {
    padding: 5px 0px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
table td:last-child .fa:hover,
table td:last-child .fa:hover::before,
table td:last-child .fa:focus::before {
    color: #fff;
    border-color: #00A65A;
    background-color: #00A65A;
}
table td:last-child a {
    position: relative;
    cursor: pointer;
    margin: 0 2px;
}
table td:last-child a:hover .alt {
    display: block;
}
table td:last-child a .alt {
    position: absolute;
    left: 0;
    bottom: 100%;
    display: none;
    padding: 2px 8px;
    color: #fff;
    background-color: #333;
    z-index: 1;
    transform: translate(0,-30%);
}
table td:last-child a .alt::before {
    content: "";
    background-color: #333;
    width: 10px;
    height: 10px;
    position: absolute;
    bottom: -5px;
    left: 4px;
    transform: rotate(45deg);
    z-index: -1;
}
#history .filter{
    margin-bottom: 5px;
}
.table.table-hover td:last-child, .table.table-hover th:last-child {
    text-align: center;
}
.table .grand-total {
    font-size: 16px;
    background-color: #f1f1f1;
}
.table h4{
    margin: -8px;
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    color: #0a0a0a;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #ddd;
}
.tab-content .table.table-hover td:last-child {
    text-align: right;
}
.table .input-group .form-control {
    padding: 6px 8px;
}
.table .input-group .input-group-addon {
    width: 60%;
    padding: 6px 4px;
}

/*
* Forms
*/
input[type="number"] { text-align: right; }
.form-group.has-error { position: relative; }
.has-error span.has-error {
    position: absolute;
    top: 0;
    right: 0;
    color: #dd4b39;
    font-size: 12px;
}
.form-group.has-error label {
    z-index: 1;
    position: relative;
}
.has-error .twitter-typeahead { position: initial!important; }
.gInventory p, .eMaterial p {
    border-bottom: 1px dashed #ddd;
    margin-bottom: 0;
    padding: 10px 0;
}
.project-details {
    margin-bottom: 12px;
}
#exMaterial p { border: none; }
.disabled { color: #ddd; }
.btn-default { background-color: #fff; }
.pDesc .form-group, .pDesc .form-group p {
    padding: 0;
    margin: 0;
}
.pDesc .form-group:last-child {
    margin-bottom: 15px;
}
.form-group.has-error .control-label {
    font-size: 12px;
}
/*
.form-control {
    height: auto;
    padding: 10px 12px;
}
*/
.form-group.static {
    border: 1px solid #d2d6de;
    position: relative;
    margin-top: 15px;
}
.form-group.static label {
    background-color: #fff;
    margin: -8px 0 0;
    display: table;
    position: relative;
    top: -4px;
    left: 6px;
    padding: 0 8px;
}
.form-group.static p {
    margin: 0;
    padding: 0px 14px 10px;
    font-size: 16px;
    color: #3a3b3e;
}

/*
* Padlock Icon
*/
@font-face {
  font-family: "Flaticon";
  src: url("../fonts/Flaticon.eot");
  src: url("../fonts/Flaticon.eot?#iefix") format("embedded-opentype"),
       url("../fonts/Flaticon.woff") format("woff"),
       url("../fonts/Flaticon.ttf") format("truetype"),
       url("../fonts/Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "Flaticon";
    src: url("../fonts/Flaticon.svg#Flaticon") format("svg");
  }
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
  font-family: Flaticon;
        font-size: 20px;
font-style: normal;
margin-left: 20px;
}
.flaticon-padlock {
    display: inline-block;
    font-family: "Flaticon";
    line-height: 1;
}
.flaticon-padlock:before {
    font-size: 18px;
    color: #00a65a;
    margin-left: 0;
    font-weight: bold;
    content: "\f100";
}

@keyframes deleted {
  from {
    background-color: #f9a6a6;
    opacity: 1;
  }
  to {
    background-color: none;
    opacity: 0;
  }
}

.deleted {
  -webkit-transition: .3s all ease-in-out;
  -moz-transition: .3s all ease-in-out;
  -ms-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;

  animation-name: deleted;
  animation-duration: 3s;
}

@keyframes append {
    from {
      background-color: #53c591;
   }
    to {
      background-color: none;
   }
}

.append {
  -webkit-transition: .3s all ease-in-out;
  -moz-transition: .3s all ease-in-out;
  -ms-transition: .3s all ease-in-out;
  -o-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;

  animation-name: append;
  animation-duration: 3s;
}


.input-group-btn>.btn {
  padding: 10px 12px;
}

#searchinput {
    width: 200px;
}
.searchclear {
    position: absolute;
    right: 5px;
    top: 50%;
    bottom: 0;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #dd4b39;
    transform: translateY(-50%);
}

.tbl-search {
  position: absolute;
  top: 12px;
}

.tbl-search input {
  border-color: #d2d6de;
  border-radius: 0;
  box-shadow: none;

  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  color: #555;
  display: block;
  font-size: 14px;
  height: 34px;
  line-height: 1.42857;
  padding: 6px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 250px !important;
}

.tbl-search-material {
  left: 180px;
}

.clear-float {
  clear: both;
}

.client-table-tools {
  top: -40px;
}

.js-add-btn {
  display: inline-block;
}

.table-tools-container a.btn-primary {
  margin-left: 5px;
}

.table-tools-container a:not(.btn-primary) {
  background: #F5F5F5;
  border-radius: 2px;
  border: 1px solid #b5b5b5;
  margin-left: 4px;
  padding: 6px 12px;
  color: #777;
}

.table-tools-container a:hover:not(.btn-primary) {
  background: #00a65a;
  border-color: #00a65a;
  color: #fff;
  cursor: pointer;
}

/*.table-tools-container .DTTT_button_xls div {
  left: 64px !important;
  top: -6px !important;
}

.table-tools-container .DTT_button_pdf div {
  left: 5px !important;
  top: -6px !important;
}*/

.table-tools-container .DTTT_container {
  position: relative;
  top: 9px;
  display: inline-block;
}

.has-add-btn {
  display: inline-block;
  position: relative;
  top: -15px;
}

.has-add-btn--no-select-box {
  display: inline-block;
  position: relative;
  top: 0;
}

.float-left {
  float: left;
}

.dtables-search input[type=search] {
  margin-left: 0.5em;
  margin-right: 4px;
  display: inline-block;
  width: auto;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;

  display: block;
  width: 220px;

  border-radius: 0;
  box-shadow: none;
  border-color: #d2d6de;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
}

#js-materials-list_filter {
  position: relative;
  left: 20px;
  top: -2px;
}

#js-users-list_wrapper .tbl-search {
  margin-left: 130px;
}

/* datatable */
.dataTable .row-details {
  margin-top: 3px;
  display: inline-block;
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.dataTable .row-details.row-details-close {
  background: url("../images/datatable-row-openclose.png") no-repeat 0 0;
}

.dataTable .row-details.row-details-open {
  background: url("../images/datatable-row-openclose.png") no-repeat 0 -23px;
}

.dataTable .details {
  background-color: #eee;
}

.dataTable .details td,
.dataTable .details th {
  padding: 4px;
  background: none;
  border: 0;
}

.dataTable .details tr:hover td,
.dataTable .details tr:hover th {
  background: none;
}

.dataTable .details tr:nth-child(odd) td,
.dataTable .details tr:nth-child(odd) th {
  background-color: #eee;
}

.dataTable .details tr:nth-child(even) td,
.dataTable .details tr:nth-child(even) th {
  background-color: #eee;
}

.pagination-container a {
  background: #F5F5F5;
  border-radius: 2px;
  border: 1px solid #b5b5b5;
  margin-left: 4px;
  padding: 6px 12px;
  color: #777;
  cursor: pointer;
}

.pagination-container a.current,
.pagination-container a:hover {
  background: #00a65a;
  border-color: #00a65a;
  color: #fff;
}

.material_issuance__container {
    overflow: visible !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield;
}

.pending__status {
    color: #e53434;
}

#js-materials-request-list { width: 100%!important; }

.form-group span.error {
    color: #dd4b39;
}

ul.charged-to-list {
  list-style-type: none;
}
