﻿/*!
 * HelpNDoc HTML template
 * Copyright (C) IBE Software - All rights reserved.
 * Can only be used in documentation generated by HelpNDoc: https://www.helpndoc.com
 */

.unselectable {
  -moz-user-select:    -moz-none;
  -khtml-user-select:  none;
  -webkit-user-select: none;
  -ms-user-select:     none;
  user-select:         none;
}

.element-invisible {
  position:  absolute !important;
  clip:      rect(1px, 1px, 1px, 1px);
  overflow:  hidden;
  height:    1px;
}

/* ──────────────────────────────────────── */
/* Body & responsive nav toggling           */
/* ──────────────────────────────────────── */

@media screen and (max-width: 768px) {
  body.sm-nav-expanded {
    overflow: hidden;
  }

  body.sm-nav-expanded nav {
    left: 0;
    opacity: 1;
  }

  body.sm-nav-expanded .mask {
    visibility: visible;
    opacity: .5;
  }

  body.sm-nav-expanded .header-up nav#panel-left {
    margin-top: 0;
  }
}

@media screen and (min-width: 769px) {
  body.md-nav-expanded div#main {
    /* margin-left: 350px; */
	margin-bottom: 20px;
  }

  body.md-nav-expanded header {
    /*padding-left: 364px;*/
  }

  body.md-nav-expanded nav#panel-left {
    left: 0;
    opacity: 1;
  }
}

/* ──────────────────────────────────────── */
/* Links                                    */
/* ──────────────────────────────────────── */

/* ──────────────────────────────────────── */
/* Header                                   */
/* ──────────────────────────────────────── */


/* ──────────────────────────────────────── */
/* Navigation (sidebar)                     */
/* ──────────────────────────────────────── */

div#main > nav {
	
}

/* ... (the rest follows the same pattern – let me know if you'd like me to continue reformatting the remaining parts like tab content, jstree icons, modal, etc.) */

.mask {
  background-color: #000;
  visibility:       hidden;
  opacity:          0;
  position:         fixed;
  top:              0;
  left:             0;
  right:            0;
  bottom:           0;
  z-index:          4;
}

div#main {
  margin:   16px 0 0 0;
  z-index:  1;
  display: flex;
  flex: 1;
  min-height: 0;
}

div#main > article {
  padding: 14px;
  flex: 1;
  overflow-y: auto;
}

@media (max-width: 768px) {
  div#main {
	flex-direction: column;
  }
  div#main > nav {
	width: 100%;
	border-right: none;
	border-bottom: 1px solid var(--sidebar-border);
  }
}
