/*
=========================================================
Replace the elements in this stylesheet to alter the
colouring of your Internet Banking site.
=========================================================

NOTE:
* Only replace the values you need to. Most themes can
  be satisfied by replacing a handfull of them.
* Important theme points will be marked with a comment.
* Colours can be specified as any valid CSS colour
  format, including hex-code, rgb, rgba etc.
* Sizes can be expressed in any valid CSS size
  including em, pt, etc.

---------------------------------------------------------
*/
/*
---------------------------------------------------------
The page background contains no displayed details
<IMPORTANT>
*/
/*
---------------------------------------------------------
The body of the page is any details below the banner and
menu.
<IMPORTANT>
*/
/*
---------------------------------------------------------
The banner sits at the top of the page and contains your
company logo and the logged in user's details.
<IMPORTANT>
*/
/*
---------------------------------------------------------
Headings are the textual elements that define different
sections of the body content.
<IMPORTANT>
*/
/*
---------------------------------------------------------
Hyperlinks for actions and page navigation.
<IMPORTANT>
*/
/*
---------------------------------------------------------
Selected element colouring.
<IMPORTANT>
*/
/*
---------------------------------------------------------
These components display various messages on the site.
*/
/*
---------------------------------------------------------
The login form is displayed when user credentials are
needed.
*/
/*
---------------------------------------------------------
The following variables affect the look of data entry
forms and fields.
<IMPORTANT>
*/
/*
---------------------------------------------------------
These variables affect the look of specific elements
within the Internet Banking website. You will most likely
not need to alter them.
*/
/*
---------------------------------------------------------------------
Basic Site Style
---------------------------------------------------------------------
*/

::-moz-selection {
  background-color: #003768;
  color: white;
}
::selection {
  background-color: #003768;
  color: white;
}
a {
  color: #003768;
}
a:hover {
  color: #003768;
}
a:visited {
  color: #003768;
}
/*
---------------------------------------------------------------------
Bootstrap Overrides and Extensions
---------------------------------------------------------------------
*/

.pagination > .active > a {
  background-color: #001c35;
  border-color: black;
}
.pagination > .active > a:hover {
  background-color: #003768;
  border-color: #000102;
}
.col-md-5th {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
@media all and (min-width: 992px) {
  .col-md-5th {
    display: inline-block;
    width: 19%;
  }
}
/*
---------------------------------------------------------------------
Validation
---------------------------------------------------------------------
*/

.field-validation-error {
  color: #ff2222;
}
/*
---------------------------------------------------------------------
Banner
---------------------------------------------------------------------
*/

#banner {
  height: 150px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
#banner > a {
  display: block;
  max-width: 300px;
  max-height: 140px;
  width: auto;
  height: auto;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
#banner > a > img {
  max-width: 300px;
  max-height: 140px;
  width: auto;
  height: auto;
}
#banner > img {
  display: block;
  max-width: 300px;
  max-height: 140px;
  width: auto;
  height: auto;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
/*
---------------------------------------------------------------------
Form Details
---------------------------------------------------------------------
*/

.form-field {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  height: 4em;
  background-color: #8cc9ff;
  border: 1px solid white;
}
.form-field > span {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
.form-field-label {
  color: #003768;
}
.form-field-value {
  font-size: 24px;
}
/*
---------------------------------------------------------------------
Nav Menu
---------------------------------------------------------------------
*/

.navbar {
  border-radius: 0px;
  border: none;
  background-color: #003768;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a {
  color: white;
}
.navbar-inverse .navbar-nav > li > a:hover {
  background-color: #004482;
}
.navbar-toggle {
  border: none;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border: none;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: #004482;
}
/*
---------------------------------------------------------------------
Footer
---------------------------------------------------------------------
*/

footer {
  height: 100%;
  margin-top: 2em;
  margin-left: 0;
  margin-right: 0;
  padding-top: 2em;
  padding-bottom: 5em;
  border-top: 1px solid #35a0ff;
  background-color: #8cc9ff;
  color: #888888;
}
/*
---------------------------------------------------------------------
Login
---------------------------------------------------------------------
*/

#login-wrapper {
  width: 380px;
  margin: 0px auto;
  margin-top: 5em;
  margin-bottom: 10em;
  padding: 2em;
}
#login-wrapper > h3 {
  margin-top: 0em;
  margin-bottom: 1em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 300;
}
#login-wrapper > p {
  text-align: center;
  color: gray;
}
/*
---------------------------------------------------------------------
Loan
---------------------------------------------------------------------
*/

#loans tbody tr {
  cursor: pointer;
}
/*
---------------------------------------------------------------------
Account
---------------------------------------------------------------------
*/

.txn-note {
  color: gray;
}
.description-edit {
  border: 1px solid white;
}
.description-edit-label {
  font-size: 0.8em;
  color: #aaaaaa;
  float: left;
}
#accounts tbody tr {
  cursor: pointer;
}
/*
---------------------------------------------------------------------
Funds Transfers
---------------------------------------------------------------------
*/

.transfer-options {
  margin-bottom: 1em;
}
.transfer-option {
  background-color: #003768;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  padding: 0.5em;
}
.transfer-option a {
  color: white;
}
.transfer-option a:hover {
  text-decoration: none;
}
.transfer-option:hover {
  background-color: #004482;
}
.option-title {
  font-weight: 700;
}
.option-limit-row {
  margin-top: 0.5em;
}
.option-remaining {
  font-size: 19pt;
  height: 20pt;
}
.option-daily {
  font-size: 15pt;
  height: 20pt;
  padding-top: 0.25em;
  padding-bottom: -0.25em;
}
.option-label {
  color: #cccccc;
  font-size: 0.85em;
}
@media all and (min-width: 992px) {
  .transfer-option {
    height: 9em;
  }
}
#until {
  margin-bottom: 1em;
}
/*
---------------------------------------------------------------------
jQuery UI 
---------------------------------------------------------------------
*/

.ui-sortable-helper tr {
  display: table;
}
/*
---------------------------------------------------------------------
Mixins
---------------------------------------------------------------------
*/

.preserve3d {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.vertical-center {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media screen and (max-width: 740px) {
  
}
@media screen and (max-width: 480px) {
  /*
      ---------------------------------------------------------------------
      Banner
      ---------------------------------------------------------------------
      */
  
  #banner {
    height: 50px;
  }
  .banner-logo {
    display: block;
    max-width: 300px;
    max-height: 40px;
    width: auto;
    height: auto;
  }
  /*
      ---------------------------------------------------------------------
      Login
      ---------------------------------------------------------------------
      */
  
  #login-wrapper {
    width: 90%;
    margin-top: 0em;
    margin-bottom: 2em;
  }
  #login-wrapper > h3 {
    margin-bottom: 1em;
  }
}
