<?php echo doctype('html5');
?>
<html style="overflow-x: hidden">
    <head>
       <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
       <meta name="description" content="O Imazon Cursos é um programa de formação da empresa cidade aprendizagem. Ofertamos Cursos Livres com ótimo custo-benefício para todo o Brasil através de nossa Plataforma Web, com Certificados." />
       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
       <?php
        if ($this->session->userdata("rescad")) {
            ?>

        <!-- Global site tag (gtag.js) - Google AdWords: 1036809317 -->
            <script async src="https://www.googletagmanager.com/gtag/js?id=AW-1036809317"></script>
            <script>
              window.dataLayer = window.dataLayer || [];
              function gtag(){dataLayer.push(arguments);}
              gtag('js', new Date());

              gtag('config', 'AW-1036809317');
            </script>

            <!-- Event snippet for Cadastros Imazon Cursos conversion page -->
            <script>
              gtag('event', 'conversion', {'send_to': 'AW-1036809317/GkVxCPqM_4ABEOXose4D'});
            </script>

            <?php
            $this->session->unset_userdata("rescad");
        }
        ?>

			<link rel="apple-touch-icon" sizes="57x57" href="<?php echo ROOT_URL; ?>favicon/apple-icon-57x57.png">
			<link rel="apple-touch-icon" sizes="60x60" href="<?php echo ROOT_URL; ?>favicon/apple-icon-60x60.png">
			<link rel="apple-touch-icon" sizes="72x72" href="<?php echo ROOT_URL; ?>favicon/apple-icon-72x72.png">
			<link rel="apple-touch-icon" sizes="76x76" href="<?php echo ROOT_URL; ?>favicon/apple-icon-76x76.png">
			<link rel="apple-touch-icon" sizes="114x114" href="<?php echo ROOT_URL; ?>favicon/apple-icon-114x114.png">
			<link rel="apple-touch-icon" sizes="120x120" href="<?php echo ROOT_URL; ?>favicon/apple-icon-120x120.png">
			<link rel="apple-touch-icon" sizes="144x144" href="<?php echo ROOT_URL; ?>favicon/apple-icon-144x144.png">
			<link rel="apple-touch-icon" sizes="152x152" href="<?php echo ROOT_URL; ?>favicon/apple-icon-152x152.png">
			<link rel="apple-touch-icon" sizes="180x180" href="<?php echo ROOT_URL; ?>favicon/apple-icon-180x180.png">
			<link rel="icon" type="image/png" sizes="192x192"  href="<?php echo ROOT_URL; ?>favicon/android-icon-192x192.png">
			<link rel="icon" type="image/png" sizes="32x32" href="<?php echo ROOT_URL; ?>favicon/favicon-32x32.png">
			<link rel="icon" type="image/png" sizes="96x96" href="<?php echo ROOT_URL; ?>favicon/favicon-96x96.png">
			<link rel="icon" type="image/png" sizes="16x16" href="<?php echo ROOT_URL; ?>favicon/favicon-16x16.png">
			<link rel="manifest" href="<?php echo ROOT_URL; ?>favicon/manifest.json">
			<meta name="msapplication-TileColor" content="#ffffff">
			<meta name="msapplication-TileImage" content="<?php echo ROOT_URL; ?>favicon/ms-icon-144x144.png">
			<meta name="theme-color" content="#ffffff">
        <meta name="description" content="{titulo}">
        <meta name="keywords" content="{titulo}">
        <meta name="author" content="{palavra_chave} com Certificado">
        <?php echo header("Content-Type: text/html;  charset=utf-8", true); ?>
        <title>{titulo} | {palavra_chave} com Certificado</title>
        <!-- Latest compiled and minified CSS -->
		<?php echo link_tag(ROOT_URL . 'vendor/twbs/bootstrap/dist/css/bootstrap.min.css'); ?>
        <!-- Google fonts -->
        <?php echo link_tag('https://fonts.googleapis.com/css?family=Montserrat'); ?>
        <!--Bootstrap Social Icons-->
		<?php echo link_tag(ROOT_URL . 'node_modules/bootstrap-social/bootstrap-social.css'); ?>
		<?php echo link_tag(ROOT_URL . 'node_modules/bootstrap-social/assets/css/font-awesome.css'); ?>
        <!--Animate Bootstrap Icons-->
		<?php echo link_tag(ROOT_URL . 'vendor/components/animate.css/animate.min.css'); ?>
        <!--Estilo-->
		<?php echo link_tag(ROOT_URL . 'template/css/estilo.css'); ?>
        <!--Reset-->
		<?php echo link_tag(ROOT_URL . 'template/css/reset9.css'); ?>
        <!--jQuery-->
		<?php echo '<script src="' . ROOT_URL . 'vendor/components/jquery/jquery.min.js"></script>'; ?>
        <!-- Latest compiled and minified JavaScript -->
		<?php echo '<script src="' . ROOT_URL . 'vendor/twbs/bootstrap/dist/js/bootstrap.min.js"></script>'; ?>

        <!-- Latest compiled and minified CSS -->
        <link rel="stylesheet" href="<?php echo ROOT_URL; ?>template/css/jasny-bootstrap.min.css">

        <!-- Latest compiled and minified JavaScript -->
        <script src="<?php echo ROOT_URL ?>template/js/jasny-bootstrap.min.js"></script>

        <script src="<?php echo ROOT_URL ?>template/js/mascara.js"></script>

        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
        <script src="//oss.maxcdn.com/jquery.form/3.50/jquery.form.min.js"></script>
        <meta name="google-signin-client_id" content="<?php echo GOOGLE_LOGIN; ?>">
        <script src="https://apis.google.com/js/platform.js" async defer></script>

    <div id="fb-root"></div>

    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r;
            i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
            a = s.createElement(o),
                    m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            m.parentNode.insertBefore(a, m)
        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-62601651-1', 'auto');
        ga('send', 'pageview');

    </script>

    <script>

  function signOut() {
    var auth2 = gapi.auth2.getAuthInstance();
    auth2.signOut().then(function () {
      console.log('User signed out.');
    });
  }
</script>

<script>
    $(document).ready(function () {

        $('#Identidade').on('input', function () {
                   $(this).val($(this).val().replace(/[^0-9]/g, ""));
               });

    });
</script>

<style>
    @-ms-viewport{
  width: device-width;
}



.content-detail-curso {
    font-size: 14px;
    width: 100%;
    }

    .btn-group-justified-sec
    {
        display: table-cell ;
        width: 100%;
        table-layout: fixed;
        border-collapse: separete;
    }

    .btn-group-justified-sec > .btn,
    .btn-group-justified-sec > .btn-group {
      display: table-cell;
      float: none;
      width: 1%;
    }
    .btn-group-justified-sec > .btn-group .btn {
      width: 100%;
    }
    .btn-group-justified-sec > .btn-group .dropdown-menu {
      left: auto;
    }

    #btn-continuar{
        width: 100%;
    }
    a#fb-login{
        width: 100%;
    }
    .abcRioButton.abcRioButtonBlue {
        width: 100% !important;
    }

    #btn-busca {
        display: inline-flex;
    }


@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .media-left{
        display: grid;
    }

    .list-group{
        padding-left: 0;
        margin-bottom: 20px;
    }

    .list-group-item{
        position: relative;
        display: block;
        padding: 10px 15px;
        margin-bottom: -1px;
        background-color: #fff;
        border: 1px solid #ddd;
        width: 100%;
        margin: 0px 0px 0px 0px;
    }

    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    #idnavbartoggle {
        position: relative;
        float: left;
        padding: 9px 10px;
        margin-top: 8px;
        margin-right: 165px;
        margin-bottom: 8px;
        background-color: #ccc;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        width: 100%;
    }

    .conteudo-direito{
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    div.form-group.form-group-lg{
        width: 100% !important;
        display: grid;
    }

    #codigo-autenticacao{
        width: 100% !important;
    }

    .topo-involucro {
        /*padding: 2px 8% 18px;
        position: fixed;
        top: 0px;
        z-index: 99;
        width: 100%;*/
    }

    img{
        display: block;
    max-width: 100%;
    height: auto;

    }
    .img-foot{
        width: 100% !important;
        height: 200px !important;
    }

    .img-visualiza-curso{
        width: 100%;
    }

    .col-md-img {
        margin-right: -15px !important;
        margin-left: -15px !important;
        width: 100%;
    }

    .col-md-conteudo{
        margin-right: -15px !important;
        margin-left: -15px !important;
        width: 100%;
    }

    .mais-carga-horaria{
        width: 100% !important;
    }

    .thumbnail_second {
        display: block !important;
        padding: 4px !important;
        margin-bottom: 20px !important;
        line-height: 1.42857143 !important;
        /* background-color: #fff; */
        /* border: 1px solid #ddd; */
        border-radius: 4px !important;
        -webkit-transition: border .2s ease-in-out !important;
        -o-transition: border .2s ease-in-out !important;
        transition: border .2s ease-in-out !important;
    }

    .btn-group-justified-sec
    {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
    }

    .btn-group-justified-sec > .btn,
    .btn-group-justified-sec > .btn-group {
      display: table-cell;
      float: none;
      width: 1%;
    }
    .btn-group-justified-sec > .btn-group .btn {
      width: 100%;
    }

    .btn-group-justified-sec > .btn-group .dropdown-menu {
      left: auto;
    }

    .navbar-fixed-to{
        position: fixed;
        right: 0;
        left: 0;
        top: 0;
        z-index: 1030;
    }

    .img-media{
        width: 100%;
    }

    .inner-buttons-finalizar {
        height: 5px !important;
    }

    .conten-cursos {
        padding-top: 80px;
    }

    #row-img{
        display: none !important;
    }

    .img-site-curso{
        width: 100%;
    }

    a#fb-login:after{
         content: ' com Facebook';
    }

    span.abcRioButtonContents span {
        display: none;
      }
    span.abcRioButtonContents:after{
        content: 'Login com Google';
    }

    .itens_footer{
        color: #FFF;
    }

    #row_desk{
        display: none;
    }


    .info-table{
        font-weight: bold;
    }

    .fx{
        position: absolute;
        left: 0;
        top: 0;
        /* bottom: 0; */
        width: 51px;
        line-height: 34px;
        font-size: 1.6em;
        /* text-align: center; */
        border-right: 1px solid rgba(0,0,0,.2);
    }

    a.icon-user {
        left: 18px;
    }

    h1{
/*        margin-top: 0px;
        margin-bottom: 15px;*/
    }

    .menu-blank{
        background-color: #fff;
    }

}

@media (min-width: 68em){/* 1088px */
    .conten-cursos {
        padding-top: 65px;
    }

    .inner-buttons-finalizar {
        display: none;
    }

    span.abcRioButtonContents span {
        display: none;
      }
    span.abcRioButtonContents:after{
        content: 'Login';
    }

    #row_mobi{
        display: none;
    }

    .footer-copyright{
        display: none;
    }

    .info-table{
        display: none;
    }

    .text-bottom{
        margin-bottom: 60px;
        top: 30px;
    }

    .fx{
        position: absolute;
        left: 0;
        top: 0;
        /* bottom: 0; */
        width: 51px;
        line-height: 34px;
        font-size: 1.6em;
        /* text-align: center; */
        border-right: 1px solid rgba(0,0,0,.2);
    }


}


.conten-cursos {
    color: white;
}

.conteudo-titulo{width: auto; margin: auto; text-align: center !important; }

body {
  /*padding-top: 20px;
  padding-bottom: 20px;*/
}

.navbar {
  /*margin-bottom: 20px;*/
}



</style>

<!-- formacaofacil -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1805112446629508');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1805112446629508&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code --> 
</head>

<body>
    <header>
        <div class="fundo-blog"></div>
        <div class="topo-involucro">
            <div class="row">
            <!-- navbar-fixed-top-->
                <div id="custom-bootstrap-menu" class="navbar navbar-default navbar-fixed-top" role="navigation">
                    <div class="container-fluid">
                        <div class="navbar-header">
                            <a class="" href="#" >
								<?php echo img(ROOT_URL . 'imgs/logo.png', TRUE); ?>
                            </a>
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menubuilder">
                                <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                            </button>
                        </div>
                        <div class="menu-blank collapse navbar-collapse navbar-menubuilder">
                            <ul class="nav navbar-nav navbar-right menu-principal">
                                <?php if (!$this->session->userdata('imazon_logado')) { ?>
								<li><a class="page-scroll" href="<?php echo base_url(); ?>site/home">Home</a>
									</li>
                                    <?php }?>
                                    <li><a class="page-scroll" href="<?php echo base_url(); ?>cursos">Cursos</a>
                                    </li>
                                    <?php if(!$this->session->userdata('imazon_logado')){?>
	                                    <li><a class="page-scroll" href="<?php echo base_url(); ?>autenticacao">Certificado</a>
	                                    </li>
                                    <?php }?>
                                    <?php
                                    if ($this->session->userdata('imazon_logado')) {

                                        $id_aluno = $this->session->userdata('imazon_id_aluno');
                                        $id_aluno = codifica($id_aluno);

                                        echo '<li><a href="' . base_url() . 'cursos_matriculados" class="btn-nav-estudar">Estudar | Certificado</a>';
	//echo '<li><a href="' . ROOT_URL . 'ganhe/cliente/index/' . $id_aluno . '" class="btn-nav-estudar">Indique e Ganhe</a>';
	echo '<li><a href="matricula_em_grupo" class="btn-nav-estudar">Matrícula em Grupo</a>';
} else {
                                        echo '<li>'
                                        . '<a class="page-scroll" href="#" local="' . base_url() . '" id="btn-modal-cadastrar" data-toggle="modal" data-target="#modal-cadastro">Cadastro</a>' .
                                        '</li>' .
                                        '<li><a class="page-scroll" href="#" local="' . base_url() . '"  id="btn-modal-cadastrar" data-toggle="modal" data-target="#modal-cadastro">Login</a>';
                                    }
                                    ?>

                                    </li>

                                    <!--<li><a class="page-scroll" href="<?php echo base_url(); ?>blog">Blog</a>-->
                                    <li><a class="page-scroll" href="<?php echo base_url(); ?>suporte">Suporte</a>
                                    </li>
                                    <?php
                                    if ($this->session->userdata('imazon_logado')) {
                                        echo '<li style="width: 20px;margin-left: -17px; margin-right: 11px;" class="dropdown sidebar-list">
                                                <a class="icon-user" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <span class="glyphicon glyphicon-user"></span></a>
                                                <ul class="dropdown-menu">
                                                    <li><a href="' . base_url() . 'dados_cadastrais">Meus dados</a></li>
                                                    <li><a onclick="sair()" href="' . base_url() . 'logout">Sair</a></li>
                                                </ul>
                                            </li>';
                                    }

                                    if ($this->cart->total_items() > 0) {
                                        echo '<li class="nav-menu-carrinho"><a href="' . base_url() . 'listaCompras"><i class="glyphicon glyphicon-shopping-cart icone-carrinho"></i></a></li>';
}

                                    if ($this->session->userdata('imazon_logado')) {
                                        if (!$this->notificacao_model->verifica_dados_aluno()) {
                                            echo '<li class=""><a href="' . base_url() . 'dados_cadastrais" style="color: orange;" class="notifica-dados-aluno" data-container="body" data-toggle="popover" data-placement="left" data-content="Você ainda não preencheu os seus dados cadastrais!"><i class="glyphicon glyphicon-info-sign"></i></a></li>';
	}
                                        if (!$this->notificacao_model->notifica_faturas_abertas()) {
                                            echo '<li class=""><a href="' . base_url() . 'faturas" style="color: red;" class="notifica-dados-aluno" data-container="body" data-toggle="popover" data-placement="left" data-content="Você possui faturas em aberto"><i class="glyphicon glyphicon-usd"></i></a></li>';
	}
                                    }
                                    ?>
                                    <li>
                                        <a class="page-scroll" id="busca-topo" href="#busca" data-container="body" data-toggle="popover" data-placement="bottom">
                                            <span>
                                                <i class="glyphicon glyphicon-search"></i>
                                            </span>
                                        </a>
                                    </li>


                                </ul>
                            </div>
                            <?php
                            if ($this->session->userdata('imazon_logado')) {
                                echo '<p style="float: right; font-size: 12px; margin-top: -3px;">Logado como: ' . $this->session->userdata('imazon_nome') . '</p>';
                            }
                            ?>
                        </div>
                    </div>
                </div>
            </div><!--topo-involucro-->

        </header>


        <div class="involucro-conteudo-pagina">

            <div class="titulo-pagina">

                <div class="container-fluid conten-cursos">
                    <div class="row">

                        <div class="col-md-12 text-center text-bottom">
        <!--                <div class="col-md-12 text-center">-->
                            <h1>{titulo}</h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>

            <div class="conteudo-pagina">

<?php
                if ($this->agent->is_browser() && $this->agent->browser() == "Internet Explorer") {
                    echo '<div style="padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; background: #F23838; color: #f5f5f5;">Nosso site n&atilde;o possui suporte para o seu navegador atual. Por favor, baixe e instale um dos seguintes navegadores: <a href="https://www.google.com.br/chrome/browser/desktop/" target=_blank" style="color: #f5f5f5; font-weight: bold;">Google Chrome</a> ou <a href="https://www.mozilla.org/pt-BR/firefox/new/" target=_blank" style="color: #f5f5f5; font-weight: bold;">Mozila Firefox</a>.</div>';
                }
?>