/* Site Helpers */
@media print {
  #printPageButton {
    display: none;
  }
  #closePageButton {
    display: none;
  }

  @page {
    margin-top: 0;
    margin-bottom: 0;
  }
  body  {
    padding-top: 30px;
    padding-bottom: 30px ;
  }
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

.invisible{
  visibility: hidden;
}

.visible{
  visibility: visible;
}

.glyphicon-font-20{
  font-size:20px;
}
.text-font-13{
  font-size: 13px;
}
.text-font-30{
  font-size: 30px;
}
.text-font-20{
  font-size: 20px;
}
.text-font-18{
  font-size: 18px;
}
.text-font-15{
  font-size: 15px;
}

.pad-left-5{
    padding-left: 5px;
}

.pad-left-10{
    padding-left: 10px;
}

.pad-left-20{
    padding-left: 20px;
}

.pad-left-50{
    padding-left: 50px;
}

.pad-left-100{
    padding-left: 100px;
}

.pad-left-130{
    padding-left: 130px;
}

.pad-left-300{
    padding-left: 300px;
}

.pad-left-500{
    padding-left: 500px;
}

.pad-top-5{
    padding-top: 5px;
}

.pad-top-10{
    padding-top: 10px;
}

.pad-top-20{
    padding-top: 20px;
}

.pad-top-25{
    padding-top: 25px;
}

.pad-top-30{
    padding-top: 30px;
}

.pad-left-5{
    padding-left: 5px;
}

.pad-left-10{
    padding-left: 10px;
}

.pad-left-20{
    padding-left: 20px;
}

.pad-left-50{
    padding-left: 50px;
}

.pad-left-100{
    padding-left: 100px;
}

.pad-left-130{
    padding-left: 130px;
}

.pad-left-300{
    padding-left: 300px;
}

.pad-top-5{
    padding-top: 5px;
}

.pad-top-50{
    padding-top: 50px;
}

.pad-top-200{
    padding-top: 200px;
}

.pad-right-5{
    padding-right: 5px;
}

.pad-right-10{
    padding-right: 10px;
}

.pad-right-20{
    padding-right: 20px;
}

.pad-bottom-5{
    padding-bottom: 5px;
}

.pad-bottom-10{
    padding-bottom: 10px;
}

.pad-bottom-20{
    padding-bottom: 20px;
}

.pad-bottom-30{
    padding-bottom: 30px;
}

.pad-bottom-40{
    padding-bottom: 40px;
}

.pad-bottom-50{
    padding-bottom: 50px;
}

.pad-bottom-100{
    padding-bottom: 100px;
}

.margin-bottom-5{
    margin-bottom: 5px;
}

.img-center{
    margin: 0 auto;
}

.img-md{
    width: 250px;
    height: auto;
}

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

.margin-top-5{
    margin-top: 5px;
}

.border-top{
    border-top-style: solid;
    border-top-width: 1px;
}

.border-right{
    border-right-style: solid;
    border-right-width: 1px;
}

.borderless td, .borderless th {
    border: none;
}

.table.borderless>thead>tr>th, .table.borderless>tbody>tr>th, .table.borderless>tfoot>tr>th, .table.borderless>thead>tr>td, .table.borderless>tbody>tr>td, .table.borderless>tfoot>tr>td{
    border:none;
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.no-bullets{
    list-style-type: none;
}

@media screen and (min-width: 480px) {
    .vertical-align-responsive {
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 479px) {
    .vertical-align-responsive {
        display: inherit;
        align-items: inherit;
    }
}

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

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

.img-rounded {
    border-radius: 10px;
}


.double-space{
    line-height: 200%;
}

#page-alert {
   position:fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   z-index:9999;
   border-radius:0px
}

.modalfs-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.carousel-inner > .item > img {
    margin: 0 auto;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
}

@media screen and (min-width: 480px) {
    .responsive-dt{
        display: table;
    }
}

@media screen and (max-width: 479px) {
    .responsive-dt{
        display: block;
    }
}

.input-center {
    text-align: center;
}

/* Activity Modal  */
.open-activity-modal span {
    margin-left: 5px;
}
#activity .modal-title {
    text-align: center;
}
#activity .modal-header {
    border-bottom: none;
    margin-bottom: -34px;
}
#activity .glyphicon-ok-sign, .open-activity-modal .glyphicon-ok-sign {
    color: green;
}
#activity .glyphicon-remove-sign, .open-activity-modal .glyphicon-remove-sign {
    color: red;
}
#activity .modal-content {
    /* width: 900px; */
}
#activity .modal-dialog {
    width: 80%;
}
#activity #activity-table {
    width: 100% !important;
}

#activity #activity-table_length {
    display: none;
}

#activity .retry.success  {
    display: none;
}
#activity .modal-body {
    margin-top: 22px;
}


/* Validation */

.has-error{
    border-color: #d9534f;
    color: #d9534f;
}

.has-success{
    border-color: #5cb85c;
    color: #5cb85c;
}

.has-warning{
    border-color: #f0ad4e;
    color: #f0ad4e;
}

.form-control-feedback {
    top: 25px;
    right: 15px;
}

tr.text-center > th {
    text-align: center !important;
}

tr.text-center > td {
    text-align: center !important;
}

.border-left-heavy{
    border-left: 4px solid black !important;
}

.border-top-heavy{
    border-top: 4px solid black !important;
}

.border-right-heavy{
    border-right: 4px solid black !important;
}

.border-left-medium{
    border-left: 2px solid black !important;
}

.border-left-light{
    border-left: 1px dotted black !important;
}

.border-right-light{
    border-right: 1px dotted black !important;
}

.border-bottom-medium{
    border-bottom: 2px solid black !important;
}

.border-bottom-light{
    border-bottom: 1px dotted black !important;
}

.img-grid{
    max-height: 150px;
    width: auto;
}

.img-magnify-4:hover{
    transform: scale(4, 4);
    z-index: 99999;
}

a.disabled-link {
  pointer-events: none;
  cursor: default;
  color: gray;
}

.colorpicker-addon{
    background-color: gray;
}

.ui-datepicker {
    width: 17em;
    padding: .2em .2em 0;
    z-index: 9999 !important;
}

.ui-front {
    z-index: 9999 !important;
}

/* Progress Arrows */

#progress-arrows {
    box-sizing: border-box;
    padding: 0;
    list-style-type: none;
    font-family: arial;
    font-size: 12px;
    clear: both;
    line-height: 1em;
    margin: 0 -1px;
    text-align: center;
}

#progress-arrows li {
    float: left;
    padding: 10px 30px 10px 40px;
    background: #333;
    color: #fff;
    position: relative;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    width: 32%;
    margin: 0 1px;
}

#progress-arrows li:before {
    content: '';
    border-left: 16px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    position: absolute;
    top: 0;
    left: 0;

}
#progress-arrows li:after {
    content: '';
    border-left: 16px solid #333;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 20;
}

#progress-arrows li.active {
    background: #555;
}

#progress-arrows li.active:after {
    border-left-color: #555;
}

/* Dashboard */

.row.affix {
     top:0;
     width: 100%;
     z-index: 9999 !important;
     background-color: white;
     border-bottom-style: solid;
     border-bottom-width: 3px;
     border-bottom-color: black;
 }

/* Login Screen */

#google-sign-in{
    display: inline-block;
     background: white;
     color: #444;
     width: 190px;
     border-radius: 5px;
     border: thin solid #888;
     box-shadow: 1px 1px 1px grey;
     white-space: nowrap;
}

#google-sign-in span.google-icon{
    background: url('../img/btn_google_dark_normal_ios.png');
    background-repeat: no-repeat;
     display: inline-block;
     vertical-align: middle;
     width: 46px;
     height: 46px;
}
#google-sign-in:hover span.google-icon{
    background: url('../img/btn_google_dark_focus_ios.png');
    background-repeat: no-repeat;
     display: inline-block;
     vertical-align: middle;
     width: 46px;
     height: 46px;
}
#google-sign-in:active span.google-icon{
    background: url('../img/btn_google_dark_pressed_ios.png');
    background-repeat: no-repeat;
     display: inline-block;
     vertical-align: middle;
     width: 46px;
     height: 46px;
}

#google-sign-in span.google-button-text{
    display: inline-block;
      vertical-align: middle;
      padding-left: 10px;
      padding-right: 10px;
      font-size: 14px;
      font-weight: bold;
      /* Use the Roboto font that is loaded in the <head> */
      font-family: 'Roboto', sans-serif;
}

#progress-overlay {
    position: fixed;
    z-index: 2147483647;
    height: inherit;
    width: inherit;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
#progress-overlay:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 2147483647;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Bread Crumbs */

.breadcrumb {
     border-radius: 0;
     -moz-border-radius: 0;
     -webkit-border-radius: 0;
     -o-border-radius: 0;
     margin-bottom: 3px;
}

/* Home Button Grid */

.btn-grid {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: table;
}

.btn-grid-text {
    display: table-cell;
    vertical-align: middle;
}

/* Pre Rec */

.selectable-image.selected > .img-thumbnail{
    background-color: #5cb85c;
}

.new-attr-alert{
    color: red;
}

.panel-bgcolor-dark{
  background-color: #485663;
}

.panel-bgcolor-light{
  background-color: #f9f9f9;
}

/* Allocations */

.allocation-btn {
    width: 100%;
    margin-bottom: 2px;
}

.stats-header {
    background-color: #4e5d6c;
}

.stats-header > .stats-hover, .stats-header.stats-hover{
    background-color: #91acc6 !important;
}

.stats-active-cell {
    border-style: solid !important;
    border-color: red !important;
    border-width: 1px !important;
}

/* Image Management */
.thumbnail.selected {
    border-style: solid;
    border-color: #5cb85c;
    border-width: 2px;
}

.img.product-image{
    background-color: #DAA520;
}


/* OTB */

.otb-border {
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
}

.img-auction{
    width: 300px;
    height: auto;
    display: block;
    transition-timing-function: ease;
    transition-duration: 0.2s;
}

.auction-overlay-img{
    z-index: 9999;
}

@media only screen and (max-width: 360px) {
	.img-auction{
	    width: 150px;
	    height: auto;
	    display: block;
	    transition-timing-function: ease;
	    transition-duration: 0.2s;
	}
	.auctionfix{
		font-size: 12px;
	}

	.auction-overlay{
	    transition-timing-function: ease;
	    transition-duration: 0.2s;
	    opacity: 0;
	    position: absolute;
	    top: 0;
	    left: 0;
	    height: auto;
  		min-height: 90% !important;
	    border-radius: 5px;
	    padding: 5px;
	    font-size:10px;
	}

	.auction-div{
		padding-bottom:100px;
		padding-left:15px;
	}


	table.auction-tab td, div.auction-overlay label, div.margin-calc-group a{
		font-size:9px;
	}

	.margin-calculator{
		font-size:10px;
		max-width:90%;
		height:30%;
	}

	.margin-calc-group-btn{
		font-size:10px;
		height:30%;
	}


}

.auc-cell{
    height: 450px;
}

.auction-overlay{
    transition-timing-function: ease;
    transition-duration: 0.2s;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  	min-height: 100% !important;
    border-radius: 5px;
    padding: 5px;
}

.auction-div{
	padding-bottom:70px;
	padding-left:10px;
}

.auction-overlay.light {
    background-color: white;
}

.auction-overlay.dark{
    background-color: #2b3e50;
}

.img-auction.display {
    filter: blur(10px);
}

.auction-overlay.display {
     opacity: 0.8;
}

.row.auctionfix{
    display: flex;
    flex-wrap: wrap;
    width:100%;
}

.navbar-fixed-bottom {
    height: 50px;
}

.auction-nav-link {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    padding-right: 0px;
    padding-left: 0px;
}

.auction-nav-row{
    height: 100%;
}

.auction-nav-col {
    height: 100%;
    padding-right: 0px;
    padding-left: 0px;
}

.panel-heading.affix {
     top:0;
     left:0;
     width: 100%;
     z-index: 9999 !important;
 }

 .auction-container {
     min-height: 300px;
 }

 .edit-segment-row{
     background-color: #dedede;
     color: black !important;
 }

 /* Training Quizzes */

 .quiz-img{
     margin: 0 auto;
     max-height: 400px;
     width: auto;
 }

 .quiz-results-img{
     margin: 0 auto;
     max-height: 100px;
     width: auto;
 }

 .item-container{
    border-color: #d9534f;
    border-width: 1em;
 }

 .invoice-item{
     width:100%;
     height:350px;
 }

 .invoice-line-item{
    width:100%;
    height:225px;
 }

 .otb-overlay.light {
     background-color: white;
 }

 .otb-overlay.dark{
     background-color: #2b3e50;
 }

 .google-chart{
     width: 100%;
     min-height: 200px;
 }


 .coms-modal-dialog{
     overflow-y: initial !important
 }

 .coms-modal-body{
     height: 250px;
     overflow-y: auto;
 }

 .text-strong{
     font-weight: bold;
 }

 #spreadsheet-container{
     overflow-x: auto;
 }

 .ht_master tr td {
  color: black !important;
}

.ht-readonly-custom {
    background-color: #d3d3d3 !important;
    color: #999 !important;
    cursor: not-allowed;
}
.ht-empty-highlight {
    background-color: #f43924 !important;
    color: white !important;
}

.filldrop-tagify { height: auto; }

.wholesale-import-file, .has-success .wholesale-import-file {border: none; box-shadow: none; }

.wholesale-import-indicator { margin-left: 25px; }


.glyphicon-refresh-animate {
   -webkit-animation-name: rotateRefresh;
   -webkit-animation-duration: 2s;
   -webkit-animation-iteration-count: infinite;
   -webkit-animation-timing-function: linear;
   -moz-animation-name: rotateRefresh;
   -moz-animation-duration: 2s;
   -moz-animation-iteration-count: infinite;
   -moz-animation-timing-function: linear;
   -o-animation-name: rotateRefresh;
   -o-animation-duration: 2s;
   -o-animation-iteration-count: infinite;
   -o-animation-timing-function: linear;
   animation-name: rotateRefresh;
   animation-duration: 2s;
   animation-iteration-count: infinite;
   animation-timing-function: linear;
}


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


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


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


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