body {
  background-color: #fff;
}
#container {
  background-color: #fff;
  padding-top: 45px;
  padding-bottom: 40px;
}
#con {
  margin-bottom: 5px;
}
#load_spinner {
  z-index: 5000;
  position: fixed;
  width: calc(100% - 40px);
  height: 100%;
  background: rgba(0,0,0,.5) url(../img/load_spinner.gif) center center no-repeat;
}
.fill{width:100%;height:100%;background-position:center;background-size:cover;}
#map img {
  max-width: none;
}
img.trans-icon {
  max-width: 20px;
}
.label-notice-soft {
  color: #000;
  background-color: #FFFFFF;
  border:1px solid black;
}
.label-warning-soft {
  color: #000;
  background-color: #FEEF9D;
}
.label-success-soft {
  color: #000;
  background-color: #A4E987;
}
.label-error-soft {
  color: #000;
  background-color: #FF8C8C;
}
.label-info-soft {
  color: #000;
  background-color: #9FDFFF;
}
.label-canceled-soft {
  color: #000;
  background-color: lightgray;
}
.label-auto-transaction {
  color: #000;
  background-color: gold;
}
.label-info-alt {
  color: #000;
  background-color: #e0ffff
}
.table {
  margin-bottom: 10px;
}
.table tbody tr.success td {
  background-color: #A4E987;
}
.table tbody tr.error td {
  background-color: #FF8C8C;
}

.table tbody tr.warning td {
  background-color: #FEEF9D;
}
.table tbody tr.warning-alt td {
  background-color: #FFEABD;
}
.table tbody tr.info td {
  background-color: #9FDFFF;
}
.table tbody tr.info-alt td {
  background-color: #e0ffff;
}
.table tbody tr.header td {
  background-color: #e9e9e9;
}
.pagination {
  margin-top: 0;
  margin-bottom: 10px;
}
td div.btn-toolbar {
  margin: 0;
}
.icon-red{
  background-image:url("../img/glyphicons-halflings-red.png")
}
.navbar-inner {
  background-color: rgb(210, 46, 14);
  border: 1px solid #777;
  padding: 0;
  background-image: none;
}
.navbar .btn-navbar {
    float: right;
    margin-right: 5px;
    margin-left: 5px;
    color: rgb(210, 46, 14);
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
    background-color: rgb(210, 46, 14);
    background-repeat: repeat-x;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1) inset, 0px 1px 0px rgba(255, 255, 255, 0.075);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    padding: 7px 10px;
}
/*
.nav-pills > .active > a, .nav-pills > .active > a:hover, .navbar .btn-navbar:hover, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled], .navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle, .navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus {
    background-color: rgb(210, 46, 14);
    color: rgb(255, 255, 255);
    background-image: none;
}
*/
.navbar .nav > li.open {
  background-image: none;
}
.navbar .nav>li>a {
  text-shadow: 0 1px 0 #777;
  color: #fff;
}
.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
  background-color: red;
  color: #777;
  text-shadow: 0 1px 0 #000;
  background-image: none;
}
.dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
  background-color: rgb(210, 46, 14);
}
.navbar .nav li.dropdown > .dropdown-toggle .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.navbar .nav li.dropdown > a .caret,
.navbar .nav li.dropdown > a:hover .caret,
.navbar .nav li.dropdown > a:focus .caret {
  border-top-color: #fff;
  border-bottom-color: #fff;
}
.navbar .brand {
  color: #FFF;
  text-shadow:  0 1px 0 #777;
  margin-left: 2px;
}
.input-append, .input-prepend {
  margin: 0;
}
ul.breadcrumb {
  background-color: #fff;
  margin-bottom: 5px;
  padding-left: 0px;
}
.span12 {
  min-height: 0px !important;
}
.input-append button {
  display: inline-block;
  width: auto;
  min-width: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  text-shadow: 0px 1px 0px rgb(255, 255, 255);
  background-color: rgb(238, 238, 238);
  border: 1px solid rgb(204, 204, 204);
  padding: 4px 5px;
}
.form-error input {
  border: 1px solid #b94a48;
}
.error-message {
  color: #b94a48;
}
#footer {
  padding: inherit;
  background-color: #d22e0e;
  list-style: none;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0;
  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;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
}
/* use this instead of <legend>*/
.title span{
    font-size: 21px;
    line-height: 40px;
}
.title hr{
    margin-top: 0px;
}
/* input fields with dynamic width */
.dynamic-input-width {
    width: calc(100% - 13px);
}

/* popup calendar */
.m3calendar {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    display: block;
    z-index: 10000;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    padding: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* the triangle "pointer" */
/* top left */
.m3calendar_pointer_tl:before {
    content: '';
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.2);
    position: absolute;
    top: -10px;
    left: 8px;
}
.m3calendar_pointer_tl:after {
    content: '';
    display: inline-block;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    position: absolute;
    top: -8px;
    left: 10px;
}
/* top right */
.m3calendar_pointer_tr:before {
    content: '';
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.2);
    position: absolute;
    top: -10px;
    right: 8px;
}
.m3calendar_pointer_tr:after {
    content: '';
    display: inline-block;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    position: absolute;
    top: -8px;
    right: 10px;
}
/* bottom left */
.m3calendar_pointer_bl:before {
    content: '';
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(0,0,0,0.2);
    position: absolute;
    bottom: -10px;
    left: 8px;
}
.m3calendar_pointer_bl:after {
    content: '';
    display: inline-block;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    position: absolute;
    bottom: -8px;
    left: 10px;
}
/* bottom right */
.m3calendar_pointer_br:before {
    content: '';
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(0,0,0,0.2);
    position: absolute;
    bottom: -10px;
    right: 8px;
}
.m3calendar_pointer_br:after {
    content: '';
    display: inline-block;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    position: absolute;
    bottom: -8px;
    right: 10px;
}
/* year and month */
.m3calendar th {
    padding: 0px;
    text-align: center;
}
.m3calendar tr:first-child th:nth-child(2),
.m3calendar tr:first-child th:nth-child(5) {
    padding-top: 2px;
    padding-bottom: 2px;
}
.m3calendar tr:first-child th:nth-child(2) div,
.m3calendar tr:first-child th:nth-child(5) div {
    background: rgba(240, 240, 240, 1);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-radius: 2px;
}
/* next/previous buttons */
.m3calendar tr:first-child th:first-child div,
.m3calendar tr:first-child th:nth-child(3) div,
.m3calendar tr:first-child th:nth-child(4) div,
.m3calendar tr:first-child th:last-child div {
    cursor: pointer;
    color: #fff;
    background-color: #0099ff;
    border-radius: 4px;
    background-image: linear-gradient(to bottom,#00ccff,#0099ff);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
#m3calendar-cal tr:first-child th:first-child:hover div,
#m3calendar-cal tr:first-child th:nth-child(3):hover div,
#m3calendar-cal tr:first-child th:nth-child(4):hover div,
#m3calendar-cal tr:first-child th:last-child:hover div {
    cursor: pointer;
    color: #fff;
    background-color: #00cccc;
    border-radius: 4px;
    background-image: linear-gradient(to bottom,#00ccff,#00cccc);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.m3calendar tr:first-child th:nth-child(3) {
    padding-right: 2px;
}
.m3calendar tr:first-child th:nth-child(4) {
    padding-left: 2px;
}
/* days of month*/
#m3calendar-cal td {
    padding: 6px 12px 6px 12px;
    text-align: right;
}
#m3calendar-cal td:hover {
    background: #ddd;
    cursor: pointer;
    border-radius: 4px;
}
.m3calendar-day-selected {
    color: #fff;
    font-weight: bold;
    background-color: #00ccff;
    border-radius: 4px;
    /*background-image: linear-gradient(to bottom,#08c,#04c);*/
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.m3calendar-current-month {
    background: rgba(240, 240, 240, 1);
    color: #000;
}
.m3calendar-other-month {
    background: rgba(240, 240, 240, 1);
    color: #aaa;
}
/* switch buttons */
.m3calendar-switch-btns {
    padding-top: 4px;
    width: 100%;
}
.m3calendar-switch-btns button {
    width: 100%;
}
/* time box overlay */
.m3calendar-time-box {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1.0);
}
/* time box */
.m3calendar-time-box > table {
    height: 100%;
    font-weight: normal;
    color: #888;
    width: 100%;
    height: 100%;
    text-align: center !important;
    white-space: nowrap;
}
.m3calendar-time-box > table td {
    padding-top: 0px;
    padding-bottom: 0px;
}
.m3calendar-time-line {
    color: #000;
    background: rgba(240, 240, 240, 1);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    padding-top: 4px;
    padding-bottom: 4px;
}
.m3calendar-time-h,
.m3calendar-time-m {
    width: 100%;
    box-sizing: border-box;
}
/* previous/next hour buttons */
.m3calendarChangeButton div {
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
    color: #fff;
    background-color: #0099ff;
    border-radius: 4px;
    background-image: linear-gradient(to bottom,#00ccff,#0099ff);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.m3calendarChangeButton div:hover {
    cursor: pointer;
    color: #fff;
    background-color: #00cccc;
    border-radius: 4px;
    background-image: linear-gradient(to bottom,#00ccff,#00cccc);
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.icon-success {
    color: #468847;
}
.icon-warning {
    color: #f89406;
}
.icon-important {
    color: #b94a48;
}
.icon-info {
    color: #3a87ad;
}

/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
}

/* Desktop medium */
@media (min-width: 980px) and (max-width: 1200px) {
  #container {
    padding-top: 90px;
  }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .nav-collapse .nav>li>a, .nav-collapse .dropdown-menu a {
    color: #fff;
  }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  #container {
    padding-top: 0;
  }

  /* Unfloat the back to top link in footer */
  .footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer p {
    margin-bottom: 9px;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding */
  body {
    padding-top: 0;
    background: #fff;
  }

  .navbar-fixed-top {
    margin-bottom: 0;
  }

  #container {
    padding-top: 0;
    border: none;
  }

  /* Change up some type stuff */
  h2 small {
    display: block;
  }

 /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Modal example */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Unfloat the back to top in footer to prevent odd text wrapping */
  .footer .pull-right {
    float: none;
  }
}
