﻿

.ButtonStyle {
    display: inline-block;
    *display: inline;
    padding: 4px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    -webkit-text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ButtonStyle:hover,
.ButtonStyle:focus,
.ButtonStyle:active,
.ButtonStyle.active,
.ButtonStyle.disabled,
.ButtonStyle[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}

.ButtonStyle:active,
.ButtonStyle.active {
  background-color: #cccccc \9;
}

.ButtonStyle:first-child {
  *margin-left: 0;
}

.ButtonStyle:hover,
.ButtonStyle:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

.ButtonStyle:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.ButtonStyle.active,
.ButtonStyle:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ButtonStyle.disabled,
.ButtonStyle[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}


.btn-primary {
    background-color: #92907c;
    background-image: linear-gradient(to bottom, #9E9C86, #787666);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    -webkit-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #92907c;
  *background-color: #5E5D50;
}

.btn-default {
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); 
}

.panel.panel-primary, .panel.panel-primary .panel-footer {
    border-color: #CAC9BB;
    background-color: #f9f6ea;
}

.panel.panel-primary > .panel-heading {
    background-color: #ACA992;
    background-image: linear-gradient(to bottom, #ACA992, #787666);
    background-repeat: repeat-x;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.input-numeric {
    text-align: right;
}
.input-numeric::-ms-clear {
    display: none;
}

legend {
    font-weight: 300;
}
.icon-calendar {
    position: relative;
    top: -2px;
    left: -5px; 
    font-size: 14px;
}
.col-xs-0 {
    width: 0;
}
#master-main-content, #sidebarSpanDiv, #innerNavbar{
    padding-left: 0;
    padding-right: 0;
}

/*Settting from BS2*/
label {
    display:block;
    font-weight:normal;
}

select:not(.noMinWidth) {
    width: 220px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

.breadcrumb {
    margin-bottom: 0px;
    background-color: #f8f8f8;
}

.navbar { min-height: inherit; }

input[disabled], select[disabled], textarea[disabled], input[readonly]:not(.radPreventDecorate), select[readonly], textarea[readonly] {
    cursor: not-allowed !important;
    background-color: #eeeeee !important;
}

select:not(.noMarginForAddon), 
textarea, 
input[type="text"]:not(.noMarginForAddon):not(.rcbInput):not(.hiddenField), 
input[type="password"], 
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="radio"], 
input[type="checkbox"], 
.uneditable-input {
    display: inline-block;
    font-weight:normal;/*override for bootstrap 3*/
    padding: 4px 6px;
    /*margin-bottom: 10px !important;*/
    margin-left: 5px;
    font-size: 14px;
    color: #555555;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* This is for the controls set above  that have input add ons - the margins mess the layout of the add on up. */
.noMarginForAddon  {
    display: inline-block;
    font-weight:normal;/*override for bootstrap 3*/
    padding: 4px 6px;
    font-size: 14px;
    color: #555555;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.addExtraSpaceBetween input[type="radio"],  .addExtraSpaceBetween label, .addExtraSpaceBetween input[type="checkbox"] {
    vertical-align: baseline;
    padding: 0px;
    margin-top: 10px;
}

textarea,
input[type="text"],
input[type="password"],
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"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

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(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

body {
    line-height: 20px;
}

.modal-header h3 {
    margin-top:0px;
    margin-bottom:0px;
}

.modal-dialog {
    margin:0px;
}

.modal-open {
    overflow: auto;
}

.modal-lg {
    width: 840px;
    left: 50%;
    margin-left:-420px;
}

.modal-sm {
    width: 450px;
    left: 50%;
    margin-left:-225px;
}

.modal-dialog:not(.modal-sm):not(.modal-lg) {
    width: 600px;
    left: 50%;
    margin-left:-300px;
}

.modal {
    bottom: inherit;
    height: 100%;
    overflow-y: auto !important;
}

.modal-body {
    overflow-y: auto;
    max-height: 700px !important;
    width:100%;
}

.modal-footer {
    margin-bottom: 0;
    background-color: #f5f5f5;
    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;
}

.btn:not(.btn-primary):not(.btn-default):not(.btn-info):not(.btn-success):not(.btn-warning)   {
  padding-top:4px;
  padding-bottom:4px;
    border: 1px solid #cccccc;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);        
}

/*End: Settting from BS2*/

.ButtonStyle, .ps-btn {
    display: inline-block;
    *display: inline;
    padding: 4px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    text-align: center;
    -webkit-text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ButtonStyle:hover,
.ButtonStyle:focus,
.ButtonStyle:active,
.ButtonStyle.active,
.ButtonStyle.disabled,
.ButtonStyle[disabled],
.ps-btn:hover,
.ps-btn:focus,
.ps-btn:active,
.ps-btn.active,
.ps-btn.disabled,
.ps-btn[disabled] {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}

.ButtonStyle:active,
.ButtonStyle.active,
.ps-btn:active,
.ps-btn.active {
  background-color: #cccccc \9;
}

.ButtonStyle:first-child,
.ps-btn:first-child {
  *margin-left: 0;
}

.ButtonStyle:hover,
.ButtonStyle:focus,
.ps-btn:hover,
.ps-btn:focus {
  color: #333333;
  text-decoration: none;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

.ButtonStyle:focus,
.ps-btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.ButtonStyle.active,
.ButtonStyle:active,
.ps-btn.active,
.ps-btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ButtonStyle.disabled,
.ButtonStyle[disabled],
.ps-btn.disabled,
.ps-btn[disabled] {
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

.btn:hover, .btn:focus {
    background-position: 0;
    /*color: #333333;
    text-decoration: none;
    transition: background-position 0.1s linear 0s;*/
}

.input-numeric {
    text-align: right;
}
.input-numeric::-ms-clear {
    display: none;
}

legend {
    font-weight: 300;
    padding: 5px !important;
}

label {
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;

}

@media (min-width: 980px) and (max-width: 1024px) {
    body, label, input, button, select, textarea, .btn, .ButtonStyle, .ps-btn {
        font-size: 12px;
    }

    .btn, .ButtonStyle, .ps-btn {
        padding: 2px 6px;
    }

    h2 {
        font-size: 24.5px;
    }
    h3 {
        font-size: 19.5px;
    }
}

.modal-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 6px 6px 0 0;
    padding: 9px 15px;
}

.icon-calendar {
    position: relative;
    top: -3px;
    left: -3px; 
}
.col-xs-0 {
    width: 0;
}
#master-main-content, #sidebarSpanDiv, #innerNavbar{
    padding-left: 0;
    padding-right: 0;
}

#ui-datepicker-div { display: none; }

.form-horizontal .form-group {
    margin-left: 0px;
    margin-right: 0px;
}

.form-group-NoMargin { margin-bottom: 0px; }

/* Bootstrap auto lefts the table header rows.  If we want them center, we have to use this. */
.textAlignCenter th { text-align: center; }

/* fix for grid pager select width */
.xs-grid-pager select {
    width: auto;
    margin: 0 !important;
}


.panel-primary>.panel-heading {
    background-color: #92917C;
    border-color: #ACA992;
}

.panel-title {
    font-size: inherit !important;
}

nav.navbarNoBottomMargin {
    margin-bottom: -20px !Important;
}

nav.navbarNoTopMargin {
    margin-top: -40px !Important;
}

.input-group-addon.noBorders {
    border: 0px !important;
    background-color: inherit !important;
}

.input-group-addon.modalHeader {
    padding: 0px 10px 5px 0px !important;
    font-size: 2.25em;
}

.input-group.letMeFloat {
    float: left !important;
}

