<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, user-scalable=1">
<!-- Preconnect -->
<link rel="preconnect" href="https://www.optimizecdn.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="apple-touch-icon" href="/images/Techdirectory-favicon.png">
<link rel="icon" type="image/png" href="/images/Techdirectory-favicon.png">
<!-- Site Meta Data -->
<title>OCRV Paint & Service - Automotive - Tech Directory</title>
<meta name="description" content="Connect with OCRV Paint & Service, Automotive in Yorba Linda, CA. Find OCRV Paint & Service reviews and more. ">
<meta name="keywords" content="Technology Business,Technology Businesses,OCRV Paint & Service,Tech Directory,Yorba Linda, CA,Automotive,Automotives">
<meta name="robots" content="index, follow">
<!-- Canonical URL -->
<link rel="canonical" href="https://www.techdirectory.io/united-states/yorba-linda/automotive/ocrv-paint-service">
<!-- Social Media Meta Data -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.techdirectory.io/united-states/yorba-linda/automotive/ocrv-paint-service">
<meta property="og:site_name" content="TechDirectory">
<meta property="og:title" content="OCRV Paint & Service on TechDirectory">
<meta property="og:description" content="Learn about OCRV Paint & Service, Automotive in Yorba Linda, CA. Find OCRV Paint & Service reviews and more on TechDirectory.">
<meta property="og:image" content="https://www.techdirectory.io/logos/social_media/limage-172282-208-photo.jpg">
<script>
var siteInfoSpan=document.createElement('span');
siteInfoSpan.style.cssText='position:absolute;color:transparent;width:100%;z-index:-1;height:50px;top:0;';
siteInfoSpan.textContent='www.techdirectory.io - TechDirectory';
document.write(siteInfoSpan.outerHTML);
</script>
<!-- Preload -->
<link rel="preload" as="style" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/css/critical-styles.pkgd.min.css?v=05.14.25.38" importance="high">
<link rel="preload" href="/logos/profile/limage-172282-208-photo.jpg" as="image" importance="high">
<!-- Non-Critical Stylesheet - Render Before Critical Styles -->
<link rel="stylesheet" media="print" onload="this.onload=null;this.removeAttribute('media');" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/css/non-critical-styles.pkgd.min.css?v=4.3.8">
<noscript>
<link rel="stylesheet" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/css/non-critical-styles.pkgd.min.css">
</noscript>
<!-- Critical Stylesheet -->
<link rel="stylesheet" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/css/critical-styles.pkgd.min.css?v=05.14.25.38">
<!-- Google Fonts Stylesheet -->
<link rel="stylesheet" media="print" onload="this.onload=null;this.removeAttribute('media');" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800,900|PT+Sans:300,400,600,700,800,900&display=swap">
<noscript>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800,900|PT+Sans:300,400,600,700,800,900&display=swap">
</noscript>
<!-- FontAwesome Stylesheet -->
<link rel="stylesheet" media="print" onload="this.onload=null;this.removeAttribute('media');" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/font-awesome/css/font-awesome.min.css">
<noscript>
<link rel="stylesheet" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/font-awesome/css/font-awesome.min.css">
</noscript>
<!-- Critical JavaScript -->
<script src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/libraries/latest/jquery.min.js"></script>
<script src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/libraries/latest/jquery-ui.min.js"></script>
<script src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/libraries/latest/bootstrap.min.js"></script>
<script>
/* jQuery.event.special.touchstart = {
setup: function( _, ns, handle ) {
this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") });
}
}; */
jQuery.event.special.touchmove = {
setup: function( _, ns, handle ) {
this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") });
}
};
jQuery.event.special.wheel = {
setup: function( _, ns, handle ){
this.addEventListener("wheel", handle, { passive: true });
}
};
jQuery.event.special.mousewheel = {
setup: function( _, ns, handle ){
this.addEventListener("mousewheel", handle, { passive: true });
}
};
</script>
<!-- Prefetch -->
<link rel="prefetch" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/jquery.lazy/1.7.9/jquery.lazy.min.js" as="script">
<link rel="prefetch" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/js/websiteScripts.min.js?v=0.4" as="script">
<link rel="prefetch" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/limonte-sweetalert2/6.11.2/sweetalert2.min.css" as="style">
<link rel="prefetch" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/limonte-sweetalert2/6.11.2/sweetalert2.min.js" as="script">
<!-- Custom Page HEAD Content --> <script>
function g() {
window.addEventListener('load', () => {
if (typeof initializeG === 'function') {
initializeG();
}
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places®ion=US&callback=g&language=en"></script>
</head>
<body class="general-session"><!--
IMPORTANT: It is not recommended to customize this widget as it directly connects to fields in DESIGN SETTINGS. If new design settings are created and this widget is already customized, then the website will not be able to apply any new design setitngs.
INSTEAD: If custom CSS rules are needed, add them directly into the DESIGN SETTINGS > CUSTOM CSS section.
-->
<style>
.upload-form-field::before {
content: "choose files";
display: inline-block;
border: 1px solid #999;
border-radius: 3px;
padding: 5px 8px;
}
#first_container span.input-group-addon,#first_container .datepicker *,#first_container .input-group-addon, #first_container .input-group-addon *,#first_container .fr-action-buttons .fr-submit,.fr-popup .fr-layer.fr-color-hex-layer .fr-action-buttons button.fr-command {
white-space: nowrap !important;
}
/* Main Website Design */
body,.modal-header,.modal-content,.modal-body,.modal-footer {
background: rgb(241, 241, 241);
color: rgb(41, 41, 41);
font-family: 'Open Sans';
font-size: 14px;
}
.select2-container .select2-choice {
font-family: 'Open Sans'!important;
}
html{
background: rgb(30, 30, 30) }
a,a.h1,a.h2,a.h3,a.h4,a.h5,a.h6,.pricing_menu li ul li a:not(.btn) {
color: rgb(161, 210, 27);
}
a:hover, a:focus,.pricing_menu li ul li a:not(.btn):hover,.pricing_menu li ul li a:not(.btn):focus {
color: rgb(143, 203, 39);
}
.breadcrumb a{
color: rgba(0, 0, 0,0.9);
}
.breadcrumb a:hover, .breadcrumb a:focus,.breadcrumb > .active {
color: rgb(0, 0, 0);
}
.help-inline, .help-block {
color: rgba(41, 41, 41,0.5);
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
font-family: 'Open Sans';
}
/* Header Design */
.header, .mobile_website_logo img {
background: rgb(249, 250, 251);
}
.header .mini-nav li a:not(.btn):not(.network-icon), .header .mini-nav span {
color: rgb(0, 0, 0);
font-size: 14px;
}
.header .mini-nav li a:not(.btn):hover {
color: rgba(0, 0, 0,0.95);
}
.header .btn_get_listed {
background-color: rgb(151, 190, 32);
border: 1px solid rgb(151, 190, 32);
color: rgb(255, 255, 255)!important;
}
.header .btn_get_listed:hover, .header .btn_get_listed:focus {
background-color: rgba(151, 190, 32,0.97);
}
.header .btn_search {
background-color: rgba(151, 190, 32,0.97);
border: 1px solid rgb(151, 190, 32);
color: rgb(255, 255, 255);
}
.header .btn_search:hover, .header .btn_search:focus {
background-color: rgb(151, 190, 32);
color: rgb(255, 255, 255);
}
/* Logo Design */
.logo,.logo:hover,.logo:focus {
color: rgb(255, 255, 255);
font-family: 'PT Sans';
}
.logo .slogan {
color: rgb(242, 242, 242);
}
.logo .fa {
color: rgb(161, 215, 33);
}
/* Main Menu Design */
.member-profile-tabs > ul, .member-profile-tabs .tabs-container {
background: rgb(247, 247, 247);
position: sticky;
z-index: 1;
top: 50px;
}
/* Google Translate When Main Menu Sticky Top */
.skiptranslate:not([style*="display: none;"]) ~ .header .navbar-fixed-top {
top: 39px;
}
.skiptranslate iframe, .skiptranslate:not(.skiptranslate.goog-te-gadget) {
position: fixed !important;
top: 0 !important;
z-index: 999;
}
@media only screen and (max-width: 1100px) {
.member-profile-tabs > ul, .member-profile-tabs .tabs-container {
top: 50px;
}
}
.header ul.nav.navbar-nav li ul {
background-color: #fafafa;
}
.header ul.nav.navbar-nav li ul li a, .header ul.nav.navbar-nav li ul li span {
color: rgb(41, 41, 41);
}
.header .navbar-default, .pagination > .active > a {
background-color: rgb(14, 14, 14);
}
.header ul.nav.navbar-nav li ul li a:hover, .header ul.nav.navbar-nav li ul li a:focus{
border-left-color: rgb(41, 41, 41);
background: rgb(41, 41, 41);
color: #fafafa;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: rgb(255, 255, 255);
}
.user_sidebar, .main_menu {
color: rgb(255, 255, 255);
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > span {
color: rgb(255, 255, 255);
}
.navbar-default .navbar-nav > li:hover > a,.navbar-default .navbar-nav > li > a:hover,.navbar-default .navbar-nav > li > a:active, .navbar-default .navbar-nav > li > a:focus {
color: rgb(173, 196, 38);
}
.navbar-default .navbar-nav > li {
font-family: 'Open Sans';
}
/* Footer Design */
.footer {
background-color: rgb(30, 30, 30);
display: block;
}
.footer, .footer_menu a,.footer_terms a,.footer_menu .content {
color: rgb(239, 239, 239);
}
.footer_menu a:hover, .footer_terms a:hover, .footer_menu a:focus, .footer_terms a:focus {
color: rgb(255, 255, 255);
}
.footer_menu .head {
color: rgb(255, 255, 255);
}
.btn_footer_get_listed {
background-color: rgb(162, 193, 67);
border: 1px solid rgb(162, 193, 67);
color: rgb(255, 255, 255)!important;
}
.btn_footer_get_listed:hover, .btn_footer_get_listed:focus{
background-color: rgba(162, 193, 67,0.95);
}
/* Homepage Design */
.homepage_settings h1, .homepage_settings h2, .homepage_map h1, .homepage_map h2 {
font-family: 'Open Sans';
}
.homepage_settings h1, .homepage_map h1 {
color: rgb(255, 255, 255);
font-weight: 600;
text-align: center;
}
.homepage_settings h2, .homepage_map h2 {
color: rgb(41, 41, 41);
font-weight: 400;
text-align: center;
}
.homepage_settings .search_box label {
color: rgb(49, 49, 49);
}
.btn_home_search, .search_box input[type=submit] {
background-color: rgb(148, 191, 16);
border: 1px solid rgb(148, 191, 16);
color: rgb(255, 255, 255);
}
.btn_home_search:hover, .btn_home_search:focus, .search_box input[type=submit]:hover, .search_box input[type=submit]:focus {
background-color: rgba(148, 191, 16,0.97);
color: rgb(255, 255, 255);
}
.homepage_settings .search_box {
background-color: rgba(255, 255, 255,0.8);
}
/* Homepage Steps Module */
.homepage_steps {
background: none;
box-shadow: none;
padding: 0;
color: rgb(255, 255, 255);
}
.homepage_steps a.homepage_step_link,.homepage_steps a.homepage_step_link:hover,.homepage_steps a.homepage_step_link:active{
color: rgb(255, 255, 255)!important;
}
.homepage_steps .fa {
color: rgb(102, 170, 51);
background-color: rgba(102, 170, 51,0.075);
}
/* Blog Posts Slider Settings */
#myCarousel h2 a, .carousel-caption p,#myCarousel .list-group-item h2, #myCarousel li.list-group-item h4 {
color: rgb(255, 255, 255);
}
#myCarousel .list-group-item {
background-color: rgba(14, 14, 14,0.9);
border-color: rgba(14, 14, 14,0.80);
}
#myCarousel .carousel-caption {
background-color: rgba(14, 14, 14,0.8);
}
#myCarousel .list-group, #myCarousel .carousel-inner {
background-color: rgb(14, 14, 14) }
#myCarousel .list-group .active, #myCarousel .list-group-item:hover {
background-color: rgb(14, 14, 14) }
#myCarousel .list-group .active h4, #myCarousel .list-group-item:hover h4{
color: rgb(173, 196, 38);
}
/* Additional Settings */
.well blockquote {
background: rgb(241, 241, 241) none repeat scroll 0 0;
border-color: rgb(247, 247, 247);
color: rgb(41, 41, 41);
padding: 10px 20px;
}
.account-form-box form table tr td table {
background-color: transparent!important;
border: none!important;
}
.account-form-box form table tr td table td {
background-color: transparent!important;
color: rgb(41, 41, 41)!important;
border: none!important;
}
div.dataTables_length label, div.dataTables_filter label, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{
color: rgb(41, 41, 41)!important;
}
.table.dataTable > thead > tr > th, .table > thead > tr > th {
background-color: rgb(255, 255, 255);
color: rgb(85, 85, 85);
border-bottom:0;
font-weight:600;
}
table.dataTable tbody tr {
background-color: rgb(255, 255, 255)!important;
}
.table-striped.dataTable tbody > tr:nth-of-type(2n+1),.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: rgba(241, 241, 241,0.5)!important;
}
.sidemenu_panel .list-group-item{
background-color: transparent!important;
color: rgb(41, 41, 41)!important;
}
.img-thumbnail {
background-color: rgb(255, 255, 255)!important;
border: 1px solid rgb(247, 247, 247);
}
.member_admin_sidemenu p, .member_admin_sidemenu h3 {
color: rgb(41, 41, 41)!important;
}
.close {
color: rgb(41, 41, 41);
opacity: 1;
}
.member_results_header h1, .content_w_sidebar.feature-search h1, .feature_results_header h1 {
font-size:36px;
display: block;
}
.member_results_header h2, .feature_results_header h2 {
font-size:30px;
display: block;
}
.homepage_settings {
padding-top: 50px;
padding-bottom: 80px;
}
@media only screen and (max-width: 768px) {
.member-profile-header .favorite {float:none}
}
@media only screen and (max-width: 1100px) {
}
.views > i.fa.activeView {
background-color: rgb(14, 14, 14);
color: rgb(255, 255, 255);
}
.views > i.fa {
background-color: rgba(14, 14, 14,0.6);
color: rgb(255, 255, 255);
}
.ui-rangeSlider-label {
background-color: rgb(14, 14, 14)!important;
color: rgb(255, 255, 255)!important;
}
.pricing_menu li .title {
background: rgb(144, 183, 28);
color: rgb(255, 255, 255);
}
p.account-tip{
color: rgb(41, 41, 41);
}
.circled_number {
background: rgb(160, 187, 46);
color: rgb(255, 255, 255);
}
.pic {
background-color: rgba(148, 170, 51,0.8);
color: rgb(255, 255, 255);
background-repeat: no-repeat;
background-position: center;
}
.pic .pic-caption {
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%,rgba(148, 170, 51,0.85) 50%);
color: rgb(255, 255, 255);
}
.slick-prev-fa i, .slick-next-fa i{
color: rgb(148, 170, 51);
}
.module, .well, .tab-content, .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover, .nav-tabs>li>a:focus, .nav-tabs>li>a:hover, .nav-tabs.nav-justified>li.active>a, .nav-tabs.nav-justified>li.active>a:focus, .nav-tabs.nav-justified>li.active>a:hover, .nav-tab.nav-justified>li>a:focus, .nav-tabs.nav-justified>li>a:hover, .account-form-box,.account-form-box .module .module,.account-form-box .module .well,.account-form-box .well .well,.account-form-box .well .module,.module .module .module,.module .well .well,.module .module .well,.module .well .module,.well .well .well,.well .module .module,.well .well .module,.well .module .well, .froala-table.module{
background-color: rgb(255, 255, 255);
border-color: rgb(247, 247, 247);
color: rgb(41, 41, 41);
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
box-shadow: 0 2px 0 0 rgb(144, 182, 36) inset;
border-top:1px solid rgb(144, 182, 36);
border-radius: 0;
}
.nav-pills > li.active a, .nav-pills > li > a:hover {
background-color: rgb(144, 182, 36)!important;
border-color: rgb(144, 182, 36)!important;
color: rgb(255, 255, 255)!important;
}
.sidemenu_panel .panel-heading {
color: rgb(41, 41, 41)!important;
background-color: rgb(255, 255, 255)!important;
}
.member-profile-tabs .nav-tabs > li:not(.active) > a, .login-register-tabs.nav-tabs > li:not(.active) > a {
background: rgba(255, 255, 255,0.5);
color: rgb(41, 41, 41);
}
.member-profile-tabs .nav-tabs > li:not(.active) > a:hover, .login-register-tabs.nav-tabs > li:not(.active) > a:hover {
background: rgba(255, 255, 255,1);
color: rgb(41, 41, 41);
}
.author-snapshot .well {
background-color: rgb(255, 255, 255)!important;
border-color: rgb(247, 247, 247)!important;
color: rgb(41, 41, 41)!important;
}
.nav-tabs>li>a, .nav-pills>li>a {
font-weight: 600;
}
.module .help-inline,.module .help-block,.well .help-inline,.well .help-block,.account-form-box .help-inline,.account-form-box .help-block,.account-form-box p.account-tip{
color: rgba(41, 41, 41,0.5);
}
#service_areas_table td,#service_areas_table_wrapper label, #service_areas_table_info, #service_areas_table_paginate > a {
color: rgb(41, 41, 41) !important;
}
.popover {
background-color: rgb(255, 255, 255);
border-color: rgb(255, 255, 255);
padding:0;
text-align:left;
}
.popover-title, .popover-content {
background-color: rgb(255, 255, 255);
color: rgb(41, 41, 41);
border-color: rgb(255, 255, 255);
text-align:left;
}
.popover-content {
background-color: rgba(41, 41, 41,.05);
}
.popover.left > .arrow::after {
border-left-color: rgb(255, 255, 255)!important;
}
.popover.right > .arrow::after {
border-right-color: rgb(255, 255, 255)!important;
}
.popover.bottom > .arrow::after {
border-bottom-color: rgb(255, 255, 255)!important;
}
.popover.top > .arrow::after {
border-top-color: rgb(255, 255, 255)!important;
}
.progress, .table-view .table-view-group:nth-child(2n-1),.tab-content .well, .tab-content .module,#account-tabs .well,#account-tabs .module,.account-form-box .module,.account-form-box .well,.module .module,.well .well,.module .well,.well .module{
background-color: rgb(241, 241, 241);
color: rgb(41, 41, 41);
}
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th, .nav-tabs, hr, .account-menu-title, table.dataTable.no-footer {
border-color: rgb(247, 247, 247);
}
table.dataTable.no-footer, table.dataTable {
border: 1px solid rgb(247, 247, 247)!important;
}
.table-view li, .table-view .table-view-group > div {
border-top:1px solid rgb(247, 247, 247);
}
.table-view .table-view-group:last-child {
border-bottom:1px solid rgb(247, 247, 247);
}
.module h1, .module h2, .module h3, .module h4, .module h5 {
color: rgb(62, 62, 62);
}
.module p:not(.fr-box.fr-basic .fr-element p) {
color: rgb(41, 41, 41);
}
.pagination>.active>a {
border-color: rgba(255, 255, 255,0.2);
}
.pagination>.active>a {
color: rgb(255, 255, 255);
}
.pagination > .active > a:hover, .pagination > .active > a:focus {
border-color: rgba(255, 255, 255,0.2);
background-color: rgb(14, 14, 14);
color: rgb(255, 255, 255);
}
.pagination > li > a {
color: rgb(14, 14, 14);
border-color: rgba(14, 14, 14,0.2);
background-color: rgb(255, 255, 255);
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
background-color: rgb(14, 14, 14);
border-color: rgb(14, 14, 14);
color: rgb(255, 255, 255);
}
.nav-pills.nav-wizard > li a, .nav-pills.nav-wizard > li a:hover{
background-color: rgb(250, 250, 250)!important;
color: rgb(41, 41, 41)!important;
}
.member_wizard2 li.incomplete a, .member_wizard2 li.incomplete a:hover {
background-color: rgb(240, 173, 78)!important;
border-color: rgb(240, 173, 78);
color: rgb(255, 255, 255);
}
.nav-pills.nav-wizard > li.active a, .nav-pills.member_wizard > li.active:hover a {
background-color: rgb(51, 122, 183)!important;
color: rgb(255, 255, 255)!important;
}
.member_wizard2 li.completed a, .member_wizard2 li.completed a:hover {
background-color: rgb(152, 193, 67)!important;
border-color: rgb(152, 193, 67);
color: rgb(255, 255, 255);
}
.nav-pills.nav-wizard > li.active .nav-arrow, .nav-pills.nav-wizard > li.active:hover .nav-arrow {
border-color: transparent transparent transparent rgb(51, 122, 183)!important;
}
.nav-pills.nav-wizard > li.active .nav-wedge, .nav-pills.nav-wizard > li.active:hover .nav-wedge{
border-color: rgb(51, 122, 183) rgb(51, 122, 183) rgb(51, 122, 183) transparent!important;
}
li.completed .nav-wedge, .nav-pills.nav-wizard > li.completed:hover .nav-wedge {
border-color: rgb(171, 194, 58) rgb(171, 194, 58) rgb(171, 194, 58) transparent!important;
}
li.incomplete .nav-wedge, .nav-pills.nav-wizard > li.incomplete:hover .nav-wedge {
border-color: rgb(250, 250, 250) rgb(250, 250, 250) rgb(250, 250, 250) transparent!important;
}
.nav-pills.member_wizard > li.completed a, .nav-pills.member_wizard > li.completed a:hover {
background-color: rgb(171, 194, 58)!important;
color: rgb(255, 255, 255)!important;
}
.member_wizard2 li {
color: rgb(255, 255, 255);
border-right: 10px solid rgb(241, 241, 241);
}
li.completed .nav-arrow, .nav-pills.nav-wizard > li.completed:hover .nav-arrow {
border-color: transparent transparent transparent rgb(171, 194, 58)!important;
}
li.incomplete .nav-arrow, .nav-pills.nav-wizard > li.incomplete:hover .nav-arrow{
border-color: transparent transparent transparent rgb(250, 250, 250)!important;
}
/* Default Colors */
.btn-primary, .btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover, .btn.dropdown-toggle.btn-primary,.navbar-default .navbar-nav > li > a.btn-primary, .navbar-default .navbar-nav > li > span.btn-primary,.mobile-main-menu .sidebar-nav li a.btn-primary, .mobile-main-menu .sidebar-nav li span.btn-primary {
background-color: rgb(144, 182, 36);
border-color: rgb(144, 182, 36);
color: rgb(255, 255, 255);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,.btn-primary:active:focus, .btn-primary:active:hover, .nav > li > a.btn-primary:focus, .nav > li > a.btn-primary:hover,.btn-primary.active,.open > .dropdown-toggle.btn-primary, .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .open>.dropdown-toggle.btn-primary:hover, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary.focus,a.bg-primary:focus,a.bg-primary:hover, .panel-primary .panel-heading, .btn.dropdown-toggle.btn-primary:hover,.upload-form-field,.upload-form-field:hover,.upload-form-field:active:focus,.upload-form-field:before {
background-color: rgba(144, 182, 36,0.95);
border-color: rgb(144, 182, 36);
color: rgb(255, 255, 255);
}
.panel-primary {
background-color: rgba(144, 182, 36,0.1);
border-color: rgb(144, 182, 36);
}
.bg-primary,.progress-bar-primary,.module p.bg-primary,.label-primary,.badge-primary,.pricing_menu .title.bg-primary {
background-color: rgb(144, 182, 36);
color: rgb(255, 255, 255);
}
.bg-primary .badge {
background-color:rgb(255, 255, 255);
color: rgb(144, 182, 36);
}
.btn-primary.btn-outline {
background: transparent;
color: rgb(144, 182, 36);
box-shadow: 0 0 0px 1px rgb(144, 182, 36) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-primary.btn-outline:hover {
background: rgba(144, 182, 36,0.1);
}
.alert-primary {
background-color:rgba(144, 182, 36,0.7);
border-color:rgba(144, 182, 36,0.2);
color: rgba(255, 255, 255,0.9);
}
.alert-primary-subtle, .label-primary-subtle, .badge-primary-subtle {
background-color: #e9f0d3;
border-color: #e9f0d3;
color: rgb(144, 182, 36);
}
.btn.dropdown-toggle.btn-primary *, .btn-primary a {
color: rgb(255, 255, 255);
}
.text-primary{
color: rgb(144, 182, 36);
}
.btn-info, .btn-info.disabled, .btn-info.disabled.active, .btn-info.disabled.focus, .btn-info.disabled:active, .btn-info.disabled:focus, .btn-info.disabled:hover, .btn-info[disabled], .btn-info[disabled].active, .btn-info[disabled].focus, .btn-info[disabled]:active, .btn-info[disabled]:focus, .btn-info[disabled]:hover, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info.active, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:hover, .btn.dropdown-toggle.btn-info,.navbar-default .navbar-nav > li > a.btn-info, .navbar-default .navbar-nav > li > span.btn-info,.mobile-main-menu .sidebar-nav li a.btn-info, .mobile-main-menu .sidebar-nav li span.btn-info {
background-color: rgb(60, 187, 222);
border-color: rgb(60, 187, 222);
color: rgb(255, 255, 255);
}
.btn-info:hover, .btn-info:focus, .btn-info:active,.btn-info:active:focus, .btn-info:active:hover, .nav > li > a.btn-info:focus, .nav > li > a.btn-info:hover,.btn-info.active,.open > .dropdown-toggle.btn-info, .btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .open>.dropdown-toggle.btn-info:hover, .open>.dropdown-toggle.btn-info:focus, .open>.dropdown-toggle.btn-info.focus,a.bg-info:focus,a.bg-info:hover, .panel-info .panel-heading, .btn.dropdown-toggle.btn-info:hover {
background-color: rgba(60, 187, 222,0.95);
border-color: rgb(60, 187, 222);
color: rgb(255, 255, 255);
}
.panel-info {
background-color: rgba(60, 187, 222,0.1);
border-color: rgb(60, 187, 222);
}
.bg-info,.progress-bar-info,.module p.bg-info,.label-info,.badge-info,.pricing_menu .title.bg-info {
background-color: rgb(60, 187, 222);
color: rgb(255, 255, 255);
}
.bg-info .badge {
background-color:rgb(255, 255, 255);
color: rgb(60, 187, 222);
}
.btn-info.btn-outline {
background: transparent;
color: rgb(60, 187, 222);
box-shadow: 0 0 0px 1px rgb(60, 187, 222) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-info.btn-outline:hover {
background: rgba(60, 187, 222,0.1);
}
.alert-info {
background-color:rgba(60, 187, 222,0.7);
border-color:rgba(60, 187, 222,0.2);
color: rgba(255, 255, 255,0.9);
}
.alert-info-subtle, .label-info-subtle, .badge-info-subtle {
background-color: #d8f1f8;
border-color: #d8f1f8;
color: rgb(60, 187, 222);
}
.btn.dropdown-toggle.btn-info *, .btn-info a {
color: rgb(255, 255, 255);
}
.text-info{
color: rgb(60, 187, 222);
}
.btn-success, .btn-success.disabled, .btn-success.disabled.active, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled], .btn-success[disabled].active, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success.active, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover, .btn.dropdown-toggle.btn-success,.navbar-default .navbar-nav > li > a.btn-success, .navbar-default .navbar-nav > li > span.btn-success,.mobile-main-menu .sidebar-nav li a.btn-success, .mobile-main-menu .sidebar-nav li span.btn-success {
background-color: rgb(152, 193, 67);
border-color: rgb(152, 193, 67);
color: rgb(255, 255, 255);
}
.btn-success:hover, .btn-success:focus, .btn-success:active,.btn-success:active:focus, .btn-success:active:hover, .nav > li > a.btn-success:focus, .nav > li > a.btn-success:hover,.btn-success.active,.open > .dropdown-toggle.btn-success, .btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .open>.dropdown-toggle.btn-success:hover, .open>.dropdown-toggle.btn-success:focus, .open>.dropdown-toggle.btn-success.focus,a.bg-success:focus,a.bg-success:hover, .panel-success .panel-heading, .btn.dropdown-toggle.btn-success:hover {
background-color: rgba(152, 193, 67,0.95);
border-color: rgb(152, 193, 67);
color: rgb(255, 255, 255);
}
.panel-success {
background-color: rgba(152, 193, 67,0.1);
border-color: rgb(152, 193, 67);
}
.bg-success,.progress-bar-success,.module p.bg-success,.label-success,.badge-success,.pricing_menu .title.bg-success {
background-color: rgb(152, 193, 67);
color: rgb(255, 255, 255);
}
.bg-success .badge {
background-color: rgb(255, 255, 255);
color: rgb(152, 193, 67);
}
.btn-success.btn-outline {
background: transparent;
color: rgb(152, 193, 67);
box-shadow: 0 0 0px 1px rgb(152, 193, 67) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-success.btn-outline:hover {
background: rgba(152, 193, 67,0.1);
}
.alert-success {
background-color:rgba(152, 193, 67,0.7);
border-color:rgba(152, 193, 67,0.2);
color: rgba(255, 255, 255,0.9);
}
.alert-success-subtle, .label-success-subtle, .badge-success-subtle {
background-color: #eaf3d9;
border-color: #eaf3d9;
color: rgb(152, 193, 67);
}
.btn.dropdown-toggle.btn-success *, .btn-success a {
color: rgb(255, 255, 255);
}
.text-success{
color: rgb(152, 193, 67);
}
.btn-warning, .btn-warning.disabled, .btn-warning.disabled.active, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled], .btn-warning[disabled].active, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning.active, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:hover, .btn.dropdown-toggle.btn-warning,.navbar-default .navbar-nav > li > a.btn-warning, .navbar-default .navbar-nav > li > span.btn-warning,.mobile-main-menu .sidebar-nav li a.btn-warning, .mobile-main-menu .sidebar-nav li span.btn-warning {
background-color: rgb(240, 173, 78);
border-color: rgb(240, 173, 78);
color: rgb(255, 255, 255);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active,.btn-warning:active:focus, .btn-warning:active:hover, .nav > li > a.btn-warning:focus, .nav > li > a.btn-warning:hover,.btn-warning.active,.open > .dropdown-toggle.btn-warning, .btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .open>.dropdown-toggle.btn-warning:hover, .open>.dropdown-toggle.btn-warning:focus, .open>.dropdown-toggle.btn-warning.focus,a.bg-warning:focus,a.bg-warning:hover, .panel-warning .panel-heading, .btn.dropdown-toggle.btn-warning:hover {
background-color: rgba(240, 173, 78,0.95);
border-color: rgb(240, 173, 78);
color: rgb(255, 255, 255);
}
.panel-warning {
background-color: rgba(240, 173, 78,0.1);
border-color: rgb(240, 173, 78);
}
.bg-warning,.progress-bar-warning,.module p.bg-warning,.label-warning,.badge-warning,.pricing_menu .title.bg-warning {
background-color: rgb(240, 173, 78);
color: rgb(255, 255, 255);
}
.bg-warning .badge {
background-color: rgb(255, 255, 255);
color: rgb(240, 173, 78);
}
.btn-warning.btn-outline {
background: transparent;
color: rgb(240, 173, 78);
box-shadow: 0 0 0px 1px rgb(240, 173, 78) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-warning.btn-outline:hover {
background: rgba(240, 173, 78,0.1);
}
.alert-warning {
background-color:rgba(240, 173, 78,0.7);
border-color:rgba(240, 173, 78,0.2);
color: rgba(255, 255, 255,0.9);
}
.alert-warning-subtle, .label-warning-subtle, .badge-warning-subtle {
background-color: #fcefdc;
border-color: #fcefdc;
color: rgb(240, 173, 78);
}
.btn.dropdown-toggle.btn-warning *, .btn-warning a {
color: rgb(255, 255, 255);
}
.text-warning {
color: rgb(240, 173, 78);
}
.btn-danger, .btn-danger.disabled, .btn-danger.disabled.active, .btn-danger.disabled.focus, .btn-danger.disabled:active, .btn-danger.disabled:focus, .btn-danger.disabled:hover, .btn-danger[disabled], .btn-danger[disabled].active, .btn-danger[disabled].focus, .btn-danger[disabled]:active, .btn-danger[disabled]:focus, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger.active, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:hover, .btn.dropdown-toggle.btn-danger,.navbar-default .navbar-nav > li > a.btn-danger, .navbar-default .navbar-nav > li > span.btn-danger,.mobile-main-menu .sidebar-nav li a.btn-danger, .mobile-main-menu .sidebar-nav li span.btn-danger {
background-color: rgb(217, 83, 79);
border-color: rgb(217, 83, 79);
color: rgb(255, 255, 255);
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active,.btn-danger:active:focus, .btn-danger:active:hover, .nav > li > a.btn-danger:focus, .nav > li > a.btn-danger:hover,.btn-danger.active,.open > .dropdown-toggle.btn-danger, .btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .open>.dropdown-toggle.btn-danger:hover, .open>.dropdown-toggle.btn-danger:focus, .open>.dropdown-toggle.btn-danger.focus,a.bg-danger:focus,a.bg-danger:hover, .panel-danger .panel-heading, .btn.dropdown-toggle.btn-danger:hover {
background-color: rgba(217, 83, 79,0.95);
border-color: rgb(217, 83, 79);
color: rgb(255, 255, 255);
}
.has-error .form-control {
border-color: rgb(217, 83, 79);
}
.has-error .help-block:not(.form-field-help-block), .has-error ~ .help-block:not(.form-field-help-block),.has-error .help-block:not(.form-field-help-block) a, .has-error ~ .help-block:not(.form-field-help-block) a {
background: rgb(217, 83, 79);
color: rgb(255, 255, 255) !important;
}
.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
color: rgb(217, 83, 79);
}
.panel-danger {
background-color: rgba(217, 83, 79,0.1);
border-color: rgb(217, 83, 79);
}
.bg-danger,.progress-bar-danger,.module p.bg-danger,.label-danger,.badge-danger,.pricing_menu .title.bg-danger {
background-color: rgb(217, 83, 79);
color: rgb(255, 255, 255);
}
.bg-danger .badge {
background-color: rgb(255, 255, 255);
color: rgb(217, 83, 79);
}
.btn-danger.btn-outline {
background: transparent;
color: rgb(217, 83, 79);
box-shadow: 0 0 0px 1px rgb(217, 83, 79) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-danger.btn-outline:hover {
background: rgba(217, 83, 79,0.1);
}
.alert-danger {
background-color:rgba(217, 83, 79,0.7);
border-color:rgba(217, 83, 79,0.2);
color: rgba(255, 255, 255,0.9);
}
.alert-danger-subtle, .label-danger-subtle, .badge-danger-subtle {
background-color: #f7dddc;
border-color: #f7dddc;
color: rgb(217, 83, 79);
}
.btn.dropdown-toggle.btn-danger *, .btn-danger a {
color: rgb(255, 255, 255);
}
.text-danger{
color: rgb(217, 83, 79);
}
.btn-default, .tags a, .btn-default.disabled, .btn-default.disabled.active, .btn-default.disabled.focus, .btn-default.disabled:active, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled], .btn-default[disabled].active, .btn-default[disabled].focus, .btn-default[disabled]:active, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default.active, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover, .btn.dropdown-toggle.btn-default, #popover .mini_profile_pic,.navbar-default .navbar-nav > li > a.btn-default, .navbar-default .navbar-nav > li > span.btn-default,.mobile-main-menu .sidebar-nav li a.btn-default, .mobile-main-menu .sidebar-nav li span.btn-default {
background-color: rgb(255, 255, 255);
border-color: rgb(255, 255, 255);
color: rgb(85, 85, 85);
}
.btn-default:hover, .btn-default:focus, .btn-default:active,.btn-default:active:focus, .btn-default:active:hover,.tags a:hover, .nav > li > a.btn-default:focus, .nav > li > a.btn-default:hover,.btn-default.active,.open > .dropdown-toggle.btn-default, .btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .open>.dropdown-toggle.btn-default:hover, .open>.dropdown-toggle.btn-default:focus, .open>.dropdown-toggle.btn-default.focus,a.bg-default:focus,a.bg-default:hover, .panel-default .panel-heading, .member_accounts .panel-default > .panel-heading, .panel-default.categories-panel .panel-heading, .btn.dropdown-toggle.btn-default:hover, #popover .mini_profile_pic {
background-color: rgba(255, 255, 255,0.95);
border-color: rgb(255, 255, 255);
color: rgb(85, 85, 85);
}
.sidemenu_panel .panel-default .panel_heading {
background-color: rgb(255, 255, 255)!important;
border-color: rgb(255, 255, 255)!important;
color: rgb(85, 85, 85)!important;
}
.panel-default, .member_accounts .panel-default {
background-color: rgba(255, 255, 255,0.1);
border-color: rgb(255, 255, 255);
}
.member_admin_sidemenu .panel-default {
background-color: transparent;
}
.bg-default,.progress-bar-default,.module p.bg-default,.label-default,.badge-default,.pricing_menu .title.bg-default {
background-color: rgb(255, 255, 255);
color: rgb(85, 85, 85);
}
.bg-default .badge {
background-color: rgb(85, 85, 85);
color: rgb(255, 255, 255);
}
.btn-default.btn-outline {
background: transparent;
color: rgb(255, 255, 255);
box-shadow: 0 0 0px 1px rgb(255, 255, 255) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-default.btn-outline:hover {
background: rgba(255, 255, 255,0.1);
}
.alert-default {
background-color:rgb(255, 255, 255);
border-color:rgb(255, 255, 255);
color: rgb(85, 85, 85);
}
.alert-default-subtle, .label-default-subtle, .badge-default-subtle {
background-color:rgba(255, 255, 255,0.5);
border-color: rgba(255, 255, 255,0.5);
color: rgb(85, 85, 85);
}
.btn.dropdown-toggle.btn-default *, .btn-default a {
color: rgb(85, 85, 85);
}
.text-default{
color: rgb(255, 255, 255);
}
.btn-secondary, .btn.dropdown-toggle.btn-secondary,.navbar-default .navbar-nav > li > a.btn-secondary, .navbar-default .navbar-nav > li > span.btn-secondary,.mobile-main-menu .sidebar-nav li a.btn-secondary, .mobile-main-menu .sidebar-nav li span.btn-secondary {
background-color: rgb(41, 41, 41);
border: 1px solid rgb(41, 41, 41);
color: rgb(241, 241, 241);
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active,.btn-secondary:active:focus, .btn-secondary:active:hover, .nav > li > a.btn-secondary:focus, .nav > li > a.btn-secondary:hover,.btn-secondary.active,.open > .dropdown-toggle.btn-secondary, .btn-secondary.active.focus, .btn-secondary.active:focus, .btn-secondary.active:hover, .btn-secondary:active.focus, .open>.dropdown-toggle.btn-secondary:hover, .open>.dropdown-toggle.btn-secondary:focus, .open>.dropdown-toggle.btn-secondary.focus,a.bg-secondary:focus,a.bg-secondary:hover,.btn.dropdown-toggle.btn-secondary:hover, .panel-secondary .panel-heading {
background-color: rgba(41, 41, 41,0.95);
border: 1px solid rgb(41, 41, 41);
color: rgb(241, 241, 241);
}
.bg-secondary,.progress-bar-secondary,.module p.bg-secondary,.module p.bg-secondary:not(.fr-box.fr-basic .fr-element p),.label-secondary,.badge-secondary,.pricing_menu .title.bg-secondary {
background-color: rgb(41, 41, 41);
color: rgb(241, 241, 241);
}
.bg-secondary .badge {
background-color:rgb(241, 241, 241);
color: rgb(41, 41, 41);
}
.btn-secondary.btn-outline {
background: transparent;
color: rgb(41, 41, 41);
box-shadow: 0 0 0px 1px rgb(41, 41, 41) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-secondary.btn-outline:hover {
background: rgba(41, 41, 41,0.1);
}
.panel-secondary {
background-color: rgba(41, 41, 41,0.1);
border-color: rgb(41, 41, 41);
}
.alert-secondary {
background-color:rgb(41, 41, 41);
border-color:rgb(41, 41, 41);
color: rgb(241, 241, 241);
}
.alert-secondary-subtle, .label-secondary-subtle, .badge-secondary-subtle {
background-color:rgba(41, 41, 41,0.8);
border-color: rgba(41, 41, 41,0.5);
color: rgb(241, 241, 241);
}
.bg-body {
background: rgb(241, 241, 241);
color: rgb(41, 41, 41);
}
.bg-content-box {
background: rgb(255, 255, 255);
color: rgb(41, 41, 41);
}
.bg-content-box-border {
background: rgb(247, 247, 247);
}
.btn.dropdown-toggle.btn-secondary *, .btn-secondary a {
color: rgb(241, 241, 241);
}
.text-secondary {
color: rgb(41, 41, 41);
}
.feature-post #post-content .alert-secondary.btn-block, .feature-search .img_section .alert-secondary.btn-block, .search_result .img_section .alert-secondary {
background-color: rgba(41, 41, 41,0.2);
}
/* Footer Newsletter Row */
.newsletter_row .alert {
color: rgb(255, 255, 255);
}
.newsletter_row {
background-color: rgb(14, 14, 14);
color: rgb(255, 255, 255);
}
.newsletter_row input[type="submit"],.newsletter_footer_button {
background-color: rgba(167, 218, 53,0.97);
color: rgb(255, 255, 255);
border-color: rgb(167, 218, 53);
}
.newsletter_row input[type="submit"]:hover,.newsletter_row input[type="submit"]:focus,.newsletter_footer_button:hover,.newsletter_footer_button:focus {
background-color: rgb(167, 218, 53);
color: rgb(255, 255, 255);
}
.newsletter_button_left {
border-right: 1px solid rgba(255, 255, 255,0.2);
}
.newsletter_button_right {
border-left: 1px solid rgba(255, 255, 255,0.2);
}
.newsletter_row small.help-block {
background: rgb(255, 255, 255);
margin-top: -5px;
float: left;
padding: 8px;
border-radius: 1px;
color: rgb(14, 14, 14);
text-transform: capitalize;
}
.newsletter_row .has-success .checkbox,.newsletter_row .has-error .checkbox{
color: rgb(255, 255, 255);
}
@media only screen and (max-width: 767px) {
.newsletter_button_right,.newsletter_button_left{
border: none;
margin: 5px 0;
}
}
/* Font Sizes */
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > span {
font-size: 16px;
}
.header .logo {
font-size: 33px;
}
.homepage_title h1, .homepage_settings h1 {
font-size: 50px;
}
.homepage_settings h2 {
font-size: 28px;
}
.ui-rangeSlider-bar{
background: rgb(148, 191, 16)!important;
}
@media only screen and (max-width: 1024px){
.modal {margin-top: 40px;}
}
@media only screen and (max-width: 768px){
.modal {margin-top: 60px;}
}
/* Calendar Styles */
#cal-slide-content {
color: rgb(85, 85, 85)!important;
background-color: rgb(255, 255, 255)!important;
-webkit-box-shadow: none!important;
box-shadow: none!important;
}
#cal-slide-content a.event-item {
color: rgb(85, 85, 85)!important;
font-weight:bold!important;
}
#cal-slide-content a.event-item small {
display: inline-block;
}
.cal-month-box, .cal-year-box, .cal-week-box {
border: 1px solid rgb(247, 247, 247)!important;
}
.cal-year-box .row-fluid, .cal-month-box .cal-row-fluid {
border-bottom: 1px solid rgb(247, 247, 247)!important;
}
.cal-year-box [class*="span"], .cal-month-box [class*="cal-cell"] {
border-right: 1px solid rgb(247, 247, 247)!important;
}
.cal-year-box .row-fluid, .cal-row-fluid, #cal-day-box .cal-day-hour:nth-child(odd) {
background-color: rgb(241, 241, 241)!important;
}
.cal-month-day span:not(.pull-right):not(.events-count-label):not(.events-label) {
color: rgb(85, 85, 85)!important;
}
.cal-day-today span[data-cal-date] {
color: rgb(41, 41, 41)!important;
}
.cal-year-box .row-fluid [class*="span"]:last-child, .cal-month-box .cal-row-fluid [class*="cal-cell"]:last-child {
border: 0!important;
}
.cal-row-head {
background: rgb(255, 255, 255)!important;
}
.day-highlight:hover, .day-highlight {
background-color: rgb(247, 247, 247)!important;
}
.cal-event-list .event.pull-left {
background-color: rgb(41, 41, 41)!important;
opacity: 0.4;
margin-top: 7px!important;
}
.cal-day-today {
background-color: rgb(247, 247, 247)!important;
}
#cal-day-tick {
border: 1px solid rgb(247, 247, 247)!important;
background-color: rgb(247, 247, 247)!important;
}
.cal-day-weekend span[data-cal-date]{
color: rgb(41, 41, 41)!important;
}
.rsDefault, .rsDefault .rsOverflow, .rsDefault .rsSlide, .rsDefault .rsVideoFrameHolder, .rsDefault .rsThumbs {
background: #151515!important;
}
#first_container .favorite, #first_container .fa.favorite {
color: #aaa;
background: rgb(255, 255, 255);
border: 1px solid rgb(255, 255, 255);
white-space:nowrap!important;
}
#first_container .favorite span, #first_container .fa.favorite span {
font-family: 'Open Sans';
white-space:nowrap!important;
}
#first_container .favoriteActive:not(.favorite.comments-count-badge), #first_container .fa.favoriteActive:not(.favorite.comments-count-badge .fa) {
color: #ef4770;
}
#first_container .favorite::after, #first_container .fa.favorite::after {
font-family: 'Open Sans';
margin-left: 3px;
}
#first_container .favorite span, #first_container .fa.favorite span{
padding-left: 3px;
font-family: 'Open Sans';
font-size: 11px;
}
#first_container .favorite .bookmark-number, #first_container .fa.favorite .bookmark-number {
background: #aaa;
color:rgb(255, 255, 255);
padding: 0 5px;
border-radius: 100px;
display: inline-block;
font-weight:bold;
}
#first_container .favorite.favoriteActive .bookmark-number:not(.comments-count-badge .bookmark-number), #first_container .fa.favorite.favoriteActive .bookmark-number {
background: #ef4770;
}
span.checkbox_value::after {
content: ', ';
}
span.checkbox_value:last-child::after {
content: '';
}
/* Homepage Sections Background Color Logic */
.homepage-section-1 {
padding: 40px 0 40px;
}
.homepage-section-2 {
padding: 40px 0 40px;
}
.homepage-section-3 {
padding: 40px 0 40px;
}
.homepage-section-4 {
padding: 40px 0 40px;
}
.homepage-section-5 {
padding: 40px 0 40px;
}
.homepage-section-6 {
padding: 40px 0 40px;
}
.homepage-section-7 {
padding: 40px 0 40px;
}
.homepage-section-8 {
padding: 40px 0 40px;
}
.homepage-section-9 {
padding: 40px 0 40px;
}
.homepage-section-10 {
padding: 40px 0 40px;
}
.homepage-section-11 {
padding: 40px 0 40px;
}
.homepage-section-12 {
padding: 40px 0 40px;
}
.homepage-section-13 {
padding: 40px 0 40px;
}
.homepage-section-14 {
padding: 40px 0 40px;
}
.homepage-section-15 {
padding: 40px 0 40px;
}
/* Additional Settings */
/* Streaming Widgets Title Settings */
.streaming-title {
text-align: left;
font-size: 30px;
font-weight: 600;
font-family: 'Open Sans';
padding-bottom: 0px;
}
.homepage-join-module .module h2:first-of-type {
color: rgb(62, 62, 62);
}
.homepage-join-module .module{
background: rgb(255, 255, 255);
border-color: rgb(247, 247, 247);
}
.homepage-about-module .module h2:first-of-type {
color: rgb(62, 62, 62);
}
.homepage-about-module .module{
background: rgb(255, 255, 255);
border-color: rgb(247, 247, 247);
}
.img-circle, .img-circle img{
border-radius:1000px!important;
}
.img-rounded img, img.fr-dib.img-rounded{
border-radius: 6px!important;
}
/* Google Translate Module */
.skiptranslate iframe {position: absolute;top: -40px;}
.skiptranslate{font-size:0}
.goog-te-gadget-simple{border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.075) inset;color:#555}
.skiptranslate.goog-te-gadget span,img.goog-te-gadget-icon{display:none!important}
.goog-te-gadget .goog-te-combo{margin-bottom:-4px}
.skiptranslate.goog-te-gadget select{border:1px solid #ddd;border-radius:3px;font-size:12px;padding:2px 4px;width:100%;background:#fff;margin:0;height:30px;line-height:30px;display:block;color:#555;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}
@media only screen and (max-width: 1100px) {
.skiptranslate:not(.skiptranslate[style="display: none;"]){height:39px}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .header{margin-top:10px!important}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .announcement-bar{margin-top:10px}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .announcement-bar ~ .header{margin-top:0!important}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .header .mobile-main-menu{top:89px!important;height:calc(100% - 90px)!important}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .header .navbar{top:39px}
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ #first_container .member_sidebar.open{top: 89px;}
}
@media only screen and (max-width: 767px) {
.skiptranslate:not(.skiptranslate[style="display: none;"]) ~ .announcement-bar.hidden-xs ~ .header{margin-top:10px!important}
}
</style>
<!--GOOGLE TAG MANAGER CODE--> <!-- ON-PAGE CSS FUNCTIONS -->
<style type="text/css">
</style>
<div class="header">
<div class="container">
<div class="row vmargin">
<div id="website_logo" class="col-md-5 tpad xs-nopad xs-hpad sm-text-center xs-bmargin header-left-container">
<a href="https://www.techdirectory.io" title="TechDirectory">
<img width="326" height="62" src="/images/TechDirectory-Logo.png" alt="TechDirectory">
</a>
<div class="clearfix"></div>
</div>
<style type='text/css'> body input.tt-hint,body input.form-control.normal-autosuggest-input.tt-query {
background-color: white !important;
}
.input-group-sm .input-group-addon .fa {
font-size: 15px;
} </style><div class="col-md-7 text-right sm-text-center header-right-container nolpad xs-hpad">
<ul class="mini-nav nobmargin list-inline xs-nopad xs-tmargin vpad">
<style type='text/css'> div[id^="goog-"]{display: none !important;}
.goog-te-banner {
overflow-x: auto;
} </style> <li class="align-middle" style="min-width:137px;height:30px">
<div id="google_translate_element" style="width:127px;float:right;opacity:0;"></div>
<i id='spin_remove' class="fa fa-circle-o-notch fa-spin "></i>
</li>
<li class='bmargin'><span id='link207' class='bmargin'> </span></li><li class='bmargin norpad'><a href='/login' id='link208' class='btn btn_get_listed bold'>Login <i class="fa fa-chevron-right lmargin"></i></a></li><li class='bmargin norpad'><a href='/get-listed' id='link210' class='btn btn_get_listed bold'>List Your Company <i class="fa fa-chevron-right lmargin"></i></a></li> </ul>
<div class="clearfix"></div>
<form action="/search_results" name="frm1" class="form-inline website-search">
<div class="input-group input-group-sm bmargin sm-autosuggest">
<span class="input-group-addon hidden-md"><i class="fa fa-search"></i></span>
<input type="text"
placeholder="Name or Keyword" value="" name="q"
class="member_search form-control input-sm" autocomplete="off">
</div>
<input type="submit" value="Search" class="btn btn-sm btn_search bmargin xs-btn-block bold">
</form>
</div>
</div>
</div>
<style type='text/css'> .mobile-main-menu .hasChildren span a {
padding: 0px;
}
.user_sidebar > img {
width: 32px;
height: 32px;
position: absolute;
z-index: 10;
border-radius: 100px;
top: -1px;
object-fit: cover;
left: -10px;
background: rgb(255, 255, 255);
}
#member_sidebar_toggle img+.fa {
display: none;
}
.main_menu, .user_sidebar {
padding: 5px 8px;
margin-right:0;
min-height: 33.0333px;
min-width: 38.116px;
}
.main_menu i, .user_sidebar i {
font-size: 16px;
}
.navbar-nav li {
float: none!Important;
}
.navbar-default{
-webkit-transition: all .6s ease-in-out;
-moz-transition: all .6s ease-in-out;
-o-transition: all .6s ease-in-out;
transition: all .6s ease-in-out;
}
.transparent_menu {
background-color: rgba(14, 14, 14,0.95)!important;
}
@media only screen and (max-width: 991px) {
#popover {display: none}
}
@media only screen and (max-width: 1100px){
.mobile-main-menu{display:block!important}
.navbar-toggle {display: block}
#bs-main_menu .nav {display: none!important}
}
.mobile-main-menu {
position: fixed;
height: calc(100% - 50px)!important;
width: 250px;
background: rgb(14, 14, 14);
z-index: 99999;
right: -250px;
top: 50px;
display: none;
-webkit-transition: all .6s ease-in-out;
-moz-transition: all .6s ease-in-out;
-o-transition: all .6s ease-in-out;
transition: all .6s ease-in-out;
overflow-y: auto!important;
overflow-x: hidden!important;
}
.mobile-main-menu ul li i {
color: rgb(255, 255, 255);
cursor: pointer;
float: right;
padding: 13px;
}
.mobile-main-menu.opened{
right: 0px!important;
}
.mobile-main-menu ul li a, .mobile-main-menu ul li span {
display: inline-block;
float: left;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 10px 0px;
width: 80%;
width: calc(100% - 40px);
}
.mobile-main-menu .sidebar-nav li ul {
height: 0px;
overflow: hidden;
list-style: none;
color: rgb(255, 255, 255);
padding-left: 10px;
}
.mobile-main-menu .sidebar-nav li.sub_open > ul{
height: 100%;
}
.mobile-main-menu ul.sidebar-nav {
position: absolute;
width: 250px;
margin: 0;
padding: 0;
list-style: none;
font-size: 14px;
}
.mobile-main-menu .sidebar-nav > li {
display: block;
line-height: 20px;
padding: 0 15px 0 20px;
}
.mobile-main-menu .sidebar-nav li a, .mobile-main-menu .sidebar-nav li span {
text-decoration: none;
color: rgb(255, 255, 255);
padding-left:10px;
}
.mobile-main-menu .sidebar-nav li a i, .mobile-main-menu .sidebar-nav li span i {
display: none;
} </style><div class="mobile-main-menu">
<ul class="sidebar-nav">
<li class=''><a href='/home' id='link1'>Home</a></li><li class=''><a href='/categories' id='link229'>Tech Companies â–¾</a><ul><li class=''><a href='/get-listed' id='link272'>Advertise Your Company</a></li><li class=''><a href='/events' id='link308'>Events</a></li><li class=''><a href='/reviews' id='link265'>Reviews</a></li></ul></li><li class=''><a href='/locations' id='link303'>Locations</a></li><li class=''><a href='/videos' id='link307'>Videos</a></li><li class=''><a href='/blog' id='link315'>Blog</a></li> </ul>
</div>
<nav class="navbar navbar-default lockedonscroll">
<div class="container container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed main_menu" data-toggle="collapse" aria-label="main_menu">
<i class="fa fa-bars fa-fw"></i>
</button>
</div>
<div class="tablet-menu collapse navbar-collapse nopad" id="bs-main_menu">
<ul class="tablet-menu-ul nav navbar-nav nav-justified">
<li class=''><a href='/home' id='link1'>Home</a></li><li class=''><a href='/categories' id='link229'>Tech Companies â–¾</a><ul><li class=''><a href='/get-listed' id='link272'>Advertise Your Company</a></li><li class=''><a href='/events' id='link308'>Events</a></li><li class=''><a href='/reviews' id='link265'>Reviews</a></li></ul></li><li class=''><a href='/locations' id='link303'>Locations</a></li><li class=''><a href='/videos' id='link307'>Videos</a></li><li class=''><a href='/blog' id='link315'>Blog</a></li> </ul>
</div>
</div>
</nav>
<!--CSS IF MENU IS FIXED TOP-->
</div>
<!--
IMPORTANT: This widget contains real Adsense code as a sample to show how this widget functions. Please replace the current Adsense code below with your own code in order to generate revenue from this ad space.
-->
<div class="container clearfix text-center banner-ad-unit above-content-banner-ad">
<div class="clearfix vmargin banner-ad-unit">
<a href="https://techbullion.com/interviews-reviews/" target="_blank"><img src="https://newswebsite.com/wp-content/uploads/2025/03/TechBullion-Banner-Ads.png" alt="interviews-reviews" /></a> </div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div><div class="clearfix"></div>
<!-- Begin Content -->
<div id="first_container" class="content-container fr-view">
<div class="container">
<ol class='breadcrumb' itemscope itemtype='https://schema.org/BreadcrumbList'><li itemprop='itemListElement' itemscope itemtype='https://schema.org/ListItem'><a itemtype='https://schema.org/Thing' itemprop='item' href='//www.techdirectory.io' title='TechDirectory'><span itemprop='name'>Home</span><meta itemprop='position' content='1' /></a></li><li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemtype="https://schema.org/Thing" itemprop="item" href="/united-states" title="United States"><span itemprop="name">United States</span><meta itemprop="position" content="2" /></a></li><li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemtype="https://schema.org/Thing" itemprop="item" href="/united-states/yorba-linda" title="Yorba Linda"><span itemprop="name">Yorba Linda</span><meta itemprop="position" content="4" /></a></li><li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemtype="https://schema.org/Thing" itemprop="item" href="/united-states/yorba-linda/automotive" title="Automotive"><span itemprop="name">Automotive</span><meta itemprop="position" content="6" /></a></li><li class='active'>OCRV Paint & Service</li></ol> <div class="clearfix body-content"></div>
<style type='text/css'> a.btn.btn-warning.pull-right.bmargin.xs-nomargin {
position: relative;
z-index: 999;
} </style>
<div class="row content_w_sidebar member_profile level_3">
<div class='col-md-9'><style type='text/css'> @media only screen and (max-width: 767px) {
.profile-header-write-review {
margin-top: 10px !important;
}
}
</style>
<div class="row member-profile-header">
<div class="col-xs-12 col-sm-3 norpad text-center xs-nopad xs-bmargin profile-image">
<a href="/united-states/yorba-linda/automotive/ocrv-paint-service/connect" title="Contact Technology Business OCRV Paint & Service">
<img width="200" height="113" class="img-rounded" src="/logos/profile/limage-172282-208-photo.jpg" alt="Technology Business OCRV Paint & Service in Yorba Linda CA" title="Contact OCRV Paint & Service">
</a>
</div>
<div class="xs-text-center col-xs-12 col-sm-9 the-header-member-main-info">
<div class="row the-header-member-name">
<div class="col-sm-10 norpad xs-hpad header-member-name notranslate">
<h1 class="bold inline-block">
OCRV Paint & Service </h1>
</div>
<div class='col-sm-2 text-right nolpad bmargin xs-nopad xs-text-center header-favorite-button'><span class="sidebarenabled" data-sidebar="1"></span><span class="postItem userData" data-userid="172282" data-datatype="10" data-dataid="0" data-postid="0"></span><button class="item-post-list-0 favorite fa fa-heart" data-count="" data-postid="0" data-state="0" data-activefeature="1" data-activefavorite="Basic" data-toggle="modal" data-target="#myModal" ><span id='bookmark-content' class='weight-bold-xxl'>SAVE</span> <span class='' id='number-0'></span></button></div> </div>
<div class="row the-header-member-details">
<div class="col-sm-6 tmargin xs-nomargin">
<p class="line-height-xl nomargin">
<span class='profile-header-top-category '>Automotive<br /></span><span class=profile-header-location><i class="fa fa-map-marker text-danger"></i> Yorba Linda, CA, 92887</span> </p>
</div>
<div class="clearfix"></div>
<div class="col-sm-6 tmargin profile-header-send-message">
<a class="btn btn-success btn-block btn-lg" title="Contact OCRV Paint & Service" href="/united-states/yorba-linda/automotive/ocrv-paint-service/connect">
<i aria-hidden="true" class="fa fa-comments-o fa-fw"></i> Send Message
</a>
</div>
</div>
</div>
</div>
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="well tmargin bmargin fpad make-connection">
<span class="h3 nobmargin">
<i class="fa fa-comments-o fa-fw" aria-hidden="true"></i>
</span>
<b>MAKE A CONNECTION</b>
OCRV Paint & Service
is accepting messages:
<a class="inline-block" href="/united-states/yorba-linda/automotive/ocrv-paint-service/connect">
Send Message
</a>
</div>
<div class="clearfix"></div><div role="tabpanel" class="member-profile-tabs">
<ul class="nav nav-tabs fpad nobpad profile-tabs-nav" role="tablist">
<li class="active hideMyTab">
<a href="#1" rel="nofollow" aria-controls="t1" role="tab" data-toggle="tab">
Overview </a>
</li>
<style> .hideMyTab{ display:none !important;}</style> </ul>
<div class="tab-content">
<div id="1" role="tabpanel" class="tab-pane active">
<style type='text/css'> ul.table-view.list-inline.xs-center-block > h2.tmargin.tpad.xs-text-center.xs-center-block.clearfix:last-child {
display:none;
} </style> <div class="table-view list-inline xs-center-block bmargin">
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Contact Information </h2>
<div class="table-view-group clearfix table-display-company">
<div class="col-sm-4 bold">
Company Name </div>
<div class="col-sm-8">
<span class="textbox textbox-company">OCRV Paint & Service</span> </div>
</div>
<tr>
<th colspan="2">
</th>
</tr>
<tr>
<th colspan="2">
<div class="table-view-group clearfix">
<div class="col-sm-4 bold">
Visit Website
</div>
<div class="col-sm-8">
<a itemprop="url" class="weblink" title="Website" rel="nofollow" target="_blank" href="https://ocrvpaintandservice.com">
https://ocrvpaintandservice.com </a>
</div>
</div>
</th>
</tr>
<tr>
<th colspan="2">
</th>
</tr>
<tr>
<th colspan="2">
<div class="table-view-group clearfix overview-tab-the-member-address">
<div class="col-sm-4 bold">
Location
</div>
<div class="col-sm-8">
<span>23281 La Palma Ave</span><br><span>Yorba Linda</span>, <span>CA</span>, <span>92887</span><br>United States </div>
</div>
<!-- SCHEMA FOR LOCALBUSINESS -->
<div itemscope itemtype="http://schema.org/LocalBusiness">
<meta itemprop="name" content="OCRV Paint & Service">
<meta itemprop="priceRange" content="$$">
<meta itemprop="telePhone" content="714-598-2600">
<meta itemprop="url" content="https://www.techdirectory.io/united-states/yorba-linda/automotive/ocrv-paint-service">
<meta itemprop="image" content="https://www.techdirectory.io">
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="23281 La Palma Ave">
<meta itemprop="addressLocality" content="Yorba Linda">
<meta itemprop="addressRegion" content="92887">
<meta itemprop="addressCountry" content="United States of America">
</div>
<div itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="33.87463660">
<meta itemprop="longitude" content="-117.72881550">
</div>
</div>
</th>
</tr>
</div>
<div class="table-view list-inline xs-center-block bmargin">
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Company Details </h2>
<div class="table-view-group clearfix table-display-rep_matters">
<div class="col-sm-4 bold">
Hours of Operation </div>
<div class="col-sm-8">
<span class="textarea textarea-rep_matters">8AM-5PM</span> </div>
</div>
</div>
<div class="overview-tab-about-me"> <div class="table-view list-inline xs-center-block bmargin">
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Write About You And Your Company </h2>
<tr>
<th colspan="2">
<div class="clearfix"></div> </th>
</tr>
<div class="table-view-group clearfix table-display-about_me">
<div class="col-sm-4 bold">
<style type='text/css'> i.fa.fa-trash.fr-delete-img {
display: none!important;
}
body .fr-modal .fr-modal-wrapper div.fr-scroller div.fr-image-list div.fr-image-container .fr-insert-img {
left: 70%;
}
.account-form-box > div > table > tbody > tr > td {
border: 0;
}
.bootstrap-datetimepicker-widget *:not(.active) {
background-color: white!important;
}
.bootstrap-datetimepicker-widget * {
border: 0!Important;
}
.bootstrap-datetimepicker-widget table td:not(.active):hover {
background:#eee!important;
}
.bootstrap-datetimepicker-widget table th.day:hover {
background:white!important;
}
.fr-popup.fr-desktop {
z-index: 10000!important;
}
#dropdown-menu-linkStyle-1 [data-param1*="btn"]::before {
content: '';
width: 14px;
height: 14px;
border-radius: 20px;
position: relative;
top: 8px;
left: -8px;
}
[data-param1*="btn-danger"]::before {
background: rgb(217, 83, 79);
}
[data-param1*="btn-default"]::before {
background: rgb(255, 255, 255);
}
[data-param1*="btn-info"]::before {
background: rgb(60, 187, 222);
}
[data-param1*="btn-primary"]::before {
background: rgb(144, 182, 36);
}
[data-param1*="btn-success"]::before {
background: rgb(152, 193, 67);
}
[data-param1*="btn-warning"]::before {
background: rgb(240, 173, 78);
}
.content_blocks_popup.show {
right: 20px;
box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.25);
}
.content_blocks_popup{
position: fixed;
right: -300px;
top: 50%;
transform: translate(0%, -50%);
z-index: 10000000;
width: 290px;
border: 1px solid #d7d7d7;
background: #f5f7fa;
border-width: 0 1px 1px;
transition-timing-function: ease-in;
transition: 1s;
}
.sidebar_body_open.content_blocks {
height: 450px;
overflow-y: auto;
}
.sidebar_section_toggle #table-header-module, .sidebar_section_toggle #table-header-module h2 {
height: 40px;
box-sizing: border-box;
width: 100%;
line-height: 40px;
padding: 0 7px;
font-size: 16px;
color: #fff;
min-height: 0;
background:#253342;
}
.content_blocks .alert {
margin: 10px 5px -5px;
display: block;
min-height: 30px;
padding: 5px;
}
.draggable_blocks_container {
padding: 15px 0;
}
.draggable_blocks_container .content-block {
padding: 20px 10px;
border: 1px solid #ccc;
margin: 0 0px 10px;
width: 100%;
box-sizing: border-box;
text-align: center;
background: #fff;
cursor: grab;
transition: all 250ms ease-in-out;
border-radius: 4px;
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.draggable_blocks_container .content-block:hover {
box-shadow: 0 0 10px 0px rgba(0, 111, 187, 0.25);
}
.draggable_blocks_container .content-block-single-elements .content-block {
width: 45%;
display: inline-block;
vertical-align: top;
padding: 5px 10px 10px;
}
.draggable_blocks_container .content-block-single-elements .content-block img {
max-height: 37px;
box-sizing: border-box;
width: auto;
padding:0;
}
.draggable_blocks_container .content-block-single-elements .content-block p {
margin: 0 0 5px;
}
.draggable_blocks_container p {
margin: 0 0 13px;
font-weight: bold;
font-size: 14px;
color: #7f8185;
}
.draggable_blocks_container .content-block-single-elements .content-block p {
font-size: 12px;
}
.draggable_blocks_container .content-block img {
width: 100%;
}
.draggable_blocks_container .setting_holder.accordion > ul {
padding: 0;
list-style: none;
}
.draggable_blocks_container .setting_holder {
display: block;
margin: 0;
padding: 5px;
vertical-align: top;
width: 100%;
transition: all 300ms ease 0ms;
-moz-transition: all 300ms ease 0ms;
-webkit-transition: all 300ms ease 0ms;
-o-transition: all 300ms ease 0ms;
box-sizing: border-box;
}
.draggable_blocks_container .setting_holder h2 {
border-bottom: 1px solid #dadee2;
font-size: 16px;
font-weight: 600;
margin: 0;
padding: 5px 5px 10px;
width: 100%;
cursor: pointer;
cursor: hand;
display: block;
box-sizing: border-box;
outline: none;
color: #636f7c;
}
.draggable_blocks_container .setting_holder h2 .fa {
float: right;
position: relative;
top: 3px;
}
.fr-toolbar button.fr-command[data-cmd="Pre-Made Elements"] {
background: #0091ae;
color: #fff;
padding: 0 12px;
height: 26px;
top: 5px;
font-size: 13px;
}
.fr-toolbar button.fr-command[data-cmd="Pre-Made Elements"]:hover{
opacity: 0.9;
background: #0091ae;
}
button.fr-command[data-cmd="Pre-Made Elements"]:before {
content: "\f00a";
font-family: FontAwesome;
margin-right: 5px;
}
.sidebar_body_open.content_blocks {
height: 600px;
overflow-y: auto;
}
.sidebar_section_toggle #table-header-module, .sidebar_section_toggle #table-header-module h2 {
height: 40px;
box-sizing: border-box;
width: 100%;
line-height: 40px;
padding: 0 7px;
font-size: 16px;
background: #264966;
}
.content_blocks .alert {
margin: 10px 5px -5px;
display: block;
min-height: 30px;
padding: 5px;
}
.draggable_blocks_container {
padding: 15px 0;
}
.draggable_blocks_container .content-block {
padding: 20px 10px;
border: 1px solid #ccc;
margin: 0 0px 10px;
width: 100%;
box-sizing: border-box;
text-align: center;
background: #fff;
cursor: grab;
transition: all 250ms ease-in-out;
border-radius: 4px;
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.draggable_blocks_container .content-block:hover {
box-shadow: 0 0 10px 0px rgba(0, 111, 187, 0.25);
}
.draggable_blocks_container .content-block-single-elements .content-block {
width: 45%;
display: inline-block;
vertical-align: top;
padding: 5px 10px 10px;
}
.draggable_blocks_container .content-block-single-elements .content-block img {
max-height: 37px;
box-sizing: border-box;
width: auto;
padding:0;
}
.draggable_blocks_container .content-block-single-elements .content-block p {
margin: 0 0 5px;
}
.draggable_blocks_container p {
margin: 0 0 13px;
font-weight: bold;
font-size: 14px;
color: #7f8185;
}
.draggable_blocks_container .content-block-single-elements .content-block p {
font-size: 12px;
}
.draggable_blocks_container .content-block img {
width: 100%;
}
.draggable_blocks_container .setting_holder.accordion > ul {
padding: 0;
list-style: none;
}
.draggable_blocks_container .setting_holder {
display: block;
margin: 0;
padding: 5px;
vertical-align: top;
width: 100%;
transition: all 300ms ease 0ms;
-moz-transition: all 300ms ease 0ms;
-webkit-transition: all 300ms ease 0ms;
-o-transition: all 300ms ease 0ms;
box-sizing: border-box;
}
.draggable_blocks_container .setting_holder h2 {
border-bottom: 1px solid #dadee2;
font-size: 16px;
font-weight: 600;
margin: 0;
padding: 5px 5px 10px;
width: 100%;
cursor: pointer;
cursor: hand;
display: block;
box-sizing: border-box;
outline: none;
color: #636f7c;
}
.draggable_blocks_container .setting_holder h2 .fa {
float: right;
position: relative;
top: 3px;
}
.chat_messages #bd-chat-pmb-table_wrapper table tr th {
white-space: nowrap !important;
} </style><style>
/* Image styling */
.fr-command.fr-insert-image-pexels img {
height: 24px;
border: none;
margin: 8px 8px;
background: transparent;
vertical-align: unset;
}
/* Button styling */
.fr-command.fr-insert-image-pexels {
border: none;
background: none;
cursor: pointer;
}
.pexel .pexel-search-button[disabled],.pexel .pexel-search-button[disabled]:hover{
cursor: not-allowed;
color: #fff;
background-image: none;
opacity: .65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* Modal styling */
#pexel-modal-holder .modal-header .close{
margin-top: 5px;
margin-right: 10px;
}
#pexel-modal-holder #pexel-image-preview > li {
width: 18.9%;
}
#pexel-modal-holder .select-image-size{
width:100%;
padding:5px;
}
#pexel-modal-holder .select-image-size .btn{
margin-top:2px;
}
#pexel-modal-holder .pexel{
padding-bottom:60px;
}
.pexel-modal {
overflow: hidden;
}
/* Close button styling */
#pexelClose-1 {
float: right;
}
/* Form element styling */
.pexel-search-form button,
.pexel-search-form input,
.pexel-search-form select {
float: left;
font-size: 14px !important;
height: 40px;
line-height: 40px;
margin-bottom: 0;
margin-right: 10px;
padding: 0 10px !important;
width: 20%;
border-radius: 4px !important;
}
/* Image container styling */
.img-container {
display: inline-block;
height: 100%;
margin: auto;
margin-bottom: 5px;
max-width: 100%;
position: relative;
vertical-align: top;
width: 100%;
padding: 0;
border: none;
overflow: hidden;
}
.img-container img {
height: auto;
max-width: 100%;
vertical-align: middle;
border: 0;
transition: all .25s ease-in-out 0s;
}
.img-container:hover img {
transform: scale(1.02);
}
/* Primary button styling */
.pexel .btn-primary {
background-color: #006fbb !important;
border: 1px solid #006fbb !important;
color: #fff !important;
cursor: pointer;
}
.pexel .btn-primary:hover {
opacity: .9;
}
/* Pexel container styling */
.pexel {
padding: 15px;
position: relative;
font-weight: 200;
background: #e9eced;
}
/* Tabbable container styling */
.pexel .tabbable {
position: relative;
}
/* Image grid styling */
#pexel-image-preview {
overflow-y: auto;
padding: 0;
margin: 0 auto;
list-style: none;
height: calc(100vh - 215px);
}
#pexel-image-preview > li {
background: rgba(255,255,255,.75);
border-radius: 4px;
padding: 7px;
text-align: center;
transition: all .25s ease-in-out 0s;
vertical-align: top;
width: 19%;
margin: 4px 4px 8px;
border: none;
display: inline-block;
line-height: 20px;
box-sizing: border-box;
}
#pexel-image-preview > li:hover {
background: rgba(255, 255, 255, 1);
box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.1);
}
/* Alert styling */
.alert.size-chart {
line-height: 1.8em !important;
margin: 0;
border-radius: 0 !important;
border: none;
background: #f5f5f5;
padding-left: 15px;
display: inline-block;
padding-top: 5px;
padding-bottom: 0px;
}
.alert.size-chart span {
background: #fff;
border-radius: 100px;
margin-left: 2px;
padding: 4px 10px;
text-shadow: none;
border: 1px solid #ccc;
font-size: 11px;
}
/* Select image size styling */
.select-image-size {
background: rgba(0, 0, 0, .5);
color: #fff;
padding: 10px;
position: absolute;
bottom: 0;
left: 0;
width: calc(100% - 20px);
}
.select-image-size .btn {
font-weight: bold;
height: 26px;
line-height: 26px;
line-height: 24px !important;
margin: 0;
padding: 0 !important;
width: 26px;
}
.select-image-size select {
font-size: 11px !important;
height: 30px;
margin: 0;
width: 75%;
width: calc(100% - 36px);
min-height: auto;
line-height: 15px;
}
.select-image-size .btn .fa {
line-height: inherit;
}
/* Loading spinner styling */
.loading {
padding: 5px 8px;
border-radius: 2px;
position: relative;
top: 1px;
left: 4px;
opacity: 0;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}
/* Loading overlay styling */
.loading-pexel {
position: absolute;
height: calc(100vh - 215px);
width: 100%;
display: none;
background: rgb(92 88 88);
opacity: 0.7;
z-index: 99;
}
/* Remove focus outline on specific elements */
select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: none !important;
}
/* Common button and alert styling */
#pexel_template .btn,
#pexel_template .btn-primary {
font-size: 12px !important;
border-radius: 4px !important;
line-height: 1.4em !important;
}
#pexel_template .btn-dark{
color: #fff;
background-color: #343a40;
border-color: #343a40;
}
#pexel_template .btn-dark:hover{
color: #fff;
background-color: #23272b;
border-color: #1d2124;
}
/* Disabled search button styling */
#pexel-search-button[disabled] {
cursor: not-allowed;
}
/* Horizontal rule margin */
.pexel hr {
margin: 15px 0;
}
/* Footer styling */
.media-manager-footer.pexels-footer {
position: absolute;
bottom: 0px;
width: 100%;
border: 1px solid #ddd;
margin-top: 10px;
padding: 10px 15px;
background: #fff;
font-size: 14px;
left: 0;
box-sizing: border-box;
display: block;
}
.fr-popup .fr-command.fr-btn.fr-insert-image-pexels {
border: none;
cursor: pointer;
padding: 0;
width: auto !important;
}
.fr-popup .fr-command.fr-btn.fr-insert-image-pexels img {
border: none;
background: transparent;
vertical-align: unset;
width: auto !important;
}
/* Responsive styles */
@media only screen and (max-width: 1268px) {
#pexel-image-preview > li {
width: 23%;
width: calc(23% + 5px);
}
}
@media only screen and (max-width: 942px) {
#pexel-image-preview > li {
width: 31%;
width: calc(31% + 5px);
}
}
@media (min-width: 1200px) {
.pexel .row-fluid {
width: 100%;
*zoom: 1;
}
}
.author-credit {
font-size: 10px;
}
</style><div id="pexel_template" style="display: none;">
<div class="pexel">
<div class="tabbable upload-tabbable">
<div class="pexel-search-form">
<input autocomplete="off" placeholder="Find Photos by Keyword" required class="form-control" value="City" type="text" id="pexel_keyword" name="pexel_keyword"/>
<select class="form-control" id="pexel_orientantion" name="pexel_orientantion">
<option value="all">All Orientations</option>
<option selected value="landscape">Horizontal</option>
<option value="portrait">Vertical</option>
<option value="square">Square</option>
</select>
<select class="form-control" id="stock_library" name="stock_library">
<option value="pexel">Pexels Library</option>
<option value="pixbay">Pixabay Library</option>
<option value="giphy">Giphy Library</option>
<option value="unsplash">Unsplash Library</option>
</select>
<input class="btn btn-primary pexel-search-button" onclick="executeSearch(this)" value="Search Photos">
<input type="hidden" name="sub_folder_pexel" id="sub_folder_pexel" value="member_uploads/member_/"/>
<div class="clear clearfix"></div>
</div>
<span class="help-block" id="help-text-noun" style="display:none; font-size: 12px; font-weight: bold; color: #000; margin: 5px 0 0;">
Fewer icons available when colors are applied. <a href="javascript:void(false);" onclick="colorReset()" style="color: #006fbb; font-weight: bold; margin-left: 5px;">
<i class="fa fa-refresh" aria-hidden="true"></i> Reset to Black for Full Options</a>
</span>
<div class="clear clearfix"></div>
<hr>
<div class="clear clearfix"></div>
<div class="row-fluid ff-container">
<div class="loading-pexel grid cs-style-2 list-view0">
<span class="loading" style="opacity: 10;display: table;top: 45%;margin: 0 auto;color: white;">
<span class="loading-text">Loading...</span> <i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw" style="font-size: 20px;"></i>
</span>
</div>
<ul class="pexel-grid" id="pexel-image-preview"></ul>
</div>
</div>
</div>
<div class="media-manager-footer pexels-footer" style="display:none;">
<button id="pexel-load-more" class="sbuttonwiz7" onclick="return false;"> Load More </button>
<a id="pexel-refeer" target="_blank" href="https://www.pexels.com" style="float:right;" class="stock_image_refeer sbuttonwiz5"> Photos Provided by Pexels <small><i class="fa fa-external-link fa-fw" aria-hidden="true"></i></small></a>
<a id="pixbay-refeer" target="_blank" href="https://pixabay.com/" style="float:right; display:none;" class="stock_image_refeer sbuttonwiz5">Photos Provided by Pixabay <small><i class="fa fa-external-link fa-fw" aria-hidden="true"></i></small></a>
<a id="giphy-refeer" target="_blank" href="https://giphy.com/" style="float:right; display:none;" class="stock_image_refeer sbuttonwiz5">Photos Provided by Giphy <i class="fa fa-external-link fa-fw" aria-hidden="true"></i></small></a>
<a id="unplash-refeer" target="_blank" href="https://unplash.com/" style="float:right; display:none;" class="stock_image_refeer sbuttonwiz5"> <small><i class="fa fa-external-link fa-fw" aria-hidden="true"></i></small></a>
</div></div><script id="image-pexel-preview-template"type="text/x-handlebars-template">
<li>
<div class="img-container">
<span></span>
<img alt="bg thumbnails" class="" src="{{thumbnail}}">
{{#if (eq library "noun")}}
<div class="select-image-size">
<select class="form-control pull-left" style="display:none;" id="type-options-{{id}}">
<option selected id="option-small-{{id}}" value="small">Small<</option>
</select>
<span class="icon-download-color" style="color:{{color}};background-color:{{bgColor}}">ICON COLOR</span>
<a class="btn btn-primary pull-right" onclick="downloadImage(this)" data-id="{{id}}"> <i aria-hidden="true" class="fa fa-download fa-fw"></i></a>
<input type="hidden" id="small-type-{{id}}" value="{{file_smalll}}">
</div>
{{else}}
{{#if (eq library "giphy")}}
<div class="select-image-size">
<select class="form-control pull-left" style="display:none;" id="type-options-{{id}}">
<option selected id="option-small-{{id}}" value="small">Small</option>
</select>
<span class="icon-download-color" style="color:#fff;background-color:#000000"> </span>
<a class="btn btn-primary pull-right" onclick="downloadImage(this)" data-id="{{id}}"> <i aria-hidden="true" class="fa fa-download fa-fw"></i></a>
<input type="hidden" id="small-type-{{id}}" value="{{file_smalll}}">
</div>
{{else}}
<div class="select-image-size">
<select class="form-control pull-left" id="type-options-{{id}}">
<option value="">Select Size:</option>
<option id="option-small-{{id}}" value="small">Small</option>
<option id="option-medium-{{id}}" value="medium">Medium</option>
<option id="option-large-{{id}}" value="large">Large</option>
</select>
<a class="btn btn-primary pull-right" onclick="downloadImage(this)" data-id="{{id}}"> <i aria-hidden="true" class="fa fa-download fa-fw"></i></a>
<input type="hidden" id="large-type-{{id}}" value="{{file_large}}">
<input type="hidden" id="medium-type-{{id}}" value="{{file_medium}}">
<input type="hidden" id="small-type-{{id}}" value="{{file_smalll}}">
</div>
{{/if}}
{{/if}}
<input type="hidden" id="color-{{id}}" value="{{bgColor}}">
<input type="hidden" id="library-{{id}}" value="{{library}}">
</div>
<div class="author-credit" style="display:none;">
Photo By <a target="_blank" href="{{author_link}}?utm_source=Brilliant%20Directories&utm_medium=referral">{{author_name}}</a> on <a target="_blank" href="https://unsplash.com/?utm_source=Brilliant%20Directories&utm_medium=referral">Unsplash</a>
</div>
</li>
</script>
<link rel='stylesheet' href='/directory/cdn/admin/js/color_picker/spectrum.css' />
<link href="/directory/cdn/admin/css/fontawesome-iconpicker.min.css" rel="stylesheet">
<script src="/directory/cdn/admin/js/fontawesome-iconpicker.js"></script>
<script type="text/javascript" src="/directory/cdn/admin/js/color_picker/spectrum.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.colorbox/1.4.33/example1/colorbox.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.colorbox/1.4.33/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.js"></script>
<script>
// Register the 'eq' helper
Handlebars.registerHelper('eq', function (v1, v2) {
return v1 === v2;
});
</script>
<script type="text/javascript">
var nextPage = "";
var parameters = {};
var currentPage = 1;
var currentKeyword = "";
var currentOrientation = "";
var modalParent = {};
var currentStockLibrary = "";
var isSinglePost = '';
var currentColor = "";
function getContrastTextColor(r, g, b) {
// Calculate the luminance of the color
const luminance = 0.299 * r + 0.587 * g + 0.114 * b;
// If the luminance is greater than 186, return black; otherwise, return white
return luminance > 186 ? '#000' : '#fff';
}
function hexToRgb(hex) {
// Check if hex is a valid string and is not null or undefined
if (typeof hex !== 'string' || !hex) {
console.error("Invalid hex value:", hex);
return [0,0,0]; // Return a default black color, or handle it differently
}
// Remove the hash symbol if it's there
hex = hex.replace(/^#/, '');
// Parse the r, g, b values
const bigint = parseInt(hex, 16);
const r = (bigint >> 16) & 255;
const g = (bigint >> 8) & 255;
const b = bigint & 255;
return [r, g, b];
}
function getContrastTextColorFromHex(hex) {
// console.log("hex param value",hex) // Check what value is passed as parameter to this function
const [r, g, b] = hexToRgb(hex);
return getContrastTextColor(r, g, b);
}
function colorReset() {
$("#color-picker").spectrum("set", "#000000");
$("#pexel-search-button").prop("disabled","");
}
function increaseSweetAlertZindex(){
$(".sweet-overlay").css('z-index','251000000');
$(".sweet-alert").css('z-index','261000000');
$(".swal2-container").css('z-index','261000000');
}
function loaderImagesShow(message){
$(modalParent).find(".loading-text").html(message);
$(modalParent).find(".loading-pexel").css("display","block");
}
function loaderImagesHide(){
$(modalParent).find(".loading-pexel").css("display","none");
}
function pexelSearch(parameters){
loaderImagesShow("Loading Images...");
var url = (parameters.is_admin === true)?"/admin/pexel/search":"/pexel/search";
$.ajax({
url: url,
dataType: "json",
type: "GET",
data: parameters,
success: function(result){
if(result.search.status == "success"){
var pexelResult = JSON.parse(result.search.message);
if(pexelResult.total_results > 0){
parameters["buttonColor"] = getContrastTextColorFromHex(parameters.color);
displayPexelResult(pexelResult,parameters);
}else{
swal({
title: "No Results Found",
text: "Try searching with another keyword.",
type: "",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
cancelButtonText: "No, cancel",
closeOnConfirm: false,
closeOnCancel: true
});
increaseSweetAlertZindex();
$(".pexels-footer").css("display","none");
loaderImagesHide();
}
}else{//no records found show error
swal({
title: "No Results Found",
text: "Try searching with another keyword.",
type: "",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
cancelButtonText: "No, cancel",
closeOnConfirm: false,
closeOnCancel: true
});
increaseSweetAlertZindex();
$(".pexels-footer").css("display","none");
loaderImagesHide();
}
if(currentKeyword == ""){
currentKeyword = parameters.pexel_keyword;
}
if(currentOrientation == ""){
currentOrientation = parameters.pexel_orientantion;
}
currentColor = parameters.color;
currentStockLibrary = parameters.stock_libray
},
error: function(){
}
});
}
function displayPexelResult(pexelResult,parameters){
var source = document.getElementById("image-pexel-preview-template").innerHTML;
var template = Handlebars.compile(source);
var authorFound = false;
$.each(pexelResult.photos,function(index,image){
if(parameters.stock_library != "noun"){
if(parameters.pexel_orientantion == "square" && image.height != image.width){//no square photo
return true;//we skip image
}else if(parameters.pexel_orientantion == "portrait" && image.height <= image.width){//is not horizontal
return true;//we skip image
}else if(parameters.pexel_orientantion == "landscape" && image.height >= image.width){//is not vertical
return true;//we skip image
}
}
var options = {
file_large:image.src.large,
file_smalll:image.src.medium,
file_medium:image.src.large,
id:image.id,
author_link:"",
author_name:"",
download_link:"",
thumbnail:image.src.thumbnail,
library: $("#stock_library").val(),
color:parameters.buttonColor,
bgColor:parameters.color
}
if(options.bgColor == ""){
options.bgColor = "#000000";
}
if(image.author){
options.author_link = image.author.link;
options.author_name = image.author.name;
authorFound = true;
}
if(image.download_link){
options.download_link = image.download_link;
}
if(image.height == image.width){
options.file_large = image.src.large2x;
}else if(image.height < image.width){
options.file_large = image.src.landscape;
}else{
options.file_large = image.src.portrait;
}
var html = template(options);
$(modalParent).find("#pexel-image-preview").append(html);
});
if(authorFound === true){
$(".author-credit").css("display","block");
}else{
$(".author-credit").css("display","none");
}
loaderImagesHide();
if(typeof pexelResult.next_page == "string"){
nextPage = pexelResult.next_page;
if(pexelResult.next_page_number){
currentPage = pexelResult.next_page_number;
}else{
currentPage++;
}
$(modalParent).find(".pexels-footer").css("display","block");
}else{
nextPage = "";
$(modalParent).find(".pexels-footer").css("display","none");
}
}
function downloadImage(node){
loaderImagesShow("Adding Image...");
var imageId = $(node).data('id');
var imageType = $(modalParent).find("#type-options-"+imageId).val();
if(imageType === ""){
swal({
title: "Error",
text: "You must select an image size",
type: "error",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
closeOnCancel: true
});
increaseSweetAlertZindex();
loaderImagesHide();
return true;
}else if($(modalParent).find("#option-"+imageType+"-"+imageId).prop("disabled") === "disabled" || typeof imageType == "object" ){
swal({
title: "Image Already Added",
text: "",
type: "",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
closeOnCancel: true
});
increaseSweetAlertZindex();
loaderImagesHide();
return true;
}
var imageFile = $(modalParent).find("#"+imageType+"-type-"+imageId).val();
params = {};
params['widget_name'] = 'Admin - Feature - Pexel Import';
params['request_type'] = "GET";
params['header_type'] = "json";
params['image'] = imageFile;
if($("#library-"+imageId).val() != "noun"){
params['image_name'] = $("#library-"+imageId).val().toLowerCase()+'-photo-'+imageId+'-'+imageType;
}else{
params['image_name'] = $("#library-"+imageId).val().toLowerCase()+'-'+$("#color-"+imageId).val().replace("#","")+'-photo-'+imageId+'-'+imageType;
}
params['sub_folder'] = $("#sub_folder_pexel").val();
params['image_id'] = imageId;
params['library'] = $("#library-"+imageId).val();
params['color'] = $("#color-"+imageId).val();
$.ajax({
url: "https://www.techdirectory.io/wapi/widget",
dataType: "json",
type: "GET",
data: params,
success: function(result){
if(result.status == "success"){
if($("#stock_library").val() == "unsplash"){
fetch($("#download-link-"+imageId).val());
}
var swalOpen = true;
increaseSweetAlertZindex();
$(modalParent).find("#option-"+imageType+"-"+imageId).prop("disabled","disabled");
var text = $("#option-"+imageType+"-"+imageId).text();
$(modalParent).find("#option-"+imageType+"-"+imageId).text("✓ Added - "+text);
if(currentPexelFroala && currentPexelFroala.pexelPlugin){
currentPexelFroala.pexelPlugin.insertImage(result.image_path_absolute);
}
if(currentPexelFroala === false){
$('#preview_img').attr('src', result.image_path_absolute);
$('#stock_temp_path').val(result.image_path_relative);
$('.emptyphoto').css("display","none");
$('#preview_img').css("display","block");
// Check if file input exists before fetching
const fileInput = document.querySelector('input[name="userfile[]"]');
if (fileInput) {
// Create a file object from the image URL and set it to the file input
fetch(result.image_path_absolute)
.then(response => response.blob())
.then(blob => {
const file = new File([blob], params['image_name'] + '.jpg', {type: 'image/jpeg'});
const dataTransfer = new DataTransfer();
dataTransfer.items.add(file);
fileInput.files = dataTransfer.files;
// Remove required attribute since we now have a file
fileInput.removeAttribute('required');
// Trigger change event for any listeners
$(fileInput).trigger('change');
});
}
$('#pexel-modal-holder').modal('hide');
$("#pexel_template").html("");
}
}else{//import image error
swal({
title: "Error",
text: result.message,
type: "error",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
closeOnCancel: true
});
increaseSweetAlertZindex();
}
loaderImagesHide();
}
});
}
function isnewSearch(pexelKeyword,pexelOrientation,stockLibrary,color){
if(currentKeyword != pexelKeyword || currentOrientation != pexelOrientation || currentStockLibrary != stockLibrary || currentColor != color){
return true;
}
return false;
}
function switchStockLibrary(node){
$(".pexel-search-button").prop("disabled","");
$("#pexel_keyword").prop("title","");
$("#"+$(node).val()+"-refeer").css('display','inline-block');
executeSearch(this);
}
function executeSearch(node){
var parent = $(node).closest('.pexel-modal');
modalParent = parent;
var pexelKeyword = $(parent).find("#pexel_keyword").val();
pexelKeyword = pexelKeyword.replace(/ /g, "+");
var pexelOrientation = $(parent).find("#pexel_orientantion").val();
var stockLibrary = $(parent).find("#stock_library").val();
var color = $(parent).find("#color-picker").val();
$(parent).find(".pexel-search-button").prop("disabled","");
$(parent).find("#pexel_keyword").prop("title","");
$(parent).find('.stock_image_refeer').css('display','none');
$(parent).find("#"+stockLibrary+"-refeer").css('display','inline-block');
if(pexelKeyword == ""){
swal({
title: "Field Required",
text: "The keyword field cannot be empty.",
type: "",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
cancelButtonText: "No, cancel",
closeOnConfirm: false,
closeOnCancel: true
});
increaseSweetAlertZindex();
return false;
}
if(isnewSearch(pexelKeyword,pexelOrientation,stockLibrary,color)){
currentKeyword = "";
currentOrientation = "";
currentPage = 1;
currentStockLibrary = "";
$(parent).find("#pexel-image-preview").html("");
}else if(!isnewSearch(pexelKeyword,pexelOrientation,stockLibrary,color) && nextPage === ""){
swal({
title: "No Results Found",
text: "Try searching with another keyword.",
type: "",
showCancelButton: false,
confirmButtonColor: "#3085d6",
cancelButtonColor: "#d33",
confirmButtonText: "Ok",
cancelButtonText: "No, cancel",
closeOnConfirm: false,
closeOnCancel: true
});
increaseSweetAlertZindex();
return false;
}
var isAdmin = false;
if($(parent).find("#is_admin").val() === "yes"){
isAdmin = true;
}
parameters = {
pexel_keyword: pexelKeyword,
pexel_orientantion: pexelOrientation,
pexel_page:currentPage,
stock_library:stockLibrary,
is_admin:isAdmin,
color:color
};
$(parent).find(".pexels-footer").css("display","none");
$(parent).find(".pexel-search-button").prop("disabled","disabled");
$(parent).find(".pexel-search-button").prop("title","Update Filters to Search Again");
pexelSearch(parameters);
}
$(document).ready(function(){
$("#color-picker").spectrum({
preferredFormat: "hex",
showInput: true,
showPalette: true,
clickoutFiresChange: true,
palette: [["#F1F1F1","#000000","#0E0E0E"],["#90B624","#98C143","#3CBBDE"],["#F0AD4E","#D9534F","#FFFFFF"]],
change: function(color) {
color = color.toRgbString();
$("#pexel-search-button").prop("disabled","");
},
hide: function(color) {
color = color.toRgbString();
},
move: function(color) {
color = color.toRgbString();
}
});
$(".pexel .sp-replacer").css("display","none");
$(modalParent).find("#pexel-load-more").click(function(){
if(nextPage != ""){
loaderImagesShow("Loading Images...");
parameters.pexel_page = currentPage;
pexelSearch(parameters);
}
});
$(modalParent).find("#pexel_orientantion").on("change",function(){
$("#pexel-search-button").prop("disabled","");
$("#pexel_keyword").prop("title","");
});
$(modalParent).find("#stock_library").on("change",function(){
if($(this).val() == "noun"){
$(".pexel .sp-replacer").css("display","inline-block");
$("#pexel_orientantion").css("display","none");
$("#help-text-noun").css("display","block");
}else{
$(".pexel .sp-replacer").css("display","none");
$("#pexel_orientantion").css("display","inline-block");
$("#help-text-noun").css("display","none");
}
executeSearch($("#pexel-search-button"));
});
$(modalParent).find("#pexel_keyword").on("keyup",function(){
$("#pexel-search-button").prop("disabled","");
$("#pexel_keyword").prop("title","");
});
});
</script> </div>
<div class="col-sm-8">
<span class="textarea textarea-about_me"><p style='margin-top:0in;margin-right:0in;margin-bottom:8.0pt;margin-left:0in;line-height:107%;font-size:15px;font-family:"Calibri",sans-serif;'>OCRV Center's Mission is to provide appreciative solutions to all in need of RV Collision Repair, Paint, Body, Interior, Upgrades & Solar at a single Commercial Collision Repair Facility in Southern California!</p><p style='margin-top:0in;margin-right:0in;margin-bottom:8.0pt;margin-left:0in;line-height:107%;font-size:15px;font-family:"Calibri",sans-serif;'><br></p><p style='margin-top:0in;margin-right:0in;margin-bottom:8.0pt;margin-left:0in;line-height:107%;font-size:15px;font-family:"Calibri",sans-serif;'>Phone:</p><p style='margin-top:0in;margin-right:0in;margin-bottom:8.0pt;margin-left:0in;line-height:107%;font-size:15px;font-family:"Calibri",sans-serif;'>714-598-2600</p></span> </div>
</div>
</div>
<div class="clearfix"></div></div> <div class="clearfix"></div> <style>
#map-canvas {
height: 200px;
width: 100%;
margin: 0px;
padding: 0px;
border-radius:5px;
overflow:hidden;
}
</style>
<script>
$(document).ready(function(){
var map,map2;
function initialize() {
var styles = [{"featureType":"landscape","stylers":[{"hue":"#FFBB00"},{"saturation":43.400000000000006},{"lightness":37.599999999999994},{"gamma":1}]},{"featureType":"road.highway","stylers":[{"hue":"#FFC200"},{"saturation":-61.8},{"lightness":45.599999999999994},{"gamma":1}]},{"featureType":"road.arterial","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":51.19999999999999},{"gamma":1}]},{"featureType":"road.local","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":52},{"gamma":1}]},{"featureType":"water","stylers":[{"hue":"#0078FF"},{"saturation":-13.200000000000003},{"lightness":2.4000000000000057},{"gamma":1}]},{"featureType":"poi","stylers":[{"hue":"#00FF6A"},{"saturation":-1.0989010989011234},{"lightness":11.200000000000017},{"gamma":1}]}];
var styledMap = new google.maps.StyledMapType(styles,{name: "Styled Map"});
var myLatlng = new google.maps.LatLng(parseFloat(33.87463660),parseFloat(-117.72881550));
var iconImage = '/images/pin_drop.png';
var mapOptions = {
zoom: 15,
center: myLatlng,
scrollwheel: false
}
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
map2 = new google.maps.Map(document.getElementById('map-canvas2'), mapOptions);
map.mapTypes.set('map_style', styledMap);
map.setMapTypeId('map_style');
map2.mapTypes.set('map_style', styledMap);
map2.setMapTypeId('map_style');
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
icon: iconImage
});
var marker2 = new google.maps.Marker({
position: myLatlng,
map: map2,
icon: iconImage
});
}
google.maps.event.addDomListener(window, 'load', initialize);
$('#locationModal').on('shown.bs.modal', function() {
var currentCenter = map2.getCenter();
google.maps.event.trigger(map2, "resize");
map2.setCenter(currentCenter);
});
});
</script>
<style type='text/css'> #map-canvas2 {
height: 100%;
margin-bottom: 5px;
width: 100%;
} </style><div class="modal fade" id="locationModal" tabindex="-1" role="dialog" aria-labelledby="locationModal" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Map View</h4>
</div>
<div class="modal-body" style="height: 350px;">
<div id="map-canvas2"></div>
</div>
<div class="modal-footer">
<a rel="nofollow" href="https://maps.google.com/maps?daddr=23281+La+Palma+Ave++Yorba+Linda+CA+92887+United+States" type="button" rel="nofollow" target="_blank" class="btn btn-primary member-directions">Get Directions <small><i class='fa fa-external-link' aria-hidden='true'></i></small></a>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div> </div>
</div>
</div> </div>
<div class="col-sm-12 col-md-3 sidebar-section"> <section id='id' class=''><style type='text/css'> .col-md-3 .social_share_buttons .col-xs-3, .col-lg-3 .social_share_buttons .col-xs-3 {
transform: scale(.96);
}
.social_share_buttons .col-xs-4 {
padding: 0 5px;
}
.fbMobilePopUp {
color: #fff;
background-color: #3b5998;
padding: 2px 9px;
font-size: 11px;
font-weight: 500;
border-radius: 7%;
position: relative;
}
.fbMobilePopUp:hover {
color: #fff !important;
background-color: #354f87
}
.social_share_buttons button, .social_share_buttons .fb-share-button, .social_share_buttons span, .social_share_buttons a, .social_share_buttons iframe, .social_share_buttons .twitter-share-button, .social_share_buttons .IN-widget, .social_share_buttons .IN-bf195e49-eb86-4856-9b9f-1c8710d456be-1G9ISYhSF8XoOmdcl0yKDu {
width: 100%!important;
display: block!important;
border-radius: 100px !important;
vertical-align:top!important;
margin:0 auto!important;
white-space:nowrap!important;
color: #fff!important;
} </style><aside>
<div class="module social_share_buttons">
<h2 class="nomargin">
<i class="fa fa-share-square-o fa-fw"></i> Share This Page
</h2>
<hr>
<div class="row hpad">
<div class="col-xs-4 col-sm-4 col-md-6 col-lg-4 text-center bmargin facebook_social_share_button social_share_button">
<div class="fb-share-button" style="display:none;">
<a href="#" title="Facebook Share Button" class="fbMobilePopUp" onclick='showFBShare();'>
<i class="fa fa-facebook "></i> Share
</a>
</div>
<i class="fa fa-circle-o-notch fa-spin spin_remove_2"></i>
</div>
<div class="col-xs-4 col-sm-4 col-md-6 col-lg-4 text-center bmargin twitter_social_share_button social_share_button">
<a title="Twitter Share Button" href="//twitter.com/share" class="twitter-share-button" data-count="vertical"></a>
<i class="fa fa-circle-o-notch fa-spin spin_remove_2"></i>
</div>
<div class="col-xs-4 col-sm-4 col-md-6 col-lg-4 text-center bmargin linkedin_social_share_button social_share_button">
<script type="IN/Share" data-counter="top" defer></script>
<i class="fa fa-circle-o-notch fa-spin spin_remove_2"></i>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</aside><style type='text/css'> .related-searches-ul {
max-height: 200px;
overflow-y: auto;
}
.related-searches-ul li > a {
margin:1px 0 2px;
display:inline-block;
} </style> <div class="module related-members-links">
<h3 class="nomargin">
Related Searches
</h3>
<hr>
<ul class="list-unstyled font-sm line-height-xl related-searches-ul">
<li class="xs-bmargin"><a href="https://www.techdirectory.io/automotive" title="Automotive">All Automotive</a>
<br/>
<li class='xs-bmargin'><a href='https://www.techdirectory.io/united-states/california/yorba-linda/automotive' title='Automotive in Yorba Linda'>Automotive in Yorba Linda</a><br/><li class='xs-bmargin'><a href='https://www.techdirectory.io/united-states/california/automotive' title='Automotive in California'>Automotive in California</a><br/><li class='xs-bmargin'><a href='https://www.techdirectory.io/united-states/automotive' title='Automotive in US'>Automotive in United States</a><br/> </ul>
</div>
<!--
IMPORTANT: This widget contains real Adsense code as a sample to show how this widget functions. Please replace the current Adsense code below with your own code in order to generate revenue from this ad space.
-->
<a href="https://techbullion.com/submit/" target="_blank"><img src="https://techannouncer.com/wp-content/uploads/2025/03/Digital-Marketing.png" alt="Submit" /></a> <div class="clearfix clearfix-lg"></div>
<!--
IMPORTANT: This widget contains real Adsense code as a sample to show how this widget functions. Please replace the current Adsense code below with your own code in order to generate revenue from this ad space.
-->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- TechDirectory Vertical Responsive Ads -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4909624562623679"
data-ad-slot="6787643391"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> <div class="clearfix clearfix-lg"></div>
<!-- Structured Data Markup -->
<script type="application/ld+json">
{
"@context": "http:\/\/schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "\/"
},
"headline": "",
"name": "",
"author": {
"@type": "Organization",
"url": "\/united-states\/yorba-linda\/automotive\/ocrv-paint-service",
"name": "OCRV Paint & Service"
},
"datePublished": "1970-01-01T00:00:00+00:00",
"dateModified": "1970-01-01T00:00:00+00:00",
"image": "\/images\/image-placeholder.jpg",
"articleSection": null,
"articleBody": "\"\"",
"url": "\/",
"publisher": {
"@type": "Organization",
"name": "TechDirectory",
"logo": {
"@type": "ImageObject",
"url": "\/images\/TechDirectory-Logo.png"
}
},
"comment": []
}</script></section> </div>
</div>
<div class="clearfix"></div>
<div class="clearfix"></div>
</div>
</div>
<!-- End Content -->
<div class="clearfix footer-clear-element clearfix-lg"></div>
<!--
IMPORTANT: This widget contains real Adsense code as a sample to show how this widget functions. Please replace the current Adsense code below with your own code in order to generate revenue from this ad space.
-->
<div class="clearfix"></div>
<div class="content-container banner-ad-unit footer-banner-container">
<div class="container text-center banner-ad-unit footer-banner-ad">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4909624562623679"
crossorigin="anonymous"></script>
<!-- TechDirectory Horizontal Ad -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4909624562623679"
data-ad-slot="4256563416"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> <div class="clearfix clearfix-lg"></div>
</div>
</div>
<div class="clearfix"></div>
<style type='text/css'> .newsletter_row input[type="email"] {
float: none;
margin-left: auto;
margin-right: auto;
width: 62% !important;
} </style><div class="content-container newsletter_row">
<div class="container text-center vpad">
<div class="col-md-12 xs-nopad">
<a href="#" data-toggle="modal" data-target="#newsletter_subscribe_modal" class="btn btn-lg newsletter_footer_button col-xs-12 col-md-6 nofloat fpad bold">
<div class="col-sm-6 nopad newsletter_button_left">
Join Our Newsletter
</div>
<div class="col-sm-6 nopad newsletter_button_right">
Click to Subscribe
<i class='fa fa-chevron-circle-right fa-fw'></i>
</div>
<div class="clearfix"></div>
</a>
</div>
</div>
</div><div class="footer">
<div class="container">
<div class="row">
<ul class="footer_menu sm-text-center">
<li class='col-md-5'><span id='link157' class='head'> About</span><ul><li class=''><span id='link158' class='content'> TechDirectory.io is an Online Directory for Innovative Technologies. Search for Tech Businesses, list your Tech Business.</span></li></ul></li><li class='col-md-2 col-md-offset-1'><span id='link159' class='head'> Website</span><ul><li class=''><a href='/about' id='link160'>How It Works</a></li><li class=''><a href='/join' id='link161'>List Your </a></li></ul></li><li class='col-md-2'><span id='link162' class='head'> Search</span><ul><li class=''><a href='/categories' id='link163'>Browse Categories</a></li><li class=''><a href='/locations' id='link164'>Browse Locations</a></li></ul></li><li class='col-md-2'><span id='link165' class='head'> Support</span><ul><li class=''><a href='/account/upgrade' id='link166'>Account Upgrade</a></li><li class=''><a href='/about/contact' id='link167'>Contact Us</a></li></ul></li><li class='col-md-5 vpad vmargin'><span id='link211'> <div itemscope itemtype="http://schema.org/WebSite">
<meta itemprop="name" content="TechDirectory" id="sitename">
<link href="//www.techdirectory.io" itemprop="url" id="sitelink">
<div class="list-social-links">
<a class="network-icon contact" href="/about/contact" title="Contact Us TechDirectory">
<i class="fa fa-envelope"></i>
</a>
<a class="network-icon facebook" itemprop="sameAs" href="https://www.facebook.com/TechDirectory" target="_blank" title="TechDirectory Facebook">
<i class="fa fa-facebook"></i>
</a>
<a class="network-icon image-icon twitter" itemprop="sameAs" href="https://twitter.com/TechDirectory" target="_blank" title="TechDirectory X">
<img alt="TechDirectory X" loading="lazy" class="talign img-circle" src="/images/twitterX.png" width="40" height="40">
</a>
<a class="network-icon youtube" itemprop="sameAs" href="https://www.youtube.com/@techdirectoryio" target="_blank" title="TechDirectory YouTube">
<i class="fa fa-youtube"></i>
</a>
<div class="clearfix"></div>
</div>
</div></span></li><li class='col-md-6 col-md-offset-1 vpad vmargin'><a href='/get-listed' id='link212' class='btn btn_footer_get_listed btn-lg btn-block bold center sm-block' style='white-space:normal'>Technology Businesses - List Your Business Today »</a></li><li class='col-md-12'><a href='https://www.techbullion.com/category/technology/' id='link226'> Technology News</a></li> </ul>
</div>
<div class="col-md-12 fpad fmargin small text-center footer_terms">
© 2025 <a title="TechDirectory" href="/">
TechDirectory </a>
All Rights Reserved.
<div class="inline-block">
<a title="Terms of Use - TechDirectory" href="/about/terms">
Terms of Use
</a>
|
<a title="Privacy Policy - TechDirectory" href="/about/privacy">
Privacy Policy
</a>
</div>
</div>
</div>
</div><style type='text/css'> .scrollup {
border-radius: 3px;
width: 40px;
height: 40px;
opacity: 0.4;
position: fixed;
bottom: 30px;
right: 30px;
display: none;
background: rgba(119, 119, 119, 0.8);
z-index: 1000000;
}
.scrollup i {
font-size: 36px;
color: white;
position: relative;
top: 0px;
left: 10px;
} </style> <div class="myModal modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"
data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body nohpad nobpad">
<button type="button" style="z-index:10;position:absolute;right:15px;" class="close hmargin"
data-dismiss="modal">×
</button>
<style>
.member-login-container:not(.modal .module) {
width: 555px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
margin-bottom:0;
background-color: rgb(255, 255, 255)!important;
border-color: rgb(247, 247, 247)!important;
color: rgb(41, 41, 41)!important;
}
.login-register-tabs, .login-register-content {
width: 555px!important;
max-width: 100%;
margin-left: auto!important;
margin-right: auto!important;
background-color: rgb(247, 247, 247);
}
.login-register-content {
background: transparent;
padding: 0;
border: none;
}
.login-register-content h2, .login-register-content h2+hr, .login-register-content .account-menu-title {
display: none!important;
}
.express_login_create_account_prefix hr {
margin: 15px 0 10px;
}
.modal-content #containerFBLogin, .modal-content #containerGoogleLogin {
margin:15px 0;
}
/* CSS When Login Form and Express Registration Rendered in Sidebar */
.col-md-3 .bd-chat-well-container,.col-md-4 .bd-chat-well-container {
padding: 15px 10px;
}
.col-md-3 .bd-chat-center-text,.col-md-4 .bd-chat-center-text {
margin: 0;
font-size: 20px;
padding: 0 15px;
}
.col-md-3 .member-login-page-container .login-register-tabs *, .col-md-4 .member-login-page-container .login-register-tabs * {
font-size: 12px;
line-height: 1.2em;
vertical-align: bottom;
}
.col-md-3 .member-login-page-container .login-register-tabs a, .col-md-4 .member-login-page-container .login-register-tabs a {
padding: 5px !important;
height: 50px;
vertical-align: middle;
display: table-cell !important;
width: 1%;
}
.col-md-3 .member-login-page-container .login-register-content, .col-md-4 .member-login-page-container .login-register-content {
padding: 0;
}
.col-md-3 .member-login-container, .col-md-4 .member-login-container {
padding: 15px !important;
font-size: 13px;
}
.col-md-3 .member-login-page-container .input-lg, .col-md-4 .member-login-page-container .input-lg {
height: 34px;
padding: 6px 12px;
font-size: 14px;
}
.col-md-3 .member-login-page-container .security_question_label, .col-md-4 .member-login-page-container .security_question_label {
transform: scale(.85);
margin: -1.15em -1.15em 0;
}
.col-md-3 #containerFBLogin, .col-md-4 #containerFBLogin, .col-md-3 #containerGoogleLogin, .col-md-4 #containerGoogleLogin, .col-md-3 .login-cta-buttons li, .col-md-4 .login-cta-buttons li {
width: 100%;
display: block;
margin-top:5px;
}
.col-md-3 .login-cta-buttons li, .col-md-4 .login-cta-buttons li {
padding:0
}
.col-md-3 .login-cta-buttons ul.nav, .col-md-4 .login-cta-buttons ul.nav {
margin-top: -10px;
}
.col-md-3 #googleAction, .col-md-3 #facebookAction, .col-md-4 #googleAction, .col-md-4 #facebookAction {
padding: 0;
min-height: 0;
font-size: 14px;
margin: 0;
}
.col-md-3 #googleAction img, .col-md-3 #facebookAction img, .col-md-4 #googleAction img, .col-md-4 #facebookAction img {
height: 36px !important;
margin-right: 5px;
position: relative!important;
display: inline-block;
}
@media only screen and (max-width: 767px) {
.col-md-3 .member-login-page-container .login-register-tabs a, .col-md-4 .member-login-page-container .login-register-tabs a {
display: block !important;
width: 100%;
line-height: 40px;
}
#containerGoogleLogin {
text-align: center;
margin-top: 10px;
}
#containerGoogleLogin #gBtn {
display: inline-block;
width: 202px;
}
}
</style>
<div class="row member-login-page-container">
<div class="fpad-lg novpad">
<div class="module fpad-xl member-login-container">
<style type="text/css">label span.required { color: #B94A48; }span.help-inline, span.help-block {font-size: .9em; }</style><form action="/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page" id="member_login_66" method="post" labelwidth="100" labelpaddingtop="0.5em" enctype="multipart/form-data" form_action_type="redirect" form_action_div="" return_data_type="json" name="member_login_66" class=" "><input type="hidden" name="sized" value="0" id="member_login_66-element-0"/><input type="hidden" name="mysql_real_escape_string_runned" value="1" id="member_login_66-element-1"/><input type="hidden" name="userid" value="172282" id="member_login_66-element-2"/><input type="hidden" name="form" value="myform" id="member_login_66-element-3"/><input type="hidden" name="formname" value="member_login" id="member_login_66-element-4"/><input type="hidden" name="dowiz" value="1" id="member_login_66-element-5"/><input type="hidden" name="save" value="1" id="member_login_66-element-6"/><input type="hidden" name="url_origin_pars" value="/united-states/yorba-linda/automotive/ocrv-paint-service" id="member_login_66-element-7"/><input type="hidden" name="action" autocomplete="off" value="login" id="member_login_66-element-8"/><h2>Member Login</h2><hr><div class="form-group"><label class="vertical-label bd-email" for="member_login_66-element-10">Email Address</label><div class="input-prepend input-append"><span class="add-on"><div class="input-group input-group-lg"><span class="input-group-addon"><i class="fa fa-envelope"></i></span></span><input type="email" name="email" placeholder="name@yoursite.com" autocomplete="off" value class="form-control input-lg" id="member_login_66-element-10"/><span class="add-on"></div></span></div></div><div class="form-group"><label class="vertical-label bd-password" for="member_login_66-element-11">Password</label>
<style>
#togglePassword {
background: none;
border: none;
cursor: pointer;
font-weight: bold;
font-size: .85em;
position: absolute;
right: 5px;
top: 0;
}
</style><button type="button" tabindex="-1" id="togglePassword" onclick="showPassword(this);"> <i class="fa fa-lock" aria-hidden="true"></i></button>
<script>
function showPassword(node){
const parent = node.closest('.form-group');
const passwordField = parent.querySelector(`input[type='password'], input[type='text']`);
const isPassword = passwordField.getAttribute('type') === 'password';
passwordField.setAttribute('type', isPassword ? 'text' : 'password');
const iconHTML = isPassword ? `<i class="fa fa-unlock" aria-hidden="true"></i>` : `<i class="fa fa-lock" aria-hidden="true"></i>`;
node.innerHTML = iconHTML;
}
</script><div class="input-prepend input-append"><span class="add-on"><div class="input-group input-group-lg"><span class="input-group-addon"><i class="fa fa-key"></i></span></span><input type="password" name="pass" placeholder="Enter Password" autocomplete="off" value class="form-control input-lg" id="member_login_66-element-11"/><span class="add-on"> </div></span></div></div><p class="help-block bpad bmargin small" style="margin-top:-10px;">Forgot your password? <a href="/login/retrieval">Click Here</a></p><div class="form-actions"><input type="submit" value="Login Now" name class="btn btn-primary btn-lg btn-block " id="member_login_66-element-13"/></div><hr>
<div class="col-md-6">
<a class="btn btn-danger btn-block sm-bmargin" href="/checkout/5">Not a Registered User?<span class="inline-block">Create a Free User Account »</span></a>
</div>
<div class="col-md-6">
<a href="/join" class="btn btn-success btn-block">Are You a Technology Business?<span class="inline-block">List Your Business Now »</span></a>
</div>
<div class="clearfix"></div></form><script type="text/javascript">jQuery(document).ready(function() { jQuery("#member_login_66").bind("submit", function() {
});}); </script> <div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/limonte-sweetalert2/6.11.2/sweetalert2.min.css">
<script src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/limonte-sweetalert2/6.11.2/sweetalert2.min.js"></script>
<script>
function clearContent(thisObj){
var size;
if(thisObj.hasClass('input-sm') || thisObj.parents('.input-group').hasClass('input-group-sm')){
size = "small";
} else if (thisObj.hasClass('input-lg') || thisObj.parents('.input-group').hasClass('large-autosuggest')){
size = "large";
} else {
size = "medium";
}
if(!thisObj.parent().hasClass('input_wrapper')){
if(thisObj.parent().hasClass('input-group-sm')){
thisObj.wrap('<span class="input-group-sm input_wrapper"></span>');
} else if (thisObj.parent().hasClass('input-group-lg')){
thisObj.wrap('<span class="input-group-lg input_wrapper"></span>');
} else {
thisObj.wrap('<span class="input_wrapper"></span>');
}
}
if(thisObj.val() != ""){
if(thisObj.hasClass('googleSuggest')){
thisObj.parent().find('.fill_location').remove();
}
if (!thisObj.parent().find('.clear_content').length){
thisObj.parent().append(`<span class="clear_content ${size}"><i class="fa fa-times-circle" aria-hidden="true"></i></span>`);
if (thisObj.hasClass("tt-input")) {
thisObj.focus();
}
}
}
if (thisObj.hasClass('googleSuggest') && thisObj.val().length == 0) {
thisObj.parent().append(`<span class="fill_location ${size}"><i class="fa fa-crosshairs" title="Use Current Location" aria-hidden="true"></i></span>`);
}
if (thisObj.val() == "" && thisObj.parent().find('.clear_content').length){
thisObj.parent().find('.clear_content').remove();
}
}
$(document).on('click', '.drp-buttons .applyBtn', function(){
clearContent($(".dateRange input"));
});
$('.sm-autosuggest input, .googleSuggest, .large-autosuggest input, .md-autosuggest input, .normal-autosuggest input, .google-writen-location, .dateRange input').keyup(function(){
clearContent($(this));
});
$(document).ready(function(){
$('.sm-autosuggest input, input.googleSuggest, .large-autosuggest input, .md-autosuggest input, .normal-autosuggest input, .google-writen-location, .dateRange input').each(function(){
clearContent($(this));
})
})
$(document).on('click', '.clear_content', function(){
$(this).parent().find('input').val('');
//tt-input its a class for typeahead auto-suggest
if ($(this).parent().find('input').hasClass("tt-input")) {
$(this).parent().find('input').typeahead('val','');
}
clearContent($(this).parent().find('input'));
$(this).remove();
});
$(window).on('load', function () {
setTimeout(function() {
// add missing href attribute to multi-category options in search modules
$('.bootstrap-select.show-tick .dropdown-menu a').attr('href', '#');
}, 2000);
});
</script>
<a href="#" class="scrollup" title="scrollup">
<i class="fa fa-caret-up" aria-hidden="true"></i>
</a>
<script>
$(document).ready(function () {
if ($('.navbar-default').length > 0) {
var menu = $('.navbar-default');
var origOffsetY = menu.offset().top;
function scroll() {
if ($(window).scrollTop() > origOffsetY) {
$('.navbar-default').addClass('navbar-fixed-top');
$('.navbar-default').addClass('transparent_menu');
} else {
$('.navbar-default').removeClass('navbar-fixed-top');
$('.navbar-default').removeClass('transparent_menu');
}
}
document.onscroll = scroll;
};
});
$(document).ready(function(){
$('.progress .progress-bar').progressbar({
display_text: 'fill'
});
$(window).scroll(function(){
if ($(this).scrollTop() > 600) {
$('.scrollup').fadeIn();
} else {
$('.scrollup').fadeOut();
}
});
$('.scrollup').click(function(){
$("html, body").animate({
scrollTop: 0
}, 600);
return false;
});
$('#cropButton').click(function(){
var iframe = $("#cropiFrame");
iframe.attr("src", iframe.data("src"));
});
});
</script>
<script>
$(document).ready(function() {
// Hide the first H2 title of each .table-view.list-inline section if it is the only element inside its parent div, along with a div.clearfix, meaning "Company Details" is empty
$('.table-view.list-inline').each(function() {
var $parentDiv = $(this);
// Check if the parent div contains exactly two children: div.clearfix and h2.tmargin.tpad.xs-center-block.clearfix
if ($parentDiv.children('div.clearfix').length === 1 && $parentDiv.children('h2.tmargin.tpad.xs-center-block.clearfix').length === 1 && $parentDiv.children().length === 2) {
$parentDiv.children('h2.tmargin.tpad.xs-center-block.clearfix').attr('style', 'display: none !important;');
}
});
});
</script><script>
$('.view_phone_number').click(function(event){
event.preventDefault();
$(this).hide();
$('.view_phone_number_header').hide();
$('.phone_number_header').css("display","block");
$('.phone_number').css("display","block");
})
</script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/codemirror.min.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/codemirror.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.3.0/mode/xml/xml.min.js"></script>
<script type="text/javascript" src="/directory/cdn/assets/bootstrap/js/froala_editor.pkgd.min.js"></script>
<script>
var max_text_editor_size = '10';
if (!max_text_editor_size) {
max_text_editor_size = 10;
}
var imageMaxSizeSetting = 1024 * 1024 * Number(max_text_editor_size);
var imageMaxSizeSetting = 1024 * 1024 * max_text_editor_size;
var widgetName = "Bootstrap Theme - Form - Froala Editor Actions";
var chatFroala;
var chatFileSizeBase = '10';
var chatFileSize = chatFileSizeBase * 1000000;
var dragCallback = function (e) {
e.dataTransfer.setData('Text', this.id);
};
/****** PEXEL VARIABLES START ********/
var pexelExecuted = false;
var currentHideEvent;
var currentPexelFroala;
var pexelModalHtml = "";
var nextPage = "";
var parameters = {};
var currentPage = 1;
var currentKeyword = "";
var currentSize = "";
var currentOrientation = "";
var modalParent = {};
var replaceImage = null;
var currentSelection = {};
/****** PEXEL VARIABLES START ********/
/****** PEXEL DEFINITION START ********/
if(pexelModalHtml == ""){
pexelModalHtml = $("#pexel_template").html();
}
$.extend(FroalaEditor.POPUP_TEMPLATES, {
"pexel.insert": "[_BUTTONS_][_CUSTOM_LAYER_]"
});
$.extend(FroalaEditor.DEFAULTS, {
pexelButtons: ["pexelClose"]
});
// The custom popup is defined inside a plugin (new or existing).
FroalaEditor.PLUGINS.pexelPlugin = function(editor) {
// Create custom popup.
function initPopup() {
// Popup buttons.
var popup_buttons = ``;
// Create the list of buttons.
if (editor.opts.pexelButtons.length > 0) {
popup_buttons += `<div class="fr-buttons fr-tabs el-popup">`;
popup_buttons += `<div class="alert alert_info size-chart"> <i class="fa fa-info-circle" style="margin: 0;"></i> <b>Image Sizes:</b> <span>Large: 1200 pixels</span> <span>Medium: 650 pixels</span> <span>Small: 350 pixels</span></div>`;
popup_buttons += editor.button.buildList(editor.opts.pexelButtons);
popup_buttons += `</div><div class="clearx"></div>`;
}
var template = {
buttons: popup_buttons,
custom_layer: `<div class="pexel-modal"></div>`
};
// Create popup.
var $popup = editor.popups.create("pexel.insert", template);
let popup = $popup[0];
currentPexelFroala = editor;
return $popup;
}
// Show the popup
function showPopup() {
// Get the popup object defined above.
var $popup = editor.popups.get("pexel.insert");
// To improve performance it is best to create the popup when it is first needed
// and not when the editor is initialized.
if (!$popup) $popup = initPopup();
// This will trigger the refresh event assigned to the popup.
// Get the buttons object in order to place the popup relative to it.
var $btn = editor.$tb.find(`.fr-command[data-cmd="insertImage"]`);
editor.popups.show("pexel.insert", "25%", "50%", $btn.outerHeight());
}
// Hide the custom popup.
function hidePopup() {
$("body").css("overflow","");
$(".sweet-overlay").css("z-index","1000");
$(".show-sweet-alert").css("z-index","2000");
$(".swal2-container").css(`z-index`,`2000`);
pexelExecuted = false;
editor.popups.hide = currentHideEvent;
editor.popups.hide("pexel.insert");
}
function insertImage(imagePath){
hidePopup();
var currentImageDownloaded = `<img class="fr-fil fr-fic fr-dib fr-draggable" '.$imageWidthAttribute.' src="` + imagePath + `" data-url=" `+ imagePath +` " loading="lazy">`;
if($(replaceImage).length > 0){
$(replaceImage).attr("src",imagePath);
replaceImage = null;
}else{
editor.selection.restore(currentSelection);
editor.selection.get();
editor.html.insert(currentImageDownloaded);
}
}
// Methods visible outside the plugin.
return {
showPopup: showPopup,
hidePopup: hidePopup,
insertImage: insertImage
}
}
// Define your custom image insert plugin
FroalaEditor.DefineIcon("pexelInsert", { CLASS: "pexel-icon" }); // Define an icon for your custom button (you can use a different icon).
FroalaEditor.RegisterCommand("pexelInsert", {
title: "Insert Pexel Image",
focus: false,
undo: false,
refreshAfterCallback: false,
type: "button",
callback: function () {
if(pexelExecuted === false){
this.pexelPlugin.showPopup();
}
},
});
FroalaEditor.DefineIcon("pexelClose", { NAME: "close", SVG_KEY: "close" });
FroalaEditor.RegisterCommand("pexelClose", {
title: "Close",
undo: false,
focus: false,
callback: function() {
this.pexelPlugin.hidePopup();
}
});
/****** PEXEL DEFINITION END ********/
$(document).ready(function () {
// Adding custom linkOpen command to force target blank on all openLink clicks
FroalaEditor.DefineIcon('linkOpen', {
NAME: 'external-link',
FA5NAME: 'external-link-alt',
SVG_KEY: 'openLink'
});
FroalaEditor.RegisterCommand('linkOpen', {
title: 'Open Link',
undo: false,
refresh: function refresh($btn) {
var link = this.link.get();
if (link) {
$btn.removeClass('fr-hidden');
} else {
$btn.addClass('fr-hidden');
}
},
callback: function callback() {
var link = this.link.get();
if (link) {
this.o_win.open(link.href, '_blank', 'noopener');
this.popups.hide('link.edit');
}
},
plugin: 'link'
});
// Code for Additional Styles Dropdown
FroalaEditor.DefineIcon('adv_styles', {NAME: 'magic', SVG_KEY: 'fullscreen'});
FroalaEditor.RegisterCommand('adv_styles', {
title: 'Advanced Styles',
type: 'dropdown',
focus: false,
undo: false,
refreshAfterCallback: true,
options: {
'btn-block': 'Toggle Full Width',
'btn-sm': 'Small Button',
'btn-rg': 'Normal Button',
'btn-lg': 'Large Button',
},
callback: function (cmd, val) {
this.link.applyStyle(val, true);
var n = this.$;
var thisButtonGet = this.link.get();
var thisButton = n(thisButtonGet);
if(val == "btn-sm"){
thisButton.removeClass('btn-lg');
thisButton.removeClass('btn-rg');
}
if(val == "btn-lg"){
thisButton.removeClass('btn-sm');
thisButton.removeClass('btn-rg');
}
if(val== "btn-rg"){
thisButton.removeClass('btn-sm');
thisButton.removeClass('btn-lg');
}
},
// Callback on refresh.
refresh: function ($btn) {
},
// Callback on dropdown show.
refreshOnShow: function ($btn, $dropdown) {
var n = this.$;
var thisButtonGet = this.link.get();
var thisButton = n(thisButtonGet);
$dropdown.find('.fr-command').each(function(){
var thisDropdownValue = n(this).data("param1"),
testHasClass = thisButton.hasClass(thisDropdownValue);
n(this).toggleClass("fr-active", testHasClass).attr("aria-selected", testHasClass);
})
}
});
FroalaEditor.DefineIcon('contentBlocksPopup', {NAME: 'info', SVG_KEY: 'fullscreen'});
new FroalaEditor('.froala', {
events: {
'table.inserted': function (table) {
$('table').addClass('froala-table');
}
},
fontSize: ['10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44'],
htmlAllowedAttrs: ['.*'],
htmlAllowedTags: ['a', 'b', 'big', 'blockquote', 'br', 'caption', 'code', 'col', 'colgroup', 'div', 'em', 'embed', 'figure', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'iframe', 'img', 'li', 'ol', 'p', 'picture', 'pre', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'thread', 'tr', 'tt', 'u', 'ul', 'video', 's', 'a'],
htmlRemoveTags: ['script', 'style', 'base'],
linkAutoPrefix: '',
tableInsertMaxSize: 6,
imageDefaultWidth:0,
linkInsertButtons: ['linkBack'],
language: 'en',
placeholderText: `Type Something`,
toolbarInline: false,
heightMin: '350',
height: '350',
attribution: false,
linkAttributes: {
title: 'Title'
},
linkStyles: {
'btn btn-primary': 'Button Primary',
'btn btn-info': 'Button Info',
'btn btn-success': 'Button Success',
'btn btn-warning': 'Button Warning',
'btn btn-danger': 'Button Danger',
'btn btn-default': 'Button Default'
},
imageMove: false,
videoMove: false,
linkMultipleStyles: false,
quickInsertEnabled: false,
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
imageEditButtons: ['imageAlign', 'imageRemove', 'imageCaption', '|', 'imageLink', 'linkOpen','linkEdit', 'linkRemove', '-', 'imageAlt', 'imageSize', 'imageStyle'],
imageStyles: {
'square': 'Square',
'img-rounded': 'Rounded',
'img-circle': 'Circle'
},
imageMultipleStyles: false,
codeMirrorOptions: {
indentWithTabs: true,
lineNumbers: true,
lineWrapping: true,
mode: 'text/html',
tabMode: 'indent',
tabSize: 4
},
htmlAllowedEmptyTags: ['textarea', 'a', 'iframe', 'object', 'video', 'style', 'script', '.fa', '.fr-emoticon', '.fr-inner', 'path', 'line', 'hr','i'],
linkEditButtons: ['linkOpen','linkStyle', 'linkEdit', 'linkRemove'],
videoInsertButtons: ['videoBack', '|', 'videoByURL', 'videoEmbed'],
videoEditButtons: ['videoReplace', 'videoRemove', '|', 'videoDisplay', 'videoAlign', 'videoSize'],
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
buttons: ['fullscreen', 'undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'clearFormatting', 'lineHeight', 'textColor', 'backgroundColor', '|', 'align', 'formatOL', 'formatUL', 'insertTable', 'outdent', 'indent', 'insertHR', '|' , 'insertLink', 'html'],
tableEditButtons: ['tableColumns','tableRows', 'tableCells', 'tableCellBackground','tableCellVerticalAlign', 'tableCellHorizontalAlign','tableRemove']
});
//default froala class backwards compatibility limited features
new FroalaEditor('.froala-editor', {
events: {
'table.inserted': function (table) {
$('table').addClass('froala-table');
}
},
fontSize: ['10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44'],
linkAutoPrefix: '',
tableInsertMaxSize: 6,
linkInsertButtons: ['linkBack'],
htmlAllowedAttrs: ['.*'],
htmlAllowedTags: ['a', 'b', 'big', 'blockquote', 'br', 'caption', 'code', 'col', 'colgroup', 'div', 'em', 'embed', 'figure', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'iframe', 'img', 'li', 'ol', 'p', 'picture', 'pre', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'thread', 'tr', 'tt', 'u', 'ul', 'video', 's', 'a'],
htmlRemoveTags: ['script', 'style', 'base'],
language: 'en',
placeholderText: `Type Something`,
height: '350',
heightMax: '355',
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
imageEditButtons: ['imageAlign', 'imageRemove', 'imageCaption', '|', 'imageLink', 'linkOpen','linkEdit', 'linkRemove', '-', 'imageAlt', 'imageSize', 'imageStyle'],
imageStyles: {
'square': 'Square',
'img-rounded': 'Rounded',
'img-circle': 'Circle'
},
htmlAllowedEmptyTags: ['textarea', 'a', 'iframe', 'object', 'video', 'style', 'script', '.fa', '.fr-emoticon', '.fr-inner', 'path', 'line', 'hr','i'],
imageMultipleStyles: false,
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
lineBreakerTags: ['p', 'hr', 'ul', 'ol'],
attribution: false,
toolbarSticky: false,
linkAttributes: {
title: 'Title'
},
paragraphFormat: {
N: 'Normal',
H1: 'Heading 1',
H2: 'Heading 2',
H3: 'Heading 3',
H4: 'Heading 4'
},
imagePaste: false,
linkStyles: {
'btn btn-primary': 'Button Primary',
'btn btn-info': 'Button Info',
'btn btn-success': 'Button Success',
'btn btn-warning': 'Button Warning',
'btn btn-danger': 'Button Danger',
'btn btn-default': 'Button Default'
},
linkEditButtons: ['linkOpen','linkStyle', 'linkEdit', 'linkRemove'],
imageMove: false,
videoMove: false,
linkMultipleStyles: false,
quickInsertEnabled: false,
toolbarButtons: ['undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'lineHeight', 'textColor', 'backgroundColor', 'clearFormatting', '|', 'align', 'formatOL', 'formatUL', 'insertHR', '|' , 'insertLink' ],
toolbarButtonsMD: ['undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'lineHeight', 'textColor', 'backgroundColor', 'clearFormatting', '|', 'align', 'formatOL', 'formatUL', 'insertHR', '|' , 'insertLink' ],
toolbarButtonsSM: ['undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'lineHeight', 'textColor', 'backgroundColor', 'clearFormatting', '|', 'align', 'formatOL', 'formatUL', 'insertHR', '|' , 'insertLink' ],
toolbarButtonsXS: ['undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'lineHeight', 'textColor', 'backgroundColor', 'clearFormatting', '|', 'align', 'formatOL', 'formatUL', 'insertHR', '|' , , 'insertLink' ],
tableEditButtons: ['tableColumns','tableRows', 'tableCells', 'tableCellBackground','tableCellVerticalAlign', 'tableCellHorizontalAlign','tableRemove'],
imageUpload: false,
events: {
'drop': function (dropEvent) {
return false;
},
'contentChanged': function () {
const item = $('.froala-editor');
if ($(item).attr("required")) {
var form_name = $(item).closest("form").attr("id");
var froala_field_name=$(item).attr("name");
$('#'+form_name).formValidation('revalidateField', froala_field_name);
}
}
}
});
/// If the froala editor is required, make it validate
$(window).on('load', function() {
$('textarea[class*="froala"]').each(function(index,item) {
if ($(item).attr("required")) {
$(item).attr("style","display:block;width:0px;height:0px;border:0px;margin-top:-2px;visibility:hidden");
}
});
})
//froala editor code for the admin blog features, gives the functionality of upload images, browse the /images folder and add videos
window['froala-editor-admin'] = new FroalaEditor('.froala-editor-admin', {
fontSize: ['10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44'],
fontFamily: { "Open Sans" : "Open Sans","PT Sans" : "PT Sans",'fontsSeparator2': '----',"Arial" : "Arial","Courier" : "Courier","Georgia" : "Georgia","Times New Roman" : "Times New Roman","Trebuchet MS" : "Trebuchet MS","Verdana" : "Verdana"},
fontFamilySelection: true,
linkAutoPrefix: '',
imageDefaultWidth:0,
tableInsertMaxSize: 6,
linkInsertButtons: ['linkBack'],
htmlAllowedAttrs: ['.*'],
htmlAllowedTags: ['a', 'b', 'big', 'blockquote', 'br', 'caption', 'code', 'col', 'colgroup', 'div', 'em', 'embed', 'figure', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'iframe', 'img', 'li', 'ol', 'p', 'picture', 'pre', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'thread', 'tr', 'tt', 'u', 'ul', 'video', 's', 'a'],
htmlRemoveTags: ['script', 'style', 'base'],
language: 'en',
placeholderText: `Type Something`,
heightMin: '350',
height: '350',
attribution: false,
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
imageEditButtons: ['imageReplace', 'imageAlign', 'imageRemove', 'imageCaption', '|', 'imageLink', 'linkOpen','linkEdit', 'linkRemove', '-', 'imageAlt', 'imageSize', 'imageStyle'],
imageStyles: {
'square': 'Square',
'img-rounded': 'Rounded',
'img-circle': 'Circle'
},
htmlAllowedEmptyTags: ['textarea', 'a', 'iframe', 'object', 'video', 'style', 'script', '.fa', '.fr-emoticon', '.fr-inner', 'path', 'line', 'hr','i'],
imageMultipleStyles: false,
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
imageUploadParam: 'blog_image',
imageUploadURL: '/wapi/widget?widget_name=' + widgetName + '&header_type=json&request_type=GET',
imageUploadMethod: 'POST',
imageUploadParams: {
upload_scope: 'admin'
},
linkAttributes: {
title: 'Title'
},
linkStyles: {
'btn btn-primary': 'Button Primary',
'btn btn-info': 'Button Info',
'btn btn-success': 'Button Success',
'btn btn-warning': 'Button Warning',
'btn btn-danger': 'Button Danger',
'btn btn-default': 'Button Default'
},
paragraphFormat: {
N: 'Normal',
H1: 'Heading 1',
H2: 'Heading 2',
H3: 'Heading 3',
H4: 'Heading 4'
},
imageMove: false,
toolbarSticky: false,
videoMove: false,
linkMultipleStyles: false,
quickInsertEnabled: false,
imageManagerPageSize: 20,
imageAllowedTypes: ['jpeg', 'jpg', 'png','JPEG','JPG','PNG','webp'],
linkEditButtons: ['linkOpen','linkStyle', 'linkEdit', 'adv_styles', 'linkRemove'],
videoInsertButtons: ['videoBack', '|', 'videoByURL', 'videoEmbed'],
videoEditButtons: ['videoReplace', 'videoRemove', '|', 'videoDisplay', 'videoAlign', 'videoSize'],
toolbarButtons:{
moreText: {
buttons: [ 'fontFamily', 'bold', 'italic', 'underline','strikeThrough', 'fontSize', 'textColor', 'backgroundColor', 'clearFormatting'],
align: 'left',
buttonsVisible: 9
},
moreParagraph: {
buttons: ['paragraphFormat', 'lineHeight', 'align', 'outdent', 'indent', 'formatOL', 'formatUL', 'insertTable', 'insertHR'],
align: 'left',
buttonsVisible: 9
},
moreRich: {
buttons: ['insertLink', 'insertImage', 'insertVideo', 'html' , 'Pre-Made Elements'],
align: 'left',
buttonsVisible: 5
},
moreMisc:{
buttons: ['undo', 'redo'],
align: 'right'
}
},
tableEditButtons: ['tableColumns','tableRows', 'tableCells', 'tableCellBackground','insertImage','tableCellVerticalAlign', 'tableCellHorizontalAlign','tableRemove'],
imageManagerLoadURL: '/wapi/widget?widget_name=' + widgetName + '&header_type=json&request_type=GET&module_action=browse_images',
imageManagerLoadMethod: "GET",
imageManagerDeleteURL: false,
imageMaxSize: imageMaxSizeSetting,
events: {
'table.inserted': function (table) {
$('table').addClass('froala-table');
},
'drop': function (dropEvent) {
return false;
},
'contentChanged': function () {
const item = $('.froala-editor-admin');
if ($(item).attr("required")) {
var form_name = $(item).closest("form").attr("id");
var froala_field_name=$(item).attr("name");
$('#'+form_name).formValidation('revalidateField', froala_field_name);
}
}
}
}, function () {
let elementName ='froala-editor-admin'
window[elementName].events.on('drop', function (dropEvent) {
// Focus at the current position.
window[elementName].markers.insertAtPoint(dropEvent.originalEvent);
var $marker = window[elementName].$el.find('.fr-marker');
$marker.replaceWith(FroalaEditor.MARKERS);
window[elementName].selection.restore();
// Save into undo stack the current position.
if (!window[elementName].undo.canDo()) window[elementName].undo.saveStep();
// Insert HTML.
if(dropEvent.originalEvent.dataTransfer.getData('Text')){
let randomNumber = Math.floor(Math.random() * 10000);
switch(dropEvent.originalEvent.dataTransfer.getData('Text')) {
case 'text-image-right':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%;">
<h2><strong>Section Title</strong></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.<br><br>
</p>
<p><a class="btn btn-lg btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 50%;">
<img src="/images/image-placeholder.png" class="fr-dib" width="615" height="344">
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'text-image-left':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%;">
<img src="/images/image-placeholder.png" class="fr-dib" width="615" height="344">
</td>
<td style="width: 50%;">
<h2><strong>Section Title</strong></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.<br><br>
</p>
<p><a class="btn btn-lg btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'features-3-columns':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="223"></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue ultricies.</p>
<p><a class="btn btn-lg btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="223"></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue ultricies.</p>
<p><a class="btn btn-lg btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="223"></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue ultricies.</p>
<p><a class="btn btn-lg btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'features-4-columns':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
<p><a class="btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
<p><a class="btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
<p><a class="btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
<p><a class="btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'pricing-plan-insert':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="fpad-lg" style="width: 30%; vertical-align: top; text-align: center; background: rgb(235, 239, 243) none repeat scroll 0% 0%;">
<h2><span style="color: rgb(51, 51, 51);font-size: 36px;"><strong>Plan Name<br></strong></span></h2>
<p><span style="color: rgb(51, 51, 51);font-size: 24px;">$10/month</span></p><a class="btn btn-lg btn-primary" href="/checkout/1" rel="noopener noreferrer" target="_blank"><strong>SELECT PLAN</strong></a></td>
<td style="width: 70%; vertical-align: middle;">
<p style="line-height: 1.5;"><span style="font-size: 18px;"><span style="line-height: 1.5;">This is text about why you should join this membership plan.</span>
<br>There are many benefits and it's easy to become a member!</span></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="nopad" style="width: 50%; vertical-align: top;">
<ul class="nomargin">
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
</ul>
</td>
<td class="nopad" style="width: 50%; vertical-align: top;">
<ul class="nomargin">
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
<li style="line-height: 2;"><strong><span style="font-size: 18px;">Feature or Benefit</span></strong></li>
</ul>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'faq':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong>Frequently Asked Questions</strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
<p><br></p>
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
</td>
<td style="width: 50%; vertical-align: top;">
<h3><strong>Frequently Asked Question</strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'image-insert':
insertHtml = `
<img src="/images/image-placeholder.png" class="fr-dib insert`+randomNumber+`" style="width:320px;">
`;
window[elementName].html.insert(insertHtml);
$('.insert'+randomNumber).click();
break;
case 'video-insert':
insertHtml = `
<p><span class="fr-video fr-deletable fr-fvc fr-dvi fr-draggable insert`+randomNumber+`" contenteditable="false" draggable="true"><iframe src="https://www.youtube.com/embed/8tPnX7OPo0Q?&wmode=opaque" allowfullscreen="" class="fr-draggable" width="320" height="180" frameborder="0"></iframe></span></p>
`;
window[elementName].html.insert(insertHtml);
$('.insert'+randomNumber).click();
break;
case 'button-link-insert':
insertHtml = `
<a class="btn btn-lg btn-primary insert`+randomNumber+`" href="#" rel="noopener noreferrer">Button Link</a>
`;
window[elementName].link.insert('#', 'Button Link', {'target': '_blank', 'class': 'btn btn-primary btn-lg'});
break;
case 'section-title-insert':
insertHtml = `
<h2 style="text-align: center;"><strong>Section Title</strong></h2>
`;
window[elementName].html.insert(insertHtml);
break;
case 'text-block-insert':
insertHtml = `
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.<br><br>
</p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'form-insert':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="fpad-lg" style="width: 100%;background-color: rgb(239, 239, 239);">
<h2><strong>Contact Form</strong></h2>
<p>[form=contact_form]</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'divider-insert':
insertHtml = `
<p style="height:0;margin:0;"><br></p>
<hr>
<p style="height:0;margin:0;"><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'line-break-insert':
insertHtml = `
<p style="margin:15px 0;width:100%;display:block;"><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-1':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 70%; vertical-align:top;">
<h2><strong><span style="font-size: 44px;">Write a Powerful Title to Share a Message with Your Audience</span></strong></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui.</p>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="nopad" style="width: 48%;">
<p>
<a class="btn-lg btn-block btn btn-primary" href="#" rel="noopener noreferrer" target="_blank">
Button Link 1
</a>
</p>
</td>
<td class="hidden-xs" style="width: 4%;">
<br>
</td>
<td class="nopad" style="width: 48%;">
<p>
<a class="btn-lg btn-block btn btn-default" href="#" rel="noopener noreferrer" target="_blank">
Button Link 2
</a>
</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
</td>
<td style="width: 30%; vertical-align: top;"><img src="/images/graphic-placeholder-3.png" class="fr-dib" width="356" height="252"></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-2':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 30%; vertical-align: top;"><img src="/images/graphic-placeholder-3.png" class="fr-dib" width="356" height="252"></td>
<td style="width: 70%; vertical-align:top;">
<h2><strong><span style="font-size: 44px;">Write a Powerful Title to Share a Message with Your Audience</span></strong></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui.</p>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="nopad" style="width: 48%;">
<p>
<a class="btn-lg btn-block btn btn-primary" href="#" rel="noopener noreferrer" target="_blank">
Button Link 1
</a>
</p>
</td>
<td class="hidden-xs" style="width: 4%;">
<br>
</td>
<td class="nopad" style="width: 48%;">
<p>
<a class="btn-lg btn-block btn btn-default" href="#" rel="noopener noreferrer" target="_blank">
Button Link 2
</a>
</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-3':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
<td style="width: 60%; text-align: center;">
<p><br></p>
<h2><span style="font-size: 36px;text-align: center;"><strong>Write a Powerful Title to Share a Message with Your Audience</strong></span></h2>
<p style="text-align: center;"><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.<br></p>
<p><br></p>
<p style="text-align: center;">
<a class="btn-lg btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a>
</p>
<p><br></p>
</td>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-4':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
<td style="width: 60%; text-align: center;">
<p><br></p>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.<br></p>
<p><br></p>
<p style="text-align: center;">
<a class="btn-lg btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a>
</p>
<p><br></p>
</td>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-5':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
<td style="width: 60%; text-align:center;">
<p><br></p>
<h2><span style="font-size: 36px;text-align: center;"><strong>Write a Powerful Title to Share a Message with Your Audience</strong></span></h2>
<p><br></p>
<p style="text-align: center;">
<a class="btn-lg btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a>
</p>
<p><br></p>
</td>
<td class="hidden-xs" style="width: 20%;">
<br>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-6':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width:70%;">
<h2 style="text-align: right;"><span style="font-size: 36px;"><strong>Make a Splash with a Catchy Title</strong></span></h2>
</td>
<td style="width: 30%;">
<p><br></p>
<a class="btn-lg btn-block btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a>
<p><br></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-7':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 30%;">
<p><br></p>
<a class="btn-lg btn-block btn btn-primary" href="#" rel="noopener noreferrer">Button Link</a>
<p><br></p>
</td>
<td style="width:70%;">
<h2 style="text-align: left;"><span style="font-size: 36px;"><strong>Make a Splash with a Catchy Title</strong></span></h2>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'cta-bonus-block-8':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">The Choice Is Yours<br>Select An Option Below<br></span></strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 10%;">
<br>
</td>
<td style="width: 35%; text-align: center; vertical-align: top;">
<p style="text-align: center;"><img src="/images/icon-placeholder.png" class="fr-dib" style="width: 60px; height: 60px;" width="60" height="60"></p>
<h2 style="text-align: center;"><strong>Section Title</strong></h2>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue ultricies.<br><br></p>
<p style="text-align: center;"><a class="btn btn-primary btn-lg" href="#" rel="noopener noreferrer">Button Link</a></p>
<p><br></p>
</td>
<td style="width: 10%;">
<br>
</td>
<td style="width: 35%; text-align: center; vertical-align: top;">
<p style="text-align: center;"><img src="/images/icon-placeholder.png" class="fr-dib" style="width: 60px; height: 60px;" width="60" height="60"></p>
<h2 style="text-align: center;"><strong>Section Title</strong></h2>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue ultricies.<br><br></p>
<p style="text-align: center;"><a class="btn btn-primary btn-lg" href="#" rel="noopener noreferrer">Button Link</a></p>
<p><br></p>
</td>
<td class="hidden-xs" style="width: 10%;">
<br>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-1':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">List Your Awesome Features</span></strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
</tr>
<tr>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-2':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">List Your Awesome Features</span></strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-3':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">List Your Awesome Features</span></strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
</tr>
<tr>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-4':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">List Your Awesome Features</span></strong></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
<tr>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;"><img src="/images/icon-holder.png" style="width: 40px; height: 40px;" class="fr-dib" width="40" height="40">
<h4 style="text-align: center;"><strong>Section Title</strong></h4>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-5':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 75%;">
<h2><span style="font-size: 36px;"><strong>Tell Them About Your Awesome Features</strong></span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien.</p>
<p><br></p>
</td>
<td style="width: 25%;"><br></td>
</tr>
</tbody>
</table>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 25%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="292" height="163"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-6':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 66%;">
<h2><span style="font-size: 36px;"><strong>Tell Them About Your Awesome Features</strong></span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien.</p>
<p><br></p>
</td>
<td style="width: 33%;"><br></td>
</tr>
</tbody>
</table>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="224"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum sit amet, consectetur ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit, consectetur adipiscing ultricies. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="224"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum sit amet, consectetur ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit, consectetur adipiscing ultricies. Etiam odio justo, ultricies.</p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<p><img src="/images/image-placeholder.png" class="fr-dib" width="400" height="224"></p>
<h4 style="text-align: left;"><strong>Section Title</strong></h4>
<p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-7':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Write a Powerful Title to Share a<br>Message with Your Audience</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/vertical-placeholder.png" class="fr-dib" width="352" height="617"></td>
<td style="width: 50%; vertical-align: middle;">
<h3><strong>Section Title</strong></h3>
<p style="text-align: left;"><span style="font-size: 20px;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</span></p>
<p><br><br></p>
<p><img src="https://ww2.managemydirectory.com/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib hidden-xs fr-fil" width="60" height="60"><span style="font-size: 20px;"><strong>Section Title</strong><br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</span></p>
<p><br><br></p>
<p><img src="https://ww2.managemydirectory.com/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib hidden-xs fr-fil" width="60" height="60"><span style="font-size: 20px;"><strong>Section Title</strong><br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</span></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'feature-bonus-block-8':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Write a Powerful Title to Share a<br>Message with Your Audience</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%; vertical-align: middle;">
<h3><strong>Section Title</strong></h3>
<p style="text-align: left;"><span style="font-size: 20px;">Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</span></p>
<p><br><br></p>
<p><img src="https://ww2.managemydirectory.com/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib hidden-xs fr-fil" width="60" height="60"><span style="font-size: 20px;"><strong>Section Title</strong><br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</span></p>
<p><br><br></p>
<p><img src="https://ww2.managemydirectory.com/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib hidden-xs fr-fil" width="60" height="60"><span style="font-size: 20px;"><strong>Section Title</strong><br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</span></p>
</td>
<td style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/vertical-placeholder.png" class="fr-dib" width="352" height="617"></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'teams-bonus-block-1':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Meet Our Team</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 200px;" width="200" height="198"></p>
<h3><strong>Peter Parker<br></strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 200px;" width="200" height="198"></p>
<h3><strong>Wonder Woman<br></strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur</p>
</td>
<td style="width: 33.3333%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 200px;" width="200" height="198"></p>
<h3><strong>Mighty Mouse<br></strong></h3>
<p>Lorem ipsum dolor sit amet, consectetur</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'teams-bonus-block-2':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Meet Our Team</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Peter Pan<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Wonder Woman<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mighty Mouse<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mary Tyler<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'teams-bonus-block-3':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Meet Our Team</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
</tr>
<tr>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'teams-bonus-block-4':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Meet Our Team</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
</tr>
<tr>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
</tr>
<tr>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
<td class="nopad" style="width: 10%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib square" style="width: 200px;" width="128" height="126"></p>
</td>
<td style="width: 40%; text-align: left; vertical-align: top;">
<h3><strong>Peter Parker<br></strong></h3>
<p style="text-align: left;">
<span style="font-size: 20px;">Position</span>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet.</p>
<p><br></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'teams-bonus-block-5':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 44px;text-align: center;"><strong>Meet Our Team</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Peter Pan<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Wonder Woman<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mighty Mouse<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mary Tyler<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
</tr>
<tr>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Peter Pan<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Wonder Woman<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mighty Mouse<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
<td style="width: 25%; text-align: center; vertical-align: top;">
<p><img src="/images/profile-placeholder.png" class="fr-dib img-circle" style="width: 150px;" width="150" height="148"></p>
<h3><strong>Mary Tyler<br></strong></h3>
<p>Lorem ipsum dolor sit amet</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-1':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 40%; text-align: center; vertical-align: middle;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="485" height="263"></td>
<td style="width: 60%; vertical-align: middle;">
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 100.0000%;">
<h2><strong>Section Title</strong></h2>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet. Etiam odio justo, ultricies. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies . Etiam odio justo, ultricies.</p>
<p><br></p>
</td>
</tr>
</tbody>
</table>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50.0000%;">
<p><strong><span style="font-size: 20px;">Section Title</span></strong>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, consectetur adipiscing ultricies elit.</p>
</td>
<td style="width: 50.0000%;">
<p><strong><span style="font-size: 20px;">Section Title</span></strong>
<br>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-2':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><strong><span style="font-size: 36px;">This Is Your Captivating Title<br></span></strong></h2>
<h3 style="text-align: center;"><strong>And This Sub-Heading Explains More About The Section Below</strong></h3>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 10%;"><br></td>
<td style="width: 40%; text-align: center; vertical-align: top;">
<p style="text-align: center;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" style="width: 200px;" width="200" height="107"></p>
<h2 style="text-align: center;"><strong>Section Title</strong></h2>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue.
<br>
<br>
</p>
<p style="text-align: center;"><a class="btn btn-primary btn-lg" href="#" rel="noopener noreferrer">Button Link</a></p>
<p><br></p>
</td>
<td style="width: 40%; text-align: center; vertical-align: top;">
<p style="text-align: center;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" style="width: 200px;" width="200" height="107"></p>
<h2 style="text-align: center;"><strong>Section Title</strong></h2>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur dictum at adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue.
<br>
<br>
</p>
<p style="text-align: center;"><a class="btn btn-primary btn-lg" href="#" rel="noopener noreferrer">Button Link</a></p>
<p><br></p>
</td>
<td style="width: 10%;"><br></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-3':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 33.3333%;vertical-align: top;">
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies.</p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<h4><strong>Section Title</strong></h4>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. </p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
<td style="width: 33.3333%;vertical-align: top;">
<p style="text-align: center;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="400" height="216"></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-4':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 20%;"><br></td>
<td style="width: 60%; text-align: center;">
<p style="text-align: center;">
<img src="/images/icon-placeholder.png" style="width: 60px; height: 60px;" class="fr-fic fr-dii" width="60" height="60">
</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam odio justo, ultricies a facilisis at, dictum at augue. Morbi sem nisl, tempus eu leo ac, eleifend dignissim mi. Nulla at neque sapien. Nullam quis vestibulum dui. Nulla at neque sapien. Nullam quis vestibulum dui.</p>
</td>
<td class="hidden-xs" style="width: 20%;"><br></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-5':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="615" height="333"></td>
<td class="fpad-xl" style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib" width="60" height="60">
<h2><strong>Section Title</strong></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Lorem ipsum dolor sit amet, consectetur odio justo, ultricies.</p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-6':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="fpad-xl" style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/icon-holder.png" style="width: 60px; height: 60px;" class="fr-dib" width="60" height="60">
<h2><strong>Section Title</strong></h2>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Lorem ipsum dolor sit amet, consectetur odio justo, ultricies.</p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
<td style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="615" height="333"></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-7':
insertHtml = `
<p><br></p>
<h2 style="text-align: center;"><span style="font-size: 36px;text-align: center;"><strong>Learn More About Us</strong></span></h2>
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="hidden-xs" style="width: 10%;">
<br>
</td>
<td style="width: 40%; vertical-align: top;">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Lorem ipsum dolor sit amet, consectetur odio justo, ultricies odio justo, ultricies.</p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
<td style="width: 40%; vertical-align: top;">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Etiam odio justo, ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit. Lorem ipsum dolor sit amet, consectetur odio justo, ultricies odio justo, ultricies.</p>
<p><a href="#"><strong><span style="font-size: 18px;">Learn More</span></strong></a></p>
</td>
<td class="hidden-xs" style="width: 10%;">
<br>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-8':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="fpad-xl" style="width: 50%; vertical-align: middle;">
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
<p><br></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
<p><br></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
<td class="fpad-xl" style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="585" height="317"></td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
case 'content-bonus-block-9':
insertHtml = `
<p><br></p>
<table class="froala-table" style="width: 100%;">
<tbody>
<tr>
<td class="fpad-xl" style="width: 50%; text-align: center; vertical-align: middle;"><img src="/images/graphic-placeholder-2.png" class="fr-dib" width="585" height="317"></td>
<td class="fpad-xl" style="width: 50%; vertical-align: middle;">
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
<p><br></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
<p><br></p>
<h3><strong>Section Title</strong></h3>
<p>Lorem ipsum dolor sit amet, adipiscing ultricies elit Lorem ipsum dolor sit amet, consectetur adipiscing ultricies elit.</p>
</td>
</tr>
</tbody>
</table>
<p><br></p>
`;
window[elementName].html.insert(insertHtml);
break;
default:
}
// Save into undo stack the changes.
window[elementName].undo.saveStep();
// Stop event propagation.
dropEvent.preventDefault();
dropEvent.stopPropagation();
return false;
}
}, true);
});
//froala editor code for the members that includes a feature to upload images to /images/member-uploads where the member can upload but can not browse the folder
new FroalaEditor('.froala-editor-user-upload', {
fontSize: ['10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44'],
linkAutoPrefix: '',
tableInsertMaxSize: 6,
imageDefaultWidth: 0,
linkInsertButtons: ['linkBack'],
htmlAllowedAttrs: ['.*'],
htmlAllowedTags: ['a', 'b', 'big', 'blockquote', 'br', 'caption', 'code', 'col', 'colgroup', 'div', 'em', 'embed', 'figure', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'iframe', 'img', 'li', 'ol', 'p', 'picture', 'pre', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'thread', 'tr', 'tt', 'u', 'ul', 'video', 's', 'a'],
htmlRemoveTags: ['script', 'style', 'base'],
language: 'en',
placeholderText: `Type Something`,
heightMin: '350',
height: '350',
htmlAllowedEmptyTags: ['textarea', 'a', 'iframe', 'object', 'video', 'style', 'script', '.fa', '.fr-emoticon', '.fr-inner', 'path', 'line', 'hr','i'],
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
imageEditButtons: ['imageAlign', 'imageRemove', 'imageCaption', '|', 'imageLink', 'linkOpen','linkEdit', 'linkRemove', '-', 'imageAlt', 'imageSize', 'imageStyle'],
imageStyles: {
'square': 'Square',
'img-rounded': 'Rounded',
'img-circle': 'Circle'
},
imageMultipleStyles: false,
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
attribution: false,
imageUploadParam: 'blog_image',
imageUploadURL: '/wapi/widget?widget_name=' + widgetName + '&header_type=json&request_type=GET',
imageUploadMethod: 'POST',
imageUploadParams: {
upload_scope: 'member'
},
linkAttributes: {
title: 'Title'
},
toolbarSticky: false,
linkStyles: {
'btn btn-primary': 'Button Primary',
'btn btn-info': 'Button Info',
'btn btn-success': 'Button Success',
'btn btn-warning': 'Button Warning',
'btn btn-danger': 'Button Danger',
'btn btn-default': 'Button Default'
},
paragraphFormat: {
N: 'Normal',
H1: 'Heading 1',
H2: 'Heading 2',
H3: 'Heading 3',
H4: 'Heading 4'
},
imageMove: false,
videoMove: false,
linkMultipleStyles: false,
quickInsertEnabled: false,
toolbarButtons: ['undo', 'redo', 'bold', 'italic', 'underline', 'fontSize', 'paragraphFormat', 'lineHeight', 'textColor', 'backgroundColor', 'clearFormatting', 'align', 'formatOL', 'formatUL', 'insertTable', 'outdent', 'indent', 'insertHR', 'insertLink', 'insertImage', 'insertVideo', 'html'],
imageAllowedTypes: ['jpeg', 'jpg', 'png','JPEG','JPG','PNG','webp'],
imageInsertButtons: ['imageBack', '|', 'imageUpload', 'imageByURL'],
linkEditButtons: ['linkOpen','linkStyle', 'linkEdit', 'adv_styles', 'linkRemove'], videoInsertButtons: ['videoBack', '|', 'videoByURL', 'videoEmbed'],
videoEditButtons: ['videoReplace', 'videoRemove', '|', 'videoDisplay', 'videoAlign', 'videoSize'],
tableEditButtons: ['tableColumns','tableRows', 'tableCells', 'tableCellBackground','insertImage','tableCellVerticalAlign', 'tableCellHorizontalAlign','tableRemove'],
imageMaxSize: imageMaxSizeSetting,
events: {
'table.inserted': function (table) {
$('table').addClass('froala-table');
},
'contentChanged': function () {
const item = $('.froala-editor-user-upload');
if ($(item).attr("required")) {
var form_name = $(item).closest("form").attr("id");
var froala_field_name=$(item).attr("name");
$('#'+form_name).formValidation('revalidateField', froala_field_name);
}
}
}
})
var chatObjParams = {
language: 'en',
placeholderText: `Type your message here...`,
pasteDeniedTags: ['div', 'iframe','span','h1','h2','h3','h3','h4','h5','b','strong','section'],
pastePlain: true,
pluginsEnabled: ['image', 'emoticons','file'],
fileAllowedTypes: ['application/pdf'],
fileUpload: true,
fileMaxSize: chatFileSize, // Set max file size to 10MB.
toolbarInline: false,
heightMin: '150',
heightMax: '400',
toolbarSticky: false,
attribution: false,
linkAttributes: {
title: 'Title'
},
linkStyles: {
'btn btn-primary': 'Button Primary',
'btn btn-info': 'Button Info',
'btn btn-success': 'Button Success',
'btn btn-warning': 'Button Warning',
'btn btn-danger': 'Button Danger',
'btn btn-default': 'Button Default'
},
imageMove: false,
videoMove: false,
quickInsertEnabled: false,
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
imageEditButtons: ['imageAlign', 'imageRemove'],
imageInsertButtons: ['imageBack', '|', 'imageUpload', 'imageByURL'],
imageUploadParam: 'blog_image',
imageUploadURL: '/wapi/widget?widget_name=' + widgetName + '&header_type=json&request_type=GET',
imageUploadMethod: 'POST',
imageUploadParams: {
upload_scope: 'member'
},
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
toolbarButtons: ['insertImage'],
events: {
'contentChanged': function () {
const item = $('.chat-froala');
if ($(item).attr("required")) {
var form_name = $(item).closest("form").attr("id");
var froala_field_name=$(item).attr("name");
$('#'+form_name).formValidation('revalidateField', froala_field_name);
}
if ($('.bd-chat-pmb-reply-form-container .fr-file').length > 2 && chatObjParams.fileUpload) { // only allow 2 pdf by thread
chatFroala.destroy();
chatObjParams.fileUpload = false;
chatObjParams.toolbarButtons = ['insertImage', ];
chatFroala = new FroalaEditor('.chat-froala', chatObjParams);
} else if ($('.bd-chat-pmb-reply-form-container .fr-file').length < 3 && !chatObjParams.fileUpload) {
chatFroala.destroy();
chatObjParams.fileUpload = true;
chatObjParams.toolbarButtons = ['insertImage', 'insertFile', ];
chatFroala = new FroalaEditor('.chat-froala', chatObjParams);
}
},
'file.error': function (error, response) {
// No link in upload response.
if (error.code == 2) {
// error.message = 'No Special Character For PDF Name '
}
// File too text-large.
else if (error.code == 5) {
// error.message = 'PDF size less than 10MB'
}
// Invalid file type.
else if (error.code == 6) {
//error.message = 'Only PDF'
}
chatFroala.popups.areVisible()
.find('.fr-file-progress-bar-layer.fr-error .fr-message')
.text(error.message);
},
'commands.after': function (cmd) {
if (cmd === 'imageAlt') {
$('.fr-image-alt-layer').closest('.fr-popup').removeClass('fr-hidden');
// Add additional logic here, e.g., focus on the input field, log actions, etc.
}else if(cmd === 'imageSize'){
$('.fr-image-size-layer').closest('.fr-popup').removeClass('fr-hidden');
}
},
}
}
chatFroala = new FroalaEditor('.chat-froala',chatObjParams);
new FroalaEditor('.text-only-froala', {
fileUpload: false,
imagePaste: false,
imageUpload: false,
language: 'en',
placeholderText: `Type your message here...`,
pastePlain: true,
toolbarInline: false,
heightMin: '200',
heightMax: '350',
linkAlwaysBlank: true,
quickInsertEnabled: false,
htmlRemoveTags: [],
attribution: false,
linkAttributes: {
title: 'Title'
},
imageMove: false,
iframeStyleFiles: ['/directory/cdn/assets/bootstrap/css/froala_style.min.css','/directory/cdn/assets/bootstrap/css/theme-styles.min.css?v=1.0.01'],
videoMove: false,
toolbarButtons: [],
key: '7MD3aD3G3B3B4B3C2xROKLJKYHROLDXDRE1b1YYGRi1Bd1C4F4B3H2G3A15A11A12C5C1==',
events: {
'contentChanged': function () {
const item = $('.text-only-froala');
if ($(item).attr("required")) {
var form_name = $(item).closest("form").attr("id");
var froala_field_name=$(item).attr("name");
$('#'+form_name).formValidation('revalidateField', froala_field_name);
}
},
}
});
});
</script> <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X2HBVCP18L"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-X2HBVCP18L');
</script>
<script type="text/javascript">
var vlat = 0;
var vlon = 0;
var isSubmit = false;
var cityTypes = [
'colloquial_area',
'locality',
'sublocality',
'sublocality_level_1',
'sublocality_level_2',
'sublocality_level_3',
'sublocality_level_4',
'sublocality_level_5',
'neighborhood',
'political',
'ward',
'postal_town'
];
var postalTypes = [
'postal_code',
'postal_code_prefix',
'postal_code_suffix',
'street_number',
'premise',
'subpremise',
'route',
'intersection',
'street_address',
'floor',
'room',
'post_box',
'delivery_address'
];
var isSubmitting = false;
window.cachedSelectedOption = [{ 'typed_location': '' }];
window.isSubmittingMainSearch = false;
document.addEventListener('DOMContentLoaded', () => {
let isSubmitting = false; // Add flag at the top level
setTimeout(()=>{
let googleSuggestForm = document.querySelectorAll('.googleSuggest,.google-writen-location,input[name="lead_location"],.fill_location');
if (typeof googleSuggestForm != "undefined") {
for (let i = 0; i < googleSuggestForm.length; i++) {
let closestForm = googleSuggestForm[i].closest('form');
if(typeof closestForm != "undefined" && closestForm != null){
closestForm.addEventListener('focusin', googleMapOnFormClick, false);
}else{
googleSuggestForm[i].addEventListener('input', googleMapOnFormClick, false);
}
googleSuggestForm[i].addEventListener('click', googleMapOnFormClick, false);
}
}
},200);
$('.website-search button[type=submit]').click(async function (e) {
e.preventDefault(); // Prevent the default submit action
await googleMapOnFormClick();
$(this).closest('form').submit();
});
});
function googleMapOnFormClick() {
return new Promise((resolve, reject) => {
window.isSubmittingMainSearch = false;
let googleSuggestForm = document.querySelectorAll('.googleSuggest, .google-writen-location, input[name="lead_location"], .fill_location');
let mapUri = "https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places®ion=US&callback=initializeG&language=en";
let loadMapScriptAsync = function (uri) {
return new Promise((resolve, reject) => {
let script = document.createElement('script');
script.type = 'text/javascript';
script.src = uri;
script.async = true;
script.onload = function () {
resolve("ok");
};
script.onerror = function () {
reject("Failed to load Google Maps script.");
};
document.head.appendChild(script);
});
};
if (typeof google === "undefined" || !google.hasOwnProperty('maps')) {
loadMapScriptAsync(mapUri)
.then(() => {
resolve();
})
.catch((error) => {
console.error(error);
reject();
});
} else {
resolve();
}
});
}
function initializeG() {
var geocoder;
window.cachedSelectedOption = [{ 'typed_location': '' }];
let mapExists = document.querySelectorAll('[id^="map"]').length > 0;
const functionsToInvoke = {
setJsMap: true,
setJsMapOverview: mapExists,
setJsMapSR: mapExists,
setJsMapSidebar: mapExists
};
if (window['maps_loaded'] !== true) {
for (let func in functionsToInvoke) {
if (typeof window[func] === 'function' && functionsToInvoke[func]) {
window['maps_loaded'] = true;
window[func]();
}
}
}
//This piece of code will create an autosuggest for every input with the class "googleSuggest"
var counter = 1;
var inputsArray = [];
$(".googleSuggest").each(function () {
//get the id from the input to be the unique identifier for each autocomplete
var inputId = $(this).attr("id");
var inputElement = $(this);
inputsArray[counter] = /** @type {HTMLInputElement} */(
document.getElementById('' + inputId));
const mainCountry = '';
const inputOptions = {
fields: ['address_components', 'adr_address','formatted_address', 'geometry', 'icon', 'name','place_id','plus_code','type'],
types: ['geocode']
}
const language = "en";
if (language) {
inputOptions.language = language;
}
if (mainCountry) {
inputOptions.componentRestrictions = {country: mainCountry};
inputOptions.region = mainCountry;
}
var autocomplete = new google.maps.places.Autocomplete(inputsArray[counter], inputOptions);
google.maps.event.addListener(autocomplete, 'place_changed', function () {
cachedSelectedOption = [];
cachedSelectedOption.push(autocomplete.getPlace());
cachedSelectedOption[0]['typed_location'] = inputElement.val();
/* if(cachedSelectedOption[0]['adr_address']){
let cleanLocation = cachedSelectedOption[0]['adr_address'].replace(/<[^>]*>/g, '');
cachedSelectedOption[0]['typed_location'] = cleanLocation;
inputElement.val(cleanLocation);
}*/
if (cachedSelectedOption[0]['address_components'] == undefined) {
cachedSelectedOption = [];
var emptyObj = {
'typed_location': ''
};
cachedSelectedOption.push(emptyObj);
}
});
//the code that prevents the submition when hit enter on a google location autocomplete item
inputElement.keydown( function (e) {
if (e.keyCode == 13) {
var pacCounter = 0;
//need to run a loop to check each pac container
$('.pac-container').each(function () {
if ($(this).css("display") != "none") {
pacCounter++;
}
});
if (pacCounter > 0) {
e.preventDefault();
}
}
});
counter++;
});
//triggers every time a form with the id website-search is trigered
$('.website-search').submit(function (e) {
if (window.isSubmittingMainSearch) {
console.log('Preventing double submission');
e.preventDefault();
return false;
}
var currentForm = $(this);
var locationInput = $(this).find(".googleLocation");
var $submitButton = currentForm.find('input[type=submit], button[type=submit]');
if (locationInput.val() != "" && typeof locationInput.val() != 'undefined') {
// Set submitting flag
window.isSubmittingMainSearch = true;
$submitButton.prop('disabled', true);
e.preventDefault();
//this variable has the main country of the site
var form = currentForm;
var urlGET = form.serialize();
var formActionUrl = form.attr("action");
var locationValue = locationInput.val();
const mainCountry = '';
const inputOptions = {
address:locationValue
}
const language = "en";
if (language) {
inputOptions.language = language;
}
if (mainCountry) {
inputOptions.componentRestrictions = {country: mainCountry};
inputOptions.region = mainCountry;
}
if (typeof cachedSelectedOption == 'undefined') {
var emptyForm = {
'typed_location': ''
};
cachedSelectedOption.push(emptyForm);
}
if (locationValue != cachedSelectedOption[0]['typed_location']) {
geocoder = new google.maps.Geocoder();
geocoder.geocode(inputOptions, function (results, status) {
//if the google response of the geocoding was successful it will use that info to build the url for the new search
if (status == google.maps.GeocoderStatus.OK) {
parseInfoToSearch(results, urlGET, formActionUrl);
} else {
var urlPath = formActionUrl;
var redirect = urlPath + "?" + urlGET;
//will redirect the page using the new url that has been constructed
window.location.href = redirect;
}
});
} else {
parseInfoToSearch(cachedSelectedOption, urlGET, formActionUrl);
}
}
});
//check if a map has been loaded
if ($('#map-canvas').length > 0) {
var cssHideLogo = "<style>.pac-container:after { /* Disclaimer: not needed to show 'powered by Google' if also a Google Map is shown */background-image: none !important;height: 0px;}</style>";
$('body').append(cssHideLogo);
} else {
var cssHideLogo = "<style>.pac-container:after { /* Disclaimer: not needed to show 'powered by Google' if also a Google Map is shown */background-image: block !important;height: 16px;}</style>";
$('body').append(cssHideLogo);
}
if (geocodeVisitorsSetting == 1 && geocodingMethod === "IP") {
populateSearchFields();
}
if($('.googleSuggest').val() == ""){
populateSearchFields();
}
var geocodeVisitorsSetting = '1';
var geocodingMethod = 'HTML5';
//check the advanced setting "geocode_visitor_default" if set to 1 will override the "location_value" values to the formatted desire address from the google reverse geocoding response
var vlon = '';
var vlat = '';
}
function switchPlaceID(placeId,urlGET, formActionUrl) {
let request = {
placeId: placeId,
fields: ['address_components', 'adr_address', 'formatted_address', 'geometry', 'icon', 'name', 'place_id', 'plus_code', 'type'],
};
let service = new google.maps.places.PlacesService(document.createElement('div'));
service.getDetails(request, function(place, status) {
if (status === google.maps.places.PlacesServiceStatus.OK) {
let dataArray = [];
dataArray.push(place);
parseInfoToSearch(dataArray, urlGET, formActionUrl);
} else {
console.error('Place details request failed with status:', status);
}
});
}
function parseInfoToSearch(results, urlGET, formActionUrl) {
var urlSearchParams = new URLSearchParams(urlGET);
var parameters = {};
var addressComponentsArray = [];
if (results.length > 1) {
if(urlSearchParams.get("location_value")?.toLowerCase() === "nebraska" && results.length === 2){
let tempResult = results[0];
results[0] = results[1];
results[1] = tempResult;
}
for (let i = 0; i < results.length; i++) {
if (results[i].types[0] === 'natural_feature' ||
results[i].types[0] === 'airport' ||
results[i].types[0] === 'point_of_interest' ||
results[i].types[0] === 'establishment' ||
results[i].types[0] === 'park') {
results.splice(i, 1);
}
}
}
var adComLength = results[0].address_components.length;
if(results[0].place_id == 'ChIJmQrivHKsQjQR4MIK3c41aj8'){
switchPlaceID('ChIJi73bYWusQjQRgqQGXK260bw',urlGET, formActionUrl);
return;
}
sessionStorage.setItem("google_result",JSON.stringify(results));
var foundPostalType = results[0].types.find(type => postalTypes.includes(type));
var foundCityType = results[0].types.find(type => cityTypes.includes(type));
//loop that will build the array with the address components and will get the short name of country and administrative area level 1
for (var i = 0; i < adComLength; i++) {
if (results[0].address_components[i]['types'][0] == "country") {
parameters.country_sn = results[0].address_components[i]['short_name'];
}
if (results[0].address_components[i]['types'][0] == "administrative_area_level_1") {
parameters.adm_lvl_1_sn = results[0].address_components[i]['short_name'];
}
if (results[0].address_components[i]['types'][0] == "administrative_area_level_1") {
parameters.stateSearchLN = results[0].address_components[i]['long_name'];
}
if (results[0].address_components[i]['types'][0] == "administrative_area_level_2") {
parameters.county_sn = results[0].address_components[i]['short_name'];
}
if ($.inArray(results[0].address_components[i]['types'][0], cityTypes) !== -1 && (foundCityType || foundPostalType ) ) {
parameters.city = results[0].address_components[i]['long_name'];
}
if (results[0].address_components[i]['types'][0] == "postal_code" || results[0].address_components[i]['types'][0] == "postal_code_prefix") {
parameters.postal_code = results[0].address_components[i]['long_name'];
}
}
parameters.location_type = results[0].types[0];
if (parameters.adm_lvl_1_sn != '') {
parameters.stateSearch = parameters.adm_lvl_1_sn;
}
if (parameters.country_sn == "GB") {
delete parameters.adm_lvl_1_sn;
}
//will check if the response had the bounds parameters
//if it had it will add the south west and north east parameters to the new url
if (results[0].geometry.hasOwnProperty('bounds') || results[0].geometry.hasOwnProperty('viewport')) {
if (results[0].geometry.hasOwnProperty('bounds')) {
var boundsResponse = results[0].geometry.bounds;
} else {
var boundsResponse = results[0].geometry.viewport;
}
parameters.swlat = boundsResponse.getSouthWest().lat();
parameters.nelat = boundsResponse.getNorthEast().lat();
parameters.swlng = boundsResponse.getSouthWest().lng();
parameters.nelng = boundsResponse.getNorthEast().lng();
//if there were not bounds parameters in the response it will send the parameter fsearch as radius so a radius search will be performed because of lack of info for this location
} else {
parameters.fsearch = "radius";
}
var locationCenterResponse = results[0].geometry.location;
parameters.lat = locationCenterResponse.lat();
parameters.lng = locationCenterResponse.lng();
parameters.faddress = results[0].formatted_address;
parameters.place_id = results[0].place_id;
var formatParameters = $.param(parameters);
urlGET = urlGET + "&" + formatParameters;
var urlPath = formActionUrl;
var redirect = urlPath + "?" + urlGET;
//will redirect the page using the new url that has been constructed
window.location.href = redirect;
}
function populateSearchFields() {
var prePopulateLocationSetting = '1';
var geolocationMethod = 'HTML5';
//if set to one will get the lat and lng to do reverse geocoding
if (prePopulateLocationSetting == 1 && (geolocationMethod === "HTML5" || geolocationMethod === "IP") && (vlat !== '' && vlon !== '' && vlat != undefined && vlon != undefined && vlat != 0 && vlon != 0)) {
var visitorLatLng = new google.maps.LatLng(parseFloat(vlat), parseFloat(vlon));
var visitorGeocoder = new google.maps.Geocoder();
var formattedAddress = [];
var preFormattedStructure = {
"locality": "long_name",
"administrative_area_level_2": "long_name",
"administrative_area_level_1": "long_name",
"country": "long_name"
};
visitorGeocoder.geocode({'latLng': visitorLatLng}, function (results, status) {
//if the google response of the geocoding was successful it will use that info to build the url for the new search
if (status == google.maps.GeocoderStatus.OK) {
$.each(preFormattedStructure, function (findex, fvalue) {
$.each(results[0].address_components, function (rindex, rvalue) {
if (rvalue.types[0] == findex) {
formattedAddress.push(rvalue.long_name);
}
});
});
$('.googleSuggest').each(function () {
if ($(this).val() == '') {
if (formattedAddress.length > 0) {
$(this).val(formattedAddress.join(', '));
clearContent($(this));
}
}
});
} else {
$('.googleSuggest').each(function () {
$(this).val('');
});
}
});
}
}
function showError(error) {
switch (error.code) {
case error.PERMISSION_DENIED:
$('.fill_location.clicked').popover({
content: 'Your Local browser settings have prevented location targeting',
container: 'body'
});
$('.fill_location.clicked').popover('toggle');
setTimeout(function () {
$('.fill_location.clicked').popover('hide');
$('.fill_location.clicked').removeClass('clicked');
}, 2000);
break;
case error.POSITION_UNAVAILABLE:
break;
case error.TIMEOUT:
break;
case error.UNKNOWN_ERROR:
break;
}
}
if (navigator.geolocation) {
if ($(".googleSuggest")[0]) {
$(document).on('click', '.fill_location', function getCXPosition() {
$(this).addClass('clicked');
var startPos;
navigator.geolocation.getCurrentPosition(function (position) {
startPos = position;
vlat = startPos.coords.latitude;
vlon = startPos.coords.longitude;
$.get("/api/data/html/get/data_widgets/widget_name", {
"vlat": vlat,
"vlon": vlon,
"name": "Website - Save Coordinates Session"
}).done(function (data) {
});
populateSearchFields();
}, showError);
})
}
} else {
console.log('Geolocation is not supported for this Browser/OS version yet.');
}
function getUrlParameter(sParam) {
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++) {
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam) {
return decodeURIComponent(sParameterName[1]);
}
}
}
</script>
<script type="text/javascript">
function googleTranslateElementInit() {
let spinIcon = document.getElementById('spin_remove');
if (typeof spinIcon !== `undefined` && spinIcon != null) {
spinIcon.remove();
}
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: 'af,am,ar,az,be,bg,bn,bs,ca,co,cs,cy,da,de,el,eo,es,et,eu,fa,fi,fr,fy,ga,gd,gl,gu,ha,haw,hi,hr,ht,hu,hy,id,ig,is,it,iw,ja,jw,ka,kk,km,kn,ko,ku,ky,la,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,ne,nl,no,ny,pa,pl,ps,pt,ro,ru,sd,si,sk,sl,sn,so,sq,sr,st,su,sv,sw,ta,te,tg,th,tl,tr,uk,ur,uz,vi,xh,yi,yo,zh-CN,zh-TW,zu',
autoDisplay: false,
layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
},
'google_translate_element');
$('#google_translate_element').delay(9000).css("opacity", "1");
}
function loadGoogleTranslate() {
let head = document.getElementsByTagName('head')[0];
let script = document.createElement('script');
script.type = 'text/javascript';
script.src = "//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit";
head.appendChild(script);
}
if (!sessionStorage.getItem("googleTranslate") == 1) {
window.addEventListener('load', (e) => {
let alreadyLoaded = false;
let loadingByTime = setTimeout(function () {
if (!alreadyLoaded) {
alreadyLoaded = true;
loadGoogleTranslate();
}
}, 8000);
window.addEventListener('scroll', initOnScroll, false);
function initOnScroll() {
clearTimeout(loadingByTime);
if (!alreadyLoaded) {
alreadyLoaded = true;
loadGoogleTranslate();
}
window.removeEventListener('scroll', initOnScroll,false);
}
if (document.cookie.indexOf('googtrans=') !== -1) {
if (!alreadyLoaded) {
alreadyLoaded = true;
loadGoogleTranslate();
}
}
sessionStorage.setItem("googleTranslate", "1");
});
} else {
loadGoogleTranslate()
}
</script>
<script>
$(document).ready(function(){
$('.navbar-header .navbar-toggle.main_menu').click(function(){
$('.mobile-main-menu').toggleClass('opened');
});
$('.mobile-main-menu .sidebar-nav').find('li').each(function(){
$(this).addClass('hasChildren');
if ($(this).children('ul').length > 0){
$(this).prepend('<i class="fa fa-plus" aria-hidden="true"></i>');
$(this).find('a').after('<div class="clearfix"></div>');
$(this).find('span').after('<div class="clearfix"></div>');
}
$(this).append('<div class="clearfix"></div>');
});
$('.mobile-main-menu .sidebar-nav li i').click(function(){
if ($(this).parent().children('ul').length > 0){
$(this).parent().toggleClass('sub_open');
}
if ($(this).hasClass('fa-plus')){
$(this).switchClass('fa-plus','fa-minus');
} else {
$(this).switchClass('fa-minus','fa-plus');
}
});
})
if ($(window).width() > 740 && $(window).width() < 1100) {
$(document).ready(function(){
$('.tablet-menu .tablet-menu-ul').find('li').each(function(){
if ($(this).children('ul').length > 0){
$(this).prepend('<i class="fa fa-plus tablet-fa hidden-sm hidden-md hidden-lg" aria-hidden="true"></i>');
$(this).find('a').after('<div class="clearfix"></div>');
var this_link = $(this).children('a').text().replace(/[^\x00-\x7F]/g, "");;
$(this).children('a').html(this_link);
$(this).find('span').after('<div class="clearfix"></div>');
}
$(this).append('<div class="clearfix"></div>');
});
$('.tablet-menu .tablet-menu-ul li i').click(function(){
if ($(this).parent().children('ul').length > 0){
$(this).parent().toggleClass('sub_open');
if ($(this).siblings( "ul" ).hasClass('tablet-block')){
$(this).siblings( "ul" ).switchClass('tablet-block', 'tablet-none');
} else {
$(this).siblings( "ul" ).addClass( "tablet-block" );
if ($(this).siblings( "ul" ).hasClass('tablet-none')){
$(this).siblings( "ul" ).removeClass('tablet-none')
}
if ($(this).parent().siblings().children('ul').hasClass('tablet-block')) {
$(this).parent().siblings().children('ul').switchClass('tablet-block', 'tablet-none');
$(this).parent().siblings().children('i').switchClass('fa-minus','fa-plus');
}
if ($(this).parent().siblings().children('ul').children().children('ul').hasClass('tablet-block')) {
$(this).parent().siblings().children('ul').children().children('ul').switchClass('tablet-block', 'tablet-none');
$(this).parent().siblings().children('ul').children().children('i').switchClass('fa-minus','fa-plus');
}
if ($(this).siblings('ul').children('ul').children().children('ul').hasClass('tablet-block')) {
$(this).siblings('ul').children('ul').children().children('ul').switchClass('tablet-block', 'tablet-none');
$(this).siblings('ul').children('ul').children().children('i').switchClass('fa-minus','fa-plus');
}
}
}
if ($(this).hasClass('fa-plus')){
$(this).switchClass('fa-plus','fa-minus');
} else {
$(this).switchClass('fa-minus','fa-plus');
}
});
})
}
// Append unique ID attribute for mobile main menu links
$('.mobile-main-menu a,.mobile-main-menu span').attr("id", function() { return $(this).attr("id") + "-mobile" });
</script><script>
$(".member-profile-tabs ul li a").click(function() {
tabsTop = $(".member-profile-tabs").offset().top;
positionTop = $(window).scrollTop();
if(tabsTop < positionTop){
$('html, body').animate({
scrollTop: $(".member-profile-tabs").offset().top
}, 300);
}
});
</script><script>
$('.view_phone_number_header').click(function(event){
event.preventDefault();
$(this).hide();
$('.view_phone_number').hide();
$('.phone_number').css("display","block");
$('.phone_number_header').css("display","block");
})
</script><script defer>
var favoriteMode = "";
var apiEngine = "";
var api = 0; // Set API to use. Default is 0
var activeMembershipLevelEnable = "";
var favoriteUserClickId = "";
var bookmarkLabel = `SAVE`;
var bookmarkCountLabel = `SAVES`;
var currentButton;
function favoriteOn(lookForAll = false) {
$('.col-md-6.col-md-offset-3').addClass("col-md-12").removeClass('col-md-6 col-md-offset-3');
favoriteMode = 'search';
if ($('.sidebarenabled').data('sidebar')) {
favoriteMode = 'detail';
if (!$('.sidebarenabled').siblings('.postItem').data('userid')) {
$('.sidebarenabled').siblings('.listingData').remove();
}
}
favoriteUserClickId = $('.favorite').data('activeuser');
activeMembershipLevelEnable = $('.favorite').data('activefeatureenable');
// Sets the API URL to use based on API value
if (api == 0) {
apiEngine = '/api/data/html/get/data_widgets/widget_name?name=Bootstrap%20Theme%20-%20Function%20-%20Add%20to%20Favorites%20Button';
} else if (api == 1) {
apiEngine = '/api/data/html/get/data_widgets/widget_name?name=Bootstrap Theme - Function - Add to Favorites Button';
} else {
apiEngine = '/api/widget/json/get/Bootstrap Theme - Function - Add to Favorites Button';
}
if (favoriteUserClickId) {
var favoriteCounter = $('.favorite').siblings('.postItem');
if ($('.sidebarenabled').data('sidebar') || lookForAll) {
if (favoriteCounter.length == 1) {
var favoriteMode = 'detail';
var favoriteDataType = $('.sidebarenabled').siblings('.postItem').data('datatype');
var favoriteDataId = $('.sidebarenabled').siblings('.postItem').data('dataid');
var favoritePostId = $('.sidebarenabled').siblings('.postItem').data('postid');
var favoriteUserId = [];
$('.sidebarenabled').siblings('.postItem').each(function () {
favoriteUserId.push($(this).data('userid'));
});
} else {
var favoriteMode = 'multiSidebar';
var favoriteDataType = [];
var favoriteDataId = [];
var favoritePostId = [];
var favoriteUserId = [];
$('.postItem').each(function () {
favoriteDataType.push($(this).data('datatype'));
favoriteDataId.push($(this).data('dataid'));
favoritePostId.push($(this).data('postid'));
favoriteUserId.push($(this).data('userid'));
});
}
} else {
var favoriteMode = 'search';
var favoriteDataType = $('.favorite').siblings('.postItem').data('datatype');
var favoriteDataId = $('.favorite').siblings('.postItem').data('dataid');
if (lookForAll) {
favoriteDataType = (favoriteDataType == 10) ? 11 : 10;
}
if (favoriteDataType != 10) {
var favoritePostId = [];
$('.postItem').each(function () {
favoritePostId.push($(this).data('postid'));
});
var favoriteUserId = $('.favorite').siblings('.postItem').data('userid');
} else {
var favoriteUserId = [];
$('.postItem').each(function () {
favoriteUserId.push($(this).data('userid'));
});
var favoritePostId = $('.favorite').siblings('.postItem').data('postid');
}
}
favoriteCall(favoriteUserClickId, favoriteUserId, favoriteDataType, favoriteDataId, favoritePostId, favoriteMode, 'check');
}
}
$(document).on('click', '.favorite', function (e) {
var favoriteUserClickId = $('.favorite').data('activeuser');
if (favoriteUserClickId && activeMembershipLevelEnable) {
var thisButton = $(this);
currentButton = thisButton;
$(thisButton).attr("disabled", true);
var favoriteUserClickId = $(this).data('activeuser');
var favoriteUserId = $(this).siblings('.postItem').data('userid');
var favoriteDataType = $(this).siblings('.postItem').data('datatype');
var favoriteDataId = $(this).siblings('.postItem').data('dataid');
var favoritePostId = $(this).siblings('.postItem').data('postid');
$(this).toggleClass('favoriteActive');
if ($(this).data('state') == 0) {
favoriteCall(favoriteUserClickId, favoriteUserId, favoriteDataType, favoriteDataId, favoritePostId, favoriteMode, 'add');
$(this).data('state', 1);
} else {
favoriteCall(favoriteUserClickId, favoriteUserId, favoriteDataType, favoriteDataId, favoritePostId, favoriteMode, 'delete');
$(this).data('state', 0);
}
setTimeout(function () {
$(thisButton).attr("disabled", false);
}, 500);
}
});
function toogleBookmark(node) {
var postId = $(node).data('postid');
var count = $(node).data('count');
var numberNode = $(node).find("#number-" + postId);
var textLabelNode = $(node).find("#bookmark-content");
if ($(node).hasClass('favoriteActive') !== false) {
count--;
} else {
count++;
}
$(node).data("count", count);
if (count > 0) {
$(textLabelNode).html(bookmarkCountLabel);
$(numberNode).html(' (' + count + ')');
} else {
$(textLabelNode).html(bookmarkLabel);
$(numberNode).html('');
}
}
// Function that Adds, Deletes and Selects Favorites from Backend
function favoriteCall(favoriteUserClickId, favoriteUserId, favoriteDataType, favoriteDataId, favoritePostId, favoriteMode, favoriteAction) {
$.post(apiEngine, {
favoriteUserClickId: favoriteUserClickId,
favoriteUserId: favoriteUserId,
favoriteDataType: favoriteDataType,
favoriteDataId: favoriteDataId,
favoritePostId: favoritePostId,
favoriteMode: favoriteMode,
favoriteAction: favoriteAction
}, function (data) {
if (api == 0) {
var splitData = data.split('<split>');
data = splitData[1];
}
if(favoriteAction == "add" && data == "save_favorite_error"){
$(currentButton).trigger('click');
swal({
type:"warning",
title: `Action Unavailable`,
html: `Your account is currently not ACTIVE. <br> Only ACTIVE accounts can perform this action.`,
});
}
if (data !== null && data !== 'null') {
// Checks if the action 'check' was send
if (favoriteAction == 'check' && favoriteMode != 'multiSidebar') {
// Checks if we are in a Detail Page
if (!$('.sidebarenabled').data('sidebar')) {
// Checks if we are viewing a Member
if (favoriteDataType != 10) {
$.each(JSON.parse(data), function (index, value) {
$('.postItem[data-postid="' + value + '"]').siblings('.favorite').addClass('favoriteActive');
$('.postItem[data-postid="' + value + '"]').siblings('.favorite').data('state', 1);
});
} else {
$.each(JSON.parse(data), function (index, value) {
$('.member_results .postItem[data-userid="' + value + '"]').siblings('.favorite').addClass('favoriteActive');
$('.member_results .postItem[data-userid="' + value + '"]').siblings('.favorite').data('state', 1);
});
}
} else {
// Checks if we are viewing a Member
if (favoriteDataType != 10) {
$.each(JSON.parse(data), function (index, value) {
$('.sidebarenabled').siblings('.favorite').addClass('favoriteActive');
$('.sidebarenabled').siblings('.favorite').data('state', 1);
});
} else {
$.each(JSON.parse(data), function (index, value) {
$('.sidebarenabled').siblings('.favorite').addClass('favoriteActive');
$('.sidebarenabled').siblings('.favorite').data('state', 1);
});
}
}
} else if (favoriteAction == 'check' && favoriteMode == 'multiSidebar') {
let totalDataCount = JSON.parse(data);
if (totalDataCount) {
totalDataCount = totalDataCount.length;
for (let i = 0; i < totalDataCount; i++) {
if (JSON.parse(data)[i].dataQuery != 0) {
$('.postItem[data-postid="' + JSON.parse(data)[i].postQuery + '"][data-dataid="' + JSON.parse(data)[i].dataQuery + '"]').siblings('.favorite').addClass('favoriteActive');
$('.postItem[data-postid="' + JSON.parse(data)[i].postQuery + '"][data-dataid="' + JSON.parse(data)[i].dataQuery + '"]').siblings('.favorite').data('state', 1);
} else {
$('.postItem[data-userid="' + JSON.parse(data)[i].postQuery + '"]').siblings('.favorite').addClass('favoriteActive');
$('.postItem[data-userid="' + JSON.parse(data)[i].postQuery + '"]').siblings('.favorite').data('state', 1);
}
}
}
}
}
});
}
// Code that runs once to show all favored posts by a registered user
favoriteOn();
favoriteOn(true);
</script><script></script>
<script>
function showFBShare() {
let currentURL = document.querySelector('meta[property="og:url"]').content;
window.open(`https://www.facebook.com/sharer/sharer.php?u=${currentURL}`, `pop`, `width=600, height=400, scrollbars=no`);
}
</script>
<script>
var delayInMilliseconds = 300;
if (!sessionStorage.getItem("googleTranslate") == 1) {
sessionStorage.setItem("googleTranslate", "1");
delayInMilliseconds = 7000;
}
let fbBtn = document.getElementsByClassName('fb-share-button')[0];
if(typeof fbBtn != 'undefined' && fbBtn.dataset.layout){
if (typeof loadFBjs == 'function') {
loadFBjs(delayInMilliseconds);
}
}
setTimeout(function() {
$.when(
$.getScript( "//platform.twitter.com/widgets.js" ), $.getScript( "https://platform.linkedin.com/in.js?lang=en-US" ),
$.Deferred(function( deferred ){
$( deferred.resolve );
})
).done(function(){
$( ".spin_remove_2" ).hide();
$( ".fb-share-button" ).show();
});
}, delayInMilliseconds);
</script><script>
$('#captchaContainer').removeClass('form-control ');
$(".website_url_field").keyup(function(){
var fieldName = $(this).attr('name');
$(this).val($(this).val().replace(/\s+/g, ''));
$('#myform').formValidation('revalidateField', fieldName);
});
</script>
<script>
$('#newsletter input[name="email"]').on('keypress', function() {
$("#newsletter > .gdpr_consent_email").show();
});
$('#newsletter_signup_footer input[name="email"]').on('keypress', function() {
$("#newsletter_signup_footer > .gdpr_consent_email").show();
});
</script> <script src="https://www.optimizecdn.com/directory/cdn/bootstrap/formvalidation/current/dist/js/formValidation.min.js"></script>
<script src="https://www.optimizecdn.com/directory/cdn/bootstrap/formvalidation/current/dist/js/framework/bootstrap.min.js"></script>
<script type="text/javascript">
function decodeHtml(html) {
var txt = document.createElement("textarea");
txt.innerHTML = html;
return txt.value;
}
</script>
<script type="text/javascript">
var counterSubmit = 0;
$(document).ready(function() {
$(`form[name='newsletter_modal_signup_380']`).formValidation({"framework":"bootstrap","addOns":{"reCaptcha2":{"element":"captchaContainer","language":"en","theme":"light","siteKey":"6LeW4w8UAAAAAOldQ6hNXLhb9VBoUl4UYszeKGuf","timeout":"120","message":"The captcha is not valid"}},"fields":{"email":{"validators":{"notEmpty":{"message":"Required Field"},"emailAddress":{"message":"Please enter a valid email address"}}}}}).on('success.form.fv', function(e,fvdata) {
if('newsletter_modal_signup' == 'unsubscribe_email'){
return true;
}
// Prevent form submission
e.preventDefault();
$form = $(e.target),
fv = $form.data('formValidation');
var values = $(this).serialize();
var locationFieldCorrect = true;
if($("#newsletter_modal_signup_380 .location_required").length > 0){
$("#newsletter_modal_signup_380 .location_required").each(function (index) {
if($(this).data('state') == 1){
if($('#newsletter_modal_signup_380 input[name="lead_location"]').val() == "" || $('#newsletter_modal_signup_380 input[name="lat"]').val() == "" || $('#newsletter_modal_signup_380 input[name="lng"]').val() == "") {
locationFieldCorrect = false;
}
}
});
}
if(locationFieldCorrect === false){
//check that there is a latitude or longitude
swal(`Whoops!`, `The location information is required to submit this form`, "error");
return false;
}
if (!$(this).attr("action")) {
var action = '';
} else {
var action = $(this).attr("action");
}
if (!$(this).attr("method")) {
var method = 'post';
} else {
var method = $(this).attr("method");
}
if (!$(this).attr("form_action_type")) {
var form_action_type = 'notification';
} else {
var form_action_type = $(this).attr("form_action_type");
}
if (!$(this).attr("form_action_div")) {
var form_action_div = '#first_container';
} else {
var form_action_div = $(this).attr("form_action_div");
}
if (!$(this).attr("return_data_type")) {
var return_data_type = 'json';
} else {
var return_data_type = $(this).attr("return_data_type");
}
if ($("#newsletter_modal_signup_380-notification").html() != "") {
$("#newsletter_modal_signup_380-notification").remove();
}
if ($(this).find('input[type="submit"]').length > 0) {
$(this).find('input[type="submit"]').before('<div id="newsletter_modal_signup_380-notification" class="alert"></div>');
} else {
$(this).prepend('<div id="newsletter_modal_signup_380-notification" class="alert"></div>');
}
var notification = $("#newsletter_modal_signup_380-notification");
if ((form_action_type == "" || form_action_type == "default") && action.indexOf("account") >= 0) {
notification.html(`Processing Request...`).addClass("alert-warning");
setTimeout(function(){
fv.defaultSubmit();
}, 100);
} else {
notification.html(`Processing Request...`).addClass("alert-warning");
if(counterSubmit == 0) {
counterSubmit++;
var fields = $(this).serializeArray();
var formField = [];
var processData = true;
var contentType = "application/x-www-form-urlencoded; charset=UTF-8";
if($("#newsletter_modal_signup_380 input[type=file]").length > 0){
var formObject = new FormData();
processData = false;
contentType = false;
$(fields).each(function(index,field){
formField.push(field.name+"="+field.value);
});
values = formField.join("&");
$(formField).each(function(index,fieldValue){
var fieldInfo = fieldValue.split('=');
formObject.append(fieldInfo[0],fieldInfo[1]);
});
$("#newsletter_modal_signup_380 input[type=file]").each(function(index,node){
var file = this.files[0];
if(typeof file != "undefined"){
formObject.append("file_addon["+$(node).attr('name')+"]", file, file.name);
}
});
}else{
$(fields).each(function(index,field){
formField.push(field.name+"="+encodeURIComponent(field.value));
});
var formObject = formField.join("&");
}
$.ajax({
url: action,
type: method,
data: formObject,
dataType: return_data_type,
processData: processData,
contentType: contentType,
success: function (data) {
if (return_data_type == "html") {
var result = 'success';
if (!data != "") {
var result_widget = data['result_widget'];
}
} else {
if (!data['result']) {
var result = 'error';
} else {
var result = data['result'];
}
if (!data['result_widget']) {
var result_widget = '';
} else {
var result_widget = data['result_widget'];
}
}
if (result == "success") {
if (!data['message']) {
var message = `Your information has submitted successfully!`;
} else {
var message = data['message'];
}
if (!data['redirect_url']) {
var redirect_url = '';
} else {
var redirect_url = data['redirect_url'];
}
if (form_action_type == "notification") {
notification.html(message + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>')
.addClass('alert-dismissible')
.addClass("alert-success")
.removeClass("alert-danger")
.removeClass("alert-warning")
if(notification.parents('.modal').length && 'newsletter_modal_signup_380' == 'whmcs_billing_address'){
setTimeout(function(){
notification.parents('.modal').modal('hide');
}, 1000);
}
} else if (form_action_type == "widget") {
if (result_widget != '') {
setTimeout(function(){
if(form_action_div != '.newsletter_modal_form_container'){
$("html, body").animate({ scrollTop: 0 }, 600);
}
$(form_action_div).html(decodeHtml(result_widget)).text();
}, 1000);
}
} else if (form_action_type == "redirect") {
if (redirect_url == "") {
redirect_url = decodeURIComponent("");
}
if (redirect_url.substring(0, 1) != "/" && redirect_url.substring(0, 1) != "h") {
redirect_url = "/" + redirect_url;
}
current_location = "/united-states/yorba-linda/automotive/ocrv-paint-service";
refresh_pages_string = "/login";
refresh_pages_string = refresh_pages_string.replace(/ /g,'');
refresh_pages_array = refresh_pages_string.split(',');
notification.html(message)
.addClass("alert-success")
.removeClass("alert-danger")
.removeClass("alert-warning")
.delay(2000).slideUp();
if(action == "/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page" && current_location.indexOf("/login") == -1 && refresh_pages_string != '' && (!refresh_pages_array.includes(current_location) || refresh_pages_string == "/login" )){
window.location.href = window.location.href+'?logged';
} else {
window.location.href = redirect_url;
}
fv.resetForm(true);
}
if(form_action_div != '.newsletter_modal_form_container' && 'newsletter_modal_signup_380' != 'whmcs_billing_address'){
$('.modal-backdrop').hide();
}
} else {
if(typeof grecaptcha !== "undefined"){
grecaptcha.reset();
}
if (!data['message']) {
var message = `You entered invalid data. Please try to save again.`;
} else {
var message = data['message'];
}
$("#newsletter_modal_signup_380-notification").html(message)
.addClass("alert-danger")
.removeClass("alert-success")
.removeClass("alert-warning")
.fadeIn();
fv.disableSubmitButtons(false);
}
counterSubmit = 0;
},
error: function (e) {
if(typeof grecaptcha !== "undefined"){
grecaptcha.reset();
$("#newsletter_modal_signup_380-notification").html(`Recaptcha Error`);
} else {
$("#newsletter_modal_signup_380-notification").html(`A connection error occurred while saving. Please try to save again.`);
}
$("#newsletter_modal_signup_380-notification").addClass("alert-warning")
.removeClass("alert-success")
.removeClass("alert-warning")
.fadeIn();
counterSubmit = 0;
}
});/// End Ajax
}
}//END else
}).bind('keydown', function(event) {
if (event.ctrlKey || event.metaKey) {
switch (String.fromCharCode(event.which).toLowerCase()) {
case 's':
$(this).submit();
break;
}
}
});
/// This will turn any select2 that are required in the form builder to being required elements.
$('#newsletter_modal_signup_380 select').each(function (i, obj) {
setTimeout(function(){
if ($(obj).prop("required") && $(obj).attr("style") == "display: none;") {
$(obj).css("z-index","-999");
$(obj).css("height","0");
$(obj).css("width","0");
$(obj).css("display","block");
$(obj).css("position","absolute");
}
}, 3000);
});
});//END $('# echo $_SERVER[form_element_id]; ').formValidation(
</script>
<div class="modal fade" id="newsletter_subscribe_modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<br>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h3 class="nomargin">
Join Our Newsletter
</h3>
<hr>
<div class="newsletter_modal_form_container">
<style type="text/css">label span.required { color: #B94A48; }span.help-inline, span.help-block {font-size: .9em; }</style><form action="/api/widget/json/get/Bootstrap%20Theme%20-%20Module%20-%20Newsletter%20Actions" id="newsletter_modal_signup_380" method="post" labelwidth="100" labelpaddingtop="0.5em" enctype="multipart/form-data" form_action_type="widget" form_action_div=".newsletter_modal_form_container" return_data_type="" name="newsletter_modal_signup_380" class=" "><input type="hidden" name="sized" value="0" id="newsletter_modal_signup_380-element-0"/><input type="hidden" name="mysql_real_escape_string_runned" value="1" id="newsletter_modal_signup_380-element-1"/><input type="hidden" name="userid" value="172282" id="newsletter_modal_signup_380-element-2"/><input type="hidden" name="form" value="myform" id="newsletter_modal_signup_380-element-3"/><input type="hidden" name="formname" value="newsletter_modal_signup" id="newsletter_modal_signup_380-element-4"/><input type="hidden" name="dowiz" value="1" id="newsletter_modal_signup_380-element-5"/><input type="hidden" name="save" value="1" id="newsletter_modal_signup_380-element-6"/><input type="hidden" name="url_origin_pars" value="/united-states/yorba-linda/automotive/ocrv-paint-service" id="newsletter_modal_signup_380-element-7"/><input type="hidden" name="action" autocomplete="off" value="subscribe" id="newsletter_modal_signup_380-element-8"/><div class="form-group"><input type="text" name="first_name" placeholder="Name" autocomplete="off" value class="form-control control-group form-control " id="newsletter_modal_signup_380-element-9"/></div><div class="form-group"><input type="email" name="email" required placeholder="Enter email address" autocomplete="off" value class="form-control control-group form-control" id="newsletter_modal_signup_380-element-10"/></div><div class="form-group"><div class="form-group security_question_label">
<div id="newsletter_modal_signup_380-captchaContainer" class="control-group">
<div class="g-recaptcha" id="newsletter_modal_signup_380-google-recaptcha"></div>
</div>
<small class="help-block" id="recaptcha_error" style="display:none;" data-fv-validator="notEmpty" data-fv-for="recaptcha" data-fv-result="INVALID" />The security check was not completed successfully.</small>
<div class="clearfix bmargin"></div>
<input type="hidden" name="recaptcha" id="newsletter_modal_signup_380-rcap">
</div>
<style>
.modal .g-recaptcha-scale, .col-md-4 .g-recaptcha-scale, .col-md-3 .g-recaptcha-scale, .col-lg-3 .g-recaptcha-scale, .col-lg-4 .g-recaptcha-scale {
transform: scale(0.77);
-webkit-transform: scale(0.77);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
margin-bottom: -15px;
}
.modal #newsletter_modal_signup_380-captchaContainer, .col-md-4 #newsletter_modal_signup_380-captchaContainer, .col-md-3 #newsletter_modal_signup_380-captchaContainer, .col-lg-3 #newsletter_modal_signup_380-captchaContainer, .col-lg-4 #newsletter_modal_signup_380-captchaContainer {
transform: scale(0.77);
-webkit-transform: scale(0.77);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
margin-bottom: -15px;
}
</style>
<script type="text/javascript">
var formID = '';
var currentCaptcha = {};
var captchaHolders = {};
if(typeof formsFound == "undefined"){
var formsFound = {};
window.addEventListener('load', () => {
formID = document.querySelectorAll('[name="recaptcha"]');
if (typeof formID != "undefined" && formID !== null) {
for (let i = 0; i < formID.length; i++) {
let formIDForm = formID[i].closest('form');
let captchaHolder = formIDForm.querySelector(".g-recaptcha");
if (typeof formsFound[formIDForm.id] != "undefined") {
formsFound[formIDForm.id]['counter']++;
}else{
formsFound[formIDForm.id] = {'counter' : 1};
}
formIDForm.setAttribute('data-counter', formsFound[formIDForm.id]['counter']);
captchaHolder.setAttribute('id',captchaHolder.id+'-'+formsFound[formIDForm.id]['counter']);
if (typeof formIDForm != "undefined" && formIDForm !== null) {
formIDForm.addEventListener('click', reCaptchaOnFormClick, false);
}
}
}
});
}
function reCaptchaOnFormClick(event) {
currentCaptchaForm = event.srcElement.closest('form');
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit&hl=en';
head.appendChild(script);
if (typeof currentCaptchaForm != "undefined" && currentCaptchaForm !== null) {
currentCaptchaForm.removeEventListener('click', reCaptchaOnFormClick, false);
}
}
var onloadCallback = function (event) {
var captcha = currentCaptchaForm.querySelectorAll('div[class=g-recaptcha]');
if(captcha[0].id){
captchaHolders[captcha[0].id] = grecaptcha.render(captcha[0].id, {
'sitekey': '6LeW4w8UAAAAAOldQ6hNXLhb9VBoUl4UYszeKGuf'
});
}
}
</script>
<script>
function respuesta() {
var checkedTextArea = document.getElementsByClassName('g-recaptcha');
var rcap = document.getElementsByTagName('recaptcha');
for (var i = 0; i < checkedTextArea.length; i++) {
if (checkedTextArea[i].value != '') {
for (var index = 0; i < rcap.length; index++) {
rcap[index].setAttribute("value", "checked");
}
}
}
}
$(document).ready(function(){
$("#newsletter_modal_signup_380 input[type=submit]").unbind('click');
$("#newsletter_modal_signup_380 input[type=submit]").click(function (event) {
var formId = $(this.form).attr('id');
var captchaHolderKey = formId + "-google-recaptcha-" +$(this.form).data('counter');
if (typeof captchaHolders[captchaHolderKey] != "undefined") {
event.preventDefault();
if (grecaptcha.getResponse(captchaHolders[captchaHolderKey]) === "") {
$("#" + formId).formValidation('validate');
$("#" + formId + " .security_question_label").addClass("has-error");
$("#" + formId + " #recaptcha_error").css("display", "block");
return false;
} else {
$("#" + formId + " .security_question_label").removeClass("has-error");
$("#" + formId + " #recaptcha_error").css("display", "none");
respuesta();
$("#" + formId).submit();
}
}
});
});
</script></div><div class="form-group"><input type="hidden" name="bd_hpc" autocomplete="off" value class="form-control control-group " id="newsletter_modal_signup_380-element-13"/></div><div class="form-actions"><input type="submit" value="Subscribe Now" name class="btn btn-success btn-block btn-lg bold " id="newsletter_modal_signup_380-element-14"/></div><input type='hidden' name='origin' value='/united-states/yorba-linda/automotive/ocrv-paint-service'></form><script type="text/javascript">jQuery(document).ready(function() { jQuery("#newsletter_modal_signup_380").bind("submit", function() {
});}); </script> </div>
<br>
</div>
</div>
</div>
</div>
</div>
</div> <script type="text/javascript">
var counterSubmit = 0;
$(document).ready(function() {
$(`form[name='member_login_66']`).formValidation({"framework":"bootstrap","fields":{"email":{"validators":{"emailAddress":{"message":"Please enter a valid email address"}}}}}).on('success.form.fv', function(e,fvdata) {
if('member_login' == 'unsubscribe_email'){
return true;
}
// Prevent form submission
e.preventDefault();
$form = $(e.target),
fv = $form.data('formValidation');
var values = $(this).serialize();
var locationFieldCorrect = true;
if($("#member_login_66 .location_required").length > 0){
$("#member_login_66 .location_required").each(function (index) {
if($(this).data('state') == 1){
if($('#member_login_66 input[name="lead_location"]').val() == "" || $('#member_login_66 input[name="lat"]').val() == "" || $('#member_login_66 input[name="lng"]').val() == "") {
locationFieldCorrect = false;
}
}
});
}
if(locationFieldCorrect === false){
//check that there is a latitude or longitude
swal(`Whoops!`, `The location information is required to submit this form`, "error");
return false;
}
if (!$(this).attr("action")) {
var action = '';
} else {
var action = $(this).attr("action");
}
if (!$(this).attr("method")) {
var method = 'post';
} else {
var method = $(this).attr("method");
}
if (!$(this).attr("form_action_type")) {
var form_action_type = 'notification';
} else {
var form_action_type = $(this).attr("form_action_type");
}
if (!$(this).attr("form_action_div")) {
var form_action_div = '#first_container';
} else {
var form_action_div = $(this).attr("form_action_div");
}
if (!$(this).attr("return_data_type")) {
var return_data_type = 'json';
} else {
var return_data_type = $(this).attr("return_data_type");
}
if ($("#member_login_66-notification").html() != "") {
$("#member_login_66-notification").remove();
}
if ($(this).find('input[type="submit"]').length > 0) {
$(this).find('input[type="submit"]').before('<div id="member_login_66-notification" class="alert"></div>');
} else {
$(this).prepend('<div id="member_login_66-notification" class="alert"></div>');
}
var notification = $("#member_login_66-notification");
if ((form_action_type == "" || form_action_type == "default") && action.indexOf("account") >= 0) {
notification.html(`Processing Request...`).addClass("alert-warning");
setTimeout(function(){
fv.defaultSubmit();
}, 100);
} else {
notification.html(`Processing Request...`).addClass("alert-warning");
if(counterSubmit == 0) {
counterSubmit++;
var fields = $(this).serializeArray();
var formField = [];
var processData = true;
var contentType = "application/x-www-form-urlencoded; charset=UTF-8";
if($("#member_login_66 input[type=file]").length > 0){
var formObject = new FormData();
processData = false;
contentType = false;
$(fields).each(function(index,field){
formField.push(field.name+"="+field.value);
});
values = formField.join("&");
$(formField).each(function(index,fieldValue){
var fieldInfo = fieldValue.split('=');
formObject.append(fieldInfo[0],fieldInfo[1]);
});
$("#member_login_66 input[type=file]").each(function(index,node){
var file = this.files[0];
if(typeof file != "undefined"){
formObject.append("file_addon["+$(node).attr('name')+"]", file, file.name);
}
});
}else{
$(fields).each(function(index,field){
formField.push(field.name+"="+encodeURIComponent(field.value));
});
var formObject = formField.join("&");
}
$.ajax({
url: action,
type: method,
data: formObject,
dataType: return_data_type,
processData: processData,
contentType: contentType,
success: function (data) {
if (return_data_type == "html") {
var result = 'success';
if (!data != "") {
var result_widget = data['result_widget'];
}
} else {
if (!data['result']) {
var result = 'error';
} else {
var result = data['result'];
}
if (!data['result_widget']) {
var result_widget = '';
} else {
var result_widget = data['result_widget'];
}
}
if (result == "success") {
if (!data['message']) {
var message = `Your information has submitted successfully!`;
} else {
var message = data['message'];
}
if (!data['redirect_url']) {
var redirect_url = '';
} else {
var redirect_url = data['redirect_url'];
}
if (form_action_type == "notification") {
notification.html(message + '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>')
.addClass('alert-dismissible')
.addClass("alert-success")
.removeClass("alert-danger")
.removeClass("alert-warning")
if(notification.parents('.modal').length && 'member_login_66' == 'whmcs_billing_address'){
setTimeout(function(){
notification.parents('.modal').modal('hide');
}, 1000);
}
} else if (form_action_type == "widget") {
if (result_widget != '') {
setTimeout(function(){
if(form_action_div != '.newsletter_modal_form_container'){
$("html, body").animate({ scrollTop: 0 }, 600);
}
$(form_action_div).html(decodeHtml(result_widget)).text();
}, 1000);
}
} else if (form_action_type == "redirect") {
if (redirect_url == "") {
redirect_url = decodeURIComponent("");
}
if (redirect_url.substring(0, 1) != "/" && redirect_url.substring(0, 1) != "h") {
redirect_url = "/" + redirect_url;
}
current_location = "/united-states/yorba-linda/automotive/ocrv-paint-service";
refresh_pages_string = "/login";
refresh_pages_string = refresh_pages_string.replace(/ /g,'');
refresh_pages_array = refresh_pages_string.split(',');
notification.html(message)
.addClass("alert-success")
.removeClass("alert-danger")
.removeClass("alert-warning")
.delay(2000).slideUp();
if(action == "/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page" && current_location.indexOf("/login") == -1 && refresh_pages_string != '' && (!refresh_pages_array.includes(current_location) || refresh_pages_string == "/login" )){
window.location.href = window.location.href+'?logged';
} else {
window.location.href = redirect_url;
}
fv.resetForm(true);
}
if(form_action_div != '.newsletter_modal_form_container' && 'member_login_66' != 'whmcs_billing_address'){
$('.modal-backdrop').hide();
}
} else {
if(typeof grecaptcha !== "undefined"){
grecaptcha.reset();
}
if (!data['message']) {
var message = `You entered invalid data. Please try to save again.`;
} else {
var message = data['message'];
}
$("#member_login_66-notification").html(message)
.addClass("alert-danger")
.removeClass("alert-success")
.removeClass("alert-warning")
.fadeIn();
fv.disableSubmitButtons(false);
}
counterSubmit = 0;
},
error: function (e) {
if(typeof grecaptcha !== "undefined"){
grecaptcha.reset();
$("#member_login_66-notification").html(`Recaptcha Error`);
} else {
$("#member_login_66-notification").html(`A connection error occurred while saving. Please try to save again.`);
}
$("#member_login_66-notification").addClass("alert-warning")
.removeClass("alert-success")
.removeClass("alert-warning")
.fadeIn();
counterSubmit = 0;
}
});/// End Ajax
}
}//END else
}).bind('keydown', function(event) {
if (event.ctrlKey || event.metaKey) {
switch (String.fromCharCode(event.which).toLowerCase()) {
case 's':
$(this).submit();
break;
}
}
});
/// This will turn any select2 that are required in the form builder to being required elements.
$('#member_login_66 select').each(function (i, obj) {
setTimeout(function(){
if ($(obj).prop("required") && $(obj).attr("style") == "display: none;") {
$(obj).css("z-index","-999");
$(obj).css("height","0");
$(obj).css("width","0");
$(obj).css("display","block");
$(obj).css("position","absolute");
}
}, 3000);
});
});//END $('# echo $_SERVER[form_element_id]; ').formValidation(
</script>
<script>
window.addEventListener('load', (event) => {
setTimeout(() => {
}, 501);
});
</script>
<script>
function decision(message, url) {
if (confirm(message)) {
setTimeout(function () {
window.location = url;
}, 0);
}
}
</script>
<script>
// Function to add alt, width, and height attributes to <img> elements without them
function addAttributesToImages() {
var images = document.querySelectorAll('img:not([alt]), img:not([width]), img:not([height])');
Array.prototype.forEach.call(images, function(img) {
// Add alt attribute if missing
if (!img.hasAttribute('alt')) {
var src = img.getAttribute('src') || 'image'; // Default src to 'image' if missing
var altText = src.split('/').pop().split('?')[0].replace(/\.\w+$/, '');
try {
altText = decodeURIComponent(altText)
.replace(/[_\-+,.:;]+/g, ' ')
.replace(/\s+/g, ' ')
.trim();
} catch (e) {
altText = 'image'; // Fallback to 'image' if decoding fails
}
// Ensure altText is not empty, otherwise use 'image'
altText = altText || 'image';
img.setAttribute('alt', altText);
}
// Add width and height attributes if missing
if (!img.hasAttribute('width') || !img.hasAttribute('height')) {
// Handle SVG differently
if (img.src.endsWith('.svg')) {
// For SVG, use the viewBox to set width and height, if available
fetch(img.src)
.then(response => response.text())
.then(svgText => {
var parser = new DOMParser();
var svgDoc = parser.parseFromString(svgText, "image/svg+xml");
var svgElement = svgDoc.querySelector('svg');
if (svgElement) {
var viewBox = svgElement.getAttribute('viewBox');
if (viewBox) {
var viewBoxValues = viewBox.split(' ');
var width = viewBoxValues[2];
var height = viewBoxValues[3];
if (!img.hasAttribute('width')) {
img.setAttribute('width', width);
}
if (!img.hasAttribute('height')) {
img.setAttribute('height', height);
}
}
}
});
} else {
// For non-SVG images, use natural dimensions
var tempImg = new Image();
tempImg.src = img.src;
tempImg.onload = function() {
if (!img.hasAttribute('width')) {
img.setAttribute('width', tempImg.naturalWidth);
}
if (!img.hasAttribute('height')) {
img.setAttribute('height', tempImg.naturalHeight);
}
};
}
}
});
}
document.addEventListener('DOMContentLoaded', function() {
// Run the function initially to catch images already in the DOM
addAttributesToImages();
// Create a MutationObserver to monitor the DOM for added/changed images
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.addedNodes.length > 0 || mutation.type === 'attributes') {
addAttributesToImages(); // Add alt, width, and height attributes to any newly added or modified images
}
});
});
// Start observing the document body for changes
observer.observe(document.body, {
childList: true, // Watch for added or removed nodes
subtree: true, // Watch the entire subtree
attributes: true, // Watch for attribute changes
attributeFilter: ['src'] // Specifically watch for changes in the 'src' attribute
});
});
</script><style type='text/css'> select#sid[disabled], select#tid[disabled], select.combobox[disabled], select#bd-chained[disabled], select#category-chained[disabled], select.infinite-chained[disabled], select.subcategory-chained[disabled], select.search-chained[disabled], select#country-chained[disabled], select#state-chained[disabled], select#country-chained-2[disabled], select#state-chained-2[disabled], select#profession_id[disabled] {
cursor: wait
}
select.select2-preload {
line-height: initial;
}
select#sid, select#tid, select.combobox, select#bd-chained, select#category-chained, select.infinite-chained, select.subcategory-chained, select.search-chained, select#country-chained, select#state-chained, select#country-chained-2, select#state-chained-2, select#profession_id, [name^="bd_phone_country_code"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url(/images/select2ArrowDown.png) !important;
background-repeat: no-repeat !important;
background-size: 10px 9px !important;
background-position: 99% 16px;
border-radius: 6px;
overflow: hidden;
}
.module select#sid, .module select#tid, .module select.combobox, .module select#bd-chained, .module select#category-chained, .module select.infinite-chained, .module select.subcategory-chained, .module select.search-chained, .module select#country-chained, .module select#state-chained, .module select#country-chained-2, .module select#state-chained-2, .module select#profession_id, [name^="bd_phone_country_code"] {
background-position: 98.2% 12px;
} </style> <!-- DROPDOWN SELECT SCRIPT -->
<!-- Select2 CSS Included in website-styles.pkgd.min.css -->
<!--[if lt IE 9]>
<script defer src="https://www.optimizecdn.com/directory/cdn/assets/html5shiv/3.7.2/html5shiv.min.js"></script>
<script defer src="https://www.optimizecdn.com/directory/cdn/bootstrap/select2/master/js/respond.min.js"></script>
<![endif]-->
<script>
var preloaded_ttid = false;
var preloaded_tid = false;
var preloaded_sid = false;
var path = window.location.pathname.replace(/\//g, "_");
if (performance.navigation.type !== 2) {
if (sessionStorage.getItem('select2_ttid'+path) !== null) {
sessionStorage.removeItem('select2-ttid'+path);
}
if (sessionStorage.getItem('select2-tid'+path) !== null) {
sessionStorage.removeItem('select2-tid'+path);
}
if (sessionStorage.getItem('select2-sid'+path) !== null) {
sessionStorage.removeItem('select2-sid'+path);
}
}else if(performance.navigation.type === 2){
if (sessionStorage.getItem('select2-ttid'+path) !== null) {
preloaded_ttid = sessionStorage.getItem('select2-ttid'+path);
}
if (sessionStorage.getItem('select2-tid'+path) !== null) {
preloaded_tid = sessionStorage.getItem('select2-tid'+path);
}
if (sessionStorage.getItem('select2-sid'+path) !== null) {
preloaded_sid = sessionStorage.getItem('select2-sid'+path);
}
}
window.addEventListener('load', () => {
let select2Inputs = document.querySelectorAll('.select-category-chained,#sid,#tid,.combobox,#bd-chained,#category-chained,.infinite-chained,.subcategory-chained,.search-chained,select#country-chained,#state-chained,#country-chained-2,#state-chained-2,#profession_id,[name^="bd_phone_country_code"]');
if (typeof select2Inputs != "undefined") {
for (let i = 0; i < select2Inputs.length; i++) {
let inputPlaceHolder = select2Inputs[i].getAttribute('placeholder');
if (!select2Inputs[i].getAttribute('placeholder')) {
inputPlaceHolder = select2Inputs[i].getAttribute('data-placeholder');
}
let countryCode = select2Inputs[i].getAttribute('data-country-code');
if (select2Inputs[i].getAttribute('data-country-code') != null && countryCode > 0 && typeof isoCountries != 'undefined') {
for (let c = 0; c < isoCountries.length; c++) {
if(isoCountries[c].id == countryCode){
// select2Inputs[i].querySelector('option:first-child').text = isoCountries[c].text;
select2Inputs[i].text = isoCountries[c].text;
}
}
}
if(select2Inputs[i].hasAttribute('data-country-code')){
inputPlaceHolder = null; //reset the input
}
if (inputPlaceHolder != '' && inputPlaceHolder !== null) {
select2Inputs[i].querySelector('option:first-child').text = inputPlaceHolder;
select2Inputs[i].style.color = "#a8a8a8";
if(!select2Inputs[i].querySelector('option:first-child').hasAttribute('value')){
select2Inputs[i].querySelector('option:first-child').value='';
}
}
select2Inputs[i].classList.add("select2-preload");
select2Inputs[i].addEventListener('mousedown', select2OnFormClick, false);
}
}
});
function select2OnFormClick(event = false) {
let elemtClicked = '';
if (event !== false) {
event.preventDefault();
event.stopImmediatePropagation();
elemtClicked = event.target;
elemtClicked.disabled = true;
}
let loadScriptAsync = function (uri) {
return new Promise((resolve, reject) => {
let script = document.createElement('script');
script.type = 'text/javascript';
script.src = uri;
script.async = true;
script.onload = function () {
if (event !== false) {
elemtClicked.disabled = false;
select2Initialize();
$(elemtClicked).select2('open');
$(elemtClicked).on("select2-close", function () {
setTimeout(function() {
$('.select2-container-active').removeClass('select2-container-active');
$(':focus').blur();
}, 1);
});
if (elemtClicked.hasAttribute('data-fv-field')) {
if (window.getComputedStyle(elemtClicked).display === "none") {
// if element is display none, the formvalition can not read
elemtClicked.style.cssText = "display: block;position: absolute;visibility: hidden !important;height: 0;width: 0;opacity: 0 !important;"
}
}
} else {
select2Initialize();
}
resolve("ok");
};
let head = document.getElementsByTagName('head')[0];
head.appendChild(script);
});
}
let select2Inputs = document.querySelectorAll('.select-category-chained,#sid,#tid,.combobox,#bd-chained,#category-chained,.infinite-chained,.subcategory-chained,.search-chained,select#country-chained,#state-chained,#country-chained-2,#state-chained-2,#profession_id,[name^="bd_phone_country_code"]');
if (typeof select2Inputs != "undefined") {
for (let i = 0; i < select2Inputs.length; i++) {
let inputPlaceHolder = select2Inputs[i].getAttribute('placeholder');
if (!select2Inputs[i].getAttribute('placeholder')) {
inputPlaceHolder = select2Inputs[i].getAttribute('data-placeholder');
}
if(select2Inputs[i].hasAttribute('data-country-code')){
inputPlaceHolder = null; //reset the input
}
if (inputPlaceHolder != '' && inputPlaceHolder !== null) {
select2Inputs[i].querySelector('option:first-child').text = '';
}
select2Inputs[i].removeEventListener('mousedown', select2OnFormClick, false);
}
}
let scriptLoaded = loadScriptAsync('https://www.optimizecdn.com/directory/cdn/bootstrap/select2/3.5.2/select2.min.js?v=3.5.5');
return scriptLoaded;
}
function select2Initialize(){
function getSecondLevel(div,id) {
$("#" + div).select2("data", {
id: "",
text: "Loading..."
});
$.ajax({
url : '/ajaxsearch/get-services',
type : "GET",
data : {
'specialty_id' : id
},
dataType: "json",
success : function(data) {
var options = '';
for (var i = 0; i < data.length; i++) {
options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
}
if (div == "tid"){
$("#ttid").select2("data", {
id: "",
text: "No options available"
});
$("#ttid").select2("enable", false);
$("#" + div).change(function () {
sessionStorage.setItem("select2-tid"+path,$(this).val());
});
}
if (data.length > 1) {
$("#" + div).select2("enable",true);
$("#" + div).html(options);
$("#" + div).select2("val", "");
$("#" + div).select2("open");
} else {
$("#"+div).select2("data", {
id: "",
text: "No options available"
});
$("#"+div).select2("val", "");
}
if(div == 'tid' && preloaded_tid !== false){
$("#" + div).select2("val", preloaded_tid);
}
}
});
}
function getSecondLevelAccount(div,id) {
$("#" + div).select2("data", {
id: "",
text: "Loading..."
});
$.ajax({
url : '/ajaxsearch/get-services',
type : "GET",
data : {
'specialty_id' : id
},
dataType: "json",
success : function(data) {
var options = '';
for (var i = 0; i < data.length; i++) {
options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
}
if (data.length > 1) {
$("#" + div).select2("close");
$("#" + div).select2("val", "");
$("#" + div).select2("enable",true);
$("#" + div).html(options);
} else {
$("#"+div).select2("data", {
id: "",
text: "No options available"
});
$("#"+div).select2("val", "");
}
}
});
}
function getThirdLevel(div,id,id2) {
$("#"+div).select2("data", {
id: "",
text: "Loading..."
});
$.ajax({
url : '/ajaxsearch/get-locations',
type : "GET",
data : {
'specialty_id' : id,
'treatment_id' : id2,
},
dataType: "json",
success : function(data) {
var options = '';
for (var i = 0; i < data.length; i++) {
options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
}
if (data.length > 1) {
$("#" + div).select2("enable",true);
$("#" + div).html(options);
$("#" + div).select2("val", "");
$("#" + div).select2("open");
} else {
$("#"+div).select2("data", {
id: "",
text: "No options available"
});
$("#"+div).select2("val", "");
}
}
});
}
var current_country = '';
function getStateList(div,id) {
if (id != current_country) {
$("#"+div).select2("data", {
id: "",
text: "Loading..."
});
$.ajax({
url : '/ajaxsearch/get-states',
type : "GET",
data : {
'country' : id
},
dataType: "json",
success : function(data) {
$("#" + div).html(''); // clear options
if (data.length > 1) {
var options = '';
for (var i = 0; i < data.length; i++) {
// options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
var newOption = new Option(data[i].title, data[i].value, false, false);
$("#" + div).append(newOption).trigger('change');
}
$("#" + div).select2("enable",true);
//$("#" + div).html(options);
$("#" + div).prop("disabled", false);
$("#" + div).select2("val", "");
$("#" + div).select2("open");
}
}
});
} else {
$("#" + div).select2("val", "");
}
}
function getInfinityChained(div,id) {
$("#"+div).select2("data", {
id: "",
text: "Loading..."
});
$.ajax({
url : '/ajaxsearch/get-subcategory',
type : "GET",
data : {
'parent' : id
},
dataType: "json",
success : function(data) {
var options = '';
for (var i = 0; i < data.length; i++) {
options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
}
if (data.length > 1) {
$("#" + div).select2("enable",true);
$("#" + div).html(options);
if(div == 'tid' && '' != ''){
$("#" + div).select2("val", "");
} else if(div == 'tid' && preloaded_tid !== false){
$("#" + div).select2("val", preloaded_tid);
}else {
$("#" + div).select2("val", "");
}
$("#" + div).select2("open");
} else {
$("#" + div).select2("data", {
id: "",
text: "No options available"
});
}
}
});
}
function categoryChained(div,id) {
$("#" + div).select2("data", {
id: "",
text: "Loading..."
});
if(div == "tid") {
url_link = '/ajaxsearch/get-services'
data_passed = {'specialty_id' : id}
} else {
url_link = '/ajaxsearch/category-list';
data_passed = {'parent' : id} ;
}
var selectName = $("select[next="+div+"]").prop("name");
if( (selectName == "ttid" || selectName == "sid" || selectName == "tid") ){
sessionStorage.setItem("select2-"+selectName+path,id);
}
$.ajax({
url : url_link,
type : "GET",
data : data_passed,
dataType: "json",
success : function(data) {
var options = '';
for (var i = 0; i < data.length; i++) {
options += '<option value="' + data[i].value + '">' + data[i].title + '</option>';
}
if (data.length > 1) {
$("#" + div).select2("enable",true);
$("#" + div).html(options);
if(div == "ttid" && preloaded_ttid !== false){
$("#" + div).select2("val", preloaded_ttid);
$("#" + div).trigger('change');
}else if(div == "tid" && preloaded_tid !== false){
$("#" + div).select2("val", preloaded_tid);
$("#" + div).trigger('change');
}else{
$("#" + div).select2("val", "");
}
$("#" + div).select2("open");
} else {
$("#" + div).select2("data", {
id: "",
text: "No options available"
});
}
}
});
}
function formatCountry(country) {
if (!country.id && country.text.includes("+")) {
let dataCountry = country.text;
dataCountry = dataCountry.split('+')
country.code = dataCountry[0].trim();
country.id = dataCountry[1].trim();
return country;
} else if (!country.code) {
return country.text;
}
var $country = $(
'<span class="flag-icon flag-icon-' + country.code.toLowerCase() + ' flag-icon-squared"></span>' +
'<span class="flag-text" style="margin-left:10px;">' + country.text + '</span>'
);
return $country;
}
let phoneCountryCode = document.querySelector("[name^='bd_phone_country_code']");
if (typeof phoneCountryCode != 'undefined' && phoneCountryCode != null && typeof isoCountries != 'undefined') {
$("[name^='bd_phone_country_code']").select2({
placeholder:`Country`,
data:isoCountries,
searchInputPlaceholder: `Enter Country Code`,
formatResult : formatCountry,
dropdownAutoWidth: true,
width: "resolve",
}).on("select2-opening", function (e) {
if (typeof e.currentTarget.attributes['data-default-country-code'] !== "undefined") {
$(this).val(e.currentTarget.attributes['data-default-country-code'].value)
.removeAttr("data-default-country-code")
.trigger('change')
.trigger('open');
}
}).change(function (e) {
let select2Span = $(this).attr('id');
if (e.val) {
$('#'+$(this).attr('id')+'--flag').remove();
$('#s2id_' + select2Span + ' a span.select2-chosen').prepend('<span class="flag-icon flag-icon-' + e.added.code.toLowerCase() + ' flag-icon-squared" style="margin-right:10px"></span>')
}else{
$('#s2id_' + select2Span + ' a span.select2-chosen').prepend('<span class="flag-icon flag-icon-' + $(this).attr('data-default-country-flag').toLowerCase() + ' flag-icon-squared" style="margin-right:10px"></span>')
}
$(this).removeAttr("data-default-country-flag");
});
}
$("#bd-chained").select2({
title: "Select An Option",
placeholder: "Select An Option",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
$("#tid").select2("enable",false);
getInfinityChained("tid",id);
$("#tid").select2("open");
});
$("#category-chained").select2({
title: "Select An Option",
placeholder: "Select An Option",
allowClear: true
}).change(function () {
var id = $(this).val();
$("#subcategory-chained").select2("enable",false);
categoryChained("subcategory-chained",id);
$("#subcategory-chained").select2("open");
});
$(".select-category-chained").select2({
title: "Select An Option",
placeholder: "Select An Option",
allowClear: true
})
$(".infinite-chained").select2({
title: "Select option from list",
placeholder: "Click to select an option",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
var attr = $(this).attr('next');
var selectName = $(this).prop('name');
if ( selectName=='ttid' || attr =='ttid' ) {
$("#" + attr).select2("enable",false);
categoryChained(attr,id);
$("#" + attr).select2("open");
sessionStorage.setItem("select2-"+selectName+path,id);
}
}).on("select2-close", function () {
setTimeout(function() {
$('.select2-container-active').removeClass('select2-container-active');
$(':focus').blur();
}, 1);
});
$("#subcategory-chained").select2();
$(".combobox").select2();
$(".search-chained").select2();
$("select#country-chained").select2({
title: "",
placeholder: "",
val: "",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
$("#state-chained").select2("enable",false);
getStateList("state-chained",id);
var state = "";
if (id == "CA") {
state = "Province";
} else if (id == "UK") {
state = "Region";
} else if (id == "US" || id == "AU") {
state = "State";
} else {
state = "Region";
}
$("#state-chained").prev(".control-label").text(state);
});
$("#state-chained").select2();
$("#state-chained").on("select2-open", function(event) {
event.preventDefault();
var id = $("#country-chained").val();
var count = $('#state-chained option').length;
if (id != "" && count < 2) {
$("#state-chained").select2("enable",false);
getStateList("state-chained",id);
var state = "";
if (id == "CA") {
state = "Province";
} else if (id == "UK") {
state = "Region";
} else if (id == "US" || id == "AU") {
state = "State";
} else {
state = "Region";
}
$("#state-chained").prev(".control-label").text(state);
}
});
$("#country-chained-2").select2({
title: "Select Country",
placeholder: "(select country)",
val: "",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
$("#state-chained-2").select2("enable",false);
getStateList("state-chained-2",id);
var state = "";
if (id == "CA") {
state = "Province";
} else if (id == "UK") {
state = "Region";
} else if (id == "US" || id == "AU") {
state = "State";
} else {
state = "Region";
}
$("#state-chained-2").prev(".control-label").text(state);
});
$("#state-chained-2").select2();
$("#profession_id").select2({
placeholder: "Select From List",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
getSecondLevelAccount("category_id",id);
$("#category_id").select2("open");
});
$("#sid").select2({
title: "Select An Option",
placeholder: "Select An Option",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
}).change(function () {
var id = $(this).val();
$("#tid").select2("enable",false);
getSecondLevel("tid",id);
$("#tid").select2("open");
sessionStorage.setItem("select2-sid"+path,id);
});
$("#location_value_dropdown").select2({
title: "(optional)",
placeholder: "(optional)",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
});
$("#tid").select2({
title: "Select An Option",
placeholder: "Select An Option",
allowClear: true,
formatNoMatches: function () {
return "No matches found";
}
});
$("#location_value_dropdown").select2({
title: "(optional)",
placeholder: "(optional)",
allowClear: true
});
}
if(preloaded_ttid !== false || preloaded_tid !== false || preloaded_sid !== false){
$(document).ready(function(){
if(preloaded_sid !== false && $("#sid").length > 0){
select2OnFormClick();
setTimeout(() => {
$("#sid").select2('val', preloaded_sid);
$('#sid').trigger('change');
}, 500);
}else if(preloaded_tid !== false && $("#sid").length <= 0){
select2OnFormClick();
setTimeout(() => {
$("#tid").select2('val', preloaded_tid);
$('#tid').trigger('change');
}, 500);
}
});
}
</script>
<script>
// Function to add aria-label to <select> elements without it, for better pagespeed accessibility score
$(document).ready(function() {
var ariaLabelCounter = {}; // Object to keep track of aria-label counts for uniqueness
// Iterate over each select element that does not have an aria-label
$('select:not([aria-label])').each(function() {
// Use the ID or placeholder as the base for the aria-label, stripping HTML tags
var baseLabel = this.id || $(this).attr('placeholder') || 'select';
baseLabel = baseLabel.replace(/<[^>]*>/g, '').trim(); // Remove HTML tags and trim
// Ensure uniqueness of each aria-label
ariaLabelCounter[baseLabel] = (ariaLabelCounter[baseLabel] || 0) + 1;
var ariaLabel = baseLabel + '-' + ariaLabelCounter[baseLabel];
// Truncate aria-label to 100 characters
ariaLabel = ariaLabel.length > 100 ? ariaLabel.substring(0, 100) : ariaLabel;
// Set the aria-label attribute to the unique label
$(this).attr('aria-label', ariaLabel);
});
});
</script>
<style type='text/css'> .input-group.normal-autosuggest input,.input-group.sm-autosuggest input, .input-group.md-autosuggest input {
border-radius: 0 3px 3px 0 !important;
box-shadow: none;
}
.normal-autosuggest .twitter-typeahead, .sm-autosuggest .twitter-typeahead, .md-autosuggest .twitter-typeahead, .large-autosuggest .twitter-typeahead {
display: inline-block;
height: 25px;
position: relative;
width: 100%;
}
.input-group.normal-autosuggest .twitter-typeahead, .input-group.sm-autosuggest .twitter-typeahead, .input-group.large-autosuggest .twitter-typeahead:not(.search_box .twitter-typeahead) {
width: inherit;
}
.normal-autosuggest .twitter-typeahead .clear_content.medium{
bottom: 0px;
}
.sm-autosuggest .twitter-typeahead .clear_content.small{
bottom: -4px;
}
.md-autosuggest.input-group .twitter-typeahead .clear_content.medium {
bottom: -2px;
}
.md-autosuggest .twitter-typeahead {
height: 32px;
}
.md-autosuggest .input-group-addon + .input_wrapper .twitter-typeahead {
height: 29px;
}
.md-autosuggest-input + .clear_content.medium {
bottom: 0px;
}
.large-autosuggest .twitter-typeahead {
height: 40px;
}
.normal-autosuggest .twitter-typeahead{
height: 34px;
}
.normal-autosuggest .twitter-typeahead .tt-hint, .sm-autosuggest .twitter-typeahead .tt-hint {
background: #fff !important;
border: 1px solid #ccc!important;
border-radius: 0 4px 4px 0;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset!important;
color: transparent;
left: 0;
padding: 4px 11px;
position: absolute;
top: 0;
width: 100%;
font-size:12px;
}
.normal-autosuggest.input-group-addon .fa, .sm-autosuggest .input-group-addon .fa {font-size:12px}
.md-autosuggest .twitter-typeahead .tt-hint {
height: 100%;
background: #ffffff none repeat scroll 0 0 !important;
border: 1px solid #cccccc !important;
border-radius: 0 4px 4px 0;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
color: rgba(0, 0, 0, 0);
left: 0;
padding: 6px 11px;
position: absolute;
top: 0;
width: 100%;
}
.large-autosuggest {background: #fff !important;border-radius:6px;}
.large-autosuggest input {width: 100%!important;box-shadow:none; border-radius: 6px;}
.input-group.large-autosuggest input,.input-group.large-autosuggest .twitter-typeahead .tt-hint {
border-radius: 0 6px 6px 0!important;
}
.large-autosuggest .twitter-typeahead .tt-hint {
background: #fff !important;
border: 1px solid #ccc!important;
border-radius: 6px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset!important;
color: transparent;
left: 0;
position: absolute;
top: 0;
width: 100%;
font-size: 18px;
height: 46px;
line-height: 1.33333;
padding: 10px 15px;
}
.tt-dataset .empty-message {
display: none !important;
}
.twitter-typeahead .tt-query {background-color:#fff!important}
.input-group.large-autosuggest span:first-child .tt-hint {border-radius: 0 !important;}
span.tt-dropdown-menu {
border: 1px solid #FCFCFC;
border-radius: 5px;
box-shadow: 0 5px 10px rgba(0,0,0,.2);
width: 100% !important;
}
.tt-is-under-cursor a.suggest-link {
background: #55ACEE;
}
.tt-is-under-cursor .media-heading,
.tt-is-under-cursor .suggest-origin,
.tt-is-under-cursor .location{
color:#fff!important;
}
.tt-suggestion .media .media-body .suggest-origin {
color: rgba(45, 91, 137,0.9);
padding: 1px 0;
border-radius: 6px;
font-weight: bold;
line-height: 12px;
}
.tt-suggestion {
background: #fff;
border-bottom: 1px solid #eee;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
body .tt-suggestions .media.br-bottom img {
max-width: 45px;
height: auto;
}
body .tt-suggestions .media-body span {
font-size: 10px;
}
body .tt-suggestions .media-body h4 {
font-size: 12px;
margin: 2px 0px;
text-transform: capitalize;
}
a.suggest-link {
padding: 5px;
display: block;
}
a.suggest-link img {
border-radius: 100px;
display: block;
margin: 0 auto;
height: 100%!important;
width: 100%;
object-fit: cover;
}
.left-suggest-col {
display: inline-block;
vertical-align: middle;
width: 44px;
height: 44px;
}
.right-suggest-col {
display: inline-block;
padding-left: 1%;
text-align: left;
vertical-align: middle;
width: calc(100% - 1% - 50px);
}
p.media-heading {
color: #333;
font-size: 12px;
font-weight: 600;
margin-bottom: 0;
}
p.suggest-origin {
font-size: 10px;
color: #333;
margin:0;
}
p.location {
color: #333;
font-size: 10px;
margin: 2px 0;
}
body .tt-is-under-cursor a.suggest-link {
background: #F7F7F7;
}
body .tt-is-under-cursor .media-heading, body .tt-is-under-cursor .suggest-origin, body .tt-is-under-cursor .location {
color: #333!important;
}
a.suggest-link[data-heading="heading"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
body .tt-is-under-cursor a.suggest-link[data-heading="heading"] {
background: rgb(14, 14, 14);
}
/* --- all the novalue css --- */
a.suggest-link .suggest-origin[data-state="novalue"] {
display: none;
}
a.suggest-link .location[data-state="novalue"] {
display: none;
}
a.suggest-link img[data-state="novalue"] {
display: none;
}
a.suggest-link .suggest-origin[data-state="heading"] {
display: none;
}
a.suggest-link .media-heading[data-heading="heading"] {
color:rgb(255, 255, 255)!important;
font-weight: bold;
padding: 4px;
font-size: 13px;
}
.left-suggest-col[data-photo="novalue"], .left-suggest-col[data-photo="undefined"] {
display: none;
}
.right-suggest-col[data-photo="novalue"], .right-suggest-col[data-photo="undefined"] {
width: 100%;
}
a.suggest-link[href="novalue"] {
cursor: default !important;
pointer-events: none;
}
a.suggest-link[data-heading="heading"] {
background-color: rgb(14, 14, 14);
}
div.content-shell {
overflow: inherit;
}
span.tt-dropdown-menu div {
float: none;
}
.tt-menu {
border-radius: 0 0 6px 6px;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
overflow: hidden;
width: 100%;
z-index: 150 !important;
}
.tt-menu .tt-dataset {
overflow-y: auto;
max-height: 200px;
} </style> <script type="text/javascript">
if (typeof decodeHtml != "function") {
function decodeHtml(html) {
var txt = document.createElement("textarea");
txt.innerHTML = html;
return txt.value;
}
}
function initializeTypeheadMember_search() {
var member_searchEngine = new Bloodhound({
initialize: false,
datumTokenizer: function (d) {
return Bloodhound.tokenizers.whitespace(value);
},
queryTokenizer: Bloodhound.tokenizers.whitespace,
remote: {
url: `/api/suggest/json/get/14,users_data,Listings,1,1,1,1,0,3|88,list_professions,Main Categories,1,0,0,0,0,3|89,list_services,Sub Categories,1,0,0,0,0,3?tID=1&q=%QUERY`,
wildcard: '%QUERY',
filter: function (response) {
if (response != null) {
//var response = response.slice(1);
$.each(
response, function (key, value) {
response[key]['value'] = decodeHtml(value['value']);
response[key]['comes_f'] = decodeHtml(value['comes_f']);
response[key]['location'] = decodeHtml(value['location']);
if (response[key]['value'].indexOf('-/-') >= 0) {
var splitResult = response[key]['value'].split('-/-');
response[key]['value'] = splitResult[0];
}
}
);
} else {
response = {error: "null"};
}
return response;
}
}
});
var member_searchDataSrc = member_searchEngine.initialize();
member_searchDataSrc
.done(function () { /*console.log('Autosuggestions engine initialized.'); */
})
.fail(function () { /*console.log('err, something went wrong while initializing autosuggestions engine:(');*/
})
$('.member_search').typeahead({
minLength: 2,
highlight: true,
hint: false },
{
display: 'value',
source: member_searchEngine.ttAdapter(),
limit: 10,
templates: {
empty: [
'<div class="empty-message">',
'Result not found',
'</div>'
].join(" "),
notFound: [
'<div class="notFound-message">',
'Result not found',
'</div>'
].join(" "),
suggestion: function (data) {
if (data == "null") {
strTemplate = '<div class="empty-message">Result not found</div>';
} else {
strTemplate = '<a class="suggest-link" href="' + data.link + '" data-state="' + data.link + '" data-heading="' + data.comes_f + '"> <div class="left-suggest-col" data-photo="' + data.photo + '"> <img src="' + data.photo + '" data-state="' + data.photo + '"> </div> <div class="right-suggest-col" data-photo="' + data.photo + '"> <p class="media-heading" data-state="' + data.value + '" data-heading="' + data.comes_f + '">' + data.value + '</p> <p class="suggest-origin" data-state="' + data.comes_f + '">' + data.comes_f + '</p> <p class="location" data-state="' + data.location + '">' + data.location + '</p> </div> </a> ';
if ((data.link == undefined) || (data.link == "") || (data.link == "novalue")) {
strTemplate = strTemplate.replace(/href=".*?"/, "href='#'");
}
if ((data.photo == undefined) || (data.photo == "") || (data.photo == "novalue")) {
strTemplate = strTemplate.replace(/<img src=".*?>/, "");
}
}
return strTemplate;
}
},
}).on('typeahead:selected', function (obj, datum) {
/*
console.log(obj);
console.log(datum);
*/
});
$('.member_search').each(function () {
var inputWidth = $(this).outerWidth();
$(this).siblings('.tt-dropdown-menu').css('width', inputWidth + 'px');
});
}
</script>
<script>
let typeheadElement = '.member_search';
let TypeheadNameListFunction = 'initializeTypeheadMember_search';
let typeheadFormElement = undefined;
window.addEventListener('load', () => {
if(typeheadElement.length > 1) {
typeheadFormElement = document.querySelectorAll(typeheadElement);
}
if (typeof typeheadFormElement != "undefined") {
for (let i = 0; i < typeheadFormElement.length; i++) {
let closestForm = typeheadFormElement[i].closest('form');
if (typeof closestForm != "undefined" && closestForm != null) {
closestForm.addEventListener('focus', typeheadFormClick, false);
}
typeheadFormElement[i].addEventListener('focus', typeheadFormClick, false);
}
}
});
function initializeTypehead(){
let splitFunctionNames= TypeheadNameListFunction.split(',');
for ( let funcName of splitFunctionNames)
if (typeof funcName != 'function') {
window[funcName](); // execute the function
}
}
function typeheadFormClick(event) {
let head = document.getElementsByTagName('head')[0];
let script = document.createElement('script');
let elementClicked = event.target;
script.type = 'text/javascript';
script.src = "https://cdnjs.cloudflare.com/ajax/libs/corejs-typeahead/0.11.1/typeahead.bundle.min.js";
script.onload = function () {
initializeTypehead();
elementClicked.focus();
};
head.appendChild(script);
if (typeof typeheadFormElement != "undefined") {
for (let i = 0; i < typeheadFormElement.length; i++) {
let closestForm = typeheadFormElement[i].closest('form');
if (typeof closestForm != "undefined" && closestForm != null) {
closestForm.removeEventListener('focus', typeheadFormClick, false);
}
typeheadFormElement[i].removeEventListener('focus', typeheadFormClick, false)
}
}
}
</script>
<script>
window.addEventListener('load', () => {
let embedlyClass = document.querySelector('.fr-embedly');
if (typeof embedlyClass != "undefined" && embedlyClass != null) {
let embedlyURI = "https://www.optimizecdn.com/directory/cdn/assets/bootstrap/js/embedly_widget.min.js";
let head = document.getElementsByTagName("head")[0];
let script = document.createElement('script');
script.type = 'text/javascript';
script.src = embedlyURI;
script.async = true;
head.appendChild(script);
}
});
</script><script type="text/javascript" src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/jquery.lazy/1.7.9/jquery.lazy.min.js"></script><script>
$(function () {
$(".lazyloader").Lazy({
afterLoad: function(element) {
$(".gridView.activeView").click();
}
});
});
$("button[class*='slick'],button[id*='slick']").click(function () {
$(this).parents(".row").find(".lazyloader").lazy({
bind: "event",
delay: 0
});
});
$("[class*='slick'],[id*='slick']").on("swipe",function(){
$(this).parents(".row").find(".lazyloader").lazy({
bind: "event",
delay: 0
});
});
</script><script defer src="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/js/websiteScripts.min.js?v=0.4"></script>
</body>
</html>