<?php
/**
 * ------------------------------------------------------------------------
 * Uber Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2018 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
 */


defined('_JEXEC') or die;

$bodyClass = '';
if ($this->countModules('masthead')) : 
  $bodyClass = ' has-masthead';
endif; 
?>

<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"
	  class='<jdoc:include type="pageclass" />'>

<head>
	<jdoc:include type="head" />
	<?php $this->loadBlock('head') ?>
  <?php $this->addCss('layouts/bookstore') ?>
</head>

<body class="default-bookstore <?php echo $bodyClass; ?>">

<div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

  <?php $this->loadBlock('header') ?>

  <?php $this->loadBlock('masthead') ?>

  <?php $this->loadBlock('submenu') ?>

  <?php $this->loadBlock('mainbody') ?>

  <?php $this->loadBlock('spotlight-1') ?>
	
	<?php $this->loadBlock('full-width') ?>

  <?php $this->loadBlock('footer') ?>

</div>

</body>

</html>

<script>
(function($) {
  $(document).ready(function() {
      $(".uber-footer .total_products").click(function(e){
        $(".vmCartList").removeClass('hide').addClass('show');
        $("#page-mask").removeClass('hide').addClass('show');
      });

      $("#hideCart").click(function(e) {
        $(".vmCartList").removeClass('show').addClass('hide');
        $("#page-mask").removeClass('show').addClass('hide');
      });

      $("#page-mask").click(function(e) {
        $(".vmCartList").removeClass('show').addClass('hide');
        $("#page-mask").removeClass('show').addClass('hide');
      });
  });

})(jQuery);
</script>