
#rw-a {
	margin-top: -10px;
	padding-top: 10px;
}



#rw-list-invoices .acciones a:first-child {
    margin-right: 5px;
}
#rw-list-invoices .acciones a{
	color: #fff;
	display: inline-block;
	padding: 3px 6px;
	    font-weight: 700;
	    font-size: 14px !important;
    line-height: 14px !important;
    background: #1e73be;
    border-radius: 3px;
        transition: background 500ms, color 500ms;
        text-align: center;
}


#mdx-rewards{
	font-family: 'Exo', sans-serif;
}

.mdx-rewards-default-popup .button{
	color:#fff
}



#mdx-rewards .label,
.mdx-rewards-default-popup .label,
#mdx-rewards-assign-popup .label,
#mdx-rewards-approve-popup .label,
#mdx-rewards-delete-popup .label{
  padding: .2em .6em .3em;
  line-height: 1;
  color: #fff;
  text-align: center;
  vertical-align: baseline;
  line-height: 20px;
}

#mdx-rewards .label-default,
.mdx-rewards-default-popup .label-default,
.mdx-rewards-default-popup.tw-bs .label-default,
#mdx-rewards-assign-popup .label-default,
#mdx-rewards-approve-popup .label-default,
#mdx-rewards-delete-popup .label-default {
   background-color: #333333;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-size:15px;
}
#mdx-rewards .label-danger,
.mdx-rewards-default-popup .label-danger,
#mdx-rewards-assign-popup .label-danger,
#mdx-rewards-approve-popup .label-danger,
#mdx-rewards-delete-popup .label-danger {
   background-color: #b51c36;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-size:15px;
}
#mdx-rewards .label-success,
.mdx-rewards-default-popup .label-success,
#mdx-rewards-assign-popup .label-success,
#mdx-rewards-approve-popup .label-success,
#mdx-rewards-delete-popup .label-success {
   background-color: #155724;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-size:15px;
}

#mdx-rewards .datatable-filter input{
	width: 100%;
}

#mdx-rewards .brandcolor{
	color:#1e73be;
}
#mdx-rewards .bold{
	font-weight: 800;
}

#rw-list-invoices.datable-default.collapsed td.dtr-control{
	padding-left: 25px !important;
}
#rw-list-invoices.datable-default.collapsed td.dtr-control:before{
	top: 50% !important;
}

/*projects/20180/cards/5617897*/
#rw-list-invoices.datable-default tr.odd{
	background-color: #F6F8FA !important;
}

#rw-list-invoices.datable-default tr.even{
	background-color: #fff !important;
}


#rw-list-invoices.datable-default tbody tr td:last-child{
	display: none;
}
/*projects/20180/cards/5617897*/
/*grilla*/


#popup-upload-assignments .alert-response{
	max-height: 170px;
	overflow-y: scroll;
}
/*grilla*/


#mdx-rewards .invoice-wrapper{
	margin: 20px auto;
	max-width: 1074px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
#mdx-rewards .invoice-header{
	background: linear-gradient(135deg, #fafafa, #eeeeee);
	border-bottom: 1px solid #CCC;
}

#mdx-rewards .invoice-body{
	background-color: #fff;
}

#mdx-rewards .invoice-header{
	padding: 40px 60px;
	margin:0;
}
#mdx-rewards .invoice-body{
	padding: 40px 20px 80px;
	margin:0;
}
@media (max-width: 767px) {
	#mdx-rewards .invoice-header,
	#mdx-rewards .invoice-body{
		padding: 30px 30px 40px;
	}
}
@media (max-width: 600px) {
	#mdx-rewards .invoice-header,
	#mdx-rewards .invoice-body{
		padding: 20px 0px;
	}
}

#mdx-rewards .invoice-header .right h2,
#mdx-rewards .invoice-header .right h3{
	text-align: right;
}
#mdx-rewards h2{
	font-size: 22px;
	line-height: 22px;
	margin-bottom: 10px;
}
#mdx-rewards h3{
	font-size: 15px;
	line-height: 15px;
	margin-bottom: 7px;	
}
#mdx-rewards  h4{
	font-size: 14px;
	line-height: 14px;	
	margin-bottom: 6px;
}

#mdx-rewards .productos-header{
	color:#666;
	
}
#mdx-rewards .productos-body .single-item{
	xoverflow: hidden;
}
#mdx-rewards .productos-body .row{
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    padding-top: 5px;
   
}

#mdx-rewards .invoice-wrapper{
	color:#535353;
}
#mdx-rewards .invoice-wrapper .button{
	padding: 3px 6px;
	border-radius: 3px;
	font-size: 14px !important;
	line-height: 14px !important;
	display:inline-block;
}

#mdx-rewards .invoice-wrapper .sku-desc,
.mdx-rewards-default-popup .sku-desc,
#mdx-rewards-assign-popup .sku-desc,
#mdx-rewards-approve-popup .sku-desc,
#mdx-rewards-delete-popup .sku-desc{
	color:rgba(77,92,109,.5);
	font-weight: bold;
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

#mdx-rewards .productos-header  div,
#mdx-rewards .productos-body  div{
	xborder:1px solid #ff0000;
}

#mdx-rewards .empty-assigned-items-message{
	text-align: center;
	line-height: 70px;
	margin-top: 30px;
}
#mdx-rewards .tag {
	border-radius: 25px;
	background-color: #666;
	color: #fff;
	display: inline-block;
	padding: 3px 10px; 
	line-height: 1.6;	
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	color:#333333;
	float:right;
}

#mdx-rewards .status._0 {
    background-color: #c2dfff;
}
#mdx-rewards .status._1 {
    background-color: #d2f5b0;
}
#mdx-rewards .status._2 {
    background-color: #fff494;
}
#mdx-rewards .status._3 {
    background-color: #e3b7eb;
}
#mdx-rewards .status._4 {
    background-color: #fcbdbd;
}
#mdx-rewards .invoice-wrapper .action{
	padding: 0px 5px 0px 0;
	border-radius: 3px;
}
#mdx-rewards .invoice-wrapper .action.delete{
	color:#b51c36;
	
	  
}
#mdx-rewards .invoice-wrapper .action.reject{
	color:#b51c36;
}
#mdx-rewards .invoice-wrapper .action.approve{
	color:#28cf8b;
}
#mdx-rewards .invoice-wrapper .action.reject{
	line-height: 33px;
}
#mdx-rewards .invoice-wrapper .action.pre-approve{
	color:#28cf8b;
}
#mdx-rewards .invoice-wrapper .action:hover{
	background-color: #ccc;
	cursor: pointer;
	transition: background 250ms, color 250ms;
}


#mdx-rewards .clients-title{
	border-bottom: 1px dashed #666;
}

#mdx-rewards .single-item[data-max="0"] .action.assign {
 display:none;
}
@media (max-width: 600px) {
	#mdx-rewards .assigned-item .user_nicename{
		display: block;
	}
}

@media (min-width: 991px) {
	#mdx-rewards .col-quantity, #mdx-rewards .col-avariable-items{
		width:12%;
	}
	#mdx-rewards .col-actions{
		width:13%;
	}
}

@media (max-width: 835px) {
	#mdx-rewards .col-quantity, #mdx-rewards .col-avariable-items{
		width:13%;
	}
	#mdx-rewards .col-actions{
		width:20%;
	}
}



#mdx-rewards .assigned-item:nth-child(odd) > .row{
    background: #fafafa;
}

#mdx-rewards .assigned-item .quantity span{
	color:#939597;
	font-weight: bold;
}

#mdx-rewards .assigned-item .row:hover,
#mdx-rewards .single-item .row:hover{
	border-color:#535353;
}

#mdx-rewards .assigned-item .sku{
	font-size:14px;
	line-height: 14px;
}
#mdx-rewards .assigned-item .sku-desc{
	font-size:16px;
	line-height: 16px;
	display: inherit;

	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    
}
#mdx-rewards .assigned-item .custom-field-01-desc{
	font-size:14px;
	line-height: 14px;
	display: inherit;
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    
}

#mdx-rewards .assigned-item br.br { font-size: 20px; }

#mdx-rewards .bg-dots{
	background-image: radial-gradient(circle at 1px 1px, #eeeeee 1px, transparent 0);
	background-size: 15px 10px;
}

#mdx-rewards .bg-1{
	background: #fafafa;
}



.mdx-rewards-default-popup .txt-cantidad{
	border-bottom: 1px #000 dashed;
}

.mdx-rewards-default-popup,
#mdx-rewards-assign-popup,
#mdx-rewards-approve-popup,
#mdx-rewards-delete-popup {
  position: relative;
 background: linear-gradient(135deg, #fafafa, #eeeeee);
 border: 1px solid #CCC;
  padding: 40px 20px 20px 20px;
  width: auto;
  max-width: 400px;
  margin: 20px auto;
}
.mdx-rewards-default-popup h3,
#mdx-rewards-assign-popup h3,
#mdx-rewards-approve-popup h3,
#mdx-rewards-delete-popup h3{
  margin-bottom:2px;
  font-size:15px;
}
.mdx-rewards-default-popup select,
#mdx-rewards-assign-popup select,
#mdx-rewards-approve-popup select,
#mdx-rewards-delete-popup select{
	width:100%;
}

#mdx-rewards-assign-popup input[name="quantity"] {
  max-width: 100px;
}
.mdx-rewards-default-popup button,
#mdx-rewards-assign-popup button,
#mdx-rewards-approve-popup button,
#mdx-rewards-delete-popup button{
	border-radius: 3px;
}


.mdx-rewards-default-popup button.success,
.mdx-rewards-default-popup button.success:disabled,
.mdx-rewards-default-popup button.success[disabled]{
	background-color:#28cf8b;
	border: 1px solid #28cf8b;
	color:#fff;
}

.mdx-rewards-default-popup button.danger,
#mdx-rewards-assign-popup button.danger,
#mdx-rewards-approve-popup button.danger,
#mdx-rewards-delete-popup button.danger{
	background-color:#b51c36;
	border: 1px solid #b51c36;
}

.mdx-rewards-default-popup button.default,
#mdx-rewards-assign-popup button.default,
#mdx-rewards-approve-popup button.default,
#mdx-rewards-delete-popup button.default{
	background-color:#fff;
	color:#000;
	border: 1px solid #dedfe2;
}
.mdx-rewards-default-popup button .loading,
#mdx-rewards-assign-popup button .loading,
#mdx-rewards-approve-popup button .loading,
#mdx-rewards-delete-popup button .loading{
	display: none;
}

.mdx-rewards-default-popup button:disabled .loading,
.mdx-rewards-default-popup button[disabled] .loading,
#mdx-rewards-assign-popup button:disabled .loading,
#mdx-rewards-assign-popup button[disabled] .loading,
#mdx-rewards-approve-popup button:disabled .loading,
#mdx-rewards-approve-popup button[disabled] .loading,
#mdx-rewards-delete-popup button:disabled .loading,
#mdx-rewards-delete-popup button[disabled] .loading{
 display: inline-block;
}

#popup-upload-assignments button.xls-plantilla{
    background: #ebebeb;
    color: #333;
    padding: 3px 4px;
    border: 1px solid #333;
}

#popup-upload-assignments #download_plantilla_icon{
	color: #1D6F42;	
}

#mdx-rewards-client-popup input[name="client"] {
  width: 100%;
}
.client-fecha_venta{
	float: left;
	display: block;
	width: 190px;
}
@media (max-width: 600px) {
	.client-fecha_venta{
		width: 100%;
	}

}

.single-client:hover > div{
	font-weight: bold;
	cursor: default;
}
.single-client .sc-nombre{
	text-overflow: ellipsis;
  	overflow: hidden; 
  	white-space: nowrap;
  	float: left;

}

#mdx-rewards .dispay-on-hover{
	display: none;
}
#mdx-rewards .assigned-item:hover .dispay-on-hover{
	display: block;
}


/*shortcode*/
.mdx-rewards-tyc{
	width:auto;
	float:left;
}
.mdx-rewards-tyc button{
	background-color: #334aff;
	border-radius: 4px;
	font-family: "Helvetica Neue",Helvetica,-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.62;
}
.mdx-rewards-tyc button i,
.mdx-rewards-tyc button svg{
	display: none;
}
.mdx-rewards-tyc button.loading i,
.mdx-rewards-tyc button.loading svg{
	display: initial;
}

.mdx-rewards-tyc button.accepted{
 background-color:#61CE70;
 color: #122B46;
}
.mdx-rewards-tyc button:disabled{
	cursor: initial;
}