/* =============================================== */
/* Primary Style Overrides                         */
/* =============================================== */

/**Body Positioning
  *added by Luis
 **/
html,
body {
    margin: 0;
    overflow-x: hidden;
    height: 100%;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    line-height: 18px;
    color: #333333;
    background-color: #ffffff;
}

/* Preserve style after Boostrap 4 upgrade */
.card {
  min-height: 1.25rem;
  padding: 1.188rem;
  margin-bottom: 1.25rem;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

a {
  color: #0088cc;
}

a:hover, a:focus {
  color: #005580;
}

/* adjusting small text nested within h1 by luis */
h1 small {
  font-size: 13px;
  display: block;
  margin-top: -10px;
}

#login_screen h1 small {
    margin-top: 25px;
}

#main-content {
  padding-left: 1.5rem;
}

/* Adjust position of payment total in paycall box */
#payment_total {
    margin-top: 15px;
}

legend {
  font-size: 1.125rem;
  line-height: 2.25rem;
  border-bottom: 1px solid #e5e5e5;
}

/* added by luis to center the login box */
.login {
    float: none;
    margin: 0 auto;
    text-align: center;
    min-width: 370px;
    max-width: 370px;
}

/*table adjustments*/
.amountcol {
    text-align: left !important;
    width: 11% !important;
}
.agrcol {
    text-align: left !important;
    width: 18% !important;
}
.ddcol {
    text-align: left !important;
    width: 12% !important;
}
.paycol {
    text-align: center !important;
    width: 5% !important;
}

/**Welcome Text Positioning
  *Added by Luis
**/
.welcome {
	float: right;
	margin-top: 25px;
    padding-right: 5px;
}

.navbar .btn-group {
    margin-top: 15px;
}

.navbar .btn {
    margin-top: 5px;
}

/** Modified text color by Luis **/
.navbar {
    padding:0;
    color:#606060;
    margin-bottom: 18px;
 /* color: #606060;
  padding: 0;
  *position: relative;
  *z-index: 2;
  margin-top: -70px;
  margin-bottom: 18px;
  overflow: visible;*/
}


.navbar .navbar-brand:hover {
  text-decoration: none;
}

/** Modified text color by Luis **/
.navbar .navbar-brand {
  display: block;
  float: left;
  padding: 5px 20px 7px;
/*  margin-left: -20px;*/
  margin-right: 0;
  font-size: 20px;
  font-weight: 200;
  line-height: 1.1em;
  color: #606060;
  text-shadow: 0 1px 0 #ffffff;
}

.nav-tabs.flex-column>.nav-item {
  border: 1px solid #ddd;
}

.nav-tabs.flex-column {
  border:none;
}

.nav-tabs.flex-column>.nav-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.nav-tabs.flex-column>.nav-item:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

img.navbar-brand {
    /*width: 38px !important;*/
	width:auto !important;
  height: auto !important;
	max-height: 52px !important;
	padding: 7px;
}

/**username text styling
  *Added by Luis
**/
.uname {
	color:#08C;
}

/* Sidebar Banner padding */
.ad-banner { padding: 0; }
.ad-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/*Card style*/
.cardicon {
    float:left;
    height: 40px;
    margin-left: 79px;
    margin-top:-94px;
}
.ap {
    margin-left: 182px;
    margin-top:-116px;
}
.visa {
    background:url('/assets/images/visa_48.png') no-repeat;
    width: 48px;
}
.mastercard {
    background:url('/assets/images/mastercard_48.png') no-repeat;
    width: 48px;
}
.discover {
    background:url('/assets/images/discover_48.png') no-repeat;
    width: 48px;
}
.saved_card {
    text-align: center;
    margin-bottom: 0.625rem;
}

.saved_card .card_header {
  padding-top: 1rem;
}

.card-header {
  width: 100%;
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1rem;
  color: #585858;
  text-shadow: 0px 1px 0px Rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/*call to actions*/

.paybtns {
  float:right;
}
/* _login_header.php */
#login_screen {
    background: url(/assets/images/backgrounds/background.png) repeat;
}
#login_screen_box {
    width: 100%;
    background: url(/assets/images/backshades/backshade.png) repeat-x;
    position: absolute;
    top: 0;
    height: 800px;
    z-index: -1;
}

/* _header.php
#btn_contactsupport {
    margin-top: 15px;
}*/

/* admin_edituser.php */
#messages {
    display: none;
    text-align: center;
}
.controls input[name=is_admin] {
    margin-bottom: 3px;
    margin-left: 10px;
}
.form-group input[name^=addr],
.form-group input[name^=cc] {
    margin-bottom: 4px;
}

/* admin_marketing.php */
input[name=banner_link] {
    width: 90%;
    margin-bottom: 20px;
}

/* admin_users.php */
#loading_div {
    height: 450px;
}

/* users_agrdetails.php */
tr.alert-success td {
    background-color: #dff0d8 !important;
  }

#tbl_pmt_total,
#tbl_receivables {
  font-size: 15px;
  margin: 9px;
}

#payment_total,
/* users_agreements.php */
#receivables_amt {
    font-size: 21px;
    line-height :24px;
}

/* users_agreements.php */
#cust_receivables > h3 {
  display: inline;
}

#btn_make_payment,
#btn_other_amount {
    margin-top: 4px;
    font-size: 12px;
}

.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle {
    color: #ffffff;
  }

.badge {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.badge-success {
  background-color: #468847;
}

.badge-danger {
    background-color: #b94a48;
}

.badge-warning {
  background-color: #f89406;
}

.badge-due {
	background-color: #AA0000;
}

.disallow {
	color: #cc5555;
}

/* htadmin_changelog.php */
div#changelog {
	max-height: 600px;
	overflow-y: scroll;
}
h6.changelog {
	display: inline-block;
	width: 200px;
	text-align: center;
}

/* Sidebar */
#sidebar-head {
    color: #F68E14;
}

#sidebar-head th {
  border-bottom: 1px solid #dddddd;
}

/* Pay Boxes */
.chk_add_to_pmnt {
    text-align: center;
}

/* Inputs */
.controls {
    padding-bottom: 4px;
}
.file-input-name {
    font-weight: bold;
    font-size: 1.2em;
}

/* Table headers */
table.table.table-bordered thead tr {
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
    background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
    background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
    background-repeat: repeat-x;
}

/* Payments Dashboard */
#top-lists ol {
    font-size: 1.3em;
    margin-top: 0;
}
#top-lists h3 {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}
#top-lists ol li {
    margin-left: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.loading-circle {
    background: url(/assets/images/loading-circle.gif) no-repeat center center;
    display: block;
    margin: 40px auto 0;
    width: 100%;
    height: 75%;
    min-height: 100px;
}

/* Utility Classes */
.white-bg { background: #fff; }
.clear { clear: both; }
.hide-overflow { overflow: hidden; }
.valign-bottom { vertical-align: bottom; }
.valign-top { vertical-align: top; }
.center-text { text-align: center !important; }
.left-text { text-align: left; }
.push-down { padding-top: 15%; }
.pull-up { margin-top: -10px; }
.margin-top { margin-top: 25px; }
.margin-bottom { margin-bottom: 25px; }
.half-margin-top { margin-top: 10px; }
.no-pad-bottom { padding-bottom: 0; }
.pad-top { padding-top: 9px; }
.pad-top-more { padding-top: 25px; }
.pad-bottom { padding-bottom: 10px; }
.pad-right { padding-right: 15px; }
.pad-right-more { padding-right: 40px; }
.pad-left { padding-left: 15px; }
.no-width { width: 0%; }
.full-width { width: 100%; }
.half-width { width: 50%; }
.input-larger { width: 390px; }
.cell-tiny { width: 15px; }
.inline-block { display: inline-block; }
.pad-10 { padding: 10px; }
.pad-5 { padding: 5px; }
.textwrap-break { word-wrap: break-word; }
.line-height-10 { line-height: 10px; }

body .container-fluid .hide { display: none; }


div#headtxt{
	position: relative;
	display: inline-block;
	margin-left: 25px;
	top: 10px;
}
a.navbar-brand{
	position: relative;
	top: 17px;
}

  #div_choosemethod .pmtmthd,
  #curr_pmt_methods .pmtmthd,
  .pmtmthd .pmtmthd {
    /*width: 310px;*/
    padding: 0;
  }

/* ----- MEDIA FILTERS -----*/
@media(max-width:500px){
	div.ad-holder{display: none;}
}

/* Screen below 768px */
@media (max-width: 767px) {
  body {
    padding-top: 15px;
    -webkit-text-size-adjust: 100%;
  }
  #login_screen {
    padding-left: 0;
  }
  #login_screen .container-fluid {
    padding-left: 20px;
  }
  #login_screen > .container-fluid > .row {
    width: 440px;
    margin: 0 auto;
  }
  #login_screen .input-group {
    display: block;
    margin-bottom: 5px;
  }
  #login_screen .input-group input {
    width: 80%;
  }
  #login_screen #btn-do-login {
    width: 93%;
  }
  .row > div {
    margin: 0 auto;
  }
  #login_screen > .container-fluid > .row {
    text-align: center;
  }

  #first_login .input-group input {
    width: 40%;
  }

}

@media (max-width:650px) {
/*positioning for OnlinePayments in nav bar*/
  .container-fluid a.navbar-brand {
    display:none;
  }
}

@media (max-width:480px) {
  #login_screen > .container-fluid > .row {
    width: 100%;
    text-align: center;
  }

  #frm_registration .controls input,
  #frm_registration .btn-group label.radio,
  #first_login .controls input,
  #first_login .controls {
    font-size: 15px;
  }
  #first_login .controls input {
    padding: 10px;
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
  }
  #first_login .input-group input {
    width: 45%;
  }
  #first_login .input-group .input-group-addon {
    height: 18px;
    padding: 10px 5px;
  }
  #frm_registration .controls input {
    min-height: 40px;
    padding: 10px;
  }

  #frm_registration .controls input,
  #frm_registration .btn-group,
  #first_login .controls {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    padding-right: 0;
  }
  #frm_registration #passwordChange input {
    margin-left: -5px;
  }

  #frm_registration .btn-group label.radio {
    float: left;
    line-height: 22px;
    margin-right: 15px;
  }

  #modal_box,
  #progModal {
    position: fixed;
    top: 50px;
  }
  h1 {
    text-align: left;
    font-size: 23px;
  }
  h2 {
    font-size: 20px;
  }
  #div_choosemethod {
    min-height: 0 !important;
  }
  #tbl_btn_make_payment {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  #login_screen .checkbox input{
    width: 10%;
  }
  #login_screen .check input{
    width: 10%;
  }
  #ccvModal .modal-body {
    height: 250px;
  }
  #frm_registration #btn_cancel {
    margin-bottom: 10px;
    margin-top: 10px;
  }
  .container-fluid a.navbar-brand {
    padding-right: 112px;
    position: inherit;
  }
/*positioning for modal window on sign-in*/
  body #loading_modal {
    top: 335px;
  }
/*Agreement table adjustments*/
  #tbl_div .agrcol,
  #tbl_div .nextdue,
  #tbl_div .info_col,
  #tbl_div .payhist,
  #tbl_div .agr_details tr:last-child td:last-child {
    display: none;
  }
  #tbl_div,
  #tbl_agr {
    font-size: 11px;
  }
  .table-condensed th,
  .table-condensed td {
    padding: 3px;
  }
  .amountcol span,
  .agrcol span {
    display: none;
  }
  .amountcol:after {
    content: attr(title);
  }
  .agrcol:after {
    content: attr(title);
  }
/*Text by contact us button*/
  div#headtxt {
    top: 5px;
    margin-left: 15px;
    width: 60%;
  }
/*Move dropdown for Username to left side*/
  #username_drpdown {
    float: left;
    clear: both;
    padding-left: 15px;
    padding-bottom: 5px;
  }
  #username_drpdown .dropdown-menu {
    left: 0;
  }
}

/* Screens between 481px and 768px */
@media (min-width: 481px) and (max-width: 767px) {
  .row .col-md-6:first-child,
  #login-inner,
  #login_screen h1 {
    text-align: center;
  }
  #tbl_div .agrcol,
  #tbl_div .nextdue {
    display: none;
  }
/*Modal window for Contact us and Loading Modal*/
  #login_screen #modal_box,
  #login_screen #progModal,
  #loading_modal {
    width: 450px;
    margin-left: -227px;
  }
  #div_choosemethod {
    min-height: 0 !important;
  }
}

/* Screens above 768px */
@media (min-width: 768px) {
  #login_screen > .container-fluid > .row {
    width: 750px;
    margin: 0 auto;
  }
  #login-inner {
    width: 750px;
  }
  #login-inner > .row > .valign-top {
    position: relative;
    height: 300px;
  }
  #login-inner > .row > .valign-top img {
    position: absolute;
/*    top: 35%;*/
  }
  #frm_registration .controls {
    margin-left: 155px;
  }

  #enroll_block {
    width: 50%;
  }
  #total_due_block {
    width: 45%;
  }
  #div_choosemethod {
    width: 310px;
    margin-right: 30px;
  }
  #div_newmethod {
    width: 55%
  }
  #div_choosemethod .col-md-10 {
    width: 100%;
  }
  #login_screen .col-md-3 {
    width: 300px;
  }

}

@media (min-width: 980px) {
  #main-content {
    padding-left: 3rem;
  }

  .navbar-collapse.collapse {
    display: inline;
  }

  .navbar-collapse #btn_contactsupport {
     margin-top: 15px;
  }
}

/***  HELP FILES ***/
div.help img{
  border: none;
}

div.help img#helpmenu{
  float:left;
  -moz-box-shadow:    7px 7px 10px 0 #ccc;
  -webkit-box-shadow: 7px 7px 10px 0 #ccc;
  box-shadow:         7px 7px 10px 0 #ccc;
  margin: 0 25px 25px 0;
}

div.help img#quickpay{
  text-align:center;
  margin:25px auto;
}

div.help img#next{
  float:right;
  margin: 0 0 0 25px;
}

.error {
  color: #b94a48 !important;
  border-color: #b94a48 !important;
}

h3 {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 9px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 1.125rem;
  color: inherit;
  text-rendering: optimizelegibility;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  font-weight: normal;
  line-height: 15px;
  color: #999999;
}

h1,
h2,
h3 {
  line-height: 2.25rem;
}

h1 {
  font-size: 2.063rem;
}

h2 {
  font-size: 1.688rem;
}

h3 {
  font-size: 1.313rem;
}

h4 {
  font-size: 0.9375rem;
}

h5 {
  font-size: .75rem;
}

/* Custom h6 style */
h6 {
  font-size: 0.675rem;
  color: #999999;
  text-transform: uppercase;
}

/*h1 small {
  font-size: 1.313rem;
}*/

h2 small {
  font-size: 0.9375rem;
}

h3 small {
  font-size: .75rem;
}

h4 small {
  font-size: .75rem;
}

p {
  margin: 0 0 0.5625rem;
}

.container-fluid {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  *zoom: 1;
}

.row {
  margin-right: 0px;
  margin-left: 0px;
}

.nav-header {
  display: block;
  padding: 0.1875rem 0.9375rem;
  font-size: 0.6875rem;
  font-weight: bold;
  line-height: 1.125rem;
  color: #999999;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

hr {
  width: 100%;
}

table {
  max-width: 100%;
  background-color: transparent;
  border-spacing: 0;
}

.table {
  margin-bottom: 1.125rem;
}

.table-bordered {
  border-collapse: separate;
  border: 0px;
}

.table th {
  border-top: 0;
}

.table th,
.table td {
  background-clip: padding-box;
  border-bottom: 0;
  border-right: 0;
  padding: 0.5rem;
}

.table.table-bordered thead th {
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 0;
  border-bottom-width: 1px;
}

.table thead:first-child tr:first-child th:first-child {
  border-top-left-radius: .25rem;
}

.table.table-bordered thead:first-child tr:first-child th:last-child {
  border-top-right-radius: .25rem;
  border-right: 1px solid #dddddd;
}

.table thead tr:last-child th,
.table :last-child tr:last-child td {
  border-bottom: 0;
}

.table.table-bordered tr td:last-child,
.table.dataTable tr td:last-child,
table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
  border-right: 1px solid #dddddd;
}

.table.dataTable tr:first-child th {
  border-left: 0;
}

.table.dataTable tr th:first-child,
.table.dataTable tr td:first-child {
  border-left: 1px solid #dddddd;
}

.table.table-bordered :last-child tr:last-child td {
  border-bottom: 1px solid #dddddd;
}

.table :last-child tr:last-child td:first-child,
.table thead:last-child tr:last-child th:first-child {
  border-bottom-left-radius: .25rem;
}

.table :last-child tr:last-child td:last-child,
.table thead:last-child tr:last-child th:last-child {
  border-bottom-right-radius: .25rem;
}

.nav > li {
  margin: 0;
  width: 100%;
}

.nav > li > a {
  display: block;
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eeeeee;
}

.nav-list > li > a,
.nav-list .nav-header {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav li + .nav-header {
    margin-top: 9px;
}

.nav-list > li > a {
  padding: 3px 15px;
}

.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background-color: #0088cc;
}

.nav-tabs .nav-item {
  width: auto;
}

.btn {
  display: inline-block;
  *display: inline;
  padding: 4px 12px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 12px;
  line-height: 18px;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  *background-color: #e6e6e6;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  *border: 0;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover, .btn:focus {
    background-color: #e6e6e6;
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  *background-color: #0044cc;
  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
  color: rgba(255, 255, 255, 0.75);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #0044cc;
  *background-color: #003bb3;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #003399 \9;
}

.btn-success {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  *background-color: #51a351;
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
  color: #ffffff;
  background-color: #51a351;
  *background-color: #499249;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary.active, .btn-secondary.disabled, .btn-secondary[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  border-bottom-color: #b3b3b3;
  border-color: #cccccc;
}

.btn-warning {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #faa732;
    *background-color: #f89406;
    background-image: -moz-linear-gradient(top, #fbb450, #f89406);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
    background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
    background-image: -o-linear-gradient(top, #fbb450, #f89406);
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    border-color: #f89406 #f89406 #ad6704;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
    color: #ffffff;
    background-color: #f89406;
    *background-color: #df8505;
}

.btn-danger {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #da4f49;
    *background-color: #bd362f;
    background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: #bd362f #bd362f #802420;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
    color: #ffffff;
    background-color: #bd362f;
    *background-color: #a9302a;
}

.navbar-fixed-top .navbar-inner, .navbar-static-top .navbar-inner {
    border-width: 0 0 1px;
}

.navbar-inner {
  width: 100%;
  min-height: 40px; 
  padding-right: 20px;
  padding-left: 20px;
  background-color: #fafafa; 
  background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); 
  background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); 
  background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
  background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); 
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
  *: ;
  zoom: 1;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.navbar .btn-group .btn,
.navbar .input-prepend .btn,
.navbar .input-append .btn,
.navbar .input-prepend .btn-group,
.navbar .input-append .btn-group {
  margin-top: 0;
}

.navbar .navbar-btn .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #f5f5f5;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.navbar .navbar-btn {
  display: none;
  float: right;
  padding: 7px 10px;
  padding-top: 7px;
  padding-right: 10px;
  padding-bottom: 7px;
  padding-left: 10px;
  margin-right: 5px;
  margin-left: 5px;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #ededed;
  *background-color: #e5e5e5;
  background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);
  background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
  background-repeat: repeat-x;
  border-color: #e5e5e5 #e5e5e5 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
}

.navbar-btn .icon-bar + .icon-bar {
  margin-top: 3px;
}

img {
    /*width: auto;
    height: auto;*/
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.dropdown-menu {
  font-size: 0.75rem;
}

.dropdown-menu > li > a {
  display: block;
  padding: 0.1875rem 1.25rem;
  clear: both;
  font-weight: normal;
  line-height: 1.125rem;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
  color: #ffffff;
  text-decoration: none;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}

.btn-group.open .btn.dropdown-toggle {
    background-color: #e6e6e6;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
  color: inherit;
  background-image: none;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #e6e6e6;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.form-control {
  width: 13.25rem;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.form-actions {
  padding: 17px 20px 18px;
  margin-top: 18px;
  margin-bottom: 18px;
  border-top: 1px solid #e5e5e5;
  *: ;
  zoom: 1;
}

.input-group-text {
  font-size: 0.75rem;
  padding: 0.25rem 0.3125rem;
}

.input-small {
  width: 7.25rem !important;
}

.input-mini {
    width: 3.75rem !important;
}

.input-medium {
    width: 9.375rem !important;
}

.input-xlarge {
    width: 16.88rem !important;
}

.badge {
  line-height: 0.875rem;
}

.lh-quarter {
  line-height: 0.25rem;
}

.tooltip {
  font-size: 0.6875rem;
  line-height: 1.4;
}

.tooltip-inner {
  /*white-space: nowrap;*/
  padding: 0.5rem;
}

.modal-header {
  padding: 0.5625rem 0.9375rem;
  border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    line-height: 1.875rem;
}

.modal-footer {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}

.alert {
  padding: 0.5rem 2.188rem 0.5rem .875rem;
}

.alert .close {
    position: relative;
    top: -2px;
    right: -1.313rem;
    line-height: 1.125rem;
}

.popover {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .75rem;
}

h3.popover-header {
  line-height: 1.125rem;
  margin-top: 0;
}

.popover-body label {
  margin-bottom: 0.3125rem;
}

.progress {
  margin-bottom: 1.125rem;
}

.jumbotron {
  background-color: #eeeeee;
}

.dataTable tr:first-child {
    border-top-left-radius: 10px;
}

.dataTables_length {
  float: left;
}

.dataTables_paginate {
  margin-top: 1rem !important;
  float: left;
}

.dataTables_filter input {
  display: inline-block;
  margin-left: 0.5rem;
}

.dt-buttons.btn-group {
  display: block;
}

.page-link {
  color: #0088cc;
}

.page-link:hover {
  color: #005580;
  background-color: #f5f5f5;
}

.page-item.active .page-link {
  color: #999999;
  cursor: default;
  background-color: #f5f5f5;
  border-color: #dddddd;
}

/* Screens above 980px */
@media (max-width: 979px) {
  #login_screen {
    margin-top: 60px;
  }

  .navbar .btn-group {
    margin-top: 5px;
  }

  .navbar .navbar-btn {
    display: block;
  }

  .navbar-collapse {
    clear: both;
  }

  .navbar-collapse #btn_contactsupport {
    float: right;
  }

  .navbar-fixed-top, .navbar-fixed-bottom {
    position: static;
  }

  .navbar .brand {
    padding-right: 10px;
    padding-left: 10px;
    margin: 0 0 0 -5px;
  }

  .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
    padding: 5px;
  }
}

fieldset {
    width: 100%;
}
