/*#main:before {*/
/*    content: "";*/
/*    width: 200%;*/
/*    height: 200%;*/
/*    z-index: -1;*/
/*    position: absolute;*/

/*    background-repeat: no-repeat;*/
/*    background-image: url(https://djm.com/wp-content/uploads/2020/10/LF-transparent-bg-small.png);*/
/*    background-size: 30%;*/

/*    !*top: -50%;*!*/
/*    !*left: -50%;*!*/
/*    !*background-repeat: space;*!*/
/*    !*background-image: url(https://djm.com/wp-content/uploads/2022/07/LF_copy_tagline_horizontal_goldwhite.png);*!*/
/*    !*background-size: 20%;*!*/
/*    !*background-color: #efefef;*!*/
/*    !*transform: rotate(-45deg);*!*/
/*}*/
/*#main, #wrapper {*/
/*    !*background-color: rgba(255,255,255, 50%) !important;*!*/
/*    overflow: hidden;*/
/*}*/
.page-djm-rfq-template {
    font-family: Rockwell;
    font-size: 14px;
    color: #666;
}
.page-djm-rfq-template table.invoice-items {
    margin-top: 40px;
}
.page-djm-rfq-template table td {
    padding-top: 4px;
}
.page-djm-rfq-template .logo-tag-row {
    display: flex;
    flex-direction: row;
    padding-bottom: 50px;
    /*align-items: center;*/
}
.page-djm-rfq-template .logo-tag-row > div {
    /*width: 50%;*/
}
.page-djm-rfq-template .logo-tag-row > div:last-of-type {
    /*text-align: right;*/
}
.page-djm-rfq-template .logo img {
    max-height: 80px;
    width: auto;
}
.page-djm-rfq-template .invoice-container {
    padding: 5%;
}
.page-djm-rfq-template .quote-tag-container {
    position: absolute;
    right: 5%;
}

.page-djm-rfq-template .quote-tag {
    background-color: #000000;
    color: #ffffff;
    font-size: 1.4em;
    padding: 15px 20px;
    width: 200px;
    position: relative;
    z-index: 3;
    text-align: center;
    font-weight: bold;
}

.page-djm-rfq-template .image-container,
.page-rfq-view .image-container {
    width: 75px;
    margin-right: 15px;
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}
.page-djm-rfq-template .rfq-product-description-container {
    display: flex;
    align-items: center;
	padding-bottom: 5px;
}
.page-djm-rfq-template .rfq-product-description .sku {
    font-size: 0.85em;
}
.page-djm-rfq-template .rfq-debug {
    font-size: 0.8em;
}
.page-djm-rfq-template .invoice-container-inner {
    border: 1px solid #000000;
    padding: 50px;
    position: relative;
    background-color: #ffffff;
}

.page-djm-rfq-template .invoice-items img,
.page-rfq-view .invoice-items img {
    max-width: 75px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.page-djm-rfq-template .bottom-arrow:after,
.page-djm-rfq-template .bottom-arrow:before {
    content: "";
    display: block;
    width: 103px;
    background-color: #000000;
    height: 25px;
    position:absolute;
    bottom:-13px;
    z-index:1;
}
.page-djm-rfq-template .bottom-arrow:after {
    transform:rotate(14deg);
    left: 2px;
}
.page-djm-rfq-template .bottom-arrow:before {
    transform:rotate(-14deg);
    right: 2px;
}

.page-djm-rfq-template .footer-tag,
.page-rfq-view .footer-tag,
.djm-rfq-quote-view .footer-tag {
    background-color: #000000;
    color: #ffffff;
    font-size: 1.4em;
    padding: 12px 20px;
    width: 200px;
    z-index: 3;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 13%;
}
.page-djm-rfq-template .up-arrow:after,
.page-djm-rfq-template .up-arrow:before {
    content: "";
    display: block;
    width: 103px;
    background-color: #000000;
    height: 25px;
    position:absolute;
    top:-13px;
    z-index:1;
}
.page-djm-rfq-template .up-arrow:after {
    transform:rotate(-14deg);
    left: 2px;
}
.page-djm-rfq-template .up-arrow:before {
    transform:rotate(14deg);
    right: 2px;
}

.page-djm-rfq-template table {
    border-collapse: collapse;
}
.page-djm-rfq-template table td.number {
    text-align: center;
}
.page-djm-rfq-template thead {
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
}
.page-djm-rfq-template thead td {
    color: #FFFFFF;
}
.page-djm-rfq-template table.no-border td {
    border: none !important;
}
.page-djm-rfq-template table thead tr:first-child td {
    border-top: 1px solid #333333;
}
.page-djm-rfq-template table td {
    border-left: 1px solid #333333;
    border-bottom: 1px solid #333333;
}
.page-djm-rfq-template table td:first-of-type {
    padding-left: 4px;
}
.page-djm-rfq-template table td:last-of-type {
    border-right: 1px solid #333333;
}
.page-djm-rfq-template .title-section td:nth-child(1),
.page-djm-rfq-template .title-section td:nth-child(2){
    width: 35%;
}
.page-djm-rfq-template .title-section .invoice-to {
    font-size: 1.1em;
    font-weight: bold;
    padding-bottom: 10px;
}
.page-djm-rfq-template .title-section .ship-to {
    font-size: 1.1em;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 10px;
}
.page-djm-rfq-template .title-section .name {
    font-weight: bold;
    font-size: 1.2em;
}
.page-djm-rfq-template .invoice-and-date {
    font-weight: bold;
    font-size: 0.9em;
    vertical-align: top;
}
.page-djm-rfq-template .invoice-and-date > div {
    padding-top:4px;
}
.page-djm-rfq-template .invoice-and-date-values > div {
    padding-top: 0px;
}
.page-djm-rfq-template .invoice-and-date-values {
    text-align: right;
    font-size: 1.1em;
}
.page-djm-rfq-template .total-text {
    padding: 20px 10px 15px 10px;
    color: #ffffff;
    background-color: #000000;
}
.page-djm-rfq-template .bold {
    font-weight: bold;
}
.page-djm-rfq-template td.no-border {
    border: none;
}
.page-djm-rfq-template .payment-td {
    padding-top: 25px;
}
.page-djm-rfq-template .footer-row,
.page-rfq-view .footer-row,
.djm-rfq-quote-view .footer-row {
    margin-top: 60px;
    margin-bottom: 40px;
    background-color: #ffffff;
}
.page-djm-rfq-template .contact-signature-table,
.page-rfq-view .contact-signature-table,
.djm-rfq-quote-view .contact-signature-table {
    background-color: #ffffff;
}
.page-djm-rfq-template .contact p {
    margin-bottom: 10px;
}
.page-djm-rfq-template .contact i {
    width: 25px;
}
.page-djm-rfq-template .contact .icon-envelop {
    margin-right: 5px;
}
.page-djm-rfq-template .contact-signature-table td:nth-child(1){
    width: 60%;
}
.page-djm-rfq-template .contact-signature-table td:nth-child(2){
    width: 40%;
    vertical-align: bottom;
}
.page-djm-rfq-template .signature-line {
    border-top: 1px solid #666666;
    padding-top: 12px;
}

/** RFQ **/
.page-request-for-quote-generator #main .gform_footer input[type=submit] {
    background-color: #d6b98b !important;
    color: #000000;
    padding: 6px 30px 0px 30px;
    border: none;
    min-height: 40px;
    height: 40px;
    text-transform: uppercase;
    font-size: 16px !important;
}
.page-request-for-quote-generator #main .gform_wrapper {
    font-family: "DIN Condensed";
    font-size: 16px !important;
}
.page-request-for-quote-generator #main .gform_wrapper legend {
    color: #717171;
    text-transform: uppercase;
}
.page-request-for-quote-generator #main .gform_wrapper label {
    text-transform: uppercase;
    font-size: 16px !important;
    width: 30%;
    color: #222222;
}
.page-request-for-quote-generator #main .gform_wrapper fieldset {
    width: 100%;
    max-width: 945px;
}
.page-request-for-quote-generator #main .gform_wrapper .ginput_container {
    width: 70%;
}
.page-request-for-quote-generator .gform_body .gfield {
    display: flex;
    flex-direction: row;
    width: 90%;
}
.page-request-for-quote-generator #main .address-section-tag {
    font-size: 20px;
    margin-top: 30px;
}
.page-request-for-quote-generator #main .address-section-tag:after {
    content: "";
    display: block;
    position: relative;
    height: 3px;
    width: 100%;
    margin-top: 8px;
    background-color: #d6b98b;
}
.page-request-for-quote-generator #main .full-width .ginput_container {
    width: 100% !important;
    padding-top: 30px;
}
.page-request-for-quote-generator #main .gfield.product_qty,
.page-request-for-quote-generator #main .gfield.product_delivery_date {
    /*display:flex;*/
    flex-direction: column !important;
    column-gap: 0px;
    row-gap: 0px;
    grid-column-gap: 0px;
}
.page-request-for-quote-generator #main .gfield.product_delivery_qty label {
    width: 100% !important;
}
.page-request-for-quote-generator #main .gfield.product_qty {
    padding-left: 20px;
    width: 100% !important;
    grid-column: span 7;
    grid-column: 4 / span 4;

}
.page-request-for-quote-generator #main .gfield.product_delivery_date label {
    width: 100% !important;
}
.page-request-for-quote-generator #main .gfield.product_delivery_date {
    width: 100% !important;
    grid-column: span 4;
}
.page-request-for-quote-generator #main .gfield.product_qty,
.page-request-for-quote-generator #main .gfield.product_delivery_date {
    /*display: inline-block !important;*/
}

.page-request-for-quote-generator #main .product-2 .hidden-form-field {
    display: none;
}
.page-request-for-quote-generator #main .product-separator {
    text-transform: uppercase;
    color: #333333;
}
.page-request-for-quote-generator #main .product-separator:after {
    content: "";
    display: block;
    position: relative;
    width: 50px;
    height: 2px;
    background-color: #333333;
}

#brx-content .gf-field-group {
    display: flex;
    flex-direction: row; /* Changed from column */
    flex-wrap: wrap;
    gap: 20px;
    grid-column: 1/-1;
}

#brx-content .gf-field-group > .gfield {
    flex: 1 1 calc(50% - 10px); /* Accounts for gap */
    max-width: calc(50% - 10px);
    box-sizing: border-box;
}

#brx-content .gfield_label {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    font-weight: 600;
}
.gfield_label > .gfield_required {
    padding-left: 5px;
}

#brx-content .ginput_container {
    width: 100%;
}

#brx-content .ginput_container input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
