nav > #nav_header > a:hover {
    color: var(--text);
    text-decoration: none;
}
  
nav > #nav_header > a.tool {
    padding: var(--1unit);
    flex: 1;
    max-width: calc(var(--unit) * 20);
    width: calc(var(--unit) * 20);
    min-width: calc(var(--unit) * 20);
    overflow: hidden;
}
  
nav > #nav_header > a.tool:active > svg,
nav > #nav_header > a.tool:active > span {
    transform: scale(0.8);
}
 
nav > #nav_header > a.tool[data-show='0'] {
    display: none;
}
  
nav > #nav_header > a.tool:hover {
    background: var(--accent-t);
}
  
nav > #nav_header > a > svg {
    fill: none;
    flex: 2;
    margin: 0 auto;
    stroke: var(--text);
    
}

nav > #nav_header > a.tool > svg {
}

nav > #nav_header > a > span {
    color: var(--text);
    width: 100%;
    overflow: hidden;
    flex: 1;
    font-size: calc(2.2 * var(--1unit));
    text-align: center;
    white-space: nowrap;
}
  
  
nav > #nav_header > a.logo {
    flex: 7;
    display: flex;
    flex-direction: row;
}
  
nav > #nav_header .logoicon {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    align-items: end;
}

nav > #nav_header .logoicon:hover {
    background: var(--accent-t);
}


nav > #nav_header .logoicon > svg {
    flex: 1;
    width: calc(var(--unit) * 12);
    background: var(--accentother-t);
    padding: var(--min-unit);
    margin: var(--1unit) var(--1unit) var(--1unit) 0;
    stroke: none !important;
}
  
nav > #nav_header .logodescr {
    flex: 16;
    display: flex;
    flex-direction: column;
    margin: var(--1unit) 0;
    text-align: left;
    padding-top: var(--2unit);
}

nav > #nav_header .logodescr:hover {
    background: var(--accent-t);
}
  
nav > #nav_header .logotitle {
    flex: 1;
    font-size: var(--4unit);
    letter-spacing: calc(var(--unit) * 0.1);
    font-weight: 600;
    line-height: 1.2;
    color: var(--accent);
}
  
nav > #nav_header .logosubtitle {
    flex: 1;
    font-size: var(--3unit);
    line-height: 1.4;
    color: var(--accent);
}
  
#hot {
    display: none;
}

#hot.marked {
    display: flex;
}

#menubutton.withaside  {
    background: var(--accent-t);
}

a.tool.marked  {
    background: var(--accent-t);
}


#hottablo {
    display: none;
}

@media (orientation:portrait) { 
    #hottablo {
        display: none;
    }
    
    nav  {
        padding: var(--1unit) !important;
        padding-bottom: 0 !important;
        border-bottom: var(--1-5unit) solid var(--accent2) !important;
        outline: var(--half-unit) solid var(--accentother) !important;
    }
    nav > #nav_header .logoicon {
        align-items: start;
        padding-bottom: var(--half-unit);        
    }
    nav > #nav_header > a.tool > span {
	font-size: var(--1-5unit);
    	margin-top: var(--1unit);
    }

    nav > #nav_header > a.tool > svg {
        stroke-width: 1;
    }

    nav > #nav_header .logoicon > svg {
        width: calc(var(--unit) * 7);
    	margin: var(--half-unit);
    }
          
    nav > #nav_header .logodescr {
      display: none;
    } 

    nav > #nav_header > a.tool > svg {
        width: calc(var(--unit) * 4.5);
    }

    nav > #nav_header > a.tool {
        max-width: calc(var(--unit) * 12);
        width: calc(var(--unit) * 12);
        min-width: calc(var(--unit) * 12);
    }
    #menubutton,
    #menubutton.withaside  {
        background: none !important;
    }
          
}
  