/* ESTILOS ESPECIALES LISTA DE LA COMPRA */

/* Lista de la compra en la vista de la incidencia */

#issueProducts{
    border-radius: 4px;
    margin-bottom: 1em;
    max-width: 1000px;
    display: flex;
    margin: 0 auto;
}
#issueProducts .collapsed {
    display: none;
}
#issueProducts .card{
    width: 100%;
}
#issueProductsList{
    display: inline;
    margin: 0;
}
#issueProductsList .row{
    margin: 0;
    font-size: 14px;
}
#issueProductsList ul{
    margin: 0;
}
#issueProductsList li.editable div>div {
    min-height: 25px !important;
}
#issueProductsList li div input[type="checkbox"]{
    width: 20px;
    height: 20px;
}
#issueProductsList li.editable div input[type="checkbox"]{
    margin-top: 10px;
}
#issueProductsList li>div{
    border-bottom: 1px solid lightgray;
  /*  padding-bottom: 5px; */
    min-height: 41px;
    margin: 0;
}
#issueProductsList li>div>div{
    width: 100%;
    display: block;
    min-height: 22px;
	background-image: url(../../../../../../../bundles/costasurdesign/img/assets/dev/wavegrid.png);
}
#issueProductsList li>div>div:first-child>span{
    display: block;
    font-weight: bold;
    padding: 5px 13px;
}
#issueProductsList li>div>div:last-child{
    width: 100%;
    padding: 10px 2px 10px 13px;
    background: white;
}
#issueProductsList .divNumProducts{
	display: inline-block;
	width: 50%;
}
#issueProductsList .purchaseConfirm{
  	width: 48%;
	display: inline-block;
  	text-align: right;
  	padding-right: 5px;
}
#issueProductsList li label{
    margin-bottom: 0;
    cursor: auto;
}
#issueProductsList .divNumProducts>a{
    color: red !important;
    font-size: 22px;
    font-weight: bold;
	padding-right: 10px;
	vertical-align: middle;
}
#issueProductsList .divNumProducts>select{
    max-width: 55px;
}
#issueProductsList .emptyList{
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid lightgray;
  	background: #EEE;
}
#issueProducts{
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.issueProductsHeader{
    font-weight: bold;
    background: #303030;
    /*padding: 5px;*/
    color: white !important;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 33px;
}
.issueProductsHeader h4{
    font-family: arial;
    font-weight: bold;
    text-align: left;
    font-size: 15px;
    width: 98%;
}
#issueProductsList a{
    text-align: right;
    color: white !important;
    width: 16px;
}
.issueProductsHeader i{
    font-size: 16px;
    padding: 6px 6px 5px 10px;
}

#issueProducts .card h2{
    background-color: #0175ba;
    border-bottom: 2px solid #d6d6d6;
    border-radius: 3px 3px 0 0;
	font-family: arial;
    font-weight: bold;
    padding: 5px;
    color: white;
    margin: 0;
    width: 100%;
}
.card-header{
    margin-bottom: 10px;
}
.card-body{
	position: relative;
}
#issueProducts #bcTransition{
  	position: absolute;
  	top: 0;
  	left: 0;
  	z-index: 999;
  	width: 100%;
  	height: 100%;
  	background: rgba(255, 255, 255, 0.7);
  	display: flex;
  	justify-content: center;
  	align-items: center;
}
#issueProducts #bcTransition img{
  	width: 70%;
}
.card-footer{
    background: #EEE;
    border: 1px solid lightgray;
    border-radius: 0 0 3px 3px
}
.card-footer .container{
    display: inline;
}
.card-footer h1{
    font-size: 18px;
}
#issueProducts li.purchased{
    line-height: 0;
}
#showProductsPurchased i{
    color: #333 !important;
}
#issueProducts li.purchased label{
    font-weight: bold !important;
}
#issueProducts li.purchased>div>div:first-child{
    width: 77%;
  	float: left;
    /*background: white !important;*/
	background: #e4eee0 !important;
	line-height: 17px;
  	padding-left: 8px;
  	display: contents;
}
#issueProducts li.purchased>div>div:last-child{
  	text-align: center;
    /*background: white !important;*/
	background: #e4eee0 !important;
    padding: 0;
    width: 18%;
  	float: left;
  	line-height: 17px;
}
#issueProducts li.purchased .product-row{
    padding-bottom: 0;
	font-weight: bold;
    /*background: white !important;*/
	background: #e4eee0 !important;
    display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
#issueProducts li.purchased .divNumProducts{
    width: 100%;
  	padding-right:10px;
  	line-height: 17px;
}
#issueProducts li.purchased .divNumProducts span{
    font-size: 11px !important;
  	font-weight: normal;
  	color: gray;
  	display: block;
}
#issueProducts div.purchased .issueProductsHeader{
    background: #2E8B57 !important;
}
#issueProducts .purchased .ok{
    display: block !important;
	font-size: 20px;
  	padding-right: 10px;
}
#showProductsPurchased{
    float: right;
    margin-top: -40px;
    margin-right: 10px;
}
#newIssueProduct{
    padding: 5px 15px 15px 15px;
}
#newIssueProduct .row>div{
    min-width: 90px;
    margin: 0 15px 15px;
}
#newIssueProduct .span1{
    min-width: 10%;
}
#newIssueProduct button[type="submit"]{
    font-size: 14px;
    height: 29px;
    min-width: 145px;
}
#newIssueProduct #helpBlock{
    margin-left: 0;
    min-height: 15px;
    padding-bottom: 10px;
}
#newIssueProduct input, #newIssueProduct input::placeholder,
#newIssueProduct select, #newIssueProduct select::placeholder{
    font-size: 13px;
}
#newIssueProduct input,#newIssueProduct button,#newIssueProduct select{
    height: 40px !important;
}
.issueProduct ul{
    max-width: 50%;
    min-width: 40% !important;
}
.issueProduct ul{
    max-width: 50%;
    min-width: 30% !important;
}
.issueProvider {
    position: relative;
    display: inline-block;
}
.issueProvider>input{
    padding-right: 25px;
}
.clear-btn {
    border-radius: 0 5px 5px 0;
    margin-right: -10px;
    background: #D8D8D880;
    transform: translateY(-50%);
    position: absolute;
    cursor: pointer;
    padding: 13px;
    height: 40px;
    right: 10px;
    top: 50%;
}
.providersList.error .bootstrap-select .btn{
    border: 1px solid #b94a48;
}
.providersList li.dropdown-header{
    background: #0175ba;
    color: white;
    padding: 4px;
    text-align: center;
    font-size: 14px;
    font-style: normal;
}
.providersList li:not(.dropdown-header):not(.divider):not(:first-child){
    border-top: 1px solid lightgray;
}
.providersList li:first-child a{
    font-weight: bold;
    text-align: center;
}
.providersList div.dropdown-menu{
    padding: 0;
}
.providersList .dropdown-menu .divider{
    border-bottom: none;
    margin: 0;
}
.providersList .dropdown-menu li a, .issueProduct li a{
    padding: 0.6em !important;
}
.providersList>div{
    width: 100% !important;
}
#formIssueProducts #footerButtons button.btn {
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 1.2em;
  width: 100%;
}
#formIssueProducts #footerButtons button.btn i {
	margin-right: 5px;
}
#filter_IsuueProducts label,
#filter_IsuueProducts select{
	font-size: 15px !important;
}
.providerContainer{
	border: 1px solid #d6d6d6;
	border-bottom: none;
	margin-bottom: 15px;
}

@media (max-width: 767px) {
	/* Lista de la compra */
    #issueProducts h2{
        line-height: 40px;
        text-align: left !important;
        padding-left: 10px !important;
    }
    #newIssueProduct {
        padding: 10px 5px !important;
        padding-top: 0px !important;
    }
    #newIssueProduct .row-fluid>div{
        position: relative;
        padding: 1%;
    }
    #newIssueProduct .providersList>div{
        margin-bottom: 0px;
    }
    #newIssueProduct .row-fluid>div>ul{
        min-width: 98% !important;
        text-align: left;
    }
    #newIssueProduct .span1{
        display: flex;
    }
    #newIssueProduct button{
        height: 29px;
        /*font-size: 14px;*/
    }
    #helpBlock{
        margin: 5px !important;
    }
    .providersList .dropdown-menu {
        z-index: 991 !important;
    }
    .clear-btn{
        right: 15px !important;
    }
    #formIssueProducts #footerButtons button.btn {
        height: 40px;
        margin-bottom: 10px;
    }
    .providersList, #newIssueProduct .issueProvider{
    	width: 75% !important;
    }
    .quantity{
    	width: 25% !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {

    #newIssueProduct #quantity{
        max-width: 100px !important;
        margin-left: 25px !important;
    }
    #newIssueProduct button[type="submit"]{
        margin-left: -17px !important;
    }
    #newIssueProduct .issueProduct{
        width: 55%;
    }

}
/*-----------------------------------*/


/* Lista de compra en la herramienta */

#searchAccordion{
	margin-bottom: 15px;
}
#searchAccordion .accordion-heading{
	background-image: linear-gradient(to top,#006eb8,#0089e5);
}
#searchAccordion .accordion-heading a{
	color: white !important;
	font-size: 15px;
	text-align: center;
	font-weight: bold;
	line-height: 25px;
	pointer-events: none;
	text-decoration: none;
}
#formIssueProducts{
	padding: 10px;
}
#formIssueProducts ul li a{
	padding: 10px;
}
#searchCollapse{
	overflow: visible;
}
#results{
	min-height: 0 !important;
}
table.tablesorter tbody td{
	font-size: 15px !important;
}
.goToIssueDetails, .productClass .bootstrap-switch{
	pointer-events: auto;
}
table,#results .tablesorter-bootstrap .tablesorter-header{
	font-size: 14px !important;
}

table tbody:not(.productClass) td{
	text-align: center;
}

table td.primary{
	background-color: #f5f5f5;
	font-weight: bold;
	font-size: 14px;
}
.providerClass tr td{
 	font-weight: bold;
	background: #303030 !important;
	text-align: center;
  	padding: 8px !important;
	border: 0 !important;
	height: 15px !important;
	color: white !important;
}
.productClass td{
	padding-left: 15px !important;
 	font-weight: bold;
	color: #666 !important;
	border: 0 !important;
  	height: 30px !important;
  	border-top: 1px solid lightgray;
}
.productClass td>div{
	display: table; width: 100%;
}
.productClass td>div>div:first-child{
	width: 75%;
	display: table-cell;
	/*padding-top: 3px;*/
	vertical-align: middle;
}
.productClass .switchContainer{
	width: 25%;
	display: table-cell;
	text-align: right;
	padding-right: 5px;
	vertical-align: middle;
}
.productClass .switchContainer>span{
	text-align: center;
	padding-bottom: 10px;
	font-weight: normal;
}
.productClass .switchContainer>div{
	font-weight: normal;
}
.productClass>tr{
	height: 45px;
}
.productClass div:not(.switchContainer){
	font-weight: bold;
}

.productClass.purchased>tr>td{
	background: linear-gradient(rgba(96, 179, 137, 0.3), rgba(96, 179, 137, 0.3)),
				url(../../../../../../../bundles/costasurdesign/img/assets/dev/wavegrid.png);
	color: #2e8b57 !important;
}
.purchaseProductInfo td:last-child{
	min-width: 100px;
}
.purchaseProductInfo td{
	background-color: white !important;
}
.purchaseProductInfo.collapsed{
	display: none;
}
.purchaseProductInfo .uds{
	width: 50px;
	display: inline-block;
	text-align: left;
}
.bootstrap-switch .bootstrap-switch-label{
	color: #666;
}
#tableResults{
	border-left: none;
	border-right: none;
}
#tableResults tbody tr{
	pointer-events: none;
}
#tableResults tbody tr td{
	pointer-events: none;
	border-left: none;
}
#tableResults tbody:not(.spacer) tr td,{
	border-radius: 0 !important;
}
#tableResults tbody:not(.spacer) tr td:first-child{
	border-left: 1px solid #ddd;
}
#tableResults tbody:not(.spacer) tr td:last-child{
	border-right: 1px solid #ddd;
}
#tableResults .numProducts{
	width: 55px;
	pointer-events: auto;
}
#tableResults tbody:not(.productClass):not(.providerClass).purchased tr td,
#tableResults tbody tr.purchased td{
    /*padding-bottom: 0;*/
	font-weight: bold;
	background: #e4eee0 !important;
}
#tableResults tbody tr.purchased td{
	height: 45px;
}
#tableResults .providerClass.purchased td{
    color: white;
	background: #2e8b57 !important
}
#tableResults .tablesorter-filter-row{
	display: none;
}
.spacer td{
	height: 25px !important;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background: white !important;
}
.noResults{
	margin: 20px;
	line-height: 20px;
}
.saved{
	color: #2e8b57 !important;
	font-weight: bold !important;
}
.disabledBSwitch{
	pointer-events: none !important;
	background-image: none !important;
	background-color: gray !important;
	border: none;
}
.productClass .purchased td > div > div:first-child{
	width: 90% !important;
}
.productClass.purchased .ok {
	display: table-cell !important;
	text-align: right;
	padding-right: 15px !important;
	font-size: 18px !important;
	vertical-align: middle;
}
.productClass .showProducts{
	display: flex;
	align-items: center;
	pointer-events: auto;
}
.productClass .showProducts i{
	margin-right: 5px;
}
.productClass .showProducts span{
	padding-left: 5px;
}
.productClass td{
	border: 0.5px solid #aaa !important;
}
.dropdown-menu, .emptyList, .typeahead li{
	font-size: 16px !important;
}

@media (max-width: 767px) {
	#formIssueProducts #basicFilters
	{
		width: 90%;
	  	margin: 5% auto;
	  	margin-top: 3%;
	}
	#formIssueProducts #footerButtons>div{
		width: 40%;
	    float: left;
	    margin: 0 5%;
	}
	#formIssueProducts button, #formIssueProducts select, #formIssueProducts input{
		height: 45px;
	}
	table.tablesorter tbody:not(.productClass) td{
		padding: 0 5px;
		height: 45px;
	}

	#results .tablesorter-bootstrap tbody tr:hover td {
    	background-color: white !important;
  	}
	#tableResults .tablesorter-bootstrap tbody tr:hover td {
    	background-color: white !important;
  	}
  	.bubblePriorityNumber {
    	font-size: 17px !important;
    	padding: 15px !important;
  	}
  	#issueProductsStatus select{
  		width: 100% !important;
  	}
  	.productClass td{
  		padding: 5px 10px !important;
  	}
  	.productClass .switchContainer{
		padding-right: 0;
	}
	#formIssueProducts #filter_dates>div{
		width: 47%;
		margin: 0 5px;
	}
	#formIssueProducts #filter_dates .input-icon > i.icon-calendar {
  		line-height: 45px;
	}
	.productClass.purchased td > div > div:first-child{
		width: 85% !important;
	}
	#searchCollapse{
		overflow: hidden;
	}
	#searchAccordion .accordion-heading a{
		pointer-events: auto;
	}
	#tableResults .numProducts{
		width: 45px;
		padding-left: 0px;
		text-align: center;
	}
	.dropdown-menu, .emptyList{
		font-size: 14px !important;
		text-align: center;
  		line-height: 15px;
	}
}

@media (max-width: 450px) {
	#formIssueProducts #filter_dates>div{
		width: 100%;
	}
}

@media (min-width: 768px) {
	#searchAccordion{
		width: 80%;
  		margin: 0 auto;
	}
	#issueProductsProviders,#issueProductsStatus{
		width: 40%;
	}
	#filter_dates #fromDate,#filter_dates #toDate{
		width: 45%;
	}
	#footerButtons>div{
		float: right;
		width: 20%;
		margin-top: 20px;
		margin-left: 10px !important;
	}
}

/*----------------------------*/