/* New invoice */
.add_customer, .add_business{
	background-color: #fff;
	padding: 90px 100px;
	border: 2px solid #ccc;
	border-style: dashed;
	border-radius: 5px;
	font-size: 20px;
	color: #009DA0;
}
.add_customer.required, .add_business.required{
	border: 2px solid #ea0e0e;
	color: #ea0e0e;
	border-style: dashed;
}
.add_customer.required:hover, .add_business.required:hover{
	background-color: #fbeaea;
	border-color: #ea0e0e;
}
.add_customer:hover, .add_business:hover{
	background-color: #cccccc40;
	border-color: #009DA0;
}
.add_customer:focus{
	outline: none;
}
.item_panel{
	display: flex;
	justify-content: center;
}
.customer_list, .item_list, .tax_list, .business_list{
	display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 6px 2px #ccc;
	position: absolute;
    z-index: 1;
    background: white;
}
.tax_list {
    position: absolute;
    z-index: 100;
    background: #fff;
    overflow: hidden;
}
.customer_list, .business_list{
    width: 85%;
}
.item_list, .tax_list{
	width: 100%;
}
.customer_list input[name='search_customer'], .item_list input[name='search_item'], .tax_list input[name='search_item'], .business_list input[name='search_business']{
	/* width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    height: 12%; */
}

.customer_list ul li:hover, .item_list ul li:hover, .tax_list ul li:hover, .business_list ul li:hover {
	background-color: #f0f4fa;
}
.customer_list ul, .item_list ul, .business_list ul {
	list-style: none;
    padding: 0;
	max-height: 350px;
	overflow: auto;
	margin: 10px 0;
}
.tax_list ul{
	list-style: none;
	height: auto;
	padding: 0;
    overflow: auto;
    max-height: 200px;
    margin: 10px 0;
}
.customer_list ul li, .item_list ul li, .tax_list ul li, .business_list ul li{
	padding: 2px 5px;
}
.customer_list ul li span, .item_list ul li span, .tax_list ul li span, .business_list ul li span {
	display: block;
}

.phr-button--link{
	background: none;
	border: none;
	color: #009DA0;
	vertical-align: middle;
}
.add_business.required{
	color: #ea0e0e;
}
.phr-button--link:focus{
	outline: none;
}
.tab-content .active.fade{
	opacity: unset;
}
.phr-table, .phr-table--plain{
	width: 100%;
}
.phr-table__header .phr-table__row {
	background: #ecf0f3;
	border-color: #b2c2cd;
	border-width: 2px;
	border-bottom: 1px solid #009DA0;
}
.phr-table__cell{
	padding: 12px 15px;
    text-align: left;
}
.phr-table__row.is-selected{
	background-color: #f0f4fa;
}
.phr-table__row, .phr-table__row--total{
	border-bottom: 1px solid #d4dde3;
}
.phr-input.phr-input--xsmall {
    min-width: 80px;
    max-width: 80px;
}
.phr-table__body>.phr-table__row .phr-textarea {
    width: 100%;
}
.phr-textarea, .phr-textarea.phr-textarea--medium {
    max-width: 320px;
}

.phr-textarea {
    display: inline-block;
    box-sizing: border-box;
    margin: 4px 0;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #b2c2cd;
    border-radius: 4px;
    cursor: text;
    padding: 8px 10px 6px;
    transition: border .1s linear;
    min-height: 40px;
    width: 100%;
    min-width: 160px;
    resize: none;
}
.invoice-item-table .phr-select>:first-child {
    background: #fff;
}
.has-selection .phr-select__input {
    color: #1c252c; 
    font-style: normal;
}
.phr-select {
    position: relative;
    border-radius: 4px;
    outline: none;
    margin: 4px 0;
    display: inline-block;
    width: 100%;
    min-width: 160px;
    max-width: 320px;
}
.phr-select__input {
    display: inline-block;
    box-sizing: border-box;
    margin: 4px 0;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #b2c2cd;
    border-radius: 4px;
    cursor: text;
    padding: 8px 10px 6px;
    transition: border .1s linear;
    min-height: 40px;
    width: 100%;
    max-width: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    color: #c6cccd;
    font-style: italic;
    padding-right: 26px;
    background: white;
    margin: 0;
}
.phr-select__input__icon {
    color: #4d6575;
    position: absolute;
    top: 10px;
    right: 6px;
}
.invoice-item-row-tax-section__tax__add .phr-select {
    width: 200px;
}
.invoice-item-row-tax-section__tax__add__label {
    margin-right: 10px;
}
.phr-select.item-tax-selection {
    max-width: 320px;
}
.invoice-item-row-tax-section {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}
.invoice-item-row-tax-section__taxes {
    flex: 1;
}
.invoice-item-row-tax-section__tax {
    display: flex;
    flex-flow: row nowrap;
}
.invoice-item-row-tax-section__tax__add {
    display: flex;
    align-items: center;
    flex-flow: row;
    margin-left: auto;
}
.invoice_item_tax_amount {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 132px;
    padding-left: 10px;
    padding-right: 4px;
}
.invoice_item_tax_remove {
    display: flex;
    align-items: center;
    width: 40px;
}
.phr-table__cell--amount {
    text-align: right;
}
.invoice-add-totals__totals {
    display: flex;
    margin: 16px 0;
    justify-content: flex-end;
}
.invoice-add-totals__totals__amounts {
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 0 29px;
}
.invoice-add-totals__totals__amounts__line {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 0;
    position: relative;
}
.invoice-add-totals__totals__amounts__line__label {
    max-width: 500px;
}
.invoice-add-totals__totals__amounts__line__amount {
    margin-left: 1px;
    overflow-wrap: break-word;
    width: 143px;
}
.invoice-add-totals__totals__amounts__line__label__currency-select {
    text-align: left;
    display: inline-block;
    margin-left: 10px;
}
.invoice-add-totals__totals__amounts__line__label__currency-select .phr-select {
    width: 240px;
}
.has-selection .phr-select__input {
    color: #1c252c;
    font-style: normal;
}
.has-selection .item_tax_label {
    color: #1c252c;
}
.invoice-item-row-tax-section__tax__add .phr-select .phr-select__menu {
    padding: 0;
    overflow: hidden;
}
.is-open>.phr-select__menu {
    visibility: visible;
    height: auto;
    -webkit-animation: panel-slide-down .1s ease-in-out forwards;
    animation: panel-slide-down .1s ease-in-out forwards;
}
.phr-select__menu {
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: left;
    display: block;
    visibility: hidden;
    position: absolute;
    top: calc(110% + 4px);
    z-index: 1000;
    min-width: 100%;
    padding: 8px 0;
    border-radius: 4px;
    color: #1c252c;
    background-color: white;
    box-shadow: 0 0 0 1px rgb(77 101 117 / 10%), 0 3px 10px 0 rgb(77 101 117 / 20%);
    height: 0;
    overflow: hidden;
    padding: 0;
    right: 0;
    left: 0;
    top: 100%;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.invoice-item-table>.phr-table>.phr-table__body>.phr-table__row>.phr-table__cell {
    padding: 0;
}
.invoice-item-table .phr-table__body>.phr-table__row .phr-table__body>.phr-table__row:first-child .phr-table__cell--amount:first-child, .invoice-item-table .phr-table__body>.phr-table__row .phr-table__body>.phr-table__row:first-child .phr-table__cell:first-child {
    padding-top: 20px;
}
.invoice-item-table .phr-table__body .phr-table__cell, .invoice-item-table .phr-table__body .phr-table__cell--amount {
    padding: 8px 4px;
}
.invoice-item-table .phr-table__cell, .invoice-item-table .phr-table__cell--amount {
    overflow: visible!important;
    position: relative;
    background-color: inherit;
}
.invoice-item-table>.phr-table>.phr-table__body>.phr-table__row:last-child .phr-button--link {
    padding: 13px 15px;
    margin: 0;
}
.invoice-memo, .invoice-add-footer {
    border-top: 1px solid #d4dde3;
    margin: 0 -16px;
    padding: 16px;
}
.invoice-memo .phr-textarea, .invoice-memo .phr-textarea:focus, .invoice-add-footer .phr-textarea, .invoice-add-footer .phr-textarea:focus{
    border: none;
    box-shadow: none;
}

.invoice-memo .phr-textarea {
    padding: 1px;
}
.phr-textarea.phr-textarea--fluid {
    max-width: 100%;
}
.create_link{
	display: flex;
	justify-content: center;
}
.form-field {
	display: flex;
	align-items: center;
}
.form-field > label {
	flex: 40%;
	text-align: right;
	margin: 15px;
}
.form-field > input, .form-field > select, .form-field > textarea, .form-field > div {
	flex: 65%;
	text-align: left;
	margin: 15px 10px 15px;
}
.invoice_creation_form .form-field input, .invoice_creation_form .form-field select, .invoice_creation_form.form-field textarea{
	flex: 50%;
}
.contact-tab, .billing_address, .shipping_address, .create_tax, .business_contact_details{
	width: 80%;
}

.invoice-add-info__content__logo {
	width: 30%;
    height: 100%;
}

.invoice-add-info__content__info{
	display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.invoice-add-info__content__logo .image{
	display: none;
}
.invoice-add-info__content__logo .image.edit{
	display: block;
}
.invoice-add-info__content__logo .file.edit{
	display: none;
}
.invoice-add-info__content__logo .file{
	border: 2px dashed #d4dde3;
    border-radius: 5px;
    margin: 0 0 30px 0;
    cursor: pointer;
	align-items: center;
    padding: 8% 0;
    display: flex;
    flex-direction: column;
}

.invoice-add-info__content {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.wave-logo-uploader-dropzone__logo__dropzone, .wave-logo-uploader-dropzone__logo__dropzone--uploading {
    cursor: pointer;
    width: 300px;
    padding: 20px 0;
    text-align: center;
    border-radius: 5px;
    border: 1px dashed #136acd;
    margin: 0 auto;
    background: #fff;
}
.invoice-add-info__content__logo .image #uploaded_logo_url {
    max-height: 200px;
    max-width: 350px;
	width: 100%;
    display: block;
    margin-bottom: 10px;
    height: 100%;
}
.invoice-add-info__content__logo .error
	text-align: justify;
    max-width: 350px;
}
.invoice-add-info__content__info__invoice .phr-input:first-child {
    font-size: 30px;
    padding: 0 8px;
}

.invoice-add-info__content__info__invoice .phr-input {
    text-align: right;
    max-width: 430px;
}
.phr-input.phr-input--large {
    max-width: 480px;
}
.phr-input {
    display: inline-block;
    box-sizing: border-box;
    margin: 4px 0;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #b2c2cd;
    border-radius: 4px;
    cursor: text;
    padding: 8px 10px 6px;
    transition: border .1s linear;
    min-height: 40px;
    width: 100%;
    min-width: 160px;
    max-width: 320px;
}
.business_info_box {
    margin-top: 12px;
}
.phr-text--strong {
    font-weight: bold;
}
.invoice-add-info__content__logo :where(i, p){
  color: #009DA0;
}
.invoice-add-info__content__logo i{
  font-size: 50px;
}
.invoice-add-info__content__logo p{
  margin-top: 15px;
  font-size: 16px;
  color: #009DA0;
}
.error{
	color: #ea0e0e;
    font-style: italic;
    font-size: 13px;
    font-weight: 400;
}
.progress-area li .content{
  width: 100%;
  margin-left: 15px;
}
.progress-area .details{
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  justify-content: space-between;
}
.progress-area .content .progress-bar{
  height: 6px;
  width: 100%;
  margin-bottom: 4px;
  background: #fff;
  border-radius: 30px;
}
.content .progress-bar .progress{
  height: 100%;
  width: 0%;
  background: #6990F2;
  border-radius: inherit;
}
.uploaded-area{
  max-height: 232px;
  overflow-y: scroll;
}
.uploaded-area.onprogress{
  max-height: 150px;
}
.uploaded-area::-webkit-scrollbar{
  width: 0px;
}
.uploaded-area li
{
	margin-bottom: 10px;
    background: #E9F0FF;
    list-style: none;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.uploaded-area li .content{
  display: flex;
  align-items: center;
}
.uploaded-area li .content i{
	font-size: 40px;
}
.uploaded-area i{
	font-size: 25px;
}
.uploaded-area li .details{
  display: flex;
  margin-left: 15px;
  flex-direction: column;
}
.uploaded-area li .details .name{
  font-size: 14px;
}
.uploaded-area li .details .size{
  color: #404040;
  font-size: 11px;
}
.uploaded-area i.fa-check{
  font-size: 16px;
}
.uploaded-area, .progress-area{
	margin: 10px 0;
}
.invoice-add-info__content__logo .image_details{
	font-size: 12px;
}
.invoice-add-info__content__logo .image .error p{
	color: #ea0e0e;
}
.customer_record, .item_record, .tax_record, .business_record{
	display:none;
}
.customer-error-info,.business-error-info{
    color: #ea0e0e;
    margin: 5px 0;
    display: flex;
    align-items: center;
    font-size: 13px;
}
.hide-block{
	display: none !important;
}
.my-customers, .my-items, .my-taxes, .my-businesses, .tax_list li{
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.my-customers div:first-child, .my-businesses div:first-child, .my-items div:first-child, .my-taxes div:first-child{
	flex: auto;
}
.ft-trash{
	cursor: pointer;
}

.invoice_email_box .field-group{
	display: flex;
	flex: 100%;
	margin: 10px;
}
.invoice_email_box .field-group label{
	flex: 15%;
}
.invoice_email_box .field-group input, .invoice_email_box .field-group textarea, .invoice_email_box .field-group a{
	flex: 85%;
}
.invoice-header{
	display: inline-flex;
    justify-content: space-between;
}
#transaction_detail{
	width: 100%;
    text-align: center;
    margin: 20px;
}
#transaction_detail .field-group{
	display: flex;
	align-items: center;
	margin: 20px;
}
#transaction_detail .field-group label, #transaction_detail .field-group input{
	flex: 50%;
}

.tax_list .list li div:first-child{
	width: 100%;
    cursor: pointer;
}

.business_panel{
	position: relative;
	width: 100%;
}
.business_list{
	right: 0;
}
#business_info_box{
	text-align: right;
}
.add_business{
	float: right;
	padding: 50px 100px;
}