{"id":3546,"date":"2021-01-16T18:11:37","date_gmt":"2021-01-16T18:11:37","guid":{"rendered":"http:\/\/www.ebiss-usa.com\/ebissuktest\/?page_id=3546"},"modified":"2021-01-16T18:12:36","modified_gmt":"2021-01-16T18:12:36","slug":"test-quote-calculator","status":"publish","type":"page","link":"https:\/\/www.ebiss-usa.com\/ebissuktest\/contact-2\/test-quote-calculator","title":{"rendered":"Test Quote Calculator"},"content":{"rendered":"\n<p>This is a test of the quote calculator<\/p>\n\n\n\n<p><strong><link rel='stylesheet' id='font-style-cc-css'  href='https:\/\/fonts.googleapis.com\/css?family=Open Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic&subset=cyrillic-ext,greek,vietnamese,latin-ext,cyrillic,latin,greek-ext' type='text\/css' media='all' \/>\t<style>\r\n\r\n\t\t\/* Numberbox Border *\/\r\n\t\t.number_box_text{\r\n\t\t\tborder: #F0F0F0 2px solid;\r\n            width: 90px;\r\n\t\t}\r\n \r\n\t\t\/* accordion *\/\r\n\t\t.scc-accordion {\r\n\t\tfont-size: 1.7rem !important;\r\n\t\tpadding: 10px 10px 10px 20px !important;\r\n\t\tborder-radius: 10px;\r\n\t\tmargin-top:20px;\r\n\t\tposition: relative;\r\n\t\tcolor: white;\r\n\t\ttext-decoration: none;\r\n\t\tdisplay: block;\r\n\t\tbackground-color: #2374dd;\r\n\t\t\/*\ttransition: 0.4s; *\/\r\n\t\t}\r\n\r\n\t\t.scc-accordion:not(.scc-accordion_active):after {\r\n\t\tposition: absolute;\r\n\t\tcontent: \"\";\r\n\t\tborder-top: 10px white solid;\r\n\t\tborder-left: 6px solid transparent;\r\n\t\tborder-right: 6px solid transparent;\r\n\t\tright: 22px;\r\n\t\ttop: 45%;\r\n\t\t\/*\ttransform: translatey(-6px); *\/\r\n\t\t}\r\n\t\t.scc-accordion_active {\r\n\t\tfont-size: 1.7rem !important;\r\n\t\tpadding: 10px 10px 10px 20px !important;\r\n\t\tborder-radius: 10px;\r\n\t\tfont-weight: 500;\r\n\t\tmargin-top:20px;\r\n\t\tposition: relative;\r\n\t\tcolor: white;\r\n\t\ttext-decoration: none;\r\n\t\tdisplay: block;\r\n\t\tbackground-color: #2374dd;\r\n\t\t\/*\ttransition: 0.4s; *\/\r\n\t\tcursor: pointer;\r\n\t\t}\r\n\t\t.scc-accordion_active:not(.scc-accordion):after {\r\n\t\tposition: absolute;\r\n\t\tcontent: \"\";\r\n\t\tborder-bottom: 12px white solid;\r\n\t\tborder-left: 7px solid transparent;\r\n\t\tborder-right: 7px solid transparent;\r\n\t\tright: 22px;\r\n\t\ttop: 40%;\r\n\t\t\/*\ttransform: translatey(-6px); *\/\r\n\t\t}\r\n\t\t.scc-accordion:not(.scc-accordion_active):hover {\r\n\t\topacity: .8;\r\n\t\tcolor: #fff;\r\n\t\tbackground: #B8B8B8;\r\n\t\tcursor:pointer;\r\n\t\t}\r\n\t\t.scc-accordion:not(.scc-accordion_active):hover:after {\r\n\t\tborder-top: 12px #ffffff solid;\r\n\t\t}\r\n\r\n\t\t.scc-accordion-panel {\r\n\r\n\t\tmax-height:0;\r\n\t\ttransition: max-height 0.6s ease-in-out;\r\n\t\tmargin-left: 10px;\r\n\t\toverflow: hidden;\r\n\t\t}\r\n\t\t.scc-accordion-panel-hidden {\r\n\t\t\tmargin: 0px !important;\r\n\t\t\tpadding: 0px !important;\r\n\t\t\t\r\n\t\t}\r\n\t\t.scc-accordion-panel-hidden > div > input {\r\n\t\tdisplay: none !important;\r\n\t\t}\r\n\t\t\/* accordion END *\/\r\n\t\t\/* The Modal (background) *\/\r\n\t\t.modalvideosSCC {\r\n\t\tdisplay: none; \/* Hidden by default *\/\r\n\t\tposition: fixed; \/* Stay in place *\/\r\n\t\tz-index: 1; \/* Sit on top *\/\r\n\t\tpadding-top: 105px; \/* Location of the box *\/\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\twidth: 100%; \/* Full width *\/\r\n\t\theight: 100%; \/* Full height *\/\r\n\t\toverflow: auto; \/* Enable scroll if needed *\/\r\n\t\tbackground-color: rgb(0,0,0); \/* Fallback color *\/\r\n\t\tbackground-color: rgba(0,0,0,0.4); \/* Black w\/ opacity *\/\r\n\t\t}\r\n\t\t.modalsupportSCC {\r\n\t\tdisplay: none; \/* Hidden by default *\/\r\n\t\tposition: fixed; \/* Stay in place *\/\r\n\t\tz-index: 1; \/* Sit on top *\/\r\n\t\tpadding-top: 105px; \/* Location of the box *\/\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\twidth: 100%; \/* Full width *\/\r\n\t\theight: 100%; \/* Full height *\/\r\n\t\toverflow: auto; \/* Enable scroll if needed *\/\r\n\t\tbackground-color: rgb(0,0,0); \/* Fallback color *\/\r\n\t\tbackground-color: rgba(0,0,0,0.4); \/* Black w\/ opacity *\/\r\n\t\t}\r\n\t\t\/* Modal Content *\/\r\n\t\t.scc-modal-content-2020-videosSCC {\r\n\t\tbackground-color: rgba(245, 245, 245, 0.95);\r\n\t\tmargin: auto;\r\n\t\tpadding: 20px;\r\n\t\tborder: 1px solid #888;\r\n\t\twidth: 100%;\r\n\t\tmax-width: 1200px;\r\n\t\t}\r\n\t\t.scc-modal-content-2020-supportSCC {\r\n\t\tbackground-color: rgba(245, 245, 245, 0.95);\r\n\t\tmargin: auto;\r\n\t\tpadding: 20px;\r\n\t\tborder: 1px solid #888;\r\n\t\twidth: 100%;\r\n\t\tmax-width: 1000px;\r\n\t\t}\r\n\r\n\t\t.modal-open {\r\n\t\toverflow: hidden;\r\n\t\t}\r\n\t\t.scc-modal-2020 {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 1050;\r\n\t\tdisplay: none;\r\n\t\toverflow: hidden;\r\n\t\t-webkit-overflow-scrolling: touch;\r\n\t\toutline: 0;\r\n\t\t}\r\n\t\t.modal.fade .scc-modal-dialog-2020 {\r\n\t\t-webkit-transform: translate(0, -25%);\r\n\t\t-ms-transform: translate(0, -25%);\r\n\t\t-o-transform: translate(0, -25%);\r\n\t\ttransform: translate(0, -25%);\r\n\t\t-webkit-transition: -webkit-transform 0.3s ease-out;\r\n\t\t-o-transition: -o-transform 0.3s ease-out;\r\n\t\ttransition: -webkit-transform 0.3s ease-out;\r\n\t\ttransition: transform 0.3s ease-out;\r\n\t\ttransition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out, -o-transform 0.3s ease-out;\r\n\t\t}\r\n\t\t.modal.in .scc-modal-dialog-2020 {\r\n\t\t-webkit-transform: translate(0, 0);\r\n\t\t-ms-transform: translate(0, 0);\r\n\t\t-o-transform: translate(0, 0);\r\n\t\ttransform: translate(0, 0);\r\n\t\t}\r\n\t\t.modal-open .scc-modal-2020 {\r\n\t\toverflow-x: hidden;\r\n\t\toverflow-y: auto;\r\n\t\t}\r\n\t\t.scc-modal-dialog-2020 {\r\n\t\tposition: relative;\r\n\t\twidth: auto;\r\n\t\tmargin: 10px;\r\n\t\t}\r\n\t\t.scc-modal-content-2020 {\r\n\t\tposition: relative;\r\n\t\tbackground-color: #fff;\r\n\t\tbackground-clip: padding-box;\r\n\t\tborder: 1px solid #999;\r\n\t\tborder: 1px solid rgba(0, 0, 0, 0.2);\r\n\t\tborder-radius: 6px;\r\n\t\t-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\r\n\t\tbox-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\r\n\t\toutline: 0;\r\n\t\t}\r\n\t\t.modal-backdrop {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tright: 0;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\tz-index: 1040;\r\n\t\tbackground-color: #000;\r\n\t\t}\r\n\t\t.modal-backdrop.fade {\r\n\t\tfilter: alpha(opacity=0);\r\n\t\topacity: 0;\r\n\t\t}\r\n\t\t.modal-backdrop.in {\r\n\t\tfilter: alpha(opacity=50);\r\n\t\topacity: 0.5;\r\n\t\t}\r\n\t\t.scc-modal-header-2020 {\r\n\t\tpadding: 15px;\r\n\t\tborder-bottom: 1px solid #e5e5e5;\r\n\t\t}\r\n\t\t.scc-modal-header-2020 .close {\r\n\t\tmargin-top: -2px;\r\n\t\t}\r\n\t\t.scc-modal-title-2020 {\r\n\t\tmargin: 0;\r\n\t\tline-height: 1.42857143;\r\n\t\t}\r\n\t\t.scc-modal-body-2020 {\r\n\t\tposition: relative;\r\n\t\tpadding: 15px;\r\n\t\t}\r\n\t\t.modal-footer {\r\n\t\tpadding: 15px;\r\n\t\ttext-align: right;\r\n\t\tborder-top: 1px solid #e5e5e5;\r\n\t\t}\r\n\t\t.modal-footer .btn + .btn {\r\n\t\tmargin-bottom: 0;\r\n\t\tmargin-left: 5px;\r\n\t\t}\r\n\t\t.modal-footer .btn-group .btn + .btn {\r\n\t\tmargin-left: -1px;\r\n\t\t}\r\n\t\t.modal-footer .btn-block + .btn-block {\r\n\t\tmargin-left: 0;\r\n\t\t}\r\n\t\t.modal-scrollbar-measure {\r\n\t\tposition: absolute;\r\n\t\ttop: -9999px;\r\n\t\twidth: 50px;\r\n\t\theight: 50px;\r\n\t\toverflow: scroll;\r\n\t\t}\r\n\t\t@media (min-width: 768px) {\r\n\t\t.scc-modal-dialog-2020 {\r\n\t\twidth: 600px;\r\n\t\tmargin: 30px auto;\r\n\t\t}\r\n\t\t.scc-modal-content-2020 {\r\n\t\t-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\r\n\t\tbox-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\r\n\t\t}\r\n\t\t.modal-sm {\r\n\t\twidth: 300px;\r\n\t\t}\r\n\t\t}\r\n\t\t@media (min-width: 992px) {\r\n\t\t.modal-lg {\r\n\t\twidth: 900px;\r\n\t\t}\r\n\t\t}\r\n\t\t.scc-modal-header-2020:before,\r\n\t\t.scc-modal-header-2020:after,\r\n\t\t.modal-footer:before,\r\n\t\t.modal-footer:after {\r\n\t\tdisplay: table;\r\n\t\tcontent: \" \";\r\n\t\t}\r\n\t\t.scc-modal-header-2020:after,\r\n\t\t.modal-footer:after {\r\n\t\tclear: both;\r\n\t\t}\r\n\r\n\t\t\/* paypal button  starts *\/\r\n\t\t.btPayPalButtonCustom {\r\n\t\tdisplay: flex;\r\n\t\tmargin: 0;\r\n\t\tbackground: transparent;\r\n\t\tborder: #2374dd 2px solid;\r\n\t\tborder-radius: 50px;\r\n\t\t\/*\tmargin-right: -100%;*\/\r\n\t\twidth: 140px;\r\n\t\twidth: 140px;\r\n\t\theight: 51px;\r\n\t\tcursor: pointer;\r\n\t\t-webkit-transition: box-shadow 380ms ease;\r\n\t\ttransition: box-shadow 380ms ease;\r\n\t\tbackground-position: center center;\r\n\t\tbackground-size: 70%;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\tflex: 0 0 130px;\r\n\t\tmargin-left: 6px;\r\n\t\t}\r\n\t\t.rtl .btPayPalButtonCustom {\r\n\t\tmargin-left: 0;\r\n\t\tmargin-right: 30px;\r\n\t\t}\r\n\t\t.btPayPalButtonCustom:hover {\r\n\t\t\/* box-shadow: 0 0 0 #2374dd inset, 0 1px 5px rgba(0,0,0,0.2); *\/\r\n\t\tbox-shadow: 2px 2px 3px 1px #2374dd;\r\n\t\t}\r\n\t\t\/* paypal button  ends *\/\r\n\t\t\/*\r\n\t\tCHECKBOX BUTTON  Start\r\n\t\t*\/\r\n\t\t.label-cbx input:checked + .checkbox {\r\n\t\tborder-color: #2374dd;\r\n\t\t}\r\n\t\t.label-cbx input:checked + .checkbox svg path {\r\n\t\tfill: #2374dd;\r\n\t\t}\r\n\t\t.label-cbx .checkbox svg path {\r\n\t\tfill: none;\r\n\t\tstroke: #2374dd;\r\n\t\tstroke-width: 2;\r\n\t\tstroke-linecap: round;\r\n\t\tstroke-linejoin: round;\r\n\t\tstroke-dasharray: 71px;\r\n\t\tstroke-dashoffset: 71px;\r\n\t\ttransition: all 0.6s ease;\r\n\t\t}\r\n\t\t\/*\r\n\t\tCHECKBOX BUTTON  Start\r\n\t\t*\/\r\n\t\t\/*\r\n\t\tRADIO BUTTON NORMAL Start\r\n\t\t*\/\r\n\t\t.itemCreated input[type=\"radio\"] + label:after {\r\n\t\tbox-shadow: inset 0 0 0 1px #666565, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t.itemCreated input[type=\"radio\"] + label:hover {\r\n\t\tcolor: #2374dd!important;\r\n\t\t}\r\n\t\t.itemCreated input[type=\"radio\"] + label:hover:after {\r\n\t\tanimation-duration: .5s;\r\n\t\tanimation-name: change-size;\r\n\t\tanimation-iteration-count: infinite;\r\n\t\tanimation-direction: alternate;\r\n\t\tbox-shadow: inset 0 0 0 1px #2374dd, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t.itemCreated input[type=\"radio\"]:checked + label:after {\r\n\t\tanimation-duration: .2s;\r\n\t\tanimation-name: select-radio;\r\n\t\tanimation-iteration-count: 1;\r\n\t\tanimation-direction: Normal;\r\n\t\tbox-shadow: inset 0 0 0 1px #2374dd, inset 0 0 0 3px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\r\n\t\t.scc_customradio_style_1 {\r\n\t\t\tdisplay: initial !important;\r\n\t\t\twidth:100% !important;\r\n\t\t}\r\n\r\n\r\n\t\t.scc_customradio input[type=\"radio\"] + label:after {\r\n\t\t\tbox-shadow: inset 0 0 0 1px #666565, inset 0 0 0 16px #f6f6f6 , inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t.scc_customradio input[type=\"radio\"] + label:hover {\r\n\t\tcolor: #2374dd!important;\r\n\t\t}\r\n\t\t.scc_customradio input[type=\"radio\"] + label:hover:after {\r\n\t\tanimation-duration: .5s;\r\n\t\tanimation-name: change-size;\r\n\t\tanimation-iteration-count: infinite;\r\n\t\tanimation-direction: alternate;\r\n\t\tbox-shadow: inset 0 0 0 1px #2374dd, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t.scc_customradio input[type=\"radio\"]:checked + label:after {\r\n\t\tanimation-duration: .2s;\r\n\t\tanimation-name: select-radio;\r\n\t\tanimation-iteration-count: 1;\r\n\t\tanimation-direction: Normal;\r\n\t\tbox-shadow: inset 0 0 0 1px #2374dd, inset 0 0 0 3px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t@keyframes change-size {\r\n\t\tfrom {\r\n\t\tbox-shadow: 0 0 0 0 #2374dd, inset 0 0 0 1px #2374dd, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\tto {\r\n\t\tbox-shadow: 0 0 0 1px #2374dd, inset 0 0 0 1px #2374dd, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t}\r\n\t\t@keyframes select-radio {\r\n\t\t0% {\r\n\t\tbox-shadow: 0 0 0 0 #2374dd, inset 0 0 0 2px #FFFFFF, inset 0 0 0 3px #2374dd, inset 0 0 0 16px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t90% {\r\n\t\tbox-shadow: 0 0 0 10px #E8FFF0, inset 0 0 0 0 #FFFFFF, inset 0 0 0 1px #2374dd, inset 0 0 0 2px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t100% {\r\n\t\tbox-shadow: 0 0 0 12px #E8FFF0, inset 0 0 0 0 #FFFFFF, inset 0 0 0 1px #2374dd, inset 0 0 0 3px #FFFFFF, inset 0 0 0 16px #2374dd;\r\n\t\t}\r\n\t\t}\r\n\t\t\/*\r\n\t\tRADIO BUTTON NORMAL End\r\n\t\t*\/\r\n\r\n\t\t\/*\r\n\t\tRADIO BUTTON ANIMATED Start\r\n\t\t*\/\r\n\t\t.btn-radio svg path {\r\n\t\tstroke: #2374dd;\r\n\t\t}\r\n\t\t\/*\r\n\t\tRADIO BUTTON ANIMATED End\r\n\t\t*\/\r\n\r\n\t\tspan.scc_cuurency {\r\n\t\tbackground: #2374dd;\r\n\t\tpadding: 13px;\r\n\t\tborder-radius: 36px;\r\n\t\tposition: relative;\r\n\t\tleft: -2px;\r\n\t\ttop: 1px;\r\n\t\t}\r\n\t\t.scc_header_dash_2{\r\n\t\tcontent: ' ';\r\n\t\tclear: both;\r\n\t\twidth: 100%;\r\n\t\tdisplay: block;\r\n\t\tmargin-bottom: 10px;\r\n\t\tmargin-top:5px;\r\n\t\tborder: 1px solid #F9F9F9 ;\r\n\t\t}\r\n\t\t.dd-scc .ddTitle .ddTitleText img\r\n\t\t{\r\n\t\t-webkit-box-shadow: 5px 0 0 #2374dd inset, 0 2px 10px rgba(0,0,0,.2);\r\n\t\t}\r\n\t\t.scc_font_2{\r\n\t\tfont-family: Open Sans!important ;\r\n\t\tcolor: #000 !important;\r\n\t\tfont-size: 16px !important;\r\n\t\tfont-weight: normal;\r\n\t\tmax-width: 850px;\r\n\t\ttext-align: left;\r\n\t\t}\r\n\t\t.scc_fonttitle_2{\r\n\t\tfont-family:  ;\r\n\t\tcolor: #2374dd !important;\r\n\t\tfont-size: 30px !important;\r\n\t\tpadding-top:40px;\r\n\t\t}\r\n\t\t.scc_fontDesc_2{\r\n\t\tfont-family:  ;\r\n\t\tcolor: #2374dd !important;\r\n\t\tpadding-bottom:20px;\r\n\t\t}\r\n\t\t\/* .can-toggle.demo-rebrand-2 label .can-toggle__switch_2 {\r\n\t\theight: 49px !important;\r\n\t\tflex: 0 0 120px;\r\n\t\tborder-radius: 60px;\r\n\t\t}\r\n\t\t.can-toggle.demo-rebrand-2 label .can-toggle__switch_2:after {\r\n\t\ttop: 1px;\r\n\t\tleft: 2px;\r\n\t\tborder-radius: 30px;\r\n\t\twidth: 58px;\r\n\t\tline-height: 47px !important;\r\n\t\tfont-size: 13px;\r\n\t\t}\r\n\t\t.can-toggle.demo-rebrand-2 label .can-toggle__switch_2:before {\r\n\t\tleft: 60px;\r\n\t\tfont-size: 13px;\r\n\t\tline-height: 47px !important;\r\n\t\twidth: 60px;\r\n\t\tpadding: 3px 12px;\r\n\t\t} *\/\r\n\t\t\/***********************************************************************\/\r\n\t\t\/* .can-toggle label .can-toggle__switch_2 {\r\n\t\theight: 48px !important;\r\n\t\tflex: 0 0 134px;\r\n\t\tborder-radius: 4px;\r\n\t\t}\r\n\t\t.can-toggle label .can-toggle__switch_2:before {\r\n\t\tleft: 67px;\r\n\t\tfont-size: 12px;\r\n\t\tline-height: 46px !important;\r\n\t\twidth: 67px;\r\n\t\tpadding: 3px 12px;\r\n\t\t}\r\n\t\t.can-toggle label .can-toggle__switch_2:after {\r\n\t\ttop: 2px;\r\n\t\tleft: 2px;\r\n\t\tborder-radius: 2px;\r\n\t\twidth: 65px;\r\n\t\tline-height: 46px !important;\r\n\t\tfont-size: 12px;\r\n\t\t} *\/\r\n\t\t.slider-handle_2{\r\n\t\tbackground: #2374dd;\r\n\t\t\/* height: 50px;\r\n\t\twidth: 50px;\r\n\t\t\/* top: -15px;\r\n\t\theight: 30px;\r\n\t\twidth: 30px; *\/\r\n\t\tmargin-top: 2px;\r\n\t\t}\r\n\t\t#myPREVIEW .totalPrice_2 p{\r\n\t\t\/*margin-top: -45px;*\/\r\n\t\tfont-family:  ;\r\n\t\tcolor: #2374dd !important;\r\n\t\tfont-size:  35px !important;\r\n\t\tmargin-bottom: 20px;\r\n\t\tfont-size: 18px;\r\n\t\ttext-align: center;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tdisplay:block;\r\n\t\ttext-align:right;\r\n\t\theight: 100%;\r\n\t\t\/*padding-left: 10px!important;*\/\r\n\t\tpadding: 10px;\r\n\t\t\/*box-shadow: 3px 2px 3px 0px #d8d8d2;*\/\r\n\t\t}\r\n\t\t.totalPrice_2{\r\n\t\t\/*margin-top: -45px;*\/\r\n\t\tfont-family:  ;\r\n\t\tcolor: #2374dd !important;\r\n\t\tfont-size:  35px !important;\r\n\t\tmargin-bottom: 20px;\r\n\t\tfont-size: 18px;\r\n\t\ttext-align: center;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tdisplay:block;\r\n\t\ttext-align:right;\r\n\t\theight: 100%;\r\n\t\t\/*padding-left: 10px!important;*\/\r\n\t\tpadding: 10px;\r\n\t\t\/*box-shadow: 3px 2px 3px 0px #d8d8d2;*\/\r\n\t\t}\r\n\t\t.printTable{\r\n\t\tbackground: #2374dd !important;\r\n\t\tcolor: #fff;\r\n\t\tborder-radius: 80px;\r\n\t\tfont-size: 14px;\r\n\t\ttext-align: center;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\twidth:auto;\r\n\t\tpadding: 10px;\r\n\t\tmargin: 1px 5px 5px 5px;\r\n\t\t\/* box-shadow: 3px 2px 3px 0px #d8d8d2; *\/\r\n\t\t}\r\n\t\t.pretty input:checked~.state.p-success label:after, .pretty.p-toggle .state.p-success label:after{\r\n\t\tbackground-color: #2374dd !important;\r\n\t\t}\r\n\t\t.slider .tooltip-inner {\r\n\t\tpadding: 10px 2px;\r\n\t\tcolor: white; \/*#2374dd; *\/\r\n\t\t\/* \/\/line-height: 46px !important; *\/\r\n\t\tmargin-top: 29px;\r\n\t\tmargin-right: -22px;\r\n\t\tbackground-color: transparent;\r\n\t\t}\r\n\t\t.slider-selection {\r\n\t\tposition: absolute;\r\n\t\tbackground-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);\r\n\t\tbackground-image: -o-linear-gradient(top, #f9f9f9 0%, #f5f5f5 100%);\r\n\t\tbackground-image: linear-gradient(to bottom, #2374dd 0%, #f5f5f5 100%);\r\n\t\tbackground-color: #2374dd !important;\r\n\t\t}\r\n\t\t.slider.slider-horizontal .slider-track {\r\n\t\theight: 8px;\r\n\t\twidth: 100%;\r\n\t\tmargin-top: -1px;\r\n\t\ttop: 50%;\r\n\t\tleft: 0;\r\n\t\t}\r\n\t\t.scc_wrapper .tooltip-arrow {\r\n\t\tposition: absolute;\r\n\t\twidth: 0;\r\n\t\theight: 0;\r\n\t\tborder-color: transparent;\r\n\t\tborder-style: none;\r\n\t\t}\r\n\t\t.container_scccheck_2 input:checked ~ .checkmark {\r\n\t\tbackground-color: #2374dd;\r\n\t\t}\r\n\t\t.container_sccradio_2 input:checked ~ .checkmark {\r\n\t\tbackground-color: #2374dd;\r\n\t\t}\r\n\t\t.scchidenmodal {\r\n\t\tposition: fixed;\r\n\t\tleft: 0;\r\n\t\ttop: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tbackground-color: rgba(0, 0, 0, 0.5);\r\n\t\topacity: 0;\r\n\t\tvisibility: hidden;\r\n\t\ttransform: scale(1.1);\r\n\t\ttransition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;\r\n\t\t}\r\n\t\t.scc-modal-content-2020 {\r\n\t\tposition: absolute;\r\n\t\ttop: 50%;\r\n\t\tleft: 50%;\r\n\t\ttransform: translate(-50%, -50%);\r\n\t\tbackground-color: white;\r\n\t\tpadding: 1rem 1.5rem;\r\n\t\twidth: 24rem;\r\n\t\tborder-radius: 0.5rem;\r\n\t\t}\r\n\t\t.close-button {\r\n\t\tfloat: right;\r\n\t\twidth: 1.5rem;\r\n\t\tline-height: 1.5rem;\r\n\t\ttext-align: center;\r\n\t\tcursor: pointer;\r\n\t\tborder-radius: 0.25rem;\r\n\t\tbackground-color: lightgray;\r\n\t\t}\r\n\t\t.close-button:hover {\r\n\t\tbackground-color: darkgray;\r\n\t\t}\r\n\t\t.sccshowmodal {\r\n\t\topacity: 1;\r\n\t\tvisibility: visible;\r\n\t\ttransform: scale(1.0);\r\n\t\ttransition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;\r\n\t\t}\r\n\t\t.checkbox-inline {\r\n\t\tcolor: #2374dd !important;\r\n\t\t}\r\n\t\t\/* Start dynamic color for checkboxes *\/\r\n\t\t.can-toggle label .can-toggle__switch:after {\r\n\t\tcolor: #2374dd;\r\n\t\t}\r\n\t\t.can-toggle input[type=\"checkbox\"]:checked ~ label .can-toggle__switch:after {\r\n\t\tcolor: #2374dd;\r\n\t\t}\r\n\t\t.can-toggle input[type=\"checkbox\"]:focus ~ label .can-toggle__switch, .can-toggle input[type=\"checkbox\"]:hover ~ label .can-toggle__switch {\r\n\t\tbackground-color: #2374dd !important;\r\n\t\t}\r\n\t\t.can-toggle label .can-toggle__switch {\r\n\t\ttransition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);\r\n\t\tbackground: #2374dd;\r\n\t\tbackground-color: #2374dd;\r\n\t\t}\r\n\t\t.can-toggle__switch.can-toggle__switch_2{\r\n\t\tborder: 0px solid #2374dd !important;\r\n\t\t}\r\n\t\t.can-toggle input[type=\"checkbox\"]:checked ~ label .can-toggle__switch{\r\n\t\tcolor: #2374dd;\r\n\t\tbackground-color: #2374dd;\r\n\t\t}\r\n\t\t.can-toggle input[type=\"checkbox\"]:checked:focus ~ label .can-toggle__switch, .can-toggle input[type=\"checkbox\"]:checked:hover ~ label .can-toggle__switch {\r\n\t\tbackground-color: #2374dd;\r\n\t\t}\r\n\t\t\/* End dynamic color for checkboxes *\/\r\n\t\t.checkbox-inline.btn-selected {\r\n\t\tbackground: #2374dd !important;\r\n\t\t}\r\n\t\t.scc_sentemail_quotes {\r\n\t\tmax-width: 850px;\r\n\t\t}\r\n\t\t\r\n\t\t\/* popup for email quote testing without bootstrap *\/\r\n\t\t\/* Outer *\/\r\n\t\t.scc-email-popup {\r\n\t\twidth:100%;\r\n\t\theight:100%;\r\n\t\tdisplay:none;\r\n\t\tposition:fixed;\r\n\t\ttop:0px;\r\n\t\tleft:0px;\r\n\t\tbackground:rgba(0,0,0,0.75);\r\n\t\tz-index: 100;\r\n\t\t}\r\n\t\t\/* Inner *\/\r\n\t\t.scc-email-popup-inner {\r\n\t\tmax-width: 650px;\r\n\t\twidth: 100%;\r\n\t\tborder: 5px solid #2374dd;\r\n\t\tpadding:40px;\r\n\t\tposition:absolute;\r\n\t\ttop:50%;\r\n\t\tleft:50%;\r\n\t\t-webkit-transform:translate(-50%, -50%);\r\n\t\ttransform:translate(-50%, -50%);\r\n\t\tbox-shadow:0px 2px 6px rgba(0,0,0,1);\r\n\t\tborder-radius:6px;\r\n\t\tbackground:#fff;\r\n\t\t}\r\n\t\t\/* Close Button *\/\r\n\t\t.scc-email-popup-close {\r\n\t\twidth:30px;\r\n\t\theight:30px;\r\n\t\tpadding-top:4px;\r\n\t\tdisplay:inline-block;\r\n\t\tposition:absolute;\r\n\t\ttop:0px;\r\n\t\tright:0px;\r\n\t\tfont-size:25px;\r\n\t\ttext-align:center;\r\n\t\tline-height:100%;\r\n\t\tcolor:#000;\r\n\t\t}\r\n\t\t.scc-email-popup-close:hover {\r\n\t\ttext-decoration: none;\r\n\t\t}\r\n\t\t.trn.scc-quote-head {\r\n\t\twidth: 100%;\r\n\t\tborder-bottom: 1px solid #dedede;\r\n\t\tdisplay: block;\r\n\t\tpadding: 0px 0px 10px 0px;\r\n\t\t}\r\n\t\t#sccidsent {\r\n\t\tpadding: 20px 0px 0px 0px;\r\n\t\t}\r\n\t\t.scc_wrapper .input-number-decrement, .scc_wrapper .input-number-increment {\r\n\t\t\tbackground: #F9F9F9;\r\n            border: #F9F9F9 0px solid !important;\r\n            color: #000!important;\r\n\t\t}\r\n\t\t\/* popup for email quote testing without bootstrap *\/\r\n\t<\/style>\r\n\t\t<script>\r\n\t\tif (!window.hasOwnProperty('scc_jQuery')) {\r\n\t\t\tscc_jQuery = window.jQuery;\r\n\t\t}\r\n\t\t\/\/ INITIALIZING GLOBAL COUPON VARIABLE\r\n\t\tcoupon = null\r\n\r\n\t\t\/\/ DISPLAYING SSC VERSION\r\n\t\t\t\tvar scc_version = \"You are not admin\"\r\n\t\tconsole.log('-------------------------------------------------')\r\n\t\tconsole.log('|                                               |')\r\n\t\tconsole.log('|              SCC VER: ' + scc_version + '                   |')\r\n\t\tconsole.log('|                                               |')\r\n\t\tconsole.log('-------------------------------------------------')\r\n\t\tvar modal = document.querySelector(\"#css_modal\");\r\n\t\tvar trigger = document.querySelector(\".trigger\");\r\n\t\tvar closeButton = document.querySelector(\".close-button\");\r\n\t\tfunction toggleModal() {\r\n\t\t\tscc_jQuery(modal).attr(\"class\", \"sccshowmodal\");\r\n\t\t}\r\n\t\tfunction CloseModal() {\r\n\t\t\tscc_jQuery(modal).attr(\"class\", \"scchidenmodal\");\r\n\t\t}\r\n\t\tfunction SCCOpenModal(){\r\n\r\n\t\t\tvar scc_mandatory = '';\r\n\t\t\t\/\/ check if mandatory dropdowns are empty\r\n\t\t\tscc_jQuery('.mandatory_yes').each(function(){\r\n\t\t\t\tif(scc_jQuery(this).val() ==''){\r\n\t\t\t\t\tscc_jQuery(this).parent().parent().find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !');\r\n                    scc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');\r\n\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\tscrollTop: scc_jQuery(this).offset().top\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n\t\t\t\t\t\tinitTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n                    }\r\n                    checkIfParentIsAccordionAndOpenIt(this)\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t\/\/ check if mandatory checkbox\/button\/switches are checked\r\n\t\t\tscc_jQuery('[data-mandatory=yes]').each((i,e) => {\r\n\t\t\t\tisNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))\r\n\t\t\t\tif (isNoneChecked) {\r\n\t\t\t\t\tscc_jQuery(e).find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !').css('display','block');\r\n\t\t\t\t\tscc_jQuery(e).parent().find('.scc-accordion').click();\r\n\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\tscrollTop: scc_jQuery(e).offset().top\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t} else {\r\n\t\t\t\t\tscc_jQuery(e).find('.alert-danger').hide();\r\n\t\t\t\t\t\/\/ scc_mandatory == '';\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\tif(scc_mandatory == ''){\r\n\r\n\t\t\t\tscc_jQuery('.alert-danger').html('');\r\n\t\t\t\tscc_jQuery('.alert-danger').css('display','none');\r\n\r\n\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\tscrollTop: scc_jQuery(\"#sccidsent\").offset().top\r\n\t\t\t\t}, 1000)\r\n\t\t\t\tscc_jQuery('#sccidsent').toggle();\r\n\t\t\t\t\/\/   scc_jQuery('#sccidsent').css('display','block');\r\n\t\t\t\t\/\/   scc_jQuery('.hover_bkgr_fricctableprice').show();\r\n\t\t\t\tscc_jQuery('#sccprinterid').attr('style','display:none !important');\r\n\t\t\t\tscc_jQuery('#sccemailid').show();\r\n\t\t\t\t\/\/   scc_jQuery('#sccidsent').show();\r\n\t\t\t}\r\n\t\t}\r\n\t\tfunction ClosePopup_scc2(){\r\n\t\t\tscc_jQuery('.hover_bkgr_fricctableprice').hide();\r\n\t\t\tscc_jQuery('#sccidsent').show();\r\n\t\t\tscc_jQuery('#sccemailid').show();\r\n\t\t\tscc_jQuery('body').css({\r\n\t\t\t\toverflow: 'visible'\r\n\t\t\t});\r\n\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\tscc_jQuery('header').each(function () {\r\n                var initialState = jQuery(this).data('scc-headerState');\r\n                scc_jQuery(this).css({display: initialState});\r\n            });\r\n            scc_jQuery('footer').each(function () {\r\n                var initialState = jQuery(this).data('scc-footerState');\r\n                scc_jQuery(this).css({display: initialState});\r\n            });\r\n\t\t}\r\n\t\tfunction SCCPrintModal(){\r\n\t\t\tvar scc_mandatory = '';\r\n\t\t\t\/\/ saving current display properties of the headers and footers to data for use when modal is closed\r\n\t\t\tscc_jQuery('header').each(function () {\r\n                    var headerState = scc_jQuery(this).css('display');\r\n                    jQuery(this)\r\n                        .data('scc-headerState', headerState)\r\n                        .css({\r\n                            display: 'none'\r\n                        });\r\n                });\r\n                scc_jQuery('footer').each(function () {\r\n                    var footerState = scc_jQuery(this).css('display');\r\n                    jQuery(this)\r\n                        .data('scc-footerState', footerState)\r\n                        .css({\r\n                            display: 'none'\r\n                        });\r\n                });\r\n\t\t\t\tscc_jQuery('.mandatory_yes').each(function(){\r\n\t\t\t\t\tif(scc_jQuery(this).val() ==''){\r\n\t\t\t\t\t\tscc_jQuery(this).parent().parent().find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !');\r\n                        scc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');\r\n\t\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\t\tscrollTop: scc_jQuery(this).offset().top\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n\t\t\t\t\t\t\tinitTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n                        }\r\n                        checkIfParentIsAccordionAndOpenIt(this)\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t\/\/ check if mandatory checkbox\/button\/switches are checked\r\n\t\t\t\tscc_jQuery('[data-mandatory=yes]').each((i,e) => {\r\n\t\t\t\t\tisNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))\r\n\t\t\t\t\tif (isNoneChecked) {\r\n\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !').css('display','block');\r\n\t\t\t\t\t\tscc_jQuery(e).parent().find('.scc-accordion').click();\r\n\t\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\t\tscrollTop: scc_jQuery(e).offset().top\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').hide();\r\n\t\t\t\t\t\t\/\/ scc_mandatory == '';\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tif (scc_mandatory == '') {\r\n\t\t\t\t\tscc_jQuery('.alert-danger').html('');\r\n\t\t\t\t\tscc_jQuery('.alert-danger').css('display','none');\r\n\t\t\t\t\tscc_jQuery('.hover_bkgr_fricctableprice').show();\r\n\t\t\t\t\tscc_jQuery('#sccTale_price').attr('data-simplebar', 'init')\r\n\t\t\t\t\tscc_jQuery('#sccprinterid').show();\r\n\t\t\t\t\tscc_jQuery('#sccidsent').hide();\r\n\t\t\t\t\tscc_jQuery('#sccemailid').hide();\r\n\t\t\t\t}\r\n\r\n\t\t}\r\n\t\tfunction ClosePrintPopup(){\r\n\t\t\tscc_jQuery('.hover_bkgr_friccprintprice').hide();\r\n\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\tscc_jQuery('header').each(function () {\r\n                var initialState = jQuery(this).data('scc-headerState');\r\n                scc_jQuery(this).css({display: initialState});\r\n            });\r\n            scc_jQuery('footer').each(function () {\r\n                var initialState = jQuery(this).data('scc-footerState');\r\n                scc_jQuery(this).css({display: initialState});\r\n            });\r\n\t\t\tscc_jQuery('body').css({\r\n\t\t\t\toverflow: 'visible'\r\n\t\t\t});\r\n\t\t}\r\n\t<\/script>\r\n\t<!-- <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css\"> -->\r\n\t<div style=\"clear: both;\"><\/div>\r\n\t<div id=\"scc_sending_email_progress_container\"><\/div>\r\n\t\t<div id='scc_form_2' class='scc_wrapper scc_font_2'>\r\n\t\t<div class=\"form-group scc_font_2 form_fields_style_1\" style=\"padding: 15px;border: 0px outset;\">\r\n\t\t\t<div class='scc-h2 scc_fonttitle_2'>Core Information<\/div><div class='scc_header_dash_2'><\/div><div class='scc_font_2 ' style='color:#000000;margin-bottom:20px;'> Please fill out the key information below<\/div>\t\t<!---START OF DROPDOWN-->\r\n\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item  form_field_item_style_1\">\r\n\t\t\t<label class=\"scc-col-md-4 scc-col-lg-4 scc_font_2 scc-form-field-item-label\" for=\"selectbasic\">Type of product to transport<\/label>\r\n\t\t\t<div class=\"control-label scc-col-md-8 scc-col-lg-8 scc_select_opt scc-form-field-item-control\" style=\"padding:0px;margin:0px;\">\r\n\t\t\t\t<select  id=\"selectbasic_0_0_0_2\"   name=\"selectbasic\" data-dropdownmult=1 data-inputtype='dropdowninput' class=\"makeItDropDown sccSel sccoptionval form-control itemCreated mandatory_no\" onChange=\"selectChange(2, this)\">\r\n\t\t\t\t\t<option value='' data-description=\" \" class=\"trn\" style=\"font-size:12px;\">Choose an option...<\/option>\r\n\t\t\t\t\t<option value='1000' data-description='Nicely boxed up'>Painting, framed, glazed, 120x80x5 cms <\/option><option value='800' data-description='Still nicely boxed, but bigger'>Painting, framed, glazed, larger than the previous one <\/option><option value='2000' data-description='Massive box'>Painting, framed, glazed, huge box <\/option>\t\t\t\t<\/select>\r\n\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\" style=\"display:none;\"><\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t<\/div>\r\n        \t\t<div style=\"clear: both;\"><\/div>\r\n\t\t<script>\r\n\t\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\t\t\tscc_jQuery(document).ready(function(e) {\r\n\t\t\t\t\t\tfunction initMsdropdown0_0_0_2() {\r\n\t\t\t\t\t\tscc_jQuery(\"#selectbasic_0_0_0_2\").msDropdown({roundedBorder:false});\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tinitMsdropdown0_0_0_2();\r\n\t\t\t\t\t} catch (error) {\r\n\t\t\t\t\t\tconsole.log('msdropdown loaded asyncronusly');\r\n\t\t\t\t\t\tvar msDropdownScript = document.getElementById('scc-js-js-js');\r\n\t\t\t\t\t\tmsDropdownScript.onload = function () {\r\n\t\t\t\t\t\t\tinitMsdropdown0_0_0_2();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t<\/script>\r\n\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item form_field_item_style_1 slider_in_mobile  scc_font_2\">\r\n\t\t\t<label class=\"scc-col-md-4 scc-col-xs-12 control-label scc_font_2 scc-form-field-item-label\">How many  pictures\/paintings<\/label>\r\n\t\t\t<div class=\"scc-col-md-8 scc-col-xs-12 scc_sld_cntrl scc-form-field-item-control\" style=\"padding:0px;\">\r\n\t\t\t\t<div class=\"scc-form-slider-field\">\r\n\t\t\t\t\t<input  id='itemcreateds_0_1' style='display: none !important' data-inputtype='sliderinput' type='text' data-slider-tooltip='always' data-slider-tooltipstep='1'  data-slider-step='1' class='slider itemCreated' data-slider-value='1' data-slider-handlebackground='2' data-slider-multiplier='1' data-slider-min='0' data-slider-max='15' data-is-sliding-scale='true' data_range='0,15,100 '\/>\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t<\/div>\t\t\r\n\t\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t<script>\r\n\t\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\t\tif(scc_jQuery('.form-group').length > 1) {\r\n\t\t\t\t\tscc_jQuery('.form-group').each(function(i,e) {\r\n\t\t\t\t\t\tscc_jQuery(e).html('<h3>Stylish Cost Calculator<\/h3><p>Multiple Calculators feature is not available in free version. Please upgrade to premium<\/p>');\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tscc_jQuery( document ).ready(function() {\r\n\t\t\t\t\tif(scc_jQuery( window ).width() < 580){\r\n\t\t\t\t\t\tscc_jQuery('.slider_in_mobile').each(function (index, ob){\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('marginBottom', 64)\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tconsole.log(\"is NOT rlt\");\t\t\t\t\tscc_jQuery('.sccmodalclose').click(function(){\r\n\t\t\t\t\t\tscc_jQuery('#sccquoteModal').removeClass('in');\r\n\t\t\t\t\t\tscc_jQuery(' .modal-backdrop.fade.in ').css('display','none');\r\n\t\t\t\t\t\tscc_jQuery('#sccquoteModal').css('display','none');\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t<\/script>\r\n\t\t<script>\r\n\t\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\t\tscc_jQuery(function() {\r\n\t\t\t\t\t\/\/----- OPEN\r\n\t\t\t\t\tscc_jQuery('[data-popup-open]').on('click', function(e) {\r\n\t\t\t\t\t\tvar targeted_popup_class = scc_jQuery(this).attr('data-popup-open');\r\n\t\t\t\t\t\tscc_jQuery('[data-popup=\"' + targeted_popup_class + '\"]').fadeIn(350);\r\n\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\/\/----- CLOSE\r\n\t\t\t\t\tscc_jQuery('[data-popup-close]').on('click', function(e) {\r\n\t\t\t\t\t\tvar targeted_popup_class = scc_jQuery(this).attr('data-popup-close');\r\n\t\t\t\t\t\tscc_jQuery('[data-popup=\"' + targeted_popup_class + '\"]').fadeOut(350);\r\n\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t});\r\n\t\t\t});\r\n\t\t\t});\r\n\t\t<\/script>\r\n\t\t<script>\r\n\t\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\t\tscc_jQuery( document ).ready(function() {   \/\/ Without JQuery\r\n\t\t\t\t\ttriggerSubmit(2, \"#itemcreateds_0_1\");\r\n\t\t\t\t});\r\n\r\n\t\t\t\tfunction initSlider0_1() {\r\n                    var slider = new Slider(\"#itemcreateds_0_1\");\r\n                    slider.on(\"change\", function(sliderValue) {triggerSubmit(2, \"#itemcreateds_0_1\");});\r\n                    triggerSubmit(2, \"#itemcreateds_0_1\");\r\n                }\r\n                try {\r\n                    initSlider0_1();\r\n                } catch (error) {\r\n                    var sliderScript = document.getElementById('scc-js-js-js');\r\n                    sliderScript.onload = function () {\r\n                        console.log('slider loaded asyncronusly');\r\n                        initSlider0_1();\r\n                    };\r\n                }\r\n\t\t\t});\r\n\t\t<\/script>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='scc-h2 scc_fonttitle_2'>Additional Options<\/div><div class='scc_header_dash_2'><\/div><div class='scc_font_2 ' style='color:#000000;margin-bottom:20px;'> <\/div>\t\t<!-- Start Checkbox\/button\/toggle -->\r\n\t\t<span class=\"scc-chkbx-container\" data-mandatory=\"no\">\r\n\t\t\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item df-scc-checkbox form_field_item_style_1 \">\r\n\t\t\t\t<div class=\"scc-circle-checkbox-field-wrapper\" >\r\n\t\t\r\n\t\t\t\t\t<div class=\"scc_customradio scc_customradio_style_1\"  >\r\n\t\t\t\t\t<div class=\"scc-circle-checkbox-field-label scc-col-md-4 scc-col-xs-10 \" style=\"display: initial !important;padding:0px;margin:0px;\">Crated? <\/div>\r\n\t\t\t\t\t<input type=\"radio\"  onClick=\"triggerSubmit(2, this)\" datainputprice=\"100\" data-inputtype=\"switchoption\" class=\"itemCreated\"   name=\"Crated?\" id=\"itemcreated_1_0_0_0\" >\r\n\t\t\t\t\t<label for=\"itemcreated_1_0_0_0\" class=\"ssc-circle-checkbox-label\" style=\"float:left !important;\"><\/label>\r\n\t\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\t\t\t\r\n\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item df-scc-checkbox form_field_item_style_1 \">\r\n\t\t\t\t<div class=\"scc-circle-checkbox-field-wrapper\" >\r\n\t\t\r\n\t\t\t\t\t<div class=\"scc_customradio scc_customradio_style_1\"  >\r\n\t\t\t\t\t<div class=\"scc-circle-checkbox-field-label scc-col-md-4 scc-col-xs-10 \" style=\"display: initial !important;padding:0px;margin:0px;\">Taxes Paid? <\/div>\r\n\t\t\t\t\t<input type=\"radio\"  onClick=\"triggerSubmit(2, this)\" datainputprice=\"100\" data-inputtype=\"switchoption\" class=\"itemCreated\"   name=\"Taxes Paid?\" id=\"itemcreated_1_0_0_1\" >\r\n\t\t\t\t\t<label for=\"itemcreated_1_0_0_1\" class=\"ssc-circle-checkbox-label\" style=\"float:left !important;\"><\/label>\r\n\t\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\t\t\t\r\n\t\t\t\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\" style=\"display: none;\"><span class=\"trn\" data-trn-key=\"Please choose an option\">Please choose an option<\/span> !<\/div>\r\n\t\t<\/span>\r\n\t\t<!-- Checkbox\/button\/toggle end -->\r\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='scc-h2 scc_fonttitle_2'>Addition work<\/div><div class='scc_header_dash_2'><\/div><div class='scc_font_2 ' style='color:#000000;margin-bottom:20px;'> Anything else you might like?<\/div>\t\t<!-- Start Checkbox\/button\/toggle -->\r\n\t\t<span class=\"scc-chkbx-container\" data-mandatory=\"no\">\r\n\t\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item df-scc-checkbox form_field_item_style_1 \">\r\n\t\t\t\t<label for=\"itemcreated_2_0_0_0\" class=\"label-cbx scc-square-checkbox-field-wrapper\" style=\"font-weight:400 !important; width:100%; padding:0px;  \">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class=\"scc-col-md-4 scc-col-xs-10\" >Mention on website<\/span>\r\n\t\t\t\t\t<input type=\"checkbox\" style=\"border: 0px solid !important;\" onClick=\"triggerSubmit(2, this)\"\r\n\t\t\t\t\t\tname=\"Mention on website\" datainputprice=\"400\"\r\n\t\t\t\t\t\tdata-inputtype=\"switchoption\" class=\"itemCreated invisible\" id=\"itemcreated_2_0_0_0\" \r\n\t\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t<div class=\"checkbox scc-checkbox-type2-div\" style=\" display:inline; \">\r\n\t\t\t\t\t\t<svg width=\"20px\" height=\"20px\" viewBox=\"0 0 20 20\">\r\n\t\t\t\t\t\t\t<path d=\"M3,1 L17,1 L17,1 C18.1045695,1 19,1.8954305 19,3 L19,17 L19,17 C19,18.1045695 18.1045695,19 17,19 L3,19 L3,19 C1.8954305,19 1,18.1045695 1,17 L1,3 L1,3 C1,1.8954305 1.8954305,1 3,1 Z\"><\/path>\r\n\t\t\t\t\t\t\t<polyline points=\"4 11 8 15 16 6\"><\/polyline>\r\n\t\t\t\t\t\t<\/svg>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t<\/label>\r\n\t\t\t<\/div>\t\t\t\r\n            \t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t\t\t<div style=\"border: 0px;\" class=\"scc-form-field-item df-scc-checkbox form_field_item_style_1 \">\r\n\t\t\t\t<label for=\"itemcreated_2_0_0_1\" class=\"label-cbx scc-square-checkbox-field-wrapper\" style=\"font-weight:400 !important; width:100%; padding:0px;  \">\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class=\"scc-col-md-4 scc-col-xs-10\" >References<\/span>\r\n\t\t\t\t\t<input type=\"checkbox\" style=\"border: 0px solid !important;\" onClick=\"triggerSubmit(2, this)\"\r\n\t\t\t\t\t\tname=\"References\" datainputprice=\"200\"\r\n\t\t\t\t\t\tdata-inputtype=\"switchoption\" class=\"itemCreated invisible\" id=\"itemcreated_2_0_0_1\" \r\n\t\t\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t<div class=\"checkbox scc-checkbox-type2-div\" style=\" display:inline; \">\r\n\t\t\t\t\t\t<svg width=\"20px\" height=\"20px\" viewBox=\"0 0 20 20\">\r\n\t\t\t\t\t\t\t<path d=\"M3,1 L17,1 L17,1 C18.1045695,1 19,1.8954305 19,3 L19,17 L19,17 C19,18.1045695 18.1045695,19 17,19 L3,19 L3,19 C1.8954305,19 1,18.1045695 1,17 L1,3 L1,3 C1,1.8954305 1.8954305,1 3,1 Z\"><\/path>\r\n\t\t\t\t\t\t\t<polyline points=\"4 11 8 15 16 6\"><\/polyline>\r\n\t\t\t\t\t\t<\/svg>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t<\/label>\r\n\t\t\t<\/div>\t\t\t\r\n            \t\t\t<div style=\"clear: both;\"><\/div>\r\n\t\t\t\t\t<div class=\"alert alert-danger\" role=\"alert\" style=\"display: none;\"><span class=\"trn\" data-trn-key=\"Please choose an option\">Please choose an option<\/span> !<\/div>\r\n\t\t<\/span>\r\n\t\t<!-- Checkbox\/button\/toggle end -->\r\n\t\t\t\t\t\t\t\t\t\t\t\t<hr style='margin: 15px 0 15px 0;border: 1px solid #F0F0F0;'\\><div class='row scc-btn-hndle' style='padding: 5px; min-height: 60px'><div class='scc-col-md-4 scc-col-lg-3 scc-col-xs-12' style='min-width: 150px;max-width: max-content;padding:0px;margin:0px;margin-right:10px'><a class='trigger' href='javascript:void(0)' onClick='SCCPrintModal()' style='color: white;'><div class='scc-usr-act-btns printTable'><span class='trn'>Detailed List<\/span><\/div><\/a><\/div><div class='scc-col-md-3 scc-col-lg-4 scc-col-xs-4'><div style='display: none;'><input type='button' value='Submit' id='scc_submit_2' class='submitPrices' \/><\/div><\/div><\/div><div class='row' style='height: 60px;padding: 5px 0px 0 5px;'><div class='scc-col-md-7 scc-col-lg-7 scc-col-xs-7' style=''>&nbsp;<\/div><div class='scc-col-md-12 scc-col-lg-12 scc-col-xs-12' style='padding:0px'><div style='padding:0;' class='totalPrice totalPrice_2'><div><span style='' class='trn Total' id='total_price_with_label'>Total<\/span>  <span id='totalprice_prefix_currency_label'><\/span> <span id='totalvalue'>1<\/span><span id='totalprice_sufix_currency_label'><\/span><\/div><\/div><\/div><\/div><\/div><\/div><div style='padding-top:10px;padding-bottom:10px;' id='statusMsg'><\/div><div id='sccquoteModal' class='scc-email-popup' data-popup='popup-1'  style='max-width:100% !important;'><div class='scc-email-popup-inner'><span class='trn scc-quote-head' style='font-weight:500;font-size:20px; color: #2374dd;'>Email Quote Form<\/span><p><div id='sccidsent' class='sscfull-height position-relative scc_sentemail_quotes' style=''><div class='row scc-email-quts sscfull-width position-relative scccontrol' id='sccemailid' style='height: 7%; justify-content: center; align-items: center;margin:0 auto;'><div class='scc-col-md-12 scc-col-xs-12 sscfull-height' style='display: flex; justify-content: center; align-items: center;padding: 0.5%;'> <div class='trn scc-col-md-4 scc-col-xs-12'>Your Name<\/div><br>  <input id='sscuserAddress' class='trn scc-col-md-8 scc-col-xs-12 performance-facts__summary4' type='text'placeholder='' style='color:#666;border: 1px solid #dad7d7;'\/><\/div><br><br><div class='scc-col-md-12 scc-col-xs-12 sscfull-height' style='display: flex; justify-content: center; align-items: center;padding: 0.5%;'> <div class='trn scc-col-md-4 scc-col-xs-12'>Your Email<\/div><br> <input id='sscemailAddress' class='trn scc-col-md-8 scc-col-xs-12 performance-facts__summary4' type='email' placeholder='' style='color:#666;border: 1px solid #dad7d7;'\/><\/div><br><div style='color:red; margin-left:30px' id='email-error'><\/div><br><div class='scc-col-md-12 scc-col-xs-12 sscfull-height' style='display: flex; justify-content: center; align-items: center;padding: 0.5%;'> <div class='trn scc-col-md-4 scc-col-xs-12'>Your Phone (Optional)<\/div><br> <input id='sscuserPhone' class='trn scc-col-md-8 scc-col-xs-12 performance-facts__summary4' type='text' placeholder='' style='color:#666;border: 1px solid #dad7d7;'\/><\/div><br><br><br><div class='scc-col-md-12 scc-col-xs-12 sscfull-height' style='margin-top:20px;padding-top:20px;display: flex; justify-content: center; align-items: center;padding: 0.5%;'><button  class='scc_button_table performance-facts__summary2' style='' onclick='javascript:sendemail(0);' id='sendemail'><span class='trn SEND'>SEND<\/span><\/button><\/div><\/div><\/div><\/p><a class='scc-email-popup-close' data-popup-close='popup-1' href='#'>&times;<\/a><\/div><\/div>\t\t<\/div>\r\n\t\t<div class=\"scc-cstm-desktop-view\">\r\n\r\n\t\t\t\r\n<link rel=\"stylesheet\"  href=\"https:\/\/cdn.jsdelivr.net\/npm\/simplebar@latest\/dist\/simplebar.css\"\/>\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/simplebar@latest\/dist\/simplebar.min.js\"><\/script>\r\n<div id =\"scctableprice\" class=\"scctableform hover_bkgr_fricctableprice \" style=\"width: 100%;\" >\r\n\t<style>\r\n\t\t\/* ALL SCREEN SIZES *\/\r\n\r\n#sccTale_price::-webkit-scrollbar-track\r\n{\r\n-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);\r\nbackground-color: #fff;\r\nborder-radius: 10px;\r\n}\r\n#sccTale_price::-webkit-scrollbar\r\n{\r\nwidth: 6px;\r\nbackground-color: #fff;\r\n}\r\n#sccTale_price::-webkit-scrollbar-thumb\r\n{\r\nborder-radius: 10px;\r\nbackground-color: #FFF;\r\nbackground-image: -webkit-gradient(linear, 40% 0%,75% 84%,from(#304af8),to(#304af8),color-stop(.6,#304af8))\r\n}\r\n#sccTale_price {\r\nscrollbar-color: #304af8 white;\r\nscrollbar-width: thin;\r\n}\r\n\t\t\r\n\t\t.fa-2x {\r\n\t\t\tfont-size: 1.4em; \/* size of top right icons *\/\r\n\t\t}\r\n\t\t.users-price-summary-scc {\r\n\t\t\tfont-size:  15px;\r\n\t\t\tcolor: black;\r\n\t\t\tmargin: 0;\r\n\t\t\theight: 100%;\r\n\t\t\ttext-align:right;\r\n\t\t}\r\n\t\t.product-desc-summary-scc{\r\n\t\t\ttext-align: left;\r\n\t\t\t\/*padding: 10px;*\/\r\n\t\t\tfont-size: 13px;\r\n\t\t\tcolor: #8E8E8E;\r\n\t\t}\r\n\t\t.Title-Descriptions-Summary-Window{\r\n\t\t\tfont-size:18px;\r\n\t\t}\r\n\t\t.span2{\r\n\t\t\ttext-align: left;\r\n\t\t\tfont-size: 14px;\r\n\t\t}\r\n\t\t.performance-facts__title {\r\n\t\t\tfont-size: 24px;\r\n\t\t}\r\n\t\t.Total_Price {\r\n\t\t\tfont-size: 20px;\r\n\t\t}\r\n\t\t\r\n\t\t\/* Smartphones (portrait and landscape) ----------- *\/\r\n\t\t@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 14px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor: black;\r\n\t\t\t}\r\n\t\t\t.span2{\r\n\t\t\t\tfont-size: 12px !important;\r\n\t\t\t}\r\n\t\t\t.users-price-summary-scc {\r\n\t\t\t\tfont-size:  12px !important;\r\n\t\t\t}\r\n\t\t\t.product-desc-summary-scc{\r\n\t\t\t\tfont-size: 11px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t}\r\n\t\t\t.performance-facts__title {\r\n\t\t\t\tfont-size: 20px;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/* Smartphones (landscape) ----------- *\/\r\n\t\t@media only screen and (min-width : 321px) {\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 16px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor: black;\r\n\t\t\t}\r\n\t\t\t.Section-Title-Summary-Window {\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-size: 16px !important;\r\n\t\t\t\tfont-weight:bold;\r\n\t\t\t\tcolor: black;\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tpadding-top:5px;\r\n\t\t\t}\r\n\t\t\t.Title-Descriptions-Summary-Window{\r\n\t\t\t\tfont-size:18px;\r\n\t\t\t}\r\n\t\t\t.span2{\r\n\t\t\t\tfont-size: 12px !important;\r\n\t\t\t}\r\n\t\t\t.product-desc-summary-scc{\r\n\t\t\t\tfont-size: 12px !important;\r\n\t\t\t\tfont-weight: 300 !important;\r\n\t\t\t}\r\n\t\t\t.performance-facts__title {\r\n\t\t\t\tfont-size: 20px;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/* Smartphones (portrait) ----------- *\/\r\n\t\t@media only screen and (max-width : 320px) {\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 14px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor: black;\r\n\t\t\t}\r\n\t\t\t.Section-Title-Summary-Window {\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-size: 14px !important;\r\n\t\t\t\tfont-weight:600;\r\n\t\t\t\tcolor: black;\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tpadding-top:5px;\r\n\t\t\t}\r\n\t\t\t.Title-Descriptions-Summary-Window{\r\n\t\t\t\tfont-size:16px;\r\n\t\t\t}\r\n\t\t\t.span2{\r\n\t\t\t\tfont-size: 12px !important;\r\n\t\t\t}\r\n\t\t\t.product-desc-summary-scc{\r\n\t\t\t\tfont-size: 11px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/* iPads (portrait and landscape) ----------- *\/\r\n\t\t@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {\r\n\r\n\t\t}\r\n\r\n\t\t\/* iPads (landscape) ----------- *\/\r\n\t\t@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {\r\n\r\n\t\t}\r\n\r\n\t\t\/* iPads (portrait) ----------- *\/\r\n\t\t@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {\r\n\r\n\t\t}\r\n\t\t\r\n\t\t\/* iPad 3 *\/\r\n\t\t@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {\r\n\r\n\t\t}\r\n\r\n\t\t@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 18px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor: black;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\/* Desktops and laptops ----------- *\/\r\n\t\t@media only screen  and (min-width : 1224px) {\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 18px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor:black;\r\n\t\t\t}\r\n\t\t\t.performance-facts__title {\r\n\t\t\t\tfont-size: 24px;\r\n\t\t\t}\r\n\t\t\t.Section-Title-Summary-Window {\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-size: 19px !important;\r\n\t\t\t\tfont-weight:bold;\r\n\t\t\t\tcolor: black;\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tpadding-top:15px;\r\n\t\t\t}\r\n\t\t\t.span2{\r\n\t\t\t\tfont-size: 15px !important;\r\n\t\t\t}\r\n\t\t\t.users-price-summary-scc {\r\n\t\t\t\tfont-size:  15px !important;\r\n\t\t\t}\r\n\t\t\t.product-desc-summary-scc{\r\n\t\t\t\tfont-size: 13px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/* Large screens ----------- *\/\r\n\t\t@media only screen  and (min-width : 1824px) {\r\n\r\n\t\t\tspan.Title-Descriptions-Summary-Window.trn.Description, span.Title-Descriptions-Summary-Window.trn.Quantity, span.Title-Descriptions-Summary-Window.trn.Price {\r\n\t\t\t\tfont-size: 18px !important;\r\n\t\t\t\tmargin-left: 0px !important;\r\n\t\t\t\tpadding: 0px !important;\r\n\t\t\t\tcolor:black;\r\n\t\t\t}\r\n\t\t\t.Section-Title-Summary-Window {\r\n\t\t\t\ttext-align: left;\r\n\t\t\t\tfont-size: 21px !important;\r\n\t\t\t\tfont-weight:bold;\r\n\t\t\t\tcolor: black;\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tpadding-top:20px;\r\n\t\t\t}\r\n\t\t\t.span2{\r\n\t\t\t\tfont-size: 16px !important;\r\n\t\t\t}\r\n\t\t\t.users-price-summary-scc {\r\n\t\t\t\tfont-size:  16px !important;\r\n\t\t\t}\r\n\t\t\t.product-desc-summary-scc{\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tfont-weight: 300;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/* iPhone 4 ----------- *\/\r\n\t\t@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {\r\n\r\n\t\t}\r\n\r\n\t\t@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {\r\n\r\n\t\t}\r\n\t\t.Section-Title-Summary-Window {\r\n\t\t\ttext-align: left;\r\n\t\t\tfont-size: 20px;\r\n\t\t\tfont-weight:bold;\r\n\t\t\tcolor: black;\r\n\t\t\tmargin: 0;\r\n\t\t}\r\n\t\t.performance-facts {\r\n\t\tborder: 1px solid black;\r\n\t\tmargin: 10px;\r\n\t\tfloat: left;a\r\n\t\twidth: 600px;\r\n\t\tpadding: 0.5rem;\r\n\t\ttable {\r\n\t\tborder-collapse: collapse;\r\n\t\t}\r\n\t\t}\r\n\t\t@media screen and (max-width:600px){\r\n\t\t\r\n\r\n\t\t.performance-facts__summary {\r\n\t\ttext-align: left;\r\n\t\tfont-weight: bold;\r\n\t\tfont-size:  16pxpx !important;\r\n\t\tcolor: black;\r\n\t\tmargin: 0;\r\n\t\t}\r\n\t\t\r\n\t\t.Desc-Quantity-Price-Title-SCC {\r\n\t\t\/* Desktop ? *\/\r\n\t\tpadding: 10px;\r\n\t\tDesktop:test;\r\n\t\tfont-size: 20px !important;\r\n\t\t}\r\n\t\t\r\n\t\t.performance-facts__summary2 {\r\n\t\ttext-align: center;\r\n\t\tfont-size:  16px !important;\r\n\t\tcolor: white;\r\n\t\twidth: 100%;\r\n\t\tpadding: 10px!important;\r\n\t\tmargin: 0;\r\n\t\theight: 100%;\r\n\t\tbackground: #2374dd !important;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tpadding: 0;\r\n\t\t}\r\n\t\t\r\n\r\n\t\t\r\n\t\t.performance-facts__summary4 {\r\n\t\tfont-size:  16pxpx !important;\r\n\t\tcolor: #666;\r\n\t\tmargin: 0;\r\n\t\tpadding: 10px;\r\n\t\theight: 100%;\r\n\t\t}\r\n\t\t\r\n\t\t.Product-Titles-Summary-Window {\r\n\t\tfont-size: 16px !important;\r\n\t\tcolor: black;margin: 0;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: left;\r\n\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t.performance-facts__header {\r\n\t\tborder-bottom: 10px solid black;\r\n\t\tpadding: 0 0 0.25rem 0;\r\n\t\tmargin: 0 0 0.5rem 0;\r\n\t\tp {\r\n\t\tmargin: 0;\r\n\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t.sscfull-height{\r\n\t\t\/* height: 100% !important; *\/\r\n\t\t\/* padding: 0.5%; *\/\r\n\t\tpadding-left: 5px !important;\r\n\t\t}\r\n\t\t\r\n\t\t.sscfull-width{\r\n\t\twidth: : 100%;\r\n\t\t}\r\n\t\t\r\n\t\t.sscfill-parent{\r\n\t\twidth: : 100%;\r\n\t\theight: 100%;\r\n\t\t}\r\n\t\t\r\n\t\t.position-relative{\r\n\t\tposition: relative;\r\n\t\t}\r\n\t\t\r\n\t\t.nopadding{\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t\t}\r\n\t\t\r\n\t\t.hover_bkgr_fricctableprice{\r\n\t\tbackground:rgba(27, 24, 24, 0.92) !important;\r\n\t\theight:100%;\r\n\t\tposition:fixed;\r\n\t\ttext-align:center;\r\n\t\ttop:0;\r\n\t\tleft:0;\r\n\t\twidth:100%;\r\n\t\tdisplay:none;\r\n\t\tz-index:10000;\r\n\t\t}\r\n\t\t\r\n\t\t.hover_bkgr_fricctableprice .helper{\r\n\t\tdisplay:inline-block;\r\n\t\theight:100%;\r\n\t\tvertical-align:middle;\r\n\t\t}\r\n\t\t\r\n\t\t.hover_bkgr_fricctableprice > div {\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: inline-block;\r\n\t\theight: 100%;\r\n\t\tmin-height: 100px;\r\n\t\tvertical-align: middle;\r\n\t\tposition: relative;\r\n\t\tmax-width: 1000px;\r\n\t\twidth:100%;\r\n\t\tpadding: 2% 3%;\r\n\t\tfont-family: Open Sans!important ;\r\n\t\tfont-size: 16px !important;\r\n\t\tfont-weight: normal;\r\n\t\toverflow: auto;\r\n\t\toverflow-x: hidden;\r\n\t\t}\r\n\t\t.scc-span2{\r\n\t\ttext-align: left;\r\n\t\t\/*padding-left: 10px;*\/\r\n\t\tfont-weight: normal;\r\n\t\tfont-size: 16px !important;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t.table__fricctableprice {\r\n\t\t\/* background: #2374dd !important; *\/\r\n\t\t}\r\n\t\t\r\n\t\tbutton.scc_btn_table{\r\n\t\tbackground-color: transparent !important;\r\n\t\tborder: none; \/* Remove borders *\/\r\n\t\tcolor: #2374dd !important;\r\n\t\tfont-size: 10px;\r\n\t\tcursor: pointer; \/* Mouse pointer on hover *\/\r\n\t\tmargin:0;\r\n\t\tpadding: 10px;\r\n\t\t}\r\n\t\t\/* Darker background on mouse-over *\/\r\n\t\tbutton.scc_btn_table:hover {\r\n\t\tbackground-color: RoyalBlue;\r\n\t\t}\r\n\t\tbutton.scc_button_table:disabled,\r\n\t\tbutton.scc_btn_table:disabled,\r\n\t\tbutton.scc_btn_table[disabled]{\r\n\t\tcolor: #cccccc  !important;\r\n\t\tcursor: not-allowed;\r\n\t\tpointer-events: none;\r\n\t\tbackground: transparent !important;\r\n\t\t}\r\n\t\t.center-flex{\r\n\t\tdisplay: flex !important;\r\n\t\tjustify-content: center !important;\r\n\t\talign-items: center  !important;\r\n\t\t}\r\n\t\t.center-flex-align{\r\n\t\tdisplay: flex !important;\r\n\t\talign-items: center  !important;\r\n\t\t}\r\n\t\t@media only screen and (max-width: 600px){\r\n\t\t.performance-facts {\r\n\t\tborder: 1px solid black;\r\n\t\tmargin: 10px;\r\n\t\tfloat: left;\r\n\t\twidth: 600px;\r\n\t\tpadding: 0.1rem;\r\n\t\ttable {\r\n\t\tborder-collapse: collapse;\r\n\t\t}\r\n\t\t}\r\n\r\n\t\t.performance-facts__summary {\r\n\t\ttext-align: left;\r\n\t\tfont-weight: bold;\r\n\t\tfont-size: 0.35rem;\r\n\t\tcolor: black;\r\n\t\tmargin: 0;\r\n\t\t}\r\n\t\t.Desc-Quantity-Price-Title-SCC {\r\n\t\t\/* Mobile Max 600px *\/\r\n\t\tcolor: white !important;\r\n\t\tmargin: 0;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tMobile: test;\r\n\t\tfont-size: 18px !important;\r\n\t\t}\r\n\t\t.performance-facts__summary2 {\r\n\t\ttext-align: center;\r\n\t\tfont-size: 14px !important; \/* Set a font size *\/\r\n\t\tcolor: white;\r\n\t\twidth: 100%;\r\n\t\tmargin: 0;\r\n\t\theight: 100%;\r\n\t\tbackground: #2374dd !important;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tpadding: 0;\r\n\t\t}\r\n\t\t.performance-facts__summary4 {\r\n\t\tfont-size: 14px !important; \/* Set a font size *\/\r\n\t\tcolor: #666;\r\n\t\tmargin: 0;\r\n\t\theight: 100%;\r\n\t\t}\r\n\t\t.Product-Titles-Summary-Window {\r\n\t\tfont-size: 16pxpx !important;\r\n\t\tcolor: black;margin: 0;\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\ttext-align: left;\r\n\t\tpadding: 0 !important;\r\n\t\t}\r\n\t\t.table__fricctableprice {\r\n\t\t\/* background: #2374dd !important; *\/\r\n\t\t}\r\n\t\t.table__fricctableprice2 {\r\n\t\t\/* background-color: #F0F0F0; *\/\r\n\t\t}\r\n\t\t.center-flex{\r\n\t\tdisplay: flex !important;\r\n\t\tjustify-content: center !important;\r\n\t\talign-items: center  !important;\r\n\t\t}\r\n\t\t.center-flex-align{\r\n\t\tdisplay: flex !important;\r\n\t\talign-items: center  !important;\r\n\t\t}\r\n\t\tbutton.scc_button_table:disabled,\r\n\t\tbutton.scc_btn_table:disabled,\r\n\t\tbutton.scc_btn_table[disabled]{\r\n\t\tcolor: #cccccc  !important;\r\n\t\tcursor: not-allowed;\r\n\t\tpointer-events: none;\r\n\t\tbackground: transparent !important;\r\n\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t.sscfull-container{\r\n\t\theight: 285mm;\r\n\t\t\/* padding: 5%; *\/\r\n\t\t}\r\n\t\t.center-flex{\r\n\t\tdisplay: flex !important;\r\n\t\tjustify-content: center !important;\r\n\t\talign-items: center  !important;\r\n\t\t}\r\n\t\t\/* #sccTale_price{\r\n\t\tpadding: 9%;\r\n\t\t} *\/\r\n\t\t.make-grid(sm);\r\n\t\t.visible-xs {\r\n\t\t.responsive-invisibility();\r\n\t\t}\r\n\t\t.hidden-xs {\r\n\t\t.responsive-visibility();\r\n\t\t}\r\n\t\t.hidden-xs.hidden-print {\r\n\t\t.responsive-invisibility();\r\n\t\t}\r\n\t\t.hidden-sm {\r\n\t\t.responsive-invisibility();\r\n\t\t}\r\n\t\t.visible-sm {\r\n\t\t.responsive-visibility();\r\n\t\t}\r\n\t\t}\r\n\t<\/style>\r\n\t<!--<link rel=\"stylesheet\" href=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/3.4.0\/css\/bootstrap.min.css\">\r\n\t<script src=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/3.4.0\/js\/bootstrap.min.js\"><\/script>\r\n\t<link rel=\"stylesheet\" href=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/3.4.1\/css\/bootstrap.min.css\" integrity=\"sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" crossorigin=\"anonymous\">\r\n\t<script src=\"https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/3.4.1\/js\/bootstrap.min.js\" integrity=\"sha384-aJ21OjlMXNL5UyIl\/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd\" crossorigin=\"anonymous\"><\/script>\r\n\t-->\r\n\t<div id='sccTale_price'><\/div>\r\n\t<!-- <div id='sccCom_price' style=\"position: sticky;margin-top: -165px;background: transparent;\" ><\/div> -->\r\n<\/div>\r\n<!-- Modal -->\r\n<div class=\"scc-modal-2020 fade scc_send_quote_info\" id=\"myModalSCCEmailQuote\" role=\"dialog\">\r\n    <div class=\"scc-modal-dialog-2020\" >\r\n\t\t<!-- Modal content-->\r\n\t\t<div class=\"scc-modal-content-2020\">\r\n\t\t\t<div class=\"scc-modal-header-2020\">\r\n\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;<\/button>\r\n\t\t\t\t<h4 class=\"scc-modal-title-2020\">Important Notice<\/h4>\r\n\t\t\t<\/div>\r\n\t\t\t<div class=\"scc-modal-body-2020\">\r\n\t\t\t\t<p>This feature is only for Premium users. Please click  <a href='https:\/\/stylishcostcalculator.com\/' class='alert-link'><strong>here<\/strong><\/a> to purchase the pro version of this Stylish Cost Calculator<\/p>\r\n\t\t\t<\/div>\r\n\t\t\t<div class=\"modal-footer\">\r\n\t\t\t\t<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close<\/button>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t\r\n\t<div id =\"scctableprice\" class=\"scctableform hover_bkgr_fricctableprice \" style=\"width: 100%;\" data-simplebar>\r\n\t\t<style>\r\n\t\t\t.dd-scc{\r\n\t\t\t\tborder:2px solid #F0F0F0;\r\n\t\t\t\tborder-left: 4px solid #2374dd;\r\n\t\t\t}\r\n\t\t\t.dd-scc .ddChild li:hover{background-color:#F0F0F0;border-left: 2px solid #2374dd;}\r\n\t\t\t.performance-facts {\r\n\t\t\tborder: 1px solid black;\r\n\t\t\tmargin: 10px;\r\n\t\t\tfloat: left;\r\n\t\t\twidth: 600px;\r\n\t\t\tpadding: 0.5rem;\r\n\t\t\ttable {\r\n\t\t\tborder-collapse: collapse;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\r\n\t\t\t.performance-facts__summary {\r\n\t\t\ttext-align: left;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tfont-size:  16px !important;\r\n\t\t\tcolor: black;\r\n\t\t\tmargin: 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.Desc-Quantity-Price-Title-SCC {\r\n\t\t\tcolor: white !important;\r\n\t\t\tmargin: 0;\r\n\t\t\t\/*display: flex;*\/\r\n\t\t\talign-items: center;\r\n\t\t\tnotsure:test;\r\n\t\t\tfont-size: 20px !important; \/* Set a font size *\/\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.performance-facts__summary2 {\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size:  16px !important;\r\n\t\t\tcolor: white;\r\n\t\t\twidth: 100%;\r\n\t\t\tpadding: 10px!important;\r\n\t\t\tmargin: 0;\r\n\t\t\theight: 100%;\r\n\t\t\tbackground: #2374dd !important;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\tpadding: 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t.performance-facts__summary4 {\r\n\t\t\tfont-size:  16px !important;\r\n\t\t\tcolor: #666;\r\n\t\t\tmargin: 0;\r\n\t\t\tpadding: 10px;\r\n\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.Product-Titles-Summary-Window {\r\n\t\t\tfont-size: 16px !important;\r\n\t\t\tcolor: black;margin: 0;\r\n\t\t\theight: 100%;\r\n\t\t\twidth: 100%;\r\n\t\t\ttext-align: left;\r\n\t\t\tpadding: 0 !important;\r\n\t\t\t}\r\n\t\t\t.performance-facts__header {\r\n\t\t\tborder-bottom: 10px solid black;\r\n\t\t\tpadding: 0 0 0.25rem 0;\r\n\t\t\tmargin: 0 0 0.5rem 0;\r\n\t\t\tp {\r\n\t\t\tmargin: 0;\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.sscfull-height{\r\n\t\t\t\/*height: 100% !important;*\/\r\n\t\t\t\/*padding: 0.5%;*\/\r\n\t\t\t}\r\n\t\t\t.sccfull-height-2{\r\n\t\t\t\tpadding-left: 5px !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.sscfull-width{\r\n\t\t\twidth: : 100%;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.sscfill-parent{\r\n\t\t\twidth: : 100%;\r\n\t\t\theight: 100%;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.position-relative{\r\n\t\t\tposition: relative;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.nopadding{\r\n\t\t\tmargin: 0;\r\n\t\t\tpadding: 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.hover_bkgr_fricctableprice{\r\n\t\t\tbackground:rgba(27, 24, 24, 0.92) !important;\r\n\t\t\theight:100%;\r\n\t\t\tposition:fixed;\r\n\t\t\ttext-align:center;\r\n\t\t\ttop:0;\r\n\t\t\tleft:0;\r\n\t\t\twidth:100%;\r\n\t\t\tdisplay:none;\r\n\t\t\tz-index:10000;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.hover_bkgr_fricctableprice .helper{\r\n\t\t\tdisplay:inline-block;\r\n\t\t\theight:100%;\r\n\t\t\tvertical-align:middle;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\/* important *\/\r\n\t\t\t.hover_bkgr_fricctableprice > div {\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tdisplay: inline-block;\r\n\t\t\theight: 100%;\r\n\t\t\tmin-height: 100px;\r\n\t\t\tvertical-align: middle;\r\n\t\t\tposition: relative;\r\n\t\t\tmax-width: 1000px;\r\n\t\t\twidth:100%;\r\n\t\t\tpadding: 0.5% 2%;\r\n\t\t\tfont-family: Open Sans!important ;\r\n\t\t\tfont-size: 16px !important;\r\n\t\t\tfont-weight: normal;\r\n\t\t\toverflow: auto;\r\n\t\t\toverflow-x: hidden;\r\n\t\t\t} \r\n\t\t\t.scc-span2{\r\n\t\t\ttext-align: left;\r\n\t\t\t\/*padding-left: 10px;*\/\r\n\t\t\tfont-weight: normal;\r\n\t\t\tfont-size: 16px !important;\r\n\t\t\t}\r\n\t\t\t#framtablename, .framtableicon{\r\n\r\n\t\t\t}\r\n\t\t\t.table__fricctableprice {\r\n\t\t\t\/* background: #2374dd !important;*\/\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.scc_btn_table{\r\n\t\t\tbackground-color: transparent !important;\r\n\t\t\tborder: none; \/* Remove borders *\/\r\n\t\t\tcolor: #2374dd !important;\r\n\t\t\tfont-size: 16px !important; \/* Set a font size *\/\r\n\t\t\tcursor: pointer; \/* Mouse pointer on hover *\/\r\n\t\t\t}\r\n\t\t\t\/* Darker background on mouse-over *\/\r\n\t\t\t.scc_btn_table:hover {\r\n\t\t\tbackground-color: RoyalBlue;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tbutton.scc_button_table:disabled,\r\n\t\t\tbutton.scc_btn_table:disabled,\r\n\t\t\tbutton.scc_btn_table[disabled]{\r\n\t\t\tcolor: #cccccc  !important;\r\n\t\t\tcursor: not-allowed;\r\n\t\t\tpointer-events: none;\r\n\t\t\tbackground: transparent !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.center-flex{\r\n\t\t\tdisplay: flex !important;\r\n\t\t\tjustify-content: center !important;\r\n\t\t\talign-items: center  !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.center-flex-align{\r\n\t\t\tdisplay: flex !important;\r\n\t\t\talign-items: center  !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t@media only screen and (max-width: 600px){\r\n\t\t\t.performance-facts {\r\n\t\t\tborder: 1px solid black;\r\n\t\t\tmargin: 10px;\r\n\t\t\tfloat: left;\r\n\t\t\twidth: 600px;\r\n\t\t\tpadding: 0.1rem;\r\n\t\t\ttable {\r\n\t\t\tborder-collapse: collapse;\r\n\t\t\t}\r\n\r\n\r\n\t\t\t}\r\n\r\n\t\t\t.performance-facts__summary {\r\n\t\t\ttext-align: left;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tfont-size: 0.35rem;\r\n\t\t\tcolor: black;\r\n\t\t\tmargin: 0;\r\n\t\t\t}\r\n\t\t\t.Desc-Quantity-Price-Title-SCC {\r\n\t\t\t\/* Mobile ?? *\/\r\n\t\t\tcolor: white !important;\r\n\t\t\tmargin: 0;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\ttest:isthismobile;\r\n\t\t\tfont-size: 20px;\r\n\t\t\t}\r\n\t\t\t.performance-facts__summary2 {\r\n\t\t\ttext-align: center;\r\n\t\t\tfont-size: 14px !important; \/* Set a font size *\/\r\n\t\t\tcolor: white;\r\n\t\t\twidth: 100%;\r\n\t\t\tmargin: 0;\r\n\t\t\theight: 100%;\r\n\t\t\tbackground: #2374dd !important;\r\n\t\t\tdisplay: flex;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\tpadding: 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t.Product-Titles-Summary-Window {\r\n\t\t\tfont-size: 16px !important;\r\n\t\t\tcolor: black;margin: 0;\r\n\t\t\theight: 100%;\r\n\t\t\twidth: 100%;\r\n\t\t\ttext-align: left;\r\n\t\t\tpadding: 0 !important;\r\n\t\t\t}\r\n\r\n\t\t\t.table__fricctableprice {\r\n\t\t\t\/* background: #2374dd !important; *\/\r\n\t\t\t}\r\n\t\t\t.table__fricctableprice2 {\r\n\t\t\t\/* background-color: #F0F0F0; *\/\r\n\t\t\t}\r\n\t\t\t.center-flex{\r\n\t\t\tdisplay: flex !important;\r\n\t\t\tjustify-content: center !important;\r\n\t\t\talign-items: center  !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.center-flex-align{\r\n\t\t\tdisplay: flex !important;\r\n\t\t\talign-items: center  !important;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.scc_button_table:disabled,\r\n\t\t\tbutton.scc_btn_table:disabled,\r\n\t\t\tbutton.scc_btn_table[disabled]{\r\n\t\t\tcolor: #cccccc  !important;\r\n\t\t\tcursor: not-allowed;\r\n\t\t\tpointer-events: none;\r\n\t\t\tbackground: transparent !important;\r\n\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.sscfull-container{\r\n\t\t\theight: 285mm;\r\n\t\t\t\/* padding: 5%; *\/\r\n\t\t\t}\r\n\t\t\t.right-flex{\r\n\t\t\t\/*display: flex !important; *\/\r\n\t\t\tjustify-content: right !important;\r\n\t\t\talign-items: right  !important;\r\n\t\t\ttext-align:right !important;\r\n\t\t\t}\r\n\t\t\t\/* #sccTale_price{\r\n\t\t\tpadding: 9%;\r\n\t\t\t} *\/\r\n\t\t\t.make-grid(sm);\r\n\t\t\t\r\n\t\t\t.visible-xs {\r\n\t\t\t.responsive-invisibility();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.hidden-xs {\r\n\t\t\t.responsive-visibility();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.hidden-xs.hidden-print {\r\n\t\t\t.responsive-invisibility();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.hidden-sm {\r\n\t\t\t.responsive-invisibility();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t.visible-sm {\r\n\t\t\t.responsive-visibility();\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\t.scc_sending_email_progress {\r\n\t\t\tborder: 16px solid #f3f3f3;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder-top: 16px solid #2374dd;\r\n\t\t\twidth: 120px;\r\n\t\t\theight: 120px;\r\n\t\t\t-webkit-animation: spin 2s linear infinite; \/* Safari *\/\r\n\t\t\tanimation: spin 2s linear infinite;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\/* Safari *\/\r\n\t\t\t@-webkit-keyframes spin {\r\n\t\t\t0% { -webkit-transform: rotate(0deg); }\r\n\t\t\t100% { -webkit-transform: rotate(360deg); }\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t@keyframes spin {\r\n\t\t\t0% { transform: rotate(0deg); }\r\n\t\t\t100% { transform: rotate(360deg); }\r\n\t\t\t}\r\n\t\t<\/style>\r\n\t\t \r\n\r\n\r\n\t\t<div id='sccTale_price' data-simplebar><\/div>\r\n\t\t\r\n\t\t<!-- <div id='sccCom_price' style=\"position: sticky;margin-top: -165px;background: transparent;\" ><\/div> -->\r\n\t<\/div>\r\n\t<script>\r\nvar jsonPDF = {  };\r\n    let tableTitle = \"Ebiss 1st Test  Template\";\r\n\r\n\tfunction germanCharactersInverseFrontEnd(text) {\r\n\t\t\r\n\t\tif(typeof text == \"string\") {\r\n\t\t\ttext = text.replace(\/\\[a\\]\/g, '\u00e4')\r\n\t\t\ttext = text.replace(\/\\[o\\]\/g, '\u00f6')\r\n\t\t\ttext = text.replace(\/\\[u\\]\/g, '\u00fc')\r\n\t\t\ttext = text.replace(\/\\[b\\]\/g, '\u00df')\r\n\t\t\ttext = text.replace(\/\\[A\\]\/g, '\u00c4')\r\n\t\t\ttext = text.replace(\/\\[O\\]\/g, '\u00d6')\r\n\t\t\ttext = text.replace(\/\\[U\\]\/g, '\u00dc')\r\n\t\t\ttext = text.replace(\/\\[B\\]\/g, '\u1e9e')\r\n\t\t}\r\n\t\t\r\n\t\treturn text\r\n\t\t}\r\n\r\n\tfunction CreateTable(parts, comments){\r\n\t    \r\n\t\t\/\/ if(scc_jQuery('#sccTale_price').length){\r\n\t\t\/\/   scc_jQuery('#sccTale_price').empty();\r\n\t\t\r\n\t\t\/\/ }\r\n\t\tjsonPDF = {\r\n\t\t\tpdf_title: \"Ebiss 1st Test  Template\",\r\n\t\t\tlogo_image: \"\",\r\n\t\t\tbanner_image: \"\",\r\n\t\t\tdescription: \"\",\r\n\t\t\tunit: \"\",\r\n\t\t\tquantity: \"\",\r\n\t\t\tprice: \"\",\r\n\t\t\tfooter: \"\",\r\n\t\t\tdate: \"05\/18\/2026\",\r\n\t\t\trows: []\r\n\t\t};\r\n\t\t\t\tvar table_body = `<style>  .scc-col-lg-1,.scc-col-lg-10,.scc-col-lg-11,.scc-col-lg-12,.scc-col-lg-2,.scc-col-lg-3,.scc-col-lg-4,.scc-col-lg-5,.scc-col-lg-6,.scc-col-lg-7,.scc-col-lg-8,.scc-col-lg-9,.scc-col-md-1,.scc-col-md-10,.scc-col-md-11,.scc-col-md-12,.scc-col-md-2,.scc-col-md-3,.scc-col-md-4,.scc-col-md-5,.scc-col-md-6,.scc-col-md-7,.scc-col-md-8,.scc-col-md-9,.scc-col-sm-1,.scc-col-sm-10,.scc-col-sm-11,.scc-col-sm-12,.scc-col-sm-2,.scc-col-sm-3,.scc-col-sm-4,.scc-col-sm-5,.scc-col-sm-6,.scc-col-sm-7,.scc-col-sm-8,.scc-col-sm-9,.scc-col-xs-1,.scc-col-xs-10,.scc-col-xs-11,.scc-col-xs-12,.scc-col-xs-2,.scc-col-xs-3,.scc-col-xs-4,.scc-col-xs-5,.scc-col-xs-6,.scc-col-xs-7,.scc-col-xs-8,.scc-col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:0px}.scc-col-xs-1,.scc-col-xs-10,.scc-col-xs-11,.scc-col-xs-12,.scc-col-xs-2,.scc-col-xs-3,.scc-col-xs-4,.scc-col-xs-5,.scc-col-xs-6,.scc-col-xs-7,.scc-col-xs-8,.scc-col-xs-9{float:left}.scc-col-xs-12{width:100%}.scc-col-xs-11{width:91.66666667%}.scc-col-xs-10{width:83.33333333%}.scc-col-xs-9{width:75%}.scc-col-xs-8{width:66.66666667%}.scc-col-xs-7{width:58.33333333%}.scc-col-xs-6{width:50%}.scc-col-xs-5{width:41.66666667%}.scc-col-xs-4{width:33.33333333%}.scc-col-xs-3{width:25%}.scc-col-xs-2{width:16.66666667%}.scc-col-xs-1{width:8.33333333%}.scc-col-xs-pull-12{right:100%}.scc-col-xs-pull-11{right:91.66666667%}.scc-col-xs-pull-10{right:83.33333333%}.scc-col-xs-pull-9{right:75%}.scc-col-xs-pull-8{right:66.66666667%}.scc-col-xs-pull-7{right:58.33333333%}.scc-col-xs-pull-6{right:50%}.scc-col-xs-pull-5{right:41.66666667%}.scc-col-xs-pull-4{right:33.33333333%}.scc-col-xs-pull-3{right:25%}.scc-col-xs-pull-2{right:16.66666667%}.scc-col-xs-pull-1{right:8.33333333%}.scc-col-xs-pull-0{right:auto}.scc-col-xs-push-12{left:100%}.scc-col-xs-push-11{left:91.66666667%}.scc-col-xs-push-10{left:83.33333333%}.scc-col-xs-push-9{left:75%}.scc-col-xs-push-8{left:66.66666667%}.scc-col-xs-push-7{left:58.33333333%}.scc-col-xs-push-6{left:50%}.scc-col-xs-push-5{left:41.66666667%}.scc-col-xs-push-4{left:33.33333333%}.scc-col-xs-push-3{left:25%}.scc-col-xs-push-2{left:16.66666667%}.scc-col-xs-push-1{left:8.33333333%}.scc-col-xs-push-0{left:auto}.scc-col-xs-offset-12{margin-left:100%}.scc-col-xs-offset-11{margin-left:91.66666667%}.scc-col-xs-offset-10{margin-left:83.33333333%}.scc-col-xs-offset-9{margin-left:75%}.scc-col-xs-offset-8{margin-left:66.66666667%}.scc-col-xs-offset-7{margin-left:58.33333333%}.scc-col-xs-offset-6{margin-left:50%}.scc-col-xs-offset-5{margin-left:41.66666667%}.scc-col-xs-offset-4{margin-left:33.33333333%}.scc-col-xs-offset-3{margin-left:25%}.scc-col-xs-offset-2{margin-left:16.66666667%}.scc-col-xs-offset-1{margin-left:8.33333333%}.scc-col-xs-offset-0{margin-left:0}@media (min-width:768px){.scc-col-sm-1,.scc-col-sm-10,.scc-col-sm-11,.scc-col-sm-12,.scc-col-sm-2,.scc-col-sm-3,.scc-col-sm-4,.scc-col-sm-5,.scc-col-sm-6,.scc-col-sm-7,.scc-col-sm-8,.scc-col-sm-9{float:left}.scc-col-sm-12{width:100%}.scc-col-sm-11{width:91.66666667%}.scc-col-sm-10{width:83.33333333%}.scc-col-sm-9{width:75%}.scc-col-sm-8{width:66.66666667%}.scc-col-sm-7{width:58.33333333%}.scc-col-sm-6{width:50%}.scc-col-sm-5{width:41.66666667%}.scc-col-sm-4{width:33.33333333%}.scc-col-sm-3{width:25%}.scc-col-sm-2{width:16.66666667%}.scc-col-sm-1{width:8.33333333%}.scc-col-sm-pull-12{right:100%}.scc-col-sm-pull-11{right:91.66666667%}.scc-col-sm-pull-10{right:83.33333333%}.scc-col-sm-pull-9{right:75%}.scc-col-sm-pull-8{right:66.66666667%}.scc-col-sm-pull-7{right:58.33333333%}.scc-col-sm-pull-6{right:50%}.scc-col-sm-pull-5{right:41.66666667%}.scc-col-sm-pull-4{right:33.33333333%}.scc-col-sm-pull-3{right:25%}.scc-col-sm-pull-2{right:16.66666667%}.scc-col-sm-pull-1{right:8.33333333%}.scc-col-sm-pull-0{right:auto}.scc-col-sm-push-12{left:100%}.scc-col-sm-push-11{left:91.66666667%}.scc-col-sm-push-10{left:83.33333333%}.scc-col-sm-push-9{left:75%}.scc-col-sm-push-8{left:66.66666667%}.scc-col-sm-push-7{left:58.33333333%}.scc-col-sm-push-6{left:50%}.scc-col-sm-push-5{left:41.66666667%}.scc-col-sm-push-4{left:33.33333333%}.scc-col-sm-push-3{left:25%}.scc-col-sm-push-2{left:16.66666667%}.scc-col-sm-push-1{left:8.33333333%}.scc-col-sm-push-0{left:auto}.scc-col-sm-offset-12{margin-left:100%}.scc-col-sm-offset-11{margin-left:91.66666667%}.scc-col-sm-offset-10{margin-left:83.33333333%}.scc-col-sm-offset-9{margin-left:75%}.scc-col-sm-offset-8{margin-left:66.66666667%}.scc-col-sm-offset-7{margin-left:58.33333333%}.scc-col-sm-offset-6{margin-left:50%}.scc-col-sm-offset-5{margin-left:41.66666667%}.scc-col-sm-offset-4{margin-left:33.33333333%}.scc-col-sm-offset-3{margin-left:25%}.scc-col-sm-offset-2{margin-left:16.66666667%}.scc-col-sm-offset-1{margin-left:8.33333333%}.scc-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.scc-col-md-1,.scc-col-md-10,.scc-col-md-11,.scc-col-md-12,.scc-col-md-2,.scc-col-md-3,.scc-col-md-4,.scc-col-md-5,.scc-col-md-6,.scc-col-md-7,.scc-col-md-8,.scc-col-md-9{float:left}.scc-col-md-12{width:100%}.scc-col-md-11{width:91.66666667%}.scc-col-md-10{width:83.33333333%}.scc-col-md-9{width:75%}.scc-col-md-8{width:66.66666667%}.scc-col-md-7{width:58.33333333%}.scc-col-md-6{width:50%}.scc-col-md-5{width:41.66666667%}.scc-col-md-4{width:33.33333333%}.scc-col-md-3{width:25%}.scc-col-md-2{width:16.66666667%}.scc-col-md-1{width:8.33333333%}.scc-col-md-pull-12{right:100%}.scc-col-md-pull-11{right:91.66666667%}.scc-col-md-pull-10{right:83.33333333%}.scc-col-md-pull-9{right:75%}.scc-col-md-pull-8{right:66.66666667%}.scc-col-md-pull-7{right:58.33333333%}.scc-col-md-pull-6{right:50%}.scc-col-md-pull-5{right:41.66666667%}.scc-col-md-pull-4{right:33.33333333%}.scc-col-md-pull-3{right:25%}.scc-col-md-pull-2{right:16.66666667%}.scc-col-md-pull-1{right:8.33333333%}.scc-col-md-pull-0{right:auto}.scc-col-md-push-12{left:100%}.scc-col-md-push-11{left:91.66666667%}.scc-col-md-push-10{left:83.33333333%}.scc-col-md-push-9{left:75%}.scc-col-md-push-8{left:66.66666667%}.scc-col-md-push-7{left:58.33333333%}.scc-col-md-push-6{left:50%}.scc-col-md-push-5{left:41.66666667%}.scc-col-md-push-4{left:33.33333333%}.scc-col-md-push-3{left:25%}.scc-col-md-push-2{left:16.66666667%}.scc-col-md-push-1{left:8.33333333%}.scc-col-md-push-0{left:auto}.scc-col-md-offset-12{margin-left:100%}.scc-col-md-offset-11{margin-left:91.66666667%}.scc-col-md-offset-10{margin-left:83.33333333%}.scc-col-md-offset-9{margin-left:75%}.scc-col-md-offset-8{margin-left:66.66666667%}.scc-col-md-offset-7{margin-left:58.33333333%}.scc-col-md-offset-6{margin-left:50%}.scc-col-md-offset-5{margin-left:41.66666667%}.scc-col-md-offset-4{margin-left:33.33333333%}.scc-col-md-offset-3{margin-left:25%}.scc-col-md-offset-2{margin-left:16.66666667%}.scc-col-md-offset-1{margin-left:8.33333333%}.scc-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.scc-col-lg-1,.scc-col-lg-10,.scc-col-lg-11,.scc-col-lg-12,.scc-col-lg-2,.scc-col-lg-3,.scc-col-lg-4,.scc-col-lg-5,.scc-col-lg-6,.scc-col-lg-7,.scc-col-lg-8,.scc-col-lg-9{float:left}.scc-col-lg-12{width:100%}.scc-col-lg-11{width:91.66666667%}.scc-col-lg-10{width:83.33333333%}.scc-col-lg-9{width:75%}.scc-col-lg-8{width:66.66666667%}.scc-col-lg-7{width:58.33333333%}.scc-col-lg-6{width:50%}.scc-col-lg-5{width:41.66666667%}.scc-col-lg-4{width:33.33333333%}.scc-col-lg-3{width:25%}.scc-col-lg-2{width:16.66666667%}.scc-col-lg-1{width:8.33333333%}.scc-col-lg-pull-12{right:100%}.scc-col-lg-pull-11{right:91.66666667%}.scc-col-lg-pull-10{right:83.33333333%}.scc-col-lg-pull-9{right:75%}.scc-col-lg-pull-8{right:66.66666667%}.scc-col-lg-pull-7{right:58.33333333%}.scc-col-lg-pull-6{right:50%}.scc-col-lg-pull-5{right:41.66666667%}.scc-col-lg-pull-4{right:33.33333333%}.scc-col-lg-pull-3{right:25%}.scc-col-lg-pull-2{right:16.66666667%}.scc-col-lg-pull-1{right:8.33333333%}.scc-col-lg-pull-0{right:auto}.scc-col-lg-push-12{left:100%}.scc-col-lg-push-11{left:91.66666667%}.scc-col-lg-push-10{left:83.33333333%}.scc-col-lg-push-9{left:75%}.scc-col-lg-push-8{left:66.66666667%}.scc-col-lg-push-7{left:58.33333333%}.scc-col-lg-push-6{left:50%}.scc-col-lg-push-5{left:41.66666667%}.scc-col-lg-push-4{left:33.33333333%}.scc-col-lg-push-3{left:25%}.scc-col-lg-push-2{left:16.66666667%}.scc-col-lg-push-1{left:8.33333333%}.scc-col-lg-push-0{left:auto}.scc-col-lg-offset-12{margin-left:100%}.scc-col-lg-offset-11{margin-left:91.66666667%}.scc-col-lg-offset-10{margin-left:83.33333333%}.scc-col-lg-offset-9{margin-left:75%}.scc-col-lg-offset-8{margin-left:66.66666667%}.scc-col-lg-offset-7{margin-left:58.33333333%}.scc-col-lg-offset-6{margin-left:50%}.scc-col-lg-offset-5{margin-left:41.66666667%}.scc-col-lg-offset-4{margin-left:33.33333333%}.scc-col-lg-offset-3{margin-left:25%}.scc-col-lg-offset-2{margin-left:16.66666667%}.scc-col-lg-offset-1{margin-left:8.33333333%}.scc-col-lg-offset-0{margin-left:0}}  .Product-Titles-Summary-Window { font-size:16px !important;color: black;margin: 0;height: 100%;width: 100%;text-align: left;padding: 0 !important;}  .printing-improve{margin-left: -10px} .scc_wrapper * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;} .scc_wrapper *::before,.scc_wrapper *::after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;} @media only screen and (max-width: 565px) {  #scc-summary-view-header { justify-content: right; align-items: center;background-color: #F1F1F1 !important;padding: 7px 0px 7px 0px; min-height:80px} } @media only screen and (min-width: 565px) {  #scc-summary-view-header { justify-content: right; align-items: center;background-color: #F1F1F1 !important;padding: 7px 0px 7px 0px; min-height:40px} } @media only print { @page  { size:  auto; margin: 0mm;} .Product-Titles-Summary-Window { font-size:16px !important;color: black;margin: 0;height: 100%;width: 100%;text-align: left;padding: 0 !important;} .scc-col-lg-1,.scc-col-lg-10,.scc-col-lg-11,.scc-col-lg-12,.scc-col-lg-2,.scc-col-lg-3,.scc-col-lg-4,.scc-col-lg-5,.scc-col-lg-6,.scc-col-lg-7,.scc-col-lg-8,.scc-col-lg-9,.scc-col-md-1,.scc-col-md-10,.scc-col-md-11,.scc-col-md-12,.scc-col-md-2,.scc-col-md-3,.scc-col-md-4,.scc-col-md-5,.scc-col-md-6,.scc-col-md-7,.scc-col-md-8,.scc-col-md-9,.scc-col-sm-1,.scc-col-sm-10,.scc-col-sm-11,.scc-col-sm-12,.scc-col-sm-2,.scc-col-sm-3,.scc-col-sm-4,.scc-col-sm-5,.scc-col-sm-6,.scc-col-sm-7,.scc-col-sm-8,.scc-col-sm-9,.scc-col-xs-1,.scc-col-xs-10,.scc-col-xs-11,.scc-col-xs-12,.scc-col-xs-2,.scc-col-xs-3,.scc-col-xs-4,.scc-col-xs-5,.scc-col-xs-6,.scc-col-xs-7,.scc-col-xs-8,.scc-col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.scc-col-xs-1,.scc-col-xs-10,.scc-col-xs-11,.scc-col-xs-12,.scc-col-xs-2,.scc-col-xs-3,.scc-col-xs-4,.scc-col-xs-5,.scc-col-xs-6,.scc-col-xs-7,.scc-col-xs-8,.scc-col-xs-9{float:left}.scc-col-xs-12{width:100%}.scc-col-xs-11{width:91.66666667%}.scc-col-xs-10{width:83.33333333%}.scc-col-xs-9{width:75%}.scc-col-xs-8{width:66.66666667%}.scc-col-xs-7{width:58.33333333%}.scc-col-xs-6{width:50%}.scc-col-xs-5{width:37.66666667%}.scc-col-xs-4{width:33.33333333%}.scc-col-xs-3{width:25%}.scc-col-xs-2{width:18.66666667%}.scc-col-xs-1{width:8.33333333%}.scc-col-xs-pull-12{right:100%}.scc-col-xs-pull-11{right:91.66666667%}.scc-col-xs-pull-10{right:83.33333333%}.scc-col-xs-pull-9{right:75%}.scc-col-xs-pull-8{right:66.66666667%}.scc-col-xs-pull-7{right:58.33333333%}.scc-col-xs-pull-6{right:50%}.scc-col-xs-pull-5{right:41.66666667%}.scc-col-xs-pull-4{right:33.33333333%}.scc-col-xs-pull-3{right:25%}.scc-col-xs-pull-2{right:16.66666667%}.scc-col-xs-pull-1{right:8.33333333%}.scc-col-xs-pull-0{right:auto}.scc-col-xs-push-12{left:100%}.scc-col-xs-push-11{left:91.66666667%}.scc-col-xs-push-10{left:83.33333333%}.scc-col-xs-push-9{left:75%}.scc-col-xs-push-8{left:66.66666667%}.scc-col-xs-push-7{left:58.33333333%}.scc-col-xs-push-6{left:50%}.scc-col-xs-push-5{left:41.66666667%}.scc-col-xs-push-4{left:33.33333333%}.scc-col-xs-push-3{left:25%}.scc-col-xs-push-2{left:16.66666667%}.scc-col-xs-push-1{left:8.33333333%}.scc-col-xs-push-0{left:auto}.scc-col-xs-offset-12{margin-left:100%}.scc-col-xs-offset-11{margin-left:91.66666667%}.scc-col-xs-offset-10{margin-left:83.33333333%}.scc-col-xs-offset-9{margin-left:75%}.scc-col-xs-offset-8{margin-left:66.66666667%}.scc-col-xs-offset-7{margin-left:58.33333333%}.scc-col-xs-offset-6{margin-left:50%}.scc-col-xs-offset-5{margin-left:41.66666667%}.scc-col-xs-offset-4{margin-left:33.33333333%}.scc-col-xs-offset-3{margin-left:25%}.scc-col-xs-offset-2{margin-left:16.66666667%}.scc-col-xs-offset-1{margin-left:8.33333333%}.scc-col-xs-offset-0{margin-left:0}@media (min-width:768px){.scc-col-sm-1,.scc-col-sm-10,.scc-col-sm-11,.scc-col-sm-12,.scc-col-sm-2,.scc-col-sm-3,.scc-col-sm-4,.scc-col-sm-5,.scc-col-sm-6,.scc-col-sm-7,.scc-col-sm-8,.scc-col-sm-9{float:left}.scc-col-sm-12{width:100%}.scc-col-sm-11{width:91.66666667%}.scc-col-sm-10{width:83.33333333%}.scc-col-sm-9{width:75%}.scc-col-sm-8{width:66.66666667%}.scc-col-sm-7{width:58.33333333%}.scc-col-sm-6{width:50%}.scc-col-sm-5{width:41.66666667%}.scc-col-sm-4{width:33.33333333%}.scc-col-sm-3{width:25%}.scc-col-sm-2{width:16.66666667%}.scc-col-sm-1{width:8.33333333%}.scc-col-sm-pull-12{right:100%}.scc-col-sm-pull-11{right:91.66666667%}.scc-col-sm-pull-10{right:83.33333333%}.scc-col-sm-pull-9{right:75%}.scc-col-sm-pull-8{right:66.66666667%}.scc-col-sm-pull-7{right:58.33333333%}.scc-col-sm-pull-6{right:50%}.scc-col-sm-pull-5{right:41.66666667%}.scc-col-sm-pull-4{right:33.33333333%}.scc-col-sm-pull-3{right:25%}.scc-col-sm-pull-2{right:16.66666667%}.scc-col-sm-pull-1{right:8.33333333%}.scc-col-sm-pull-0{right:auto}.scc-col-sm-push-12{left:100%}.scc-col-sm-push-11{left:91.66666667%}.scc-col-sm-push-10{left:83.33333333%}.scc-col-sm-push-9{left:75%}.scc-col-sm-push-8{left:66.66666667%}.scc-col-sm-push-7{left:58.33333333%}.scc-col-sm-push-6{left:50%}.scc-col-sm-push-5{left:41.66666667%}.scc-col-sm-push-4{left:33.33333333%}.scc-col-sm-push-3{left:25%}.scc-col-sm-push-2{left:16.66666667%}.scc-col-sm-push-1{left:8.33333333%}.scc-col-sm-push-0{left:auto}.scc-col-sm-offset-12{margin-left:100%}.scc-col-sm-offset-11{margin-left:91.66666667%}.scc-col-sm-offset-10{margin-left:83.33333333%}.scc-col-sm-offset-9{margin-left:75%}.scc-col-sm-offset-8{margin-left:66.66666667%}.scc-col-sm-offset-7{margin-left:58.33333333%}.scc-col-sm-offset-6{margin-left:50%}.scc-col-sm-offset-5{margin-left:41.66666667%}.scc-col-sm-offset-4{margin-left:33.33333333%}.scc-col-sm-offset-3{margin-left:25%}.scc-col-sm-offset-2{margin-left:16.66666667%}.scc-col-sm-offset-1{margin-left:8.33333333%}.scc-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.scc-col-md-1,.scc-col-md-10,.scc-col-md-11,.scc-col-md-12,.scc-col-md-2,.scc-col-md-3,.scc-col-md-4,.scc-col-md-5,.scc-col-md-6,.scc-col-md-7,.scc-col-md-8,.scc-col-md-9{float:left}.scc-col-md-12{width:100%}.scc-col-md-11{width:91.66666667%}.scc-col-md-10{width:83.33333333%}.scc-col-md-9{width:75%}.scc-col-md-8{width:66.66666667%}.scc-col-md-7{width:58.33333333%}.scc-col-md-6{width:50%}.scc-col-md-5{width:41.66666667%}.scc-col-md-4{width:33.33333333%}.scc-col-md-3{width:25%}.scc-col-md-2{width:16.66666667%}.scc-col-md-1{width:8.33333333%}.scc-col-md-pull-12{right:100%}.scc-col-md-pull-11{right:91.66666667%}.scc-col-md-pull-10{right:83.33333333%}.scc-col-md-pull-9{right:75%}.scc-col-md-pull-8{right:66.66666667%}.scc-col-md-pull-7{right:58.33333333%}.scc-col-md-pull-6{right:50%}.scc-col-md-pull-5{right:41.66666667%}.scc-col-md-pull-4{right:33.33333333%}.scc-col-md-pull-3{right:25%}.scc-col-md-pull-2{right:16.66666667%}.scc-col-md-pull-1{right:8.33333333%}.scc-col-md-pull-0{right:auto}.scc-col-md-push-12{left:100%}.scc-col-md-push-11{left:91.66666667%}.scc-col-md-push-10{left:83.33333333%}.scc-col-md-push-9{left:75%}.scc-col-md-push-8{left:66.66666667%}.scc-col-md-push-7{left:58.33333333%}.scc-col-md-push-6{left:50%}.scc-col-md-push-5{left:41.66666667%}.scc-col-md-push-4{left:33.33333333%}.scc-col-md-push-3{left:25%}.scc-col-md-push-2{left:16.66666667%}.scc-col-md-push-1{left:8.33333333%}.scc-col-md-push-0{left:auto}.scc-col-md-offset-12{margin-left:100%}.scc-col-md-offset-11{margin-left:91.66666667%}.scc-col-md-offset-10{margin-left:83.33333333%}.scc-col-md-offset-9{margin-left:75%}.scc-col-md-offset-8{margin-left:66.66666667%}.scc-col-md-offset-7{margin-left:58.33333333%}.scc-col-md-offset-6{margin-left:50%}.scc-col-md-offset-5{margin-left:41.66666667%}.scc-col-md-offset-4{margin-left:33.33333333%}.scc-col-md-offset-3{margin-left:25%}.scc-col-md-offset-2{margin-left:16.66666667%}.scc-col-md-offset-1{margin-left:8.33333333%}.scc-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.scc-col-lg-1,.scc-col-lg-10,.scc-col-lg-11,.scc-col-lg-12,.scc-col-lg-2,.scc-col-lg-3,.scc-col-lg-4,.scc-col-lg-5,.scc-col-lg-6,.scc-col-lg-7,.scc-col-lg-8,.scc-col-lg-9{float:left}.scc-col-lg-12{width:100%}.scc-col-lg-11{width:91.66666667%}.scc-col-lg-10{width:83.33333333%}.scc-col-lg-9{width:75%}.scc-col-lg-8{width:66.66666667%}.scc-col-lg-7{width:58.33333333%}.scc-col-lg-6{width:50%}.scc-col-lg-5{width:41.66666667%}.scc-col-lg-4{width:33.33333333%}.scc-col-lg-3{width:25%}.scc-col-lg-2{width:16.66666667%}.scc-col-lg-1{width:8.33333333%}.scc-col-lg-pull-12{right:100%}.scc-col-lg-pull-11{right:91.66666667%}.scc-col-lg-pull-10{right:83.33333333%}.scc-col-lg-pull-9{right:75%}.scc-col-lg-pull-8{right:66.66666667%}.scc-col-lg-pull-7{right:58.33333333%}.scc-col-lg-pull-6{right:50%}.scc-col-lg-pull-5{right:41.66666667%}.scc-col-lg-pull-4{right:33.33333333%}.scc-col-lg-pull-3{right:25%}.scc-col-lg-pull-2{right:16.66666667%}.scc-col-lg-pull-1{right:8.33333333%}.scc-col-lg-pull-0{right:auto}.scc-col-lg-push-12{left:100%}.scc-col-lg-push-11{left:91.66666667%}.scc-col-lg-push-10{left:83.33333333%}.scc-col-lg-push-9{left:75%}.scc-col-lg-push-8{left:66.66666667%}.scc-col-lg-push-7{left:58.33333333%}.scc-col-lg-push-6{left:50%}.scc-col-lg-push-5{left:41.66666667%}.scc-col-lg-push-4{left:33.33333333%}.scc-col-lg-push-3{left:25%}.scc-col-lg-push-2{left:16.66666667%}.scc-col-lg-push-1{left:8.33333333%}.scc-col-lg-push-0{left:auto}.scc-col-lg-offset-12{margin-left:100%}.scc-col-lg-offset-11{margin-left:91.66666667%}.scc-col-lg-offset-10{margin-left:83.33333333%}.scc-col-lg-offset-9{margin-left:75%}.scc-col-lg-offset-8{margin-left:66.66666667%}.scc-col-lg-offset-7{margin-left:58.33333333%}.scc-col-lg-offset-6{margin-left:50%}.scc-col-lg-offset-5{margin-left:41.66666667%}.scc-col-lg-offset-4{margin-left:33.33333333%}.scc-col-lg-offset-3{margin-left:25%}.scc-col-lg-offset-2{margin-left:16.66666667%}.scc-col-lg-offset-1{margin-left:8.33333333%}.scc-col-lg-offset-0{margin-left:0}} * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;} *:before,*:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;} body {font-size: 14px;line-height: 1.42857143;color: #333333;background-color: #fff;} #scc-summary-view-header { -webkit-print-color-adjust: exact; justify-content: right; align-items: center;background-color: #F1F1F1 !important;padding: 7px 0px 7px 0px; min-height:40px} }<\/style><div class=' sscfull-width position-relative scc-buttons-visibility' style='margin-top:40px;text-align:right;background-color:#FFF;'><div class='scc-detailed-list-head'><\/div><span class='' ><button class='scc_btn_table' onclick='sendPDF(0)'><i class='fa fa-floppy-o fa-2x' href='javascript:void(0)'><\/i><\/button><\/span><span class='sscfull-height position-relative right-flex nopadding' id='sccprinterid'><button  class='scc_btn_table' onclick='PrintDoc(0)'><i class='fa fa-print fa-2x' href='javascript:void(0)'><\/i><\/button><\/span><span class='sscfull-height position-relative right-flex nopadding' ><button class='scc_btn_table' onclick='ClosePopup_scc2()'><i class='fa fa-close fa-2x' href='javascript:void(0)'><\/i><\/button><\/span><\/div><div class=' full-width position-relative scc-detailed-list-head' style='margin:20px; display: flex;justify-content: center; align-items: right; text-align:left!important;'><\/div><div class=' sscfull-width position-relative ' style='display:flex;align-items: center;'><div class='scc_email_template_view' id='scctembanimage' style='width:100%;'><\/div><\/div>   <div style='text-align:right'><span style='width: 100%;height: 100%;position: relative;align-items: right;justify-content:right;position:relative; right:0px;width:100%;text-align:right'>18\/05\/26<\/span><\/div><div class=' sscfull-width position-relative' style='padding-bottom:30px; display: flex;justify-content: center; align-items: center; text-align:center;'><div class='scc-col-md-10 scc-col-xs-12' style='padding-top:30px;padding-bottom:20px;font-size:30px'>Ebiss 1st Test  Template<\/div><\/div><div id='scc-summary-view-header' class=' sscfull-width position-relative table__fricctableprice'><div class='scc-col-md-6 scc-col-xs-5 Desc-Quantity-Price-Title-SCC' style='text-align:left'><span class='Title-Descriptions-Summary-Window trn Description'  style=' text-align: right;'>Description<\/span><\/div><div class='scc-col-md-2 scc-col-xs-2 Desc-Quantity-Price-Title-SCC' style='text-align:right'><span class='Title-Descriptions-Summary-Window trn Quantity'  >Quantity<\/span><\/div><div class='scc-col-md-2 scc-col-xs-2 Desc-Quantity-Price-Title-SCC' style='text-align:right'><span class='Title-Descriptions-Summary-Window trn Unit Price'  >Unit Price<\/span><\/div><div class='scc-col-md-2 scc-col-xs-3 Desc-Quantity-Price-Title-SCC' style='text-align:right'><span class='Title-Descriptions-Summary-Window trn Price' >Price<\/span><\/div><\/div>`;\r\n\t\tvar totalPrice =0;\r\n\t\tvar subTotal = 0;\r\n\t\tvar height = 0;\r\n\t\tvar tax=0;\r\n\t\tvar taxrate = 0;\r\n\t\tvar onTax = 'TAX_RATE_ON';\r\n\t\tvar TAX_RATE_ON = \"TAX_RATE_ON\";\r\n\t\tvar displayTax = taxrate;\r\n\t\tvar finalTotal=0;\r\n\t\tvar currencyType = 'GBP';\r\n\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tvar lastTitle = ''\r\n\t\t\t\tvar currentSubsection = -1\r\n\t\t\t\tvar sections = []\r\n\t\t\t\tvar section = []\r\n\t\t\t\tvar subsection = []\r\n\r\n\t\t\t\tfor(var i=0;i<parts.length;i++){\r\n\t\t\t\tvar _count = 0;\r\n\t\t\t\tvar currentTitle = germanCharactersInverseFrontEnd(\"Core Information\")\r\n\t\t\t\t\r\n\t\t\t\tif(_count == parts[i].section){\r\n\t\t\t\t\t\r\n\t\t\t\t\tif( ((parts[i].value > 0 || parts[i].value < 0 ) && parts[i].unit != 0) || (parts[i].value === 0 && parts[i].unit > 0) || parts[i].comment) {\r\n\t\t\t\t\t\tif(parts[i].value == 0.001){\r\n\t\t\t\t\t\t\tparts[i].value = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].subsection != currentSubsection) {\r\n\t\t\t\t\t\t\tsection.push(subsection)\r\n\t\t\t\t\t\t\tsubsection = []\r\n\t\t\t\t\t\t\tcurrentSubsection = parts[i].subsection\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(lastTitle != currentTitle){\r\n\t\t\t\t\t\t\tif(lastTitle != '') {\r\n\t\t\t\t\t\t\t\tsections.push(section)\r\n\t\t\t\t\t\t\t\tsection = []\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ttable_body+=\"<div class=' sscfull-width position-relative' >\";\r\n\t\t\t\t\t\t\ttable_body+=germanCharactersInverseFrontEnd(\"<div class='Section-Title-Summary-Window' style='margin-left:5px;'>Core Information<\/div><\/div>\");\r\n\t\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\tlastTitle = currentTitle;\r\n\t\t\t\t\t\t\tvar jsonPDFrowSection = {\r\n\t\t\t\t\t\t\t\ttype: \"section_title\",\r\n\t\t\t\t\t\t\t\tsection_title: currentTitle\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrowSection)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(isNaN(parts[i].unit)){\r\n\t\t\t\t\t\t\tparts[i].unit = 1;  \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvar jsonPDFrow = {}\r\n\t\t\t\t\t\tvar elementName = \"\"\r\n\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('row-fluid Product-Titles-Summary-Window')){\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).children().length == 2) {\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\ttype: \"element_dropdown\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\tdescription: scc_jQuery(parts[i].name).find('.product-desc-summary-scc').text(),\r\n\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(!parts[i].comment){\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tisSlidingScale: parts[i].isSlidingScale,\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('span2')){\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(parts[i].custom_math) {\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"custom_math\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tvalue_with_currency: priceCommaStyler(parts[i].value),\r\n                                            value: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\ttype: parts[i].custom_math_type,\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tshow_detailed_list: parts[i].show_detailed_list\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}else {\r\n\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: (parts[i].name).trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].custom_math){\r\n\t\t\t\t\t\t\/*\r\n                            adding currency in frontend custom math:\r\n                            *\/\r\n                           \r\n                          scc_jQuery('.scc_custom_math_value_front_end').each(function(index, ob){\r\n                                scc_jQuery(ob).text()\r\n \r\n                                scc_jQuery(ob).text((priceCommaStyler(parts[i].value)))\r\n                                   \r\n                           })\r\n                          \/* CUSTOM MATH *\/\r\n\t\t\t\t\t\t\tif(parts[i].show_detailed_list) {\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithCurrency = parts[i].custom_math_type + \" \" + (priceCommaStyler(parts[i].value));\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithoutCurrency = parts[i].custom_math_type + \" \" + priceCommaStyler(parts[i].value);\r\n\t\t\t\t\t\t\t\tpercentType = parts[i].value + parts[i].custom_math_type;\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='scc-preview-row'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2  ' style='text-align:left;'><span style='' class='users-price-summary-scc '> \"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t table_body += \"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height' style='text-align:left;'><span class='users-price-summary-scc '> <\/span><\/div>\";\r\n \r\n\ttable_body += \" <div class='scc-col-md-1 scc-col-xs-1 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? percentType : notPercentTypeWithCurrency ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/table_body += \"<div class='scc-col-xs-2 scc-col-md-2 ' style='min-height:50px'><\/div>\" \r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-2 scc-col-xs-3 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? '' : '' ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tif(parts[i].comment){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='comments-printing-improvement' style= 'display: flex;justify-content: left;'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-4 scc-col-xs-4 sscfull-height  ' style=''><span class='users-price-summary-scc ' >\"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-8 scc-col-xs-8 sscfull-height' style='text-align:left'><span class='users-price-summary-scc ' style=''>\" + parts[i].text + \" <\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\r\n\t\t\t\t\t\t\t\tvar jsonDPDFcomment = {\r\n\t\t\t\t\t\t\t\t\ttype: \"comment\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\ttitle: scc_jQuery(parts[i].name).find('.span2').text(),\r\n\t\t\t\t\t\t\t\t\t\tcomment: parts[i].text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tjsonPDF.rows.push(jsonDPDFcomment)\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-preview-row'>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2 ' style='text-align:left !important'>\"+parts[i].name+\"<\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/ table_body+=\"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height center-flex-align'><span class='users-price-summary-scc'>\"+parts[i].value+\" GBP<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-1 scc-col-xs-1 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'>\"+parts[i].unit+\" <\/span><\/div>\"; \/\/Quantity for all items\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height ' style='text-align:right'><span class='users-price-summary-scc' style='position:relative; right:0px;' ><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler(parts[i].value) + \" &nbsp;<\/span><span class='currency-sufix'><\/span>\t<\/span><\/div>\"; \/\/Unit value for all items\r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler( ( !(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value ).toFixed(2) )+\" &nbsp;<\/span><span class='currency-sufix'><\/span><\/span><\/div>\"; \/\/ Price for all items\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"unit_price\"] = parts[i].value\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"total_price\"] = currencyStyle(priceCommaStyler((!(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value).toFixed(2)))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrow)\r\n\t\t\t\t\t\tsubsection.push(jsonPDFrow)\r\n\t\t\t\t\t\ttable_body+=\"<\/div>\";\r\n\t\t\t\t\t\/\/\ttotalPrice +=(parts[i].unit*parts[i].value);\r\n\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsection.push(subsection)\r\n\t\t\t\tsections.push(section)\r\n\t\t\t\t\r\n\t\t\t\t\/*\r\n\t\t\t\t\tSTART - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\t\t\t\tfor(var i = 0; i < sections.length; i++) { \/\/ sections\r\n\t\t\t\t\tvar sectionPrice = 0;\r\n\t\t\t\t\tfor (var j = 0; j < sections[i].length; j++) { \/\/ subsections\r\n\t\t\t\t\t\tvar subsectionPrice = 0\r\n\t\t\t\t\t\tfor(var k = 0; k < sections[i][j].length; k++) { \/\/ elements\r\n\t\t\t\t\t\t\tif(sections[i][j][k].type === \"custom_math\") {\r\n\t\t\t\t\t\t\t\tconsole.log(sections[i][j][k])\r\n\t\t\t\t\t\t\t\tswitch (sections[i][j][k].attr.type) {\r\n\t\t\t\t\t\t\t\t\tcase \"+\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice + Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"-\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice - Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"x\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"%\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(1 + (sections[i][j][k].attr.value\/100))\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else if (sections[i][j][k].type === \"element\" || sections[i][j][k].type === \"element_dropdown\") {\r\n\t\t\t\t\t\t\t\tsubsectionPrice += !(sections[i][j][k].attr.isSlidingScale) ? sections[i][j][k].attr.unit * sections[i][j][k].attr.value : sections[i][j][k].attr.value\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(subsectionPrice < 0) {\r\n\t\t\t\t\t\t\/\/\tsubsectionPrice = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tsectionPrice += subsectionPrice\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttotalPrice += sectionPrice\r\n\r\n\t\t\t\t\tvar sectionTotalElement = jQuery(`.scc-section-total[data-section=${_count}] .scc-multiple-total-text`);\r\n                    var sectionTotalText = (currencyStyleOption === 0) ? currencySymbol(currencyLabel) + priceCommaStyler(sectionPrice) : priceCommaStyler(sectionPrice) + ' ' + currencyLabel;\r\n                    sectionTotalElement.text(sectionTotalText);\r\n\t\t\t\t}\r\n\t\t\t\tif(totalPrice < 0) {\r\n                    totalPrice = 0\r\n                }\r\n\t\t\t\t\/*\r\n\t\t\t\t\tEND - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\r\n\t\t\t\tsubTotal = totalPrice;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(taxrate !=0 && taxrate !=''){\r\n\t\t\t\t\ttax = (totalPrice * taxrate)\/100;\r\n\t\t\t\t\tfinalTotal = totalPrice + tax;            \r\n\t\t\t\t\t}else{\r\n\t\t\t\t\tfinalTotal = totalPrice;    \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tvar lastTitle = ''\r\n\t\t\t\tvar currentSubsection = -1\r\n\t\t\t\tvar sections = []\r\n\t\t\t\tvar section = []\r\n\t\t\t\tvar subsection = []\r\n\r\n\t\t\t\tfor(var i=0;i<parts.length;i++){\r\n\t\t\t\tvar _count = 1;\r\n\t\t\t\tvar currentTitle = germanCharactersInverseFrontEnd(\"Additional Options\")\r\n\t\t\t\t\r\n\t\t\t\tif(_count == parts[i].section){\r\n\t\t\t\t\t\r\n\t\t\t\t\tif( ((parts[i].value > 0 || parts[i].value < 0 ) && parts[i].unit != 0) || (parts[i].value === 0 && parts[i].unit > 0) || parts[i].comment) {\r\n\t\t\t\t\t\tif(parts[i].value == 0.001){\r\n\t\t\t\t\t\t\tparts[i].value = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].subsection != currentSubsection) {\r\n\t\t\t\t\t\t\tsection.push(subsection)\r\n\t\t\t\t\t\t\tsubsection = []\r\n\t\t\t\t\t\t\tcurrentSubsection = parts[i].subsection\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(lastTitle != currentTitle){\r\n\t\t\t\t\t\t\tif(lastTitle != '') {\r\n\t\t\t\t\t\t\t\tsections.push(section)\r\n\t\t\t\t\t\t\t\tsection = []\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ttable_body+=\"<div class=' sscfull-width position-relative' >\";\r\n\t\t\t\t\t\t\ttable_body+=germanCharactersInverseFrontEnd(\"<div class='Section-Title-Summary-Window' style='margin-left:5px;'>Additional Options<\/div><\/div>\");\r\n\t\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\tlastTitle = currentTitle;\r\n\t\t\t\t\t\t\tvar jsonPDFrowSection = {\r\n\t\t\t\t\t\t\t\ttype: \"section_title\",\r\n\t\t\t\t\t\t\t\tsection_title: currentTitle\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrowSection)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(isNaN(parts[i].unit)){\r\n\t\t\t\t\t\t\tparts[i].unit = 1;  \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvar jsonPDFrow = {}\r\n\t\t\t\t\t\tvar elementName = \"\"\r\n\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('row-fluid Product-Titles-Summary-Window')){\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).children().length == 2) {\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\ttype: \"element_dropdown\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\tdescription: scc_jQuery(parts[i].name).find('.product-desc-summary-scc').text(),\r\n\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(!parts[i].comment){\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tisSlidingScale: parts[i].isSlidingScale,\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('span2')){\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(parts[i].custom_math) {\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"custom_math\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tvalue_with_currency: priceCommaStyler(parts[i].value),\r\n                                            value: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\ttype: parts[i].custom_math_type,\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tshow_detailed_list: parts[i].show_detailed_list\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}else {\r\n\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: (parts[i].name).trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].custom_math){\r\n\t\t\t\t\t\t\/*\r\n                            adding currency in frontend custom math:\r\n                            *\/\r\n                           \r\n                          scc_jQuery('.scc_custom_math_value_front_end').each(function(index, ob){\r\n                                scc_jQuery(ob).text()\r\n \r\n                                scc_jQuery(ob).text((priceCommaStyler(parts[i].value)))\r\n                                   \r\n                           })\r\n                          \/* CUSTOM MATH *\/\r\n\t\t\t\t\t\t\tif(parts[i].show_detailed_list) {\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithCurrency = parts[i].custom_math_type + \" \" + (priceCommaStyler(parts[i].value));\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithoutCurrency = parts[i].custom_math_type + \" \" + priceCommaStyler(parts[i].value);\r\n\t\t\t\t\t\t\t\tpercentType = parts[i].value + parts[i].custom_math_type;\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='scc-preview-row'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2  ' style='text-align:left;'><span style='' class='users-price-summary-scc '> \"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t table_body += \"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height' style='text-align:left;'><span class='users-price-summary-scc '> <\/span><\/div>\";\r\n \r\n\ttable_body += \" <div class='scc-col-md-1 scc-col-xs-1 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? percentType : notPercentTypeWithCurrency ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/table_body += \"<div class='scc-col-xs-2 scc-col-md-2 ' style='min-height:50px'><\/div>\" \r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-2 scc-col-xs-3 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? '' : '' ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tif(parts[i].comment){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='comments-printing-improvement' style= 'display: flex;justify-content: left;'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-4 scc-col-xs-4 sscfull-height  ' style=''><span class='users-price-summary-scc ' >\"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-8 scc-col-xs-8 sscfull-height' style='text-align:left'><span class='users-price-summary-scc ' style=''>\" + parts[i].text + \" <\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\r\n\t\t\t\t\t\t\t\tvar jsonDPDFcomment = {\r\n\t\t\t\t\t\t\t\t\ttype: \"comment\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\ttitle: scc_jQuery(parts[i].name).find('.span2').text(),\r\n\t\t\t\t\t\t\t\t\t\tcomment: parts[i].text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tjsonPDF.rows.push(jsonDPDFcomment)\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-preview-row'>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2 ' style='text-align:left !important'>\"+parts[i].name+\"<\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/ table_body+=\"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height center-flex-align'><span class='users-price-summary-scc'>\"+parts[i].value+\" GBP<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-1 scc-col-xs-1 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'>\"+parts[i].unit+\" <\/span><\/div>\"; \/\/Quantity for all items\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height ' style='text-align:right'><span class='users-price-summary-scc' style='position:relative; right:0px;' ><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler(parts[i].value) + \" &nbsp;<\/span><span class='currency-sufix'><\/span>\t<\/span><\/div>\"; \/\/Unit value for all items\r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler( ( !(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value ).toFixed(2) )+\" &nbsp;<\/span><span class='currency-sufix'><\/span><\/span><\/div>\"; \/\/ Price for all items\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"unit_price\"] = parts[i].value\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"total_price\"] = currencyStyle(priceCommaStyler((!(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value).toFixed(2)))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrow)\r\n\t\t\t\t\t\tsubsection.push(jsonPDFrow)\r\n\t\t\t\t\t\ttable_body+=\"<\/div>\";\r\n\t\t\t\t\t\/\/\ttotalPrice +=(parts[i].unit*parts[i].value);\r\n\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsection.push(subsection)\r\n\t\t\t\tsections.push(section)\r\n\t\t\t\t\r\n\t\t\t\t\/*\r\n\t\t\t\t\tSTART - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\t\t\t\tfor(var i = 0; i < sections.length; i++) { \/\/ sections\r\n\t\t\t\t\tvar sectionPrice = 0;\r\n\t\t\t\t\tfor (var j = 0; j < sections[i].length; j++) { \/\/ subsections\r\n\t\t\t\t\t\tvar subsectionPrice = 0\r\n\t\t\t\t\t\tfor(var k = 0; k < sections[i][j].length; k++) { \/\/ elements\r\n\t\t\t\t\t\t\tif(sections[i][j][k].type === \"custom_math\") {\r\n\t\t\t\t\t\t\t\tconsole.log(sections[i][j][k])\r\n\t\t\t\t\t\t\t\tswitch (sections[i][j][k].attr.type) {\r\n\t\t\t\t\t\t\t\t\tcase \"+\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice + Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"-\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice - Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"x\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"%\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(1 + (sections[i][j][k].attr.value\/100))\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else if (sections[i][j][k].type === \"element\" || sections[i][j][k].type === \"element_dropdown\") {\r\n\t\t\t\t\t\t\t\tsubsectionPrice += !(sections[i][j][k].attr.isSlidingScale) ? sections[i][j][k].attr.unit * sections[i][j][k].attr.value : sections[i][j][k].attr.value\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(subsectionPrice < 0) {\r\n\t\t\t\t\t\t\/\/\tsubsectionPrice = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tsectionPrice += subsectionPrice\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttotalPrice += sectionPrice\r\n\r\n\t\t\t\t\tvar sectionTotalElement = jQuery(`.scc-section-total[data-section=${_count}] .scc-multiple-total-text`);\r\n                    var sectionTotalText = (currencyStyleOption === 0) ? currencySymbol(currencyLabel) + priceCommaStyler(sectionPrice) : priceCommaStyler(sectionPrice) + ' ' + currencyLabel;\r\n                    sectionTotalElement.text(sectionTotalText);\r\n\t\t\t\t}\r\n\t\t\t\tif(totalPrice < 0) {\r\n                    totalPrice = 0\r\n                }\r\n\t\t\t\t\/*\r\n\t\t\t\t\tEND - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\r\n\t\t\t\tsubTotal = totalPrice;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(taxrate !=0 && taxrate !=''){\r\n\t\t\t\t\ttax = (totalPrice * taxrate)\/100;\r\n\t\t\t\t\tfinalTotal = totalPrice + tax;            \r\n\t\t\t\t\t}else{\r\n\t\t\t\t\tfinalTotal = totalPrice;    \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tvar lastTitle = ''\r\n\t\t\t\tvar currentSubsection = -1\r\n\t\t\t\tvar sections = []\r\n\t\t\t\tvar section = []\r\n\t\t\t\tvar subsection = []\r\n\r\n\t\t\t\tfor(var i=0;i<parts.length;i++){\r\n\t\t\t\tvar _count = 2;\r\n\t\t\t\tvar currentTitle = germanCharactersInverseFrontEnd(\"Addition work\")\r\n\t\t\t\t\r\n\t\t\t\tif(_count == parts[i].section){\r\n\t\t\t\t\t\r\n\t\t\t\t\tif( ((parts[i].value > 0 || parts[i].value < 0 ) && parts[i].unit != 0) || (parts[i].value === 0 && parts[i].unit > 0) || parts[i].comment) {\r\n\t\t\t\t\t\tif(parts[i].value == 0.001){\r\n\t\t\t\t\t\t\tparts[i].value = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].subsection != currentSubsection) {\r\n\t\t\t\t\t\t\tsection.push(subsection)\r\n\t\t\t\t\t\t\tsubsection = []\r\n\t\t\t\t\t\t\tcurrentSubsection = parts[i].subsection\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(lastTitle != currentTitle){\r\n\t\t\t\t\t\t\tif(lastTitle != '') {\r\n\t\t\t\t\t\t\t\tsections.push(section)\r\n\t\t\t\t\t\t\t\tsection = []\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ttable_body+=\"<div class=' sscfull-width position-relative' >\";\r\n\t\t\t\t\t\t\ttable_body+=germanCharactersInverseFrontEnd(\"<div class='Section-Title-Summary-Window' style='margin-left:5px;'>Addition work<\/div><\/div>\");\r\n\t\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\tlastTitle = currentTitle;\r\n\t\t\t\t\t\t\tvar jsonPDFrowSection = {\r\n\t\t\t\t\t\t\t\ttype: \"section_title\",\r\n\t\t\t\t\t\t\t\tsection_title: currentTitle\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrowSection)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(isNaN(parts[i].unit)){\r\n\t\t\t\t\t\t\tparts[i].unit = 1;  \r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvar jsonPDFrow = {}\r\n\t\t\t\t\t\tvar elementName = \"\"\r\n\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('row-fluid Product-Titles-Summary-Window')){\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).children().length == 2) {\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\ttype: \"element_dropdown\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\tdescription: scc_jQuery(parts[i].name).find('.product-desc-summary-scc').text(),\r\n\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(!parts[i].comment){\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).find('.span2').text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tisSlidingScale: parts[i].isSlidingScale,\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif(scc_jQuery(parts[i].name).hasClass('span2')){\r\n\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\ttotal_price: \"\",\r\n\t\t\t\t\t\t\t\t\tvalue: parts[i].value\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tif(parts[i].custom_math) {\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"custom_math\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tvalue_with_currency: priceCommaStyler(parts[i].value),\r\n                                            value: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\ttype: parts[i].custom_math_type,\r\n\t\t\t\t\t\t\t\t\t\t\tname: scc_jQuery(parts[i].name).text().trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tshow_detailed_list: parts[i].show_detailed_list\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}else {\r\n\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow = {\r\n\t\t\t\t\t\t\t\t\t\ttype: \"element\",\r\n\t\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\t\tname: (parts[i].name).trim(),\r\n\t\t\t\t\t\t\t\t\t\t\tunit: parts[i].unit,\r\n\t\t\t\t\t\t\t\t\t\t\tvalue: parts[i].value,\r\n\t\t\t\t\t\t\t\t\t\t\tunit_price: \"\",\r\n\t\t\t\t\t\t\t\t\t\t\ttotal_price: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(parts[i].custom_math){\r\n\t\t\t\t\t\t\/*\r\n                            adding currency in frontend custom math:\r\n                            *\/\r\n                           \r\n                          scc_jQuery('.scc_custom_math_value_front_end').each(function(index, ob){\r\n                                scc_jQuery(ob).text()\r\n \r\n                                scc_jQuery(ob).text((priceCommaStyler(parts[i].value)))\r\n                                   \r\n                           })\r\n                          \/* CUSTOM MATH *\/\r\n\t\t\t\t\t\t\tif(parts[i].show_detailed_list) {\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithCurrency = parts[i].custom_math_type + \" \" + (priceCommaStyler(parts[i].value));\r\n\t\t\t\t\t\t\t\tnotPercentTypeWithoutCurrency = parts[i].custom_math_type + \" \" + priceCommaStyler(parts[i].value);\r\n\t\t\t\t\t\t\t\tpercentType = parts[i].value + parts[i].custom_math_type;\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='scc-preview-row'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2  ' style='text-align:left;'><span style='' class='users-price-summary-scc '> \"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t table_body += \"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height' style='text-align:left;'><span class='users-price-summary-scc '> <\/span><\/div>\";\r\n \r\n\ttable_body += \" <div class='scc-col-md-1 scc-col-xs-1 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? percentType : notPercentTypeWithCurrency ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/table_body += \"<div class='scc-col-xs-2 scc-col-md-2 ' style='min-height:50px'><\/div>\" \r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-2 scc-col-xs-3 sscfull-height' style='text-align:right'><span style=' margin-right:8px' class='users-price-summary-scc ' >\" + ( (parts[i].custom_math_type == '%') ? '' : '' ) + \"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\tif(parts[i].comment){\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<div class='comments-printing-improvement' style= 'display: flex;justify-content: left;'>\"\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-4 scc-col-xs-4 sscfull-height  ' style=''><span class='users-price-summary-scc ' >\"+parts[i].name+\"<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body += \" <div class='scc-col-md-8 scc-col-xs-8 sscfull-height' style='text-align:left'><span class='users-price-summary-scc ' style=''>\" + parts[i].text + \" <\/span><\/div>\";\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\ttable_body += \"<\/div>\"\r\n\r\n\t\t\t\t\t\t\t\tvar jsonDPDFcomment = {\r\n\t\t\t\t\t\t\t\t\ttype: \"comment\",\r\n\t\t\t\t\t\t\t\t\tattr: {\r\n\t\t\t\t\t\t\t\t\t\ttitle: scc_jQuery(parts[i].name).find('.span2').text(),\r\n\t\t\t\t\t\t\t\t\t\tcomment: parts[i].text\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tjsonPDF.rows.push(jsonDPDFcomment)\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-preview-row'>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-7 scc-col-xs-5 sscfull-height sccfull-height-2 ' style='text-align:left !important'>\"+parts[i].name+\"<\/div>\";\r\n\t\t\t\t\t\t\t\t\/\/ table_body+=\"<div class='scc-col-md-2 scc-col-xs-2 sscfull-height center-flex-align'><span class='users-price-summary-scc'>\"+parts[i].value+\" GBP<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-1 scc-col-xs-1 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'>\"+parts[i].unit+\" <\/span><\/div>\"; \/\/Quantity for all items\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height ' style='text-align:right'><span class='users-price-summary-scc' style='position:relative; right:0px;' ><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler(parts[i].value) + \" &nbsp;<\/span><span class='currency-sufix'><\/span>\t<\/span><\/div>\"; \/\/Unit value for all items\r\n\t\t\t\t\t\t\t\t\ttable_body+=\"<div class='scc-col-md-2 scc-col-xs-3 sscfull-height  ' style='text-align:right'><span class='users-price-summary-scc'><span class='currency-prefix'><\/span><span>&nbsp;  \"+priceCommaStyler( ( !(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value ).toFixed(2) )+\" &nbsp;<\/span><span class='currency-sufix'><\/span><\/span><\/div>\"; \/\/ Price for all items\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"unit_price\"] = parts[i].value\r\n\t\t\t\t\t\t\t\t\tjsonPDFrow.attr[\"total_price\"] = currencyStyle(priceCommaStyler((!(parts[i].isSlidingScale) ? parts[i].unit * parts[i].value : parts[i].value).toFixed(2)))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFrow)\r\n\t\t\t\t\t\tsubsection.push(jsonPDFrow)\r\n\t\t\t\t\t\ttable_body+=\"<\/div>\";\r\n\t\t\t\t\t\/\/\ttotalPrice +=(parts[i].unit*parts[i].value);\r\n\t\t\t\t\t\theight +=6;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsection.push(subsection)\r\n\t\t\t\tsections.push(section)\r\n\t\t\t\t\r\n\t\t\t\t\/*\r\n\t\t\t\t\tSTART - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\t\t\t\tfor(var i = 0; i < sections.length; i++) { \/\/ sections\r\n\t\t\t\t\tvar sectionPrice = 0;\r\n\t\t\t\t\tfor (var j = 0; j < sections[i].length; j++) { \/\/ subsections\r\n\t\t\t\t\t\tvar subsectionPrice = 0\r\n\t\t\t\t\t\tfor(var k = 0; k < sections[i][j].length; k++) { \/\/ elements\r\n\t\t\t\t\t\t\tif(sections[i][j][k].type === \"custom_math\") {\r\n\t\t\t\t\t\t\t\tconsole.log(sections[i][j][k])\r\n\t\t\t\t\t\t\t\tswitch (sections[i][j][k].attr.type) {\r\n\t\t\t\t\t\t\t\t\tcase \"+\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice + Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"-\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice - Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"x\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(sections[i][j][k].attr.value)\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t\tcase \"%\":\r\n\t\t\t\t\t\t\t\t\t\tsubsectionPrice = subsectionPrice * Number(1 + (sections[i][j][k].attr.value\/100))\r\n\t\t\t\t\t\t\t\t\tbreak\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}else if (sections[i][j][k].type === \"element\" || sections[i][j][k].type === \"element_dropdown\") {\r\n\t\t\t\t\t\t\t\tsubsectionPrice += !(sections[i][j][k].attr.isSlidingScale) ? sections[i][j][k].attr.unit * sections[i][j][k].attr.value : sections[i][j][k].attr.value\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(subsectionPrice < 0) {\r\n\t\t\t\t\t\t\/\/\tsubsectionPrice = 0\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tsectionPrice += subsectionPrice\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttotalPrice += sectionPrice\r\n\r\n\t\t\t\t\tvar sectionTotalElement = jQuery(`.scc-section-total[data-section=${_count}] .scc-multiple-total-text`);\r\n                    var sectionTotalText = (currencyStyleOption === 0) ? currencySymbol(currencyLabel) + priceCommaStyler(sectionPrice) : priceCommaStyler(sectionPrice) + ' ' + currencyLabel;\r\n                    sectionTotalElement.text(sectionTotalText);\r\n\t\t\t\t}\r\n\t\t\t\tif(totalPrice < 0) {\r\n                    totalPrice = 0\r\n                }\r\n\t\t\t\t\/*\r\n\t\t\t\t\tEND - CUSTOM MATH CALCULATOR \r\n\t\t\t\t*\/\r\n\r\n\t\t\t\tsubTotal = totalPrice;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(taxrate !=0 && taxrate !=''){\r\n\t\t\t\t\ttax = (totalPrice * taxrate)\/100;\r\n\t\t\t\t\tfinalTotal = totalPrice + tax;            \r\n\t\t\t\t\t}else{\r\n\t\t\t\t\tfinalTotal = totalPrice;    \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\t\/\/mark-10072019 tax view position change\r\n\t\tif(comments && comments.length > 0){\r\n\t\t\ttable_body +=\"<br\/>\"\r\n\t\t\ttable_body +=\"<br\/>\"\r\n\t\t\tfor(var i=0; i<comments.length; i++){\r\n\t\t\t\ttable_body += \"<div class='comments-printing-improvement' style= 'margin-left:-10px'>\"\r\n\t\t\t\ttable_body += \" <div class='scc-col-md-4 scc-col-xs-4 sscfull-height  '><span class='users-price-summary-scc '>\"+comments[i].title+\"<\/span><\/div>\";\r\n\t\t\t\ttable_body += \" <div class='scc-col-md-4 scc-col-xs-4 sscfull-height' style='text-align:right'><span class='users-price-summary-scc ' style='margin-right:-15px'>\" + comments[i].text + \" <\/span><\/div>\";\r\n\t\t\t\ttable_body += \"<div class='scc-col-xs-4 scc-col-md-4 ' style='min-height:50px'><\/div>\" \r\n\t\t\t\ttable_body += \"<\/div>\"\r\n\r\n\t\t\t\tvar jsonDPDFcomment = {\r\n\t\t\t\t\ttype: \"comment\",\r\n\t\t\t\t\tattr: {\r\n\t\t\t\t\t\ttitle: scc_jQuery(comments[i].title).find('.span2').text(),\r\n\t\t\t\t\t\tcomment: comments[i].text\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tjsonPDF.rows.push(jsonDPDFcomment)\r\n\t\t\t}\r\n\/\/\t\t\ttable_body +=\"<br\/>\"\r\n\t\t}\r\n\t\t\r\n\t\tsubTotal = displayCouponDiscountInFrontEnd(subTotal)\r\n\t\t\/\/ Start of Displaying Coupon Discount\r\n\t\t\r\n\t\tif(taxrate !=0 && taxrate !=''){\r\n\t\t\t\t\ttax = (subTotal * taxrate)\/100;\r\n\t\t\t\t\tfinalTotal = subTotal + tax;            \r\n\t\t\t\t\t}else{\r\n\t\t\t\t\tfinalTotal = subTotal;    \r\n\t\t\t\t}\r\n\t\t\t\t\r\n\r\n\t\t\/\/table_body+=\"  <div class=' full-width position-relative' style='height: 5%; display: flex;justify-content: center; align-items: center;'><\/div>\";\r\n\t\ttable_body+=\"  <div class=' full-width position-relative' >\";\r\n\t\tif(coupon){\r\n\t\t\ttable_body+=\"   <div class='scc-col-md-offset-5 scc-col-xs-offset-5 scc-col-md-7 scc-col-xs-7' id='display_price_table' style='margin-top: 20px;'>\";\r\n\t\t\r\n\t\t\tif(Number(coupon.discountpercentage) != -1){\r\n\t\t\t\tvar jsonPDFcoupon = {\r\n\t\t\t\t\ttype: \"coupon\",\r\n\t\t\t\t\tattr: {\r\n\t\t\t\t\t\ttitle: \"Coupon Discount \" + coupon.discountpercentage + \"%\",\r\n\t\t\t\t\t\tdiscount_price: \"\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n                    if(translatorJson['Coupon Discount'] && translatorJson['Coupon Discount']['en']) {\r\n                        jsonPDFcoupon = {\r\n                            type: \"coupon\",\r\n                            attr: {\r\n                                title: translatorJson['Coupon Discount']['en'] + \" \" + coupon.discountpercentage + \"%\",\r\n                                discount_price: \"\"\r\n                            }\r\n                        }\r\n                    } \r\n                }\r\n                table_body+=\"   <div class='scc-col-md-12 scc-col-xs-12 sscfull-height position-relative table__fricctableprice' style='border: 1px solid white;text-align:right; max-width:250px'><span class='Coupon_percentage' style='font-weight:bold;margin-right:20px' ><span class='trn'>Coupon Discount<\/span> \" + coupon.discountpercentage + \"%<\/span><\/div>\";\r\n\t\t\t\t\r\n\t\t\t\t\tjsonPDFcoupon.attr[\"discount_price\"] = \"-\" + currencyStyle(priceCommaStyler(coupon.discount_value_total.toFixed(2))) +\"\"\r\n\t\t\t\t\ttable_body+=\"   <div  style='border: 1px solid white; text-align:right; justify-content: right; align-items: center;'><span class='Total_Price' id='coupon_discount_with_currency_label' style='font-weight:bold;position:relative; right:0px;width:100%;'>-\" + priceCommaStyler(coupon.discount_value_total.toFixed(2)) +\" GBP<\/span><\/div>\";\r\n\t\t\t\t\r\n\t\t\t\tjsonPDF.rows.push(jsonPDFcoupon)\r\n\r\n\t\t\t}\r\n\t\t\tif(Number(coupon.discountvalue) != -1){\r\n\t\t\t\tvar jsonPDFcoupon = {\r\n\t\t\t\t\ttype: \"coupon\",\r\n\t\t\t\t\tattr: {\r\n\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\tdiscount_price: \"\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\tjsonPDFcoupon.attr[\"title\"] = \"Coupon Discount \" + currencyStyle(priceCommaStyler(Number(coupon.discountvalue).toFixed(2))) \r\n\t\t\t\t\tjsonPDFcoupon.attr[\"discount_price\"] = \"-\" + currencyStyle(priceCommaStyler(coupon.discount_value_total.toFixed(2))) \r\n\t\t\t\t\t\r\n\t\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n                        if(translatorJson['Coupon Discount'] && translatorJson['Coupon Discount']['en']) {\r\n                            jsonPDFcoupon.attr[\"title\"] = translatorJson['Coupon Discount']['en'] + \" \" + currencyStyle(priceCommaStyler(Number(coupon.discountvalue).toFixed(2))) \r\n                        } \r\n                    }\r\n\r\n                    table_body+=\"   <div class='scc-col-md-12 scc-col-xs-12 sscfull-height position-relative table__fricctableprice' style='border: 1px solid white;text-align:right; justify-content: right; align-items: center;max-width:250px'><span class='trn Coupon_percentage' style='font-weight:bold;margin-right:20px' ><span class='trn'>Coupon Discount<\/span> \" + priceCommaStyler(Number(coupon.discountvalue).toFixed(2))  +  \" GBP<\/span><\/div>\";\r\n\t\t\t\t\ttable_body+=\"   <div  style='border: 1px solid white;text-align:right; justify-content: right; align-items: center;'><span class='Total_Price' id='coupon_discount_with_currency_label' style='font-weight:bold;position:relative; right:0px;width:100%;'> -\" + priceCommaStyler(coupon.discount_value_total.toFixed(2)) +\" GBP<\/span><\/div>\";\r\n\t\t\t\t\t\t\t\tjsonPDF.rows.push(jsonPDFcoupon)\r\n\t\t\t}\r\n\t\t\ttable_body+=\" <\/div>\"\r\n\t\t}\r\n\t\t\/\/table_body+=\"   <div class='scc-col-md-6 scc-col-xs-0'><\/div>\";\r\n\t\ttable_body+=\"   <div class='scc-col-md-offset-6 scc-col-xs-offset-6 scc-col-md-6 scc-col-xs-6' id='display_price_table' style='margin-top: 20px;border-top: 2px solid #E8E8E8;padding-top:10px'>\";\r\n\t\t\r\n\t\t\r\n\t\t\/\/ Start of Displaying Sub-total Tax\r\n\t\t\t\t\/\/ End of Displaying Sub-total Tax\r\n\t\t\r\n\t\t\/\/ Start of Displaying Tax\r\n\t\t\t    \/\/ End of Displaying Tax\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tvar jsonPDFtotal = {\r\n\t\t\t\ttype: \"total\",\r\n\t\t\t\tattr: {\r\n\t\t\t\t\ttitle: \"Total Price\",\r\n\t\t\t\t\tprice: \"\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\ttable_body+=\"   <div class=' scc-col-md-6 scc-col-xs-6 sscfull-height position-relative table__fricctableprice' style='border: 1px solid white;text-align:right; max-width:150px'><span class='trn Total_Price' style='font-weight:bold;' >Total Price<\/span><\/div>\";\r\n\t\t\t\t\tjsonPDFtotal.attr[\"price\"] = currencyStyle(priceCommaStyler(finalTotal.toFixed(2)))\r\n\t\t\ttable_body+=\"   <div  style='border: 1px solid white;text-align:right; justify-content: right; align-items: center;'><span class='Total_Price' id='total_price_with_currency_label' style='font-weight:bold;position:relative; right:0px;width:100%;text-align:right'>\" + priceCommaStyler(finalTotal.toFixed(2)) +\" GBP<\/span><\/div>\";\r\n\t\t\r\n\t\tjsonPDF.rows.push(jsonPDFtotal)\r\n\t\t\r\n\t\ttable_body+=\"   <\/div><\/div>\";\r\n\t\ttable_body+=\"   <div class='scc_email_template_view' id='scc_email_temfootdiscr' style='margin-top: 84px;'><div style='max-width: 65%;margin: auto;padding-top:75px;'><\/div><\/div>\";\r\n\t\t\r\n\t\t\/* table_body+=\"<div class='scc-col-md-9 scc-col-xs-9 sscfull-height position-relative center-flex users-price-summary-scc' style='color: black;'><span style='width: 100%; padding: 1%; height: 100%; display: flex;position: relative;align-items: flex-end;'>Issue On:  \".date('m\/d\/Y H:i').\"<\/span><\/div>\"; *\/\r\n\t\tvar xheight = 42+height - 100;\r\n\t\tif (xheight <= 5) xheight =5;\/\/console.log(xheight, height);\r\n\t\ttable_body+=\"  <div class='row sscfull-width position-relative' style='height:\"+xheight+\"%; display: flex;justify-content: center; align-items: center;'><\/div>\";\r\n\t\/\/   table_body+=\"<div id='sccidsent' class='sscfull-height position-relative'>\"\r\n\t\/\/   table_body+=\"<div class='row sscfull-width position-relative scccontrol' id='sccemailid' style='height: 7%; display: flex;justify-content: center; align-items: center;'>\";\r\n\t\/\/   table_body+=\"<div class='scc-col-md-3 scc-col-xs-3 sscfull-height' style='background:#f0f0f0;display: flex; justify-content: center; align-items: center;padding: 0.5%;'><input id='sscuserAddress' class='performance-facts__summary4' type='text'placeholder='Name' style='color:#666;'\/><\/div>\";\r\n\t\/\/   table_body+=\"<div class='scc-col-md-3 scc-col-xs-3 sscfull-height' style='background:#f0f0f0;display: flex; justify-content: center; align-items: center;padding: 0.5%;'><input id='sscemailAddress' class='performance-facts__summary4' type='email' placeholder='Email' style='color:#666;'\/><\/div>\";\r\n\t\/\/   table_body+=\"<div class='scc-col-md-3 scc-col-xs-3 sscfull-height' style='background:#f0f0f0;display: flex; justify-content: center; align-items: center;padding: 0.5%;'><input class='performance-facts__summary4' type='text' placeholder='Phone (Optional)' style='color:#666;'\/><\/div>\";\r\n\t\/\/   table_body+=\"<div class='scc-col-md-3 scc-col-xs-3 sscfull-height' style='background:#f0f0f0;display: flex; justify-content: center; align-items: center;padding: 0.5%;'><button \"+'disabled'+\" class='scc_button_table performance-facts__summary2' style='' onclick='javascript:sendemail(\"+0+\");' id='sendemail'><span class='trn SEND'>SEND<\/span><\/button><\/div>\";\r\n\t\/\/   table_body+=\"<\/div>\";\r\n\ttable_body+=\"<\/div>\";\r\n\ttable_body+=\"<\/div>\";\r\n\tscc_jQuery('#sccTale_price').html(table_body);\r\n\t\t\t\r\n\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n\t\t\t\tinitTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n\t\t\t}\r\n\r\n\t\t\tscc_jQuery('body').find('.Description').each(function(index, ob){\r\n\t\t\t\tjsonPDF.description = scc_jQuery(ob).text()\r\n\t\t\t})\r\n\t\t\tscc_jQuery('body').find('.Quantity').each(function(index, ob){\r\n\t\t\t\tjsonPDF.quantity = scc_jQuery(ob).text()\r\n\t\t\t})\r\n\t\t\tscc_jQuery('body').find('.Unit').each(function(index, ob){\r\n\t\t\t\tjsonPDF.unit = scc_jQuery(ob).text()\r\n\t\t\t})\r\n\t\t\tscc_jQuery('body').find('.Price').each(function(index, ob){\r\n\t\t\t\tjsonPDF.price = scc_jQuery(ob).text()\r\n\t\t\t})\r\n\t\t\tscc_jQuery('body').find('.subtotal_tax_for_pdf').each(function(index, ob){\r\n\t\t\t\tfor(var i= 0; i < jsonPDF.rows.length;  i++){\r\n\t\t\t\t\tif(jsonPDF.rows[i].type == \"subtotal_tax\") {\r\n\t\t\t\t\t\tjsonPDF.rows[i].attr.title = scc_jQuery(ob).text()\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tscc_jQuery('body').find('.tax_for_pdf').each(function(index, ob){\r\n\t\t\t\tfor(var i= 0; i < jsonPDF.rows.length;  i++){\r\n\t\t\t\t\tif(jsonPDF.rows[i].type == \"tax\") {\r\n\t\t\t\t\t\tjsonPDF.rows[i].attr.title = scc_jQuery(ob).text()\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t\treturn subTotal\r\n\t}\r\n\tfunction priceCommaStyler(price){\r\n\t\tisCommaBasedStyling = false;\r\n\t\tprice = price + '';\r\n\t\tif (isCommaBasedStyling) {\r\n            var dot = price.indexOf('.') === -1 ? false : true\r\n            var newPrice = ''\r\n\r\n            for(var i = (price.split('').length - 1) ; i >= 0; i--){\r\n                if(price.indexOf('-') === -1){\r\n                    if(!dot && (i === ((price.split('').length - 1) - 3) || i === ((price.split('').length - 1) - 6) || i === ((price.split('').length - 1) - 9))){\r\n                        newPrice = ',' + newPrice\r\n                    }else if(dot && (i === ((price.split('').length - 1) - 6) || i === ((price.split('').length - 1) - 9) || i === ((price.split('').length - 1) - 12))){\r\n                        newPrice = ',' + newPrice\r\n                    }            \r\n                    newPrice = price.split('')[i] + newPrice\r\n                }else{\r\n                    if(!dot && (i === ((price.split('').length - 1) - 4) || i === ((price.split('').length - 1) - 6) || i === ((price.split('').length - 1) - 9))){\r\n                        if(price.split('').length > 4){\r\n                            newPrice = ',' + newPrice\r\n                        }\r\n                    }else if(dot && (i === ((price.split('').length - 1) - 6) || i === ((price.split('').length - 1) - 9) || i === ((price.split('').length - 1) - 12))){\r\n                        if(price.split('').length > 7){\r\n                            newPrice = ',' + newPrice\r\n                        }\r\n                    }            \r\n                    newPrice = price.split('')[i] + newPrice\r\n                }\r\n                    \r\n            }\r\n            if(newPrice.length >= 3 && ( newPrice.substring(newPrice.length - 3, newPrice.length - 1) === '.00' || newPrice.substring(newPrice.length - 3, newPrice.length) === '.00')  ){\r\n                newPrice = newPrice.split('.')[0]\r\n            }\r\n            return newPrice;\r\n        }\r\n\t\treturn parseFloat(price).toLocaleString(navigator.languages[0]);\r\n\t}\r\n\t\r\n\tfunction hiddenClone(element){\r\n\t\/\/ Create clone of element\r\n\tvar clone = element.cloneNode(true);\r\n\t\r\n\t\/\/ Position element relatively within the \r\n\t\/\/ body but still out of the viewport\r\n\tvar style = clone.style;\r\n\t\/\/\tstyle.position = 'absolute';\r\n\t\/\/\tstyle.top = - window.innerHeight + 'px';\r\n\tstyle.left = 0;\r\n\tstyle.top = 1000 + 'px'\r\n\t\/\/\tstyle.background = '#FFFFFF'\r\n\t\r\n\t\/\/ Append clone to body and return the clone\r\n\tdocument.body.appendChild(clone);\r\n\treturn clone;\r\n\t}\r\n\t\r\n\t\r\n\r\n\r\n\tfunction sendPDF(enable){\r\n\t\tif(enable ==0){\r\n\t\t\tscc_jQuery('.scc-alert').remove();  \r\n\t\t\t\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t\t\r\n\t\t$ajaxQuery= {\r\n\t\t\turl: rt_vars.rt_urlajax,\r\n\t\t\ttype: 'POST',\r\n\t\t\txhrFields: {\r\n\t\t\t\tresponseType: ''\r\n\t\t\t},\r\n\t\t\tdata: {\r\n\t\t\t\taction: 'sccSendPDF',\r\n\t\t\t\tpayload: Base64.encode(JSON.stringify(jsonPDF)),\r\n                tableTitle,\r\n\t\t\t},\r\n\t\t\tsuccess: function(b64){\r\n\t\t\t\t\r\n                const linkSource = `data:application\/pdf;base64,${b64}`;\r\n                const downloadLink = document.createElement(\"a\");\r\n                const fileName = \"quote.pdf\";\r\n\r\n                downloadLink.href = linkSource;\r\n                downloadLink.download = fileName;\r\n\t\t\t\tdownloadLink.click();\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\terror: function(err){\r\n\t\t\t\tconsole.log('err', err)\r\n\t\t\t\tconsole.log('err', err.responseText)\r\n\t\t\t\t\r\n\r\n\t\t\t\tvar disposition = err.getResponseHeader('content-disposition');\r\n\t\t\t\tvar matches = \/\"([^\"]*)\"\/.exec(disposition);\r\n\t\t\t\tvar filename = (matches != null && matches[1] ? matches[1] : 'file.pdf');\r\n\r\n\t\t\t\t\/\/ The actual download\r\n\t\t\t\tvar blob = new Blob([err.responseText], { type: 'application\/pdf' });\r\n\t\t\t\tvar link = document.createElement('a');\r\n\t\t\t\tlink.href = window.URL.createObjectURL(blob);\r\n\t\t\t\tlink.download = filename;\r\n\r\n\t\t\t\tdocument.body.appendChild(link);\r\n\r\n\t\t\t\tlink.click();\r\n\r\n\t\t\t\tdocument.body.removeChild(link);\r\n\t\t\t}\r\n\t\t}\r\n\t\tscc_jQuery.ajax($ajaxQuery);\r\n        \/\/ var xmlhttp = new XMLHttpRequest();\r\n        \/\/ xmlhttp.open(\"POST\", rt_vars.rt_urlajax, true);\r\n        \/\/ xmlhttp.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded; charset=UTF-8');\r\n        \/\/ xmlhttp.send(JSON.stringify({\r\n        \/\/     action: 'sccSendPDF',\r\n        \/\/     payload: JSON.stringify(jsonPDF),\r\n        \/\/ }));\r\n\t}\r\n\tvar isMobile = false\r\n\tfunction sendemail($enable){\r\n\r\n\t\tif($enable ==0){\r\n\t\t\tscc_jQuery(\"#myModalSCCEmailQuote\").modal();\r\n\t\t\tscc_jQuery('.modal-backdrop').each(function(){\r\n\t\t\tscc_jQuery(this).removeClass('modal-backdrop')\r\n\t\t})\r\n\t\treturn;\r\n\t\t}\r\n\t\tconsole.log(\"scc_jQuery('#sscemailAddress').val().length\", scc_jQuery('#sscemailAddress').val().length)\r\n\t\tif(!scc_jQuery('#sscemailAddress') || !scc_jQuery('#sscemailAddress').val() \r\n\t\t\t|| !scc_jQuery('#sscemailAddress').val().includes('@')\r\n\t\t\t|| !scc_jQuery('#sscemailAddress').val().includes('.')\r\n\t\t\t|| scc_jQuery('#sscemailAddress').val().includes('#')\r\n\t\t\t|| scc_jQuery('#sscemailAddress').val().length < 4){\r\n\t\t\tscc_jQuery('#email-error').html('Email not valid')\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tcreateSendEmailModal()\r\n\t\t\/\/ saving current display properties of the headers and footers to data for use when modal is closed\r\n\t\tscc_jQuery('header').each(function () {\r\n            var headerState = scc_jQuery(this).css('display');\r\n            jQuery(this)\r\n                .data('scc-headerState', headerState)\r\n                .css({\r\n                    display: 'none'\r\n                });\r\n        });\r\n        scc_jQuery('footer').each(function () {\r\n            var footerState = scc_jQuery(this).css('display');\r\n            jQuery(this)\r\n                .data('scc-footerState', footerState)\r\n                .css({\r\n                    display: 'none'\r\n            \t});\r\n        });\r\n\t\tvar title = document.getElementById(\"framtablename\") ? document.getElementById(\"framtablename\").innerText : '';\r\n\t\tvar bar=new RadialProgress(document.getElementById(\"scc_sendemail_progress_bar\"),{indeterminate:false,colorFg:\"#2374dd\",thick:10,fixedTextSize:0.2});\r\n\t\tbar.setValue(0.1);\r\n\t\tscc_jQuery('.hover_bkgr_fricctableprice').show();\r\n\t\tscc_jQuery('#sccprinterid').attr('style','display:none !important');\r\n\t\tscc_jQuery('#sccidsent').hide();\r\n\t\tscc_jQuery('#sccemailid').hide();\r\n\t\t\r\n\t\t\r\n\t\tvar currentScroll = scc_jQuery(document).scrollTop()\r\n\t\tscc_jQuery(document).scrollTop(0)\r\n\t\tvar bodyWidth = scc_jQuery('body').css('width')\r\n\t\t\r\n\r\n\t\tif( navigator.userAgent.match(\/Android\/i)\r\n\t\t|| navigator.userAgent.match(\/webOS\/i)\r\n\t\t|| navigator.userAgent.match(\/iPhone\/i)\r\n\t\t|| navigator.userAgent.match(\/iPad\/i)\r\n\t\t|| navigator.userAgent.match(\/iPod\/i)\r\n\t\t|| navigator.userAgent.match(\/BlackBerry\/i)\r\n\t\t|| navigator.userAgent.match(\/Windows Phone\/i)){\r\n\t\t\t\tisMobile = true\r\n\t\t}\r\n\t\t\/*\r\n\t\tscc_jQuery('.scc-buttons-visibility').each(function(index, ob){\r\n\t\t\tscc_jQuery(ob).css('display', 'none')\r\n\t\t})\r\n\t\t*\/\r\n\r\n\t\tbar.setValue(0.3)\r\n\r\n\t\tbar.setValue(0.5)\r\n\r\n\r\n\t\tscc_jQuery.getJSON('https:\/\/httpbin.org\/ip', function(data) {\r\n\t\tvar titleFromDatabase = \"\";\r\n\t\t\r\n\t\tif(titleFromDatabase && titleFromDatabase.length > 0){\r\n\t\t\ttitle = titleFromDatabase\r\n\t\t}\r\n\t\tvar email = scc_jQuery('#sscemailAddress').val()\r\n\t\tvar user = scc_jQuery('#sscuserAddress').val()\r\n\t\tvar phone  = scc_jQuery('#sscuserPhone').val();\r\n\t\t\r\n\t\tbar.setValue(0.90);\r\n\t\t\r\n\t\tscc_jQuery(document).scrollTop(currentScroll)\r\n\t\tvar ipaddress = 'no IP'\r\n\t\tif(data){\r\n\t\t\tif(data.origin){\r\n\t\t\t\tif(data.origin.length > 0 ){\r\n\t\t\t\t\tipaddress = data.origin.split(',')[0]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\tvar browserInfo = \"\"\r\n\tvar isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR\/') >= 0;\r\n\tvar isFirefox = typeof InstallTrigger !== 'undefined';\r\n\tvar isSafari = \/constructor\/i.test(window.HTMLElement) || (function (p) { return p.toString() === \"[object SafariRemoteNotification]\"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));\r\n\tvar isIE = \/*@cc_on!@*\/false || !!document.documentMode;\r\n\tvar isEdge = !isIE && !!window.StyleMedia;\r\n\tvar isChrome = !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime);\r\n\tvar isBlink = (isChrome || isOpera) && !!window.CSS;\r\n\r\n\tif(isOpera) browserInfo = \"Opera\"\r\n\tif(isFirefox) browserInfo = \"Firefox\"\r\n\tif(isSafari) browserInfo = \"Safari\"\r\n\tif(isIE) browserInfo = \"Internet Explorer\"\r\n\tif(isEdge) browserInfo = \"Edge\"\r\n\tif(isChrome) browserInfo = \"Chrome\"\r\n\t\r\n\t$fragment_refresh={\r\n\t\turl: rt_vars.rt_urlajax,\r\n\t\ttype: 'POST',\r\n\t\tdata: {\r\n\t\t\taction: 'sccSendEmail',\r\n\t\t\tpayload: Base64.encode(JSON.stringify(jsonPDF)),\r\n\t\t\temail_to: email,\r\n\t\t\tuser_to: user,\r\n\t\t\ttitle: title,\r\n\t\t\tphone: phone,\r\n\t\t\tipaddress: ipaddress,\r\n\t\t\tbrowserInfo: browserInfo,\r\n\t\t\tdevice: isMobile\r\n\t\t},\r\n\t\tsuccess: function(data) {\r\n\t\t\r\n\t\t\tbar.setValue(1);\r\n\t\t\tClosePopup_scc2()\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tremoveSendEmailProgress()\r\n\t\t\t\tscc_jQuery('body').css({\r\n\t\t\t\t\toverflow: 'visible'\r\n\t\t\t\t});\r\n\t\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\t\tscc_jQuery('header').each(function () {\r\n\t\t\t\t\tvar initialState = jQuery(this).data('scc-headerState');\r\n\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t});\r\n\t\t\t\tscc_jQuery('footer').each(function () {\r\n\t\t\t\t\tvar initialState = jQuery(this).data('scc-footerState');\r\n\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t});\r\n\t\t\t}, 1000);\r\n\t\t\tscc_jQuery('#statusMsg').html('<span class=\"scc-col-lg-8 scc-col-md-8 scc-col-xs-12\" style=\"font-size:17px;color:#34A853\"> Thank you, '+user+'. Your quote has been sent to '+email+'<\/span>');\r\n\t\t}\r\n\t}\r\n\tscc_jQuery.ajax( $fragment_refresh )\r\n\t})\r\n\t.fail(function() {\r\n\t\t$fragment_refresh={\r\n\t\t\turl: rt_vars.rt_urlajax,\r\n\t\t\ttype: 'POST',\r\n\t\t\tdata: {\r\n\t\t\t\taction: 'sccSendEmail',\r\n\t\t\t\t\tpayload: Base64.encode(JSON.stringify(jsonPDF)),\r\n\t\t\t\t\temail_to: email,\r\n\t\t\t\t\tuser_to: user,\r\n\t\t\t\t\ttitle: title,\r\n\t\t\t\t\tphone: phone,\r\n\t\t\t\t\tipaddress: '',\r\n\t\t\t\t\tbrowserInfo: browserInfo,\r\n\t\t\t\t\tdevice: isMobile\r\n\t\t\t},\r\n\t\t\tsuccess: function(data) {\r\n\t\t\r\n\t\t\t\tbar.setValue(1)\r\n\t\t\t\tClosePopup_scc2()\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tremoveSendEmailProgress()\r\n\t\t\t\t\tscc_jQuery('body').css({\r\n\t\t\t\t\toverflow: 'visible'\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\t\t\tscc_jQuery('header').each(function () {\r\n\t\t\t\t\t\tvar initialState = jQuery(this).data('scc-headerState');\r\n\t\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t\t});\r\n\t\t\t\t\tscc_jQuery('footer').each(function () {\r\n\t\t\t\t\t\tvar initialState = jQuery(this).data('scc-footerState');\r\n\t\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t\t});\r\n\t\t\t\t}, 1000);\r\n\t\t\t\tscc_jQuery('#statusMsg').html('<span class=\"scc-col-lg-8 scc-col-md-8 scc-col-xs-12\" style=\"font-size:17px;color:#34A853\"> Thank you, '+user+'. Your quote has been sent to '+email+'<\/span>');\r\n\t\t\t}\r\n\t\t}\r\n\t\tscc_jQuery.ajax( $fragment_refresh )\r\n\t})\r\n\r\n\r\n\r\n\r\n\r\n\t\tscc_jQuery('.scc-email-popup-close').click();\r\n\t\tsetTimeout(function(){scc_jQuery('#sccidsent').show();},600);\r\n\t}\r\n\r\n\t\r\n\tfunction check(doc,title, clone, currentScroll, bar){\r\n\t\tscc_jQuery.getJSON('https:\/\/httpbin.org\/ip', function(data) {\r\n\t\tvar titleFromDatabase = \"\";\r\n\t\t\r\n\t\tif(titleFromDatabase && titleFromDatabase.length > 0){\r\n\t\t\ttitle = titleFromDatabase\r\n\t\t}\r\n\t\tvar email = scc_jQuery('#sscemailAddress').val()\r\n\t\tvar user = scc_jQuery('#sscuserAddress').val()\r\n\t\tvar phone  = scc_jQuery('#sscuserPhone').val();\r\n\t\t\r\n\t\tbar.setValue(0.90);\r\n\t\t\r\n\t\tvar pdf = btoa(doc.output()); \r\n\t\tscc_jQuery(document).scrollTop(currentScroll)\r\n\t\tvar ipaddress = 'no IP'\r\n\tif(data){\r\n\t\tif(data.origin){\r\n\t\t\tif(data.origin.length > 0 ){\r\n\t\t\t\tipaddress = data.origin.split(',')[0]\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tvar browserInfo = \"\"\r\n\tvar isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR\/') >= 0;\r\n\tvar isFirefox = typeof InstallTrigger !== 'undefined';\r\n\tvar isSafari = \/constructor\/i.test(window.HTMLElement) || (function (p) { return p.toString() === \"[object SafariRemoteNotification]\"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));\r\n\tvar isIE = \/*@cc_on!@*\/false || !!document.documentMode;\r\n\tvar isEdge = !isIE && !!window.StyleMedia;\r\n\tvar isChrome = !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime);\r\n\tvar isBlink = (isChrome || isOpera) && !!window.CSS;\r\n\r\n\tif(isOpera) browserInfo = \"Opera\"\r\n\tif(isFirefox) browserInfo = \"Firefox\"\r\n\tif(isSafari) browserInfo = \"Safari\"\r\n\tif(isIE) browserInfo = \"Internet Explorer\"\r\n\tif(isEdge) browserInfo = \"Edge\"\r\n\tif(isChrome) browserInfo = \"Chrome\"\r\n\t\r\n\t$fragment_refresh={\r\n\t\turl: rt_vars.rt_urlajax,\r\n\t\ttype: 'POST',\r\n\t\tdata: {\r\n\t\t\taction: 'sccSendEmail',\r\n\t\t\tpayload: Base64.encode(JSON.stringify(jsonPDF)),\r\n\t\t\temail_to: email,\r\n\t\t\tuser_to: user,\r\n\t\t\ttitle: title,\r\n\t\t\tphone: phone,\r\n\t\t\tipaddress: ipaddress,\r\n\t\t\tbrowserInfo: browserInfo,\r\n\t\t\tdevice: isMobile\r\n\t\t},\r\n\t\tsuccess: function(data) {\r\n\t\t\r\n\t\t\tbar.setValue(1);\r\n\t\t\tClosePopup_scc2();\r\n\t\t\tdocument.body.removeChild(clone);\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tremoveSendEmailProgress()\r\n\t\t\t\tscc_jQuery('body').css({\r\n\t\t\t\t\toverflow: 'visible'\r\n\t\t\t\t});\r\n\t\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\t\tscc_jQuery('header').each(function () {\r\n\t\t\t\t\tvar initialState = jQuery(this).data('scc-headerState');\r\n\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t});\r\n\t\t\t\tscc_jQuery('footer').each(function () {\r\n\t\t\t\t\tvar initialState = jQuery(this).data('scc-footerState');\r\n\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t});\r\n\t\t\t}, 1000);\r\n\t\t\tscc_jQuery('#statusMsg').html('<span class=\"scc-col-lg-8 scc-col-md-8 scc-col-xs-12\" style=\"font-size:17px;color:#34A853\"> Thank you, '+user+'. Your quote has been sent to '+email+'<\/span>');\r\n\t\t}\r\n\t}\r\n\tscc_jQuery.ajax( $fragment_refresh )\r\n\t})\r\n\t.fail(function() {\r\n\t\t$fragment_refresh={\r\n\t\t\turl: rt_vars.rt_urlajax,\r\n\t\t\ttype: 'POST',\r\n\t\t\tdata: {\r\n\t\t\t\taction: 'sccSendEmail',\r\n\t\t\t\t\tpayload: Base64.encode(JSON.stringify(jsonPDF)),\r\n\t\t\t\t\temail_to: email,\r\n\t\t\t\t\tuser_to: user,\r\n\t\t\t\t\ttitle: title,\r\n\t\t\t\t\tphone: phone,\r\n\t\t\t\t\tipaddress: '',\r\n\t\t\t\t\tbrowserInfo: browserInfo,\r\n\t\t\t\t\tdevice: isMobile\r\n\t\t\t},\r\n\t\t\tsuccess: function(data) {\r\n\t\t\t\/\/\tscc_jQuery('#scc_sending_email_progress_container').css('display', 'none')\r\n\t\t\t\tupdateSendEmailProgress(100)\r\n\t\t\t\tClosePopup_scc2();\r\n\t\t\t\tdocument.body.removeChild(clone);\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tremoveSendEmailProgress()\r\n\t\t\t\t\tscc_jQuery('body').css({\r\n\t\t\t\t\toverflow: 'visible'\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\/\/ restore header and footer's initial display property value\r\n\t\t\t\t\tscc_jQuery('header').each(function () {\r\n\t\t\t\t\t\tvar initialState = jQuery(this).data('scc-headerState');\r\n\t\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t\t});\r\n\t\t\t\t\tscc_jQuery('footer').each(function () {\r\n\t\t\t\t\t\tvar initialState = jQuery(this).data('scc-footerState');\r\n\t\t\t\t\t\tscc_jQuery(this).css({display: initialState});\r\n\t\t\t\t\t});\r\n\t\t\t\t}, 1000);\r\n\t\t\t\tscc_jQuery('#statusMsg').html('<span class=\"scc-col-lg-8 scc-col-md-8 scc-col-xs-12\" style=\"font-size:17px;color:#34A853\"> Thank you, '+user+'. Your quote has been sent to '+email+'<\/span>');\r\n\t\t\t}\r\n\t\t}\r\n\t\tscc_jQuery.ajax( $fragment_refresh )\r\n\t})\r\n\t}\t\r\n\t\r\nPrintDoc = function(enable){\r\n\tif(enable === 0){\r\n\t\tscc_jQuery('.scc-alert').remove();  \r\n\t\tscc_jQuery('body').find('.scc-detailed-list-head').each(function(index, ob){\r\n\t\t\tscc_jQuery(ob).html(\"<div class='alert alert-info scc-alert' role='alert'><button class='close' type='button' data-dismiss='alert'>\u00d7<\/button>This feature is only for Premium users. Please click  <a href=\\\"https:\/\/stylishcostcalculator.com\/\\\" class='alert-link'>here <\/a> to purchase.<\/div>\");\r\n\t\t})\r\n\t\treturn;\r\n\t}\r\n\t\r\n\tscc_jQuery('.scc-buttons-visibility').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('display', 'none')\r\n\t})\r\n\t\r\n\tscc_jQuery('.Section-Title-Summary-Window').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('margin-left','15px')\r\n\t})\r\n\t\r\n\tscc_jQuery('.comments-printing-improvement').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('padding-left', 10)\r\n\t}) \r\n\t\r\n\t\/\/scc_jQuery('#scc-summary-view-header').css('background-color', 'grey')\r\n\r\n\tvar printContents = document.getElementById('scctableprice').innerHTML;\r\n\tvar originalContents = document.body.innerHTML;\r\n\t\r\n\tdocument.body.style.padding = \"10px\";\r\n\tdocument.body.style.height = \"100%\";\r\n\tdocument.body.style.width = \"100%\";\r\n\tdocument.body.innerHTML = printContents;\r\n\r\n\t\r\n\twindow.print();\r\n\tdocument.body.innerHTML = originalContents;\r\n   \r\n\tscc_jQuery('.Section-Title-Summary-Window').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('margin-left:5px')\r\n\t})\r\n\t\r\n\tscc_jQuery('.scc-buttons-visibility').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('display', 'block')\r\n\t})\r\n\tscc_jQuery('.comments-printing-improvement').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('padding-left', 0)\r\n\t}) \r\n\t\r\n\t\/\/scc_jQuery('#scc-summary-view-header').css('background-color', '#F1F1F1') \r\n\t\r\n\t\r\n}\t\r\n\tfunction updateSendEmailProgress(value){\r\n\t\tvar elem = document.getElementById(\"myBar_scc\");\r\n\t\t\r\n\t\telem.innerHTML = value  + \"%\";\t\t\r\n\t\t\/\/scc_jQuery('#scc_sendemail_progress_value').html(value + '%')\r\n\t}\r\n\tfunction removeSendEmailProgress(){\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('hide')\r\n\tscc_jQuery('#scc_sending_email_progress_container').html('')\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('hide')\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('hide')\r\n\tsetTimeout(() => {\r\n\tscc_jQuery('#scc_send_email_progress_modal').remove()\r\n\tscc_jQuery('.modal-backdrop').each((index, element) => {\r\n\tscc_jQuery('#preview_modal').modal('hide')\r\n\telement.remove()\r\n\tscc_jQuery(element).remove()\r\n\tsetTimeout(() => {\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('hide')\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('hide')\r\n\t}, 1000);\r\n\t});\r\n\t\r\n\t}, 1000);\r\n\t}\r\n\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\tfunction createSendEmailModal(){\r\n\t\tvar code = ''\r\n\t\r\n\tcode += '<div id=\"scc_send_email_progress_modal\" class=\"scc-modal-2020 fade\" role=\"dialog\" style=\"z-index:90000; margin-top:320px\">'\r\n\tcode += '\t<div class=\"scc-modal-dialog-2020\" style=\"background:transparent;\">'\r\n\tcode += '\t\t<div class=\"scc-modal-content-2020-scc\" style=\"\">'\r\n\tcode += '\t\t<div class=\"scc-modal-body-2020\" style=\"margin-top:20px;\">'\r\n\tcode += '\t\t\t<center><div id=\"scc_sendemail_progress_bar\" style=\"z-index:900090;\"><\/div><\/center>'\r\n\tcode += '           <div><center><div id=\"scc_sendemail_progress_value\"><\/div><\/center><\/div>'\r\n\tcode += '           <div><center><div id=\"scc_sendemail_progress_description\"><\/div><\/center><\/div>'\r\n\tcode += '           <div><div id=\"myProgress_scc\" style=\"width: 100%;text-align:center;background: transparent\"><div id=\"myBar_scc\" style=\"width: 100%;text-align:center;background: transparent\"><\/div><\/div><center><div id=\"scc_sendemail_progress_description\"><\/div><\/center><\/div>'\r\n\tcode += '\t\t<\/div>'\r\n\tcode += '\t\t<\/div>'\r\n\tcode += '\t<\/div>'\r\n\tcode += '\t<\/div>'\r\n\t\r\n\tscc_jQuery('#scc_sending_email_progress_container').html(code)\r\n\tscc_jQuery('#scc_send_email_progress_modal').modal('show')\r\n\tif( navigator.userAgent.match(\/Android\/i)\r\n\t|| navigator.userAgent.match(\/webOS\/i)\r\n\t|| navigator.userAgent.match(\/iPhone\/i)\r\n\t|| navigator.userAgent.match(\/iPad\/i)\r\n\t|| navigator.userAgent.match(\/iPod\/i)\r\n\t|| navigator.userAgent.match(\/BlackBerry\/i)\r\n\t|| navigator.userAgent.match(\/Windows Phone\/i)){\r\n\tscc_jQuery('#scc_send_email_progress_modal').css('left', 80)\r\n\tscc_jQuery('#scc_send_email_progress_modal').css('top', 80)\r\n\t}\r\n\t}\r\n\twindow.rp_requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(function(callback,element){setTimeout(callback,1000\/60);});\r\nfunction RadialProgress(container,cfg){\r\n\tcontainer.innerHTML=\"\";\r\n\tvar nc=document.createElement(\"div\");\r\n\tnc.style.width=\"10em\"; nc.style.height=\"10em\";\r\n\tnc.style.position=\"relative\";\r\n\tcontainer.appendChild(nc);\r\n\tcontainer=nc;\r\n\tif(!cfg) cfg={};\r\n\tthis.colorBg=cfg.colorBg==undefined?\"#404040\":cfg.colorBg;\r\n\tthis.colorFg=cfg.colorFg==undefined?\"#007FFF\":cfg.colorFg;\r\n\tthis.colorText=cfg.colorText==undefined?\"#000000\":cfg.colorText;\r\n\tthis.indeterminate=cfg.indeterminate==undefined?false:cfg.indeterminate;\r\n\tthis.round=cfg.round==undefined?false:cfg.round;\r\n\tthis.thick=cfg.thick==undefined?2:cfg.thick;\r\n\tthis.progress=cfg.progress==undefined?0:cfg.progress;\r\n\tthis.noAnimations=cfg.noAnimations==undefined?0:cfg.noAnimations;\r\n\tthis.fixedTextSize=cfg.fixedTextSize==undefined?false:cfg.fixedTextSize;\r\n\tthis.animationSpeed=cfg.animationSpeed==undefined?1:cfg.animationSpeed>0?cfg.animationSpeed:1;\r\n\tthis.noPercentage=cfg.noPercentage==undefined?false:cfg.noPercentage;\r\n\tthis.spin=cfg.spin==undefined?false:cfg.spin;\r\n\tif(cfg.noInitAnimation) this.aniP=this.progress; else this.aniP=0;\r\n\tvar c=document.createElement(\"canvas\");\r\n\tc.style.position=\"absolute\";c.style.top=\"0\";c.style.left=\"0\";c.style.width=\"100%\";c.style.height=\"100%\";c.className=\"rp_canvas\";\r\n\tcontainer.appendChild(c);\r\n\tthis.canvas=c;\r\n\tvar tcc=document.createElement(\"div\");\r\n\ttcc.style.position=\"absolute\";tcc.style.display=\"table\";tcc.style.width=\"100%\";tcc.style.height=\"100%\";\r\n\tvar tc=document.createElement(\"div\");\r\n\ttc.style.display=\"table-cell\";tc.style.verticalAlign=\"middle\";\r\n\tvar t=document.createElement(\"div\");\r\n\tt.style.color=this.colorText;t.style.textAlign=\"center\";t.style.overflow=\"visible\";t.style.whiteSpace=\"nowrap\";t.className=\"rp_text\";\r\n\ttc.appendChild(t);\r\n\ttcc.appendChild(tc);\r\n\tcontainer.appendChild(tcc);\r\n\tthis.text=t;\r\n\tthis.prevW=0; this.prevH=0; this.prevP=0; this.indetA=0; this.indetB=0.2; this.rot=0;\r\n\tthis.draw=function(f){\r\n\t\tif(!(f==true))rp_requestAnimationFrame(this.draw);\r\n\t\tvar c=this.canvas;\r\n\t\tvar dp=window.devicePixelRatio||1;\r\n\t\tc.width=c.clientWidth*dp; c.height=c.clientHeight*dp;\r\n\t\tif(!(f==true)&&!this.spin&&!this.indeterminate&&(Math.abs(this.prevP-this.progress)<1&&this.prevW==c.width&&this.prevH==c.height)) return;\r\n\t\tvar centerX=c.width\/2, centerY=c.height\/2, bw=(c.clientWidth\/100.0), radius=c.height\/2-(this.thick*bw*dp)\/2, bw=(c.clientWidth\/100.0);\r\n\t\tthis.text.style.fontSize=(this.fixedTextSize?(c.clientWidth*this.fixedTextSize):(c.clientWidth*0.26-this.thick))+\"px\";\r\n\t\tif(this.noAnimations) this.aniP=this.progress; else{var aniF=Math.pow(0.93,this.animationSpeed);this.aniP=this.aniP*aniF+this.progress*(1-aniF);}\r\n\t\tc=c.getContext(\"2d\");\r\n\t\tc.beginPath();\r\n\t\tc.strokeStyle=this.colorBg;\r\n\t\tc.lineWidth=this.thick*bw*dp;\r\n\t\tc.arc(centerX,centerY,radius,-Math.PI\/2, 2*Math.PI);\r\n\t\tc.stroke();\r\n\t\tc.beginPath();\r\n\t\tc.strokeStyle=this.colorFg;\r\n\t\tc.lineWidth=this.thick*bw*dp;\r\n\t\tif(this.round) c.lineCap=\"round\";\r\n\t\tif(this.indeterminate){\r\n\t\t\tthis.indetA=(this.indetA+0.07*this.animationSpeed)%(2*Math.PI);this.indetB=(this.indetB+0.14*this.animationSpeed)%(2*Math.PI);\r\n\t\t\tc.arc(centerX,centerY,radius,this.indetA, this.indetB);\r\n\t\t\tif(!this.noPercentage)this.text.innerHTML=\"\";\r\n\t\t}else{\r\n\t\t\tif(this.spin&&!this.noAnimations)this.rot=(this.rot+0.07*this.animationSpeed)%(2*Math.PI)\r\n\t\t\tc.arc(centerX,centerY,radius,this.rot-Math.PI\/2, this.rot+this.aniP*(2*Math.PI)-Math.PI\/2);\r\n\t\t\tif(!this.noPercentage)this.text.innerHTML=Math.round(100*this.aniP)+\" %\";\r\n\t\t}\r\n\t\tc.stroke();\r\n\t\tthis.prevW=c.width; this.prevH=c.height; this.prevP=this.aniP;\r\n\t}.bind(this);\r\n\tthis.draw();\r\n}\r\nRadialProgress.prototype={\r\n\tconstructor:RadialProgress,\r\n\tsetValue:function(p){this.progress=p<0?0:p>1?1:p;},\r\n\tsetIndeterminate:function(i){this.indeterminate=i;},\r\n\tsetText:function(t){this.text.innerHTML=t;}\r\n}\r\n\t<\/script>\r\n\t<!-- Modal -->\r\n\t<div class=\"scc-modal-2020 fade scc_send_quote_info\" id=\"myModalSCCEmailQuote\" role=\"dialog\">\r\n\t<div class=\"scc-modal-dialog-2020\">\r\n\t<!-- Modal content-->\r\n\t<div class=\"scc-modal-content-2020\">\r\n\t<div class=\"scc-modal-header-2020\">\r\n\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;<\/button>\r\n\t<h4 class=\"scc-modal-title-2020\">Important Notice<\/h4>\r\n\t<\/div>\r\n\t<div class=\"scc-modal-body-2020\">\r\n\t<p>This feature is only for Premium users. Please click  <a href='https:\/\/stylishcostcalculator.com\/' class='alert-link'><strong>here<\/strong><\/a> to purchase the pro version of this Stylish Cost Calculator<\/p>\r\n\t<\/div>\r\n\t<div class=\"modal-footer\">\r\n\t<button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close<\/button>\r\n\t<\/div>\r\n\t<\/div>\r\n\t\r\n\t<\/div>\r\n<\/div>\t\t<\/div>\r\n\t\t\t\t<script>\r\n\t\t\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\t\/\/ window.sccRadioInput = function(element) {\r\n\t\t\t\/\/ \telement.on('change', function() {\r\n\t\t\t\/\/ \t\tselectedButtonParent = jQuery(this).attr('id').split('_').slice(0,4).join('_');\r\n\t\t\t\/\/ \t\tsibilingButtons = element.filter((i, e) => {return jQuery(e).attr('id').split('_').slice(0,4).join('_') == selectedButtonParent && e != this;})\r\n\t\t\t\/\/ \t\tif (jQuery(this).prop('checked')) sibilingButtons.prop('checked', false);\r\n\t\t\t\/\/ \t})\r\n\t\t\t\/\/ }\r\n\t\t\t\/\/ sccRadioInput(scc_jQuery('[data-radio-type]'));\r\n\t\t\tif (!window.hasOwnProperty('initTranslationScriptSCC')) {\r\n                window.initTranslationScriptSCC = function (tag, options) {\r\n                    try {\r\n                        scc_jQuery(tag).translate(options); \r\n                    } catch (error) {\r\n                        var translationScript = document.getElementById('scc-js-js-js');\r\n                        translationScript.onload = function () {\r\n                            console.log('translation script loaded asyncronusly');\r\n                            scc_jQuery(tag).translate(options);\r\n                        };  \r\n                    }\r\n                }\r\n            }\r\n\t\t\tscc_jQuery(document).ready(function() {\r\n\t\t\t\t\/* accordion JS *\/\r\n\t\t\t\tsetTimeout(function () {\r\n\t\t\t\tscc_jQuery('.submitPrices').click();\r\n\t\t\t\tvar acc = document.getElementsByClassName(\"scc-accordion\");\r\n\t\t\t\tvar i;\r\n\r\n\t\t\t\tfor (i = 0; i < acc.length; i++) {\r\n\t\t\t\tacc[i].addEventListener(\"click\", function() {\r\n\r\n\t\t\t\t\/\/\tthis.classList.toggle(\"active\");\r\n\t\t\t\tif(scc_jQuery(this).hasClass('scc-accordion_active')){\r\n\t\t\t\t\tscc_jQuery(this).removeClass('scc-accordion_active')\r\n\t\t\t\t\tscc_jQuery(this).addClass('scc-accordion')\r\n\t\t\t\t}else{\r\n\t\t\t\t\tscc_jQuery(this).removeClass('scc-accordion')\r\n\t\t\t\t\tscc_jQuery(this).addClass('scc-accordion_active')\r\n\t\t\t\t}\r\n\t\t\t\tscc_jQuery('.' + scc_jQuery(this).attr('id')).each(function(index, ob){\r\n\t\t\t\t\tif (scc_jQuery(ob).css('maxHeight') === '0px') {\r\n\t\t\t\t\t\tif(scc_jQuery(ob).hasClass('simple_button')){\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('display', 'inline-block')\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('paddingLeft', 10)\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('display', 'block')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('maxHeight', 400)\r\n\t\t\t\t\t\t\tscc_jQuery(ob).removeClass('scc-accordion-panel-hidden')\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('overflow', 'visible')\r\n\t\t\t\t\t\t}, 200)\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tscc_jQuery(ob).css('maxHeight', 0)\r\n\t\t\t\t\t\tscc_jQuery(ob).css('overflow', 'hidden')\r\n\t\t\t\t\/\/\t\tscc_jQuery(ob).css('display', 'none')\r\n\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\tscc_jQuery(ob).addClass('scc-accordion-panel-hidden')\r\n\t\t\t\t\t\t\tscc_jQuery(ob).css('display', 'none')\r\n\t\t\t\t\t\t}, 600)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfor (i = 0; i < acc.length; i++) {\r\n\t\t\t\t\tscc_jQuery('.' + scc_jQuery(scc_jQuery(acc[i])).attr('id')).each(function(index, ob){\r\n\t\t\t\t\t\tscc_jQuery(ob).css(\"display\",\"none\")\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t}, 500)\r\n\r\n\r\n\t\t\t\/* accordion JS END *\/\r\n\t\t\t\t\t\ttranslatorJson = {\"Total\":{\"en\":\"Total\"},\"Description\":{\"en\":\"Description\"},\"Unit Price\":{\"en\":\"Unit Price\"},\"Quantity\":{\"en\":\"Quantity\"},\"Price\":{\"en\":\"Price\"},\"SEND\":{\"en\":\"SEND\"},\"Total Price\":{\"en\":\"Total Price\"},\"Summary\":{\"en\":\"Summary\"},\"Email Quote\":{\"en\":\"Email Quote\"},\"Detailed List\":{\"en\":\"Detailed List\"},\"Choose an option...\":{\"en\":\"Choose an option...\"},\"Please choose an option !\":{\"en\":\"Please choose an option !\"},\"Your Name\":{\"en\":\"Your Name\"},\"Your Email\":{\"en\":\"Your Email\"},\"Your Phone\":{\"en\":\"Your Phone\"},\"Your Phone (Optional)\":{\"en\":\"Your Phone (Optional)\"},\"Coupon Code\":{\"en\":\"Coupon Code\"},\"Please choose an option\":{\"en\":\"Please choose an option\"},\"Enter your coupon code\":{\"en\":\"Enter your coupon code\"},\"This code is not valid\":{\"en\":\"This code is not valid\"},\"Discount percentage\":{\"en\":\"Discount percentage\"},\"Your discount has been applied correctly\":{\"en\":\"Your discount has been applied correctly\"},\"Your discount has not been applied because the total price has to be between\":{\"en\":\"Your discount has not been applied because the total price has to be between\"}};\r\n\t\t\tinitTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n\r\n\t\t\t\r\n\t\t});\r\n\t\t});\r\n\t\t\/\/ var triggerRadio = false;\r\n\t\tfunction selectChange(id, $this){\r\n\t\t\tconsole.log(scc_jQuery($this).parent())\r\n\t\t\ttriggerSubmit(id, $this);\r\n\t\t}\r\n\t\tfunction triggerSubmit_2(id, select_id, value, $this){\r\n\t\tscc_jQuery('#' + select_id).attr('data-dropdownmult', value);\r\n\t\t}\r\n\t\tfunction onchangeComments(){\r\n\t\tscc_jQuery('.submitPrices').click();\r\n\t\t}\r\n\t\tfunction onchangeNumberBox(){\r\n\t\tscc_jQuery('.submitPrices').click();\r\n\t\t}\r\n\t\tfunction triggerSubmit(id, $this){\r\n\t\tif (scc_jQuery($this).is(':radio') && scc_jQuery($this).data('radioType') != 'single'){\r\n\t\t\tscc_jQuery($this).attr('data-preselected') ? scc_jQuery($this).prop('checked', false).removeAttr('data-preselected') : radioBtnSwitch();\r\n\t\t\tfunction radioBtnSwitch() {\r\n\t\t\t\tscc_jQuery($this).attr('data-selected') && !scc_jQuery($this).attr('data-preselected') ? scc_jQuery($this).prop('checked', false).removeAttr('data-selected') : scc_jQuery($this).attr('data-selected', 'true');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (scc_jQuery($this).is(':radio') && scc_jQuery($this).data('radioType') == 'single' && scc_jQuery($this).is(':checked')) {\r\n\t\t\tselectedButtonParent = jQuery($this).attr('id').split('_').slice(0,4).join('_');\r\n\t\t\tsibilingButtons = scc_jQuery('[data-radio-type]').filter((i, e) => {return jQuery(e).attr('id').split('_').slice(0,4).join('_') == selectedButtonParent && e != $this;})\r\n\t\t\tif (jQuery($this).prop('checked')) {\r\n\t\t\t\t\/\/ sibilingButtons.prop('checked', false).trigger('change');\r\n\t\t\t\tsibilingButtons.each(function (i,e) {\r\n\t\t\t\t\tjQuery(e).prop('checked', false).trigger('change');\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tsccsubmi =  '#scc_submit_' + id;\r\n\t\tscc_jQuery(sccsubmi).trigger('click');\r\n\t\t}\r\n\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\tscc_jQuery('.customComboBox li').click(function(){\r\n\t\t\t\tscc_jQuery(this).html();\r\n\t\t\t\tscc_jQuery(this).parent().find('li').removeClass('activated');\r\n\t\t\t\tscc_jQuery(this).addClass('activated')\r\n\t\t\t});\r\n\t\t});\r\n\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\tscc_jQuery('.submitPrices').click(function(){\r\n\r\n\r\n\r\n\t\tvar parent_id = \"#\" + scc_jQuery(this).attr('id').replace('submit', 'form');\r\n\t\tvar xprice = [];\r\n\t\tvar dropprice2 = 0;\r\n\t\tvar price = 0;\r\n\t\tvar hmm = [];\r\n\t\tvar lo = 0;\r\n\t\t\/\/hmm =[];\r\n\t\tvar sliderNames = []\r\n\t\tvar dropprice1 = 0;\r\n\t\tvar dropdownMult =0;\r\n\t\tvar dropdownMult1 =0;\r\n\t\tvar multislider = [];\r\n\t\tvar totalnumber = 0;\r\n\t\tvar sec;\r\n\t\tvar sectionName =[];\r\n\t\tvar parts=[];\r\n\t\tvar comments = []\r\n\t\tvar paypalItemsArray = []\r\n\t\tscc_jQuery(parent_id + ' .itemCreated').each(function(){\r\n\t\t\tvar totalnumber1=[];\r\n\t\t\tvar sld = 1;\r\n\t\t\tvar _sec = parseInt((scc_jQuery(this).attr('id')).split(\"_\")[1]);\r\n\t\t\tvar sub = parseInt((scc_jQuery(this).attr('id')).split(\"_\")[2]);\r\n\t\t\tif(sec != _sec){\r\n\t\t\tsec=_sec;\r\n\t\t\tmultislider[sec] = [];\r\n\t\t\thmm[sec] = [];\r\n\t\t\tsliderNames[sec] = []\r\n\t\t}\r\n\t\tif(isNaN(hmm[sec][sub])) {hmm[sec][sub]= 0; sliderNames[sec][sub] = 0}\r\n\t\tif ('switchoption' == scc_jQuery(this).attr('data-inputtype') ){\r\n\r\n\t\tif (scc_jQuery(this).is(':checked')){\r\n\t\t\t\r\n\t\thmm[sec][sub] += parseFloat(scc_jQuery(this).attr('datainputprice'));\r\n\t\tconst switched={name: \"<span class='span2'>\"+scc_jQuery(this).attr('name')+\"<\/span>\",\r\n\t\tvalue:parseFloat(scc_jQuery(this).attr('datainputprice')),\r\n\t\tunit:1,\r\n\t\tsection: sec,\r\n\t\tsubsection: sub,\r\n\t\tpaypal_name: scc_jQuery(this).attr('name')};\r\n\t\tparts.push(switched);\r\n\r\n\t\t}\r\n\t\t}\r\n\t\telse if ('dropdowninput' == scc_jQuery(this).attr('data-inputtype')) {\r\n\t\t\thmm[sec][sub] += parseFloat(getDropDownValue(this));\/\/ * parseInt(dropdownMult);\r\n\t\t\t\/\/ console.log(hmm, scc_jQuery(this).find(\"option:selected\").text(), \"dropdown\", scc_jQuery(this).find(\"option:selected\").val(),sec,sub);\r\n\t\t\tvar title = scc_jQuery(scc_jQuery(this).find(\"option:selected\")[0]).text()\r\n\r\n\t\t\tif(scc_jQuery(this).parent().parent().find('.ddlabel:first') && scc_jQuery(this).parent().parent().find('.ddlabel:first')[0]){\r\n\t\t\t\tif(title != 'Choose an option...'){\r\n\t\t\t\t\tscc_jQuery(scc_jQuery(this).parent().parent().find('.ddlabel:first')[0]).text(title)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(scc_jQuery(this).find(\"option:selected\").val() != \"\"){\r\n\t\t\t\tconst switched={\r\n\t\t\t\t\tname: \"<div class='row-fluid Product-Titles-Summary-Window' style=''><div class='span2'>\"+scc_jQuery(this).find(\"option:selected\").text()+\"<\/div> <div class='product-desc-summary-scc'>\"+scc_jQuery(this).find(\"option:selected\").attr('data-description')+\"<\/div><\/div>\",\r\n\t\t\t\t\tvalue:parseFloat(getDropDownValue(this)),\r\n\t\t\t\t\tunit: 1,\r\n\t\t\t\t\tsection: sec,\r\n\t\t\t\t\tsubsection: sub,\r\n\t\t\t\t\tpaypal_name: scc_jQuery(this).find(\"option:selected\").text()\r\n\t\t\t\t};\r\n\t\t\t\tparts.push(switched);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse if ('sliderinput' == scc_jQuery(this).attr('data-inputtype')){\r\n\t\t\t\ttotalnumber1 =scc_jQuery(this).attr('data_range').split(\",\");\r\n\t\t\t\tvar isSlidingScale = Boolean(scc_jQuery(this).attr('data-is-sliding-scale') == 'true');\r\n\t\t\t\tvar sliderunitprc  = totalnumber1 [totalnumber1.length-1];\r\n\t\t\t\tvar slide_value = parseFloat(scc_jQuery(this).attr('data-value'));\r\n\r\n\t\t\t\tvar unitprice = sliderunitprc*slide_value;\r\n\t\t\t\tmultislider[sec][sub]=slide_value;\r\n\t\t\t\t\r\n\t\t\t\tfor (k=0;k<totalnumber1.length;k +=3){\r\n\t\t\t\t\tif ((parseInt(slide_value) <= parseInt(totalnumber1[k+1]))){\r\n\t\t\t\t\t\thmm[sec][sub] += parseFloat(totalnumber1[k+2]);\r\n\t\t\t\t\t\tsliderNames[sec][sub] = ' '\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tconst switched={name: \"<div class='row-fluid Product-Titles-Summary-Window' style=''><div class='span2'>\"+scc_jQuery(this).parent().parent().parent().find('label:last').text()+\" <\/div><\/div>\",\r\n\t\t\t\t\t\tunit:slide_value,\r\n\t\t\t\t\t\tvalue: parseFloat(totalnumber1[k+2]),\r\n\t\t\t\t\t\tsection: sec,\r\n\t\t\t\t\t\tsubsection: sub,\r\n\t\t\t\t\t\tsliderInsubsection: true,\r\n\t\t\t\t\t\tisSlidingScale: isSlidingScale,\r\n\t\t\t\t\t\tpaypal_name: scc_jQuery(this).parent().parent().find('label:last').text()};\r\n\t\t\t\t\t\tparts.push(switched);\r\n\t\t\t\t\t\t\/\/price +=  multislider[j]*(xprice[j]+hmm[j]);\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t}\r\n\t\telse if ('comment_input' == scc_jQuery(this).attr('data-inputtype')){\r\n\t\tif(scc_jQuery(this) && scc_jQuery(this).val() && scc_jQuery(this).val().length > 0){\r\n\t\tconst comment = {\r\n\t\t\tname: \"<div class='row-fluid Product-Titles-Summary-Window' style=''><div class='span2' style='margin-left:5px'>\"+scc_jQuery(this).parent().parent().find('label:last').text()+\" <\/div><\/div>\",\r\n\t\t\ttext: scc_jQuery(this).val(),\r\n\t\t\tsection: sec,\r\n\t\t\tsubsection: sub,\r\n\t\t\tunit: 1,\r\n\t\t\tvalue: 0,\r\n\t\t\tcomment: true,\r\n\t\t\tpaypal_title: scc_jQuery(this).parent().parent().find('label:last').text(),\r\n\t\t\tpaypal_text: scc_jQuery(this).val()\r\n\t\t}\r\n\t\t\r\n\t\tparts.push(comment);\r\n\t\t\/\/comments.push(comment);\r\n\t\t}\r\n\r\n\t\t}\r\n\t\telse if ('number_input' == scc_jQuery(this).attr('data-inputtype')){\r\n\t\t\tvar unitValue =scc_jQuery(this).attr('data-value');\r\n\t\t\tconst switched={name: \"<div class='row-fluid Product-Titles-Summary-Window' style=''><div class='span2'>\"+scc_jQuery(this).parent().parent().find('label:last').text()+\" <\/div><\/div>\",\r\n\t\t\tunit:scc_jQuery(this).val(),\r\n\t\t\tvalue: unitValue,\r\n\t\t\tsection: sec,\r\n\t\t\tsubsection: sub,\r\n\t\t\tnumberInput: true,\r\n\t\t\tpaypal_name: scc_jQuery(this).parent().parent().find('label:last').text()};\r\n\t\t\tparts.push(switched);\r\n\t\t\thmm[sec][sub] = unitValue * scc_jQuery(this).val()\r\n\r\n\t\t}else if('scc_custom_math' == scc_jQuery(this).attr('data-inputtype')) {\r\n\t\t\t\r\n\t\t\tconst switched={\r\n\t\t\t\tname: scc_jQuery(this).attr('data-name'),\r\n\t\t\t\tunit: 1,\r\n\t\t\t\tvalue: scc_jQuery(this).attr('data-value'),\r\n\t\t\t\tsection: sec,\r\n\t\t\t\tsubsection: sub,\r\n\t\t\t\tnumberInput: true,\r\n\t\t\t\tpaypal_name: '',\r\n\t\t\t\tcustom_math: true,\r\n\t\t\t\tcustom_math_type: scc_jQuery(this).attr('data-math-type'),\r\n\t\t\t\tshow_detailed_list: scc_jQuery(this).parent().parent().attr('data-show-detailed-list') ? scc_jQuery(this).parent().parent().attr('data-show-detailed-list') : false\r\n\t\t\t};\r\n\t\t\tparts.push(switched);\r\n\t\t\thmm[sec][sub] = unitValue * scc_jQuery(this).val()\r\n \t\t} else {\r\n\t\t    var sld = parseFloat(scc_jQuery(this).val());\r\n\t\t}\r\n\t\t});\r\n\t\tvar _unit =1;\r\n\t\tvar _section =9999999;\r\n\t\tvar _usection =9999999;\r\n\r\n\t\tfor (var j = parts.length; j--;){\r\n\t\tif(parts[j].section != _section || parts[j].subsection != _usection){\r\n\t\tif(!parts[j].sliderInsubsection){\r\n\t\t_section = parts[j].section;\r\n\t\t_usection = parts[j].subsection;\r\n\t\tif(parts[j].numberInput){\r\n\r\n\t\tif(!isNaN(parseFloat(scc_jQuery('#itemcreateds_'+_section+'_'+_usection).attr('data-value')))){\r\n\t\tparts[j].unit = parts[j].unit * parseFloat(scc_jQuery('#itemcreateds_'+_section+'_'+_usection).attr('data-value'));\r\n\t\t_unit = parseFloat(scc_jQuery('#itemcreateds_'+_section+'_'+_usection).attr('data-value'))\r\n\t\t}else{\r\n\t\t_unit = 1\r\n\t\t}\r\n\r\n\t\t}else{\r\n\t\tparts[j].unit =parseFloat(scc_jQuery('#itemcreateds_'+_section+'_'+_usection).attr('data-value'));\r\n\t\t_unit = parts[j].unit;\r\n\t\t}\r\n\t\t}\r\n\r\n\t\t}else {\r\n\t\tvar secn = parts[j].section;\r\n\t\tvar subsecn = parts[j].subsection;\r\n\t\t\/\/parts[j].unit = _unit;\r\n\t\t\/\/_unit = parseFloat(scc_jQuery('#itemcreateds_'+secn+'_'+subsecn).attr('data-value'));\r\n\t\tif(parts[j].numberInput){\r\n\r\n\t\tif(!isNaN(parseFloat(scc_jQuery('#itemcreateds_'+secn+'_'+subsecn).attr('data-value')))){\r\n\t\tparts[j].unit = parts[j].unit * parseFloat(scc_jQuery('#itemcreateds_'+secn+'_'+subsecn).attr('data-value'));\r\n\t\t_unit = parseFloat(scc_jQuery('#itemcreateds_'+secn+'_'+subsecn).attr('data-value'))\r\n\t\t}else{\r\n\t\t_unit = 1\r\n\t\t}\r\n\r\n\t\t}else{\r\n\t\tparts[j].unit = parseFloat(scc_jQuery('#itemcreateds_'+secn+'_'+subsecn).attr('data-value'))\r\n\t\t_unit = parts[j].unit;\r\n\t\t}\r\n\t\t}\r\n\t\t}\r\n\r\n\t\tprice = CreateTable(parts, comments);\r\n\t\t\/*for(i =0; i<hmm.length;i++){\r\n\t\tif(hmm[i]){\r\n\t\tfor(j=0; j<hmm[i].length; j++){\r\n\t\tif(multislider[i][j] === undefined || multislider[i] === 0){\r\n\t\tprice += hmm[i][j];\r\n\t\t}else {\r\n\t\tprice += hmm[i][j]*multislider[i][j];\r\n\t\t}\r\n\t\t}\r\n\t\t}\r\n\t\t} *\/\r\n\r\n\r\n\r\n\r\n\t\tvar totalPrice_tax_included = 0;\r\n\t\tvar subTotalPrice = 0;\r\n\t\tsubTotalPrice = price;\r\n\t\tvar sccPriceCurr = (price).toFixed(2) + \" \" + scc_jQuery('#sccCurrencyUSD').html();\r\n\t\tvar objecttotalword = '';\r\n\t\t\/\/Tax cal\r\n\t\tconst TAX_RATE_ON = \"TAX_RATE_ON\";\r\n\t\tvar taxRate =0;\r\n\t\tvar onTax = 'TAX_RATE_ON';\r\n\t\tvar displayTax = taxRate;\r\n\t\tif(taxRate !=0){\r\n\t\t\tif(taxRate !=''){\r\n\t\t\t\tvar tax = (price * taxRate)\/100;\r\n\t\t\t\ttotalPrice_tax_included = price + tax;\r\n\t\t\t}else{\r\n\t\t\t\ttotalPrice_tax_included = price;\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t\ttotalPrice_tax_included = price;\r\n\t\t}\r\n\t\taddItemsToPayPalForm(parts, tax, comments)\r\n\t\t\/\/ currency style prefix and\/or sufix\r\n\t\tif(scc_jQuery('.total_price_with_label')){\r\n\t\tif(currencyStyleOption === 0){\r\n\t\tscc_jQuery('#totalprice_prefix_currency_label').html(currencySymbol(currencyLabel));\r\n\t\tscc_jQuery('.currency-prefix').each(function(i, obj){\r\n\t\tscc_jQuery(obj).html(currencySymbol(currencyLabel));\r\n\t\t})\r\n\t\t}else if(currencyStyleOption === 1){\r\n\t\tscc_jQuery('#totalprice_sufix_currency_label').html(currencyLabel)\r\n\t\tscc_jQuery('.currency-sufix').each(function(i, obj){\r\n\t\tscc_jQuery(obj).html(currencyLabel)\r\n\t\t})\r\n\r\n\r\n\t\t}\r\n\t\t}\r\n\r\n\r\n\r\n\t\tif(currencyStyleOption === 0){\r\n\t\tif(tax){\r\n\t\tscc_jQuery('#tax_price_with_currency_label').html(currencySymbol(currencyLabel)  + ' ' + priceCommaStyler(tax.toFixed(2)) )\r\n\t\t}else{\r\n\t\tscc_jQuery('#tax_price_with_currency_label').html(currencySymbol(currencyLabel)  + ' 0' )\r\n\t\t}\r\n\t\tif(totalPrice_tax_included){\r\n\t\tscc_jQuery('#total_price_with_currency_label').html(currencySymbol(currencyLabel)  + ' ' + priceCommaStyler(totalPrice_tax_included.toFixed(2)))\r\n\t\t}\r\n\t\tif(subTotalPrice){\r\n\t\tscc_jQuery('#subtotal_price_with_currency_label').html(currencySymbol(currencyLabel)  + ' ' + priceCommaStyler(subTotalPrice.toFixed(2)))\r\n\t\t}\r\n\t\tif(coupon){\r\n\t\tif(Number(coupon.discountpercentage) != -1){\r\n\t\tscc_jQuery('#coupon_discount_with_currency_label').html(currencySymbol(currencyLabel)  + ' ' + priceCommaStyler(coupon.discount_value_total.toFixed(2)))\r\n\t\t}\r\n\t\tif(Number(coupon.discountvalue) != -1){\r\n\t\tscc_jQuery('#coupon_discount_with_currency_label').html(currencySymbol(currencyLabel)  + ' ' + priceCommaStyler(coupon.discount_value_total.toFixed(2)))\r\n\t\t}\r\n\t\t}\r\n\t\t}else if(currencyStyleOption === 1){\r\n\t\tif(tax){\r\n\t\tscc_jQuery('#tax_price_with_currency_label').html( priceCommaStyler(tax.toFixed(2)) + ' ' + currencyLabel)\r\n\t\t}else{\r\n\t\tscc_jQuery('#tax_price_with_currency_label').html( '0 ' + currencyLabel)\r\n\t\t}\r\n\t\tif(totalPrice_tax_included){\r\n\t\tscc_jQuery('#total_price_with_currency_label').html(priceCommaStyler(totalPrice_tax_included.toFixed(2)) + ' ' + currencyLabel)\r\n\t\t}\r\n\t\tif(subTotalPrice){\r\n\t\tscc_jQuery('#subtotal_price_with_currency_label').html(priceCommaStyler(subTotalPrice.toFixed(2)) + ' ' + currencyLabel)\r\n\t\t}\r\n\t\tif(coupon){\r\n\t\tif(Number(coupon.discountpercentage) != -1){\r\n\t\tscc_jQuery('#coupon_discount_with_currency_label').html(priceCommaStyler(coupon.discount_value_total.toFixed(2)) + ' ' + currencyLabel)\r\n\t\t}\r\n\t\tif(Number(coupon.discountvalue) != -1){\r\n\t\tscc_jQuery('#coupon_discount_with_currency_label').html(priceCommaStyler(coupon.discount_value_total.toFixed(2)) + ' ' + currencyLabel)\r\n\t\t}\r\n\t\t}\r\n\t\t}\r\n\t\tscc_jQuery(parent_id + ' .totalPrice').find(\"#totalvalue\").text((priceCommaStyler(totalPrice_tax_included.toFixed(2))));\r\n\r\n\t\t});\r\n\t});\r\n\t\t\/\/ paypal starts\r\n\t\tfunction addItemsToPayPalForm(items, tax, comments){\r\n\t\ttotal = 0\r\n\t\tvar itemsToAddPaypalForm = \"\"\r\n\t\tvar itemsAdded = 0\r\n\r\n\t\tfor(var i=0; i < items.length; i++){\r\n\t\tvar item_value = (items[i].unit === null ? items[i].value : (items[i].value * items[i].unit))\r\n\t\tvar item_name  = ((items[i].unit === null  || items[i].unit === 1) ? items[i].paypal_name : ( items[i].unit + ' units: ' + items[i].paypal_name ))\r\n\t\t\/\/\tif(item_value > 0){\r\n\t\titemsToAddPaypalForm += '  <input type=\"hidden\" name=\"item_name_'+ (itemsAdded+1) + '\" value=\"' + item_name + '\" class=\"btPayPalItem\">'\r\n\t\titemsToAddPaypalForm += '  <input type=\"hidden\" name=\"amount_'+ (itemsAdded+1) + '\" value=\"' + item_value.toFixed(2) + '\" class=\"btPayPalItem\">'\r\n\t\titemsAdded++\r\n\t\t\/\/\t}\r\n\t\ttotal += (items[i].unit === null ? items[i].value : (items[i].value * items[i].unit))\r\n\t\t}\r\n\t\t\/*\r\n\t\tif(tax && tax > 0){\r\n\t\tconsole.log('tax included!')\r\n\t\titemsToAddPaypalForm += '  <input type=\"hidden\" name=\"item_name_'+ (items.length+1) + '\" value=\"taxs\" class=\"btPayPalItem\">'\r\n\t\titemsToAddPaypalForm += '  <input type=\"hidden\" name=\"amount_'+ (items.length+1) + '\" value=\"' + tax.toFixed(2) + '\" class=\"btPayPalItem\">'\r\n\t\ttotal += tax\r\n\t\t}\r\n\t\t*\/\r\n\t\tscc_jQuery('#paypal_form_add_items').html(itemsToAddPaypalForm)\r\n\t\t}\r\n\t\t\/\/paypal ends\r\n\t\t\/\/ currency Style function starts\r\n\t\tvar currencyStyleOption = 0;\r\n\t\tvar currencyLabel = 'GBP';\r\n\r\n\t\tfunction currencyStyle(number){\r\n\t\tswitch (currencyStyleOption){\r\n\t\tcase 0:\r\n\t\tnumber  = currencySymbol(currencyLabel) + number\r\n\t\tcase 1:\r\n\t\tnumber  = number + ' ' +  currencyLabel\r\n\t\tbreak\r\n\t\t}\r\n\t\treturn number\r\n\t\t}\r\n\t\tfunction currencySymbol(currency){\r\n\t\tvar currencySymbolLabel =  '$'\r\n\t\tswitch(currency){\r\n\t\tcase 'ANG':\r\n\t\tcurrencySymbolLabel = '\u0192'\r\n\t\tbreak\r\n\t\tcase 'ILS':\r\n\t\tcurrencySymbolLabel = '\u20aa'\r\n\t\tbreak\r\n\t\tcase 'USD':\r\n\t\tcurrencySymbolLabel = '$'\r\n\t\tbreak\r\n\t\tcase 'CAD':\r\n\t\tcurrencySymbolLabel = '$'\r\n\t\tbreak\r\n\t\tcase 'EUR':\r\n\t\tcurrencySymbolLabel = '\u20ac'\r\n\t\tbreak\r\n\t\tcase 'NOK':\r\n        currencySymbolLabel = 'kr'\r\n        break\r\n\t\tcase 'JPY':\r\n\t\tcurrencySymbolLabel = '\u00a5'\r\n\t\tbreak\r\n\t\tcase 'RUB':\r\n\t\tcurrencySymbolLabel = '\u20bd'\r\n\t\tbreak\r\n\t\tcase 'TRY':\r\n\t\tcurrencySymbolLabel = '\u20ba'\r\n\t\tbreak\r\n\t\tcase 'CHF':\r\n\t\tcurrencySymbolLabel = 'Fr.'\r\n\t\tbreak\r\n\t\tcase 'SEK':\r\n\t\tcurrencySymbolLabel = 'kr'\r\n\t\tbreak\r\n\t\tcase 'BRL':\r\n\t\tcurrencySymbolLabel = 'R$'\r\n\t\tbreak\r\n\t\tcase 'CNY':\r\n\t\tcurrencySymbolLabel = '\u00a5'\r\n\t\tbreak\r\n\t\tcase 'AUD':\r\n\t\tcurrencySymbolLabel = 'A$'\r\n\t\tbreak\r\n\t\tcase 'DKK':\r\n\t\tcurrencySymbolLabel = 'Kr.'\r\n\t\tbreak\r\n\t\tcase 'HKD':\r\n\t\tcurrencySymbolLabel = 'HK$'\r\n\t\tbreak\r\n\t\tcase 'GBP':\r\n\t\tcurrencySymbolLabel = '\u00a3'\r\n\t\tbreak\r\n\t\tcase 'ZAR':\r\n\t\tcurrencySymbolLabel = 'R'\r\n\t\tbreak\r\n\t\tcase 'ZMW':\r\n\t\tcurrencySymbolLabel = 'K'\r\n\t\tbreak\r\n\t\tcase 'RON':\r\n\t\tcurrencySymbolLabel = 'RON'\r\n\t\tbreak\r\n\t\tcase '\u200ePKR':\r\n\t\tcurrencySymbolLabel = 'Rs'\r\n\t\tbreak\r\n\t\tcase 'KRW':\r\n\t\tcurrencySymbolLabel = '\u20a9'\r\n\t\tbreak\r\n\t\tcase 'CFA':\r\n\t\tcurrencySymbolLabel = 'FCFA'\r\n\t\tbreak\r\n\t\tcase 'IDR':\r\n        currencySymbolLabel = 'Rp'\r\n        break\r\n\t\t}\r\n\t\treturn currencySymbolLabel\r\n\t\t}\r\n\t\t\/\/ currency Style function ends\r\n\r\n\t\t\/\/ check If mandatory options are choosen\r\n\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\tscc_jQuery('.btPayPalButtonCustom').click(function(e){\r\n\t\t\te.preventDefault();\r\n\t\t\tvar scc_mandatory = '';\r\n\r\n\t\t\tscc_jQuery('.mandatory_yes').each(function(){\r\n\t\t\t\tscc_jQuery(this).addClass('hehehehehehehe');\r\n\t\t\t\tif(scc_jQuery(this).val() ==''){\r\n\t\t\t\t\tscc_jQuery(this).parent().parent().find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !');\r\n\t\t\t\t\tscc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');\r\n\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\tscrollTop: scc_jQuery(this).offset().top\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n\t\t\t\t\t\tinitTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcheckIfParentIsAccordionAndOpenIt(this)\r\n\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t\/\/ check if mandatory checkbox\/button\/switches are checked\r\n\t\t\t\tscc_jQuery('[data-mandatory=yes]').each((i,e) => {\r\n\t\t\t\t\tisNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))\r\n\t\t\t\t\tif (isNoneChecked) {\r\n\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !').css('display','block');\r\n\t\t\t\t\t\tscc_jQuery(e).parent().find('.scc-accordion').click();\r\n\t\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\t\tscrollTop: scc_jQuery(e).offset().top\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').hide();\r\n\t\t\t\t\t\t\/\/ scc_mandatory == '';\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\r\n\t\t\t\tif (scc_mandatory == '') {\r\n\t\t\t\t\tif(Number(total) && Number(total) > 0){\r\n\t\t\t\t\t\tscc_jQuery(\"#paypal_form\").submit();\r\n\t\t\t\t\t\tscc_jQuery(\"#paypal_form\")[0].submit();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tfunction getDropDownValue($this){\r\n\t\tprice = scc_jQuery($this).val();\r\n\t\tif (! price) {   return 0; }\r\n\t\telse return price;\r\n\t\t}\r\n\t\tfunction SCCOpenPopUpEmail(){\r\n\t\t\t\tscc_jQuery.getScript('https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-content\/plugins\/stylish-cost-calculator\/assets\/lib\/bootstrap-3.3.5\/dist\/js\/bootstrap.min.js', function(data) {\r\n\t\t\t\tvar scc_mandatory = '';\r\n\r\n\t\t\t\tscc_jQuery('.mandatory_yes').each(function(){\r\n\t\t\t\t\t\tif(scc_jQuery(this).val() ==''){\r\n\t\t\t\t\t\t\tscc_jQuery(this).parent().parent().find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !');\r\n                        \tscc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');\r\n\t\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\tscrollTop: scc_jQuery(this).offset().top\r\n\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n                            initTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n                        }\r\n                        checkIfParentIsAccordionAndOpenIt(this)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\/\/ check if mandatory checkbox\/button\/switches are checked\r\n\t\t\t\t\t\tscc_jQuery('[data-mandatory=yes]').each((i,e) => {\r\n\t\t\t\t\t\t\tisNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))\r\n\t\t\t\t\t\t\tif (isNoneChecked) {\r\n\t\t\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').html('<span class=\"trn\">Please choose an option<\/span> !').css('display','block');\r\n\t\t\t\t\t\t\t\tscc_jQuery(e).parent().find('.scc-accordion').click();\r\n\t\t\t\t\t\t\t\tscc_jQuery('html, body').animate({\r\n\t\t\t\t\t\t\t\t\tscrollTop: scc_jQuery(e).offset().top\r\n\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\tscc_mandatory = 'scc_remains';\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tscc_jQuery(e).find('.alert-danger').hide();\r\n\t\t\t\t\t\t\t\t\/\/ scc_mandatory == '';\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\tif (scc_mandatory == '') {\r\n\t\t\t\t\t\tscc_jQuery('#sccquoteModal').modal('show')\r\n\t\t\t\t\t\tscc_jQuery('.modal-backdrop').each(function(){\r\n\t\t\t\t\t\tscc_jQuery(this).remove()\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t}\r\n\t\tdocument.addEventListener('DOMContentLoaded', (event) => {\r\n\t\t\tscc_jQuery('.scc-email-popup-close').click(function(e){\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tscc_jQuery('#sccquoteModal').modal('hide')\r\n\t\t\t\tscc_jQuery('.scc-email-popup').removeClass('in');\r\n\t\t\t})\r\n\t\t});\r\n\r\n\t\tfunction addCouponCodeModal(){\r\n\t\tif(!coupon){\r\n\t\tvar minWidth = \"500px\"\r\n\t\tvar titleFontSize = \"35px\"\r\n\t\tif( navigator.userAgent.match(\/Android\/i)\r\n\t\t|| navigator.userAgent.match(\/webOS\/i)\r\n\t\t|| navigator.userAgent.match(\/iPhone\/i)\r\n\t\t|| navigator.userAgent.match(\/iPad\/i)\r\n\t\t|| navigator.userAgent.match(\/iPod\/i)\r\n\t\t|| navigator.userAgent.match(\/BlackBerry\/i)\r\n\t\t|| navigator.userAgent.match(\/Windows Phone\/i)){\r\n\t\tminWidth = \"250px\"\r\n\t\ttitleFontSize = \"15px\"\r\n\t\tconsole.log('Im mobile')\r\n\t\t}\r\n\r\n\t\tvar code=\"\"\r\n\r\n\t\tcode += '<div id=\"coupon_code_modal\" class=\"scc-modal-2020 fade\"  role=\"dialog\">';\r\n\t\tcode += '\t<div class=\"scc-modal-dialog-2020\">';\r\n\t\tcode += '\t\t<div class=\"scc-modal-content-2020\" style=\"margin-top:200px; min-width: ' + minWidth + '\">';\r\n\t\tcode += '\t\t<div class=\"scc-modal-header-2020\">';\r\n\t\tcode += '\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;<\/button>';\r\n\t\tcode += '            <h3 class=\"scc-modal-title-2020\" style=\"font-size:20px;\"><span class=\"trn\">Enter your coupon code<\/span><\/h3>';\r\n\t\tcode += '\t\t<\/div>';\r\n\t\tcode += '\t\t<div class=\"scc-modal-body-2020\" >';\r\n\t\tcode += '        <input class=\"form-control\" id=\"coupon_code\" placeholder=\"\">';\r\n\t\tcode += '        <div id=\"coupon_code_error\" style=\"color:red\"><\/div>'\r\n        code += '       <button type=\"button\" class=\"btn btn-danger\" onClick=\"checkCouponCode()\" id=\"button_check_coupon\"><span class=\"trn\">Submit<\/span><\/button>';\r\n\t\tcode += '       <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">X<\/button>';\r\n\t\tcode += '\t\t<\/div>';\r\n\t\tcode += '\t\t<\/div>';\r\n\t\tcode += '\t<\/div>';\r\n\t\tcode += '<\/div>';\r\n\r\n\t\tscc_jQuery('#coupon_code_modal_container').html(code)\r\n\t\tscc_jQuery('#coupon_code_modal').modal('show')\r\n\r\n\t\tif(window.hasOwnProperty(\"translatorJson\")){\r\n            initTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n        }\r\n\r\n\t\tscc_jQuery('.modal-backdrop, fade, in:first').each(function(index, ob){\r\n\t\tscc_jQuery(ob).css('display', 'none')\r\n\t\t})\r\n\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tfunction checkCouponCode(){\r\n\t\tscc_jQuery('#button_check_coupon').html('<i class=\"fa fa-circle-o-notch fa-spin\"><\/i> Checking...')\r\n\t\tscc_jQuery.ajax( {\r\n\t\t\turl: rt_vars.rt_urlajax,\r\n\t\t\ttype: 'GET',\r\n\t\t\tdata: {\r\n\t\t\taction: 'sscCheckCoupon',\r\n\t\t\tcoupon_code: scc_jQuery('#coupon_code').val()\r\n\t\t},\r\n\t\tsuccess: function( data ){\r\n\t\tif(typeof data === 'object'){\r\n\t\tif(data.data){\r\n\t\t\t\r\n\r\n\t\t\t\tif(data.data === false || data.data === 'false'){\r\n\t\t\t\t\tscc_jQuery('#coupon_code_error').html('<span class=\"trn\">This code is not valid<\/span>')\r\n                    if(window.hasOwnProperty(\"translatorJson\")){\r\n                        initTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n                    }\r\n\t\t\t\t}else if(typeof data.data === 'object'){\r\n\t\t\t\t\tcoupon = data.data[0]\r\n\t\t\t\t\tscc_jQuery('#coupon_code_modal').modal('hide')\r\n\t\t\t\t\tapplyCouponDiscount(coupon)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t}else if(typeof data === 'string'){\r\n\t\t\t\tif(data.length > 0){\r\n\t\t\t\t\tvar responseTemp = data.split('{\"success\":true,\"data\":')[data.split('{\"success\":true,\"data\":').length -1]\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tif(responseTemp.indexOf('false') == -1){\r\n\t\t\t\t\tresponseTemp = responseTemp.substring(1,responseTemp.length - 2)\r\n\t\t\t\t\tcoupon = JSON.parse(responseTemp)\r\n\r\n\t\t\t\t\tscc_jQuery('#coupon_code_modal').modal('hide')\r\n\t\t\t\t\tapplyCouponDiscount(coupon)\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tscc_jQuery('#coupon_code_error').html('<span class=\"trn\">This code is not valid<\/span>.')\r\n                        if(window.hasOwnProperty(\"translatorJson\")){\r\n                            initTranslationScriptSCC('body', {lang: \"en\", t: translatorJson});\r\n                        }\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}else if(!data){\r\n\r\n\t\t\t}\r\n\t\t\tscc_jQuery('#button_check_coupon').html('Check Coupon Code')\r\n\t\t},\r\n\t\terror: function(errorThrown){\r\n\t\tconsole.log(errorThrown);\r\n\t\tscc_jQuery('#button_check_coupon').html('Check Coupon Code');\r\n\t\t}\r\n\t\t})\r\n\t\t}\r\n\t\tfunction applyCouponDiscount(coupon){\r\n\t\t\tscc_jQuery('.submitPrices').click();\r\n\t\t}\r\n\r\n\t\tfunction displayCouponDiscountInFrontEnd(price){\r\n        \/\/ substracting discount coupon\r\n        if(!price || typeof price === 'undefined') {\r\n            price = 0\r\n        }\r\n        if(coupon){\r\n            var canDoDiscount = false\r\n        if(Number(coupon.minspend) === -1 && Number(coupon.maxspend) === -1){\r\n            canDoDiscount = true\r\n        }else{\r\n            if(Number(coupon.minspend) === -1 && Number(coupon.maxspend) != -1){\r\n                if(price <= coupon.maxspend){\r\n                    canDoDiscount = true\r\n                }\r\n            }else if(Number(coupon.minspend) != -1 && Number(coupon.maxspend) === -1){\r\n                if(price >= coupon.minspend){\r\n                    canDoDiscount = true\r\n                }\r\n            }else if(Number(coupon.minspend) != -1 && Number(coupon.minspend) != -1 ){\r\n                if(price >= Number(coupon.minspend) && price <= Number(coupon.maxspend)){\r\n                    canDoDiscount = true\r\n                }\r\n            }\r\n        }\r\n        if(canDoDiscount){\r\n\r\n            if(Number(coupon.discountpercentage) != -1){\r\n                coupon.price_without_discount = price.toFixed(2)\r\n                price = price.toFixed(2) - (price.toFixed(2) * (Number(coupon.discountpercentage)\/100).toFixed(2))\r\n                coupon.discount_value_total = coupon.price_without_discount - price.toFixed(2)\r\n                coupon.discount_value_total = Number(coupon.discount_value_total.toFixed(2))\r\n            }\r\n            if(Number(coupon.discountvalue) != -1){\r\n                coupon.price_without_discount = price\r\n                price = price < Number(coupon.discountvalue) ? 0 : price - Number(coupon.discountvalue)\r\n                coupon.discount_value_total = Number(coupon.discountvalue)\r\n                coupon.discount_value_total = Number(coupon.discount_value_total.toFixed(2))\r\n            }\r\n        }else {\r\n            coupon.price_without_discount = price\r\n            coupon.discount_value_total = 0\r\n        }\r\n        }\r\n        \/\/Applying Coupon Discount\r\n        if(coupon){\r\n\r\n\t\t\t\tscc_jQuery('#coupon_info_container').css('display', 'block')\r\n                if(canDoDiscount){\r\n                    \r\n                    scc_jQuery('#coupon_button').css('display', 'none')\r\n\r\n                    if(coupon.discountpercentage != -1.00){\r\n                        scc_jQuery('#coupon_info_discount_percentage').html('<span class=\"trn\">Discount percentage<\/span>: ' + coupon.discountpercentage + '%')\r\n                    }\r\n                    if(coupon.discountvalue != -1.00){\r\n                        if(currencyStyleOption === 0){\r\n                            scc_jQuery('#coupon_info_discount_value').html(currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discountvalue))\r\n\r\n                        }else{\r\n                            scc_jQuery('#coupon_info_discount_value').html(priceCommaStyler(coupon.discountvalue) + ' ' + currencyLabel)\r\n                        }\r\n                    }\r\n                }\r\n                \r\n                if(Number(coupon.minspend) === -1.00 && Number(coupon.maxspend) === -1.00){\r\n                    if(currencyStyleOption === 0){\r\n                        scc_jQuery('#coupon_info_spend_range').html('<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discount_value_total) + ' <\/p>')\r\n                    }else{\r\n                        scc_jQuery('#coupon_info_spend_range').html('<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + ' ' + priceCommaStyler(coupon.discount_value_total) + currencyLabel + ' <\/p>')\r\n                    }\r\n                }else{\r\n                        if(Number(coupon.minspend) != -1.00 && Number(coupon.maxspend) != -1.00){\r\n                            \r\n                            if(currencyStyleOption === 0){\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.price_without_discount) >= Number(coupon.minspend) && Number(coupon.maxspend) >= Number(coupon.price_without_discount) ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discount_value_total) + ' <\/p>': '<p style=\"color:red\"><span class=\"trn\">Your discount has not been applied because the total price has to be between<\/span> ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.minspend) + ' <span class=\"trn\">and<\/span> ' + currencySymbol(currencyLabel)  + priceCommaStyler(coupon.maxspend) + ' <\/p>')\r\n                            }else{\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.price_without_discount) >= Number(coupon.minspend) && Number(coupon.maxspend) >= Number(coupon.price_without_discount) ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + ' ' + priceCommaStyler(coupon.discount_value_total) + currencyLabel + ' <\/p>': '<p style=\"color:red\"> <span class=\"trn\">Your discount has not been applied because the total price has to be between<\/span> ' + priceCommaStyler(coupon.minspend) + ' ' + currencyLabel + ' <span class=\"trn\">and<\/span> ' + priceCommaStyler(coupon.maxspend) + ' ' + currencyLabel + ' <\/p>')\r\n                            }\r\n                        }else if(Number(coupon.minspend) != -1.00 && Number(coupon.maxspend) === -1.00){\r\n                            if(currencyStyleOption === 0){\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.price_without_discount) >= Number(coupon.minspend)  ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discount_value_total) + ' <\/p>': '<p style=\"color:red\"> <span class=\"trn\">Your discount has not been applied because the total price has to be higher than<\/span> ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.minspend) + currencySymbol(currencyLabel) + ' <\/p>')\r\n                            }else{\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.price_without_discount) >= Number(coupon.minspend)  ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + ' ' + priceCommaStyler(coupon.discount_value_total) + currencyLabel + ' <\/p>': '<p style=\"color:red\"> <span class=\"trn\">Your discount has not been applied because the total price has to be higher than<\/span> ' + priceCommaStyler(coupon.minspend) + ' ' + currencyLabel + ' <\/p>')\r\n                            }\r\n                        }else if(Number(coupon.minspend) === -1.00 && Number(coupon.maxspend) != -1.00){\r\n                            if(currencyStyleOption === 0){\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.maxspend) >= Number(coupon.price_without_discount) ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discountvalue) + ' <\/p>': '<p style=\"color:red\"> <span class=\"trn\">Your discount has not been applied because the total price has to be lower than<\/span> ' + currencySymbol(currencyLabel) + priceCommaStyler(coupon.maxspend) + ' <\/p>')\r\n                            }else{\r\n                                scc_jQuery('#coupon_info_spend_range').html(Number(coupon.maxspend) >= Number(coupon.price_without_discount) ? '<p style=\"color:green\"> <span class=\"trn\">Your discount has been applied correctly<\/span>. -' + ' ' + priceCommaStyler(coupon.discountvalue) + currencyLabel + ' <\/p>': '<p style=\"color:red\"> <span class=\"trn\">Your discount has not been applied because the total price has to be lower than<\/span> ' + priceCommaStyler(coupon.maxspend) + ' ' + currencyLabel + ' <\/p>')\r\n                            }\r\n                        }\r\n                }\r\n        }\r\n\r\n        return price\r\n        }\r\n\t\t<\/script>\r\n\t\t<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a test of the quote calculator<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":73,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/pages\/3546"}],"collection":[{"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/comments?post=3546"}],"version-history":[{"count":4,"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/pages\/3546\/revisions"}],"predecessor-version":[{"id":3550,"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/pages\/3546\/revisions\/3550"}],"up":[{"embeddable":true,"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/pages\/73"}],"wp:attachment":[{"href":"https:\/\/www.ebiss-usa.com\/ebissuktest\/wp-json\/wp\/v2\/media?parent=3546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}