#block-customer-archive-frontend-login {
  float: left;
}

#header #block-customer-archive-frontend-login #edit-pin, #header #block-customer-archive-frontend-login #edit-phone,
#header #block-customer-archive-frontend-login #edit-pin--3, #header #block-customer-archive-frontend-login #edit-phone--3 {
    width:110px;
}

#header #block-customer-archive-frontend-login label, #header #block-customer-archive-frontend-login {
    font-size:12px;
    font-weight:normal;
}

#header #block-customer-archive-frontend-login .image-button3 {
    margin-top:17px;
}

#header #block-customer-archive-frontend-login table {
    padding:2px;
    border-spacing: 2px;
}

#header #block-customer-archive-frontend-login .login_req {
    font-size:10px;
}

#account-1 {
    width:200px;
    float:left;
}
.page-account-history-credit-limit .active, .page-account-history .active {
    background-color: #0B95E2;
    padding: 5px;
    border-radius: 3px;
	color: #fff;
}

.cl-amount-box {
  width: 100%;
  display: inline-block;
}

#chart_wrap {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  overflow:hidden;
  width: 100%;
  height: 100%;
}

#donutchart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 400px;
  display: block;
  background: #ccc;
}

.form-item-cl-amount label, .form-item-cl-amount {
  font-weight: bold;
  line-height: 36px;
  float: left;
}

#edit-cl-amount {
  width: 115px;
  float: left;
}

#max-amount-suffix {
  font-weight: bold;
  line-height: 36px;
  margin-left: 10px;
  float: left;
}

.daily-interest, .min-monthly-payment {
  font-weight: bold;
}

.account-navbar-toggle {
  position: relative;
  float: left;
  margin-right: 15px;
  padding: 9px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: #ff9933;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px; }
.account-navbar-toggle:focus {
  outline: none; }
.account-navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color:#fff; }
.account-navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px; }
@media (min-width: 768px) {
  .account-navbar-toggle {
    display: none; }
}


.account-navbar-collapse {

  margin-top: 60px;
}
.account-navbar-collapse ul {
  list-style: none;
  line-height: 50px;
}

#loan-application-confirmation-loan-form-archive {
    float: left;
    width: 500px;
    border: 1px solid #CACACA;
    background: #e2e2e2 URL(calc_bg.png);
    background-repeat: repeat-x;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#loan-application-confirmation-loan-form-archive form {
    clear: both;
    display: block;
    float: none;
}

#loan-application-confirmation-loan-form-archive form .form-item {
    margin: 2px 0px 2px 0px;
}

#loan-application-confirmation-loan-form-archive #loan-calculator {
    clear: both;
    display: block;
    float: none;
}

#loan-application-confirmation-loan-form-archive h2 {
    background: none;
    border: none;
}

#loan-application-confirmation-loan-form-archive #loan-calculator .ui-slider {
    clear: both;
    height: 2px;
    margin: 16px 6px 14px 6px !important;
    border: 1px solid #B9B9B9;
    background: #FDFCFD;
}

#loan-application-confirmation-loan-form-archive #loan-calculator .ui-slider-handle {
    margin-left: -11px;
    margin-top: -6px;
    width: 20px;
    height: 20px;
    border-radius: 0;
    border: none;
    cursor: pointer;
}

#loan-application-confirmation-loan-form-archive #edit-campaign {
    display: none;
}

#banners {
    width:200px;
    float:left;
    margin-left: 40px;
    display: none;
}

#loan-application-confirmation-loan-form-archive .loan {
    padding: 0px 10px 15px 10px !important;
    width: 480px;
    float: left;
    background: none;
}

.welcome-page {
    width:500px;
    float:left;
}

.middle_archive {
    width:500px;
    float:left;
}

.clear_b {
    clear: both;
}

/* Loan calculator for customer archive */

#loan-application-confirmation-loan-form-archive #amount-selector {
    width: 200px;
    clear: left;
    float: left;
    padding: 5px 18px 4px !important;
    color: #000;
}

#loan-application-confirmation-loan-form-archive #term-selector {
    width: 200px;
    clear: right;
    float: left;
    color: #000;
}

#loan-application-confirmation-loan-form-archive #term-selector .calc_button_loan_term {
    margin: 0px 5px 0px 0px;
}

#loan-application-confirmation-loan-form-archive #payment-display {
    clear: both;
    width: 200px;
    height: 51px;
    float: left;
    border-top: 0px;
}

#loan-application-confirmation-loan-form-archive #expenses-display {
    width: 200px;
    height: 16px;
    float: left;
    padding: 4px 18px 0px;
}

#loan-application-confirmation-loan-form-archive #apr-display {
    width: 200px;
    height: 16px;
    float: left;
    padding: 4px 18px 0px;
}

#loan-application-confirmation-loan-form-archive #total-display {
    width: 200px;
    height: 16px;
    float: left;
    padding: 4px 18px 0px;
    border-bottom: 1px solid #A8A7A5 !important;
    margin-bottom: 10px;
}

#loan-application-confirmation-loan-form-archive .image-button2 {
    margin-top: 0px;
}

#block-customer-archive-menu-archive .content h2 {
    display: none;
}

#block-customer-archive-menu-archive .content a {
    display: block;
    width: 150px;
    height: 20px;
    padding-top: 5px;
    text-align: center;
    color: #FFFFFF;
    font-weight: normal;
    background: URL(submenu_button.png);

    margin-bottom: 10px;
}

#block-customer-archive-menu-archive .content a:hover {
    text-decoration: none;
    background: URL(submenu_button_active.png);

    margin-bottom: 10px;
}

#master-account-page h1, .middle_archive h1 {
    font-size: 26px;
    margin-top: 0px;
    padding-bottom: 5px;
    border-bottom: 1px solid #BABABA;
}

.customer-h2 {
  font-family: arial, sans-serif;
  font-size: 20px;
  color: #000;
  font-weight: 600;
  margin-top: 10px;
}

.customer-loan-info-box {
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #f0f0f0;
  background-color: #f0f0f0;
  padding: 5px 10px;
}

li.active-amount {
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  background-color: #dadada;
  padding: 0 5px;
  margin-left: -5px;
}

.customer-loan-info-box ul {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0;
  line-height: 34px;
}

.middle_archive .form .content {
    margin: 10px;
    width: 470px;
}

#account-menu a {
    display: block;
    line-height: 40px;
    padding-left: 10px;
    font-family: Museo700;
    color: #fff;
    margin-bottom: 15px;
    background-image: linear-gradient(to bottom, #022BB8 100%, #006BA7 100%);
}
#account-menu a:hover,
#account-menu a.active {
    background: linear-gradient(to bottom, #022BB8 100%, #0b95e2 100%);
    text-decoration: none;
}
.history td,
.history th {
    padding: 8px;
}

.history td {
  vertical-align: top;
}

.history th {
    vertical-align: bottom;
    border-bottom: 2px solid rgb(221, 221, 221);
    text-align: center;
}

table.history {
  width: 100%;
  text-align: center;
}
.glyphicon-time:before {
    padding-right: 2px;
    vertical-align: middle;
}

@media (max-width: 480px) {
    table.history tr, #cls-history-transactions tr, #cls-history-invoices tr {
       font-size: 0.75em;
    }
    .history td, .history th {
            text-align: left;
            font-size: 0.75em;
    }
    .history td:last-child {
            padding: 5px 2px 5px 0;
    }
    button.mobile-btn {
        width: 22px;
        padding: 3px;
        margin-left: -15px;
    }
}
.page-account .calc-slider-ml-term {
  display:none !important;
}

.page-account-main #prodcalc {
  margin-top: 0px !important;
}

.page-account-main .amount-min-label, .page-account-main .amount-max-label {
  display: none !important;
}

@media only screen and (max-width: 768px) {

  div#account-menu {
    display: none;
  }

}


@media only screen and (min-width: 768px) {

  .account-navbar {
    display: none;
  }
  .main-container {
    padding-top: 15px !important;
  }
}

@media only screen and (min-width: 920px) {
  #chart_wrap {
    width: 400px !important;
    height: 400px !important;
  }
}

@media only screen and (max-width:768px) {
  .logged-in li.first.leaf.userlink {
    display: none;
  }

  .ribbon-green {display: none;}
}
@media only screen and (min-width:768px) {
    .ribbon-wrapper-green {
      width: 85px;
      height: 88px;
      overflow: hidden;
      position: absolute;
      top: -6px;
      right: -6px;
    }

    .ribbon-green {
      font: bold 15px Sans-Serif;
      color: #333;
      text-align: center;
      text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
      -webkit-transform: rotate(45deg);
      -moz-transform:    rotate(45deg);
      -ms-transform:     rotate(45deg);
      -o-transform:      rotate(45deg);
      position: relative;
      padding: 7px 0;
      left: -5px;
      top: 15px;
      width: 120px;
      background-color: #1c5ae9;
      background-image: -webkit-linear-gradient(top, #0378B8, #006FAB);
      background-image: -moz-linear-gradient(top, #BFDC7A, #8EBF45);
      background-image: -ms-linear-gradient(top, #BFDC7A, #8EBF45);
      background-image: -o-linear-gradient(top, #BFDC7A, #8EBF45);
      color: #FFFFFF;
      -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
      -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
      box-shadow:         0px 0px 3px rgba(0,0,0,0.3);

    }

    .ribbon-green:before, .ribbon-green:after {
      content: "";
      border-top:   3px solid #006FAB;
      border-left:  3px solid transparent;
      border-right: 3px solid transparent;
      position:absolute;
      bottom: -3px;
    }

    .ribbon-green:before {
      left: 0;
    }
    .ribbon-green:after {
      right: 0;
    }

}

.padding-top {
  padding-top: 15px;
}
