:root{
	--fontSize: .9em;
	--fontStyle: 'Noto Sans';
  --rootBG: #ffffff;
  --contentBG: #fff;
	--contentFG: #14181F;
  --headerBG: var(--icrcDark);
  --headerFG: #fff;
  --maxWidth: 100%;
	--accentColor:var(--icrc);
	--accentColorAlpha:var(--accentLight);
	--accentDarkFG: #fff;
	--accentLight: #FAF7F3; /*sand background */
	--accentLightAlpha: #f2f2f2;
  --menuWidth: 300px;
  --menuBG: var(--accentLight);
  --menuFG: var(--contentFG);
  --blockWarning: #aa6009; /* warning strong*/
  --blockWarningLight: #FEF3E6; /* warning light */
  --blockAdvice: var(--icrc);
  --blockTip: var(--icrc);
  --blockExample: var(--icrc);
  --blockNote: #005BA4; /* note strong */
  --blockNoteLight: #F0F8FF; /* note light */
  --blockLegal: var(--icrc);
  --blockComplement: var(--icrc);
  --blockComplementLight: var(--accentLight);
  --footerBG: var(--icrcDark);
  --footerFG: #fff;

  /* themable */
  --icrcLight:#646D78;
  --icrc: #454D54;
  --icrcDark: #21262C;
}

#page::before{
  content:none;
}

p{
  margin-block:1em;
}

#stack a, .txt_url_ul, .txt_web_ul, .txt_coLnk_ul, .txt_resLnk_ul {
  color: #005BA4; /* link text */
}

/* HEADER */
#header{
  padding-bottom:0;
  height: 50px;
  gap:0;
}
#header h1 {
  padding-inline: 0 5em;
  font-weight: 600;
}
.nav_stuck_yes #header {
  top: 0;
}
#menu {
  position: static;
  order: -1;
  flex: 0 0 var(--menuWidth);
}
#menu ul {
  text-align: center;
  padding-left: 0;
}
#menu a {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  line-height: 50px;
  font-family:"fontello";
  font-size: 2.5em;
  padding:0;
}
.tplTools #menu li.mainSel_yes a,
.tplPage #menu li.outRoot a{
  border-bottom: none;
  color: var(--headerFG);
  background-color: var(--icrcLight);
}
.tplPage:not(.tplHome) #menu li.outRoot a {
  background-color: transparent;
}

.tplPage #menu li.outRoot a:hover, .tplTools #menu li.mainSel_yes a:hover{
  background-color: var(--icrcLight);
}

#menu .outRoot a::before{
  content:"\2302"
}
.tplTools #menu .outRoot a::before{
  content:"\E846";
}
#menu .outMap{
  display:none;
}
#menu .toolGloss a::before{
  content:"\E805"
}

#menu a span{
  position:absolute;
  left:-9999px;
}

.tplPage #header::after {
  content: "";
  background: #fff url(img/icrc/logo.png) no-repeat center center / auto 70px;
  width: 80px;
  position: absolute;
  right: 1em;
  height: 100px;
  box-shadow: 0 0 5px var(--icrcDark);
  top: 0;
}

/* STACK */
#stack {
  position: absolute;
  top: 52px;
  left: var(--menuWidth);
  right: 0;
  text-align: right;
  padding-right: 100px;
}

#stack span.sw_outStack_navRoot {
  padding: 5px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5em;
  background-color: var(--menuBG);
  border-radius: 5px;
}

#stack span.sw_outStack_navRoot:empty {
    display: none;
}

/* SEARCH */
div.searchFra {
  position: relative;
  order: -1;
  left: 0;
}
form.schForm {
  text-align: center;
}
input.searchText, input.schInput {
  border: 1px solid var(--icrc);
  border-radius: 0.5em;
  color: #111;
  text-transform: uppercase;
  margin-right: 1em;
}
input.searchSubmit, input.schBtnLaunch{
  position:static;
}
input.schInput::placeholder {
  color: #111;
  opacity: .7;
}

.schPropose {
  left: 36px;
  width: 169px;
  background-color: var(--contentBG);
  padding: 3px;
}

/* CONTENT */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

h3.part_ti {
  border-bottom: 2px solid var(--accentLight);
  padding-bottom: 0.5em;
}

.part {
  border-left: none;
  padding-left: 0;
}

#main main {
  margin-bottom: 65px;
}
#content {
  padding: 1em 10%;
}

a.condensed_btn_closed::before {
	content: "\E810";
}
a.condensed_btn_open::before {
	content: "\E80F";
}

/* BLOCKS */
.block {
  padding-inline-start: 3em;
  margin-block-start: 1.5em;
}
div.block:is(.advice, .tip, .example, .legal) {
  background-color: var(--blockComplementLight);
}

.block::before,
a.block_btn_closed::before, a.block_btn_open::before{
  line-height: 40px;
  height: 40px;
  width: 40px;
  top: -0.5rem;
  left: -0.5rem;
  font-size: 1.5rem;
}

i.blockType {
  font-style: normal;
}

li.step:not(.result):before {
  background-color: var(--icrc);
  color: var(--accentDarkFG);
  content: counter(li, decimal);
  text-align: center;
  border-radius: 50%;
  width: 18px;
}

.prereq_ti {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.prereq_ti::before {
  font-family: "fontello";
  content: "\E825";
  font-weight: normal;
  font-size: 1.5em;
}

.stepList.block::before {
  content: "\E82F";
  color: var(--icrc);
  top: 5px;
}

.concept.block::before{
	content: "\E81B";
  color: var(--icrc);
  top: 5px;
}

.screen.block::before{
	content: "\E832";
  color: var(--icrc);
  top: 5px;
}

.tree.block::before{
	content: "\E841";
  color: var(--icrc);
  top: 2rem;
}

.nodeType_imp {
  background-color: var(--blockWarningLight);
}

/* INLINE */
.txt_textTab_is, .txt_textButton_is, .txt_textRadioButton_is, .txt_textCheckBox_is, .txt_input_is, .txt_select_is, .txt_keyboard_is, .txt_menuPath_is, .txt_filePath_is, .txt_win_is {
  font-family: var(--fontStyle);
  border: 1px solid #D3D8DE;
  border-radius: 0.3em;
  background-color: var(--accentLightAlpha);
}

/* OUTLINE */
#outline {
  height: calc(100% - 115px) !important;
  top: 50px;
}
#outline ul.mnu_root {
  padding: 0 1em;
}
#outline li {
  margin: 0;
}
#outline .mnuLbl {
  border-top: 1px solid #D3D8DE;
  padding: 0.5em 1.5em;
}
#outline li > .mnu_sel_yes {
  background-color: transparent;
  color: #9C1F31; /* highligted text */
  border-right: none;
}
#outline .mnu_i {
   font-weight: 600;
}
#outline a.mnu_lnk:hover>span{
  text-decoration:none;
  opacity:.8;
}

.oneColumn #outline {
  top: 50px;
  background-color:var(--menuBG);
}

#outline a.mnu_tgle_o, #outline a.mnu_tgle_c {
  top: 0.35rem;
  font-size: 1.2rem;
  width: 20px;
  height: 20px;
}

/* FOOTER */
#footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
}
#footer nav{
  border-bottom:none;
  justify-content: center;
  background-color: var(--icrc);
  height: 40px;
}
#footer nav a{
  justify-content: center;
  background-color:var(--icrc);
  color:#fff;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
}
#footer a.navNext{
  justify-content: center;
}
#footer a.navNext::after{
  margin-left:0;
}
#footer a.navPrev::before{
  margin-right:0;
}
#footer nav a span {
  position: absolute;
  left: -9999px;
}

a.btnAbout {
  position: static;
  font-size: .9em;
  margin-left: 1em;
  line-height: 25px;
}
a.btnAbout::before{
  content:none;
}
a.btnAbout:hover {
  background-color: transparent;
  text-decoration: underline;
}
a.btnAbout span{
  position:static;
}

button.showMenu {
  position: fixed;
  right: 0;
  left: auto;
  top: auto;
  bottom: 25px;
  background-color: transparent;
  color: #fff;
}
button.showMenu::before{
  content:"\E80C"
}
.menuInactive button.showMenu::before{
  content:"\E80D"
}

button.showMenu:hover,
#footer nav a:hover{
  color: var(--headerFG);
  background-color: var(--icrcLight);
}

/* COMMENT */
.scCommentToolBar .activationCommentDiv {
  top: 9px;
  bottom: inherit;
  right: inherit;
  left: 15px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background: var(--accentLight);
}

::-webkit-scrollbar-thumb {
  background-color: var(--headerBG);
  border-radius: 5rem;
  border: 3px solid var(--accentLight);
}

/* RESPONSIVE */
@media (max-width:800px){
  #menu {
    flex: 0 0 auto;
	}
}