:root {
    --sidebar-width: 340px;
}

.navbar {
    top: 0px !important;
    background-color: #fff !important;
    box-shadow:0 1px 4px 0 rgba(0,0,0,0.1) !important;
}


/*  */

section.documentation {
    margin-top: calc(var(--navbar-height));
    padding: 80px 15px !important;
    background-image: url('../images/doc-bg.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
}

section.documentation h1 {
    color: #000 !important;
    line-height: 3.7rem;
}

section.documentation .hint {
    background-image: url('../images/doc-hint.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4px 20px;
    font-size: 15px;
}

section.documentation .search span{
    top: calc(50% - 10px);
    left: 20px;
    font-size: 23px;
    font-weight: bold;
}

section.documentation .search input {
    color: #707177;
    font-size: 16px;
    font-weight: bold;
    background-color: #f8fafc;
    border-color: #cec4c423;
}

section .doc {
    background-color: #f8fafc;
}

section .doc .icon {
    background-color: #ebedef;
    border: 1px solid #eaeaea;
    width: 42px;
    height: 42px;
}

section .doc .btn {
    color: #616161 !important;
}

section.ads-block {
    background-color: #f9fbfd;
    background-image: url('../images/doc-bg.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 380px;
    border-color: #eaeaea;
}

.bg-stars {
    z-index: 1;
    background-size: cover;
    width: 100%;
    height: 100%;
    animation: animteBg 100s 
linear infinite;
    position: absolute;
    top:0;
    left: 0;
}

.star-dark:first-child {
    top: 0;
    right: 0;
    left: auto;
    animation-duration: 3.5s;
    animation-delay: .5s;
}
.star-dark:nth-child(2) {
    top: 0;
    right: 200px;
    left: auto;
    animation-duration: 5.5s;
    animation-delay: .7s;
}
.star-dark:nth-child(3) {
    top: -20px;
    right: 320px;
    left: auto;
    animation-duration: 7.75s;
    animation-delay: 5.25s;
}
.star-dark:nth-child(4) {
    top: 0;
    right: -220px;
    left: auto;
    animation-duration: 1.6s;
    animation-delay: 2.1s;
}
.star-dark:before, .star:before {
    content: "";
    width: 300px;
    height: 1px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.star-dark {
    background: #000;
    box-shadow: 0 0 0 4px #0000001a, 0 0 0 8px #0000001a, 0 0 20px #0000001a;
}

.star-dark:before {
    background: linear-gradient(90deg, #000, #0000);
}

.star, .star-dark {
    border-radius: 50%;
    width: 4px;
    height: 4px;
    animation: starAnimation 3s 
linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
}

.star-dark {
    transform: rotate(180deg);
}


@keyframes starAnimation {
    0% {
        opacity: 1;
        transform: rotate(315deg) translate(0);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(315deg) translate(-1000px);
    }
}

@keyframes animteBg {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.doc-search-modal {
    top: 0;
    right:0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(2px);
    -moz-backdrop-filter: blur(2px);
    -o-backdrop-filter: blur(2px);
    -ms-backdrop-filter: blur(2px);
    transition: all .2s ease-in-out;
    cursor: pointer;
}
.doc-search-modal.show {
    opacity: 1;
    visibility: visible;
}
.doc-search-modal .panel {
    margin-top: 100px;
    overflow-y: scroll;
}
.doc-search-modal .panel .search span.search-icon {
    top: calc(50% - 8px);
    right: 18px;
}
.doc-search-modal .panel .search .close-icon {
    top: calc(50% - 13px);
    left: 18px;
    width: 28px;
    height: 28px;
    font-size: 20px;
    background-color: #eee !important;
}
.doc-search-modal .panel .search input {
    border-bottom: 1px solid #eee !important;
    box-shadow: none !important;
    font-size: 15px !important;
    padding-right: 40px !important;
}
@media (min-width: 991px) {
    .doc-search-modal .panel {
        max-width: 600px !important;
        margin-top: 130px !important;
    }
}
.doc-search-modal .panel li.result a {
    background-color: #f1f1f1;
    transition: all .2s ease-in-out;
}
.doc-search-modal .panel li.result.active a, .doc-search-modal .panel li.result a:hover {
    background: #f4fcf6;
    color: #28b76b;
}
.doc-search-modal .panel li.result .icon {
    width: 35px;
    height: 35px;
    border-color: inherit !important;
}

/*  */

.doc-sidebar {
    height: calc(100vh - var(--navbar-height));
    position: fixed;
    overflow: scroll;
    z-index: 9999;
    top: var(--navbar-height) !important;
    z-index: 9999999 !important;
	transition:all .3s ease-in-out !important;
    background-color:  #fff !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) #f5f5f5;
    scrollbar-width: thin;
    transition: transform 0.35s ease-in-out;
    box-shadow:1px 0 5px 0 rgba(0,0,0,0.1) !important;
    position: -webkit-sticky;
	width: var(--sidebar-width);
}


.customer-sidebar li{
    font-size: 15px;
}

.customer-sidebar .closeSidebar{
    display: none;
    padding: 8px 8px;
    background-color: #e4f4fbc2;
    color: #29abe0;
    position: absolute;
    top: 18px;
    left: 20px;
    cursor: pointer;
}

@media(min-width:901px) {
  .doc-content {
	width: calc(100% - var(--sidebar-width));
    margin-right: var(--sidebar-width);
  }
}

@media(max-width:991px){
  	.doc-content {
        width: calc(100% - var(--sidebar-width));
        margin-right: var(--sidebar-width);
    }
    .customer-navbar-bars{
        display: inline-block !important;
    }
    .sidebar-container{
        height: auto !important;
    }
    .customer-sidebar .closeSidebar{
        display: block;
    }
    .customer-sidebar{
        position: fixed;
        right: -100%;
        margin: 0;
        height: 100vh !important;
        width: 300px;
        background-color: #fff;
        box-shadow: -2px 0 20px #1b1b1b1a;
          padding-bottom: 110px !important;
    }
  
    .customer-sidebar .navbar-nav {
        margin-top: 50px;
    }
    .customer-content{
        padding:15px 10px !important;
    }
    .doc-content {
      width: 100% !important;
      margin-right: 0 !important;
  	}
}

.doc-sidebar.active {
		right: 0 !important;
      }

#overlayDoc {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 700;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -moz-backdrop-filter: blur(3px);
    -o-backdrop-filter: blur(3px);
    -ms-backdrop-filter: blur(3px);
    transition: all .2s ease-in-out;
    cursor: pointer;
  visibility: hidden;
}

.overlay-toggled {
    opacity: 1 !important;
	visibility: visible !important;
}

@media(max-width:350px){
    .customer-sidebar{
        width: 100%;
        right: -100%;
    }
}

.doc-sidebar .nav-link {
    gap: 12px;
}

.doc-sidebar .nav-link .icon {
    display: inline-block;
    background: #f4fcf6;
    color: #28b76b;
    width: 32px;
    height: 32px;
    padding-top: 4px;
    font-size: 1rem;
    text-align: center;
    border-radius: 50%;
}

.doc-sidebar .nav-item.active .nav-link .theme-icon-holder {
    color: #fff;
    background: #28b76b;
}

.doc-sidebar .nav-link.active .icon {
    color: #fff;
    background: #28b76b;
}

.doc-sidebar .nav-item.active .nav-link {
    color: #28b76b;
}

.doc-sidebar .nav-link .theme-icon-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4fcf6;
    color: #28b76b;
    width: 32px;
    height: 32px;
    min-width:32px;
    min-height:32px;
    font-size: 1rem;
}

.doc-sidebar .sub-list li{
    padding: 0.5rem 1rem;
    color: #5d6778;
}

.doc-sidebar .sub-list li::after {
    content: ' ';
	top: 0;
    background-color: #eef7f0;
    display: inline-block;
    height: inherit;
    right: 0;
    position: absolute;
    width: 3px;
    height: 100%;
    border-radius: 1.5rem;
}

.doc-sidebar .sub-list li.active::after {
    background-color: #28b76b !important;
}

.doc-sidebar .sub-list li.active a {
    color: #28b76b !important;
}

.leason-video {
    max-width: 100%;
    width:100%;
    height: 600px;
    max-height: 400px;
}

.leason-go-to-exam {
    border-right: 4px solid #5cb377;
    background-color: #e7f4eb;
    color: #29b76b;
}

.leason-go-to-exam .btn {
    background-color: #29b76b;
    color: #fff;
    padding: 12px 25px;
}

@media (max-width: 991px) {
    section.documentation h1 {
        width: 100% !important;
        font-size: 28px !important;
    }
    section.documentation .search input {
        padding: 20px !important;
    }
}

@media (max-width: 691px) {
    section.documentation {
        min-height: 50%;
    }
    section.documentation h1 {
        font-size: 22px !important;
    }
    section.documentation p {
        font-size: 15px !important;
        display: none;
    }
    section.documentation .search button{
        width: 100% !important;
    }
    section.ads-block {
        min-height: auto !important;
        gap: 10px !important;
        justify-content: flex-start;
    }
    section.ads-block h6 {
        font-size: 20px !important;
    }
}

.doc-content .watermark {
      	opacity: 0.1;
        z-index:-1;
        top:calc(50% - 175px);
        left:calc(50% - 240px);
      }
      @media(max-width:991px) {
        .doc-content .watermark {
        	left: calc(50% - 175px) !important;
        }
      }