@font-face {
    font-family: 'semnix';
    src: url('../fonts/semnix.eot?96970062');
    src: url('../fonts/semnix.eot?96970062#iefix') format('embedded-opentype'), url('../fonts/semnix.woff?96970062') format('woff'), url('../fonts/semnix.ttf?96970062') format('truetype'), url('../fonts/semnix.svg?96970062#semnix') format('svg');
    font-weight: normal;
    font-style: normal;
}

#lok-toc-wrapper {
    margin: 15px 0;
    box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
    background: #222;
}

#lok-toc-container {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    background: #222;
    z-index: 1;
}

#lok-toc-container header {
    background: #111;
    cursor: pointer;
}

#lok-toc-contents ul {
    margin: 0;
}

#lok-toc-contents>ul#lok-toc-list {
    padding: 10px 0;
    background: #222;
}

#lok-toc-list li {
    margin: 0;
    list-style: none;
}

#lok-toc-list>li>a {
    font-weight: bold;
}

#lok-toc-list>li a {
    display: block;
    padding: 5px 15px;
    color: #aeaeae;
    font-size: 14px;
}

#lok-toc-list .lok-toc-active {
    color: #fff;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

#lok-toc-list li a:after {
    content: '';
    width: 0px;
    background: crimson;
    transition: width .5s;
    -webkit-transition: width .5s;
    left: 0;
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
}

#lok-toc-list .lok-toc-active:after {
    background: #2098d1;
    color: #fff;
    width: 100%;
    height: 100%;
}

#lok-toc-list li a:hover {
    color: crimson;
    transition: all .5s;
}

#lok-toc-list li a.lok-toc-active:hover {
    color: #fff;
}

#lok-toc-list .sub-lok-toc-list>li>a {
    padding-left: 30px;
}

#lok-toc-list .sub-toc-list-child>li>a {
    padding-left: 55px;
}

#lok-toc-header-icon-button {
    float: right;
    color: crimson;
}

.lok-toc-header-title {
    float: left;
    width: calc(100% - 110px);
    margin: 0;
    line-height: 45px;
    color: #fff;
    font-weight: normal;
    text-transform: uppercase;
    margin-left: 10px
}

.lok-toc-header-none {
    display: none;
}

#lok-toc-list {
    counter-reset: list-counter;
}

#lok-toc-list .sub-lok-toc-list {
    counter-reset: sub-list-counter;
}

#lok-toc-list .sub-toc-list-child {
    counter-reset: sub-list-counter-h4;
}

#lok-toc-list li a:before {
    counter-increment: list-counter;
    content: counter(list-counter) ". ";
    float: left;
    display: block;
    margin-right: 5px;
}

#lok-toc-list li a span {
    overflow: hidden;
    display: block;
}

#lok-toc-list .sub-lok-toc-list>li>a:before {
    counter-increment: sub-list-counter;
    content: counter(list-counter) "."counter(sub-list-counter) ". ";
}

#lok-toc-list .sub-toc-list-child>li>a:before {
    counter-increment: sub-list-counter-h4;
    content: counter(list-counter) "."counter(sub-list-counter) "."counter(sub-list-counter-h4) ". ";
}

#lok-toc-header-icon-menu,
#lok-toc-header-icon-button {
    padding: 0px 10px;
    font-size: 28px;
    color: #fff;
    line-height: 45px;
}

#lok-toc-header-icon-menu {
    display: block;
    float: left;
    background: crimson;
}

#lok-toc-header-icon-button {
    float: right;
}

.saioicons {
    font-family: 'semnix';
}

.semnix-list:before {
    content: "\f0cb";
}

.semnix-remove:before {
    content: "\e802";
}

.semnix-open:before {
    content: "\e809";
}

.semnix-down:before {
    content: '\e808'
}

.vietux-toc-button {
    display: none;
}


/* MOBILE */

.lok-toc-header-block {
    display: block;
}

.lok-toc-header-hide {
    display: none;
}

.lok-toc-fixed {
    position: fixed;
    top: 30%;
    animation-name: semnix-toc;
    animation-duration: .5s;
    z-index: 999 !important;
    max-width: 400px;
}

#lok-toc-list li {
    position: relative;
}

.span-arrow-open {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    color: crimson;
    width: 25px;
    height: 25px;
}

#vietux-trigger {
    background: crimson;
    padding: 5px 10px;
    border-radius: 5px;
}

#vietux-trigger span {
    color: #fff;
    font-size: 2em;
}

@keyframes semnix-toc {
    0% {
        transform: scale(0)
    }
    /* 50% { transform: scale(0.5)} */
    100% {
        transform: scale(1)
    }
}


/* Rating */

.semnix-star-empty:before {
    content: "\e801"
}

.semnix-star-half:before {
    content: "\f123"
}

.semnix-star-filled:before {
    content: "\e800"
}

#semnix-rating-wrapper {
    text-align: center;
    position: relative;
    line-height: 20px;
    z-index: 999;
}

#semnix-result {
    text-align: center;
}

.s-rating {
    cursor: pointer;
    font-size: 35px;
    padding: 0px 3px;
}

.semnix-star-empty,
.semnix-star-filled {
    color: #F8DD3C;
}