.tab-pane .listTable a {
  color:white !important;
}

input.search, select.search {
  font-size: 12px;
  padding:0px;
}

select.expand {
  height: 22px;
  position:relative;
  margin-left: 0;
  z-index: 998;
}

select.expand:hover {
  height: 115px;
  position:absolute;
  margin-left: -60px;
  z-index: 998;
}

select.search {
  height: 22px;
}

.pagination {
  width:400px;
  margin:auto;
  text-align:center;
}

.accessoriesList {
  border-collapse: collapse;
}

.exportEstimate {
  margin-left:40px;
}
/*.ellipsis {
  white-space:nowrap;
  display:block;
  text-overflow:ellipsis;
  width:120px;
  overflow:hidden;
  cursor:pointer;
} */

.noemotion,.noemotion:hover {
  text-decoration:none;
  color:black;
}

.extraButtons {
  position: fixed;
  top: 38px;
  right: 100px;
  z-index: 999;
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
  background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
  background-image: -o-linear-gradient(top,#fff,#f2f2f2);
  background-image: linear-gradient(to bottom,#fff,#f2f2f2);
  background-repeat: repeat-x;
  padding:8px;
  -webkit-border-radius: 0px 0px 4px 4px;
  -moz-border-radius: 0px 0px 4px 4px;
  border-radius: 0px 0px 4px 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);  
}

.extraButtons.loggedAs {
  right: 500px;
  font-size: 14px;
}

.sortable:hover, .sortable {
  text-decoration:none;
  color:black;
}

.sort div.sortContainer {
  width: 10px;
}

.sort {
  margin-left: 2px;
  margin-right: 2px;
}

.sort b.up {
  margin-bottom: 2px;
  margin-top: 2px;
  width: 0;
  height: 0;
  float:right;
  border-bottom: 5px solid lightgray;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.sort b.down {
  width: 0;
  height: 0;
  float:right;
  border-top: 5px solid lightgray;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.sort b.active.down {
  border-top-color: black; 
}

.sort b.active.up {
  border-bottom-color: black; 
}


 /* Arrow - right */
b.caretRight {
  content: "";
  width:0;
  height:0;
  float:right;
  margin-top: 6px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid black;
  border-right: 0px;
}

 /* content section */
#content div.contentWindow:not(.login), #login {
  display: table;
  padding: 5px;
  min-height: 500px;
  margin: 70px auto;
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
  background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
  background-image: -o-linear-gradient(top,#fff,#f2f2f2);
  background-image: linear-gradient(to bottom,#fff,#f2f2f2);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

#login {
  width: 400px;
  height: 190px;
  min-height: auto;
  text-align:center;
  opacity: 0.1;
  margin-top: 150px;
  min-height: 190px;
}

#login input {
  width: 150px;
}

#menu .navbar .navbar-inner {
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

 /*  list table */

.listTable {
  margin: 10px auto;
  width: 90%;
}

.listTable tr td {
  border-top: 1px solid black;
  padding: 3px;
}

.listTable tr th {
  height: 15px;
  position:relative;
}

.listTable tr th:not(:first-child),.listTable tr td:not(:first-child) {
  border-left: 1px solid black;
}

.listTable tr > td {
  opacity: 0.8;
  cursor:pointer;
}

.listTable tr:hover > td {
  opacity: 1;
  font-weight: bold;
}

/* add Table */

.addTable {
  width: 70%;
  margin: 10px auto;
}

.addTable tr td, .addTable tr th {
  vertical-align: middle;
}

.addTable tr td {
  padding-top: 10px;
  padding-left: 20px;
}

.addTable tr:not(:first-child) th, .addTable tr:not(:first-child) td {
  border-top: 1px solid black;
}

.addTable tr td {
  border-left: 1px solid black;
} 


#curtains {
  position:               absolute;
  width:                  100%;
  height:                 100%;
  top:                    0px;
  left:                   0px;
  z-index:                -1;
  background-color:       rgb(0,0,0);
  opacity:                0;
}

#curtainsContainer {
  position:               absolute;
  margin:                 auto;
  border:                 1px solid black;
  z-index:                -1;
  padding:                10px;
  padding-left:           60px;
  min-height:             30px;
  padding-top:            20px;
  opacity:                0;
  top:                    0px;
  left:                   0px;
}

#curtainsContainer.success {
  background: url(/images/success-icon.png) no-repeat 10px 10px,url('/images/linen-light.png') repeat #3B3B42;
}

#curtainsContainer.error {
  background: url(/images/warning-icon.png) no-repeat 10px 10px,url('/images/linen-light.png') repeat #3B3B42;
}

#curtainsContainer.none {
  padding-left:           10px;
}

.black-box {
  -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6), inset 1px 0px 0px rgba(255, 255, 255, 0.1), inset -1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px rgba(255, 255, 255, 0.1);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6), inset 1px 0px 0px rgba(255, 255, 255, 0.1), inset -1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px rgba(255, 255, 255, 0.1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6), inset 1px 0px 0px rgba(255, 255, 255, 0.1), inset -1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #1D1E21;
  background: url('/images/linen-light.png') repeat #3B3B42;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

input[type=submit] {
  width:0px !important;
  height:0px;
  border: 0px;
  opacity: 0;
  margin:0px;
  padding:0px;
}

.addTable tr td.submit {
  border-left: 0px;
  text-align:center;
}

.fullborders tr td, .fullborders tr th {
  border:1px solid black;
  padding: 5px;
}

div.accessRights {
  width:900px;
  margin:auto;
}

div.accessRights h3 {
  text-align:center;
}

div.accessRights > div {
  width:290px;
  margin-left: 5px;
}

input[type=checkbox].custom {
  opacity: 0;
}

.catLabel:hover {
  background: silver;
}

input[data-save] {
  width:80px;
  margin-bottom: 0px;
}

input[data-save][readonly] {
  width:20px;
}

.calcCost {
  width:80px;
}

.history h5 {
  border-bottom: 1px solid silver;
}

.history {
  position: fixed;
  right:0px;
  width: 320px;
  height: 363px;
  right: -300px; 
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
  background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
  background-image: -o-linear-gradient(top,#fff,#f2f2f2);
  background-image: linear-gradient(to bottom,#fff,#f2f2f2);
  background-repeat: repeat-x;
  border: 1px solid #d4d4d4;
  -webkit-border-radius: 4px 0px 0px 4px;
  -moz-border-radius: 4px 0px 0px 4px;
  border-radius: 4px 0px 0px 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#fff2f2f2',GradientType=0);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  box-shadow: 0 1px 4px rgba(0,0,0,0.065);
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -webkit-transition: all 0.2s ease-out 3s;
  -moz-transition: all 0.2s ease-out 3s;
  -o-transition: all 0.2s ease-out 3s;
  transition: all 0.2s ease-out 3s;
  cursor:default;
}

.history > div.historyContent {
  padding:10px;
  width:280px;
  float:right;
}

.history:hover {
  right: 0px;  
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.history p.historyHeader {
  cursor:default;
  float:left;
  margin-left: 7px;
  padding-top: 45px;
  font-weight: bold;
  height: 200px;
  width:5px;
  word-wrap: break-word;
  overflow:none;
  line-height: 15px;
}

.history ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  overflow-y:scroll;
  overflow-x:hidden;
  background: white;
  max-height: 300px;
}

.history ul li {
  list-style-position: inside;
}

.history ul li:nth-child(odd) {
  background-color: #fCfCfC; 
}

.history ul li:nth-child(even) {
  background-color: #CfCfCf; 
}

.history ul li {
  position:relative;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 263px;
  height: 20px;
  white-space:nowrap;
}

.history ul li:hover {
  background: #BBB;
}

.history ul li a:hover {
  text-decoration:none;
}

.historyTable th {
  white-space: nowrap;
}

.dateField {
  width:75px;
}

.editable {
  cursor: url('/images/cursor-edit.png'), default !important;
}

.horizontalBlock {
  float:left;
  padding-left: 5px;
  padding-right:5px; 
  margin-right:10px;
  margin-bottom:10px;
  text-align:center; 
  border: 1px solid gray;
}

.tab-pane {
  height: 400px;
  overflow-y: scroll;
}

#products input[readonly] {
  max-width:60px;
}

.addTable.border {
  border: 1px solid black;
}

.addTable tr td, .addTable tr th {
  vertical-align:top;
  margin: 0px;
  padding: 2px;
}

input.sized {
  width:80px;
}


table.calendar {
  width: 700px;
  margin:auto;
  min-height: 500px;
  border-collapse:collapse;
  border: 1px solid black;
}

table.calendar tr td {
  width: 100px;
  min-height: 100px;
  padding: 0px;
  margin: 0px;
  padding-top: 10px;
  border: 1px solid black;
  position:relative;
}

table.calendar tr td:hover {
  background: rgba(0,0,0,0.05);
}

table.calendar tr td div.dayNumber {
  position:absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  text-align:center;
  vertical-align:center;
  border: 1px solid black;
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);  
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

table.calendar tr td div.job {
  float:left;
  height: 20px;
  padding: 2px;
  cursor: pointer;
  position:relative;
  margin: 2px;
  transition: all .5s ease-out;
  -webkit-transition: all .5s ease-out;
}

table.calendar tr td div.job div.tooltip {
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 10px rgba(0,0,0,0.6);
  box-shadow: 0 1px 10px rgba(0,0,0,0.6);  
  margin-bottom: -16px;
  position:absolute;
  top: 27px;
  left: -20px;
  width: 250px;
  display:none;
  opacity: 0;
}

table.calendar tr td div.job.active {
  -webkit-box-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  -moz-box-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.6);  
  transition: all .5s ease-out;
  -webkit-transition: all .5s ease-out;
}

table.calendar tr td div.job:hover div.tooltip,table.calendar tr td div.job div.tooltip:hover {
  display:block;
  opacity:1;
}

table.calendar tr td div.job div.tooltip {
	/*position:relative;*/
	padding:15px;
	margin:1em 0 3em;
	color:#000;
background-color: #fafafa;
background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
background-image: -o-linear-gradient(top,#fff,#f2f2f2);
background-image: linear-gradient(to bottom,#fff,#f2f2f2);
background-repeat: repeat-x;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}

table.calendar tr td div.job div.tooltip:after {
	content:"";
	position:absolute;
	bottom:-15px; /* value = - border-top-width - border-bottom-width */
	left:50px; /* controls horizontal position */
	border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
	border-style:solid;
	border-color:#fafafa transparent;
    /* reduce the damage in FF3.0 */
  display:block; 
  width:0;
}

table.calendar tr td div.job div.tooltip:after {
	top:-15px; /* value = - border-top-width - border-bottom-width */
	left:50px; /* controls horizontal position */
	bottom:auto;
	left:auto;
	border-width:0 15px 15px; /* vary these values to change the angle of the vertex */
	border-color:#fafafa transparent;
}
#orders_id.search {
  width: 50px !important;
}

div.nl2br {
  white-space: pre;
  white-space: pre-wrap;
}

.dropdown-toggle {
  white-space:nowrap;
}

.navbar-inner {
  height:41px; 
  overflow-y:hidden;
}

.navbar-inner {
  overflow: visible !important;
}

