html {
  position: relative;
  min-height: 100%;
}

body {
  padding-right: 0 !important;
  /* fix padding roght on modal close */
  padding-top: 50px;
  margin-bottom: 90px;
  /* fixed height of the footer 290px + 40px*/
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #eaedef;
}


/* footer
**************/

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /*min-height:290px; fixed height of the footer */
  height: 50px;
  padding-top: 15px;
  background-color: #8ba8af;
  overflow: hidden;
  font-size: 13px;
}

.footer h3 {
  letter-spacing: 2px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  font-size: 1.3em;
  color: #fff;
}

.footer-ul {
  margin: 0;
  padding: 0;
}

.footer-ul li {
  list-style: none;
  padding-top: 15px;
}

.footer-ul li a {
  color: #fff;
  font-size: 18px !important;
}


/* media 991 xs device - phone
**************/

@media (max-width: 991px) {
  body {
    /*margin-bottom: 487px; fixed height of the footer 447px + 40px*/
  }

  .navbar-brand {
    font-size: 15px !important;
    background-size: 30px 30px;
    background-position: 10px center;
  }

  .jumbotron.page_path {
    padding: 20px 10px;
  }

  .jumbotron.page_path h4 {
    font-size: 14px;
    line-height: 22px;
  }

  ul.news_list a {
    font-size: 13px;
  }

  .item_summary {
    margin-top: 10px;
    float: left;
  }

  .modal.big_modal .modal-dialog {
    width: 95%;
    margin: 10% auto !important;
  }
}


/* ajax
**************/

#ajax-start {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -10px;
  text-align: center;
  z-index: 99999;
}

#ajax-start img {
  content: url('../images/loading.gif');
  width: 60px;
  height: 60px;
}

#sys-message {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -10px;
  z-index: 9999;
}

#sys-message .success,
#sys-message .error {
  line-height: 35px;
  text-align: center;
  width: 400px;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
  font-weight: bold;
  font-size: .9em;
  box-shadow: 1px 0px 10px 1px #666;
  opacity: .8;
  letter-spacing: 1px;
  webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  direction: ltr;
}

#sys-message .success {
  background-color: green;
}


/* navbar
**************/

#mainnav {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  line-height: 1.42;
  font-weight: bold;
  background-color: #dd4814;
  /*background-color: #ccc;*/
  border-color: #bf3e11;
}

#mainnav ul li a {
  color: #fff;
}

#mainnav ul li:hover a {
  background-color: #bf3e11;
}

#mainnav ul li.active {
  background-color: brown;
}

#mainnav .dropdown-menu {
  padding: 0;
  background-color: #dd4814;
}

#mainnav .dropdown-menu li a {
  padding: 10px;
  letter-spacing: 2px;
}

#mainnav .dropdown-menu li a:hover {
  background-color: #823726;
}

#mainnav a.dropdown-toggle {
  background-color: #dd4814;
}

#mainnav .icon-bar {
  border: 1px solid #fff;
}

#mainnav .navbar-brand {
  color: #fff;
  float: left;
  padding: 15px 15px 15px 45px;
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  line-height: 22px;
  height: 50px;
  background: url(../images/ci-logo-white.png) left top no-repeat;
}

#mainnav .navbar-brand:hover {
  color: #fff;
}


/* Jumbotron page_path
-------------------------------------------------- */

.jumbotron.page_path {
  background-color: #8ba8af;
  padding: 20px;
  margin-bottom: 15px;
}

.jumbotron.page_path h4 {
  letter-spacing: 0.33px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0;
  margin: 0;
}

.jumbotron.page_path h4 a {
  color: brown;
}


/* wells
-------------------------------------------------- */

.well {
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.well-header {
  margin-top: 25px;
  background-color: #eee;
  color: #dd4814;
  padding: 10px;
}

.well:hover {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .25);
}

.well-icon {
  font-size: 55px;
  height: 120px;
  line-height: 120px;
}

.well-icon span {
  color: #8ba8af;
}

a.well-label {
  font-size: 16px;
  font-weight: bold;
  color: #dd4814;
}

div.well-btns {
  padding-top: 10px;
}

.wells .list-group a span {
  padding-right: 20px;
}


/* Common settings
*******************************/
.d-none {
  display: none;
}

.mt-1 {
  margin-top: 5px !important;
}

.mt-2 {
  margin-top: 10px !important;
}

.mt-3 {
  margin-top: 15px !important;
}

.mt-4 {
  margin-top: 20px !important;
}

.mt-5 {
  margin-top: 30px !important;
}

/*fix bootstrap-select wrap behind navbar*/

.bootstrap-select .dropdown-menu.open {
  z-index: 1030;
}

.form-group label {
  font-size: 13px;
}

.modal.big_modal .modal-body {
  height: 380px;
  overflow: auto;
}

.modal.big_modal .modal-body {
  overflow-y: auto;
}

.modal.big_modal .modal-dialog {
  width: 75%;
  margin: 5% auto !important;
}

.modal.big_modal .modal-body {
  height: 380px;
  overflow-y: auto;
}

#myModal input,
#myModal textarea {
  color: #333;
  /*font-weight:bold;*/
  font-size: 15px;
}

#myModal .modal-footer.msg-container {
  padding: 0;
}

#myModal .modal-footer.msg-container .msg-content {
  padding: 8px;
  margin-bottom: 0;
}

#myModal .modal-footer.msg-container .msg-content a {
  margin-left: 10px;
}

#myModal .modal-footer.msg-container .msg-content p {
  text-align: left;
  font-size: 16px;
}

.shadow {
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.collapse-panel {
  padding: 0;
  margin: 0;
  background-color: #fff;
}

.collapse-panel .panel-heading {
  cursor: pointer;
}

.collapse-panel .panel-footer {
  background-color: #e2d8da;
}

.collapse-panel .panel-heading,
.collapse-panel .panel-footer {
  padding: 10px;
  font-weight: bold;
  color: #181818;
  font-size: 14px;
}

.collapse-panel .panel-heading {
  background-color: #fff;
  position: relative;
  border-bottom: 1px solid #ccc;
}

.collapse-panel .panel-heading p {
  margin: 0;
  color: #777;
  font-size: 13px;
  color: #000;
}

.collapse-panel .panel-heading p span.fa {
  padding-right: 6px;
  font-size: 17px;
  color: #dd4814;
}

.collapse-panel .panel-heading .collapse-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #999;
}

.collapse-panel .panel-heading .collapse-icon:hover {
  color: red;
  font-size: 1.1em;
  font-weight: bold;
}

.collapse-panel .panel-body {
  padding: 5px 10px;
}

.bootstrap-select>button>span.filter-option i.close {
  display: none;
}

.bootstrap-select:hover span.filter-option i.close {
  display: block;
}

.bootstrap-select>button {
  background-color: #f7f9fa !important;
  background-image: linear-gradient(to bottom, #fefefe, #edf1f3);
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border: 1px solid #ccc;
  color: #007db8 !important;
  font-weight: bold;
}

.nowrap {
  white-space: nowrap;
}

.bootstrap-select ul.dropdown-menu.inner li a {
  font-weight: bold;
}

.table>thead th {
  font-size: 13px;
  background-color: #435996;
  color: #fff;
}

.table td {
  font-size: 13px;
  font-weight: bold;
}

.table .delete_row:hover {
  color: red;
  cursor: pointer;
}

.table tbody tr .delete_row {
  font-size: 1.1em;
}

.table tbody tr:hover .delete_row {
  color: red;
  cursor: pointer;
}

.table-responsive table th,
.table-responsive table td {
  white-space: nowrap;
}

.table-responsive table .form-control {
  margin: 0 !important;
}

.table-pointer tbody tr {
  cursor: pointer;
}

.modal-form input {
  color: brown !important;
}

.btn-circle {
  width: 49px;
  height: 49px;
  text-align: center;
  padding: 5px 0;
  font-size: 20px;
  line-height: 2.00;
  border-radius: 30px;
}

.box {
  background-color: #fff;
  padding: 5px;
  margin-bottom: 15px;
}

.box-caption {
  padding: 5px;
  text-decoration: underline;
  font-style: italic;
}

.box table {
  margin: 0;
  padding: 0;
}

.box-info {
  border-top: 2px solid #00c0ef;
}

.box-primary {
  border-top: 2px solid #3c8dbc;
}

.box-success {
  border-top: 2px solid #00a65a;
}

.box-danger {
  border-top: 2px solid #dd4b39;
}

.box-warning {
  border-top: 2px solid #f39c12;
}

textarea {
  font-weight: bold;
  color: brown !important;
  font-size: 14px;
  resize: vertical;
  height: 35px;
  min-height: 35px;
}

.result_container {
  /* overflow-x: scroll; */
  /* overflow-y: auto; */
  /* max-height: 400px; */
}

.result_container.payment-items {
  overflow-x: scroll;
  overflow-y: auto;
  max-height: 400px;
}

.summary_container {
  overflow-x: auto;
  overflow-y: auto;
}

.result_container table {
  /*width:1000px;*/
}

table .col-10 {
  max-width: 10px;
  min-width: 10px;
}

table .col-20 {
  max-width: 20px;
  min-width: 20px;
}

table .col-30 {
  max-width: 30px;
  min-width: 30px;
}

table .col-40 {
  max-width: 40px;
  min-width: 40px;
}

table .col-50 {
  max-width: 50px;
  min-width: 50px;
}

table .col-60 {
  max-width: 60px;
  min-width: 60px;
}

table .col-70 {
  max-width: 70px;
  min-width: 70px;
}

table .col-80 {
  max-width: 80px;
  min-width: 80px;
}

table .col-90 {
  max-width: 90px;
  min-width: 90px;
}

table .col-100 {
  max-width: 100px;
  min-width: 100px;
}

table .col-110 {
  max-width: 110px;
  min-width: 110px;
}

table .col-120 {
  max-width: 120px;
  min-width: 120px;
}

table .col-130 {
  max-width: 130px;
  min-width: 130px;
}

table .col-140 {
  max-width: 140px;
  min-width: 140px;
}

table .col-150 {
  max-width: 150px;
  min-width: 150px;
}

table .col-200 {
  max-width: 200px;
  min-width: 200px;
}

table .col-250 {
  max-width: 250px;
  min-width: 250px;
}

table .col-300 {
  max-width: 300px;
  min-width: 300px;
}

table .col-350 {
  max-width: 350px;
  min-width: 350px;
}

.brown {
  color: brown !important;
}

.red {
  color: red !important;
}

.blue {
  color: blue !important;
}

.green {
  color: green !important;
}

.bold {
  font-weight: bold !important
}

.center {
  text-align: center !important
}

.underline {
  text-decoration: underline !important;
}

.italic {
  font-style: italic !important;
}

.right-bold {
  border-right: 2px dashed #ccc !important;
}

.dealing_chosen {
  margin-bottom: 28px !important;
}


/* datatable result tools
********************/

.result_tools {
  padding-top: 10px 0 !important;
}

.result_tools #dt_filter {
  text-align: center;
}

.result_tools #dt_info {
  padding-top: 3px;
}

.result_tools .dt_btns {
  text-align: center !important;
}

.result_tools label {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  font-weight: normal;
  text-align: center;
  margin-bottom: 0;
}

.result_tools input {
  display: inline-block;
  width: auto;
  margin-left: .5em;
  font-weight: bold;
  color: brown;
  margin-bottom: 0 !important;
}

.result_tools .dataTables_info {
  /*line-height:40px;*/
  text-align: center;
  color: brown;
}


/* invoice menu
*************************************/

.invoice_menu {
  padding: 8px;
  margin-bottom: 15px;
  background-color: #fff;
}


/* invoice summary
*************************************/

.invoice_summary {
  background-color: #fff;
  margin-bottom: 15px;
}

.invoice_summary h4 {
  color: #000;
}

.invoice_summary table.summary td {
  font-weight: bold;
  font-size: 13px;
  color: #666;
}

.invoice_summary table.summary tr:first-child td {
  border-top: none;
}

.invoice_summary table.summary tr td:first-child {
  color: #000;
}


/* invoice header
*************************************/

.invoice_header {
  #padding: 0px 15px 0px 15px;
  margin-bottom: 15px;
}

.invoice_header input {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
}

.invoice_header [name=description] {
  color: brown;
  font-size: 14px;
}


/* invoice row
*************************************/

.invoice_row {
  padding: 0px 15px 0px 15px;
  margin-bottom: 15px;
}

.invoice_row .panel,
.invoice_row .table {
  margin: 0;
  padding: 0;
}

.invoice_row input {
  height: 29px;
  font-weight: bold;
  width: 100%;
  padding-left: 10px;
}

.invoice_row input[readonly] {
  background-color: #eee;
}

.invoice_row .locators_container {
  border-left: 1px solid #ccc;
  margin-bottom: 20px;
}

.invoice_row .locators_container label {
  margin-left: 15px;
}

.invoice_row .locators_container .add_locator {
  cursor: pointer;
  color: green;
  text-decoration: underline;
}

.invoice_row .locators_container .locator_group {
  margin-bottom: 5px;
}

.invoice_row .references_container {
  border-left: 1px solid #ccc;
  margin-bottom: 20px;
}

.invoice_row .references_container label {
  margin-left: 15px;
}

.invoice_row .references_container .add_reference {
  cursor: pointer;
  color: green;
  text-decoration: underline;
}

.invoice_row .references_container .reference_group {
  margin-bottom: 5px;
}

.invoice_row tr input {
  border: 1px solid #aaa;
}

.invoice_row tr:hover input {
  border: 1px solid #aaa;
}

.invoice_row table.table td {
  padding: 5px 1px;
  font-weight: bold;
  font-size: .8em;
}

.invoice_row table.table tr td:first-child {
  padding-top: 10px;
}

.invoice_row table.table th {
  padding: 4px 7px !important;
  font-size: .82em;
  border: none;
  background-color: #83a3af;
  /*background-color:#435996;*/
  color: #fff;
}


/* credit note
******************/

.credit_row {
  padding: 0px 15px 0px 15px;
  margin-bottom: 15px;
}

.credit_row .alert.description {
  font-size: 14px;
  font-weight: bold;
}

.credit_row input {
  border: 1px solid #aaa;
  font-weight: bold;
  height: 29px;
  width: 100%;
  padding-left: 10px;
}

.credit_row .info-container li {
  padding: 5px 10px;
}

.credit_row .info-container .alert {
  padding: 5px 10px;
}

.credit_row .info-container li b {
  font-size: 13px;
  width: 90px;
  display: inline-block;
}

.credit_row .info-container li span.red {
  font-weight: bold;
}

.credit_row .info-container li input {
  display: inline-block;
}

.credit_row .refund_table th:nth-child(1) {
  width: 35%;
}

.credit_row .refund_table th:nth-child(2) {
  width: 25%;
}

.credit_row .refund_table.table td {
  font-weight: bold;
  font-size: .8em;
  vertical-align: middle;
}

.invoice_header .customer_info span {
  color: brown;
  cursor: pointer;
}

.extra_description_label {
  text-decoration: underline;
  cursor: pointer;
  color: brown;
}

.extra_decription_row {
  display: none;
}


/* invoice item summary
*************************************/

.item_summary a {
  color: #666;
  padding-right: 15px;
  text-decoration: none;
  font-size: 13px;
}


/* Search resault
*************************************/

.search_result {
  background-color: #fff;
  margin-bottom: 15px;
}


/* journal
*************************************/

.journal_header {
  padding: 0px 15px 0px 15px;
  margin-bottom: 15px;
}

.journal_header input {
  font-weight: bold;
}

.journal_contents input {
  font-weight: bold;
}

.journal_contents .table.debit_ledgers [name=amount] {
  color: blue;
}

.journal_contents .table.credit_ledgers [name=amount] {
  color: red;
}

.journal_contents .panel-footer {
  padding: 5px 10px;
}

.journal_contents .delete_row {
  color: #ccc;
  margin-top: 8px;
  cursor: pointer;
}

.journal_contents .ledger_row:hover .delete_row {
  color: red;
}


/* payment table
******************/

.payment_table td {
  padding: 16px 3px;
}

.payment_table input[name=amount] {
  width: 120px;
  padding: 7px;
  height: 30px;
}

.payment_table.pending .show_onload {
  display: none;
}

.payment_table.items .show_onload {
  display: table-cell;
}

.payment_table.items .hide_onload {
  display: none;
}


/* reports
******************/

.report_header {
  margin-bottom: 15px;
}

.report_result {
  margin-bottom: 15px;
}

.report_header input {
  font-weight: bold;
}


/* table auth_table
******************/

.table.auth_table td,
.table.auth_table th {
  text-align: center;
}

.table.auth_table tr td:first-child {
  text-align: left;
}

.table.auth_table tr th:first-child {
  text-align: left;
}

.table.auth_table th p {
  margin: 0;
  padding: 0;
}


/* Check status container
******************/

.check_status_container {
  margin-bottom: 15px;
}

.check_status_container input {
  font-weight: bold;
}

.check_status_container .col {
  border-left: 1px solid #ccc;
}

.check_status_container h3 {
  text-align: center;
  margin-top: 40px;
}

.check_status_container .fa-check {
  color: green;
  font-size: 1.3em;
}

.check_status_container .fa-close {
  color: red;
  font-size: 1.3em;
}


/*
	travelers list and amount sign
	in tickets search
*/

td p.trv {
  font-size: 12px !important;
  margin-bottom: 6px;
}

td p.ref {
  font-size: 12px !important;
  margin-bottom: 6px;
}

td p.amount_sign {
  font-size: 11px;
  width: 60px !important;
}

td p:last-child {
  margin-bottom: 0;
}

.payment_table.items .add-original-amount,
.payment_table.items .add-commission-amount {
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}


/**/