html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
img {
    /* Responsive images (ensure images don't scale beyond their parents) */

    max-width: 100%;
    /* Part 1: Set a maxium relative to the parent */

    width: auto\9;
    /* IE7-8 need help adjusting responsive images */

    height: auto;
    /* Part 2: Scale the height according to the width, otherwise you get stretching */

    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

button,
input,
select,
textarea {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}
button,
input {
    *overflow: visible;
    line-height: normal;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
}
input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
.clear 
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.clear_5 
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 5px;
}
.clear_10 
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 10px;
}

.clear_15 
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 15px;
}

.clear_20
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 20px;
}

.clear_30
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 30px;
}

.clear_45
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 45px;
}

ul.inline li {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

select,
textarea,
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
input[type="password"],
input[type="text"] {
    background-color: #F4F4F4;
    border: #D5D5D5 solid 1px;
    padding: 5px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    behavior: url(css/PIE.htc);
}

/* Glow Color Input*/
select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: rgba(245,135,51,0.8);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */

    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(245,135,51,.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(245,135,51,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(245,135,51,.6);

    behavior: url(css/PIE.htc);
}

select,
input[type="file"] {
    height: 29px;
    /* In IE7, the height of the select element cannot be changed by height, only font-size */

    *margin-top: 4px;
    /* For IE7, add top margin to align select with labels */

    line-height: 29px;
}

select[multiple],
select[size] {
    height: auto;
}
label,
select,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    *margin-top: 0;
    /* IE7 */

    margin-top: 1px \9;
    /* IE8-9 */

    line-height: normal;
}
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}
.radio,
.checkbox {
    padding-left: 10px;
    padding-top: 5px;
}

.checkbox input[type="checkbox"] {
    float: left;
    margin-top: 1px;
}

.radio input[type="radio"] {
    float: left;
    margin-top: 1px;
}
.img-rounded {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    behavior: url(css/PIE.htc);
}
.img-polaroid {
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    behavior: url(css/PIE.htc);
}
.img-circle {
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
    behavior: url(css/PIE.htc);
}

.hide {
    display: none;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.pull-left {
    float: left;
    position: relative;
}

.pull-right {
    float: right;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    text-rendering: optimizelegibility;
}

.errorSummary,
.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    behavior: url(css/PIE.htc);
}
.alert.margin-top {
    margin-bottom: 10px;
    margin-top: 10px;
}
span.required,.errorMessage {
    color: red;
}
.errorMessage {
    padding-top: 10px;
}
.errorSummary ul,
.alert ul {
    list-style-type: disc;
    list-style-position: inside;
}
.errorSummary p,
.alert p {
    padding-bottom: 5px;
    font-weight: 700;
}
.errorSummary,
.alert,
.alert a,
.errorSummary h4,
.alert h4 {
    color: #916B29;
}
.errorSummary h4,
.alert h4 {
    margin: 0;
}
.alert .close {
    position: relative;
    top: -2px;
    right: -21px;
    line-height: 20px;
}
.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}
.alert-success a,
.alert-success h4 {
    color: #468847;
}

.flash-success{
    background: none repeat scroll 0% 0% rgb(230, 239, 194);
    color: rgb(68, 98, 29);
    font-weight: bold;
    padding: 8px 35px 8px 14px;
    border: rgb(220, 229, 184) solid 1px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    behavior: url(css/PIE.htc);
    
    margin: 0px 0px 20px;
}

.errorSummary,
.alert-danger,
.alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
}
.errorSummary h4,
.alert-danger h4,
.alert-danger a,
.alert-error a,
.alert-error h4 {
    color: #b94a48;
}
.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}
.alert-info a,
.alert-info h4 {
    color: #3a87ad;
}
.alert-block {
    padding-top: 14px;
    padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
    margin-bottom: 0;
}
.alert-block p + p {
    margin-top: 5px;
}

.fileinput {
    position: relative;
    overflow: hidden;
}
.fileinput input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    width: 150px;
/*    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;*/
    filter: alpha(opacity=0);
    /*transform: translate(-300px, 0) scale(4);*/
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}

.placeholder {
    color:#999999;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:#999999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:#999999;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:#999999;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:#999999;
}

textarea.error,
select.error,
input.error {
    /*color: #b94a48;*/
    border-color: #b94a48;
    background-color: #f2dede;
}

.muted {
    color: #AAAAAA;
}

.italic {
    font-style: italic;
}