#kirilkirkov {
    box-shadow: none;
}

#kirilkirkov .create-invoice-page {
    max-width: 1200px;
}

#kirilkirkov .create-invoice-page .invoice {
    padding: 50px;
    border: 1px solid #d8d8d8;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    background-color: #ffffff;
}

#kirilkirkov .create-invoice-page .invoice h1 {
    font-size: 36px;
}

#kirilkirkov .create-invoice-page .stripe-amounts, #kirilkirkov .create-invoice-page .xe-exchange {
    max-width: 200px;
    margin: 0 auto;
}

#kirilkirkov .create-invoice-page .invoice .ajax-select {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #26b6e8;
    text-transform: uppercase;
    font-size: 10px;
}

#kirilkirkov .create-invoice-page .invoice .ajax-select .dashicons {
    background: #eee none repeat scroll 0 0;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #888;
    display: inline-block;
    height: 28px;
    line-height: 25px;
    margin-right: 3px;
    text-align: center;
    width: 28px;
    vertical-align: middle;
}

#kirilkirkov .create-invoice-page .invoice .actions a {
    background: #eee none repeat scroll 0 0;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    line-height: 25px;
    margin-right: 3px;
    text-align: center;
    width: 28px;
    vertical-align: middle;
    text-decoration: none;
}

#kirilkirkov .create-invoice-page .invoice .client, #kirilkirkov .create-invoice-page .invoice .debit-or-credit-type {
    max-width: 350px;
}

#kirilkirkov .create-invoice-page .invoice .client .selectable input {
    max-width: 200px;
}

#kirilkirkov .create-invoice-page .invoice select {
    border: 1px solid #ced4da;
    padding: .235rem .75rem;
    width: 100%;
}

#kirilkirkov .create-invoice-page .invoice .currency-select {
    max-width: 350px;
}

#kirilkirkov .create-invoice-page .invoice .table {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d8d8d8;
    margin-bottom: 15px;
    border-spacing: 0;
    border-collapse: collapse;
}

#kirilkirkov .create-invoice-page .invoice .table thead tr th {
    vertical-align: bottom;
    text-align: left;
    border-bottom: 1px solid #d8d8d8;
    padding: 10px;
}

#kirilkirkov .create-invoice-page .invoice .table tbody tr td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
}

#kirilkirkov .create-invoice-page .invoice .table .quantity input {
    width: 80px;
}

#kirilkirkov .create-invoice-page .invoice textarea {
    width: 100%;
}

#kirilkirkov .create-invoice-page .invoice .payment-method {
    max-width: 350px;
}

#kirilkirkov .create-invoice-page .save_periodic_inv {
    display: inline-block;
    margin-left: 5px;
}

#kirilkirkov .create-invoice-page .invoice .table .item-name {
    max-width: 220px;
}

#kirilkirkov .create-invoice-page .invoice .total {
    font-size: 25px;
    border-top: 1px solid #f3f3f3;
    padding-top: 15px;
}

#kirilkirkov .create-invoice-page .invoice .w-80p {
    width: 80px;
}

#kirilkirkov .create-invoice-page .invoice .w-100p {
    width: 100px;
}

#kirilkirkov .create-invoice-page .invoice .inv {
    max-width: 200px;
}

#kirilkirkov .create-invoice-page .invoice .add-new-item {
    display: inline-block;
    border-radius: 1000px;
    padding: 6px 20px;
    transition: background-color 0.1s ease-in-out 0s;
    text-decoration: none;
    background-color: #f3f3f3;
}

#kirilkirkov .create-invoice-page .visible-customer_user_id {
    font-size: 12px;
}

#kirilkirkov .create-invoice-page .invoices-types--menu label {
    margin-bottom: 0;
}

/* Client/Item Select */
#kirilkirkov .kkwi-select-client-modal, 
#kirilkirkov .kkwi-select-item-modal, 
#kirilkirkov .kkwi-select-customer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#kirilkirkov .kkwi-select-client-modal .kkwi-select-client-modal-overlay, 
#kirilkirkov .kkwi-select-item-modal .kkwi-select-item-modal-overlay,
#kirilkirkov .kkwi-select-customer-modal .kkwi-select-customer-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
}

#kirilkirkov .kkwi-select-client-modal .kkwi-select-client-content,
#kirilkirkov .kkwi-select-item-modal .kkwi-select-item-content,
#kirilkirkov .kkwi-select-customer-modal .kkwi-select-customer-content {
    margin-top: 100px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    -webkit-box-shadow: 5px 5px 13px 0px rgba(0,0,0,0.51); 
    box-shadow: 5px 5px 13px 0px rgba(0,0,0,0.51);
}

#kirilkirkov .kkwi-select-customer-modal .kkwi-select-customer-content form {
    width: 100%;
    max-width: 300px;
}

#kirilkirkov .kkwi-select-customer-modal .kkwi-select-customer-content form input {
    font-size: 12px;
}

#kirilkirkov .kkwi-select-client-modal .kkwi-select-client-content a,
#kirilkirkov .kkwi-select-item-modal .kkwi-select-item-content a,
#kirilkirkov .kkwi-select-customer-modal .kkwi-select-customer-content a {
    border-radius: 10px;
}

#kirilkirkov .kkwi-select-client-modal .clients-list li,
#kirilkirkov .kkwi-select-item-modal .items-list li,
#kirilkirkov .kkwi-select-customer-modal .customers-list li {
    display: flex;
    align-items: center;
    background: rgb(231,231,231);
    background: linear-gradient(343deg, rgba(231,231,231,1) 0%, rgba(241,241,241,1) 92%);
    padding: 10px;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #d7d7db;
}
#kirilkirkov .kkwi-select-client-modal .clients-list li:hover,
#kirilkirkov .kkwi-select-item-modal .items-list li:hover,
#kirilkirkov .kkwi-select-customer-modal .customers-list li:hover {
    cursor: pointer;
    background: rgb(231,231,231);
    background: linear-gradient(163deg, rgba(231,231,231,1) 0%, rgba(241,241,241,1) 92%);
    transition: background-color 0.1s ease-in-out 0s;
}

#kirilkirkov .kkwi-select-client-modal .clients-list,
#kirilkirkov .kkwi-select-item-modal .items-list,
#kirilkirkov .kkwi-select-customer-modal .customers-list {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Tooltip Type TD Warnings in tables */
#kirilkirkov .create-invoice-page .invoice .td-col-warning-msg {
  width: 120px;
  background: rgba(255, 243, 205, 9);
  color: #333;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  z-index: 1;
  bottom: 100%;
  left: 0;
}

#kirilkirkov .create-invoice-page .invoice .td-col-warning-msg::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 243, 205, 9) transparent transparent transparent;
}
/* /Client/Item Select */

@media (max-width: 600px) {
    #kirilkirkov .create-invoice-page .table-invoice-items-wapper {
        overflow: scroll;
    }
}

@media (max-width: 1128px) {
    #kirilkirkov .create-invoice-page .invoice {
        padding: 20px;
    }
}