html {
	overflow-y: scroll;
}

#global-popup {
	overflow-y: auto;
	font-size: 100%;
}

.modal-open[style] {
	padding-right: 0px !important;
}

.modal-lg {
	width: 900px;
}

body {
	background: url(/img/bg.jpg) center center repeat #f3f3f3;

    padding-top: 60px;
    padding-bottom: 0px;
	
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 12px;
	
/*
	font-family: Verdana;
	font-size: 12px;	
*/
}

a {
    cursor: pointer;
color:#336699;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
	border-color: #DEDEDE;
}

ul {
	margin: 0 auto;
	list-style: none;
}


}
.badge-error {
  background-color: #b94a48;
}
.badge-error:hover {
  background-color: #953b39;
}
.badge-warning {
  background-color: #f89406;
}
.badge-warning:hover {
  background-color: #c67605;
}
.badge-success {
  background-color: #468847;
}
.badge-success:hover {
  background-color: #356635;
}
.badge-info {
  background-color: #3a87ad;
}
.badge-info:hover {
  background-color: #2d6987;
}
.badge-inverse {
  background-color: #333333;
}
.badge-inverse:hover {
  background-color: #1a1a1a;
}

span.badge {
	font-size: 10px;
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
	line-height: 1.3;
}

a>span.badge {
  position: absolute;
  top: -8px !important;
  right: -8px !important;
  background-color: #AA0000 !important;
}

#list-webgroup span.badge {
	font-size: 10px;
	background-color: #428bca !important;
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
	line-height: 1.3;
	position: relative;
	right: 0px !important;
	top: 2px !important;
}

ul.nav span.badge {
	top: 0px !important;
	right: 0px !important;
}

.alert {
	margin-bottom: 0px;	
}


.table>thead>tr>th, 
.table>tbody>tr>th, 
.table>tfoot>tr>th, 
.table>thead>tr>td, 
.table>tbody>tr>td, 
.table>tfoot>tr>td {
	line-height: 1.42857143;
	border-top: 1px solid #ccc;
}

.table-hover tr, .table-hover tr label  {
	cursor: pointer;
}

.panel {
	margin-bottom: 5px;
}


.panel-default > .panel-heading {
	background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 80%);
	background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 80%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
	background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 80%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
	background-repeat: repeat-x;
}
.panel-title>a {
	color: #31708f;
}

.panel-heading h3 {
	font-size: 115%;
}

.panel-heading h4 {
	margin: 0;
	margin-top: 5px;
}

.panel-heading input[type=search] {
	margin-top: 5px;
	width: 50%;
}

.panel-title span.text-info {
	font-weight: bold;
}

.col-xs-4
{
	padding-top: 0px;
	padding-bottom: 0px;	
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, 
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, 
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, 
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, 
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, 
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, 
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, 
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, 
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, 
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, 
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, 
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12
{
	padding-left: 5px;
	padding-right: 5px;
}

.pagination {
	margin: 0px;
}

/*
.navbar-fixed-top {
	position: relative;
}
*/

.navbar {
	margin-bottom: 0px;
}

.navbar-inverse .navbar-brand {
	color: #CCCCCC;
}

.navbar-inverse .navbar-nav>li>a {
	color: #CCCCCC;
	padding: 15px 10px;
	line-height: 10px;
	font-weight: 600;
}


.navbar-inverse .navbar-nav>.active>a {
	background-image: linear-gradient(to bottom, #666666 0, #393939 100%);
	background-repeat: repeat-x;
}

table tr td a.btn-xs {
	padding: 0px 2px;
}

.btn-success {
  background-color: #57a900;
  background-image: -moz-linear-gradient(top, #70d900, #57a900);
  background-image: -ms-linear-gradient(top, #70d900, #57a900);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
  background-image: -webkit-linear-gradient(top, #70d900, #57a900);
  background-image: -o-linear-gradient(top, #70d900, #57a900);
  background-image: linear-gradient(top, #70d900, #57a900);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
  background-color: #57a900;
}

.btn-success:active, .btn-success.active {
  background-color: #57a900;
}

div.container {
	width: 960px !important;
	margin-top: 4px;
}


.table-form>tbody>tr>td, 
.table-form>tbody>tr>th {
	padding: 1px;
	vertical-align: middle;
}

.table-form label {
    font-weight: normal;
}

.table-form thead tr th {
    background-color: #efefef;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.table-form tr.danger {
	font-size: 0.88em;
	border-right: 1px solid #CC0000;
}

.table-form tfoot {
	background-color: #efefef;
}



.table-form input[type=text], 
.table-form input[type=email], 
.table-form input[type=date], 
.table-form input[type=password],
.table-form select,
.table-form textarea {
    padding: 3px;
    width: 100%;
	height: 27px;
}


.input-group-addon {
	padding: 3px;
	height: 27px;
	width: 40px;
	font-size: inherit;
}

.table-form select,
.table-form textarea {
	height: auto;
}

input[readonly=readonly],
input[readonly],
textarea[readonly=readonly],
textarea[readonly] {
    background-color: #efefef;
}

input.ui-date {
	background-color: #ffffff;
}

.content-body {
    padding-top: 10px;
	/* border-top: 1px solid #ddd !important; */
}

.border-top {
    border-top: 1px solid #ddd !important;
}

.border-bottom {
    border-bottom: 1px solid #ddd !important;
}

.border-left {
    border-left: 1px solid #ddd !important;
}

.border-right {
    border-right: 1px solid #ddd !important;
}

.table {
    margin-bottom: 0px;
}

.table-margin {
    margin-top: 10px;
}


.table-itemlist tr {
    height: 33px;
}

.table-itemlist tr td:nth-child(2) a {
    display: none;
}

.table-itemlist tr.item-selected td:nth-child(2) a {
    display: inline;
}

.table-itemlist tr td a.inverse {
	color: #AA0000;
}

.table-list thead th {
	background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
	font-weight: normal;
}


/* Page / Element Specific Styles */

table.pm-price-history thead tr th:nth-child(n+2),
table.pm-price-history tbody tr td:nth-child(n+2) {
	text-align: right;
}

.pm-table-groups td input {
	text-align: right;
	width: 100%;
}

.pm-table-materials td,
.pm-table-materials th {
	text-align: right;
}
.pm-table-materials td:nth-child(1), 
.pm-table-materials th:nth-child(1) {
	text-align: left;
}

.pm-table-materials td input,
.pm-table-products td,
.pm-table-products th {
	text-align: right;
}

.pm-table-materials div {
	padding: 0px;
	margin: 0px;
}

.pm-table-products td:nth-child(1),
.pm-table-products th:nth-child(1) {
	text-align: left;
}

.pm-table-quotes td:nth-last-child(2),
.pm-table-quotes th:nth-last-child(2) {
	text-align: right;
}

.pm-table-quote-totals td:nth-last-child(1),
.pm-table-quote-totals th:nth-last-child(1) {
	text-align: right;
}

.pm-table-customer-products td:nth-child(n+2),
.pm-table-customer-products th:nth-child(n+2) {
	text-align: right;
}

.pm-table-products td input {
	text-align: right;
	width: 100%;
}

.pm-table-actions th {
	background-color: #EFEFEF;
}

.pm-table-actions td {
	text-align: left;
}

.pm-table-actions tfoot tr td {
	text-align: center;
}


.pm-table-production td:nth-child(2), 
.pm-table-production th:nth-child(2) {
	text-align: right;
}

.pm-table-shipment td:nth-child(2), 
.pm-table-shipment th:nth-child(2) {
        text-align: right;
}


.pm-quote-lines {
	font-size: 90%;
}

.pm-quote-lines a.btn {
	margin: 0px;
	padding: 0px;
}

.pm-quote-lines tbody tr td {
	vertical-align: middle;
}

.pm-quote-line input {
	text-align: right;
}

.pm-quoteline-shipto input {
	text-align: left;
}


.text-highlight {
	background-image: -webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);
	background-image: -o-linear-gradient(top,#d9534f 0,#c12e2a 100%);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));
	background-image: linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);	
	color: #F5F5F5;
}

.text-indicate {
	background-color: #2AABD2 !important;
	color: #FFFFFF;
}


#controlPanel {
	height: 32px;
}


/* Animated Loading Icon */
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.status-wip, .quote-status-0, .bid-status-0 {
	color: #F5F5F5;
}
.status-approval, .quote-status-1, .bid-status-1 {
	background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image:      -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
	background-image:         linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);	
	color: #F5F5F5;
}
.status-customer, .quote-status-2, .bid-status-2 {
	background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
	background-image:      -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
	background-image:         linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
	color: #F5F5F5;
}
.status-production, .quote-status-3 {
	background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
	background-image:      -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
	background-image:         linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
	color: #F5F5F5;
}
.status-delivery, .quote-status-4 {
	background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
	background-image:      -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
	background-image:         linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
	color: #F5F5F5;
}
.status-complete, .quote-status-5, .bid-status-3 {
	background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
	background-image:      -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
	background-image:         linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
	color: #F5F5F5;
}
.status-cancel, .quote-status-6, .bid-status-4 {
	background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
	background-image:      -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
	background-image:         linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
	color: #F5F5F5;
}


/* centered columns styles */
.row-centered {
    text-align:center;
}

.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:center;
    /* inline-block space fix */
    margin-right:-4px;
}


/* Progress Arrow */

ul.progress {
    list-style: none;
    margin: 0;
    padding: 0;
	border: 0;
	margin-bottom: 10px;
}

ul.progress li {
	
    font-size: 10px;
	
	background-color: #5bc0de;
	
    float: left;
    line-height: 20px;
    height: 20px;
    min-width: 120px;
    position: relative;
	
    padding: 0px 0px 0px 6px;
    color: #FFF;
    text-decoration: none;

}

ul.progress li.active {
	background-color: #337ab7;
}

ul.progress li.cancel {
	background-color: #d9534f;
}

ul.progress li:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    right: 2px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #5bc0de;
}

ul.progress li:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    right: 0px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}


ul.progress li.afteractive {
	background-color: #AAAAAA;
}

ul.progress li.afteractive:before {
	background-color: #AAAAAA;
}

ul.progress li.afteractive:after {
	border-color: transparent transparent transparent #AAAAAA;
}


ul.progress li.beforeactive:before {
	background-color: #337ab7;
}

ul.progress li.active:before {
    background-color: #AAAAAA;
}
ul.progress li.active:after {
    border-color: transparent transparent transparent #337ab7;
}

ul.progress li:last-child:after,
ul.progress li:last-child:before {
    border: 0;
}

.product-image {
	width: 100%;
	border: 1px solid #999;
	cursor: pointer;
}

.fit-gallery {
	overflow-y: auto;
	height: 250px;
}

.fit-img img {
	width: 100%;
	cursor: pointer;
}

.web-visible  {
	background-color: #00CCFF;
}

/*
 * Spiral Product Only
 */
		.widget {
			text-align: left;
			overflow: hidden;
			
			background: #336699;
			border-radius: 9px;
			width: 280px;
			height: 250px;
			display: inline-block;
			position: relative;
			box-shadow: 0px 2px 16px rgba(0,0,0,.5),
			            0px 2px 3px rgba(255,255,255,.2) inset;
			border: 1px solid rgba(0,0,0,.2);
		}
		 canvas, .labels {
			position: absolute;
			text-align: center;
			width: 280px;
			height: 250px;
		 }
		 .labels {
			color: white;
			margin-top: 80px;
			text-shadow: 0px 4px 10px rgba(0,0,0,.5);
			font-weight: 100;
		 }
		 .labels h3 {
			margin: 10px;
		 	font-size: 18px;
		 }



#table-quote-lines.table-hover>tbody>tr:hover {
    background-color: #999;
    color: #FFFFFF !important;
}
