
.anchor {
    position:absolute;
    transform:translateY(-30vh);
}

.scrollable-menu {
    height: auto;
    max-height:  90vh;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}


.main{
    margin-top:70px;
}
label.btn span {
    font-size: 1.5em ;
}

label input[type="radio"] ~ i.fa.fa-circle-o{
    color: #c8c8c8;    display: inline;
}
label input[type="radio"] ~ i.fa.fa-check-square-o{
    display: none;
}
label input[type="radio"]:checked ~ i.fa.fa-square-o{
    display: none;
}
label input[type="radio"]:checked ~ i.fa.fa-check-square-o{
    color: #7AA3CC;    display: inline;
}
label:hover input[type="radio"] ~ i.fa {
    color: #7AA3CC;
}

label input[type="checkbox"] ~ i.fa.fa-circle-o{
    color: #c8c8c8;    display: inline;
}
label input[type="checkbox"] ~ i.fa.fa-check-square-o{
    display: none;
}
label input[type="checkbox"]:checked ~ i.fa.fa-square-o{
    display: none;
}
label input[type="checkbox"]:checked ~ i.fa.fa-check-square-o{
    color: #7AA3CC;    display: inline;
}
label:hover input[type="checkbox"] ~ i.fa {
    color: #7AA3CC;
}


div[data-toggle="buttons"] label {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 11px;
    font-weight: normal;
    line-height: 2em;
    text-align: left;
    white-space: nowrap;
    vertical-align: top;
    cursor: pointer;
    background-color: none;
    border: 0px solid 
        #c8c8c8;
    border-radius: 3px;
    color: #636b6f;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

div[data-toggle="buttons"] label:hover {
    color: #7AA3CC;
}

div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active {
    -webkit-box-shadow: none;
    box-shadow: none;
}


.rizika-th{
    text-align:center; border-right:1px solid lightgray; word-wrap: break-word;   vertical-align: middle;
}
.rizika-td{
    border-right:1px solid lightgray;
    vertical-align: middle;word-wrap:break-word;
}

.material-switch > input[type="checkbox"] {
    display: none;   

}
.material-switch{
    margin-bottom:5px;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  

}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;

}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;

}

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none;
    color:#777;
    font-size:14px;
}
.tree ul {
    margin-left:1em;
    position:relative;

}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#777;
    font-weight:700;
    position:relative;
    white-space: nowrap;
    cursor:pointer;
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#777;
    font-size:14px;
    white-space: nowrap;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#777;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

.dropdown{
    margin-top:8px;float:left;
}

.dropdown-menu {
    width:auto;
}
.clt button{
    padding-top:0px;
    padding-bottom:0px;
    margin-top:10px;
    margin-bottom:10px;
}
.clt, .clt ul, .clt li {
    position: relative;

}

.clt ul {
    list-style: none;
    padding-left: 32px;

}
.clt li::before, .clt li::after {
    content: "";
    position: absolute;
    left: -12px;

}
.clt li::before {
    border-top: 1px solid #000;
    top: 20px;
    width: 8px;
    height: 0;

}
.clt li::after {
    border-left: 1px solid #000;
    height: 100%;
    width: 0px;
    top: -5px;
}
.clt ul > li:last-child::after {
    height: 25px;

}

