<?php if (get_theme_mod('devdmbootstrap4_show_header_setting', 1)) : ?>

    <div class="container-fluid dmbs-header">

        <div class="row">
            <?php
                $dmbsCustomLogoUrl = devdmbootstrap4_custom_logo();
                $dmbsHeaderText    = get_theme_mod('header_text', 1)
            ?>
            <?php if (!empty($dmbsCustomLogoUrl)) : ?>
                <div class="col-7 my-auto dmbs-header-left">
                    <a class="dmbs-logo-link" href="<?php echo esc_url( home_url( '/' ) ); ?>">
                        <img class="dmbs-logo-image" src="<?php echo esc_url($dmbsCustomLogoUrl); ?>" alt="<?php bloginfo('name'); ?>" />
                    </a>
                </div>
                <div class="col-5 my-auto header-left text-right">
                    
                    <!--
                    <div class="icocel iconestop">
                        <img class="" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel.png">
                         <a href="https://api.whatsapp.com/send?phone=5516996129526&text=Atendimento Online pelo Site." target="_blank"><img src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel2.png"></a>
                         &nbsp;
                        <a href="https://api.whatsapp.com/send?phone=5516997742210&text=Atendimento Online pelo Site." target="_blank"><img src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel2.png"></a>

                    </div>
                    -->

                    <div class="icocel iconestop">
                    	<a href="tel:1639776500"> <h4> <em>Atendimento: <b>16 3977-6500<em></b> </h4></a>
                    </div>
                    
                    <div class="icotel iconestop">
                        
                        <a href="tel:1639619111"> <h4> <em>Centro Clínico: <b>16 3961-9111<em></b> </h4></a>

                    </div>

                    
                    <div class="icotelcel">

                    	<a href="tel:1639776500"> <em>Atendimento</em> <img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/telefone2.png"> </a>
                    	<br> <a href="tel:1639619111"> <em>Centro Clínico<em> <img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/telefone2.png"> </a>

                        <!--<a href="https://api.whatsapp.com/send?phone=5516987899460&text=Atendimento Online pelo Site."><img src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel2.png"></a>-->
                        
                        <!-- <a href="tel:39776500"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/telefone2.png"></a> -->
                        
                        <!-- <a href="https://api.whatsapp.com/send?phone=5516996129526&text=Atendimento Online pelo Site." target="_blank"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel2.png"></a>
                        
                        <a href="https://api.whatsapp.com/send?phone=5516997742210&text=Atendimento Online pelo Site." target="_blank"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/cel2.png"></a>
                        -->
                    </div>
                    

                    <div class="iconestop">                        
                            <a href="https://www.facebook.com/santacasasauderibeiraopreto/"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/face.png"></a>
                            
                            <a href="https://www.instagram.com/stacasasauderp/"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/insta.png"></a>
                            
                            <a href="https://br.linkedin.com/"><img class="icosocial" src="https://santacasasauderibeirao.com.br/site/wp-content/uploads/2019/06/in.png"></a>          
                        
                    </div>


                </div>

            <?php endif; ?>

            <?php if ($dmbsHeaderText == 1) : ?>
                <div class="col-sm-<?php echo (!empty($dmbsCustomLogoUrl) ? "8" : "12"); ?> my-auto dmbs-header-right">

                    <?php if (is_front_page() || is_home()) : ?>
                        <h1 class="dmbs-header-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
                    <?php else: ?>
                        <h2 class="dmbs-header-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
                    <?php endif; ?>

                    <h4 class="dmbs-header-description"><?php bloginfo( 'description' ); ?></h4>

                </div>
            <?php endif; ?>

        </div>

    </div>

<?php endif; ?>
