{"id":863,"date":"2021-06-14T06:43:37","date_gmt":"2021-06-14T06:43:37","guid":{"rendered":"http:\/\/www.rmabodyandpaint.com\/?page_id=863"},"modified":"2021-06-15T10:12:11","modified_gmt":"2021-06-15T10:12:11","slug":"gallery-ford","status":"publish","type":"page","link":"https:\/\/www.rmabodyandpaint.com\/th\/gallery-ford\/","title":{"rendered":"Gallery &#8211; Ford"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"863\" class=\"elementor elementor-863\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9d46bd5 elementor-section-height-min-height elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"9d46bd5\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-458ee87\" data-id=\"458ee87\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b64925c elementor-widget elementor-widget-heading\" data-id=\"b64925c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-xl\">Gallery<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-435b9cb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"435b9cb\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-c403c62\" data-id=\"c403c62\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-9bd6385 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9bd6385\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-dea2972\" data-id=\"dea2972\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8d23405 elementor-widget elementor-widget-heading\" data-id=\"8d23405\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ford<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b71e65 elementor-widget-divider--view-line elementor-invisible elementor-widget elementor-widget-divider\" data-id=\"8b71e65\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInLeft&quot;,&quot;_animation_delay&quot;:100}\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a8ab5e4 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a8ab5e4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-95257f4\" data-id=\"95257f4\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-edee881 elementor-widget elementor-widget-wp-widget-foogallery_widget\" data-id=\"edee881\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"wp-widget-foogallery_widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style type=\"text\/css\">\n#foogallery-gallery-525.fg-masonry { --fg-gutter: 10px; }<\/style>\n\t\t\t<div class=\"foogallery foogallery-container foogallery-masonry foogallery-lightbox-foobox fg-center fg-masonry fg-ready fg-light fg-loading-default fg-loaded-fade-in fg-hover-grayscale fg-hover-zoomed fg-caption-always fg-hover-fade fg-hover-zoom fg-col2\" id=\"foogallery-gallery-525\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true,&quot;paging&quot;:{&quot;type&quot;:&quot;dots&quot;,&quot;size&quot;:6,&quot;position&quot;:&quot;bottom&quot;,&quot;scrollToTop&quot;:false,&quot;output&quot;:&quot;html&quot;,&quot;theme&quot;:&quot;fg-light&quot;}}\" style=\"--fg-title-line-clamp: 0; --fg-description-line-clamp: 0;\" >\n\t\t<div class=\"fg-column-width\"><\/div>\n\t<div class=\"fg-gutter-width\"><\/div>\n\t\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/05\/RangeRover-featured-image.png\" data-caption-title=\"Ford-1\" data-caption-desc=\"XX.XX.XX\" data-attachment-id=\"146\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" title=\"Ford-1\" width=\"250\" height=\"167\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/05\/RangeRover-featured-image\/1118946215.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22167%22%20viewBox%3D%220%200%20250%20167%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><div class=\"fg-caption-title\">Ford-1<\/div><div class=\"fg-caption-desc\">XX.XX.XX<\/div><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/05\/Mitsubishi-featured-image.png\" data-caption-title=\"Ford-2\" data-caption-desc=\"XX.XX.XX\" data-attachment-id=\"136\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" title=\"Ford-2\" width=\"250\" height=\"167\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/05\/Mitsubishi-featured-image\/318206204.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22167%22%20viewBox%3D%220%200%20250%20167%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><div class=\"fg-caption-title\">Ford-2<\/div><div class=\"fg-caption-desc\">XX.XX.XX<\/div><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/06\/Ford-featured-image.png\" data-caption-title=\"Ford-3\" data-attachment-id=\"870\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" title=\"Ford-3\" width=\"250\" height=\"141\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/06\/Ford-featured-image\/1040787775.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22141%22%20viewBox%3D%220%200%20250%20141%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><div class=\"fg-caption-title\">Ford-3<\/div><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/06\/9ec29d76b247827900d41ba8d696b9c5.jpeg\" data-attachment-id=\"526\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"188\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/06\/9ec29d76b247827900d41ba8d696b9c5\/3939106841.jpeg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22188%22%20viewBox%3D%220%200%20250%20188%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/06\/d9347b82c286fd1f6f348a8af1ea7c09.png\" data-caption-title=\"Ford Ranger Caption\" data-caption-desc=\"Ford Ranger Desc\" data-attachment-id=\"527\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" title=\"Ford Ranger Caption\" width=\"250\" height=\"188\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/06\/d9347b82c286fd1f6f348a8af1ea7c09\/794710505.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22188%22%20viewBox%3D%220%200%20250%20188%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><div class=\"fg-caption-title\">Ford Ranger Caption<\/div><div class=\"fg-caption-desc\">Ford Ranger Desc<\/div><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/slider3\/CarDetailingServicecontentslide_02.png\" data-attachment-id=\"205\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"167\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/slider3\/CarDetailingServicecontentslide_02\/2563533926.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22167%22%20viewBox%3D%220%200%20250%20167%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle fg-hidden\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/slider3\/CarDetailingServicecontentslide_01.png\" data-attachment-id=\"203\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"167\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/slider3\/CarDetailingServicecontentslide_01\/2669412843.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22167%22%20viewBox%3D%220%200%20250%20167%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle fg-hidden\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/2021\/05\/Collision-Repair-Paint.png\" data-attachment-id=\"100\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"167\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/www.rmabodyandpaint.com\/wp-content\/uploads\/cache\/2021\/05\/Collision-Repair-Paint\/3040114766.png\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22167%22%20viewBox%3D%220%200%20250%20167%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div><nav id=\"foogallery-gallery-525_paging-bottom\" class=\"fg-paging-container fg-ph-dots\"><\/nav><style type=\"text\/css\">.fg-dot-item {\r\n    padding: 0px 7px !important;\r\n    border: 2px solid #104BB9;\r\n    font-size: 20px;\r\n}\r\n\r\n.fg-dot-link {\r\n    border: 0px solid rgb(0 0 0 \/ 0%);\r\n}\r\n\r\n.fg-selected {}\r\n\r\n.fg-paging-container .fg-dot-item .fg-dot-link:before {\r\n    border: 0px solid transparent;\r\n    width: 0px;\r\n    height: 0px;\r\n}\r\n\r\nli.fg-dot-item.fg-selected {\r\n    margin: 0px 10px;\r\n    background-color: #104BB9;\r\n}\r\n.fg-dot-item.fg-selected .fg-dot-link {\r\n    \/* border-color: #888; *\/\r\n    color: #fff !important;\r\n}\r\n.fg-dot-item .fg-dot-link {\r\n    \/* border-color: #888; *\/\r\n    color: #104BB9;\r\n}\r\n.fg-paging-container.fg-light .fg-dot-item .fg-dot-link {\r\n    background-color: rgb(0 0 0 \/ 0%) !important;\r\n    border: none;\r\n    font-family: 'Bebas Neue' !important;\r\n}\r\na.fg-dot-link {\r\n    font-size: 15px !important;\r\n    color: #104BB9 !important;\r\n}\r\ndiv#foogallery-gallery-525 {\r\n    min-height: 90vh;\r\n}<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-95878f6\" data-id=\"95878f6\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1711cb9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1711cb9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-a818701\" data-id=\"a818701\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7fda3c0 elementor-widget elementor-widget-heading\" data-id=\"7fda3c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-large\">MAKE AN APPOINTMENT<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-4e0166b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4e0166b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-b970e53 sidebar-appointment\" data-id=\"b970e53\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5e44132 elementor-widget elementor-widget-sidebar\" data-id=\"5e44132\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"sidebar.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<section id=\"custom_html-2\" class=\"widget_text widget widget_custom_html\"><div class=\"textwidget custom-html-widget\"><script type=\"text\/javascript\">console.log(\"SSL: no alternative certificate subject name matches target host name 'api.autocardealer.app'\")<\/script>\n\n\n<link rel=\"stylesheet\" href=\"\/\/code.jquery.com\/ui\/1.12.1\/themes\/base\/jquery-ui.css\">\n<link rel=\"stylesheet\" href=\"\/resources\/demos\/style.css\">\n<script src=\"https:\/\/code.jquery.com\/jquery-1.12.4.js\"><\/script>\n<script src=\"https:\/\/code.jquery.com\/ui\/1.12.1\/jquery-ui.js\"><\/script>\n\n<script>\n\n  $( function() {\n    $( \"#appointment_date\" ).datepicker( {\n        onSelect: function(date) {\n        \t$('.loading').removeClass('hide');\n        \tif($( \"#service\" ).find(\":selected\").val()==''){\n        \t\talert('Please select branch and service first');\n        \t\t$('.loading').addClass('hide');\n        \t\treturn false;\n        \t}\n\n            $.ajax({\n                url: $('#baseURL').val()+'\/ajax-action.php?action=booking-availability',\n                type: 'POST',\n                data: {date: $( \"#appointment_date\" ).val(), service: $( \"#service\" ).find(\":selected\").val()},\n                success: function (status) {\n                    var result = JSON.parse(status);\n                    \n                    $('#booking-time').html('');\n                    if(result.status){\n                    \tfor(var x=0;x<result.data.timeslots.length;x++){\n                    \t\tif(result.data.available.includes(result.data.timeslots[x])){\n                    \t\t $('#booking-time').append('<span id=\"time'+x+'\" class=\"col-md-3 col-sm-4 btn btn-outline-secondary aval-time\" onclick=\"update_time(`time'+x+'`,`'+result.data.timeslots[x]+'`)\" > '+result.data.timeslots[x]+' <\/span>');\n                    \t\t}else{\n                    \t\t\t$('#booking-time').append('<span id=\"time'+x+'\" class=\"col-md-3 col-sm-4 btn btn-outline-secondary disabled\"> <strike>'+result.data.timeslots[x]+'<\/strike> <\/span>');\n                    \t\t}\n                    \t}\n                    \t$('.loading').addClass('hide');\n                    }else{\n                        $('.error-message').html(\"Error occur, please contact our customer service\");\n                        $('.error').removeClass('hide');\n                        console.log(result);\n                        $('.loading').addClass('hide');\n                        $('#booking-time').html('');\n                    }\n                },\n                error: function(jqXHR, exception){\n                    ajax_error_handling(jqXHR, exception);\n                }\n            });\n        },\n        minDate:new Date(),\n        selectWeek: true,\n        inline: true,\n        firstDay: 1\n    });\n\n    $('#branch').on('change', function() {\n        var branches = JSON.parse($('#branchJson').val());\n        $('#service').html('');\n        $('#service').append('<option value=\"\">--- Choose One ---<\/option>');\n        $('#booking-time').html('');\n        $(\"#appointment_date\").val('');\n        $(\"#appointment_date\").attr(\"disabled\", true);\n        $('.to-hide').addClass('hide');\n        \/\/console.log(branches['services']);\n        if($(this).find(\":selected\").val()!=''){\n\n            for (var key in branches){ \n                if($(this).find(\":selected\").val()==branches[key]['id']){\n                \tfor(var x=0;x<branches[key]['services'].length;x++){\n\t                    $('#service').append('<option value=\"'+branches[key]['services'][x]['id']+'\">'+branches[key]['services'][x]['name']+'<\/option>');\n\t                }\n\t   \t\t\t\t\/\/$(\"#appointment_date\").attr(\"disabled\", false);\n\t                break;\n                }\n            }\n            $('#service').attr(\"disabled\", false);\n        }else{\n            $('#service').attr(\"disabled\", true);\n            $(\"#appointment_date\").attr(\"disabled\", true);\n            $(\"#appointment_date\").val(\"\");\n            $('#booking-time').html('');\n        }\n    });\n\n    $('#service').on('change', function() {\n    \t$(\"#appointment_date\").attr(\"disabled\", true);\n        \/\/$(\"#appointment_date\").val(\"\");\n\n    \tif($(this).find(\":selected\").val()!=''){\n    \t\t$(\"#appointment_date\").attr(\"disabled\", false);\n    \t}\n\n    });\n\n    $(\"#form-booking-submit\").click(function() {\n    \t$('.final-hide').addClass('hide');\n        $('.loading').removeClass('hide');\n        $('.error').addClass('hide');\n\n        if($(\"#name\").val()=='' || $(\"#number\").val()=='' || $(\"#branch\").val()=='' || $(\"#service\").val()=='' || $(\"#appointment_date\").val()=='' || $(\"#appointment_time\").val()=='' || $(\"#brand\").val()=='' || $(\"#model\").val()=='' || $(\"#year\").val()=='' || $(\"#plate_number\").val()=='' || $(\"#email\").val()==''){\n\n        \t$('.error-message').html(\"All fields with start (*) sign are required!\");\n\t        $('.error').removeClass('hide');\n\t        $('.loading').addClass('hide');\n\t        $('.final-hide').removeClass('hide');\n\n        }else{\n\n\t        $.ajax({\n\t            url: $('#baseURL').val()+'\/ajax-action.php?action=submit-booking',\n\t            type: 'POST',\n\t            data: $('#rma-booking-form').serialize(),\n\t            success: function (status) {\n\t                var result = JSON.parse(status);\n\t                if(result.status){\n\t                    \/\/location.reload();\n\t                    \/*var url = window.location.href;    \n\t\t\t\t\t\tif (url.indexOf('?') > -1){\n\t\t\t\t\t\t   url += '&success=1'\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t   url += '?success=1'\n\t\t\t\t\t\t}\n\t\t\t\t\t\twindow.location.href = url;*\/\n\t\t\t\t\t\t$('.form-hide').addClass('hide');\n\t\t\t\t\t\t$('.success-message').html(\"Thank you for your submission! We will contact you shortly.\");\n\t                    $('.success').removeClass('hide');\n\n\n\t                }else{\n\t                \t$('.error-message').html(\"Error occur, please contact our customer service\");\n\t                    $('.error').removeClass('hide');\n\t                    console.log(result);\n\t                    $('.loading').addClass('hide');\n\t                    $('.final-hide').removeClass('hide');\n\t                }\n\t            },\n\t            error: function(jqXHR, exception){\n\t                \/\/ajax_error_handling(jqXHR, exception);\n\t                $('.error-message').html(\"Error occur, please contact our customer service\");\n\t                $('.error').removeClass('hide');\n\t                console.log(result);\n\t                $('.loading').addClass('hide');\n\t                $('.final-hide').removeClass('hide');\n\t            }\n\t        });\n\n    \t}\n    });\n\n    $('#service').attr(\"disabled\", true);\n\n  } );\n\n  function update_time($id,$val){\n    \t$('.aval-time').removeClass('selected-time');\n    \t$('#'+$id).addClass('selected-time');\n    \t$('#appointment_time').val($val);\n    \t$('.to-hide').removeClass('hide');\n    }\n<\/script>\n\n<style type=\"text\/css\">\n\t\/* Create four equal columns that floats next to each other *\/\n\t.hide {\n\t\tdisplay: none;\n\t}\n\t.aval-time{\n\t\tbackground-color: transparent;\n    \tcolor: black;\n    \tmargin: 5px;\n\t}\n\t.aval-time:hover{\n\t\topacity: 0.80;\n\t\tbackground-color: transparent;\n    \tcolor: grey;\n    \tmargin: 5px;\n\t}\n\t.selected-time{\n\t\tbackground-color: #6c757d;\n\t\tfont-weight: 500;\n\t\tborder: 2px solid #154360;\n\t\tcolor:black;\n\n\t}\n\t.selected-time:hover{\n\t\tbackground-color: #6c757d;\n\t\tfont-weight: 500;\n\t\tborder: 2px solid #154360;\n\t\tcolor:black;\n\n\t}\n\t.error{\n\t\tcolor: red;\n\t\ttext-align: center;\n\t}\n\t.loading{\n\t\ttext-align: center;\n\t}\n<\/style>\n\n<div class=\"rma-dealer-booking\">\n\n\t\n\t<div style=\"text-align: center;\">Error Occurs. Please contact our customer service.<\/div>\n\n\t\n<\/div><\/div><\/section>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-5b24aa1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b24aa1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-bffc5ce sidebar-appointment\" data-id=\"bffc5ce\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4a9ce50 elementor-widget elementor-widget-heading\" data-id=\"4a9ce50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-large\">OTHER GALLERY<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a28dcc0 elementor-widget elementor-widget-heading\" data-id=\"a28dcc0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"http:\/\/www.rmabodyandpaint.com\/gallery-mazda\/\">&gt; MAzda<\/a><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cfdf4ea elementor-widget elementor-widget-heading\" data-id=\"cfdf4ea\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"http:\/\/www.rmabodyandpaint.com\/gallery-misubishi\/\">&gt; mitsubishi<\/a><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-41f8acd elementor-widget elementor-widget-heading\" data-id=\"41f8acd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"http:\/\/www.rmabodyandpaint.com\/gallery-ford\/\">&gt; RANGE ROVER<\/a><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-017da5d elementor-widget elementor-widget-heading\" data-id=\"017da5d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">&gt; Other<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Gallery Ford MAKE AN APPOINTMENT OTHER GALLERY &gt; MAzda &gt; mitsubishi &gt; RANGE ROVER > Other<\/p>","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"blank-page.php","meta":{"footnotes":""},"class_list":["post-863","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/pages\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/comments?post=863"}],"version-history":[{"count":61,"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/pages\/863\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/pages\/863\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/www.rmabodyandpaint.com\/th\/wp-json\/wp\/v2\/media?parent=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}