/*
 * Bootstrap 1.0.0 Compatible Styles
 * With fixes for old IE (IE6, IE7, IE8) and other legacy browsers
 * Compatible with Firefox 3.6+, Safari 4+, Chrome 4+, Opera 10+
 */

/* Reset and Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #333333;
    background-color: #ffffff;
}

/* Container - Fluid Layout */
.container {
    width: 90%;
    min-width: 960px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    zoom: 1; /* IE6/7 fix */
}

.container:before,
.container:after {
    display: table;
    content: "";
    zoom: 1; /* IE6/7 fix */
}

.container:after {
    clear: both;
}

/* Row */
.row {
    margin-left: -2%;
    zoom: 1; /* IE6/7 fix */
}

.row:before,
.row:after {
    display: table;
    content: "";
    zoom: 1; /* IE6/7 fix */
}

.row:after {
    clear: both;
}

/* Span columns - Fluid percentage-based - IE6/7 compatible */
.span1 { width: 6.5%; }
.span2 { width: 15%; }
.span3 { width: 23.5%; }
.span4 { width: 32%; }
.span5 { width: 40.5%; }
.span6 { width: 49%; }
.span7 { width: 57.5%; }
.span8 { width: 66%; }
.span9 { width: 74.5%; }
.span10 { width: 83%; }
.span11 { width: 91.5%; }
.span12 { width: 100%; }

[class*="span"] {
    float: left;
    margin-left: 2%;
    min-height: 1px; /* IE6 fix */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #404040;
    line-height: 1.2;
}

h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
    margin: 0 0 9px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
}

/* Links */
a {
    color: #0069d6;
    text-decoration: none;
    line-height: inherit;
    font-weight: inherit;
}

a:hover {
    color: #00438a;
    text-decoration: underline;
}

/* Forms - IE6/7/8 compatible */
form {
    margin: 0;
    padding: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 18px;
    font-size: 19.5px;
    line-height: 36px;
    color: #333333;
    border: 0;
}

label,
input,
button,
select,
textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #404040;
}

input,
textarea,
select {
    display: inline-block;
    width: 210px;
    padding: 4px;
    font-size: 13px;
    line-height: 18px;
    color: #808080;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/* IE7 and below fix - use expression for width */
input,
textarea,
select {
    *width: auto; /* IE7 fix */
}

textarea {
    height: auto;
    overflow: auto;
}

select {
    width: 220px;
    background-color: #ffffff;
}

/* Form groups */
.form-group {
    margin-bottom: 15px;
    *zoom: 1; /* IE6/7 fix */
}

.form-group:before,
.form-group:after {
    display: table;
    content: "";
}

.form-group:after {
    clear: both;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    min-width: 210px;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #999999;
    outline: none;
}

/* Help text */
small,
.help-inline,
.help-block {
    font-size: 11px;
    color: #bfbfbf;
    line-height: 18px;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}

.help-inline {
    display: inline-block;
    padding-left: 5px;
}

/* Buttons - IE6/7/8 compatible */
.btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    line-height: 18px;
    color: #ffffff;
    text-align: center;
    background-color: #555555;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #666666, #444444);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666666), to(#444444));
    background-image: -webkit-linear-gradient(top, #666666, #444444);
    background-image: -o-linear-gradient(top, #666666, #444444);
    background-image: linear-gradient(top, #666666, #444444);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#444444'); /* IE6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#444444')"; /* IE8 */
    border: 1px solid #444444;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    zoom: 1; /* IE6/7 fix */
}

.btn:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #666666;
}

.btn:active {
    background-color: #444444;
    background-image: none;
}

.btn-secondary {
    background-color: #6c6c6c;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #8c8c8c, #6c6c6c);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8c8c8c), to(#6c6c6c));
    background-image: -webkit-linear-gradient(top, #8c8c8c, #6c6c6c);
    background-image: -o-linear-gradient(top, #8c8c8c, #6c6c6c);
    background-image: linear-gradient(top, #8c8c8c, #6c6c6c);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c8c8c', endColorstr='#6c6c6c'); /* IE6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c8c8c', endColorstr='#6c6c6c')"; /* IE8 */
    border: 1px solid #6c6c6c;
}

.btn-success {
    background-color: #57a957;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #62c462, #57a957);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
    background-image: -webkit-linear-gradient(top, #62c462, #57a957);
    background-image: -o-linear-gradient(top, #62c462, #57a957);
    background-image: linear-gradient(top, #62c462, #57a957);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957'); /* IE6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957')"; /* IE8 */
    border: 1px solid #57a957;
}

.btn-danger {
    background-color: #c43c35;
    background-repeat: no-repeat;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(top, #ee5f5b, #c43c35);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35'); /* IE6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35')"; /* IE8 */
    border: 1px solid #c43c35;
}

/* Tables - IE6/7/8 compatible */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 18px;
}

table th,
table td {
    padding: 8px;
    line-height: 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

table th {
    font-weight: bold;
    vertical-align: bottom;
}

table thead th {
    vertical-align: bottom;
}

table tbody tr:hover td,
table tbody tr:hover th {
    background-color: #f5f5f5;
}

/* Striped tables */
.table-striped tbody tr:nth-child(odd) td {
    background-color: #f9f9f9;
}

/* IE6-8 fix for striped tables using expression */
* html .table-striped tbody tr td {
    background-color: #ffffff;
}

*+html .table-striped tbody tr td {
    background-color: #ffffff;
}

/* Alerts - Simple professional style */
.alert {
    padding: 10px 14px;
    margin-bottom: 18px;
    background-color: #ffffcc;
    border: 1px solid #e0e0a0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #666633;
    zoom: 1; /* IE6/7 fix */
}

.alert-success {
    background-color: #ccffcc;
    border-color: #a0e0a0;
    color: #336633;
}

.alert-error {
    background-color: #ffcccc;
    border-color: #e0a0a0;
    color: #663333;
}

.alert-info {
    background-color: #cce5ff;
    border-color: #a0c0e0;
    color: #335566;
}

/* Cards/Panels - Simple professional style */
.card,
.well {
    min-height: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    zoom: 1; /* IE6/7 fix */
}

/* Navigation */
.nav {
    margin-left: 0;
    margin-bottom: 18px;
    list-style: none;
}

.nav li {
    display: inline;
}

.nav a {
    display: inline-block;
    padding: 10px 10px 11px;
    margin-bottom: -1px;
    line-height: 1;
    color: #0069d6;
    text-decoration: none;
    border: 1px solid transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.nav a:hover {
    color: #00438a;
    text-decoration: none;
    background-color: #eeeeee;
}

/* Header/Navbar - IE6/7/8 compatible */
.navbar {
    *position: relative;
    *z-index: 1;
    overflow: visible;
    margin-bottom: 18px;
}

.navbar-inner {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #333333;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #444444, #222222);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
    background-image: -webkit-linear-gradient(top, #444444, #222222);
    background-image: -o-linear-gradient(top, #444444, #222222);
    background-image: linear-gradient(top, #444444, #222222);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#222222'); /* IE6-7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#222222')"; /* IE8 */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    zoom: 1; /* IE6/7 fix */
}

.navbar .brand {
    float: left;
    display: block;
    padding: 8px 20px 12px;
    margin-left: -20px;
    font-size: 20px;
    font-weight: 200;
    line-height: 1;
    color: #ffffff;
}

.navbar .nav {
    position: relative;
    left: 0;
    float: left;
    display: block;
    margin: 0 10px 0 0;
}

.navbar .nav a {
    float: left;
    padding: 10px 10px 11px;
    color: #bfbfbf;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.navbar .nav a:hover {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* Footer - Simple */
.footer {
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #d0d0d0;
    background-color: #e8e8e8;
    zoom: 1; /* IE6/7 fix */
}

.footer p {
    margin-bottom: 0;
    color: #666;
    font-size: 12px;
}

/* Utilities - IE6/7/8 compatible */
.clearfix {
    *zoom: 1; /* IE6/7 fix */
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* Stat Cards - Simple professional */
.stat-card {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333333;
    border: 1px solid #d0d0d0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    zoom: 1;
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #333333;
}

.stat-card .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666666;
}

/* Images */
img {
    border: 0;
    -ms-interpolation-mode: bicubic; /* IE7 fix for better image scaling */
}

.img-rounded {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.img-circle {
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}

/* Grid system IE6 fixes */
* html .container {
    width: 940px;
}

* html .row {
    width: 100%;
}

* html [class*="span"] {
    margin-left: 0;
    margin-right: 10px;
}

/* IE7 specific fixes */
*+html .container {
    width: 940px;
}

*+html .row {
    width: 100%;
}

/* Media queries fallback for old browsers */
/* No media queries - fixed width layout for IE6-8 */

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background-color: #ffffff;
    }
    
    a:link,
    a:visited {
        color: #000000;
        text-decoration: underline;
    }
}
