<!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/favicon-wyhours.png">
<link rel="icon" type="image/png" href="/images/favicon-wyhours.png">
<!-- Site Meta Data -->
<title>PROFESSIONAL SERVICES in Colchester :: Call Colchester Window and Door Repairs 01206 205445</title>
<meta name="description" content="Colchester Window and Door Repairs in Colchester ? Call Colchester Window and Door Repairs Colchester. PROFESSIONAL SERVICES in Colchester List your business for FREE on Whats Your Hours Online Directory whatsyouhours.com">
<meta name="keywords" content="Colchester Window and Door Repairs Colchester, in Colchester, near Colchester, in Colchester,PROFESSIONAL SERVICES in Colchester whats your hours,whatsyouhours.com">
<meta name="robots" content="index, follow">
<!-- Canonical URL -->
<link rel="canonical" href="https://www.whatsyourhours.com/england/colchester/professional-services/colchester-window-and-door-repairs">
<span style="position:absolute;color:transparent;width:100%;z-index:-1;height:50px;top:0;">
www.whatsyourhours.com - WhatsYourHours.com</span>
<!-- Preload -->
<link rel="preload" as="style" href="https://www.optimizecdn.com/directory/cdn/assets/bootstrap/css/critical-styles.pkgd.min.css?v=04.12.24.19" importance="high">
<link rel="preload" href="/logos/profile/limage-386682-186-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=2.1.1">
<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=04.12.24.19">
<!-- 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&display=swap">
<noscript>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+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">
<!-- Social Media Meta Data -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.whatsyourhours.com/england/colchester/professional-services/colchester-window-and-door-repairs">
<meta property="og:site_name" content="WhatsYourHours.com">
<meta property="og:title" content="Colchester Window and Door Repairs Colchester on Business Directory WhatsYourHours.com">
<meta property="og:description" content="Need a PROFESSIONAL SERVICES in Colchester ? Connect with Colchester Window and Door Repairs Colchester. List your business for FREE on Whats Your Hours Online Directory whatsyouhours.com">
<meta property="og:image" content="https://www.whatsyourhours.com/logos/social_media/limage-386682-186-photo.jpg">
<!-- Custom Site-wide HEAD Content --><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5626907719427106"
crossorigin="anonymous"></script>
<meta name="p:domain_verify" content="0192f025e1b246c4fedaeda7896d2803"/>
<meta name="google-site-verification" content="ax7bEcIfRaDJGE99Emb7RZXtgouIBPJLTtNZjBZjoXc" />
<meta name="google-site-verification" content="sNaMwMaveAqhBlwB92pyH2GIWqq1QhjtV1oz0bnINy8" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2CX9DC2SNX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2CX9DC2SNX');
</script>
<script type="text/javascript">
(function(d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function() {
if (!document.getElementById('root')) {
var root = d.createElement('div');
root.id = 'root';
d.body.appendChild(root);
}
if (window.myChatWidget && typeof window.myChatWidget.load === 'function') {
window.myChatWidget.load({
assistantId: '071f2a1a-eb0c-46a8-bd9c-82479407359f',
apiKey: '57dc0fb1-4fb9-4c4b-a6b9-49007b6d7398',
});
}
};
v.src = "https://agentivehub.com/production.bundle.min.js";
v.type = "text/javascript";
s.parentNode.insertBefore(v, s);
})(document, 'script');
</script> <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&key=AIzaSyBLkx_dAArthmEN61eYqMSiBVE5dHJbG-g"></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 file";
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(255, 255, 255);
color: rgb(41, 41, 41);
font-family: 'Open Sans';
font-size: 14px;
}
.select2-container .select2-choice {
font-family: 'Open Sans'!important;
}
html{
background: rgb(239, 239, 239) }
a,a.h1,a.h2,a.h3,a.h4,a.h5,a.h6,.pricing_menu li ul li a:not(.btn) {
color: rgb(0, 16, 162);
}
a:hover, a:focus,.pricing_menu li ul li a:not(.btn):hover,.pricing_menu li ul li a:not(.btn):focus {
color: rgb(0, 102, 219);
}
.breadcrumb a{
color: rgba(41, 41, 41,0.9);
}
.breadcrumb a:hover, .breadcrumb a:focus,.breadcrumb > .active {
color: rgb(41, 41, 41);
}
.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(255, 255, 255);
}
.header .mini-nav li a:not(.btn):not(.network-icon), .header .mini-nav span {
color: rgb(208, 29, 21);
font-size: 14px;
}
.header .mini-nav li a:not(.btn):hover {
color: rgba(208, 29, 21,0.95);
}
.header .btn_get_listed {
background-color: rgba(208, 29, 21,0.97);
border: 1px solid rgb(208, 29, 21);
color: rgb(255, 255, 255)!important;
}
.header .btn_get_listed:hover, .header .btn_get_listed:focus {
background-color: rgb(208, 29, 21);
}
.header .btn_search {
background-color: rgba(208, 29, 21,0.97);
border: 1px solid rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
.header .btn_search:hover, .header .btn_search:focus {
background-color: rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
/* Logo Design */
.logo,.logo:hover,.logo:focus {
color: rgb(208, 29, 21);
font-family: 'Open Sans';
}
.logo .slogan {
color: rgb(208, 29, 21);
}
.logo .fa {
color: rgb(208, 29, 21);
display: none;
}
/* Main Menu Design */
.member-profile-tabs > ul, .member-profile-tabs .tabs-container {
background: rgb(238, 238, 238);
position: sticky;
z-index: 1;
top: 0px;
}
@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: rgb(255, 255, 255);
}
.header ul.nav.navbar-nav li ul li a, .header ul.nav.navbar-nav li ul li span {
color: rgb(32, 80, 129);
}
.header .navbar-default, .pagination > .active > a {
background-color: rgb(217, 83, 79);
}
.header ul.nav.navbar-nav li ul li a:hover, .header ul.nav.navbar-nav li ul li a:focus{
border-left-color: rgb(32, 80, 129);
background: rgb(32, 80, 129);
color: rgb(255, 255, 255);
}
.navbar-default .navbar-toggle .icon-bar {
background-color: rgb(253, 253, 253);
}
.user_sidebar, .main_menu {
color: rgb(253, 253, 253);
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > span {
color: rgb(253, 253, 253);
}
.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(255, 255, 255);
}
.navbar-default .navbar-nav > li {
font-family: 'Open Sans';
}
/* Footer Design */
.footer {
background-color: rgb(239, 239, 239);
display: block;
}
.footer, .footer_menu a,.footer_terms a,.footer_menu .content {
color: rgb(73, 73, 73);
}
.footer_menu a:hover, .footer_terms a:hover, .footer_menu a:focus, .footer_terms a:focus {
color: rgb(162, 0, 0);
}
.footer_menu .head {
color: rgb(162, 0, 0);
}
.btn_footer_get_listed {
background-color: rgba(208, 29, 21,0.95);
border: 1px solid rgb(208, 29, 21);
color: rgb(255, 255, 255)!important;
}
.btn_footer_get_listed:hover, .btn_footer_get_listed:focus{
background-color: rgb(208, 29, 21);
}
/* 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: left;
}
.homepage_settings h2, .homepage_map h2 {
color: rgb(22, 22, 22);
font-weight: 400;
text-align: left;
}
.homepage_settings .search_box label {
color: rgb(22, 22, 22);
}
.btn_home_search, .search_box input[type=submit] {
background-color: rgba(208, 29, 21,0.97);
border: 1px solid rgb(208, 29, 21);
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: rgb(208, 29, 21);
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(244, 244, 244);
background-color: rgba(244, 244, 244,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(253, 253, 253);
}
#myCarousel .list-group-item {
background-color: rgba(217, 83, 79,0.9);
border-color: rgba(217, 83, 79,0.80);
}
#myCarousel .carousel-caption {
background-color: rgba(217, 83, 79,0.8);
}
#myCarousel .list-group, #myCarousel .carousel-inner {
background-color: rgb(217, 83, 79) }
#myCarousel .list-group .active, #myCarousel .list-group-item:hover {
background-color: rgb(217, 83, 79) }
#myCarousel .list-group .active h4, #myCarousel .list-group-item:hover h4{
color: rgb(255, 255, 255);
}
/* Additional Settings */
.well blockquote {
background: rgb(255, 255, 255) none repeat scroll 0 0;
border-color: rgb(238, 238, 238);
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(238, 238, 238);
color: rgb(85, 85, 85);
border-bottom:0;
font-weight:600;
}
table.dataTable tbody tr {
background-color: rgb(250, 250, 250)!important;
}
.table-striped.dataTable tbody > tr:nth-of-type(2n+1),.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: rgba(255, 255, 255,0.5)!important;
}
.sidemenu_panel .list-group-item{
background-color: transparent!important;
color: rgb(41, 41, 41)!important;
}
.img-thumbnail {
background-color: rgb(250, 250, 250)!important;
border: 1px solid rgb(238, 238, 238);
}
.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: 60px;
padding-bottom: 90px;
}
@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(217, 83, 79);
color: rgb(253, 253, 253);
}
.views > i.fa {
background-color: rgba(217, 83, 79,0.6);
color: rgb(253, 253, 253);
}
.ui-rangeSlider-label {
background-color: rgb(217, 83, 79)!important;
color: rgb(253, 253, 253)!important;
}
.pricing_menu li .title {
background: rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
p.account-tip{
color: rgb(41, 41, 41);
}
.circled_number {
background: rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
.pic {
background-color: rgba(208, 29, 21,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(208, 29, 21,0.85) 50%);
color: rgb(255, 255, 255);
}
.slick-prev-fa i, .slick-next-fa i{
color: rgb(208, 29, 21);
}
.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(250, 250, 250);
border-color: rgb(238, 238, 238);
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(208, 29, 21) inset;
border-top:1px solid rgb(208, 29, 21);
border-radius: 0;
}
.nav-pills > li.active a, .nav-pills > li > a:hover {
background-color: rgb(208, 29, 21)!important;
border-color: rgb(208, 29, 21)!important;
color: rgb(255, 255, 255)!important;
}
.sidemenu_panel .panel-heading {
color: rgb(41, 41, 41)!important;
background-color: rgb(250, 250, 250)!important;
}
.member-profile-tabs .nav-tabs > li:not(.active) > a, .login-register-tabs.nav-tabs > li:not(.active) > a {
background: rgba(250, 250, 250,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(250, 250, 250,1);
color: rgb(41, 41, 41);
}
.author-snapshot .well {
background-color: rgb(250, 250, 250)!important;
border-color: rgb(238, 238, 238)!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(250, 250, 250);
border-color: rgb(250, 250, 250);
padding:0;
text-align:left;
}
.popover-title, .popover-content {
background-color: rgb(250, 250, 250);
color: rgb(41, 41, 41);
border-color: rgb(250, 250, 250);
text-align:left;
}
.popover-content {
background-color: rgba(41, 41, 41,.05);
}
.popover.left > .arrow::after {
border-left-color: rgb(250, 250, 250)!important;
}
.popover.right > .arrow::after {
border-right-color: rgb(250, 250, 250)!important;
}
.popover.bottom > .arrow::after {
border-bottom-color: rgb(250, 250, 250)!important;
}
.popover.top > .arrow::after {
border-top-color: rgb(250, 250, 250)!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(255, 255, 255);
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(238, 238, 238);
}
table.dataTable.no-footer, table.dataTable {
border: 1px solid rgb(238, 238, 238)!important;
}
.table-view li, .table-view .table-view-group > div {
border-top:1px solid rgb(238, 238, 238);
}
.table-view .table-view-group:last-child {
border-bottom:1px solid rgb(238, 238, 238);
}
.module h1, .module h2, .module h3, .module h4, .module h5 {
color: rgb(0, 0, 0);
}
.module p:not(.fr-box.fr-basic .fr-element p) {
color: rgb(41, 41, 41);
}
.pagination>.active>a {
border-color: rgba(253, 253, 253,0.2);
}
.pagination>.active>a {
color: rgb(253, 253, 253);
}
.pagination > .active > a:hover, .pagination > .active > a:focus {
border-color: rgba(253, 253, 253,0.2);
background-color: rgb(217, 83, 79);
color: rgb(253, 253, 253);
}
.pagination > li > a {
color: rgb(217, 83, 79);
border-color: rgba(217, 83, 79,0.2);
background-color: rgb(253, 253, 253);
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
background-color: rgb(217, 83, 79);
border-color: rgb(217, 83, 79);
color: rgb(253, 253, 253);
}
.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 {
background: rgb(250, 250, 250)!important;
}
.member_wizard2 li.incomplete a, .member_wizard2 li.incomplete a:hover {
background-color: rgb(247, 202, 24)!important;
border-color: rgb(247, 202, 24);
color: rgb(47, 47, 47);
}
.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.active {
background: rgb(51, 122, 183)!important;
}
.member_wizard2 li.completed a, .member_wizard2 li.completed a:hover {
background-color: rgb(42, 178, 123)!important;
border-color: rgb(42, 178, 123);
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(92, 184, 92) rgb(92, 184, 92) rgb(92, 184, 92) 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(92, 184, 92)!important;
color: rgb(255, 255, 255)!important;
}
.member_wizard2 li.completed {
background: rgb(92, 184, 92)!important;
}
.member_wizard2 li {
color: rgb(255, 255, 255);
border-right: 3px solid rgb(255, 255, 255);
}
li.completed .nav-arrow, .nav-pills.nav-wizard > li.completed:hover .nav-arrow {
border-color: transparent transparent transparent rgb(92, 184, 92)!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: rgba(208, 29, 21,0.95);
border-color: rgb(208, 29, 21);
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: rgb(208, 29, 21);
border-color: rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
.panel-primary {
background-color: rgba(208, 29, 21,0.1);
border-color: rgb(208, 29, 21);
}
.bg-primary,.progress-bar-primary,.module p.bg-primary,.label-primary,.pricing_menu .title.bg-primary {
background-color: rgb(208, 29, 21);
color: rgb(255, 255, 255);
}
.bg-primary .badge {
background-color:rgb(255, 255, 255);
color: rgb(208, 29, 21);
}
.btn-primary.btn-outline {
background: transparent;
color: rgb(208, 29, 21);
box-shadow: 0 0 0px 1px rgb(208, 29, 21) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-primary.btn-outline:hover {
background: rgba(208, 29, 21,0.1);
}
.alert-primary {
background-color:rgba(208, 29, 21,0.7);
border-color:rgba(208, 29, 21,0.7);
color: rgba(255, 255, 255,0.9);
}
.btn.dropdown-toggle.btn-primary *, .btn-primary a {
color: rgb(255, 255, 255);
}
.text-primary{
color: rgb(208, 29, 21);
}
.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: rgba(219, 71, 5,0.95);
border-color: rgb(219, 71, 5);
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: rgb(219, 71, 5);
border-color: rgb(219, 71, 5);
color: rgb(255, 255, 255);
}
.panel-info{
background-color: rgba(219, 71, 5,0.1);
border-color: rgb(219, 71, 5);
}
.bg-info,.progress-bar-info,.module p.bg-info,.label-info,.pricing_menu .title.bg-info {
background-color: rgb(219, 71, 5);
color: rgb(255, 255, 255);
}
.bg-info .badge {
background-color:rgb(255, 255, 255);
color: rgb(219, 71, 5);
}
.btn-info.btn-outline {
background: transparent;
color: rgb(219, 71, 5);
box-shadow: 0 0 0px 1px rgb(219, 71, 5) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-info.btn-outline:hover {
background: rgba(219, 71, 5,0.1);
}
.alert-info {
background-color:rgba(219, 71, 5,0.7);
border-color:rgba(219, 71, 5,0.7);
color: rgba(255, 255, 255,0.9);
}
.btn.dropdown-toggle.btn-info *, .btn-info a {
color: rgb(255, 255, 255);
}
.text-info{
color: rgb(219, 71, 5);
}
.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: rgba(42, 178, 123,0.95);
border-color: rgb(42, 178, 123);
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: rgb(42, 178, 123);
border-color: rgb(42, 178, 123);
color: rgb(255, 255, 255);
}
.panel-success{
background-color: rgba(42, 178, 123,0.1);
border-color: rgb(42, 178, 123);
}
.bg-success,.progress-bar-success,.module p.bg-success,.label-success,.pricing_menu .title.bg-success {
background-color: rgb(42, 178, 123);
color: rgb(255, 255, 255);
}
.bg-success .badge {
background-color: rgb(255, 255, 255);
color: rgb(42, 178, 123);
}
.btn-success.btn-outline {
background: transparent;
color: rgb(42, 178, 123);
box-shadow: 0 0 0px 1px rgb(42, 178, 123) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-success.btn-outline:hover {
background: rgba(42, 178, 123,0.1);
}
.alert-success {
background-color:rgba(42, 178, 123,0.7);
border-color:rgba(42, 178, 123,0.7);
color: rgba(255, 255, 255,0.9);
}
.btn.dropdown-toggle.btn-success *, .btn-success a {
color: rgb(255, 255, 255);
}
.text-success{
color: rgb(42, 178, 123);
}
.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: rgba(247, 202, 24,0.95);
border-color: rgb(247, 202, 24);
color: rgb(47, 47, 47);
}
.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: rgb(247, 202, 24);
border-color: rgb(247, 202, 24);
color: rgb(47, 47, 47);
}
.panel-warning {
background-color: rgba(247, 202, 24,0.1);
border-color: rgb(247, 202, 24);
}
.bg-warning,.progress-bar-warning,.module p.bg-warning,.label-warning,.pricing_menu .title.bg-warning {
background-color: rgb(247, 202, 24);
color: rgb(47, 47, 47);
}
.bg-warning .badge {
background-color: rgb(47, 47, 47);
color: rgb(247, 202, 24);
}
.btn-warning.btn-outline {
background: transparent;
color: rgb(247, 202, 24);
box-shadow: 0 0 0px 1px rgb(247, 202, 24) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-warning.btn-outline:hover {
background: rgba(247, 202, 24,0.1);
}
.alert-warning {
background-color:rgba(247, 202, 24,0.7);
border-color:rgba(247, 202, 24,0.7);
color: rgba(47, 47, 47,0.9);
}
.btn.dropdown-toggle.btn-warning *, .btn-warning a {
color: rgb(47, 47, 47);
}
.text-warning {
color: rgb(247, 202, 24);
}
.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: rgba(44, 102, 217,0.95);
border-color: rgb(44, 102, 217);
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: rgb(44, 102, 217);
border-color: rgb(44, 102, 217);
color: rgb(255, 255, 255);
}
.has-error .form-control {
border-color: rgb(44, 102, 217);
}
.has-error .help-block:not(.form-field-help-block), .has-error ~ .help-block:not(.form-field-help-block) {
background: rgb(44, 102, 217);
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(44, 102, 217);
}
.panel-danger {
background-color: rgba(44, 102, 217,0.1);
border-color: rgb(44, 102, 217);
}
.bg-danger,.progress-bar-danger,.module p.bg-danger,.label-danger,.pricing_menu .title.bg-danger {
background-color: rgb(44, 102, 217);
color: rgb(255, 255, 255);
}
.bg-danger .badge {
background-color: rgb(255, 255, 255);
color: rgb(44, 102, 217);
}
.btn-danger.btn-outline {
background: transparent;
color: rgb(44, 102, 217);
box-shadow: 0 0 0px 1px rgb(44, 102, 217) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-danger.btn-outline:hover {
background: rgba(44, 102, 217,0.1);
}
.alert-danger {
background-color:rgba(44, 102, 217,0.7);
border-color:rgba(44, 102, 217,0.7);
color: rgba(255, 255, 255,0.9);
}
.btn.dropdown-toggle.btn-danger *, .btn-danger a {
color: rgb(255, 255, 255);
}
.text-danger{
color: rgb(44, 102, 217);
}
.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: rgba(238, 238, 238,0.95);
border-color: rgb(238, 238, 238);
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: rgb(238, 238, 238);
border-color: rgb(238, 238, 238);
color: rgb(85, 85, 85);
}
.sidemenu_panel .panel-default .panel_heading {
background-color: rgb(238, 238, 238)!important;
border-color: rgb(238, 238, 238)!important;
color: rgb(85, 85, 85)!important;
}
.panel-default, .member_accounts .panel-default{
background-color: rgba(238, 238, 238,0.1);
border-color: rgb(238, 238, 238);
}
.bg-default,.progress-bar-default,.module p.bg-default,.label-default,.pricing_menu .title.bg-default {
background-color: rgb(238, 238, 238);
color: rgb(85, 85, 85);
}
.bg-default .badge {
background-color: rgb(85, 85, 85);
color: rgb(238, 238, 238);
}
.btn-default.btn-outline {
background: transparent;
color: rgb(238, 238, 238);
box-shadow: 0 0 0px 1px rgb(238, 238, 238) inset;
font-weight: bold;
transition: all 250ms ease-in-out 0ms;
}
.btn-default.btn-outline:hover {
background: rgba(238, 238, 238,0.1);
}
.alert-default {
background-color:rgba(238, 238, 238,0.7);
border-color:rgba(238, 238, 238,0.7);
color: rgba(85, 85, 85,0.9);
}
.btn.dropdown-toggle.btn-default *, .btn-default a {
color: rgb(85, 85, 85);
}
.text-default{
color: rgb(238, 238, 238);
}
.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: rgba(41, 41, 41,0.95);
border: 1px solid rgb(41, 41, 41);
color: rgb(255, 255, 255);
}
.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: rgb(41, 41, 41);
border: 1px solid rgb(41, 41, 41);
color: rgb(255, 255, 255);
}
.bg-secondary,.progress-bar-secondary,.module p.bg-secondary,.module p.bg-secondary:not(.fr-box.fr-basic .fr-element p),.label-secondary,.pricing_menu .title.bg-secondary {
background-color: rgb(41, 41, 41);
color: rgb(255, 255, 255);
}
.bg-secondary .badge {
background-color:rgb(255, 255, 255);
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:rgba(41, 41, 41,0.7);
border-color:rgba(41, 41, 41,0.7);
color: rgba(255, 255, 255,0.9);
}
.bg-body {
background: rgb(255, 255, 255);
color: rgb(41, 41, 41);
}
.bg-content-box {
background: rgb(250, 250, 250);
color: rgb(41, 41, 41);
}
.bg-content-box-border {
background: rgb(238, 238, 238);
}
.btn.dropdown-toggle.btn-secondary *, .btn-secondary a {
color: rgb(255, 255, 255);
}
.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(208, 29, 21);
color: rgb(255, 255, 255);
}
.newsletter_row input[type="submit"],.newsletter_footer_button {
background-color: rgba(180, 15, 7,0.97);
color: rgb(255, 255, 255);
border-color: rgb(180, 15, 7);
}
.newsletter_row input[type="submit"]:hover,.newsletter_row input[type="submit"]:focus,.newsletter_footer_button:hover,.newsletter_footer_button:focus {
background-color: rgb(180, 15, 7);
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(208, 29, 21);
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: 24px;
}
.header .logo {
font-size: 34px;
}
.homepage_title h1, .homepage_settings h1 {
font-size: 60px;
}
.homepage_settings h2 {
font-size: 28px;
}
.ui-rangeSlider-bar{
background: rgb(208, 29, 21)!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(238, 238, 238)!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(238, 238, 238)!important;
}
.cal-year-box .row-fluid, .cal-month-box .cal-row-fluid {
border-bottom: 1px solid rgb(238, 238, 238)!important;
}
.cal-year-box [class*="span"], .cal-month-box [class*="cal-cell"] {
border-right: 1px solid rgb(238, 238, 238)!important;
}
.cal-year-box .row-fluid, .cal-row-fluid, #cal-day-box .cal-day-hour:nth-child(odd) {
background-color: rgb(255, 255, 255)!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(250, 250, 250)!important;
}
.day-highlight:hover, .day-highlight {
background-color: rgb(238, 238, 238)!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(238, 238, 238)!important;
}
#cal-day-tick {
border: 1px solid rgb(238, 238, 238)!important;
background-color: rgb(238, 238, 238)!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: rgb(170, 184, 194);
background: rgb(238, 238, 238);
border: 1px solid rgb(238, 238, 238);
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: rgb(226, 38, 77);
}
#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: rgb(170, 184, 194);
color:rgb(238, 238, 238);
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: rgb(226, 38, 77);
}
span.checkbox_value::after {
content: ', ';
}
span.checkbox_value:last-child::after {
content: '';
}
.member_results .grid_element{
position:relative;
overflow:hidden;
display: inline-block;
width:100%;
}
.member_results .grid_element::before {
position: absolute;
top: 24px;
text-align: center;
width: 200px;
left: -62px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
z-index: 1;
line-height: 1.2em;
padding: 6px 0;
font-weight: bold;
letter-spacing: 1px;
}
@media only screen and (max-width: 767px) {
.member_results .grid-container > hr {
border-color: transparent;
}
.member_results .grid_element{
overflow:visible;
}
.member_results .grid_element::before {
top: -19px!important;
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
font-size: 10px !important;
letter-spacing: 0;
width: auto;
padding: 3px 6px;
}
}
.member_results.level_1 .grid_element {
border-style: solid;
border-radius:6px;border-width:10px;border-color:rgb(235, 17, 17); }
.member_results.level_1 .grid_element::before {
border-bottom-left-radius:0!important;
border-radius:6px;color: #fff ;background-color:rgb(235, 17, 17);font-size:16px;content:'TOP RATED';
}
.member_results.level_1 .grid_element {
padding:10px;
}
@media only screen and (max-width: 767px) {
.member_results.level_1 .grid_element::before {
left:-10px;}}
.member_results .grid-container {
margin-top: 30px;
}
.member_results .grid-container > hr {
border-color: transparent;
background: transparent;
}
.member_results.level_1 .grid_element{
overflow:visible;
}
.member_results.level_1 .grid_element::before {
top: calc(-10px - 16px);
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
letter-spacing: 0;
width: auto;
padding: 3px 8px;
left: calc(-10px + 0.5px);
}
/* Homepage Sections Background Color Logic */
.homepage-section-1 {
padding: 40px 0 40px;
}
.homepage-section-1 {
background: rgb(208, 29, 21);
}
.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(0, 0, 0);
}
.homepage-join-module .module{
background: rgb(250, 250, 250);
border-color: rgb(238, 238, 238);
}
.homepage-about-module .module h2:first-of-type {
color: rgb(0, 0, 0);
}
.homepage-about-module .module{
background: rgb(250, 250, 250);
border-color: rgb(238, 238, 238);
}
.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{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--><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.whatsyourhours.com" title="WhatsYourHours.com">
<img width="900" height="140" src="/images/wyh-logo-horizontal_1.png" alt="WhatsYourHours.com">
</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">
<li class='bmargin'><span id='link207' class='bmargin'> </span></li><li class='bmargin'><a href='/login' id='link208' class='rpad bmargin'>Business Listing Login</a></li><li class='bmargin norpad'><a href='/join' id='link210' class='btn btn_get_listed bold'>Grab Your FREE Online Business Listing <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>
<div class="input-group input-group-sm bmargin">
<span class="input-group-addon hidden-md"><i class="fa fa-location-arrow"></i></span>
<input type="text" placeholder="City or Post Code"
value="" id="location_google_maps_header" name="location_value"
class="googleSuggest googleLocation form-control">
</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(238, 238, 238);
}
#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(217, 83, 79,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(217, 83, 79);
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(253, 253, 253);
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(253, 253, 253);
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(253, 253, 253);
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='/about' id='link189'>How It Works</a></li><li class=''><a href='/blog' id='link227'>Business Tips</a></li><li class=''><a href='/join' id='link186'>Local Business Listings </a><ul><li class=''><a href='/accomodation-travel' id='link249'>Accomodation & Travel</a></li><li class=''><a href='/accountant' id='link246'>Accountant</a></li><li class=''><a href='/air-conditioning-installer' id='link247'>Air Conditioning Installer</a></li><li class=''><a href='/electrician' id='link248'>Electrician</a></li></ul></li> </ul>
</div>
<nav class="navbar navbar-default ">
<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='/about' id='link189'>How It Works</a></li><li class=''><a href='/blog' id='link227'>Business Tips</a></li><li class=''><a href='/join' id='link186'>Local Business Listings </a><ul><li class=''><a href='/accomodation-travel' id='link249'>Accomodation & Travel</a></li><li class=''><a href='/accountant' id='link246'>Accountant</a></li><li class=''><a href='/air-conditioning-installer' id='link247'>Air Conditioning Installer</a></li><li class=''><a href='/electrician' id='link248'>Electrician</a></li></ul></li> </ul>
</div>
</div>
</nav>
<!--CSS IF MENU IS FIXED TOP-->
</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.whatsyourhours.com' title='WhatsYourHours.com'><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=/ title="Colchester"><span itemprop="name">Colchester</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=//colchester title="PROFESSIONAL SERVICES"><span itemprop="name">PROFESSIONAL SERVICES</span><meta itemprop="position" content="4" /></a></li><li class='active'>Colchester Window and Door Repairs</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="/england/colchester/professional-services/colchester-window-and-door-repairs/connect" title="Contact Free Online Business Listings Colchester Window and Door Repairs">
<img width="162" height="70" class="img-rounded" src="/logos/profile/limage-386682-186-photo.jpg" alt="Free Online Business Listings Colchester Window and Door Repairs in Colchester " title="Contact Colchester Window and Door Repairs">
</a>
</div>
<div class="xs-text-center col-xs-12 col-sm-9">
<div class="row">
<div class="col-sm-10 norpad xs-hpad header-member-name">
<h1 class="bold inline-block">
Colchester Window and Door Repairs </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="386682" 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'>LIKE</span> <span class='' id='number-0'></span></button></div> </div>
<div class="row">
<div class="col-sm-6 tmargin xs-nomargin">
<p class="line-height-xl nomargin">
<span class='profile-header-top-category '>PROFESSIONAL SERVICES<br /></span><span class=profile-header-location><i class="fa fa-map-marker text-danger"></i> Colchester, England, CO2 8HX</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 Colchester Window and Door Repairs" href="/england/colchester/professional-services/colchester-window-and-door-repairs/connect">
Send Message
</a>
</div>
<div class="col-sm-6 tmargin">
<span class="nobmargin btn btn-block btn-lg btn-info author-phone click-to-call-button view_phone_number_header" title="See Phone Number">
<i class="fa fa-phone"></i> See Phone Number
</span>
<span style="display:none;padding:10px 16px;" class="well nobmargin text-center btn-lg author-phone click-to-call-button phone_number_header">
<i class="fa fa-phone"></i> 01206 205445 </span>
</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>
Colchester Window and Door Repairs
is accepting messages:
<a class="inline-block" href="/england/colchester/professional-services/colchester-window-and-door-repairs/connect">
Send Message
</a>
</div>
<div class="clearfix"></div><div role="tabpanel"
class="tmargin member-profile-tabs ">
<ul class="nav nav-tabs fpad nobpad profile-tabs-nav" role="tablist" aria-label="Profile Tabs">
<li class="active hideMyTab" role="presentation">
<a href="#div1" rel=" nofollow" aria-controls="t1" aria-label="Overview" role="tab" data-toggle="tab" aria-selected="false">
Overview </a>
</li>
<style>.hideMyTab{ display:none !important;}.profile-tabs-nav{height: 1px;padding:0;}</style> </ul>
<div class="tab-content">
<div id="div1" role="tabpanel" aria-labelledby="t1 div1"
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="clearfix"></div>
<div class="module nomargin bg-secondary no-radius-bottom" style="padding:7px 0;">
<a class="btn-sm bold map-link get-directions-link" rel="nofollow" target="_blank" href="https://maps.google.com/maps?daddr=Commerce+Way+Commerce+Park+Colchester+England+CO2+8HX+United+Kingdom" title="Click for Directions">
Get Directions <small><i class='fa fa-external-link' aria-hidden='true'></i></small>
</a>
<a class="pull-right btn-sm map-link bold larger-map-link" href="#" target="_blank" data-target="#locationModal" data-toggle="modal" title="View Larger Map">
View Larger Map
</a>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div id="map-canvas" class="no-radius-top"></div>
<div class="clearfix"></div>
<div class="clearfix"></div>
<div class="well tmargin quote_box">
Window and Door Repairs </div>
<div class="table-view list-inline xs-center-block bmargin">
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Enter Contact Information Below </h2>
<div class="table-view-group clearfix table-display-additional_fields">
<div class="col-sm-4 bold">
How did you hear about us? </div>
<div class="col-sm-8">
<span class="select select-additional_fields">Google</span> </div>
</div>
<div class="table-view-group clearfix table-display-listing_type">
<div class="col-sm-4 bold">
Listing Represents </div>
<div class="col-sm-8">
<span class="radio radio-listing_type">Company</span> </div>
</div>
<div class="table-view-group clearfix table-display-first_name">
<div class="col-sm-4 bold">
First Name </div>
<div class="col-sm-8">
<span class="textbox textbox-first_name">Rob</span> </div>
</div>
<div class="table-view-group clearfix table-display-last_name">
<div class="col-sm-4 bold">
Last Name </div>
<div class="col-sm-8">
<span class="textbox textbox-last_name">Harris</span> </div>
</div>
<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">Colchester Window and Door Repairs</span> </div>
</div>
<div class="table-view-group clearfix table-display-position">
<div class="col-sm-4 bold">
Your Position </div>
<div class="col-sm-8">
<span class="select select-position">Business Owner</span> </div>
</div>
<div class="table-view-group clearfix table-display-profession_id">
<div class="col-sm-4 bold">
Best Describes You </div>
<div class="col-sm-8">
<span class="category category-profession_id">PROFESSIONAL SERVICES</span> </div>
</div>
<div class="table-view-group clearfix table-display-phone_number">
<div class="col-sm-4 bold">
Phone Number </div>
<div class="col-sm-8">
<span class="phone phone-phone_number">01206 205445</span> </div>
</div>
<div class="table-view-group clearfix table-display-email">
<div class="col-sm-4 bold">
Emails Sent To </div>
<div class="col-sm-8">
<span class="email email-email">colchester@repairmywindowsanddoors.co.uk</span> </div>
</div>
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Where Are You Located? </h2>
<tr>
<th colspan="2">
<div class="well">
<input id="pac-input" class="controls form-control google-writen-location bmargin input-lg" type="text" placeholder="Enter a location: 350 Fifth Avenue, New York, NY 10118" autocomplete="off">
<div id="map-canvas"></div>
<label class="fill-location-check">
<input type="checkbox" class="fill-change-marker">
Fill in the location fields below based on where I move the marker on the map above
</label>
<div class="clearfix"></div>
</div>
<input type="hidden" name="country_sn" value="">
<input type="hidden" name="state_sn" value="">
</th>
</tr>
<div class="table-view-group clearfix table-display-address1">
<div class="col-sm-4 bold">
Address Line 1 </div>
<div class="col-sm-8">
<span class="textbox textbox-address1">Commerce Way</span> </div>
</div>
<div class="table-view-group clearfix table-display-lat">
<div class="col-sm-4 bold">
</div>
<div class="col-sm-8">
<span class="hidden hidden-lat">0.00000000</span> </div>
</div>
<div class="table-view-group clearfix table-display-lon">
<div class="col-sm-4 bold">
</div>
<div class="col-sm-8">
<span class="hidden hidden-lon">0.00000000</span> </div>
</div>
<div class="table-view-group clearfix table-display-address2">
<div class="col-sm-4 bold">
Address Line 2 </div>
<div class="col-sm-8">
<span class="textbox textbox-address2">Commerce Park</span> </div>
</div>
<div class="table-view-group clearfix table-display-city">
<div class="col-sm-4 bold">
City </div>
<div class="col-sm-8">
<span class="textbox textbox-city">Colchester</span> </div>
</div>
<div class="table-view-group clearfix table-display-state_ln">
<div class="col-sm-4 bold">
State </div>
<div class="col-sm-8">
<span class="textbox textbox-state_ln">England</span> </div>
</div>
<div class="table-view-group clearfix table-display-country_ln">
<div class="col-sm-4 bold">
Country </div>
<div class="col-sm-8">
<span class="textbox textbox-country_ln">United Kingdom</span> </div>
</div>
<div class="table-view-group clearfix table-display-country_code">
<div class="col-sm-4 bold">
</div>
<div class="col-sm-8">
<span class="hidden hidden-country_code">AU</span> </div>
</div>
<div class="table-view-group clearfix table-display-zip_code">
<div class="col-sm-4 bold">
Enter Postal Code </div>
<div class="col-sm-8">
<span class="textbox textbox-zip_code">CO2 8HX</span> </div>
</div>
<div class="clearfix"></div>
<h2 class="tmargin tpad xs-center-block clearfix">
Enter Website Links </h2>
<div class="table-view-group clearfix table-display-website">
<div class="col-sm-4 bold">
Your Website
<img src="/images/homepage.png" style="vertical-align:middle;margin-left:8px;"> </div>
<div class="col-sm-8">
<span class="url url-website"><a target=_blank rel="nofollow" href='https://www.repairmywindowsanddoors.co.uk/colchester-windowrepair/'>https://www.repairmywindowsanddoors.co.uk/colchester-windowrepair/</a></span> </div>
</div>
</div>
<div class="table-view list-inline xs-center-block bmargin">
<div class="table-view-group clearfix table-display-mon_hours">
<div class="col-sm-4 bold">
Monday </div>
<div class="col-sm-8">
<span class="textbox textbox-mon_hours">08:00 – 18:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-tue_hours">
<div class="col-sm-4 bold">
Tuesday </div>
<div class="col-sm-8">
<span class="textbox textbox-tue_hours">08:00 – 18:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-wed_hours">
<div class="col-sm-4 bold">
Wednesday </div>
<div class="col-sm-8">
<span class="textbox textbox-wed_hours">08:00 – 18:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-thu_hours">
<div class="col-sm-4 bold">
Thursday </div>
<div class="col-sm-8">
<span class="textbox textbox-thu_hours">08:00 – 18:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-fri_hours">
<div class="col-sm-4 bold">
Friday </div>
<div class="col-sm-8">
<span class="textbox textbox-fri_hours">08:00 – 18:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-sat_hours">
<div class="col-sm-4 bold">
Saturday </div>
<div class="col-sm-8">
<span class="textbox textbox-sat_hours">09:00 – 15:00</span> </div>
</div>
<div class="table-view-group clearfix table-display-sun_hours">
<div class="col-sm-4 bold">
Sunday </div>
<div class="col-sm-8">
<span class="textbox textbox-sun_hours">Closed</span> </div>
</div>
<div class="table-view-group clearfix table-display-affiliation">
<div class="col-sm-4 bold">
Accepted Forms of Payments </div>
<div class="col-sm-8">
<span class="textarea textarea-affiliation">Cash<br />
Bank Transfer<br />
PayPal</span> </div>
</div>
</div>
<div class="overview-tab-about-me"><h2 class="tmargin tpad xs-center-block clearfix about-member-blurb">About Colchester Window and Door Repairs</h2><div class="clearfix"></div><p id="isPasted"><strong>ADDRESS:</strong></p><p>Commerce Way</p><p>Commerce Park</p><p>Colchester</p><p>CO2 8HX</p><p> </p><p><strong>TELEPHONE:</strong></p><p>01206205445</p><p> </p><p><strong>EMAIL:</strong></p><p>colchester@repairmywindowsanddoors.co.uk</p><p> </p><p><strong>URL:</strong></p><p>https://www.repairmywindowsanddoors.co.uk/colchester-windowrepair/</p><p> </p><p><strong>DESCRIPTION:</strong></p><p>Serving Colchester, we are door and window repair experts, we tackle all types of window and door repairs. We specialise in uPVC repairs and offer locksmith and boarding up services.</p><p> </p><p>We also supply and install a comprehensive range of new windows and doors in uPVC, aluminium and timber, including casement windows, tilt and turn windows, vertical sliding sash windows, composite doors, bifold doors, sliding patio doors and french doors.</p><div class="clearfix"></div> <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>
<div class="clearfix"></div></div> <div class="tmargin tpad overview-tab-service-areas"><style type='text/css'> .additional_service_areas button {
cursor: text;
}
.additional_service_areas button:active {
box-shadow: none;
} </style><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;
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(0.00000000),parseFloat(0.00000000));
var iconImage = '';
var mapOptions = {
zoom: 15,
center: myLatlng,
scrollwheel: false
}
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
map.mapTypes.set('map_style', styledMap);
map.setMapTypeId('map_style');
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
icon: iconImage
});
}
google.maps.event.addDomListener(window, 'load', initialize);
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
var currentCenter = map.getCenter();
google.maps.event.trigger(map, "resize");
map.setCenter(currentCenter);
});
});
</script> </div>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-3 sidebar-section"> <section id='id' class=''><!--
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.
Please see this article for more information: http://support.brilliantdirectories.com/solution/articles/5000558894-how-to-add-a-google-adsense-banner-ad
-->
<a href="https://websecuritypro.com.au?ref=11&utm_source=brent-whatsyourhours" target="_blank">
<img src="/images/Websecuritypro-remarketingads-300x600-1.png">
</a>
<div class="clearfix clearfix-lg"></div>
<style type='text/css'> #captchaContainer {
transform:scale(0.77);
-webkit-transform:scale(0.77);
transform-origin:0 0;
-webkit-transform-origin:0 0;
} </style> <div class="module">
<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-%20Function%20-%20Save%20Form" id="bootstrap_get_match_255" method="post" labelwidth="100" labelpaddingtop="0.5em" enctype="multipart/form-data" form_action_type="widget" form_action_div return_data_type="" name="bootstrap_get_match_255" class=" "><input type="hidden" name="sized" value="0" id="bootstrap_get_match_255-element-0"/><input type="hidden" name="mysql_real_escape_string_runned" value="1" id="bootstrap_get_match_255-element-1"/><input type="hidden" name="userid" value="386682" id="bootstrap_get_match_255-element-2"/><input type="hidden" name="usertokenid" value="386682" id="bootstrap_get_match_255-element-3"/><input type="hidden" name="saveinfo" value="1" id="bootstrap_get_match_255-element-4"/><input type="hidden" name="vals" value="2|2" id="bootstrap_get_match_255-element-5"/><input type="hidden" name="answerqmatch" value="4" id="bootstrap_get_match_255-element-6"/><input type="hidden" name="form_source" value="%2Fengland%2Fcolchester%2Fprofessional-services%2Fcolchester-window-and-door-repairs" id="bootstrap_get_match_255-element-7"/><input type="hidden" name="form" value="myform" id="bootstrap_get_match_255-element-8"/><input type="hidden" name="formname" value="bootstrap_get_match" id="bootstrap_get_match_255-element-9"/><input type="hidden" name="dowiz" value="1" id="bootstrap_get_match_255-element-10"/><input type="hidden" name="save" value="1" id="bootstrap_get_match_255-element-11"/><input type="hidden" name="url_origin_pars" value="/england/colchester/professional-services/colchester-window-and-door-repairs" id="bootstrap_get_match_255-element-12"/> <style>
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group .checkbox label, form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group .radio label, form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group label.checkbox, form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group label.radio{
display: inline-block;
margin-right: 15px;
}
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group label {
display: none;
}
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group label.btn{
display: block;
}
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group div.bootstrap-filestyle ,
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group div.bootstrap-filestyle label.btn{
width: 100%;
}
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group div.bootstrap-filestyle span.group-span-filestyle:nth-child(2) {
margin: 0px !important;
}
form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] .form-group div.bootstrap-filestyle span.group-span-filestyle:nth-child(2) label.btn {
margin-top: 10px;
}
</style>
<script>
$(document).ready(function(){
$('form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] input, form[action="/api/widget/json/get/Bootstrap%20Theme%20-%20Function%20-%20Save%20Form"] select').each(function(){
if($(this).parents('.form-group').find('.required:hidden').length > 0){
let placeholderAttr = $(this).attr('placeholder');
let optionRequired = $(this).find('option[value=""]').html();
if (typeof placeholderAttr !== 'undefined' && placeholderAttr.indexOf(`(Required)`) < 1) {
$(this).attr('placeholder', $(this).attr('placeholder') + ` (Required)`);
}
if (typeof optionRequired !== 'undefined' && optionRequired.indexOf(`(Required)`) < 1) {
$(this).find('option[value=""]').html($(this).find('option[value=""]').html() + ` (Required)`);
}
}
})
})
</script> <h3 class="nomargin">
Contact <span class='inline-block'>Colchester Window and Door Repairs</span>
</h3>
<hr>
<div class="form-group"><label class="vertical-label bd-text" for="bootstrap_get_match_255-element-15">Name</label><input type="text" name="lead_name" placeholder="Enter Name" autocomplete="off" value class="form-control control-group form-control " id="bootstrap_get_match_255-element-15"/></div><div class="form-group"><label class="vertical-label bd-email" for="bootstrap_get_match_255-element-16"><span class="required">* </span>Email</label><input type="email" name="lead_email" required placeholder="Enter Email" autocomplete="off" value class="form-control control-group form-control " id="bootstrap_get_match_255-element-16"/></div><div class="form-group"><label class="vertical-label bd-text" for="bootstrap_get_match_255-element-17">Phone Number</label><input type="text" name="lead_phone" placeholder="Enter Phone" autocomplete="off" value class="form-control control-group form-control " id="bootstrap_get_match_255-element-17"/></div><div class="form-group">
<label class="vertical-label" for="myform-element-1543">
Preferred Reply Day
</label>
<select aria-label="Preferred Reply Day" name="lead_preferred_day" autocomplete="off" class="form-control control-group " id="myform-element-1543">
<option value="">Preferred Reply Day</option>
<option value="As soon as possible">As soon as possible</option>
<option value="Sunday">Sunday</option>
<option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Friday">Friday</option>
<option value="Saturday">Saturday</option>
?>
</select>
</div>
<div class="form-group">
<label class="vertical-label" for="myform-element-1654">
Preferred Reply Time</label>
<select aria-label="Preferred Reply Time" name="lead_preferred_time" autocomplete="off" class="form-control control-group " id="myform-element-1654">
<option value="">Preferred Reply Time</option>
<option value="As soon as possible">As soon as possible</option>
<option value="12:00 am">12:00 am</option>
<option value="1:00 am">1:00 am</option>
<option value="2:00 am">2:00 am</option>
<option value="3:00 am">3:00 am</option>
<option value="4:00 am">4:00 am</option>
<option value="5:00 am">5:00 am</option>
<option value="6:00 am">6:00 am</option>
<option value="7:00 am">7:00 am</option>
<option value="8:00 am">8:00 am</option>
<option value="9:00 am">9:00 am</option>
<option value="10:00 am">10:00 am</option>
<option value="11:00 am">11:00 am</option>
<option value="12:00 pm">12:00 pm</option>
<option value="1:00 pm">1:00 pm</option>
<option value="2:00 pm">2:00 pm</option>
<option value="3:00 pm">3:00 pm</option>
<option value="4:00 pm">4:00 pm</option>
<option value="5:00 pm">5:00 pm</option>
<option value="6:00 pm">6:00 pm</option>
<option value="7:00 pm">7:00 pm</option>
<option value="8:00 pm">8:00 pm</option>
<option value="9:00 pm">9:00 pm</option>
<option value="10:00 pm">10:00 pm</option>
<option value="11:00 pm">11:00 pm</option>
</select>
</div>
<style type='text/css'> #map-canvas-contact-sidebar {
display: block;
width: 100%;
height: 250px;
float: right;
}
label.fill-location-check {
display: block;
width: 100%;
float: left;
margin: 6px 0 6px 9%;
}
#myform .google-writen-location {
float: right;
}
#map-canvas-contact-sidebar {
border-radius: 4px;
}
.pac-container {
z-index: 1551;
} </style> <input type="hidden" name="utoken" value="386682">
<span class="location_status" id="location_status" data-state="only_input"></span>
<span class="location_required" id="location_required" data-state="1"></span>
<div class="form-group" style="overflow: auto;">
<label for="myform-element-8"><span class="required">* </span>Location</label>
<input id="pac-input" required fv-notEmpty-message="Required Field" form-id="bootstrap_get_match_255" class="controls google-writen-location form-control " value="" type="text" name="lead_location" placeholder="City or Post Code" autocomplete="off">
<input type="hidden" name="lat" value="">
<input type="hidden" name="lng" value="">
<input type="hidden" name="swlat" value="">
<input type="hidden" name="swlng" value="">
<input type="hidden" name="nelat" value="">
<input type="hidden" name="nelng" value="">
<input type="hidden" name="location_type" value="">
<input type="hidden" name="country_sn" value="">
<input type="hidden" name="county_sn" value="">
<input type="hidden" name="adm_lvl_1_sn" value="">
<input type="hidden" name="city" value="">
<input type="hidden" name="faddress" value="">
</div>
<span id="cat-page-type" data-type="profile"
data-user="386682"></span>
<div class="form-group"><label class="vertical-label bd-" for="bootstrap_get_match_255-element-22">Message</label><textarea rows="4" name="lead_message" placeholder="Write a message here..." autocomplete="off" class="form-control control-group form-control" id="bootstrap_get_match_255-element-22"></textarea></div><input type="hidden" name="url_from" value="/england/colchester/professional-services/colchester-window-and-door-repairs">
<input type="hidden" name="checkPageType" value="profile">
<div class="form-group nomargin">
<div class="checkbox nomargin">
<label style="display:block;" class="bmargin small">
<input type="checkbox" class="consent_history" name="consent_history[1]" autocomplete="off" value="1" required="required" data-fv-notempty="true" data-fv-notempty-message="You must agree to the GDPR consent terms"/>
<span class="required">* </span> I understand that information I enter will be stored and shared with relevant members of the site and that I may be contacted by these members and/or the admin of the website. </label>
</div>
</div>
<div class="form-group"><input type="hidden" name="bd_hpc" autocomplete="off" value class="form-control control-group " id="bootstrap_get_match_255-element-27"/></div><div class="form-group"><div class="form-group security_question_label">
<div id="bootstrap_get_match_255-captchaContainer" class="control-group">
<div class="g-recaptcha" id="bootstrap_get_match_255-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="bootstrap_get_match_255-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 #bootstrap_get_match_255-captchaContainer, .col-md-4 #bootstrap_get_match_255-captchaContainer, .col-md-3 #bootstrap_get_match_255-captchaContainer, .col-lg-3 #bootstrap_get_match_255-captchaContainer, .col-lg-4 #bootstrap_get_match_255-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 = {};
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');
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': '6Lf8GfsSAAAAAD85tCjd0qqFlafyPNWp-wFm9KX2'
});
}
}
</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(){
$("#bootstrap_get_match_255 input[type=submit]").unbind('click');
$("#bootstrap_get_match_255 input[type=submit]").click(function (event) {
var formId = $(this.form).attr('id');
var captchaHolderKey = formId + "-google-recaptcha";
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-actions"><input type="submit" value="Send Message" name class="btn btn-success btn-block btn-lg " id="bootstrap_get_match_255-element-29"/></div></form><script type="text/javascript">jQuery(document).ready(function() { jQuery("#bootstrap_get_match_255").bind("submit", function() {
});}); </script> </div>
<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.whatsyourhours.com/professional-services" title="PROFESSIONAL SERVICES">All PROFESSIONAL SERVICES</a>
<br/>
<li class='xs-bmargin'><a href='https://www.whatsyourhours.com/australia/colchester/professional-services' title='PROFESSIONAL SERVICES in Colchester'>PROFESSIONAL SERVICES in Colchester</a><br/><li class='xs-bmargin'><a href='https://www.whatsyourhours.com/australia/professional-services' title='PROFESSIONAL SERVICES in AU'>PROFESSIONAL SERVICES in Australia</a><br/> </ul>
</div>
<div class="module post_location_map nopad">
<p class="btn-sm bg-secondary text-center nomargin line-height-xl bold no-radius-bottom">
<i class="fa fa-map-marker fa-fw text-danger"></i>
Commerce Way Commerce Park, Colchester, England CO2 8HX </p>
<div class="clearfix"></div>
<div id="map-canvas_sidebar"></div>
<div class="clearfix"></div>
<a href="#" data-toggle="modal" data-target="#sidebarlocationModal" class="popup btn btn-primary btn-block no-radius-top" title="Click for Directions">
View Larger Map
</a>
<script>
function setJsMapSidebar() {
var map, map2;
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(0.00000000), parseFloat(0.00000000));
var iconImage = '';
var mapOptions = {
zoom: 15,
center: myLatlng,
controlSize: 26,
mapTypeControl: false,
streetViewControl: false,
scrollwheel: false
}
map_sidebar = new google.maps.Map(document.getElementById('map-canvas_sidebar'), mapOptions);
map2 = new google.maps.Map(document.getElementById('sidebar-map-canvas'), mapOptions);
map_sidebar.mapTypes.set('map_style', styledMap);
map_sidebar.setMapTypeId('map_style');
map2.mapTypes.set('map_style', styledMap);
map2.setMapTypeId('map_style');
var marker = new google.maps.Marker({
position: myLatlng,
map: map_sidebar,
icon: iconImage
});
var marker2 = new google.maps.Marker({
position: myLatlng,
map: map2,
icon: iconImage
});
// google.maps.event.addDomListener(window, 'load', initialize);
$('#sidebarlocationModal').on('shown.bs.modal', function () {
var currentCenter = map2.getCenter();
google.maps.event.trigger(map2, "resize");
map2.setCenter(currentCenter);
});
}
</script>
</div>
<div class="modal fade" id="sidebarlocationModal" tabindex="-1" role="dialog" aria-labelledby="sidebarlocationModal" 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="sidebar-map-canvas"></div>
</div>
<div class="modal-footer">
<a rel="nofollow" href="https://maps.google.com/maps?daddr=Commerce+Way+Commerce+Park+Colchester+England+CO2+8HX+United+Kingdom" 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>
<style>
#sidebar-map-canvas {
height: 100%;
margin-bottom: 5px;
width: 100%;
}
</style><!--
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.
Please see this article for more information: http://support.brilliantdirectories.com/solution/articles/5000558894-how-to-add-a-google-adsense-banner-ad
-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8264287386440187"
data-ad-slot="5914336557"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<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.
Please see this article for more information: http://support.brilliantdirectories.com/solution/articles/5000558894-how-to-add-a-google-adsense-banner-ad
-->
<a href="https://websecuritypro.com.au?ref=11&utm_source=brent-whatsyourhours" target="_blank">
<img src="/images/Websecuritypro-remarketingads-300x600-1.png">
</a>
<div class="clearfix clearfix-lg"></div>
</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.
Please see this article for more information: http://support.brilliantdirectories.com/solution/articles/5000558894-how-to-add-a-google-adsense-banner-ad
-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-8264287386440187",
enable_page_level_ads: true
});
</script>
<div class="clearfix clearfix-lg"></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'> Finding Free Online Business Listings is easy by searching our trusted network of top-rated Free Online Business Listings.</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 Business</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='/login/retrieval' id='link166'>Password Retrieval</a></li><li class=''><a href='/about/contact' id='link167'>Contact Us</a></li></ul></li><li class='col-md-12'><span id='link226'> Â </span></li><li class='col-md-5 vpad vmargin'><span id='link211'> <div itemscope itemtype="http://schema.org/WebSite">
<meta itemprop="name" content="WhatsYourHours.com" id="sitename">
<link href="//www.whatsyourhours.com" itemprop="url" id="sitelink">
<div class="list-social-links">
<a class="network-icon contact" href="/about/contact" title="Contact Us WhatsYourHours.com">
<i class="fa fa-envelope"></i>
</a>
<a class="network-icon facebook" itemprop="sameAs" href="https://www.facebook.com/whatsyourhours" target="_blank" title="WhatsYourHours.com Facebook">
<i class="fa fa-facebook"></i>
</a>
<a class="network-icon googleplus" itemprop="sameAs" rel="publisher" href="https://goo.gl/maps/NvhnWcvNf342" target="_blank" title="WhatsYourHours.com Google" rel="publisher">
<i class="fa fa-google-plus"></i>
</a>
<a class="network-icon image-icon twitter" itemprop="sameAs" href="https://twitter.com/whatsyourhours" target="_blank" title="WhatsYourHours.com X">
<img alt="WhatsYourHours.com X" loading="lazy" class="talign img-circle" src="/images/twitterX.png" width="40" height="40">
</a>
<a class="network-icon linkedin" itemprop="sameAs" href="https://www.linkedin.com/company/whatsyourhours-com" target="_blank" title="WhatsYourHours.com LinkedIn">
<i class="fa fa-linkedin"></i>
</a>
<div class="clearfix"></div>
</div>
</div></span></li><li class='col-md-6 col-md-offset-1 vpad vmargin'><a href='/join' id='link212' class='btn btn_footer_get_listed btn-lg btn-block bold center sm-block' style='white-space:normal'>Free Online Business Listings - Join Our Website Today »</a></li> </ul>
</div>
<div class="col-md-12 fpad fmargin small text-center footer_terms">
© 2024 <a title="WhatsYourHours.com" href="/">
WhatsYourHours.com </a>
All Rights Reserved.
<div class="inline-block">
<a title="Terms of Use - WhatsYourHours.com" href="/about/terms">
Terms of Use
</a>
|
<a title="Privacy Policy - WhatsYourHours.com" 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(250, 250, 250)!important;
border-color: rgb(238, 238, 238)!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(238, 238, 238);
}
.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;
}
#containerFBLogin .btn-facebook {
box-sizing: border-box;
width: 191px;
font-size: 14px;
position: relative;
left: -4px;
padding-left: 44px;
white-space: nowrap !important;
}
}
</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_190" method="post" labelwidth="100" labelpaddingtop="0.5em" enctype="multipart/form-data" form_action_type="redirect" form_action_div return_data_type="" name="member_login_190" class=" "><input type="hidden" name="sized" value="0" id="member_login_190-element-0"/><input type="hidden" name="mysql_real_escape_string_runned" value="1" id="member_login_190-element-1"/><input type="hidden" name="userid" value="386682" id="member_login_190-element-2"/><input type="hidden" name="usertokenid" value="386682" id="member_login_190-element-3"/><input type="hidden" name="saveinfo" value="1" id="member_login_190-element-4"/><input type="hidden" name="vals" value="2|2" id="member_login_190-element-5"/><input type="hidden" name="answerqmatch" value="4" id="member_login_190-element-6"/><input type="hidden" name="form_source" value="%2Fengland%2Fcolchester%2Fprofessional-services%2Fcolchester-window-and-door-repairs" id="member_login_190-element-7"/><input type="hidden" name="form" value="myform" id="member_login_190-element-8"/><input type="hidden" name="formname" value="member_login" id="member_login_190-element-9"/><input type="hidden" name="dowiz" value="1" id="member_login_190-element-10"/><input type="hidden" name="save" value="1" id="member_login_190-element-11"/><input type="hidden" name="url_origin_pars" value="/england/colchester/professional-services/colchester-window-and-door-repairs" id="member_login_190-element-12"/><input type="hidden" name="action" autocomplete="off" value="login" id="member_login_190-element-13"/><h2 class="nomargin member-login-h2-form-title">Member Login</h2><hr><div class="form-group"><label class="vertical-label bd-email" for="member_login_190-element-16"><span class="required">* </span>Email Address</label><input type="email" name="email" required placeholder="name@yoursite.com" autocomplete="off" value class="form-control input-lg" id="member_login_190-element-16"/></div><div class="form-group"><label class="vertical-label bd-password" for="member_login_190-element-17"><span class="required">* </span>Password</label><input type="password" name="pass" required placeholder="Enter Password" autocomplete="off" value class="form-control input-lg" id="member_login_190-element-17"/></div><span class="help-block bpad bmargin notmargin"> <a href="/login/retrieval">Forgot Password? Click to Reset Password</a></span><div class="form-actions"><input type="submit" value="Login Now" name class="btn btn-primary btn-lg btn-block " id="member_login_190-element-19"/></div><div class="login-cta-buttons"><hr class="cta-hr"><ul class="list-inline nomargin inline-block btn-block"><li class='col-md-6 nolpad sm-nopad nav'><a href='/checkout/5' id='link250' class='btn btn-danger btn-block sm-bmargin'>Not a Registered User? <span class="inline-block">Create Free User Account</span></a></li><li class='col-md-6 nolpad sm-nopad nav'><a href='/join' id='link251' class='btn btn-success btn-block'>Are You a Local Business <span class="inline-block">List Your Company Now</span></a></li></ul><div class="clearfix"></div></div></form><script type="text/javascript">jQuery(document).ready(function() { jQuery("#member_login_190").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(){
$('.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>
//the mapping array to know what address component types are link to which inputs on the contact details form
var inputsArray = {
"country_code" : {
"country" : "short_name"
},
"state_code" : {
"administrative_area_level_1" : "short_name",
"administrative_area_level_2" : "short_name"
},
"state_sn":{
"administrative_area_level_1" : "short_name",
"administrative_area_level_2" : "short_name"
},
"country_sn":{
"country" : "short_name"
},
"city" : {
"locality" : "long_name",
"colloquial_area" : "long_name",
"sublocality" : "long_name",
"sublocality_level_1" : "long_name",
"sublocality_level_2" : "long_name",
"sublocality_level_3" : "long_name",
"sublocality_level_4" : "long_name",
"sublocality_level_5" : "long_name",
"neighborhood" : "long_name",
"political" : "long_name",
"ward" : "long_name",
"postal_town" : "long_name"
},
"zip_code" : {
"postal_code" : "short_name",
"postal_prefix" : "short_name"
},
"address1" : {
"first_grouping" : {
"street_number" : "short_name",
"route" : "short_name"
},
"route" : "short_name",
"premise" : "long_name",
"subpremise" : "long_name",
"intersection" : "long_name",
"park" : "long_name",
"point_of_interest" : "long_name"
},
"country_ln" : {
"country" : "long_name"
},
"state_ln" : {
"administrative_area_level_1" : "long_name",
"administrative_area_level_2" : "long_name"
}
};
var saveLocationParams = {};
//make an array with all the read only inputs based on their names
var readOnlyInputs = [
"country_code",
"state_code",
"state_ln",
"country_ln"
]
//function that triggers those read only inputs
$.each(readOnlyInputs, function(indexes, names){
$('input[name="'+names+'"]').prop("readonly", true);
});
var mapZoom = 16;
var map,inputOptions, autocomplete,geo,uLat,uLng,markerInitLatLng;
//important variables
async function setJsMap() {
let urlWapi = '/wapi/widget?widget_name=Bootstrap%20Theme%20-%20Google%20Maps%20-%20Get%20Center%20Coordinates&request_type=GET&header_type=json&action=getCenterMap';
geo = new google.maps.Geocoder(),
uLat = "",
uLng = "";
//if uLat and uLong are empty load the map in the center of the world
if (isNaN(uLat) || uLat == '' || uLng == '' || isNaN(uLng)) {
uLat = 0;
uLng = 0;
mapZoom = 4;
await getCenterMap(urlWapi)
.then(response => response.json())
.then(data => {
if(data.lat){
uLat = data.lat;
}
if(data.lon){
uLng = data.lon;
}
});
}
markerInitLatLng = new google.maps.LatLng(parseFloat(uLat), parseFloat(uLng)),
marker = new google.maps.Marker({
draggable: true,
position: markerInitLatLng,
map: map,
title: "Your current location"
});
initializeMap();
}
// fetch to obtain the centerOfMap
function getCenterMap(urlWapi) {
const response = fetch(urlWapi, {
method: 'GET',
mode: 'same-origin',
cache: 'default',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/json'
},
});
return response // parses JSON response into native JavaScript objects
}
//function that initializes the Map
function initializeMap() {
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"});
map = new google.maps.Map(document.getElementById('map-canvas'), {
zoom: mapZoom,
center: {lat: parseFloat(uLat), lng: parseFloat(uLng)},
controlSize: 26,
mapTypeControl: false,
streetViewControl: false,
scrollwheel: false
});
map.mapTypes.set('map_style', styledMap);
map.setMapTypeId('map_style');
var input = /** @type {HTMLInputElement} */(
document.getElementById('pac-input')),
searchInput = $('#pac-input');
//the init of the search locations input
const mainCountry = '';
const autocompleteOptions = {
fields: ['address_components', 'adr_address','formatted_address', 'geometry', 'icon', 'name','place_id','plus_code','type'],
}
const language = "en";
if (language) {
autocompleteOptions.language = language;
}
if (mainCountry) {
autocompleteOptions.componentRestrictions = {country: mainCountry};
autocompleteOptions.region = mainCountry;
}
const autocomplete = new google.maps.places.Autocomplete(input, autocompleteOptions);
//bind the change of the autocomplete to the make search function
google.maps.event.addListener(autocomplete, 'place_changed', (e) => {
if (searchInput.value != '') {
const place = autocomplete.getPlace();
makeSearch(place)
} else {
swal(`Error`, `You can not list an empty location!`, "error");
}
});
//when hitting enter on the location search field prevent the submition of the form
searchInput.keydown(function(e) {
if (e.keyCode == 13) {
e.preventDefault();
}
});
//load marker on the map
marker.setMap(map);
//trigger the result when the marker has been dragged
google.maps.event.addListener(marker, 'dragend', function (event) {
const latlng = {
lat: parseFloat(marker.position.lat()),
lng: parseFloat(marker.position.lng()),
};
if ($(".fill-change-marker").is(':checked')) {
fillDataByGeoCode(latlng, 'latLng');
}
});//END dragend event listener
geo = new google.maps.Geocoder();
}//END initialize function
function fillDataByGeoCode(info = '', type = 'address') {
if(info){
type = type.toLowerCase();
let geocoderRequest = { address: info };
if (type.toLowerCase() === 'latlng') {
geocoderRequest = { location: info};
}
const language = "en";
if (language) {
geocoderRequest.language = language;
}
const mainCountry = '';
if (mainCountry && type === 'address') {
geocoderRequest.componentRestrictions = {country: mainCountry};
geocoderRequest.region = mainCountry;
}
if (mainCountry && type === 'latlng') {
geocoderRequest.region = mainCountry;
}
geo.geocode(geocoderRequest, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (results.length > 1) {
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);
}
}
}
map.panTo(results[0].geometry.location);
map.setZoom(16);
// Update mat and lon
$('input[name="lat"]').val(results[0].geometry.location.lat());
$('input[name="lon"]').val(results[0].geometry.location.lng());
marker.setPosition(results[0].geometry.location);
fillAddressFields(results[0]);
} else {
alert(status);
}
});
}
}
//this is the function that takes a google response and fills the input location fields basing itself in the mapping array
function fillAddressFields(results) {
saveLocationParams = {};
let fullAddress={};
var germanyFound = false;
$.each(results.address_components,function(findex, fvalue){
if(fvalue.types && fvalue.types.includes("country") && fvalue.short_name == "DE"){
germanyFound = true;
}
});
if(germanyFound === true){
inputsArray.address1.first_grouping = {
"route" : "short_name",
"street_number" : "short_name"
}
}else{
inputsArray.address1.first_grouping = {
"street_number" : "short_name",
"route" : "short_name"
}
}
$( "textarea[name*='post_location']" ).val(results.formatted_address);
if ($("textarea[name*='post_location']").attr('required')) {
var form_name = $("textarea[name*='post_location']").closest("form").attr("id");
$('#'+form_name).formValidation('revalidateField', "post_location");
}
//loop through the mapping array to get all the values from the inputs that need to be filled with the new information
$.each(inputsArray, function(findex, fvalue){
//clean each field before setting new info
$('input[name="'+findex+'"]').val("");
//loop that checks the second level of the array
$.each(fvalue, function(sindex, svalue){
var flag = true;
//check if svalue is an object
if ($.type(svalue) == "object") {
var currentConcat = "",
//get length of the concat array
concatLength = Object.keys(svalue).length,
concatCounter = 0;
//loop on each element of the svalue elements for the address components concatenation
$.each(svalue, function(conkey, convalue){
//run a loop on the address components for each svalue elements
$.each(results.address_components, function(inskey, insvalue){
//if the element of the svalue match, concat the result to the array currentConcat
if (insvalue.types[0] == conkey) {
currentConcat += insvalue[convalue]+" ";
concatCounter++;
}
});//END each on address components
});//END each on svalue for the address components concatenation
//if all the elements matched then this new location with the concatenation of address components will be the one used
if (concatCounter == concatLength) {
$('input[name="'+findex+'"]').val(currentConcat);
saveLocationParams[findex] = currentConcat;
flag = false;
return false;
}
//if svalue is not an object the system will continue with the default computations
} else {
//run a loop on the address components for the svalue being searched
$.each(results.address_components, function(key, value){
//if the svalue element matches it will be saved
if (value.types[0] == sindex) {
$('input[name="'+findex+'"]').val(value[svalue]);
saveLocationParams[findex] = value[svalue];
flag = false;
return false;
}
});//END each on the address components
}
return flag;
});//END each on the second level of the array
});//END each on the first level of the array
}//END fillAddressFields function
//function that triggers when someone selects an option from the autocomplete
function makeSearch(results) {
if (results && results.address_components) {
//the system will move the marker to the center of the new choosen location
marker.setPosition(results.geometry.location);
map.panTo(results.geometry.location);
map.setZoom(16);
//update lat and lng with the new coordinates of the resulting location
// Update Lat
$('input[name="lat"]').val(results.geometry.location.lat());
// Update Lng
$('input[name="lon"]').val(results.geometry.location.lng());
fillAddressFields(results);
} else {
fillDataByGeoCode(results.name,'address');
}
}//END make search function
$('#pac-input').closest('form').submit(function(e){
saveLocation(saveLocationParams);
});
var saveLocation = function(geoResponse) {
$.ajax({
url: '/api/data/html/get/data_widgets/widget_name',
type: 'GET',
dataType: 'json',
data: {
"name": 'website_save_location_system',
"response" : geoResponse
}
})
.done(function(data) {
// console.log(data);
})
.fail(function(data) {
// console.log(data);
});
}
</script> <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2CX9DC2SNX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2CX9DC2SNX');
</script>
<script type="text/javascript">
var vlat = 0;
var vlon = 0;
window.addEventListener('DOMContentLoaded', () => {
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);
});
function googleMapOnFormClick() {
let googleSuggestForm = document.querySelectorAll('.googleSuggest,.google-writen-location,input[name="lead_location"],.fill_location');
let scriptLoaded = new Promise( (resolve,rejection) => {
resolve('already loaded');
});
let mapUri ="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places®ion=US&callback=initializeG&language=en&key=AIzaSyBLkx_dAArthmEN61eYqMSiBVE5dHJbG-g";
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.removeEventListener('focusin', googleMapOnFormClick, false);
}else{
googleSuggestForm[i].removeEventListener('input', googleMapOnFormClick, false);
}
}
}
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");
};
let head = document.getElementsByTagName('head')[0];
head.appendChild(script);
});
}
if(typeof google == "undefined" || !google.hasOwnProperty('maps')) {
scriptLoaded = loadMapScriptAsync(mapUri);
} else {
let InitG= 0;
if (typeof initialize !== 'undefined' && typeof initialize === 'function' && InitG >0) {
initialize();
}
}
return scriptLoaded;
}
function initializeG() {
var geocoder;
var cachedSelectedOption = [];
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) {
var currentForm = $(this);
var locationInput = $(this).find(".googleLocation");
//checks if the location input is filled when submitting the search form
if (locationInput.val() != "" && typeof locationInput.val() != 'undefined') {
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 (cachedSelectedOption[0] == 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 parseInfoToSearch(results, urlGET, formActionUrl) {
var parameters = {};
var addressComponentsArray = [];
if (results.length > 1) {
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;
sessionStorage.setItem("google_result",JSON.stringify(results));
//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 ((results[0].address_components[i]['types'][0] == "locality" || results[0].address_components[i]['types'][0] == "sublocality_level_1" || results[0].address_components[i]['types'][0] == "colloquial_area" || results[0].address_components[i]['types'][0] == "postal_town") && $.inArray(results[0].address_components[i]['types'][0], results[0].types) !== -1) {
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:
console.log("Location information is unavailable.");
break;
case error.TIMEOUT:
console.log("The request to get user location timed out.");
break;
case error.UNKNOWN_ERROR:
console.log("An unknown error occurred.");
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>
<!-- Google Code for Remarketing Tag -->
<!--------------------------------------------------
Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
--------------------------------------------------->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 866703029;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/866703029/?guid=ON&script=0"/>
</div>
</noscript><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" 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>
// this will allow middle click
$(document).on("mousedown", function (e1) {
if (e1.which === 2) {
$(document).one("mouseup", function (e2) {
if (e1.target === e2.target) {
var e3 = $.event.fix(e2);
e3.type = "middleclick";
$(e2.target).trigger(e3);
}
});
}
});
//if to only record the profile view stats when the page type is equals to profile
// All the next scripts are related to the profile click statistics
// Script for the opening of the profile
$.ajax({
url: "/api/stats/json/post/users_clicks/insert",
dataType: "json",
type: "POST",
data: {
user_id: "386682",
click_name: 'Profile Views',
click_type: 'Profile',
click_from: window.location.href
},
success: function (data) {
}
});
// END of "Script for the opening of the profile"
// Script for the social media of the profile
$(".weblink").on('click middleclick', function() {
var element = $(this);
var typeofaction = $(this).attr("title");
$.ajax({
url: "/api/stats/json/post/users_clicks/insert",
dataType: "json",
type: "POST",
data: {
user_id: "386682",
click_name: typeofaction,
click_type: typeofaction,
click_url: $(this).attr("href"),
click_from: window.location.href
},
success: function (data) {
}
});
});
// Script for the show phone number button
$(".view_phone_number, .view_phone_number_header, .myphoneHide, .myphoneHideDetail").click(function(){
var element = $(this);
var typeofaction = "Phone Number";
$.ajax({
url: "/api/stats/json/post/users_clicks/insert",
dataType: "json",
type: "POST",
data: {
user_id: "386682",
click_name: "Phone Number",
click_type: 'Phone Number',
click_from: window.location.href
},
success: function (data) {
}
});
});
// END of "Script for the phone number of the profile"
// END of "Script for the social media of the profile"
</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 = `LIKE`;
var bookmarkCountLabel = `LIKES`;
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);
$(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 (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 type="text/javascript">
let clickMoreButtons = document.getElementsByClassName('clickToLoadMoreBtn');
let autoLoadResults = true;
let loadMore = function () {
let featureDCId = this.dataset.dc;
let currentPage = this.dataset.page;
let currentUser = this.dataset.owner;
let replyToReviewProfilePage = this.dataset.replytoreview;
let levId = this.dataset.lvl;
let dataType = this.dataset.type;
let loadReviews = null;
if (dataType == 13) {
loadReviews = document.querySelector('.loadReviews + .clearfix + .loadContainer');
}
this.dataset.page = parseInt(currentPage) + 1;
this.classList.add('loadingMore');
let currentInnerHtml = this.innerHTML;
this.innerHTML = '<i class="fa fa-spinner fa-spin"></i> Loading...';
let currentBTN = this;
let url = `/wapi/widget`;
let formData = new FormData();
formData.append('dc_id', featureDCId);
formData.append('currentPage', currentPage);
formData.append('currentUser', currentUser);
formData.append('header_type', 'html');
formData.append('replyToReviewProfilePage', replyToReviewProfilePage);
formData.append('levId', levId);
formData.append('request_type', 'POST');
formData.append('widget_name', 'Bootstrap - Search - Lazy Loader tabs');
let myInit = {
method: 'POST',
credentials: 'same-origin',
body: formData
};
fetch(url, myInit)
.then(function (response) {
return response.text();
}).then(function (html) {
let parser = new DOMParser();
let result = parser.parseFromString(html, 'text/html');
let newResults = result.getElementById('grabHTML__js').innerHTML;
let amountOfClicks = result.getElementById('grabHTML__js').dataset.pages;
if (dataType == 13 && typeof loadReviews != 'undefined' && loadReviews != null) {
$('.loadReviews').before(newResults); //reviews
} else {
$(currentBTN).parent().before(newResults);
}
setAmountPages(currentBTN, amountOfClicks);
if (typeof favoriteOn == 'function') {
favoriteOn();
}
if (typeof runRoyalSlider == 'function') {
runRoyalSlider();
}
currentBTN.innerHTML = currentInnerHtml;
currentBTN.classList.remove('loadingMore');
autoLoadResults = true;
});
}
// adding listener
Array.from(clickMoreButtons).forEach(function (clickMoreBtnElement) {
clickMoreBtnElement.addEventListener('click', loadMore);
});
function removeListenToScroll(){
window.removeEventListener('scroll', listenToScroll);
}
function listenToScroll() {
if (isElementInViewport() && autoLoadResults) {
let btnClickMore = document.querySelector('.active .clickToLoadMoreBtn');
if (typeof btnClickMore != 'undefined' && btnClickMore != null){
btnClickMore.click();
}
autoLoadResults = false;
}
}
function isElementInViewport() {
let btnClickMore = document.querySelector('.active .clickToLoadMoreBtn')
if (typeof btnClickMore != 'undefined' && btnClickMore != null) {
const rect = btnClickMore.getBoundingClientRect();
return (
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth)
);
}
}
function setAmountPages(btn, amount) {
if (!("pages" in btn.dataset)) {
btn.dataset.pages = parseInt(amount) - 1; // we do -1 because the just clicked
} else {
btn.dataset.pages = parseInt(btn.dataset.pages) - 1;
}
if (btn.dataset.pages <= 0) {
btn.remove();
}
}
</script><script>
function validate() {
var reason='';
form=document.sidebarform;
if (form.answerq.value!=8) {
reason=reason+'- Answer the security question';
}
if (reason!='') { reason='Please correct the following errors:\n'+reason; alert(reason); return false; }
}
</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>
async function setJsMap() {
let urlWapi = '/wapi/widget?widget_name=Bootstrap%20Theme%20-%20Google%20Maps%20-%20Get%20Center%20Coordinates&request_type=GET&header_type=json&action=getCenterMap';
var localizedMainCoutry = '';
if ($('#location_status').length == 0) {
var currentLocationState = "no_location";
} else {
var currentLocationState = $('#location_status').data('state');
}
if (currentLocationState != "no_location") {
//the maping array to know what address component types are link to which inputs on the contact details form
var inputsArray = {
"country_sn": {
"country": "short_name"
},
"adm_lvl_1_sn": {
"administrative_area_level_1": "short_name"
},
"county_sn": {
"administrative_area_level_2": "short_name"
},
"city":{
"locality": "short_name"
}
};
var geoSC = new google.maps.Geocoder();
var markerSC = '';
var mapSC = '';
var vlonLead = '';
var vlatLead = '';
var userLat = '0.00000000';
var userLon = '0.00000000';
var geocodeVisitorsSetting = '1';
var geocodingMethod = 'HTML5';
if (vlatLead == "" && userLat != "") {
vlatLead = userLat;
}
if (vlonLead == "" && userLon != "") {
vlonLead = userLon;
}
if (vlatLead == "" || vlonLead == "") {
await getCenterMap(urlWapi)
.then(response => response.json())
.then(data => {
if (data.lat) {
vlatLead = userLat = uLat = data.lat;
}
if (data.lon) {
vlonLead = userLon = uLng = data.lon;
}
});
}
if (currentLocationState == 'default' || currentLocationState == 'only_map') {
//important variables
//function that initializes the Map
const mapDiv = document.getElementById("map-canvas-contact-sidebar");
function initializeMap() {
if (initializeMap.alreadyUsed) {
return false;
}
initializeMap.alreadyUsed = true;
var iconImage = '';
var mapOptions = {
controlSize: 26,
mapTypeControl: false,
streetViewControl: false,
scrollwheel: false
}
mapSC = new google.maps.Map(mapDiv, mapOptions);
//if uLat and uLong are empty load the map in the center of the world
if (userLat == "" || userLon == "") {
userLat = 0;
userLon = 0;
}
var markerInitLatLng2 = new google.maps.LatLng(parseFloat(userLat), parseFloat(userLon));
markerSC = new google.maps.Marker({
draggable: true,
position: markerInitLatLng2,
map: mapSC,
title: "Your current location",
icon: iconImage
});
//if no location saved zoom will be 2
var mapZoom = 15;
if (userLat == "" || userLon == "") {
mapZoom = 4;
}
if (currentLocationState == 'default') {
var input = /** @type {HTMLInputElement} */(
document.getElementById('pac-input'))
var inputOptions = {
fields: ['address_components', 'adr_address','formatted_address', 'geometry', 'icon', 'name','place_id','plus_code','type'],
types: ['(regions)']
}
const language = "en";
if (language) {
inputOptions.language = language;
}
if (localizedMainCoutry) {
inputOptions.componentRestrictions = {country: localizedMainCoutry};
inputOptions.region = localizedMainCoutry;
}
var autocomplete = new google.maps.places.Autocomplete(input, inputOptions);
autocomplete.bindTo('bounds', mapSC);
//bind the change of the autocomplete to the make search function
//google.maps.event.addListener(autocomplete, 'place_changed', makeSearch);
google.maps.event.addListener(autocomplete, 'place_changed', (e) => {
if (input.value != '') {
const place = autocomplete.getPlace();
makeSearch(place)
} else {
swal(`Error`, `You can not list an empty location!`, "error");
}
});
//when hitting enter on the location search field prevent the submition of the form
input.addEventListener("keydown", (e) => {
if (e.key === "Enter") {
e.preventDefault();
}
});
}
mapSC.setCenter(new google.maps.LatLng(vlatLead, vlonLead));
mapSC.setZoom(mapZoom);
//load marker on the map
markerSC.setMap(mapSC);
// check for Geolocation support
if (geocodeVisitorsSetting == 1 && geocodingMethod == "HTML5" && vlatLead != userLat && vlonLead != userLon & uLat != 0 && uLng != 0) {
let markerMemberInitLatLng = new google.maps.LatLng(parseFloat(uLat), parseFloat(uLng))
markerSC.setPosition(markerMemberInitLatLng);
mapSC.setCenter(markerMemberInitLatLng);
// makeSearch(vlatLead, vlonLead);
let latlng = {
lat: parseFloat(markerSC.position.lat()),
lng: parseFloat(markerSC.position.lng()),
};
fillDataByGeoCode(latlng, 'latLng');
} else {
markerSC.setPosition(new google.maps.LatLng(vlatLead, vlonLead));
}
//capture the draggin marker event and update the lat and lng of the member
google.maps.event.addListener(markerSC, 'dragend', function (event) {
let markerCoordinates = markerSC.getPosition();
userLat = uLat = markerSC.getPosition().lat();
userLng = uLng = markerSC.getPosition().lng();
fillDataByGeoCode(markerCoordinates, 'latLng');
});//END dragend event listener
}//END initialize function
initializeMap();
// google.maps.event.addDomListener(window, 'load', initializeMap);
//END if (currentLocationState == 'default' || currentLocationState == 'only_map')
} else if (currentLocationState == 'only_input') {
function initializeInput() {
const inputOptions = {
fields: ['address_components', 'adr_address','formatted_address', 'geometry', 'icon', 'name','place_id','plus_code','type'],
types: ['(regions)'],
}
const language = "en";
if (language) {
inputOptions.language = language;
}
if (localizedMainCoutry) {
inputOptions.componentRestrictions = {country: localizedMainCoutry};
inputOptions.region = localizedMainCoutry;
}
var change = document.getElementsByClassName("google-writen-location");
var searchInput = {};
var autocomplete = {};
var cachedSelectedOption = {};
for (var i = 0; i < change.length; i++) {
//the init of the search locations input
autocomplete[i] = new google.maps.places.Autocomplete(change[i], inputOptions);
autocomplete[i].inputId = change[i].id;
var currentLocationValue;
$(change[i]).keyup(function () {
$('input[name="lat"]').val('');
$('input[name="lng"]').val('');
$('input[name="swlat"]').val('');
$('input[name="swlng"]').val('');
$('input[name="nelat"]').val('');
$('input[name="nelng"]').val('');
$('input[name="location_type"]').val('');
});
$(change[i]).blur(function () {
var thisField = $(this);
let thisVal = this.value;
setTimeout(function () {
if (thisField.parents('div').find('[name="lat"]').val() == "") {
fillDataByGeoCode(thisVal);
}
}, 300);
});
//bind the change of the autocomplete to the make search function
google.maps.event.addListener(autocomplete[i], 'place_changed', function () {
let place= this.getPlace();
makeSearch(place);
});
//when hitting enter on the location search field prevent the submition of the form
$('.google-writen-location:eq(' + i + ')').keydown(function (e) {
if (e.keyCode == 13) {
e.preventDefault();
}
});
}
}//END initialize function
initializeInput();
// google.maps.event.addDomListener(window, 'load', initializeInput);
}
//this is the function that takes a google response and fills the input location fields basing itself in the maping array
function fillAddressFields(results) {
var coordinatesCenter = results.geometry.location;
var boundsResponse = "";
$('input[name="lead_location"]').val(results['formatted_address']);
if(results['adr_address']){
var faddress = results['adr_address'].replace(/<[^>]+>/g, '');
$('input[name="faddress"]').val(faddress);
}
$('input[name="lat"]').val(coordinatesCenter.lat());
//update Lng
$('input[name="lng"]').val(coordinatesCenter.lng());
if (results.geometry.hasOwnProperty('bounds') || results.geometry.hasOwnProperty('viewport')) {
if (results.geometry.hasOwnProperty('bounds')) {
var boundsResponse = results.geometry.bounds;
} else {
var boundsResponse = results.geometry.viewport;
}
}
if (boundsResponse != "") {
//update sw
$('input[name="swlat"]').val(boundsResponse.getSouthWest().lat());
$('input[name="swlng"]').val(boundsResponse.getSouthWest().lng());
//update ne
$('input[name="nelat"]').val(boundsResponse.getNorthEast().lat());
$('input[name="nelng"]').val(boundsResponse.getNorthEast().lng());
}
//update location type
$('input[name="location_type"]').val(results.address_components[0].types[0]);
//loop through the maping array to get all the values from the inputs that need to be filled with the new information
$.each(inputsArray, function (findex, fvalue) {
//clean each field before setting new info
$('input[name="' + findex + '"]').val("");
//loop that checks the second level of the array
$.each(fvalue, function (sindex, svalue) {
var flag = true;
//check if svalue is an object
if ($.type(svalue) == "object") {
var currentConcat = "",
//get length of the concat array
concatLength = Object.keys(svalue).length,
concatCounter = 0;
//loop on each element of the svalue elements for the address components concatenation
$.each(svalue, function (conkey, convalue) {
//run a loop on the address components for each svalue elements
$.each(results.address_components, function (inskey, insvalue) {
//if the element of the svalue match, concat the result to the array currentConcat
if (insvalue.types[0] == conkey) {
currentConcat += insvalue[convalue] + " ";
concatCounter++;
}
});//END each on address components
});//END each on svalue for the address components concatenation
//if all the elements matched then this new location with the concatenation of address components will be the one used
if (concatCounter == concatLength) {
$('input[name="' + findex + '"]').val(currentConcat);
flag = false;
return false;
}
//if svalue is not an object the system will continue with the default computations
} else {
//run a loop on the address components for the svalue being searched
$.each(results.address_components, function (key, value) {
//if the svalue element matches it will be saved
if (value.types[0] == sindex) {
$('input[name="' + findex + '"]').val(value[svalue]);
flag = false;
return false;
}
});//END each on the address components
}
return flag;
});//END each on the second level of the array
});//END each on the first level of the array
}//END fillAddressFields function
//function that triggers when someone selects an option from the autocomplete
function makeSearch(results) {
if (results && results.address_components) {
if (currentLocationState == 'default' || currentLocationState == 'only_map') {
markerSC.setPosition(results.geometry.location);
mapSC.panTo(results.geometry.location);
mapSC.setZoom(16);
}
fillAddressFields(results);
}
else {
fillDataByGeoCode(results.name,'address');
}
}//END make search function
if (currentLocationState == 'default' || currentLocationState == 'only_map') {
$('#contactModal').on('shown.bs.modal', function () {
google.maps.event.trigger(mapSC, "resize");
});
}
}//END if (currentLocationState != "no_location")
function fillDataByGeoCode(info, type = 'address') {
if(info){
type = type.toLowerCase();
let geocoderRequest = { address: info };
if (type === 'latlng') {
geocoderRequest = { location: info};
}
const language = "en";
if (language) {
geocoderRequest.language = language;
}
const mainCountry = '';
if (mainCountry && type === 'address') {
geocoderRequest.componentRestrictions = {country: mainCountry};
geocoderRequest.region = mainCountry;
}
if (mainCountry && type === 'latlng') {
geocoderRequest.region = mainCountry;
}
geo = new google.maps.Geocoder();
geo.geocode(geocoderRequest, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (results.length > 1) {
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);
}
}
}
if (mapSC != null && mapSC != '' && typeof mapSC !== "undefined" && markerSC != null && markerSC != '' && typeof markerSC !== "undefined") {
mapSC.panTo(results[0].geometry.location);
mapSC.setZoom(16);
markerSC.setPosition(results[0].geometry.location);
}
fillAddressFields(results[0]);
} else {
alert(status);
}
});
}
}
// fetch to obtain the centerOfMap
function getCenterMap(urlWapi) {
const response = fetch(urlWapi, {
method: 'GET',
mode: 'same-origin',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/json'
},
});
return response
}
}
</script><script type="text/javascript">
if(typeof bootstrap_contact_member_category_dropdowns_runned == "undefined"){
var bootstrap_contact_member_category_dropdowns_runned = true;
var uniqueForm = $('.select-category-chained').closest('form').attr("id");
$(document).on('change', '.select-category-chained', function () {
var input = $(this);
var currentLevel = input.attr('name');
var categoryId = input.val();
var targetSelect = uniqueForm + " #" + input.data('nextselect');
var enviromentVar = $('#cat-page-type').data('type');
//empty all the children of this select
var epmtyHtmlOptions = "";
var defaultOptionText = 'Select from List';
if(defaultOptionText != ""){
epmtyHtmlOptions += '<option value="">('+defaultOptionText+')</option>';
}
$('#' + targetSelect).html(epmtyHtmlOptions);
$('#' + targetSelect).val('').change();
//check if child is also parent and clean that one too
var targetSelectElement = $('#' + targetSelect);
var childChildSelect = targetSelectElement.data('nextselect');
if (childChildSelect != "" && childChildSelect != undefined) {
$('#' + childChildSelect).html(epmtyHtmlOptions);
$('#' + childChildSelect).val('').change();
}
if (enviromentVar == "profile") {
var userId = $('#cat-page-type').data('user');
} else {
var userId = "";
}
if (categoryId != "") {
//send ajax to know the children results
var gcaResponseArray = [];
$.ajax({
url: "/wapi/widget",
type: "GET",
dataType: "json",
data: {
"request_type": "GET",
"widget_name": "Bootstrap - Contact Member Category Dropdowns",
"header_type": "json",
"user_id": userId,
"scope": currentLevel,
"category_id": categoryId,
"select_action": "find_children_cat"
},
success: function (data) {
gcaResponseArray.push(data);
},
error: function (data) {
console.log("error");
console.log(data);
}
});
var gcaInter = setInterval(function () {
if (gcaResponseArray.length == 1) {
clearInterval(gcaInter);
var htmlOptions = "";
var defaultOptionText = 'Select from List';
if(defaultOptionText != ""){
htmlOptions += '<option value="">('+defaultOptionText+')</option>';
}
//construct the html options values
var newOptionsCounter = 0;
if(gcaResponseArray[0] !== null && gcaResponseArray[0]['cats']!=''){
$.each(gcaResponseArray[0]['cats'], function (key, value) {
key = key.replace('_', '');
htmlOptions += '<option value="' + key + '">' + value + '</option>';
newOptionsCounter++;
});
$('#' + targetSelect).html(htmlOptions);
$('#' + targetSelect).attr("disabled", false);
if (newOptionsCounter > 0) {
$('#' + targetSelect).select2("open");
}
}else{
$('#' + targetSelect).html('<option value="">No Options Available</option>');
$('#' + targetSelect).attr("disabled", true);
$("#" + targetSelect).select2("val", "");
if ($("#" + targetSelect).attr('data-nextselect') != "") {
let dataSelectNext = $("#" + targetSelect).attr('data-nextselect');
$('#' + dataSelectNext).html('<option value="">No Options Available</option>');
$('#' + dataSelectNext).attr("disabled", true);
$("#" + dataSelectNext).select2("val", "");
}
}
}
}, 400);
}
});
const topRequired = document.querySelector('label[for="top-id-select"] span.required');
const subRequired = document.querySelector('label[for="sub-id-select"] span.required');
const subSubRequired = document.querySelector('label[for="sub-sub-id-select"] span.required');
//code to check that the categories have been submitted if the settings are enabled
$('#'+uniqueForm).submit(function (e) {
let topRequiredVal = document.getElementById('top-id-select');
let subRequiredVal = document.getElementById('sub-id-select');
let subSubRequiredVal = document.getElementById('sub-sub-id-select');
if ((topRequired !== null && topRequiredVal !== null && topRequiredVal.value == '') || (subRequired !== null && subRequiredVal !== null && subRequiredVal.value == '') || (subSubRequired !== null && subSubRequiredVal !== null && subSubRequiredVal.value == '')) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
swal(`Whoops!`, `Please select a category to submit this request` ,"error");
}
});
}
</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='bootstrap_get_match_255']`).formValidation({"framework":"bootstrap","addOns":{"reCaptcha2":{"element":"captchaContainer","language":"en","theme":"light","siteKey":"6Lf8GfsSAAAAAD85tCjd0qqFlafyPNWp-wFm9KX2","timeout":"120","message":"The captcha is not valid"}},"fields":{"lead_email":{"validators":{"notEmpty":{"message":"Required Field"},"emailAddress":{"message":"Please enter a valid email address"}}}}}).on('success.form.fv', function(e,fvdata) {
if('bootstrap_get_match' == 'unsubscribe_email'){
return true;
}
// Prevent form submission
e.preventDefault();
$form = $(e.target),
fv = $form.data('formValidation');
var values = $(this).serialize();
var locationFieldCorrect = true;
if($("#bootstrap_get_match_255 .location_required").length > 0){
$("#bootstrap_get_match_255 .location_required").each(function (index) {
if($(this).data('state') == 1){
if($('#bootstrap_get_match_255 input[name="lead_location"]').val() == "" || $('#bootstrap_get_match_255 input[name="lat"]').val() == "" || $('#bootstrap_get_match_255 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 ($("#bootstrap_get_match_255-notification").html() != "") {
$("#bootstrap_get_match_255-notification").remove();
}
if ($(this).find('input[type="submit"]').length > 0) {
$(this).find('input[type="submit"]').before('<div id="bootstrap_get_match_255-notification" class="alert"></div>');
} else {
$(this).prepend('<div id="bootstrap_get_match_255-notification" class="alert"></div>');
}
var notification = $("#bootstrap_get_match_255-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($("#bootstrap_get_match_255 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]);
});
$("#bootstrap_get_match_255 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 && 'bootstrap_get_match_255' == '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 = "/england/colchester/professional-services/colchester-window-and-door-repairs";
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' && 'bootstrap_get_match_255' != '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'];
}
$("#bootstrap_get_match_255-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();
$("#bootstrap_get_match_255-notification").html(`Recaptcha Error`);
} else {
$("#bootstrap_get_match_255-notification").html(`A connection error occurred while saving. Please try to save again.`);
}
$("#bootstrap_get_match_255-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.
$('#bootstrap_get_match_255 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>
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 async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Adsense 0001 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8264287386440187"
data-ad-slot="6198681359"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> <script type="text/javascript">
var counterSubmit = 0;
$(document).ready(function() {
$(`form[name='member_login_190']`).formValidation({"framework":"bootstrap","fields":{"email":{"validators":{"notEmpty":{"message":"Required Field"},"emailAddress":{"message":"Please enter a valid email address"}}},"pass":{"validators":{"notEmpty":{"message":"Required Field"}}}}}).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_190 .location_required").length > 0){
$("#member_login_190 .location_required").each(function (index) {
if($(this).data('state') == 1){
if($('#member_login_190 input[name="lead_location"]').val() == "" || $('#member_login_190 input[name="lat"]').val() == "" || $('#member_login_190 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_190-notification").html() != "") {
$("#member_login_190-notification").remove();
}
if ($(this).find('input[type="submit"]').length > 0) {
$(this).find('input[type="submit"]').before('<div id="member_login_190-notification" class="alert"></div>');
} else {
$(this).prepend('<div id="member_login_190-notification" class="alert"></div>');
}
var notification = $("#member_login_190-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_190 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_190 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_190' == '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 = "/england/colchester/professional-services/colchester-window-and-door-repairs";
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_190' != '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_190-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_190-notification").html(`Recaptcha Error`);
} else {
$("#member_login_190-notification").html(`A connection error occurred while saving. Please try to save again.`);
}
$("#member_login_190-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_190 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><!-- Start: Copyright 2021 TraceMyIP.org Service Code (052204-10292021)- DO NOT MODIFY //-->
<div id="elemID031021" style="line-height:16px;text-align:center;position:relative;z-index:100000;"><script type="text/javascript" src="https://s2.tracemyip.org/tracker/lgUrl.php?stlVar2=1306&rgtype=4684NR-IPIB&pidnVar2=96351&prtVar2=12&scvVar2=12"></script><noscript><a href="https://www.tracemyip.org/tools/cookie-free-tracking-analytics-eu-cookie-law-solution/"><img src="https://s2.tracemyip.org/tracker/1306/4684NR-IPIB/96351/12/12/ans/" alt="cookie-less hit tracker" style="border:0px;"></a></noscript></div> <!-- End: TraceMyIP.org Service Code //-->
<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;
}
body .tt-is-under-cursor a.suggest-link[data-heading="heading"] {
background: rgb(217, 83, 79);
}
/* --- 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(253, 253, 253)!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(217, 83, 79);
}
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%;
}
.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,Listing,1,1,1,1,0,3|88,list_professions,Main Category,1,0,0,0,0,3|89,list_services,Sub Category,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>