<!--  BEGIN SIDEBAR  -->
        <div class="sidebar-wrapper sidebar-theme">
            
            <nav id="sidebar">
                <div class="shadow-bottom"></div>
                <ul class="list-unstyled menu-categories" id="accordionExample">

                    <li class="menu">
                        <a href="/home" aria-expanded="false"
                            <?php if (request()->is('home')) {
                                echo ' data-active="true"';
                            } ?>                          
                         class="dropdown-toggle">
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
                                <span>Inicio</span>
                            </div>
                        </a>
                    </li>

                    <?php if(Auth::user()->rol_id==2): ?>
                        <li class="menu">
                            <a href="<?php echo e(route('hoteles.propios')); ?>" aria-expanded="false"
                                <?php if (request()->is('admin/mis-hoteles')) {
                                    echo ' data-active="true"';
                                } ?>                          
                             class="dropdown-toggle">
                                <div class="">
                                    <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="building" class="svg-inline--fa fa-building fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"></path></svg>
                                    <span>Mis hoteles</span>
                                </div>
                            </a>
                        </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->rol_id == 1): ?>
                    <li class="menu">
                        <a href="#submenu1" data-toggle="collapse" <?php if (request()->is('admin/hoteles') or request()->is('admin/hoteles/reclamar') or request()->is('admin/mis-hoteles') or request()->is('admin/hoteles/*') or request()->is('admin/habitaciones/*')) {
                                echo 'class="dropdown-toggle" data-active="true" aria-expanded="true"';
                            }else { 
                                echo 'aria-expanded="false" class="dropdown-toggle collapsed"';} ?>  >
                            <div class="">
                                 <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="building" class="svg-inline--fa fa-building fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"></path></svg>
                                <span>Hoteles</span>
                            </div>
                            <div>
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                            </div>
                        </a>
                        <ul 
                            <?php if (request()->is('admin/hoteles') or request()->is('admin/hoteles/reclamar') or request()->is('admin/mis-hoteles') or request()->is('admin/hoteles/*') or request()->is('admin/habitaciones/*')){
                                echo 'class="collapse submenu list-unstyled show"';
                            }else{
                                echo 'class="submenu list-unstyled collapse" ';
                            } ?> 
                         id="submenu1" data-parent="#accordionExample" style="">
                            <li <?php if (request()->is('admin/hoteles')) {
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('hoteles.index')); ?>">Todo los hoteles</a>
                            </li>
                            <li
                            <?php if (request()->is('admin/hoteles/reclamar')) {
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('hoteles.reclamar')); ?>">Por reclamar</a>
                            </li>
                            <li
                            <?php if (request()->is('admin/mis-hoteles')) {
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('hoteles.propios')); ?>">Mis hoteles</a>
                            </li>                                                       
                        </ul>
                    </li>
                    <?php endif; ?>

                    <li class="menu">
                        <a href="<?php echo e(route('disponibilidad.index')); ?>" aria-expanded="false"
                            <?php if (request()->is('admin/check-in')) {
                                echo ' data-active="true"';
                            } ?>                          
                         class="dropdown-toggle">
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
                                <span>Disponibilidad</span>
                            </div>
                        </a>
                    </li>
                    
                    <?php if(Auth::user()->rol_id == 1): ?>
                    <li class="menu">
                        <a href="<?php echo e(route('categorias.index')); ?>" aria-expanded="false" class="dropdown-toggle"
                        <?php if (request()->is('admin/categorias','admin/categorias/*')) {
                                echo 'data-active="true"';
                            } ?>  
                        >   
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path fill="currentColor"  d="M12 2l-5.5 9h11z"/><circle fill="currentColor"  cx="17.5" cy="17.5" r="4.5"/><path fill="currentColor"  d="M3 13.5h8v8H3z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
                                <span>Categorías</span>
                            </div>
                        </a>    
                    </li> 

                    <li class="menu">
                        <a href="<?php echo e(route('usuarios.index')); ?>" aria-expanded="false" class="dropdown-toggle"
                        <?php if (request()->is('admin/usuarios','admin/usuarios/*')) {
                                echo 'data-active="true"';
                            } ?>  
                        >   
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
                                <span>Usuarios</span>
                            </div>
                        </a>    
                    </li> 

                    <li class="menu">
                        <a href="<?php echo e(route('servicios.index')); ?>" aria-expanded="false" class="dropdown-toggle"
                        <?php if (request()->is('admin/servicios','admin/servicios/*')) {
                                echo 'data-active="true"';
                            } ?>  
                        >   
                            <div class="">
                                <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="concierge-bell" class="svg-inline--fa fa-concierge-bell fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M288 130.54V112h16c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h16v18.54C115.49 146.11 32 239.18 32 352h448c0-112.82-83.49-205.89-192-221.46zM496 384H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"></path></svg>
                                <span>Servicios</span>
                            </div>
                        </a>    
                    </li> 

                    <li class="menu">
                        <a href="#submenu3" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed"  
                        <?php if (request()->is('admin/equipamientos/*')){
                                echo 'class="dropdown-toggle" data-active="true" aria-expanded="true"';
                            }else { 
                                echo 'aria-expanded="false" class="dropdown-toggle collapsed"';} ?>                     
                        >   
                            <div class="">
                                <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cubes" class="svg-inline--fa fa-cubes fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"></path></svg>     
                                <span>Equipamiento</span>
                            </div>
                            <div>
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                            </div>
                        </a>
                        <ul  id="submenu3" data-parent="#accordionExample" style=""
                        <?php if (request()->is('admin/equipamientos/*')){
                                echo 'class="collapse submenu list-unstyled show"';
                            }else{
                                echo 'class="submenu list-unstyled collapse" ';
                            } ?>
                        >

                            <li <?php if (request()->is('admin/equipamientos/habitacion')){
                                echo "class='active'";
                            } ?> >
                                <a href="<?php echo e(route('equipos.habitacion.index')); ?>">Habitación</a>
                            </li>
                            <li <?php if (request()->is('admin/equipamientos/tocador')){
                                echo "class='active'";
                            } ?> >
                                <a href="<?php echo e(route('equipos.tocador.index')); ?>">Baño</a>
                            </li>                           
                        </ul>
                    </li>

                    <li class="menu">
                        <a href="#submenu4" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed"  
                        <?php if (request()->is('admin/aprobaciones/*')){
                                echo 'class="dropdown-toggle" data-active="true" aria-expanded="true"';
                            }else { 
                                echo 'aria-expanded="false" class="dropdown-toggle collapsed"';} ?>                     
                        >   
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg>
                                <span>Aprobaciones</span>
                            </div>
                            <div>
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                            </div>
                        </a>
                        <ul  id="submenu4" data-parent="#accordionExample" style=""
                        <?php if (request()->is('admin/aprobaciones/*')){
                                echo 'class="collapse submenu list-unstyled show"';
                            }else{
                                echo 'class="submenu list-unstyled collapse" ';
                            } ?>
                        >

                            <li>
                               <a href="<?php echo e(route('aprobaciones.guatehoteles')); ?>">GuateHoteles</a> 
                            </li>    

                            <li>
                                <a href="<?php echo e(route('aprobaciones.inguat')); ?>">INGUAT</a>
                            </li>

                        </ul>
                    </li>
                    <?php endif; ?>

                    <li class="menu">
                        <a href="#cuenta" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed"  
                        <?php if (request()->is('admin/cuenta/*')){
                                echo 'class="dropdown-toggle" data-active="true" aria-expanded="true"';
                            }else { 
                                echo 'aria-expanded="false" class="dropdown-toggle collapsed"';} ?>                     
                        >   
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
                                <span>Mi Cuenta</span>
                            </div>
                            <div>
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                            </div>
                        </a>
                        <ul  id="cuenta" data-parent="#accordionExample" style=""
                        <?php if (request()->is('admin/cuenta/*')){
                                echo 'class="collapse submenu list-unstyled show"';
                            }else{
                                echo 'class="submenu list-unstyled collapse" ';
                            } ?>
                            >
                             <li>
                                <a href="<?php echo e(route('cuenta.cuenta')); ?>">Datos personales</a>
                            </li> 
                            <li>
                                <a href="<?php echo e(route('cuenta.clave')); ?>">Cambiar contraseña</a>
                            </li>                          
                        </ul>
                    </li>       
                    
                    <?php if(Auth::user()->rol_id == 1): ?>
                    <li class="menu">
                        <a href="#submenu2" data-toggle="collapse" 
                          <?php if (request()->is('admin/contacto','admin/pagina/*','admin/preguntas','admin/preguntas/*','admin/general','admin/banner','admin/departamentos','admin/departamentos/*')) {
                                echo 'class="dropdown-toggle" data-active="true" aria-expanded="true"';
                            }else { 
                                echo 'aria-expanded="false" class="dropdown-toggle collapsed"';} ?>
                        >
                            <div class="">
                                 <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="cog" class="svg-inline--fa fa-cog fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"></path></svg>
                                <span>Configuraciones</span>
                            </div>
                            <div>
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                            </div>
                        </a>
                        <ul id="submenu2" data-parent="#accordionExample" style=""
                        <?php if (request()->is('admin/contacto','admin/pagina/*','admin/preguntas','admin/preguntas/*','admin/departamentos','admin/departamentos/*')){
                                echo 'class="collapse submenu list-unstyled show"';
                            }else{
                                echo 'class="submenu list-unstyled collapse" ';
                            } 
                        ?>

                            >

                            <li
                            <?php if (request()->is('admin/general')){
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('config.general')); ?>">General</a>
                            </li>

                            <li
                            <?php if (request()->is('admin/banner')){
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('config.banner')); ?>">Banner</a>
                            </li>

                            <li
                            <?php if (request()->is('admin/preguntas')){
                                echo "class='active'";
                            } ?>
                            >
                                <a href="<?php echo e(route('preguntas.index')); ?>">Preguntas frecuentes</a>
                            </li>

                            <li <?php if (request()->is('admin/pagina/1')){
                                echo "class='active'";
                            } ?>>
                                <a href="<?php echo e(route('paginas.index',1)); ?>">Quiénes somos</a>
                            </li> 
                            <li <?php if (request()->is('admin/pagina/2')){
                                echo "class='active'";
                            } ?>>
                                <a href="<?php echo e(route('paginas.index',2)); ?>">Terminos de uso</a>
                            </li> 
                            <li 
                            <?php if (request()->is('admin/contacto')){
                                echo "class='active'";
                            } ?>>
                                <a href="<?php echo e(route('contacto.index')); ?>">Contacto</a>
                            </li>      
                            <li 
                            <?php if (request()->is('admin/departamentos','admin/departamentos/*')){
                                echo "class='active'";
                            } ?>>
                                <a href="<?php echo e(route('departamentos.index')); ?>">Departamentos</a>
                            </li>                           
                        </ul>
                    </li>
                    <?php endif; ?>

                    <li class="menu">
                        <a href="" onclick="event.preventDefault();
                            document.getElementById('logout-form').submit();" aria-expanded="false" class="dropdown-toggle">
                            <div class="">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>
                                <span>Cerrar Sesión</span>
                            </div>
                        </a>
                    </li>
                </ul>
                <!-- <div class="shadow-bottom"></div> -->
                
                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                    <?php echo csrf_field(); ?>
                </form>
            </nav>

        </div>
        <!--  END SIDEBAR  --><?php /**PATH C:\xampp\htdocs\guatehoteles\resources\views/admin/layouts/sidebar.blade.php ENDPATH**/ ?>