/* CSS-Tricks Example by Chris Coyier http://css-tricks.com */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#page-wrap {
    width: 800px;
    margin: 0 auto;
}

textarea {
    border: 0;
    font-size: 16px;
    overflow: hidden;
    resize: none;
}

table {
    border-collapse: collapse;
}

table td,
table th {
    padding: 10px;
    border: none !important;
}
table.items_inner  td{
    padding: 7px;
}

#header {
    height: 55px;
    width: 100%;
    margin: 20px 0;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #10c8cd;
    letter-spacing: 10px;
    padding: 5px;
    background: #f7f7f7;
}

#address {
    width: 250px;
    height: 150px;
    float: left;
    padding: 5px;
}

#customer {
    overflow: hidden;
}

#logo {
    text-align: left;
    float: left;
    position: relative;
    margin-top: 25px;
    border: 1px solid #fff;
    max-width: 540px;
    max-height: 100px;
    overflow: hidden;
}

#logo:hover,
#logo.edit {
    border: 1px solid #000;
    margin-top: 0;
    max-height: 125px;
}

#logoctr {
    display: none;
}

#logo:hover #logoctr,
#logo.edit #logoctr {
    display: block;
    text-align: right;
    line-height: 25px;
    background: #eee;
    padding: 0 5px;
}

#logohelp {
    text-align: left;
    display: none;
    font-style: italic;
    padding: 10px 5px;
}

#logohelp input {
    margin-bottom: 5px;
}

.edit #logohelp {
    display: block;
}

.edit #save-logo,
.edit #cancel-logo {
    display: inline;
}

.edit #image,
#save-logo,
#cancel-logo,
.edit #change-logo,
.edit #delete-logo {
    display: none;
}

#customer-title {
    font-size: 20px;
    font-weight: bold;
    float: left;
}

#meta {
    margin-top: 1px;
    width: 350px;
    float: right;
}

#meta td {
    text-align: right;
}

#meta td.meta-head {
    text-align: left;
    vertical-align: middle;
}

#meta td textarea {
    width: 100%;
    height: 30px;
    text-align: right;
    padding: 5px;
}

.what_is_the_count .items {

    background: #28ab1026;
    margin: 30px 0 15px 0;

}
.items.quote-valid{
    background: #28ab105e;
}
.items{
    clear: both;
    width: 100%;
}

.items_inner {
    width: 100%;
}

.items_inner_right {
    float: right;
}

.items_inner_right td {
    vertical-align: middle;
}

.items textarea {
    width: auto;
    height: 30px;
    padding: 5px;
}

.items tr.item-row td {
    border: 0;
    vertical-align: top;
}

.items td.description {
    width: 300px;
}

.items td.item-name {
    width: 175px;
}

.items td.description textarea,
.items td.item-name textarea {
    width: 100%;
}

.items td.total-line {
    border-right: 0;
    text-align: right;
}

.items td.total-value {
    border-left: 0;
    padding: 10px;
}

.items td.total-value textarea {
    height: 20px;
    background: none;
}

.items td.balance {
    background: #eee;
}

.items td.blank {
    border: 0;
}

#terms {
    text-align: center;
    margin: 20px 0 0 0;
}

#terms textarea {
    width: 100%;
    text-align: center;
}

textarea:hover,
textarea:focus,
.items td.total-value textarea:hover,
.items td.total-value textarea:focus,
.delete:hover,
input[type="text"]:hover,
input[type="text"]:focus,
input[type="number"]:hover,
input[type="number"]:focus {
    background-color: #fdfdfd;
}

.delete-wpr {
    position: relative;
}

.delete {
    display: block;
    color: #000;
    text-decoration: none;
    position: absolute;
    background: #eee;
    font-weight: bold;
    padding: 0 3px;
    border: 1px solid;
    top: 0;
    left: -18px;
    font-size: 12px;
}

#terms h5 {
    font-size: 13px;
    letter-spacing: 10px;
    border-bottom: 1px solid black;
}

#inputArea {
    margin-top: 38px;
    margin-left: 8px;
}

input[type="text"] {
    width: 100%;
    padding: 5px;
    border-radius: 3px;
    background: white;
    height: 38px;
    border: none;
    font-size: 16px;
}

input[type="number"] {
    width: max-content;
    padding: 5px;
    border-radius: 3px;
}

select {
    border: 0;
    padding: 5px;
    height: 38px;
}

label {
    margin-bottom: 10px;
    display: block;
}

.icon-container {
    margin-bottom: 20px;
    padding: 7px 0;
    font-size: 24px;
}

a {
    color: #2196f3;
}

hr {
    border: 1px solid lightgrey;
}

span.price {
    float: right;
    color: grey;
}

.force_margin {
    margin-bottom: 5px;
}

.make_bold {
    font-weight: bold;
    padding-bottom: 2%;
    font-size: 17px;
}

.make_bold_small {
    font-weight: bold;
    font-size: 13px;
}

#addmorerow,
#calculate {
    color: #fff;
    background-color: #00d9ff;
    padding: 8px;
    border-radius: 5px;
}

.addanywhere {
    display: block;
    color: #000;
    text-decoration: none;
    position: absolute;
    background: #eee;
    font-weight: bold;
    padding: 0 3px;
    border: 1px solid;
    bottom: -21px;
    left: 0;
    font-size: 12px;
}

.btn {
    font-size: 1rem;
}

.modal-title {
    font-size: 1.5rem;
}

.close {
    font-size: 3rem;
}

.modal-body .col-sm:first-child {
    font-size: 2rem;
}

.modal.fade .col-sm-7,
.modal.fade .col-sm-1 {
    margin-top: 1%;
}

.modal.fade .col-sm-1 {
    padding-left: unset;
}

.modal.fade .row {
    background-color: honeydew;
}

.modal.fade .row:not(:last-child) {
    border-bottom: 1px solid darkgray;
}

.modal-dialog {
    margin-top: 4rem;
    max-width: 1000px;
}

.modal.fade .btn-primary {
    background-color: #00d9ff;
    border-color: #00d9ff;
}

.modal.fade .btn-primary:hover {
    background-color: #00d9ff;
    border-color: #00d9ff;
}

.userinfo tr td {
    vertical-align: top;
}
.userinfo{
    background: #28ab1026;
    padding: 10px;
    margin: 30px 0 0 0;

}

.navbars {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo img {
    max-width: 150px;
}

.back-to-order {
    margin-left: auto;
}

.back-to-order a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #66ddd3;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-to-order a:hover {
    background-color: #66ddd3;
    transform: scale(1.05);
}

.back-to-order a:active {
    background-color: #3d8f43;
}

.btn-increment strong,
.btn-decrement strong {
    font-size: 1.5rem;
    font-weight: normal;
    color: black;
    line-height: 1;
}

.btn-increment,
.btn-decrement {
    padding: 0;
}

button.close {
    display: none;
}

input,
button,
optgroup,
select,
textarea {
    font-size: 16px;
}

body {
    font-size: 1.2rem;
}



select#invoice {
    width: 95%;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #eee;
    background: #f7f7f7;
}

/*.userinfo table tbody td,*/
/*.userinfo table tbody th {*/
/*    padding: 0 1%;*/
/*}*/

.border-right {
    border-right: 2px solid #dee2e6;
}

.border-left {
    /*border-left: 2px solid #dee2e6;*/
}

.custom-form-section .container {
    display: flex;
    gap: 150px;
    background-color: #e0f7dc;
    padding: 20px;
}

.custom-form-section .left-section,
.custom-form-section .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-form-section .form-group {
    display: flex;
    flex-direction: column;
}

.custom-form-section .form-label {
    /*font-weight: bold;*/
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.custom-form-section .form-input {
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
}

.custom-form-section .form-inline-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-form-section .form-inline-group input {
    width: 50%;
    text-align: right;
}

.custom-form-section .form-inline-group span {
    width: 10%;
    text-align: center;
}

.custom-form-section .form-inline-group .full-width-input {
    width: 50%;
}





.items.quote-valid {
    width: 100%;
    background-color: #c8e6c9; /* Light green background */
    padding: 10px;
    /*border-radius: 8px;*/
}

/* Styling for the buttons */
.items.quote-valid input[type="submit"] {
    font-size: 1rem;
    margin: 0 5px; /* Equal margin between buttons */
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #03a9f4; /* Bright blue background */
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.items.quote-valid input[type="submit"]:hover {
    background-color: #0288d1; /* Darker blue on hover */
}

/* Styling for the quote text */
.items.quote-valid td:last-child p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333333;
    text-align: right;
    margin: 0;
}

/* Style for the label container to align items */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
}

/* Styling for the custom checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    background-color: #f0f0f0;
    border: 1px solid #bbb;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    vertical-align: middle; /* Aligns the checkbox vertically with text */
    margin-left: 5px; /* Space between text and checkbox */
}

/* Hover effect */
input[type="checkbox"]:hover {
    background-color: #e0e0e0;
    border-color: #888;
}

/* Checked state */
input[type="checkbox"]:checked {
    background-color: #03a9f4; /* Blue when checked */
    border-color: #03a9f4;
}

/* Checkmark styling */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.column-width {
    width: 6%;
}
td.title {
    width: 12%;
    font-size: 1.1rem;
}

.modal-body button{
    width: 2rem;
}
.modal-body button {
    min-width: 2rem !important;
    min-height: 2rem;
    margin-top: 0.2rem;
}

.modal {
    font-size: 1rem;
}


