/* jp */

#TOC li>ul {
    display: none;
    overflow: hidden;
    background-color: rgba(40, 43, 66, 0.05);
}
.toggleList {
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.15);
    color: white;
    cursor: pointer;
    height: 20px;
    width: 20px;
    padding: 2px;
    margin-right: .5em;
    font-weight: bold;
}
.toggleList:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
.butSearch {
    outline: none;
    border: none;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    font-size: 120%;
    height: 1.8em;
    width: 1.8em;
    font-weight: bold;
}
.butSearch:hover {
    box-shadow: 0px 0px 8px -4px white;
}
.query-box {
    padding-right: 10px;
    display: none;
}
.query-box input {
    border-radius: 4px;
    outline: none;
    border: none;
    padding: 5px;
}
.query-box button {
    border-radius: 4px;
    outline: none;
    border: none;
    background-color: white;
    height: 1.8em;
    width: 1.8em;
}
.sr-only {
    /*from https://webaim.org/techniques/css/invisiblecontent/*/
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/*jp*/

html {
    scroll-behavior: auto !important;
}
body {
    margin: 0;
    font-family: 'Source Sans Pro',sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.285rem;
    color: #222;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    padding-top:50px;
}
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    height: 60px;
    width:100%;
    display: flex;
    flex-wrap: nowrap;
    align-items:center;
/* background-color: #8f3576; */
    background-color: #004461;
    padding: 0 15px;
    color:#fff;
}
a.home-link {
    align-self:start;
}
header h1 {
/*    line-height:1rem; */
    line-height:60px;
    font-weight:400;
    font-size:24px;
    margin-right: auto;
    margin-left: auto;
}
header h1 img {
    position:relative;
    height:40px;
    width:auto;
    top:10px;
    margin-right:9px;
}
header a {
    color: #fff;
}
a:hover {
    text-decoration: underline;
}
body {
    float: right;
    width: 74.5%;
    padding-left: 1rem;
    padding-bottom: 1rem;
}
h1,h2,h3,h4,h5 {
    font-weight: 700;
    font-family: 'Source Sans Pro',sans-serif;
}
.naslovnica {
    height: 300px;
    width:auto;
}
/* Kazalo */
#TOC {
    float: left;
    position: fixed;
    left: 0;
    top: 60px;
    width: 24%;
	height: calc(100vh - 60px);
    overflow-y:scroll;
    padding: 0 15px;
    background-color: #f2f0ee;
}
h1[id]::before, h2[id]::before, h3[id]::before, a[name]::before {
    content: '';
    display: block;
    height: 75px;
    margin-top: -75px;
    visibility: hidden;
}
#TOC ul li {
    font-weight: 700;
    font-size: 1.05rem;
}
#TOC ul li ul li {
    font-size: 0.975rem;
}
#TOC ul li ul li ul li {
    font-size: 0.9rem;
}

.warnbox > p:first-of-type:before {
    margin-left:-2.5em;
    padding-right:2.3em;
}
.hintbox > p:first-of-type:before {
    margin-left:-2.5em;
    padding-right:2.3em;
}
.infobox > p:first-of-type:before {
    margin-left:-2.5em;
    padding-right:2.3em;
}
.videobox > p:first-of-type:before {
    margin-left:-2.5em;
    padding-right:2.3em;
}