﻿/**/
.navbar-ex1-collapse li a { color: White; }

#content { margin-bottom: 0px; }

.main-banner {
    height: 100%;
    padding-top: calc(50% - 130px);
    padding-left: calc(50% - 150px);
}
#banner {
    width: 300px;
}
.row-eq-height .col-md-6 { width: 100%; }
.main-title {
    height: 100%;
    width: 100%;
    padding-top: calc(50% - 40px);
}
.main-title .row {
    width: 100%;
    text-align: center;
}

.text-center { text-align: center; }
label.label-control {
    font-size: 12px;
}

table.agent-list, table.account-list, table.trans-list {
    font-size: 12px;
}

table.agent-list th, table.account-list th, table.trans-list th {
    white-space: nowrap;
    text-align: center;
}

table.agent-list td, table.account-list td, table.trans-list td { text-align: center; }

table.agent-list td a, table.account-list td a, table.trans-list td a { color: Blue; text-decoration: underline; }

table.trans-list tr { background-color: #f9f9f9; }

table.agent-list tr.agent-closed, table.account-list tr.account-closed,
table.agent-list tr.agent-closed:hover, table.account-list tr.account-closed:hover
{ background-color: #cd853f !important; }
table.agent-list .mobile-only, table.account-list .mobile-only
{
    display: block;
}

@media only screen and (min-width: 850px)
{
     table.agent-list .mobile-only, table.account-list .mobile-only
     {
         display: none;
     }
}

.agent-form label.label-control, .account-form label.label-control { width: 70px; }

span.text-center {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.table-full-width { width: auto !important; }

.form-changpass label { width: 100px; }
.form-changpass input { display: inline-block; width: auto; }

@media only screen and (max-width: 850px)
{
    #banner {
        width: 160px;
    }
    .main-banner {
        padding-top: 40px;
        padding-left: calc(50% - 80px);
    }
    .main-title {
        padding-top: 40px;
    }
    .logout-text { display: none; }
}

/* Override Bootstrap */
.input-group-addon { width: auto !important; }
.trans-form .date { height: 19px; display: inline-block; }

div.datepicker { margin-top: 50px; }

/*  */
html { height: 100%; }
body { height: calc(100% - 40px); }
#wrapper, #page-wrapper, #page-wrapper .container-fluid, #main, #content { height: 100%; }

a.function-row { color: Blue; font-size: 18px; text-decoration: underline; }
a.function-row:hover { color: Blue; }

/* Fix other size for agent-edit-price */
#agent_form.agent-edit-price label.label-control { width: 90px; }
#agent_form.agent-edit-price input { width: 150px; }

#agent_form.agent-create input { width: 172px; }
#agent_form.agent-create select 
{
    width: 55px;
    display: inline-block;
    padding-left: 2px;
    padding-right: 0px;
}

@media only screen and (max-width: 1050px) and (min-width: 450px)
{
    #agent_form.agent-edit-price span { display: inline; white-space: nowrap; }
    #account_form.account-create span { display: inline; white-space: nowrap; }
}

/* Small top icon size */
.top-icon img { height: 30px; margin-top: 5px; margin-bottom: 5px; }

#account_form.account-create select  
{
    width: 55px;
    display: inline-block;
    padding-left: 2px;
    padding-right: 0px;
}
#account_form.account-create input {width: 173px; display: inline-block; }

/* User changepass */
#user_form.user-changepass label { width: 110px; }
#user_form.user-changepass input { width: 140px; }
/*  */
.alert { margin-bottom: 0px !important; }

span.report.summary-row 
{
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    font-size: 12pt;
    color: Green;
    font-weight: bold;
}

/* Loading Overlay */
/* Absolute Center Spinner */
.loading, .loading-modal {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before, .loading-modal:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required), .loading-modal:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after, .loading-modal:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
