<%@ page language="VB" masterpagefile="~/Template/Master_Client.master" autoeventwireup="false" inherits="Client_Contact, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc1" %>
<%@ Register TagPrefix="EM" TagName="AccessTemplate" Src="~/RCC/Clients/CC/AccessTemplate.ascx" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/PCC/System/CC/UCLicenseTerms.ascx" TagName="LicenseTerms" TagPrefix="UC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <ajax:UpdatePanel ID="UP_PrimaryContact" runat="server" RenderMode="Inline" UpdateMode="Conditional">
                    <ContentTemplate>
                        <EM:TabContainer ID="TC_Contact" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel runat="server" ID="Tab_PrimaryContact" HeaderText="<%$ Resources:Content,GN00001515%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent0" runat="server">
                                        <asp:Panel ID="Pnl_Edit" runat="server" DefaultButton="Btn_Edit">
                                            <div class="row" id="Tbl_ClientList" runat="server">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <%--<div class="header">
                                                            <h3><%= Resources.Content.GN00001515%>  </h3>
                                                        </div>--%>
                                                        <div class="body">
                                                            <div class="row" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,String385%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:Label ID="lbl_AccountStatus" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,GN00001516%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAName" runat="server">
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN00001132%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_FName" runat="server">
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN00001133%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_LName" runat="server">
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal44" runat="server" Text="<%$ Resources:Content,PrimaryEmail%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="Td_PrimaryEmail" runat="server">
                                                                </div>
                                                            </div>

                                                            <div class="row" id="Tr_CustomerNumber" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal3" runat="server" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CustomerNumber" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_CompanyNameD" runat="server" Text="<%$ Resources:Content,GN00001077%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CompanyName" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_AddressD" runat="server" Text="<%$ Resources:Content,GN0000878%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAAddress1" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="PAAddress2">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_Address2D" runat="server" Text="<%$ Resources:Content,GN00001136%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAAddress2" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="dvHouseNo" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,HouseNumber%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="Td_HouseNo" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="dvHouseNoAdd" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:Content,HouseNumberAddition%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="Td_HouseNoAddition" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,GN0000880%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PACity" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,GN00001313%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAState" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,GN0000882%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PACountry" runat="server">
                                                                    <div class="form-group">
                                                                        <asp:Label ID="Lbl_Country" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,GN00001522%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAZip" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,GN00012%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAPhone" runat="server">
                                                                </div>
                                                            </div>
                                                            <div id="Tbl_HideShowD" runat="server" visible="false">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal128' runat="server" Text='<%$ Resources:Content,CR004 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_CNPJD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal129' runat="server" Text='<%$ Resources:Content,CR005 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_FantasyNameD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal130' runat="server" Text='<%$ Resources:Content,CR006 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_StateRegistrationD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal131' runat="server" Text='<%$ Resources:Content,CR007 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_DescMunicipalD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal132' runat="server" Text='<%$ Resources:Content,CR008 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_NeighboursD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal133' runat="server" Text='<%$ Resources:Content,CR009 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_ClassificationD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal134' runat="server" Text='<%$ Resources:Content,CR010 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_TypeOfAddressD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal135' runat="server" Text='<%$ Resources:Content,CR011 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_SectorD" runat="server">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_PAIsTaxable" runat="server" Text="<%$ Resources:Content,USM0008%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAIsTaxable" runat="server">
                                                                </div>
                                                            </div>
                                                            <div id="Div_TaxSettingsView" runat="server">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,strVATNumber%>" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_PAVATNumber" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,strTaxExemptionID%>" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_PATaxExemptionID" runat="server">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,GN0000886%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="TdPAFax" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,GN00001524%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_PAMobile" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal37" runat="server" Text="<%$ Resources:Content,GN00001526%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="Td_PASEmail" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,GN00001527%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_Locale" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,Lync179%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_TimeZone" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN00003000%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_Language" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,strAuthViaADAccount%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="div_ad_auth_account" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Div_Label_2FA" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,TwoFAEnabled %>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12">
                                                                    <asp:Label ID="Lbl_Enabled2FA" runat="server"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Edit" SkinID="editButton" runat="server" Text="<%$ Resources:Content,GN0000276%>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12" id="Div_2FA_TrustedDevices" runat="server" visible="false">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3>
                                                                <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,DevicesYouTrust%>" /></h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Literal ID="Ltrl_RevokeDevicesNote" runat="server" Text="<%$ Resources:Content,RevokeDevicesNote%>"></asp:Literal>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button ID="Btn_RevokeAll" runat="server"
                                                                        Text="<%$ Resources:Content,RevokeAll%>" CssClass="btn btn-primary" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                        <asp:Panel ID="Pnl_save" runat="server" DefaultButton="Btn_Update">
                                            <div class="row" id="Tbl_ClientEdit" runat="server" style="display: none">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <%--<div class="header">
                                                            <h3><%= Resources.Content.GN00001515%>  </h3>
                                                        </div>--%>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,GN00001132%>"
                                                EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_FName" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_FName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,GN00001133%>"
                                                EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_LName" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_LName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_CustomerNumberP" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltl_CustomerNumberP" runat="server" Text="<%$ Resources:Content,GN000924%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CustomerNumberP" runat="server" MaxLength="60" ReadOnly="true"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Ltl_CName" runat="server" Text="<%$ Resources:Content,GN00001077%>"
                                                EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CName" runat="server" MaxLength="128"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TxBx_CName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div_TaxSettings" runat="server">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,strVATNumber%>"
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_VATNumber" runat="server">
                                                                                </asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_VATNumber" runat="server" ControlToValidate="TxBx_VATNumber"
                                                                                    Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail">
                                                                                </asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <%--<div class="col-sm-4 col-xs-12">
                                                                        <asp:CheckBox ID='CB_Taxable' runat="server" Checked='true' Text='<%$ Resources:Content,USM0008 %>' />
                                                                    </div>--%>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,strTaxExemptionID%>"
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_TaxExemptionID" runat="server">
                                                                                </asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikAddress" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Ltl_Addres" runat="server" Text="<%$ Resources:Content,GN0000878%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Address" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_Address" runat="server" ControlToValidate="TxBx_Address"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <%--<asp:Literal ID="Ltrl_Addres2" runat="server" Text="*" Visible="false" />--%>
                                                                    <asp:Literal ID="Ltl_Addres2" runat="server" Text="<%$ Resources:Content,GN00001136%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Address2" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <%--<asp:RequiredFieldValidator ID="RFV_TxBx_Address2" runat="server" ControlToValidate="TxBx_Address2"
                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail" Enabled="false"></asp:RequiredFieldValidator>--%>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="Div_HouseNumber" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                                                <asp:Literal ID="Literal41" runat="server" Text='<%$ Resources:Content,HouseNumber %>' EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_HouseNumber" runat="server" Text="0" MaxLength="7" CssClass="allowonlyintegervalues"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <asp:RegularExpressionValidator ID="REV_HouseNumber" runat="server"
                                                                        ControlToValidate="TxBx_HouseNumber" ErrorMessage='<%# Resources.Content.OnlyIntegerValues %>'
                                                                        ValidationExpression="^[0-9]*$" ValidationGroup="EditClientDetail">
                                                                    </asp:RegularExpressionValidator>
                                                                    <asp:RequiredFieldValidator ID="RFV_HouseNumber" runat="server" ControlToValidate="TxBx_HouseNumber"
                                                                        Display="None" ValidationGroup="EditClientDetail" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="Div_HouseNumberAddition" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal42" runat="server" Text='<%$ Resources:Content,HouseNumberAddition %>' EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_HouseNumberAddition" runat="server" MaxLength="4"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>


                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikCity" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,GN0000880%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_City" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_City" runat="server" ControlToValidate="TxBx_City"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="TR_State" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,DEV1130%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_State" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" id="TR_Province" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikProvince" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GN00001313%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Province" runat="server" MaxLength="60"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_Province" runat="server" ControlToValidate="TxBx_Province"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikZip" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Literal50" runat="server" Text="<%$ Resources:Content,GN00001522%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Zip" runat="server" MaxLength="10"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_Zip" runat="server" ControlToValidate="TxBx_Zip"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_Zip"
                                                                                FilterType="Numbers,UppercaseLetters,LowercaseLetters,Custom" ValidChars="- ">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content,GN0000882%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Country" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DDL_Country_SelectedIndexChanged"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikPhone" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,GN00012%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="width-country-code col-xs-4" style="min-width: 100px">
                                                                    (<div class="form-group display-countryCode-input">
                                                                        <div class="form-line">
                                                                            <asp:TextBox MaxLength="4" ID="TxBx_CountryCode" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    )
                                                                </div>
                                                                <div class="width-country-input col-xs-8 p-l-0">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox MaxLength="20" ID="TxBx_Phone" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <asp:RegularExpressionValidator ControlToValidate="TxBx_CountryCode" ValidationExpression="^([+]?([0-9]{1,3}))$"
                                                                        ID="RegularExpressionValidator3" runat="server" ErrorMessage="<%$ Resources:Content,DGN1110069%>"
                                                                        Display="none" ValidationGroup="EditClientDetail" SetFocusOnError='true'></asp:RegularExpressionValidator>
                                                                    <asp:RequiredFieldValidator ID="RFV_CountryCode" runat="server" ControlToValidate="TxBx_CountryCode"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>

                                                                    <asp:RegularExpressionValidator ControlToValidate="TxBx_Phone" ValidationExpression="^[\s0-9()-]{5,20}$"
                                                                        ID="RegularExpressionValidator5" runat="server" ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                                        Display="none" ValidationGroup="EditClientDetail"></asp:RegularExpressionValidator>
                                                                    <asp:RequiredFieldValidator ID="RFV_Phone" runat="server" ControlToValidate="TxBx_Phone"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="EditClientDetail"></asp:RequiredFieldValidator>
                                                                    <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server" FilterType="Numbers,Custom"
                                                                        TargetControlID="TxBx_Phone" ValidChars="+ - ( ) \s">
                                                                    </EM:FilteredTextBoxExtender>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal53" runat="server" Text="<%$ Resources:Content,GN00001524%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                 <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5" id="Div_MobilePhoneCountryCode" runat="server" visible="false">
                                                                    <asp:DropDownList ID="Ddl_MobilePhoneCountryCode" runat="server">
                                                                    </asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Div_Mobile" runat="server">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Mobile" runat="server" MaxLength="15"></asp:TextBox>
                                                                             <asp:RequiredFieldValidator ID="RFV_TxBx_Mobile" EnableClientScript="true"
                                                                            runat="server" ControlToValidate="TxBx_Mobile" Display="None" SetFocusOnError="True"
                                                                            ValidationGroup="EditClientDetail" Enabled="false"></asp:RequiredFieldValidator>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" FilterType="Numbers,Custom" ValidChars="0123456789"
                                                                                TargetControlID="TxBx_Mobile">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal54" runat="server" Text="<%$ Resources:Content,GN0000886%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_Fax" runat="server" MaxLength="15"></asp:TextBox>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server" FilterType="Numbers,Custom" ValidChars="+-() "
                                                                                TargetControlID="TxBx_Fax">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal56" runat="server" Text="<%$ Resources:Content,GN00001526%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:TextBox ID="TxBx_SEmail" runat="server" Width="100%" Height="150px" TextMode="MultiLine"></asp:TextBox>
                                                                        <b class="small">
                                                                            <asp:Literal ID="Lbl_EnterCommaSeperatedEmailAddresses" runat="server" Text="<%$ Resources:Content,MultipleCanBeSpecifiedSeperatedByComma %>"></asp:Literal></b>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Tbl_HideShow" runat="server" visible="false">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal108' runat="server" Text='<%$ Resources:Content,CR004 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_CNPJ' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_CNPJ" runat="server" TargetControlID="TxBx_CNPJ"
                                                                                    FilterType="Numbers,Custom" ValidChars="-./">
                                                                                </EM:FilteredTextBoxExtender>
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_CNPJ" runat="server" ControlToValidate="TxBx_CNPJ"
                                                                                    ValidationGroup="EditClientDetail" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal112' runat="server" Text='<%$ Resources:Content,CR005 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_FantasyName' runat="server" />
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_FantasyName" runat="server" ControlToValidate="TxBx_FantasyName"
                                                                                    ValidationGroup="EditClientDetail" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal113' runat="server" Text='<%$ Resources:Content,CR006 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_StateRegistration' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_StateRegistration" runat="server" TargetControlID="TxBx_StateRegistration"
                                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                                </EM:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal114' runat="server" Text='<%$ Resources:Content,CR007 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_DescMunicipal' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_DescMunicipal" runat="server" TargetControlID="TxBx_DescMunicipal"
                                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                                </EM:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal115' runat="server" Text='<%$ Resources:Content,CR008 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_Neighbours' runat="server" />
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_Neighbours" runat="server" ControlToValidate="TxBx_Neighbours"
                                                                                    ValidationGroup="EditClientDetail" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal116' runat="server" Text='<%$ Resources:Content,CR009 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID='DDL_Classification' runat="server">
                                                                                <asp:ListItem Value="Prof. Liberal" Text="Prof. Liberal" />
                                                                                <asp:ListItem Value="Peq." Text="Peq." />
                                                                                <asp:ListItem Value="Médio" Text="Médio" />
                                                                                <asp:ListItem Value="Grande" Text="Grande" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal117' runat="server" Text='<%$ Resources:Content,CR010 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_TypeOfAddress" runat="server">
                                                                                <asp:ListItem Value="A" Text="A" />
                                                                                <asp:ListItem Value="Ac" Text="Ac" />
                                                                                <asp:ListItem Value="Acamp" Text="Acamp" />
                                                                                <asp:ListItem Value="Ad" Text="Ad" />
                                                                                <asp:ListItem Value="Ae" Text="Ae" />
                                                                                <asp:ListItem Value="Aer" Text="Aer" />
                                                                                <asp:ListItem Value="Al" Text="Al" />
                                                                                <asp:ListItem Value="Anl" Text="Anl" />
                                                                                <asp:ListItem Value="Art" Text="Art" />
                                                                                <asp:ListItem Value="At" Text="At" />
                                                                                <asp:ListItem Value="Atl" Text="Atl" />
                                                                                <asp:ListItem Value="Av" Text="Av" />
                                                                                <asp:ListItem Value="Av Cont" Text="Av Cont" />
                                                                                <asp:ListItem Value="Bal" Text="Bal" />
                                                                                <asp:ListItem Value="Bc" Text="Bc" />
                                                                                <asp:ListItem Value="Bco" Text="Bco" />
                                                                                <asp:ListItem Value="Belv" Text="Belv" />
                                                                                <asp:ListItem Value="Bl" Text="Bl" />
                                                                                <asp:ListItem Value="Blo" Text="Blo" />
                                                                                <asp:ListItem Value="Bsq" Text="Bsq" />
                                                                                <asp:ListItem Value="Bvd" Text="Bvd" />
                                                                                <asp:ListItem Value="Bx" Text="Bx" />
                                                                                <asp:ListItem Value="C" Text="C" />
                                                                                <asp:ListItem Value="Calc" Text="Calc" />
                                                                                <asp:ListItem Value="Cam" Text="Cam" />
                                                                                <asp:ListItem Value="Can" Text="Can" />
                                                                                <asp:ListItem Value="Ch" Text="Ch" />
                                                                                <asp:ListItem Value="Chap" Text="Chap" />
                                                                                <asp:ListItem Value="Circ" Text="Circ" />
                                                                                <asp:ListItem Value="Cj" Text="Cj" />
                                                                                <asp:ListItem Value="Cmp Vr" Text="Cmp Vr" />
                                                                                <asp:ListItem Value="Col" Text="Col" />
                                                                                <asp:ListItem Value="Cond" Text="Cond" />
                                                                                <asp:ListItem Value="Cor" Text="Cor" />
                                                                                <asp:ListItem Value="Cpo" Text="Cpo" />
                                                                                <asp:ListItem Value="Crg" Text="Crg" />
                                                                                <asp:ListItem Value="Cx" Text="Cx" />
                                                                                <asp:ListItem Value="Dsc" Text="Dsc" />
                                                                                <asp:ListItem Value="Dsv" Text="Dsv" />
                                                                                <asp:ListItem Value="Dt" Text="Dt" />
                                                                                <asp:ListItem Value="Ent Part" Text="Ent Part" />
                                                                                <asp:ListItem Value="Eq" Text="Eq" />
                                                                                <asp:ListItem Value="Esc" Text="Esc" />
                                                                                <asp:ListItem Value="Esp" Text="Esp" />
                                                                                <asp:ListItem Value="Est" Text="Est" />
                                                                                <asp:ListItem Value="Estc" Text="Estc" />
                                                                                <asp:ListItem Value="Est Mun" Text="Est Mun" />
                                                                                <asp:ListItem Value="Etc" Text="Etc" />
                                                                                <asp:ListItem Value="Etd" Text="Etd" />
                                                                                <asp:ListItem Value="Etn" Text="Etn" />
                                                                                <asp:ListItem Value="Evd" Text="Evd" />
                                                                                <asp:ListItem Value="Fav" Text="Fav" />
                                                                                <asp:ListItem Value="Faz" Text="Faz" />
                                                                                <asp:ListItem Value="Fer" Text="Fer" />
                                                                                <asp:ListItem Value="Fnt" Text="Fnt" />
                                                                                <asp:ListItem Value="Fra" Text="Fra" />
                                                                                <asp:ListItem Value="Fte" Text="Fte" />
                                                                                <asp:ListItem Value="Gal" Text="Gal" />
                                                                                <asp:ListItem Value="Gja" Text="Gja" />
                                                                                <asp:ListItem Value="Hab" Text="Hab" />
                                                                                <asp:ListItem Value="Ia" Text="Ia" />
                                                                                <asp:ListItem Value="Jd" Text="Jd" />
                                                                                <asp:ListItem Value="Jde" Text="Jde" />
                                                                                <asp:ListItem Value="Ld" Text="Ld" />
                                                                                <asp:ListItem Value="Lg" Text="Lg" />
                                                                                <asp:ListItem Value="Lga" Text="Lga" />
                                                                                <asp:ListItem Value="Loc" Text="Loc" />
                                                                                <asp:ListItem Value="Lot" Text="Lot" />
                                                                                <asp:ListItem Value="Lrg" Text="Lrg" />
                                                                                <asp:ListItem Value="Mna" Text="Mna" />
                                                                                <asp:ListItem Value="Mod" Text="Mod" />
                                                                                <asp:ListItem Value="Mro" Text="Mro" />
                                                                                <asp:ListItem Value="Mte" Text="Mte" />
                                                                                <asp:ListItem Value="Nuc" Text="Nuc" />
                                                                                <asp:ListItem Value="Par" Text="Par" />
                                                                                <asp:ListItem Value="Pas" Text="Pas" />
                                                                                <asp:ListItem Value="Pat" Text="Pat" />
                                                                                <asp:ListItem Value="Pç" Text="Pç" />
                                                                                <asp:ListItem Value="Pç-Esp" Text="Pç-Esp" />
                                                                                <asp:ListItem Value="Pda" Text="Pda" />
                                                                                <asp:ListItem Value="Pdo" Text="Pdo" />
                                                                                <asp:ListItem Value="Pnt" Text="Pnt" />
                                                                                <asp:ListItem Value="Pr" Text="Pr" />
                                                                                <asp:ListItem Value="Prl" Text="Prl" />
                                                                                <asp:ListItem Value="Prq" Text="Prq" />
                                                                                <asp:ListItem Value="Psa" Text="Psa" />
                                                                                <asp:ListItem Value="Psg" Text="Psg" />
                                                                                <asp:ListItem Value="Psg-Sub" Text="Psg-Sub" />
                                                                                <asp:ListItem Value="Pte" Text="Pte" />
                                                                                <asp:ListItem Value="Pto" Text="Pto" />
                                                                                <asp:ListItem Value="Q" Text="Q" />
                                                                                <asp:ListItem Value="Qta" Text="Qta" />
                                                                                <asp:ListItem Value="Qtas" Text="Qtas" />
                                                                                <asp:ListItem Value="R" Text="R" />
                                                                                <asp:ListItem Value="Ram" Text="Ram" />
                                                                                <asp:ListItem Value="Rec" Text="Rec" />
                                                                                <asp:ListItem Value="Rer" Text="Rer" />
                                                                                <asp:ListItem Value="Res" Text="Res" />
                                                                                <asp:ListItem Value="Ret" Text="Ret" />
                                                                                <asp:ListItem Value="R Lig" Text="R Lig" />
                                                                                <asp:ListItem Value="Rmp" Text="Rmp" />
                                                                                <asp:ListItem Value="Rod" Text="Rod" />
                                                                                <asp:ListItem Value="Rod-An" Text="Rod-An" />
                                                                                <asp:ListItem Value="Rot" Text="Rot" />
                                                                                <asp:ListItem Value="R-Ped" Text="R-Ped" />
                                                                                <asp:ListItem Value="Rtn" Text="Rtn" />
                                                                                <asp:ListItem Value="Rtt" Text="Rtt" />
                                                                                <asp:ListItem Value="Sit" Text="Sit" />
                                                                                <asp:ListItem Value="Srv" Text="Srv" />
                                                                                <asp:ListItem Value="St" Text="St" />
                                                                                <asp:ListItem Value="Sub" Text="Sub" />
                                                                                <asp:ListItem Value="Tch" Text="Tch" />
                                                                                <asp:ListItem Value="Ter" Text="Ter" />
                                                                                <asp:ListItem Value="Tr" Text="Tr" />
                                                                                <asp:ListItem Value="Trv" Text="Trv" />
                                                                                <asp:ListItem Value="Tun" Text="Tun" />
                                                                                <asp:ListItem Value="Tv" Text="Tv" />
                                                                                <asp:ListItem Value="Tv-Part" Text="Tv-Part" />
                                                                                <asp:ListItem Value="Unid" Text="Unid" />
                                                                                <asp:ListItem Value="V" Text="V" />
                                                                                <asp:ListItem Value="V-Ac" Text="V-Ac" />
                                                                                <asp:ListItem Value="Val" Text="Val" />
                                                                                <asp:ListItem Value="Vd" Text="Vd" />
                                                                                <asp:ListItem Value="Ver" Text="Ver" />
                                                                                <asp:ListItem Value="V-Evd" Text="V-Evd" />
                                                                                <asp:ListItem Value="V-Exp" Text="V-Exp" />
                                                                                <asp:ListItem Value="Vl" Text="Vl" />
                                                                                <asp:ListItem Value="Vla" Text="Vla" />
                                                                                <asp:ListItem Value="Vle" Text="Vle" />
                                                                                <asp:ListItem Value="V-Ped" Text="V-Ped" />
                                                                                <asp:ListItem Value="Vrte" Text="Vrte" />
                                                                                <asp:ListItem Value="Zig-Zag" Text="Zig-Zag" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal118' runat="server" Text='<%$ Resources:Content,CR011 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_Sector" runat="server">
                                                                                <asp:ListItem Value="Advocacia" Text="Advocacia" />
                                                                                <asp:ListItem Value="Agricultura" Text="Agricultura" />
                                                                                <asp:ListItem Value="Alimentos e bebidas" Text="Alimentos e bebidas" />
                                                                                <asp:ListItem Value="Associação de Classe" Text="Associação de Classe" />
                                                                                <asp:ListItem Value="Automobilistica" Text="Automobilistica" />
                                                                                <asp:ListItem Value="Biotecnologia" Text="Biotecnologia" />
                                                                                <asp:ListItem Value="Comunicações" Text="Comunicações" />
                                                                                <asp:ListItem Value="Construção civil" Text="Construção civil" />
                                                                                <asp:ListItem Value="Consultoria" Text="Consultoria" />
                                                                                <asp:ListItem Value="Cosméticos" Text="Cosméticos" />
                                                                                <asp:ListItem Value="Educação" Text="Educação" />
                                                                                <asp:ListItem Value="Eletrônica" Text="Eletrônica" />
                                                                                <asp:ListItem Value="Energia" Text="Energia" />
                                                                                <asp:ListItem Value="Engenharia" Text="Engenharia" />
                                                                                <asp:ListItem Value="Entretenimento" Text="Entretenimento" />
                                                                                <asp:ListItem Value="Equipamentos" Text="Equipamentos" />
                                                                                <asp:ListItem Value="Expedição" Text="Expedição" />
                                                                                <asp:ListItem Value="Farmacêutica" Text="Farmacêutica" />
                                                                                <asp:ListItem Value="Finanças" Text="Finanças" />
                                                                                <asp:ListItem Value="Governo" Text="Governo" />
                                                                                <asp:ListItem Value="Higiene" Text="Higiene" />
                                                                                <asp:ListItem Value="Hotelaria" Text="Hotelaria" />
                                                                                <asp:ListItem Value="Logistica" Text="Logistica" />
                                                                                <asp:ListItem Value="Manufatura" Text="Manufatura" />
                                                                                <asp:ListItem Value="Mecânica" Text="Mecânica" />
                                                                                <asp:ListItem Value="Meio ambiente" Text="Meio ambiente" />
                                                                                <asp:ListItem Value="Metalurgica" Text="Metalurgica" />
                                                                                <asp:ListItem Value="Mídia" Text="Mídia" />
                                                                                <asp:ListItem Value="Mineração" Text="Mineração" />
                                                                                <asp:ListItem Value="Outros" Text="Outros" />
                                                                                <asp:ListItem Value="Papel e Celulose" Text="Papel e Celulose" />
                                                                                <asp:ListItem Value="Petroleo" Text="Petroleo" />
                                                                                <asp:ListItem Value="Plástico" Text="Plástico" />
                                                                                <asp:ListItem Value="Produtos Hospitalares" Text="Produtos Hospitalares" />
                                                                                <asp:ListItem Value="Produtos Químicos" Text="Produtos Químicos" />
                                                                                <asp:ListItem Value="Recreação" Text="Recreação" />
                                                                                <asp:ListItem Value="Recursos Humanos" Text="Recursos Humanos" />
                                                                                <asp:ListItem Value="Saúde" Text="Saúde" />
                                                                                <asp:ListItem Value="Seguros" Text="Seguros" />
                                                                                <asp:ListItem Value="Sem fins lucrativos" Text="Sem fins lucrativos" />
                                                                                <asp:ListItem Value="Serviços bancários" Text="Serviços bancários" />
                                                                                <asp:ListItem Value="Serviços públicos" Text="Serviços públicos" />
                                                                                <asp:ListItem Value="Tecnologia" Text="Tecnologia" />
                                                                                <asp:ListItem Value="Telecomunicações" Text="Telecomunicações" />
                                                                                <asp:ListItem Value="Transportes" Text="Transportes" />
                                                                                <asp:ListItem Value="Varejo" Text="Varejo" />
                                                                                <asp:ListItem Value="Vestuário" Text="Vestuário" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal57" runat="server" Text="<%$ Resources:Content,GN00001527%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Locale" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal136" runat="server" Text="<%$ Resources:Content,Lync179%>"
                                                                        EnableViewState="false">:
                                                                    </asp:Literal>:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_TimeZone" runat="server">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00003000%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_Language" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,strAuthViaADAccount%>"
                                                                            EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_LinkedADAccount" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" id="Div_Enable2FA" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,TwoFAEnabled %>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12">
                                                                    <asp:CheckBox ID="Chbx_Enable2FA" runat="server" Text=" " />
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                                        ValidationGroup="EditClientDetail" HeaderText="<%$ Resources:Content,EM000001%>" />
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Update" ValidationGroup="EditClientDetail" CausesValidation="true"
                                                                        SkinID="saveButton" runat="server" Text="<%$ Resources:Content,GN0000654%>" />
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Cancel" runat="server" CausesValidation="False" SkinID="cancelButton"
                                                                        Text="<%$ Resources:Content,GN0000572%>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>


                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <%--Contacts Tab--%>
                            <EM:TabPanel ID="Tab_Contacts" runat="server" HeaderText="<%$ Resources:Content,DGN1110415 %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />

                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">

                                        <%--visible=false--%>
                                        <asp:Panel ID="Pnl_ContactListing" runat="server">
                                            <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.GN00001320%>  </h3>
                                                        </div>
                                                        <div class="body">
                                                            <asp:Button ID="Btn_AddContacts" class="btn btn-primary waves-effect btnAction" runat="server"
                                                                Text="<%$ Resources:Content,String1001%>" />
                                                            &nbsp;
                                                            <asp:Button ID="Btn_AddTenantAdmin" runat="server" Text="<%$Resources:Content,AddTenantAdmin %>" class="btn btn-primary waves-effect btnAction" Visible="false" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <asp:SqlDataSource ID="SqlDS_Contacts" runat="server"></asp:SqlDataSource>
                                            <asp:GridView ID="GV_Contacts" runat="server" DataSourceID="SqlDS_Contacts" AllowPaging="false"
                                                CssClass="table table-bordered table-hover table-responsive table-striped" AutoGenerateColumns="false" EmptyDataText="<%$ Resources:Content, GN00001375 %>" DataKeyNames="IsManualTenantAdmin">
                                                <Columns>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content, String1002 %>' HeaderStyle-CssClass="col-xs-3">
                                                        <%--Contact Name--%>
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_ContactName" runat="server" CommandName="ContactDetail" CommandArgument='<%#DataBinder.Eval(Container, "DataItem.ContactId")%>'></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000491 %>' HeaderStyle-CssClass="col-xs-3">
                                                        <%--Email Address--%>
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_ContactEmail" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content, String1003 %>' HeaderStyle-CssClass="col-xs-2">
                                                        <%--Phone No--%>
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_ContactPhone" runat="server" EnableViewState="false" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000882 %>' HeaderStyle-CssClass="col-xs-2">
                                                        <%--Country--%>
                                                        <ItemTemplate>
                                                            <asp:Label ID="Lbl_ContactCountry" runat="server" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-2">
                                                        <%--Options--%>
                                                        <ItemTemplate>
                                                            <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="Lb_EditContact" Text="<%$ Resources:Content,GN0000276%>" SkinID="linkButtonEdit"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.ContactId")%>' runat="server"
                                                                CommandName="EditContact" />
                                                            <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LB_Delete" Text="<%$ Resources:Content,GN0000377%>" SkinID="linkButtonDelete"
                                                                CommandArgument='<%#DataBinder.Eval(Container, "DataItem.ContactId")%>' runat="server"
                                                                CommandName="DeleteContact" />
                                                            <EM:ConfirmButtonExtender ID="CBE_ContactRemove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                TargetControlID="LB_Delete">
                                                            </EM:ConfirmButtonExtender>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>

                                            </asp:GridView>
                                        </asp:Panel>
                                                                                
                                        <asp:Panel ID="Pnl_SetTenantAdmin" runat="server" Visible="false" Style="display: none;" CssClass="width-modal-popup-auto" ScrollBars="Auto">
                                            
                                            <div class="card">
                                                <div class="header container-fluid">
                                                    <h3 class="pull-left"><%= Resources.Content.TenantAdmin%></h3>
                                                    <span>
                                                        <button type="button" class="close" onclick="$find('<%=MPE_SetTenantAdmin.ClientID%>').hide();">&times;</button>
                                                    </span>
                                                </div>
                                                <div class="body">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal176" runat="server" Text="<%$ Resources:Content,strAuthViaADAccount%>"
                                                                    EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <asp:HiddenField ID="HF_TenantAdmin_Id" runat="server" Value="0" />
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="Ddl_TenantAdmin_AuthViaADAccount" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal179" runat="server" Text="<%$ Resources:Content,String199%>"
                                                                    EnableViewState="false" />:</label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="Ddl_TenantAdmin_AccessTemplate" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_Save_TenantAdmin" runat="server" Text='<%$ Resources:Content,Save%>' class="btn btn-primary waves-effect btnAction" />
                                                            &nbsp;
                                                            <asp:Button ID="Btn_Cancel_TenantAdmin" runat="server" Text='<%$ Resources:Content,Cancel%>' class="btn btn-primary waves-effect" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            
                                            <asp:Button ID="Btn_DummySetTenantAdmin" runat="server" Style="display: none;visibility:hidden;position:fixed;top:-1px;left:-1px;" Text='<%$ Resources:Content,GN0000575%>' />
                                            <EM:ModalPopupExtender runat="server" ID="MPE_SetTenantAdmin" BackgroundCssClass="modalBackground"
                                                DropShadow="false" CancelControlID="Btn_Cancel_TenantAdmin" PopupControlID="Pnl_SetTenantAdmin"
                                                TargetControlID="Btn_DummySetTenantAdmin" />
                                        </asp:Panel>

                                        <%--Add Contact Here--%>
                                        <asp:Panel ID="Pnl_AddContact" runat="server" Visible="false">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header" runat="server" id="Tr_addContact">
                                                            <h3><%= Resources.Content.String1001%>  </h3>
                                                        </div>
                                                        <div class="header" runat="server" id="Tr_EditContact" visible="false">
                                                            <h3><%= Resources.Content.GN0000276%>  </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal58" runat="server" Text="<%$ Resources:Content,GN00001132%>"
                                                EnableViewState="false" /><%--First Name--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactFName" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_ContactName" runat="server" ControlToValidate="TxBx_ContactFName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                            </asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal60" runat="server" Text="<%$ Resources:Content,GN00001133%>"
                                                EnableViewState="false" /><%--Last Name--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactLName" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_LName" runat="server" ControlToValidate="TxBx_ContactLName"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                            </asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--Address1--%>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikContactAddress" runat="server" Text="*" EnableViewState="false" />
                                                                    <asp:Literal ID="Ltl_AddresC" runat="server" Text="<%$ Resources:Content,GN0000878%>"
                                                                        EnableViewState="false" /><%--Address1--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactAddress" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_CName" runat="server" ControlToValidate="TxBx_ContactAddress"
                                                                                ValidationGroup="AddContact" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--Address2--%>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <%--<asp:Literal ID="Ltrl_Addres2C" runat="server" Text="*" EnableViewState="false" Visible="false" />--%>
                                                                    <asp:Literal ID="Ltl_Addres2C" runat="server" Text="<%$ Resources:Content,GN00001136%>"
                                                                        EnableViewState="false" /><%--Address2--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactAddress2" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <%--<asp:RequiredFieldValidator ID="RFV_TxBx_ContactAddress2" runat="server" ControlToValidate="TxBx_ContactAddress2"
                                                ValidationGroup="AddContact" SetFocusOnError="true" Display="none" Enabled="false"></asp:RequiredFieldValidator>--%>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikCCity" runat="server" Text="*"></asp:Literal>
                                                                    <asp:Literal ID="Literal70" runat="server" Text="<%$ Resources:Content,GN0000880%>"
                                                                        EnableViewState="false" /><%--City--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CCity" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_CCity" runat="server" ControlToValidate="TxBx_CCity"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                            </asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--State--%>
                                                            <div class="row" id="TR_CState" runat="server" style="display: none">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal89" runat="server" Text="<%$ Resources:Content,DEV1130%>"
                                                EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_CState" runat="server" AutoPostBack="True">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--Province--%>
                                                            <div class="row" id="TR_CProvince" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikContactProvince" runat="server" Text="*" EnableViewState="false" />
                                                                    <asp:Literal ID="Literal91" runat="server" Text="<%$ Resources:Content,GN00001313%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactProvince" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_ContactProvince" runat="server" Display="None"
                                                                                SetFocusOnError="True" ValidationGroup="AddContact" ControlToValidate="TxBx_ContactProvince">
                                                                            </asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikContactZip" runat="server" Text="*" EnableViewState="false" />
                                                                    <asp:Literal ID="Literal94" runat="server" Text="<%$ Resources:Content,GN00001522%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactZip" runat="server" MaxLength="10">
                                                                            </asp:TextBox>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender8" runat="server" TargetControlID="TxBx_ContactZip"
                                                                                FilterType="LowercaseLetters,Numbers,UppercaseLetters,Custom" ValidChars="- ">
                                                                            </EM:FilteredTextBoxExtender>
                                                                            <asp:RequiredFieldValidator ID="RFV_ContactZip" runat="server" Display="None" SetFocusOnError="True"
                                                                                ValidationGroup="AddContact" ControlToValidate="TxBx_ContactZip">
                                                                            </asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal76" runat="server" Text="<%$ Resources:Content,GN0000882%>"
                                                EnableViewState="false" /><%--Country--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_CCountry" AutoPostBack="true" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Ltrl_AsterikContactPhone" runat="server" Text="*" EnableViewState="false" />
                                                                    <asp:Literal ID="Literal69" runat="server" Text="<%$ Resources:Content,GN00012%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="width-country-code col-xs-4" style="min-width: 100px">
                                                                    (<div class="form-group display-countryCode-input">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CCountryCode" MaxLength="3" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    )
                                                                    <asp:RegularExpressionValidator ID="REV_CCountryCode" runat="server" Display="None"
                                                                        ControlToValidate="TxBx_CCountryCode" ErrorMessage="<%$Resources:Content,DEV1053%>"
                                                                        ValidationExpression="[0-9]{1,3}" ValidationGroup="AddContact" SetFocusOnError='true'>
                                                                    </asp:RegularExpressionValidator>
                                                                    <asp:RequiredFieldValidator ID="RFV_CCountryCode" runat="server" ControlToValidate="TxBx_CCountryCode"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                    </asp:RequiredFieldValidator>
                                                                </div>
                                                                <div class="width-country-input col-xs-8 p-l-0">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactPhone" runat="server" MaxLength="20">
                                                                            </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <asp:RequiredFieldValidator ID="RFV_ContactPhone" runat="server" ControlToValidate="TxBx_ContactPhone"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                    </asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content,DGN1110070%>'
                                                                        ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxBx_ContactPhone"
                                                                        Display="None" SetFocusOnError="True" ValidationExpression="(^[+]|[-0-9]){5,20}"
                                                                        ValidationGroup="AddContact">
                                                                    </asp:RegularExpressionValidator>
                                                                </div>
                                                            </div>
                                                            <%--Mobile--%>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal92" runat="server" Text="<%$ Resources:Content,GN00001524%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5" id="Div_MobilePhoneCountryCode_Contact" runat="server" visible="false">
                                                                    <asp:DropDownList ID="Ddl_MobilePhoneCountryCode_Contact" runat="server">
                                                                    </asp:DropDownList>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Div_ContactMobile" runat="server">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactMobile" runat="server" MaxLength="20">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_TxBx_ContactMobile" EnableClientScript="true"
                                                                            runat="server" ControlToValidate="TxBx_ContactMobile" Display="None" SetFocusOnError="True"
                                                                            ValidationGroup="AddContact" Enabled="false"></asp:RequiredFieldValidator>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TxBx_ContactMobile"
                                                                                FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--Fax--%>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal93" runat="server" Text="<%$ Resources:Content,GN0000886%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ContactFax" runat="server" MaxLength="20">
                                                                            </asp:TextBox>
                                                                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server" TargetControlID="TxBx_ContactFax"
                                                                                FilterType="Numbers,Custom" ValidChars="+-() ">
                                                                            </EM:FilteredTextBoxExtender>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                            <asp:Literal ID="Literal72" runat="server" Text="<%$ Resources:Content,GN0000491%>"
                                                EnableViewState="false" /><%--Email--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CEmail" runat="server" MaxLength="60">
                                                                            </asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RFV_CEmail" runat="server" ControlToValidate="TxBx_CEmail"
                                                                                Display="None" SetFocusOnError="True" ValidationGroup="AddContact">
                                                                            </asp:RequiredFieldValidator>
                                                                            <%--<asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage='<%$ Resources:Content,DGN1110038%>'
                                                                                ControlToValidate="TxBx_CEmail" Display="None" SetFocusOnError="True" ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"
                                                                                ValidationGroup="AddContact" />--%>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Tbl_HideShowC" runat="server" visible="false">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal8' runat="server" Text='<%$ Resources:Content,CR004 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_CNPJC' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_CNPJC" runat="server" TargetControlID="TxBx_CNPJC"
                                                                                    FilterType="Numbers,Custom" ValidChars="-./">
                                                                                </EM:FilteredTextBoxExtender>
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_CNPJC" runat="server" ControlToValidate="TxBx_CNPJC"
                                                                                    ValidationGroup="AddContact" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal9' runat="server" Text='<%$ Resources:Content,CR005 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_FantasyNameC' runat="server" />
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_FantasyNameC" runat="server" ControlToValidate="TxBx_FantasyNameC"
                                                                                    ValidationGroup="AddContact" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal10' runat="server" Text='<%$ Resources:Content,CR006 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_StateRegistrationC' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_StateRegistrationC" runat="server" TargetControlID="TxBx_StateRegistrationC"
                                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                                </EM:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal119' runat="server" Text='<%$ Resources:Content,CR007 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_DescMunicipalC' runat="server" />
                                                                                <EM:FilteredTextBoxExtender ID="FTE_TxBx_DescMunicipalC" runat="server" TargetControlID="TxBx_DescMunicipalC"
                                                                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                                </EM:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *<asp:Literal ID='Literal120' runat="server" Text='<%$ Resources:Content,CR008 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID='TxBx_NeighboursC' runat="server" />
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_NeighboursC" runat="server" ControlToValidate="TxBx_NeighboursC"
                                                                                    ValidationGroup="AddContact" SetFocusOnError="true" Display="none"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal121' runat="server" Text='<%$ Resources:Content,CR009 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID='DDL_ClassificationC' runat="server">
                                                                                <asp:ListItem Value="Prof. Liberal" Text="Prof. Liberal" />
                                                                                <asp:ListItem Value="Peq." Text="Peq." />
                                                                                <asp:ListItem Value="Médio" Text="Médio" />
                                                                                <asp:ListItem Value="Grande" Text="Grande" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal122' runat="server" Text='<%$ Resources:Content,CR010 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_TypeOfAddressC" runat="server">
                                                                                <asp:ListItem Value="A" Text="A" />
                                                                                <asp:ListItem Value="Ac" Text="Ac" />
                                                                                <asp:ListItem Value="Acamp" Text="Acamp" />
                                                                                <asp:ListItem Value="Ad" Text="Ad" />
                                                                                <asp:ListItem Value="Ae" Text="Ae" />
                                                                                <asp:ListItem Value="Aer" Text="Aer" />
                                                                                <asp:ListItem Value="Al" Text="Al" />
                                                                                <asp:ListItem Value="Anl" Text="Anl" />
                                                                                <asp:ListItem Value="Art" Text="Art" />
                                                                                <asp:ListItem Value="At" Text="At" />
                                                                                <asp:ListItem Value="Atl" Text="Atl" />
                                                                                <asp:ListItem Value="Av" Text="Av" />
                                                                                <asp:ListItem Value="Av Cont" Text="Av Cont" />
                                                                                <asp:ListItem Value="Bal" Text="Bal" />
                                                                                <asp:ListItem Value="Bc" Text="Bc" />
                                                                                <asp:ListItem Value="Bco" Text="Bco" />
                                                                                <asp:ListItem Value="Belv" Text="Belv" />
                                                                                <asp:ListItem Value="Bl" Text="Bl" />
                                                                                <asp:ListItem Value="Blo" Text="Blo" />
                                                                                <asp:ListItem Value="Bsq" Text="Bsq" />
                                                                                <asp:ListItem Value="Bvd" Text="Bvd" />
                                                                                <asp:ListItem Value="Bx" Text="Bx" />
                                                                                <asp:ListItem Value="C" Text="C" />
                                                                                <asp:ListItem Value="Calc" Text="Calc" />
                                                                                <asp:ListItem Value="Cam" Text="Cam" />
                                                                                <asp:ListItem Value="Can" Text="Can" />
                                                                                <asp:ListItem Value="Ch" Text="Ch" />
                                                                                <asp:ListItem Value="Chap" Text="Chap" />
                                                                                <asp:ListItem Value="Circ" Text="Circ" />
                                                                                <asp:ListItem Value="Cj" Text="Cj" />
                                                                                <asp:ListItem Value="Cmp Vr" Text="Cmp Vr" />
                                                                                <asp:ListItem Value="Col" Text="Col" />
                                                                                <asp:ListItem Value="Cond" Text="Cond" />
                                                                                <asp:ListItem Value="Cor" Text="Cor" />
                                                                                <asp:ListItem Value="Cpo" Text="Cpo" />
                                                                                <asp:ListItem Value="Crg" Text="Crg" />
                                                                                <asp:ListItem Value="Cx" Text="Cx" />
                                                                                <asp:ListItem Value="Dsc" Text="Dsc" />
                                                                                <asp:ListItem Value="Dsv" Text="Dsv" />
                                                                                <asp:ListItem Value="Dt" Text="Dt" />
                                                                                <asp:ListItem Value="Ent Part" Text="Ent Part" />
                                                                                <asp:ListItem Value="Eq" Text="Eq" />
                                                                                <asp:ListItem Value="Esc" Text="Esc" />
                                                                                <asp:ListItem Value="Esp" Text="Esp" />
                                                                                <asp:ListItem Value="Est" Text="Est" />
                                                                                <asp:ListItem Value="Estc" Text="Estc" />
                                                                                <asp:ListItem Value="Est Mun" Text="Est Mun" />
                                                                                <asp:ListItem Value="Etc" Text="Etc" />
                                                                                <asp:ListItem Value="Etd" Text="Etd" />
                                                                                <asp:ListItem Value="Etn" Text="Etn" />
                                                                                <asp:ListItem Value="Evd" Text="Evd" />
                                                                                <asp:ListItem Value="Fav" Text="Fav" />
                                                                                <asp:ListItem Value="Faz" Text="Faz" />
                                                                                <asp:ListItem Value="Fer" Text="Fer" />
                                                                                <asp:ListItem Value="Fnt" Text="Fnt" />
                                                                                <asp:ListItem Value="Fra" Text="Fra" />
                                                                                <asp:ListItem Value="Fte" Text="Fte" />
                                                                                <asp:ListItem Value="Gal" Text="Gal" />
                                                                                <asp:ListItem Value="Gja" Text="Gja" />
                                                                                <asp:ListItem Value="Hab" Text="Hab" />
                                                                                <asp:ListItem Value="Ia" Text="Ia" />
                                                                                <asp:ListItem Value="Jd" Text="Jd" />
                                                                                <asp:ListItem Value="Jde" Text="Jde" />
                                                                                <asp:ListItem Value="Ld" Text="Ld" />
                                                                                <asp:ListItem Value="Lg" Text="Lg" />
                                                                                <asp:ListItem Value="Lga" Text="Lga" />
                                                                                <asp:ListItem Value="Loc" Text="Loc" />
                                                                                <asp:ListItem Value="Lot" Text="Lot" />
                                                                                <asp:ListItem Value="Lrg" Text="Lrg" />
                                                                                <asp:ListItem Value="Mna" Text="Mna" />
                                                                                <asp:ListItem Value="Mod" Text="Mod" />
                                                                                <asp:ListItem Value="Mro" Text="Mro" />
                                                                                <asp:ListItem Value="Mte" Text="Mte" />
                                                                                <asp:ListItem Value="Nuc" Text="Nuc" />
                                                                                <asp:ListItem Value="Par" Text="Par" />
                                                                                <asp:ListItem Value="Pas" Text="Pas" />
                                                                                <asp:ListItem Value="Pat" Text="Pat" />
                                                                                <asp:ListItem Value="Pç" Text="Pç" />
                                                                                <asp:ListItem Value="Pç-Esp" Text="Pç-Esp" />
                                                                                <asp:ListItem Value="Pda" Text="Pda" />
                                                                                <asp:ListItem Value="Pdo" Text="Pdo" />
                                                                                <asp:ListItem Value="Pnt" Text="Pnt" />
                                                                                <asp:ListItem Value="Pr" Text="Pr" />
                                                                                <asp:ListItem Value="Prl" Text="Prl" />
                                                                                <asp:ListItem Value="Prq" Text="Prq" />
                                                                                <asp:ListItem Value="Psa" Text="Psa" />
                                                                                <asp:ListItem Value="Psg" Text="Psg" />
                                                                                <asp:ListItem Value="Psg-Sub" Text="Psg-Sub" />
                                                                                <asp:ListItem Value="Pte" Text="Pte" />
                                                                                <asp:ListItem Value="Pto" Text="Pto" />
                                                                                <asp:ListItem Value="Q" Text="Q" />
                                                                                <asp:ListItem Value="Qta" Text="Qta" />
                                                                                <asp:ListItem Value="Qtas" Text="Qtas" />
                                                                                <asp:ListItem Value="R" Text="R" />
                                                                                <asp:ListItem Value="Ram" Text="Ram" />
                                                                                <asp:ListItem Value="Rec" Text="Rec" />
                                                                                <asp:ListItem Value="Rer" Text="Rer" />
                                                                                <asp:ListItem Value="Res" Text="Res" />
                                                                                <asp:ListItem Value="Ret" Text="Ret" />
                                                                                <asp:ListItem Value="R Lig" Text="R Lig" />
                                                                                <asp:ListItem Value="Rmp" Text="Rmp" />
                                                                                <asp:ListItem Value="Rod" Text="Rod" />
                                                                                <asp:ListItem Value="Rod-An" Text="Rod-An" />
                                                                                <asp:ListItem Value="Rot" Text="Rot" />
                                                                                <asp:ListItem Value="R-Ped" Text="R-Ped" />
                                                                                <asp:ListItem Value="Rtn" Text="Rtn" />
                                                                                <asp:ListItem Value="Rtt" Text="Rtt" />
                                                                                <asp:ListItem Value="Sit" Text="Sit" />
                                                                                <asp:ListItem Value="Srv" Text="Srv" />
                                                                                <asp:ListItem Value="St" Text="St" />
                                                                                <asp:ListItem Value="Sub" Text="Sub" />
                                                                                <asp:ListItem Value="Tch" Text="Tch" />
                                                                                <asp:ListItem Value="Ter" Text="Ter" />
                                                                                <asp:ListItem Value="Tr" Text="Tr" />
                                                                                <asp:ListItem Value="Trv" Text="Trv" />
                                                                                <asp:ListItem Value="Tun" Text="Tun" />
                                                                                <asp:ListItem Value="Tv" Text="Tv" />
                                                                                <asp:ListItem Value="Tv-Part" Text="Tv-Part" />
                                                                                <asp:ListItem Value="Unid" Text="Unid" />
                                                                                <asp:ListItem Value="V" Text="V" />
                                                                                <asp:ListItem Value="V-Ac" Text="V-Ac" />
                                                                                <asp:ListItem Value="Val" Text="Val" />
                                                                                <asp:ListItem Value="Vd" Text="Vd" />
                                                                                <asp:ListItem Value="Ver" Text="Ver" />
                                                                                <asp:ListItem Value="V-Evd" Text="V-Evd" />
                                                                                <asp:ListItem Value="V-Exp" Text="V-Exp" />
                                                                                <asp:ListItem Value="Vl" Text="Vl" />
                                                                                <asp:ListItem Value="Vla" Text="Vla" />
                                                                                <asp:ListItem Value="Vle" Text="Vle" />
                                                                                <asp:ListItem Value="V-Ped" Text="V-Ped" />
                                                                                <asp:ListItem Value="Vrte" Text="Vrte" />
                                                                                <asp:ListItem Value="Zig-Zag" Text="Zig-Zag" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal123' runat="server" Text='<%$ Resources:Content,CR011 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_SectorC" runat="server">
                                                                                <asp:ListItem Value="Advocacia" Text="Advocacia" />
                                                                                <asp:ListItem Value="Agricultura" Text="Agricultura" />
                                                                                <asp:ListItem Value="Alimentos e bebidas" Text="Alimentos e bebidas" />
                                                                                <asp:ListItem Value="Associação de Classe" Text="Associação de Classe" />
                                                                                <asp:ListItem Value="Automobilistica" Text="Automobilistica" />
                                                                                <asp:ListItem Value="Biotecnologia" Text="Biotecnologia" />
                                                                                <asp:ListItem Value="Comunicações" Text="Comunicações" />
                                                                                <asp:ListItem Value="Construção civil" Text="Construção civil" />
                                                                                <asp:ListItem Value="Consultoria" Text="Consultoria" />
                                                                                <asp:ListItem Value="Cosméticos" Text="Cosméticos" />
                                                                                <asp:ListItem Value="Educação" Text="Educação" />
                                                                                <asp:ListItem Value="Eletrônica" Text="Eletrônica" />
                                                                                <asp:ListItem Value="Energia" Text="Energia" />
                                                                                <asp:ListItem Value="Engenharia" Text="Engenharia" />
                                                                                <asp:ListItem Value="Entretenimento" Text="Entretenimento" />
                                                                                <asp:ListItem Value="Equipamentos" Text="Equipamentos" />
                                                                                <asp:ListItem Value="Expedição" Text="Expedição" />
                                                                                <asp:ListItem Value="Farmacêutica" Text="Farmacêutica" />
                                                                                <asp:ListItem Value="Finanças" Text="Finanças" />
                                                                                <asp:ListItem Value="Governo" Text="Governo" />
                                                                                <asp:ListItem Value="Higiene" Text="Higiene" />
                                                                                <asp:ListItem Value="Hotelaria" Text="Hotelaria" />
                                                                                <asp:ListItem Value="Logistica" Text="Logistica" />
                                                                                <asp:ListItem Value="Manufatura" Text="Manufatura" />
                                                                                <asp:ListItem Value="Mecânica" Text="Mecânica" />
                                                                                <asp:ListItem Value="Meio ambiente" Text="Meio ambiente" />
                                                                                <asp:ListItem Value="Metalurgica" Text="Metalurgica" />
                                                                                <asp:ListItem Value="Mídia" Text="Mídia" />
                                                                                <asp:ListItem Value="Mineração" Text="Mineração" />
                                                                                <asp:ListItem Value="Outros" Text="Outros" />
                                                                                <asp:ListItem Value="Papel e Celulose" Text="Papel e Celulose" />
                                                                                <asp:ListItem Value="Petroleo" Text="Petroleo" />
                                                                                <asp:ListItem Value="Plástico" Text="Plástico" />
                                                                                <asp:ListItem Value="Produtos Hospitalares" Text="Produtos Hospitalares" />
                                                                                <asp:ListItem Value="Produtos Químicos" Text="Produtos Químicos" />
                                                                                <asp:ListItem Value="Recreação" Text="Recreação" />
                                                                                <asp:ListItem Value="Recursos Humanos" Text="Recursos Humanos" />
                                                                                <asp:ListItem Value="Saúde" Text="Saúde" />
                                                                                <asp:ListItem Value="Seguros" Text="Seguros" />
                                                                                <asp:ListItem Value="Sem fins lucrativos" Text="Sem fins lucrativos" />
                                                                                <asp:ListItem Value="Serviços bancários" Text="Serviços bancários" />
                                                                                <asp:ListItem Value="Serviços públicos" Text="Serviços públicos" />
                                                                                <asp:ListItem Value="Tecnologia" Text="Tecnologia" />
                                                                                <asp:ListItem Value="Telecomunicações" Text="Telecomunicações" />
                                                                                <asp:ListItem Value="Transportes" Text="Transportes" />
                                                                                <asp:ListItem Value="Varejo" Text="Varejo" />
                                                                                <asp:ListItem Value="Vestuário" Text="Vestuário" />
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal73" runat="server" Text="<%$ Resources:Content,String1004%>"
                                                                        EnableViewState="false" /><%--Allow Access to Control Panel--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox Text=" " ID="ChBx_AccToContrlPanel" runat="server" AutoPostBack="true" Checked="false" />

                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="tr_CPassword" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *<asp:Literal ID="Literal74" runat="server" Text="<%$ Resources:Content,GN0000569%>"
                                                                        EnableViewState="false" /><%--Password--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CPassword" runat="server" MaxLength="60" TextMode="Password">
                                                                            </asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <asp:RequiredFieldValidator ID="RFV_TxBx_CPassword" runat="server" ControlToValidate="TxBx_CPassword"
                                                                        Display="None" SetFocusOnError="true" ValidationGroup="AddContact"></asp:RequiredFieldValidator>
                                                                    <br />
                                                                    <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                                                                </div>
                                                                <div class="col-sm-5 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="lb_Generate" runat="server" Text="<%$ Resources:Content,SMI0195%>" CausesValidation="false"
                                                                            TabIndex="-1"></asp:LinkButton>
                                                                    </div>
                                                                    <div id="Div_PasswordPolicy" runat="server" class="help-text sm"></div>
                                                                </div>
                                                            </div>
                                                            <div class="row" runat="server" id="tr_CCPassword" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *<asp:Literal ID="Literal75" runat="server" Text="<%$ Resources:Content,GN0001196%>"
                                                                        EnableViewState="false" /><%--Confirm Password--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_CCPassword" runat="server" MaxLength="60" TextMode="Password">
                                                                            </asp:TextBox>
                                                                            <asp:CompareValidator ID="CV_Contactpassword" ControlToValidate="TxBx_CCPassword"
                                                                                ControlToCompare="TxBx_CPassword" runat="server" Display="none" ErrorMessage='<%$ Resources:Content,DGN1110005 %>'
                                                                                ValidationGroup="AddContact"></asp:CompareValidator>
                                                                            <asp:RequiredFieldValidator ID="RFV_TxBx_CCPassword" runat="server" ControlToValidate="TxBx_CCPassword"
                                                                                Display="None" SetFocusOnError="true" ValidationGroup="AddContact"></asp:RequiredFieldValidator>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" id="div_contact_ad_account" runat="server" visible="false">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal102" runat="server" Text="<%$ Resources:Content,strAuthViaADAccount%>"
                                                                            EnableViewState="false" />:</label>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_ContactLinkedADAccount" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" runat="server" id="Tr_ContactSendEmail">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal77" runat="server" Text="<%$ Resources:Content,GN0000752%>"
                                                                        EnableViewState="false" /><%--Confirm Password--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBox Text=" " ID="Chbx_ContactSendEmail" runat="server" Checked="false" />

                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    *
                                                                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,String199%>" EnableViewState="false" />

                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="DDL_AccessTemplate" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" id="Div_SubscribeToMailingList" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal43" runat="server" Text="<%$ Resources:Content,String610%>" EnableViewState="false" />

                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div style="margin-top: 7px">
                                                                            <asp:Repeater ID="Rep_ContactsMailChimpList" runat="server">
                                                                                <ItemTemplate>
                                                                                    <div style="margin-bottom: 4px;">
                                                                                        <asp:CheckBox ID="CB_ListOption" runat="server" />
                                                                                        <asp:HiddenField ID="HF_ListId" runat="server" />
                                                                                    </div>
                                                                                </ItemTemplate>
                                                                            </asp:Repeater>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_SaveContact" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>'
                                                                        ValidationGroup="AddContact" />
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_EditContact" SkinID="saveButton" runat="server" Text='<%$ Resources:Content, GN0000281%>' ValidationGroup="AddContact"
                                                                        Visible="false" /><%--Text='<%$ Resources:Content,GN0000281 %>'--%>
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_CancelContact" CausesValidation="false" SkinID="cancelButton"
                                                                        runat="server" Text='<%$ Resources:Content,GN0000572 %>' />
                                                                    <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="AddContact" HeaderText="<%$ Resources:Content,EM000001 %>"
                                                                        runat="server" ShowSummary="false" ShowMessageBox="true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <%--Contact Detail Here--%>
                                        <asp:Panel ID="Pnl_ContactDetail" runat="server" Visible="false">
                                            <div class="row">
                                                <div class="col-xs-12">
                                                    <div class="card">
                                                        <div class="header">
                                                            <h3><%= Resources.Content.M0085%>  </h3>
                                                        </div>
                                                        <div class="body">
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal71" runat="server" Text="<%$ Resources:Content,String1002%>"
                                                                        EnableViewState="false" /><%--First Name--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_ContactName" runat="server">
                                                                </div>
                                                            </div>

                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <%--<asp:Literal ID="Literal78" runat="server" Text="*" />--%>
                                                                    <asp:Literal ID="Ltl_CAddressCD" runat="server" Text="<%$ Resources:Content,GN00001493%>"
                                                                        EnableViewState="false" /><%--Address--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CAddress" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <%--<asp:Literal ID="Literal78" runat="server" Text="*" />--%>
                                                                    <asp:Literal ID="Ltl_CAddress2CD" runat="server" Text="<%$ Resources:Content,GN00001136%>"
                                                                        EnableViewState="false" /><%--Address--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CAddress2" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal83" runat="server" Text="<%$ Resources:Content,GN0000880%>"
                                                                        EnableViewState="false" /><%--City--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CCity" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_ContactState" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal96" runat="server" Text="<%$ Resources:Content,DEV1130%>"
                                                                        EnableViewState="false" /><%--City--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CState" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row" id="Tr_ContactProvince" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal97" runat="server" Text="<%$ Resources:Content,GN00001313%>"
                                                                        EnableViewState="false" /><%--City--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CProvince" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal98" runat="server" Text="<%$ Resources:Content,GN00001522%>"
                                                                        EnableViewState="false" /><%--City--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CZip" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal84" runat="server" Text="<%$ Resources:Content,GN0000882%>"
                                                                        EnableViewState="false" /><%--Country--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CCountry" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal82" runat="server" Text="<%$ Resources:Content,GN00012%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CPhone" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal99" runat="server" Text="<%$ Resources:Content,GN00001524%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CMobile" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal100" runat="server" Text="<%$ Resources:Content,GN0000886%>"
                                                                        EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CFax" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal85" runat="server" Text="<%$ Resources:Content,GN0000491%>"
                                                                        EnableViewState="false" /><%--Email--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_CEmail" runat="server">
                                                                </div>
                                                            </div>
                                                            <div id="Tbl_HideShowCD" runat="server" visible="false">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal4' runat="server" Text='<%$ Resources:Content,CR004 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_CNPJCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal5' runat="server" Text='<%$ Resources:Content,CR005 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_FantasyNameCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal6' runat="server" Text='<%$ Resources:Content,CR006 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_StateRegistrationCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal7' runat="server" Text='<%$ Resources:Content,CR007 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_DescMunicipalCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal124' runat="server" Text='<%$ Resources:Content,CR008 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_NeighboursCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal125' runat="server" Text='<%$ Resources:Content,CR009 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_ClassificationCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal126' runat="server" Text='<%$ Resources:Content,CR010 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_TypeOfAddressCD" runat="server">
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <asp:Literal ID='Literal127' runat="server" Text='<%$ Resources:Content,CR011 %>'></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_SectorCD" runat="server">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content,String1004%>"
                                                                        EnableViewState="false" /><%--Allow Access to Control Panel--%>
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12" id="Td_ContrlPnlAccess" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal103" runat="server" Text="<%$ Resources:Content,strAuthViaADAccount%>"
                                                                        EnableViewState="false" />:
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12" id="div_ad_contact_account" runat="server">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_CancelCDetail" CausesValidation="false" SkinID="cancelButton"
                                                                        runat="server" Text='<%$ Resources:Content,GN0000572 %>' />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_WhiteLabelClient" runat="server" HeaderText="<%$ Resources:Content,MP99526 %>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab2" runat="server" Style="display: none" />

                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false">
                                        <ajax:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" RenderMode="Inline">
                                            <ContentTemplate>
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <div class="card">
                                                            <div class="header">
                                                                <h3><%= Resources.Content.MP99527%>  </h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *
                                                                        <asp:Literal ID="Literal107" runat="server" Text="<%$ Resources:Content,SPT002064%>" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CPBName" MaxLength="100" runat="server"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="TxBx_CPBName"
                                                                                    Display="None" SetFocusOnError="True" ValidationGroup="CWS"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal153" runat="server" Text="<%$ Resources:Content,StrPortalTItle%>"
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_PortalTitle" MaxLength="100" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal154" runat="server" Text="<%$ Resources:Content,StrEndUserPortalTItle%>"
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_EndUserPortalTitle" MaxLength="100" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *
                                                                        <asp:Literal ID="Literal109" runat="server" Text="<%$ Resources:Content,SPT002066%>" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CWURL" MaxLength="200" runat="server"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="TxBx_CWURL"
                                                                                    Display="None" SetFocusOnError="True" ValidationGroup="CWS"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row m-b-10">
                                                                    <div class="col-sm-3 col-xs-12">
                                                                        <asp:Literal ID="Ltrl_ShowLogoOnHeader" runat="server" Text="<%$ Resources:Content,StrShowLogonOnCPHeader %>"></asp:Literal>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <asp:CheckBox ID="CB_ShowLogoOnHeader" runat="server" Text=" " />
                                                                    </div>
                                                                </div>
                                                                <div class="row" id="TR_CPLogo" runat="server">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *
                                                                        <asp:Literal ID="Literal110" runat="server" Text="<%$ Resources:Content,SPT002067%>" />
                                                                        <span class="font-normal">(250px x 45px)</span>:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:RadioButtonList ID="Rbl_CompanyLogo" runat="server" AutoPostBack="true" RepeatColumns="2">
                                                                                <asp:ListItem Text="<%$ Resources:Content,LogoURL%>" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="<%$ Resources:Content,UploadLogo%>" Value="1"></asp:ListItem>
                                                                            </asp:RadioButtonList>
                                                                            <div id="Div_ImageUrl" runat="server">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_CPLogo" MaxLength="200" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div id="Div_UploadLogo" runat="server" visible="false">
                                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                                    <span class="btn btn-primary btn-file">
                                                                                        <span class="fileupload-new"><%= Resources.Content.SelectLogo%></span>
                                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                        <asp:FileUpload ID="Img_Upload" runat="server" />
                                                                                    </span>
                                                                                    <span class="thumbnail hide"></span>
                                                                                    <span class="fileupload-preview"></span>
                                                                                    <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                                </div>
                                                                                <asp:Image ID="Image_profilepic" runat="server" Width="250" Height="45" Visible="false" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *
		                                                        <asp:Literal ID="Literal66" runat="server" Text="<%$ Resources:Content,StrLoginLogo%>" />
                                                                        <span class="font-normal">(400px x 45px)</span>:
                                                                    </div>
                                                                    <div class="col-sm-6 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:RadioButtonList ID="Rbl_LoginLogo" runat="server" AutoPostBack="true" RepeatColumns="2">
                                                                                <asp:ListItem Text="<%$ Resources:Content,LogoURL%>" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="<%$ Resources:Content,UploadLogo%>" Value="1"></asp:ListItem>
                                                                            </asp:RadioButtonList>
                                                                            <div id="Div_LoginImageUrl" runat="server">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox ID="TxBx_LoginLogo" MaxLength="200" runat="server"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div id="Div_UploadLoginLogo" runat="server" visible="false">
                                                                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                                                                    <span class="btn btn-primary btn-file">
                                                                                        <span class="fileupload-new"><%= Resources.Content.SelectLogo%></span>
                                                                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                                                                        <asp:FileUpload ID="ImgLogin_Upload" runat="server" />
                                                                                    </span>
                                                                                    <span class="thumbnail hide"></span>
                                                                                    <span class="fileupload-preview"></span>
                                                                                    <a href="#" class="close fileupload-exists font-40 col-deep-purple" data-dismiss="fileupload" style="float: none">×</a>
                                                                                </div>
                                                                                <asp:Image ID="Image_LoginLogo" runat="server" Width="400" Height="45" Visible="false" />
                                                                            </div>
                                                                        </div>

                                                                    </div>
                                                                </div>
                                                                <%--<div class="row">
                                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                                        *
                                                                        <asp:Literal ID="Literal111" runat="server" Text="<%$ Resources:Content,M001%>" />
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CopyRight" MaxLength="100" runat="server"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="TxBx_CopyRight"
                                                                                    Display="None" SetFocusOnError="True" ValidationGroup="CWS"></asp:RequiredFieldValidator>
                                                                                <asp:ValidationSummary ID="ValidationSummary3" ValidationGroup="CWS" runat="server"
                                                                                    ShowMessageBox="true" HeaderText='<%$ Resources:Content,EM000001%>' ShowSummary="false" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>--%>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_CLientWhiteLabelSave" CausesValidation="true" ValidationGroup="CWS" SkinID="saveButton" runat="server"
                                                                            Text="<%$ Resources:Content,GN0000654%>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_AccessTemp" runat="server" HeaderText="<%$ Resources:Content,String199 %>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab3" runat="server" Style="display: none" />

                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false">
                                        <EM:AccessTemplate ID="AT_ClientTemplate" runat="server" ViewOnly="false" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_About" runat="server" HeaderText="<%$ Resources:Content,strAboutMachPanel %>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab4" runat="server" CssClass="btn-dummy" />
                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false">
                                        <UC:LicenseTerms ID="LicenseTerms1" runat="server"></UC:LicenseTerms>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>

                        <div class="card" id="Div_AdditionalLogins" runat="server" visible="false">
                            <div class="header">
                                <h3>
                                    <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,AdditionalLogin%>" /></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView CssClass="table table-bordered table-striped table-hover table-responsive" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                            ID="GV_AdditionalLogins" AllowSorting="true" AllowPaging="True" runat="server" AutoGenerateColumns="False">
                                            <Columns>
                                                <asp:TemplateField SortExpression="Login" HeaderStyle-CssClass="col-xs-10" HeaderText="<%$ Resources:Content,GN0001248%>">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_Login" runat="server" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000275%>" HeaderStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_Remove" runat="server" CssClass="btn btn-primary waves-effect" Text='<%$ Resources:Content, GN0000278 %>' CommandName="RemoveLogin"></asp:LinkButton>
                                                        <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" ConfirmText="<%$Resources:Content,CBE001%>" TargetControlID="LB_Remove"></EM:ConfirmButtonExtender>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <%--PagerTemplate Start--%>
                                            <PagerTemplate>
                                                <EM:Pager ID="Pager2" runat="server" />
                                            </PagerTemplate>
                                            <%--PagerTemplate End--%>
                                        </asp:GridView>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        *<asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,GN0001248%>" />:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_AdditionalLogin" runat="server"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxBx_AdditionalLogin"
                                                    Display="None" SetFocusOnError="True" ValidationGroup="AdditionalLogins"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:ValidationSummary ID="ValidationSummary2" runat="server" ShowMessageBox="true" ShowSummary="false"
                                            ValidationGroup="AdditionalLogins" HeaderText="<%$ Resources:Content,EM000001%>" CssClass="btn btn-primary" />
                                        <asp:Button ID="Btn_AdditionalLogins" ValidationGroup="AdditionalLogins" CausesValidation="true"
                                            runat="server" Text="<%$ Resources:Content,GN0000659%>" CssClass="btn btn-primary" />
                                    </div>
                                </div>
                            </div>
                        </div>

                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>

    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender4.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender2.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender5.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_CNPJ.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_StateRegistration.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_DescMunicipal.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender8.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender3.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender6.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_CNPJC.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_StateRegistrationC.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_TxBx_DescMunicipalC.ClientID%>');
    </script>
</asp:Content>
