H5 {
    letter-spacing: 1px;
}

BUTTON,
.green-btn {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    border-radius: 0px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 12px;
    display: inline-block;
    letter-spacing: 0;
}

#check-coupon-btn {
    font-size: 14px !important;
    margin-right: 5px;
}

#checkoutForm {
    margin: 0 5%;
}

#coupon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#coupon-percent-container {
    text-align: center;
}

BUTTON.secondary {
    background-color: #313131 !important;
    border-color: #313131 !important;
}

BUTTON.small {
    background-color: #494949 !important;
    border-color: #494949 !important;
    vertical-align: middle !important;
}
button.small.restoreEngravingBtn {
    background: #3f5f14 !important;
}

button.small.selectFromBankExamplesBtn {
    background: #6f19bf !important;
}

.twoInRow {
    display: flex;
}

#tabs {
    margin: auto;
    width: 100%;
    max-width: 1150px;
}

#tabs tr {
    display: flex;
}

#tabs TD {
    padding: 4px 18px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

#tabs TD:first-child A {
    color: #fff;
}

#tabs TD:last-child {
    min-width: 76px;
}

.colorsAndSizes {
    margin-bottom: 10px;
    width: 100%;
}

.colorsAndSizes .preview {
    vertical-align: top;
    padding: 10px;
    max-width: 80px;
    max-height: 80px;
    position: relative;
}

.colorsAndSizes .preview IMG {
    border: solid 2px var(--primaryColor);
    max-height: 100%;
    max-width: 100%;
}

.colorsAndSizes TH {
    border: solid 2px #ddd;
    font-size: 1.05em;
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

.colorsAndSizes .innerTable TD {
    border: solid 2px #ddd;
    padding: 5px;
}

.colorsAndSizes .innerTable TD:last-child {
    border: none;
}

.colorsAndSizes .subtotal {
    border: none;
    padding: 10px 5px 0 5px;
}

.colorsAndSizes .subtotalLabel {
    font-weight: bold;
    padding: 10px 5px 0 5px;
    text-align: left;
}

.colorsAndSizes TD .fa {
    cursor: pointer;
    font-size: 1.15em;
    margin-right: 5px;
}

#tab2,
#engravingsData,
#deliveryAddress {
    display: none;
}

.engravingType {
    border: solid 2px #ddd;
    margin-bottom: 30px;
    padding: 0 30px;
}

.engravingType .engravingTypeName {
    font-size: 32px;
    font-weight: bold;
    margin: 0 -30px 20px;
    text-align: center;
    padding: 9px 0;
    color: white;
    background-color: var(--primaryColor);
    position: relative;
}

.help {
    background-color: var(--primaryColor);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 0px 16px;
    position: absolute;
    margin-right: 16px;
}

.payment-description p {
    color: #525252 !important;
    font-size: 14px !important;
    margin-top: 10px;
    letter-spacing: normal;
}

.table-help-icon {
    background-color: #6a6d0c;
    padding: 5px 12px;
    top: 8px;
    left: 8px;
}

.engravingRow,
.shippingRow {
    border-bottom: solid 2px #ddd;
    font-size: 1.1em;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.engravingRow:last-child {
    border: none;
}

.engravingRow label {
    display: block;
}

.engravingRow .preview {
    float: right;
    margin-left: 15px;
    width: 80px;
    height: 100px;
}

.engravingRow .preview IMG {
    max-width: 80px;
    max-height: 100px;
    z-index: 1000;
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}

.engravingRow .preview IMG:hover {
    width: 220px;
    max-width: none;
    position: absolute;
    height: auto;
    max-height: none;
    top: -30px;
    right: -110px;
    border: 1px solid #4c4c4c;
    border-radius: 0px;
}

.engravingRow INPUT[type="checkbox"],
.shippingRow INPUT[type="radio"],
#regulations {
    width: 1.3em;
    height: 1.3em;
    vertical-align: -7px;
}

/*.engravingRow DIV[id^='engravingPrice'] {
}*/

.engravingRow .engravingFile {
    display: none;
    line-height: 1.5;
    padding-right: 20px;
    clear: right;
}

.engravingFile INPUT[type="file"] {
    display: none;
}

.engravingFile INPUT[type="text"],
.engravingFile select {
    width: 100%;
    max-width: 600px;
    border-radius: 1px;
    border: none;
    border-bottom: 1px solid black;
}
.engravingFile INPUT[type="text"]:focus,
.engravingFile select:focus {
    border-bottom: 1px solid var(--primaryColor);
}

.engravingFile SPAN {
    vertical-align: middle;
}

.engravingRow .engravingFile .previews {
    display: inline-block;
    text-align: right;
}

.file-preview {
    background-color: var(--bgColor77);
    border-radius: 0px;
    margin: 10px 0 10px 10px;
    padding: 14px;
    text-align: center;
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    position: relative;
}

#products-without-eng-container .file-preview {
    background: white;
}

.bg-white {
    background-color: white;
}

.item-container {
    padding: 8px 16px;
    border-bottom: 1px solid #31313133;
}

.previewsActionBtn {
    background-color: white;
    width: 30px;
    height: 30px;
    color: white;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
    border: 1px solid grey;

    z-index: 2;
}

.previewsActionBtn.addItemBtn:after {
    content: "\2714 \fe0e";
    color: white;
}

.previewsActionBtn.disabledBtn:after,
.previewsActionBtn.deleteImgBtn:after {
    content: "\2716 \fe0e";
    color: white;
}

.deleteImgBtn {
    background-color: #c24747;
}

.addItemBtn.disabledBtn {
    background-color: rgb(161, 161, 161);
}

.file-preview CANVAS {
    max-width: 100px;
    max-height: 100px;
}

#products-without-eng-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.tour button.btn {
    font-size: 14px !important;
    padding: 8px !important;
}

.tour .popover-title {
    text-align: right;
    letter-spacing: normal;
    font-weight: 700;
}

.tour .popover-content {
    text-align: right;
}
.tour {
    z-index: 9999999999 !important ;
}
.main-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    direction: rtl;
    text-align: center;
    padding: 10px;
    color: var(--primaryColor);
    font-size: 20px;
    font-weight: bold;
}

.file-preview IMG {
    margin-bottom: 7px;
    max-width: 100px;
    height: 100px;
    object-fit: scale-down;
}

.file-preview .file-link {
    direction: ltr;
    display: block;
    font-size: 0.75em;
}

/*.shippingRow LABEL {
	padding-right: 32px;
	text-indent: -37px;
}*/

.container FORM INPUT {
    font-size: 1.05em !important;
}

.container FORM SELECT {
    color: #999 !important;
    font-size: 1.05em !important;
}

.container FORM SELECT.optionSelected {
    color: #000 !important;
}

.container FORM SELECT OPTION {
    color: #000 !important;
}

.container FORM SELECT OPTION:first-child {
    color: #999 !important;
}

.container FORM TEXTAREA {
    font-size: 1.05em !important;
    height: 88px !important;
}

.container FORM .aprovals-checkboxes {
    text-align: right;
    margin-top: 10px;
    letter-spacing: normal;
    line-height: normal;
}

.container FORM #regulationsDiv A {
    text-decoration: underline;
}

.col-xs-6,
.col-xs-12 {
    padding: 0 12px;
}

.product-show-engravings-btn,
.open-painter {
    background: var(--primaryColor);
    padding: 8px !important;
    color: white;
    letter-spacing: 1px;
    font-size: 12px !important;
}

#Datepickk .d-title {
    padding: 4px 10px;
    border: 2px solid white;
}

.fa-pencil-alt,
.fa-ban {
    color: var(--primaryColor);
    cursor: pointer;
}

.selectFilesBtn,
.selectFromBankBtn,
.selectFromBankExamplesBtn,
.restoreEngravingBtn {
    padding: 8px !important;
    color: white;
    margin-top: 8px;
    font-size: 80% !important;
}

.restoreEngravingBtn {
    background: #888;
}

.accordion {
    background-color: transparent !important;
    color: #444 !important;
    cursor: pointer;
    padding: 18px !important;
    width: 100%;
    border: none;
    text-align: right;
    outline: none !important;
    font-size: 18px !important;
    transition: 0.4s;
    letter-spacing: normal;
}

.accordion.active,
.accordion:hover {
    background-color: #ccc;
}

.accordion-section {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    border-top: none;
    border-left: none;
    border-bottom: none !important;
    border-right: 1px solid #ccc;
}

.accordion .fa-chevron-left {
    margin-left: 10px;
    transition: transform 0.5s ease-in-out;
}

.accordion.active .fa-chevron-left {
    transform: translateY(2px) rotate(-90deg);
}

.accordion.completed:after {
    content: "\2705";
    font-size: 18px;
    float: left;
    margin-right: 5px;
}

.engravingColorHelper {
    font-size: 12px !important;
    font-weight: 700 !important;
    background: #aaa !important;
    height: 25px;
    line-height: 0px;
    border-radius: 10% !important;
    left: 30px;
    padding: 0 !important;
    margin: auto;
    top: 0;
    bottom: 0;
    padding: 0 6px !important;
}

.svgContainer {
    height: 200px;
    width: 300px;
    position: relative;
    margin: auto;
}

.svgContainer svg#svg {
    width: 100%;
    height: 100%;
}

.colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px;
}

.fg-colors,
.bg-colors,
.svg-img-type {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
}

.svg-img-type .types span {
    cursor: pointer;
    padding: 0 20px;
    border: 2px solid black;
    border-radius: 20px;
    font-size: 16px;
}

.svg-img-type .types span.active {
    border-color: var(--primaryColor);
    box-shadow: 0px 0px 2px 0px var(--primaryColor);
}

.color {
    height: 15px;
    width: 15px;
    margin-left: 0.5em;
    border-radius: 18px;
    cursor: pointer;
    margin: 2px;
}

.selectedEngravings .file-preview IMG {
    height: 50px;
    max-width: 50px;
}

.selectedEngravings .file-preview .deleteImgBtn {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

.selectedEngravings .file-preview .file-link {
    font-size: 0.65em;
}

.selectedEngravings h5 {
    font-size: 18px;
}

.selected-container {
    padding: 2px 0 0 0 !important;
    position: relative;
}

.selectedEngravings b {
    font-size: 16px;
}

.selectedEngravings .file-preview CANVAS {
    max-width: 50px;
    max-height: 50px;
}

@media only screen and (max-width: 480px) {
    .engravingColorHelper {
        left: 20px;
    }
    .menu_adiv {
        padding: 0;
    }
    .colorsAndSizes TR.innerTable TD.rowTotal {
        padding-left: 10px;
    }
    .colorsAndSizes .preview {
        padding-right: 0;
        padding-left: 4px;
    }
    .engravingRow .col-xs-10 {
        padding: 0;
    }
    .engravingRow .preview {
        width: 60px;
        height: 70px;
    }
    .engravingRow .preview IMG {
        max-width: 60px;
        max-height: 70px;
    }
    .previews .file-preview CANVAS {
        max-width: 70px;
        max-height: 80px;
    }
    .previews .file-preview IMG {
        max-width: 70px;
        max-height: 80px;
    }
    /**
	 * Author: Benny Adar
	 */
    /*.selected-extra-engrav-div {*/
    /*display: none;*/
    /*padding-right: 0 !important;*/
    /*padding-left: 0 !important;*/
    /*overflow-x: auto;*/
    /*}*/
    .selected-extra-engrav-table {
        display: block !important;
    }
}

.selected-extra-engrav-div {
    padding-right: 25px;
    padding-left: 25px;
    overflow-x: auto;
}

.shippingDescription {
    display: inline-block;
    width: 85%;
    font-weight: 800;
}

h2 {
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

h6 {
    font-weight: bold;
    margin-bottom: 16px;
    letter-spacing: 0;
    font-size: 14px;
}

#tab3 h2:not(.mainHeader) {
    margin-bottom: 0px;
}

.shippingDescription .comment {
    color: #313131;
    font-size: 0.9em;
    font-weight: 600;
}

.required-info {
    color: #a9a9a9;
    font-size: 14px;
}

.empty-cart a.green-btn {
    margin-top: 30px;
}

#thanksForm {
    margin-top: 30px;
}

#thanksForm .panel-heading {
    background: #fff;
    padding: 25px;
}

#thanksForm .panel-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.submit-form-panel {
    padding: 10px;
}

.contact-msg {
    top: 113px;
    right: 0;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.contact-msg.success {
    background: #dff2bf !important;
    color: #270;
}

.contact-msg.missing,
.contact-msg.failed {
    background: #ffbaba !important;
    color: #d8000c;
}

.nn-inputs-container {
    display: flex;
    flex-direction: row;
}

.how-to {
    margin-bottom: 15px;
    margin-top: 10px;
}

.how-to .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.how-to ul {
    margin-bottom: 10px;
}

.how-to ul li {
    margin-bottom: 5px;
}

.how-to ul li span {
    font-weight: bold;
    text-decoration: underline;
}

.how-to .more {
    font-weight: bold;
}

.allows {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

.why {
    margin-bottom: 20px;
    background-color: #ff9800cc;
    color: #fff;
    padding: 8px 30px;
}

.engravings_tabs {
    list-style-type: none;
    width: 100%;
    display: block;
    margin-bottom: 50px;
    text-align: center;
    padding-right: 0;
    display: none;
}

.engravings_tabs li {
    display: inline-block;
    width: 17%;
    margin-left: 3%;
    position: relative;
}

.engravings_tabs li:nth-child(5) {
    margin-left: 0;
}

.engravings_tabs li img {
    cursor: pointer;
    width: 100%;
    box-shadow: 0px 0px 9px 4px #f3f3f3;
    border: 2px solid #ffe500;
}

.engravings_tabs li input[type="checkbox"] {
    display: none;
}

/* .engravings_tabs li.silk img::before {
    content: "×¦×‘×¢ ××—×“";
    position: absolute;
    width: 40%;
    z-index: 1;
    background: #ffe500;
    padding: 4px;
    top: 10px;
    left: -21px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    font-size: 14px;
 }*/

.ribbon {
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 12px;
    /*  font-weight: bold;
*/
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    width: 100px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    left: -21px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79a70a;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79a70a;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #79a70a;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79a70a;
}

a.product-header-link:link > h5 {
    text-decoration: none;
    transition: 200ms all ease-in-out;
}

a.product-header-link:visited > h5 {
    text-decoration: none;
}

a.product-header-link:hover > h5 {
    text-decoration: underline;
    color: var(--primaryColor);
}

a.product-header-link:active > h5 {
    text-decoration: underline;
    color: var(--primaryColor);
}

.engravings_tabs li img:not(.active_eng) {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    border: 0;
}

.embroidery-section,
.digital-section,
.silk-pattern-section,
.name_numbers-section {
    display: none;
}

.engravings_tabs span {
    font-weight: 700;
}

.no-egravings,
.before-order-click,
.no-egravings-files,
.custom-engravings-alert {
    display: none;
}

button.disabled {
    border: 1px solid #999999 !important;
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
}

.nn-btn {
    font-size: 14px !important;
    padding: 6px !important;
    background: #313131 !important;
    border: none;
    letter-spacing: normal;
}

.add-row-new {
    display: inline-block;
    margin-left: 24px;
    color: var(--primaryColor);
    font-weight: bold;
    padding: 8px;
    cursor: pointer;
}

.add-row,
.update-nn-table {
    font-size: 18px !important;
    letter-spacing: normal;
    padding: 8px 14px !important;
}

.reset-order {
    float: left;
    margin: 10px 0 0 70px;
    font-size: 18px;
    background: #d23633;
    border-radius: 0;
    color: #fff;
    padding: 12px;
    cursor: pointer;
}

.d-n {
    display: none !important;
}

.d-ib {
    display: inline-block !important;
}

#Datepickk .d-legend p span {
    border-radius: 0;
    width: 30px;
    height: 30px;
    margin-left: 8px;
}

#Datepickk .d-legend p {
    line-height: 30px;
}

@media (min-width: 880px) {
    SPAN.checkoutStep {
        background-color: #494949;
        border-radius: 100%;
        color: #fff;
        font-weight: bold;
        padding: 4px 9px;
    }
}

@media (max-width: 992px) {
    SPAN.checkoutStep:after {
        content: ".";
    }
    .engravings_tabs li {
        width: 40%;
        margin-left: 10%;
        margin-bottom: 10px;
    }
    .engravings_tabs li:nth-child(2n) {
        margin-left: 0;
    }
    .engravingRow .engravingFile {
        padding: 10px 0;
    }
    li.plain span {
        font-size: 0.7em;
    }
    .reset-order {
        float: none;
        margin: 0;
        display: inline-block;
    }
}

.summary-table table {
    background-color: white;
}

#payment .card {
    position: relative;
    margin-bottom: 30px;
    padding: 20px 10px;
    border: 2px solid #eee;
    background: white;
}

#payment .card.active {
    border: 2px solid var(--primaryColor);
}

#payment label {
    font-weight: bold;
    font-size: 18px;
}

#payment .payment-description {
    margin-top: 10px;
    color: #525252;
    font-size: 14px;
    letter-spacing: normal;
}

#tab1 h2 {
    margin-bottom: 0px !important;
}

.engrav-exp-link {
    background: white;
    color: #1d6f42;
    border: 1px solid #1d6f42;
    margin-right: 20px;
    padding: 10px 10px;
    border-radius: 0px;
}

.engrav-exp-text {
    color: #1d6f42;
    font-weight: bold;
}

#iframe_payment_gateway {
    padding: 0px;
    margin: 0px;
}

/* Free Engravings Popup Dialog */
.fe-popup-dialog {
    position: relative;
    z-index: 100000000000000;
    background: #fff;
    width: 90%;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    height: 80%;
    display: flex;
    flex-direction: column;
}

.fe-popup-dialog .close-container {
    background-color: #313131;
    position: absolute;
    top: -12px;
    right: -12px;
    border-radius: 50%;
    color: white;
}

.fe-close-btn {
    color: white;
    cursor: pointer;
    text-align: center;
    width: 30px;
    float: left;
    font-size: 20px;
    font-weight: 600;
    height: 30px;
}

.fe-next-btn {
    padding: 10px 12px;
    color: white;
    cursor: pointer;
    text-align: center;
    width: 160px;
    float: left;
    font-size: 20px;
    font-weight: 600;
    height: 50px;
    box-shadow: 3px -3px 10px -2px var(--primaryColor);
    background: var(--primaryColor);
}

.fe-back-btn {
    padding: 10px 12px;
    color: #313131;
    cursor: pointer;
    text-align: center;
    width: 50px;
    font-weight: 600;
    height: 50px;
}

.fe-popup-dialog .msg {
    height: calc(100% - 100px);
    margin-bottom: 10px;
    padding: 10px 20px;
    display: grid;
    overflow-y: scroll;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.fe-next-btn-container {
    display: flex;
    flex-direction: row-reverse;
}

.fe-popup-dialog .panel-info {
    border-color: #313131;
    width: 100%;
    text-align: center;
}

.fe-popup-dialog .panel .img-contain {
    width: 100%;
    height: 150px;
    line-height: 150px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.fe-popup-dialog .panel .img-contain img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}
.restore-engravings-msg .panel .img-contain {
    height: fit-content;
}

.restore-engravings-msg .panel .img-contain img {
    height: 110px;
    width: 100%;
    object-fit: contain;
}

.fe-popup-dialog .panel-info > .panel-heading {
    color: white;
    background-color: #313131;
    border-color: black;
    font-size: 18px;
    font-weight: 600;
}

.fe-popup-dialog .panel-body button {
    background-color: var(--primaryColor) !important;
    letter-spacing: normal;
    border: none;
}

@media only screen and (max-width: 750px) {
    .fe-popup-dialog .msg {
        grid-template-columns: repeat(3, 1fr);
    }

    .fe-popup-dialog .panel-info > .panel-heading {
        font-size: 14px;
    }
}

@media only screen and (max-width: 500px) {
    .fe-popup-dialog .msg {
        grid-template-columns: repeat(2, 1fr);
    }

    .fe-popup-dialog .panel-info > .panel-heading {
        font-size: 12px;
    }
}

@media only screen and (max-width: 360px) {
    .fe-popup-dialog .msg {
        grid-template-columns: repeat(1, 1fr);
    }
}
