/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
*/

.pimenta-table-notification-wrap {
	width: 95%;
	margin: auto;
}

div.dataTables_wrapper {
	width: 95% !important;
	margin: 0px auto !important;
}

.dataTables_length select {
	width: 65px;
}

.dataTables_filter input {
	width: 200px;
}

.dataTables_length, .dataTables_filter {
	margin-bottom: 10px;
}

.pimenta-table th, .pimenta-table td {
	padding: 2px;
	text-align: center;
}

table.dataTable.compact thead th, table.dataTable.compact thead td {
   padding: 4px !important;
}

/*.table-wrapper {
	visibility: hidden;
}*/

.pimenta-table-loader {
	text-align: center;
}

.pimenta-table tbody td {
	background: inherit !important;
}	
.pimenta-table tbody {
	/*background: inherit !important;*/
	background: #f7f7f7;
}
.pimenta-table tbody tr:nth-child(2n) {
	background: #fafafa;
} 
/*.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
	width: 99% !important;
}*/
/*.pimenta-table tbody td {
 	background: initial !important;
}*/

/* Product name column */
.pimenta-product-name-row {
	/*width: 200px;*/
	max-width: 150px;
}

td.pimenta-product-name-row {
	text-align: left;
}

/*.pimenta-order-column span {
 	display: block !important;
	max-width: 50% !important;
	float: left;
}*/

.pimenta-product-weight-row, .pimenta-product-last-change-row {
	max-width: 50px;
}

/*.pimenta-product-weight-price-row, .pimenta-product-price-row {
	max-width: 50px;
}
*/

.pimenta-dynamic-discount {
	color: green;
	font-weight: bold;
}

/** Pimenta attachments container **/
.pimenta-files-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}


.pimenta-product-last-change-row {
	max-width: 100px;
}

.pimenta-order-column, .order {
	max-width: 140px;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.pimenta-order-column input {
	display: block;
	max-width: 33% !important;
	float: left;
	height: 1.7em !important;
}

.pimenta-order-button {
	padding: 5px 10px;
	font-size: 1.3em !important;
	border-radius: 2px;
	display: inline-block;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}

.pimenta-disabled-product .pimenta-order-column {
	text-align: left;
	color: red;
}

.pimenta-ordered-message {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: space-evenly;
	-ms-flex-pack: space-evenly;
	justify-content: space-evenly;
}

.pimenta-order-info {
	position: relative;
}

.pimenta-ordered-quantity {
	position: absolute;
	right: -10px;
	display: block;
	top: -3px;
	color: #FFF;
	background: #c3512f;
	border-radius: 30px;
	padding: 0px 7px;
	z-index: 1;
	font-weight: 600;
}

.pimenta-remove-from-order-button {
	cursor: pointer;
	font-size: 1.3em !important;
	padding: 5px 10px !important;
}
/*** Order preview ***/

.order-preview {
	width: 80%;
	margin: 0px auto;
	background: #fff;
	padding: 20px;
}

/*.pimenta-order-preview-price {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
}*/

.pimenta-order-preview-price p {
	margin: 0px;
}

.pimenta-order-preview-price {
	width: 25%;
	float: right;
	margin-bottom: 25px;
}

.price-label {
	font-weight: bold;
}

.pimenta-order-finish-container {
	text-align: center;
	width: 80%;
	float: none;
	clear: both;
	margin: 30px auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
}

/*** End Order preview ***/

/** Complete order **/
.pimenta-order-form {
	width: 60%;
	margin: 0px auto;
}

.pimenta-order-form input.pimenta-subscribe {
	width: auto;
}

.pimenta-order-form input {
	width: 100%;
}

.pimenta-form-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: 100%;
}

.pimenta-form-information {
	flex: 1 1 300px;
	max-width: 49%;
}

.pimenta-form-information {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 300px;
	flex: 1 1 300px;
	max-width: 49%;
}

.pimenta-form-wrap input[type="phone"] {
	color: #282828;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
	padding: 0 0.75em;
	height: 2.6em;
	width: 100%;
	max-width: 100%;
	vertical-align: middle;
	border-radius: 1px;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.pimenta-order-form .pimenta-order-success, .pimenta-order-form .pimenta-order-error {
	display: none;
}

.pimenta-order-form .pimenta-order-success {
	color: green;
}

.pimenta-order-form .pimenta-order-error {
	color: red;
}

/** Thank you page **/
.pimenta-order-number {
	font-weight: bold;
}

/* MISC */
/** Buttons **/
/*** Main ***/
.pimenta-button {
	border: none;
	cursor: pointer;
	padding: 0px 1.3em;
	line-height: 2.5em;
	min-height: 2.6em;
	max-width: 100%;
	font-weight: bolder;
	text-transform: uppercase;
	-webkit-transition: border 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.3s, color 0.3s, -webkit-transform 0.3s;
	transition: border 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.3s, color 0.3s, -webkit-transform 0.3s;
	transition: transform 0.3s, border 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.3s, color 0.3s;
	transition: transform 0.3s, border 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.3s, color 0.3s, -webkit-transform 0.3s;
	border-radius: 1px;
	display: inline-block;
}

.pimenta-button-main {
	color: #ffffff;
	background: #235787;
}

.pimenta-button-danger {
	color: #ffffff;
	background: #c3512f;
}

/***Order***/
.pimenta-action-buttons-container {
	/*position: fixed;*/
	width: 100%;
	text-align: center;
	display: none;
	margin: 20px auto;
}
.pimenta-order-action-button {
	/*display: none;*/
/*	bottom: 40px;
	z-index: 11;*/
}

/*.pimenta-order-preview-button {
	right: 320px;
}

.pimenta-order-complete-button {
	right: 20px;
}*/

.input-error {
	border: 1px solid red !important;
}

/** Loader **/
.pimenta-loader {
	width: 100%;
	height: 100%;
	background-color: #00000047;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
}

.pimenta-spinner-holder {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%);
}


/** Delivery schedule **/
.order-status {
	display: block;
	color: #111;
	padding: 5px;
	text-align: center;
}

.status-new {
	background-color: orange;
}

.status-dispatched {
	background-color: #efef16;
}

.status-sent_for_delivery {
	background-color: #1cd8e2;
}

.status-pending_payment, .status-pp_econt, .status-pending_payment_exw  {
	background-color: red;
	color: #fff;
}

.status-ready_to_receive {
	background-color: green;
	color: #fff;
}

.status-sent_to_econt {
	background-color: blue;
	color: #fff;
}

.status-new_outsourcing {
	background-color: #EAD1DC;
}

.status-receive_outsourcing {
	background-color: #ea6fab;
}

.status-delivered_order {
	background-color: #e0dcdc;
}

.status-dispatched_delivery {
	background-color: #fff75e;
}

.status-dispatched_to_econt {
	background-color: #ffda3d;
}

.status-dispatched_exw {
	background-color: #fdb833;
}

.status-packed {
	background-color: #ffc0cb;	
}

.status-packed_for_econt {
	background-color: #efb2f5;	
}

.status-packed_for_delivery {
	background-color: #e253ef;	
}

.pimenta-order-status-change, .pimenta-order-status-change-legend {
	background: #529D7B !important;
}

/** Order table filters **/
.orders-table-controls {
	display: flex;
}

.orders-table-filters {
    width: 50%;
    margin-left: 0px !important;
    margin-bottom: 20px;
}

.pimenta-orders-actions-container {
	display: flex;
	margin: 20px auto;
}

.pimenta-action {
    flex: 1 1;
    display: flex;
}

.pimenta-action input, .pimenta-action select {
	max-width: 60% !important;
	margin-right: 20px;
}
.add-new-line-container {
	justify-content: flex-end;
}

table.order-table td {
    vertical-align: middle;
}

.filter-label {
	flex: 0 0;
	width: 100%;
}

.order-table-sorting {
    width: 50%;
}

.datefilter {
	width: 40% !important;
}

.pimenta-order-note {
	height: 50px;
	min-height: auto;
}

.total-price-column input {
    min-width: 100px;
}

.processing-orders-price-changer-button {
	width: 100%;
	text-align: center;
}

.processing-orders-price-changer-button .fa {
	font-size: 20px;
	vertical-align: middle;
}

.processing-orders-note-save-button, .processing-orders-status-changer-button, .processing-orders-date-changer-button {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.order-table th, .order-table td {
    padding: 1em;
}

.processing-orders-report, .processing-orders .chosen-filters-message {
	margin: 5px auto;
}

.processing-orders-report .pimenta-print-report {
	width: 100%;
	text-align: center;
}

/*.add-new-line-container {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}*/

.pimenta-new-line-title {
	max-width: 80% !important;
}

.status-changer-select {
	width: 100%;
	height: 50px;
}

.processing-orders-status-button {
	line-height: 25px !important;
	border-radius: 10px !important;
	text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.order-table td span.pimenta-order-delivered-text {
	display: block !important;
	text-align: center;
}

.order-table td span.pimenta-order-delivered-icon {
	display: none !important;
}
/** Date picker **/
#ui-datepicker-div {
	z-index: 10 !important;
}

/** Admin order **/
.pimenta-admin-ordered-container {
	display: flex;
	justify-content: space-between;
}

.pimenta-product-admin-order-quantity {
	width: 300px;
}

.pimenta-admin-order-quantity {
	display: block;
	float: left;
	height: 1.8em !important;
	width: 40% !important;
	margin: 0px 10px;
}

.pimenta-admin-order-button {
	padding: 5px 10px;
    font-size: 1.3em !important;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.pimenta-product-admin-order-quantity .pimenta-order-info {
	float: left;
}

.pimenta-remove-from-admin-order-button {
	cursor: pointer;
	font-size: 1.3em !important;
	padding: 5px 10px !important;
}

.pimenta-admin-order-preview-partner {
	text-align: center;
}

.pimenta-order-preview {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.pimenta-admin-form-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;	
	flex-wrap: wrap;
}

/*.pimenta-clear-admin-order-button, .pimenta-admin-order-send {
	max-width: 50%;
}*/

.pimenta-admin-order-error {
	display: none;
}

/** Admin order **/

/**Client profile **/

/**** Login / Registration ****/
.tml {
	width: 60%;
	margin: 0px auto;
}

.tml-links {
	list-style: none;
}

.tml-links li {
	margin-left: 0px !important;
}

/**** END Login / Registration ****/

.client-profile-tabs .tab-links {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.client-profile-tabs .tab-links li {
	float: left;
	height: 44px;
	margin: 0 8px -1px 0;
	border: 1px solid #DAE0E7;
	background: #F9F9F9;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	width: 50%;
	margin: 0px;
	text-align: center;
}

.client-profile-tabs .tab-links li a {
	display: block;
	width: 100%;
	height: 100%;
	color: #111;
	font-weight: 400;
	line-height: 45px;
}

.client-profile-tabs .tab-links li.active {
	height: 45px;
	border-bottom: none;
	background: #fff;
}

.tab-content {
    border: 1px solid #DAE0E7;
    border-top: 0px;
    padding: 10px;
}

.client-profile-tabs .tab-content .tab {
	display: none;
}

.client-profile-tabs .tab-content .tab.active {
	display: block;
}

/**** Edit profile form ****/
.client-profile-edit-fields {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.client-profile-edit-column {
    flex: 1 1 350px;
    margin: 0px auto;
    max-width: 350px;
}
/**** END Edit profile form ****/

/**** Order history ****/

/*.pimenta-partner-orders-table {
	text-align: center;
}*/
/**** END Order history ****/

/**** Edit profile form ****/
.client-profile-edit-fields {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px auto;
}

.client-profile-edit-column {
    flex: 1 1 350px;
    margin: 0px auto;
    max-width: 500px;
}

.client-profile-edit-column label {
	margin: 10px auto;
	display: inline-block;
	width: 100%;
}

.pimenta-client-profile-notifications {
	display: none;
}

.pimenta-client-profile-success {
	text-align: center;
	color: green;
	font-size: 20px;
}

.pimenta-client-profile-error {
	text-align: center;
	color: #c3512f;
	font-size: 20px;
}
/**** END Edit profile form ****/

/*** QUick order ****/


.pimenta-quick-ordered-container {
	display: flex;
	justify-content: space-between;
}

.pimenta-product-quick-order-quantity {
	width: 300px;
}

.pimenta-quick-order-quantity {
	display: block;
	float: left;
	height: 1.8em !important;
	width: 40% !important;
	margin: 0px 10px;
}

.pimenta-quick-order-button {
	padding: 5px 10px;
    font-size: 1.3em !important;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.pimenta-product-quick-order-quantity .pimenta-order-info {
	float: left;
}

.pimenta-remove-from-quick-order-button {
	cursor: pointer;
	font-size: 1.3em !important;
	padding: 5px 10px !important;
}


.pimenta-quick-order-error {
	text-align: center;
	color: red;
	font-size: 20px;
	display: none;
}

.pimenta-quick-order-products {
    margin: 20px auto;
    background: #f2f2f2;
    padding: 10px;
}

/**END Client profile **/

/** Responsive **/
@media screen and (max-width: 420px) {

	.pimenta-product-weight-price-row {
		display: none;
	}

	.pimenta-order-finish-container {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		height: 250px;
		width: 300px;
	}

	.pimenta-order-finish-container a, .pimenta-order-finish-container > span {
		width: 100%;
		max-width: 100% !important;
		padding: 0 1em !important;
		font-size: 15px;
		line-height: 20px !important;
		min-height: 40px !important;
	}

	.pimenta-order-finish-container > span {
		line-height: 40px !important;
	}

	.pimenta-order-preview-price {
		width: 100%;
	}

	.client-profile-tabs .tab-links {
		display: block;
	}

	.client-profile-tabs .tab-links li {
		float: none;
		width: 100%;
	}

}
@media screen and (min-width: 420px) and (max-width: 750px) {
	/*.pimenta-order-finish-container a, .pimenta-order-finish-container span {
		width: 300px;
		max-width: 300px;
	}*/
	.pimenta-order-finish-container a, .pimenta-order-finish-container > span {
		width: 300px;
		max-width: 300px;
	}

	.pimenta-order-preview-price {
	    width: 50%;
	}  
}
@media screen and (max-width: 750px) {
	.pimenta-product-name-row {
		max-width: 100px;
	}

	.pimenta-form-information {
		max-width: initial;
	}

	.pimenta-order-column input{
		max-width: 65% !important;
		float: none;
		margin: 0px auto;
	}

	.pimenta-order-button, .pimenta-order-info  {
		width: 80%;
		float: none;
		padding: 10px 0px !important;
		/*display: block !important;*/
		margin: 5px auto;
	}

	.pimenta-remove-from-order-button {
		width: 65%;
	}

	.pimenta-ordered-message {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.pimenta-order-preview-button {
	    /*left: 50%;
	    bottom: 100px;
	    right: 0px;
	    transform: translateX(-50%);*/
	    margin-bottom: 20px;
	    min-width: 250px;
	    text-align: center;
	}

	.pimenta-order-complete-button {
		/*left: 50%;
	    right: 0px;
	    transform: translateX(-50%);*/
	    min-width: 250px;
	    text-align: center;	
	}

	.pimenta-form-buttons span {
		width: 100%;
		text-align: center;
		min-width: auto;
		margin: 10px auto;
	}

	.order-table {
		padding: 1em 0.5em;
	}

	.order-table td span.pimenta-order-delivered-text {
		display: none !important;
	}

	.order-table td span.pimenta-order-delivered-icon {
		display: block !important;
		text-align: center;
	}

	.pimenta-admin-order table th, .pimenta-admin-order table td {
		padding: 5px;
	} 

	.pimenta-product-admin-order-quantity {
		width: 75px;
	}

	.pimenta-admin-order-quantity {
		float: none;
		width: 100% !important;
		margin: 10px auto;
		flex: 0 0 auto;

	}

	.pimenta-admin-order-button {
		text-align: center;
		width: 100%;
		margin: 10px auto;
	}

	.pimenta-admin-ordered-container {
		flex-wrap: wrap;
	}

	.pimenta-admin-ordered-container .pimenta-order-button, .pimenta-admin-ordered-container .pimenta-order-info {
		max-width: 80%;
		margin: 0px;
		flex: 1 1 auto;
		float: none !important;
		padding: 5px 0px !important;
	}

	.pimenta-admin-ordered-container .pimenta-remove-from-order {
		line-height: 50px;
		max-width: 80%;
		flex: 1 1 auto;
		float: none;
	}

	.pimenta-remove-from-admin-order-button {
		width: 100%;
		text-align: center;
	}

	.pimenta-clear-admin-order-button, .pimenta-admin-order-send {
		width: 100%;
		text-align: center;
		margin: 5px auto;
	}

	.pimenta-quick-order table th, .pimenta-quick-order table td {
		padding: 5px;
	} 

	.pimenta-product-quick-order-quantity {
		width: 75px;
	}

	.pimenta-quick-order-quantity {
		float: none;
		width: 100% !important;
		margin: 10px auto;
		flex: 0 0 auto;

	}

	.pimenta-quick-order-button {
		text-align: center;
		width: 100%;
	}

	.pimenta-quick-ordered-container {
		flex-wrap: wrap;
	}


	.pimenta-quick-ordered-container .pimenta-order-button, .pimenta-quick-ordered-container .pimenta-order-info {
		max-width: 80%;
		margin: 0px;
		flex: 1 1 auto;
		float: none !important;
		padding: 5px 0px !important;
	}

	.pimenta-quick-ordered-container .pimenta-remove-from-order {
		line-height: 50px;
		max-width: 80%;
		flex: 1 1 auto;
		float: none;
	}

	.pimenta-remove-from-quick-order-button {
		width: 100%;
		text-align: center;
	}

}	

@media screen and (min-width: 750px) and (max-width: 880px) {

	.pimenta-order-finish-container {
		width: 400px;
	}

	.pimenta-order-finish-container a, .pimenta-order-finish-container > span {
		width: 400px;
		max-width: 400px;
	}

}
@media screen and (max-width: 880px)  {

	.order-table .note-cell {
	    max-width: 100px;
	    word-wrap: break-word;
	    font-size: 13px;
	}

	.pimenta-order-finish-container {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		height: 200px;
	}

	.pimenta-product-weight-row, .pimenta-product-last-change-row, .pimenta-product-file-row {
		display: none !important;
	}

	.order-table-container {
		max-width: 100%;
		overflow: scroll;
	}

	.orders-table-filters {
		width: 100%;
	}

	.pimenta-clear-filters {
		margin-top: 10px;
	}

}