.popover-content {
      padding: 5px 9px!important;
      font-style: normal;
      font-size: 75%;
      font-weight: 100;
}

.popover-content > p > div > div {
	margin-bottom: 5px;
}
.popover-content > p > div {
	max-height: 600px;
	overflow-y: auto;
}
.popover.bottom .arrow {
}

.popover-title {
}

.popover {
	text-align: center;
	width: 400px;
}

.popover.bottom .arrow {
    border-bottom-color: transparent!important;
}

.inline-block{
    display: inline-block!important;
}

hr {
	margin: 10px 0;
}

.dl-horizontal dd {
	margin-left: 175px;
}
.dl-horizontal dt {
	width: 165px;
}
form {
	margin: 0 20px 10px 0;
}
div .divider {
	height: 1px;
	margin-left: 9px;
	overflow: hidden;
	background-color: #e5e5e5;
	border-bottom: 1px solid #ffffff;
}

#loading-screen{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.41);
    z-index: 9999999999;
}

#loading-screen .loading-spinner{
    position: absolute;
    left: 50%;
    z-index: 10000000000;
    top: 50%;
}

/** Custom Classes **/
.shadow{
   box-shadow: 0 1px 2px rgba(0,0,0,.10);
}

.full-height{
    height:98%;
}
.full-width{
    width: 100%!important;
}
.half-width{
    width: 50%!important;
}

.text-right  {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.no-wrap {
	white-space: normal;
}
.cursor-copy {
	cursor: copy;
}
.nav-list > .active > a,
.nav-list > .active > a:hover {
	background-color: #007BBB;
}
.right{
    float:right;
}
.rounded{
    border-radius: 3px,3px,3px,3px;       
}

.control-label{
    padding-bottom:0;
}

.separator{
    border-bottom: 1px solid #ccc;
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
}
    
.input-append .add-on:last-child, .input-append .btn:last-child {
    margin-top: 1px!important;
}

.input-append .add-on, .input-prepend .add-on {
    height: 30px!important;
    font-size: 11px;
    line-height: 25px!important;
}

.txt-area .add-on {
    height: 100px!important;
}

.txt-area span, .txt-area input[type=checkbox]{
    padding-top: 40px!important;
}

.col-lg-1
{
    width: 18.5%!important;
    min-width: 100px!important;
    display: inline-table;
}

.col-lg-2
{
    width: 21.5%!important;
    min-width: 100px!important;
    display: inline-table;
}

.col-lg-3
{
    width: 24.5%!important;
    min-width: 100px!important;
    display: inline-table;
}

.col-lg-4
{
    width: 30.5%!important;
    min-width: 100px!important;
    display: inline-table;
}

.col-lg-1,.col-lg-2, .col-lg-3, .col-lg-4{
    height:100%;
}

input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
    cursor: not-allowed;
    background-color: #f2f1f2!important;
}

label.disable{
    cursor: not-allowed;
    color: rgba(128, 128, 128, 0.54)!important;
}

/** Modal View **/
@media (min-width: 1200px) { 
	.modal{
		width: 600px!important;
		margin-left: -300px!important;
        max-height: 700px!important;
	}
	.modal-body{
		max-height: 700px!important;
	}
}
@media (min-width: 980px) and (max-width: 1199px) { 
	.modal{
	   width: 600px!important;
       max-height: 700px!important;
	   margin-left: -300px!important;
	}
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
	.modal{
		width: 600px!important;
       max-height: 700px!important;
		margin-left: -300px!important;
	}
}
	 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .modal{
        max-height: 700px!important;
    }
}
	 

/* Landscape phones and down */
@media (max-width: 480px) { 
	.modal{
		width: 480px!important;
        max-height: 560px!important;
		margin-left: -240px!important;
	}
}

.modal-backdrop, .modal-backdrop.fade.in {
  opacity: 0.5;
}

.modal {
    background: transparent!important;
    border: none!important;
    box-shadow: none!important;
}

.modal-lg {
    width: 100%!important;
}

.modal-level2{
    z-index: 1051;
}
  
.dropdown-menu .divider{
        
    border-bottom: 1px solid #C3C1C1!important;
}

@media ( min-width: 1500px ) {
	.container {
		width: 1500px !important;
	}
	#NavTree {
		width: 360px !important;
	}
	.picture-table {
		width: 500px !important;
	}
	.details-table {
		width: 770px !important;
	}
	.span12 {
		width: 1500px !important;
	}
	.span6 {
		width: 755px !important;
	}
	.span9 {
		width: 1130px !important;
	}
}
@media ( min-width: 1200px ) and ( max-width: 1499px ) {
	.container {
		width: 1200px !important;
	}
	#NavTree {
		width: 360px !important;
	}
	.span9 {
		width: 783px !important;
	}
    .span12{
        width: 1200px;
    }
	.picture-table {
		width: 380px;
	}
}
@media ( min-width:  980px ) and ( max-width: 1199px ) {
	.picture-table {
		width: 380px;
	}
}
@media ( min-width:  768px ) and ( max-width:  979px ) {
	.picture-table {
		width: 935px;
	}
}

@media (min-width: 1025px){
    .input-append input, .input-prepend input, .input-append select, .input-prepend select,
    .input-append .uneditable-input, .input-prepend .uneditable-input, .input-append .dropdown-menu,
    .input-prepend .dropdown-menu, .input-append .popover, .input-prepend .popover{
        font-size: 12px!important;
    }
}

@media (max-width: 1024px) {
    .input-append input, .input-prepend input, .input-append select, .input-prepend select,
    .input-append .uneditable-input, .input-prepend .uneditable-input, .input-append .dropdown-menu,
    .input-prepend .dropdown-menu, .input-append .popover, .input-prepend .popover, .input-append textarea, .input-prepend textarea {
        font-size: 11px!important;
    }
}

/********* JQUERY DATE 	************************/
#ui-datepicker-div  tbody tr:hover {
	background-color: #006dcc;
	border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}
#ui-datepicker-div  tbody tr:hover td a {
	color: white;
}
.ui-datepicker-current-week {
	background-color: #0036a3; 
	border-color: #0036a3;
	margin-bottom: 0;
	font-size: normal;
	text-shadow: 0px;
	color: white;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.ui-datepicker-current-week .ui-state-default {
	color: white !important;
}

.ui-datepicker td .ui-state-active {
	background-color: transparent;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  width: 49%!important;
}

.datepicker, .hasDatepicker {z-index: 9999999!important ;}

/********* Scrollbars   ***********************/
.simple-scrollbar::-webkit-scrollbar{height:9px;width:9px;}
.simple-scrollbar::-webkit-scrollbar-button:start:decrement,.simple-scrollbar::-webkit-scrollbar-button:end:increment{background:transparent;display:none;}
.simple-scrollbar::-webkit-scrollbar-track-piece{background:#d0d0d0;}
.simple-scrollbar::-webkit-scrollbar-track-piece:vertical:start{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:0;border-bottom-left-radius:0;}
.simple-scrollbar::-webkit-scrollbar-track-piece:vertical:end{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}
.simple-scrollbar::-webkit-scrollbar-track-piece:horizontal:start{border-top-left-radius:5px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:5px;}
.simple-scrollbar::-webkit-scrollbar-track-piece:horizontal:end{border-top-left-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:0;}
.simple-scrollbar::-webkit-scrollbar-thumb:vertical,.simple-scrollbar::-webkit-scrollbar-thumb:horizontal{background:#999;border-radius:5px;display:block;height:50px;}

/************************ Colors *************************/
.gray   { color: rgba(134, 130, 130, 0.952941)!important; }
.green  {  color: rgba(32, 128, 31, 0.84) !important; }
.yellow { color: rgba(228, 201, 40, 0.90) !important; }
.red    { color: rgba(213, 52, 52, 0.95)!important; }

/**************************Backgrounds *********************/
.bg-grey {
    background:  url('img/billie_holiday.png')!important;
    background-image: url('img/billie_holiday.png')!important;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}

.bg-white {
    background-color: white!important;
    margin-bottom: 0!important;
}

/******************** Infragistics custom ***************/
 .ui-iggrid .ui-iggrid-footer {
    border-radius: 0 0 4px 4px;
}

    .ui-iggrid td.ui-state-active, .ui-iggrid .ui-ig-altrecord td.ui-state-active, .ui-iggrid th.ui-iggrid-rowselector-class.ui-state-active, .ui-iggrid .ui-ig-altrecord th.ui-iggrid-rowselector-class.ui-state-active, .ui-iggrid tbody .ui-iggrid-mergedcell.ui-state-active, .ui-iggrid tbody .ui-ig-altrecord .ui-iggrid-mergedcell.ui-state-active, .ui-iggrid tbody .ui-iggrid-mergedcellstop.ui-state-active, .ui-iggrid tbody .ui-ig-altrecord .ui-iggrid-mergedcellstop.ui-state-active {
        background: rgba(0, 140, 186, 0.19);
    }

     .ui-state-highlight a{
         color: #008cba!important;
     }

.ui-iggrid-table ui-widget-content td a{
    color: #008cba!important;
}

.ui-iggrid-pagedropdowncontainer span,
.ui-iggrid-pagedropdowncontainer input,
.ui-iggrid-pagesizedropdown span,
.ui-iggrid-pagesizedropdown input {
    height: 21px !important;
    font-size: 12px !important;
}

.ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    color: black!important;
}

/*-------------------------------------------*/
.ui-iggrid>.ui-widget-header.ui-helper-reset {
    margin-right: 0!important;
    width: 100%!important;
}
.ui-widget {    
    font-size:12px;
}

.ui-iggrid .ui-iggrid-footer, .ui-iggrid .ui-iggrid-toolbar {
    font-weight: 700!important;
    text-align: left;
    display: block;
    font-size: 12px !important;
}

.ui-iggrid .ui-iggrid-results span, .ui-iggrid .ui-iggrid-pagedropdownlabels ,
.ui-iggrid-pagedropdownlabels{
    line-height: 23px!important;
}

.ui-iggrid th, .ui-iggrid th.ui-state-default ,.ui-iggrid .ui-iggrid-footer {
    background-image: none, -webkit-linear-gradient(top,  #ececec 0, #D0D0D0 100%);
    background-image: none, -moz-linear-gradient(top,  #ececec 0, #D0D0D0 100%);
    background-image: none, -o-linear-gradient(top,  #ececec 0, #D0D0D0 100%);
    background-image: none, linear-gradient(to bottom,  #ececec 0, #D0D0D0 100%);
    background-image: none, linear-gradient(to bottom, #ececec 0, #D0D0D0 100%); 
    border: 1px rgba(200, 200, 200, 1) solid!important;
}

.ui-iggrid-footer input[readonly] {
    cursor: pointer!important;  
}

.ui-iggrid th.ui-state-hover, .ui-iggrid th.ui-state-active {
    background-image: none, -webkit-linear-gradient(top,  #dddbdb 0, #c2bfbf 100%)!important;
    background-image: none, -moz-linear-gradient(top,  #dddbdb 0, #c2bfbf 100%)!important;
    background-image: none, -o-linear-gradient(top,  #dddbdb 0, #c2bfbf 100%)!important;
    background-image: none, linear-gradient(to bottom,  #dddbdb 0, #c2bfbf 100%)!important;
    background-image: none, linear-gradient(to bottom, #dddbdb 0, #c2bfbf 100%)!important;
}

.ui-iggrid-headertable,.ui-iggrid-table {
    width: 100%!important;
}

#product-search-grid td .igThumb,
#product-content-title img,
#product-content img {
    margin-left: auto;
    margin-right: auto;
}

.loading-spinner{
    font-size: 25px;
}

.btn-inactive{
    opacity: 0.5;
    border: 1px solid rgba(0, 0, 0, 0.49)
}

.btn:focus,.btn:active {
   outline: none !important;
}

.btn-copy{
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-top: 10px!important;
    margin-left: 2%!important;
    border-radius: 4px!important;
    background: transparent!important;
    padding: 0; 
}


#images-container-tab img {
    min-height: 44px;
    min-width: 44px;
}

@media ( min-width:  1367px ) {

    #product-search-grid td img {
        max-height: 44px;
        max-width: 44px;
    }
}

@media ( max-width:  1366px ) {

    #product-search-grid td img {
        max-height: 35px;
        max-width: 35px;
    }
}

/**********************Alert******************/
.container-alert {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -350px;
    width: 700px;
    text-align: center;
    z-index: 10000;
}

.alert-view-container{
    margin: 0!important;
}

/*----------------- ERRORS------------------*/
.error-label{
    color: rgb(199, 18, 18);
    font-weight: 700;
    font-size: 12px;
    font-style: italic;
    cursor: default;
}

/*-------------------NAVS-------------------*/
.nav-pills > li.active>a, 
.nav-pills > li.active>a:focus,
.nav-pills > li.active>a:hover,
.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none!important;
    color: #333333!important; 
}

.nav-pills > li.active>a {
}

.nav-pills > li.active>a, 
.nav-pills > li.active>a:focus,
.nav-pills > li.active>a:hover{
    background-color:rgb(230, 230, 230)!important;
}

.nav > li > a:focus, .nav > li > a:hover{
    background-color: rgba(255, 255, 255, 0.27);
}

/*---------------------- TABS---------------------*/
.nav-tabs > li > a {
  font-size: 13px!important;
  background: rgba(245, 245, 245, 0.76)!important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
  font-weight: 700!important;
  font-size: 13px!important;
  background-color: white!important;
}

@media screen and (max-width: 1279px){
    .nav-tabs > li > a, .nav-pills > li > a {
        padding-right: 5px!important;
        padding-left: 5px!important;
    }
    .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
      font-weight: 700!important;
      font-size: 12px!important;
      background-color: white!important;
    }
    .nav-tabs > li > a {
      font-size: 12px!important;
      background: rgba(245, 245, 245, 0.76)!important;
    }
}

/*-------------------------- Rounded button-------------*/
.btn-rounded {
    display: inline!important;
    border-radius: 15px!important;
    font-size: 18px!important;
    width: 33px;
    padding: 4px;
}

.btn-grid-action{
    border-radius: 4px!important;
      font-size: 9px!important;
      padding: 6px 4px 4px 4px;
      height: 30px;
      width: 30px;
}

/*---------------- Notifications ----------------------------*/

.notification {
  position: absolute;
  right: -6px;
  top: -9px;
  line-height: 13px;
  width: 25px;
  height: 18px;
  border-radius: 7px;
  padding: 2px;
  background-color: #f80;
  font-family: "trebuchet ms", tahoma, verdana, sans-serif;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 1px 1px rgba(123, 119, 119, 0.35);
  color: black;
  float: right;
  left: 25px;
}

.notification:before{
 content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 10px solid #f80;
  border-bottom: 5px solid transparent;
  margin: 10px 0 0 -2px;
}

/*---------------------- Font-awesome--------------*/
.fa-1-5x {
  font-size: 1.5em;
}

.fa-1-2x {
  font-size: 1.2em;
}

#main div::-webkit-scrollbar,
#main textarea::-webkit-scrollbar {
    width: 10px;
}
#main div::-webkit-scrollbar-track,
#main textarea::-webkit-scrollbar-track  {
     background-color: rgba(88, 88, 88, 0.20)!important;
    border-left: 1px solid #ccc;
    border: 0!important;
}
#main div::-webkit-scrollbar-thumb,
#main textarea::-webkit-scrollbar-thumb {
    background-color: rgba(88, 88, 88, 0.30)!important;
    margin-top: 5px!important;
    margin-bottom: 5px!important;
    border-radius: 5px!important;
}
#main div::-webkit-scrollbar-thumb:hover,
#main textarea::-webkit-scrollbar-thumb:hover {
	background-color: rgba(88, 88, 88, 0.50)!important;
}

.custom-upload {
    position: relative;
    height: 30px;
    width: 30px;
    display: inline-block;
    float: left;
    z-index:0!important;
}

.custom-upload input[type=file]
{
    outline: none;
    position: relative;
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity: 0);
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: -1!important;
    cursor: pointer!important;
    bottom: 0;
}

.custom-upload, .custom-upload:hover,
.custom-upload button,.custom-upload button:hover,
.custom-upload i, .custom-upload i:hover,
.custom-upload input, .custom-upload input:hover,
.custom-upload div,custom-upload div:hover{
    cursor: pointer!important;
}

.custom-upload .fake-file
{
    background: url(http://www.fold3.com/i/upload-icon.png) center right no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    padding: 0;
    margin: 0;
    z-index: 1;
    line-height: 100%;
}

.custom-upload .fake-file input
{
    width: 0;
    border: 0;
}

/*------- Grid Bootstrap */
.row .rw-md-0{
    height:0;
}
.row .rw-md-3{
    height:25%;
}
.row .rw-md-6{
    height:50%;
}
.row .rw-md-9{
    height:75%;
}
.row .rw-md-12{
    height:100%;
}
.grid-brand-height{
    height: 94%!important;
}

.grid-series-height{
    height: 68%!important;
}