html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #e9e9e9;
  line-height: 50px;
}


.navbar {
    background-color: #ffffff;
    height: 60px;
    position: static;
}

.navbar .nav > li {
  z-index: 1001;
}

.navbar-brand{
    padding :0;
}

.navbar-brand img {
    max-height: 70px;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #000000;  /*Sets the text hover color on navbar*/
    border-bottom: solid 5px #C43D3D;
    transition: all 150ms ease;
    background-color: #ffffff;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active >   
a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #000000; /*BACKGROUND color for active*/
    border-bottom: solid 5px #efcbcb;
    background-color: #ffffff;
    
}

.navbar-default {
    background-color: #ffffff;
    border:0;
}

.dropdown-menu > li {
    background-color: #ffffff;
    z-index: -1;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #C43D3D;
    border-bottom: solid 5px #C43D3D;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
}

@media only screen and (max-width: 766px) {
.collapsing, .in {background-color: #ffffff;}
.collapsing ul li a, .in ul li a {color: #000000!important;}
.collapsing ul li a:hover, .in ul li a:hover {color: #C43D3D!important;}
}

.hero {
    width:100%;
    background:#C43D3D url('/images/bghero.jpg') center bottom no-repeat;
    border-bottom:solid 20px #cccccc;
    min-height:100px;
    background-position: cover;
    color:#ffffff;
    margin: 10px 0;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
     border-color: transparent !important;
}

.list-group {
   border-radius: 0; 
}

.list-group > .active
{
    color: #C43D3D;
    background-color: #ffffff;
    font-weight: 600;
}

.list-group > .active:hover,.list-group > .active:focus
{
    color: #C43D3D;
    background-color: #ffffff;
}

.list-group-item
{
  overflow:hidden;  
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 0;
  
}

.btn-danger {
    background: #C43D3D;
    min-height: 20px;
    text-align: center;
}

.btn-mnudanger {
    background: #C43D3D;
    min-height: 20px;
    text-align: left;
    border-radius: 0;
    margin: 5px 0;
    color: #ffffff;
}

.strong {
    font-weight: 600;
}

.btnLogin {
    background-color: rgba(255,255,255,0.2);
    border-radius: 0;
    border:0;
    color: #ffffff;
    min-height: 50px;
    transition: all 150ms ease;
}

.loginbox input {
    border-radius: 0 !important;
    background-color: rgba(255,255,255,0.4) !important;
    border: solid 1px rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
}

.loginbox input:-webkit-autofill,
.loginbox input:-webkit-autofill:hover,
.loginbox input:-webkit-autofill:focus,
.loginbox input:-webkit-autofill:active {
    transition: all 5000s ease-in-out 0s;
    color: #ffffff !important;
}

input[readonly]
{
    background-color:#ffffff;
}

.btnLogin:hover {
    background-color: rgba(255,255,255,0.3);
    color: #ffffff;
}

.input-group-btn > .btn-danger {
    background: #C43D3D;
    min-height: 30px;
}

h4 {
    line-height: 40px;
}

.serial {
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    font-weight: 400;
}

.serial a, .serial a:visited, .serial a:hover, .serial a:focus {
    color: #333333 !important;
    font-weight: 400;
    text-decoration: none;
}

.label {
    display: inline-block !important;
    width: 20px !important;
}




/* CSS for Credit Card Payment form */
.credit-card-box .panel-title {
    display: inline;
    font-weight: bold;
}
.credit-card-box .form-control.error {
    border-color: red;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(255,0,0,0.6);
}
.credit-card-box label.error {
  font-weight: bold;
  color: red;
  padding: 2px 8px;
  margin-top: 2px;
}
.credit-card-box .payment-errors {
  font-weight: bold;
  color: red;
  padding: 2px 8px;
  margin-top: 2px;
}
.credit-card-box label {
    display: block;
}
/* The old "center div vertically" hack */
.credit-card-box .display-table {
    display: table;
}
.credit-card-box .display-tr {
    display: table-row;
}
.credit-card-box .display-td {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
}
/* Just looks nicer */
.credit-card-box .panel-heading img {
    min-width: 180px;
}