/* Wrapper */
#wrapper {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
    max-width: 1200px;
    min-height: 890px;
    margin: 0 auto;
}

/* Side menu */
#side-menu {
    border-right: none;
    margin-bottom: 200px;
    width: 300px;
    height: calc(100vh - 60px - 60px);
    overflow-y: hidden;
}

#side-menu:hover {
    overflow-y: auto;
}

#side-menu::-webkit-scrollbar {
    width: 6px;
}

#side-menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: white;
    background-color: #DDDEE0;
}

.side-menu-anchor {
    text-decoration: none !important;
}

.isActive {
    color: var(--primary-color) !important;
}

.is-opened > .el-submenu__title {
    color: var(--primary-color) !important;
}

/* Main */
#main {
    padding-left: 45px;
    padding-bottom: 60px;
}

/* Documentation end */
#doc-end {
    display: inline-block;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.doc-end-anchor {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
}

#doc-end-anchor-previous::before {
    content: '← '
}

#doc-end-anchor-next::after {
    content: ' →';
}

#doc-end-footer {
    font-size: 0.9em;
    line-height: 1.9em;
    color: #5e6d82;
}

/* Headings */
.doc-heading-2 {
    font-size: 2em;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 0;
}

.doc-heading-3 {
    position: relative;
    font-size: 1.5em;
    font-weight: 400;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 40px;
}

.doc-heading-3::before {
    content: '';
    position: absolute;
    background-color: #ddd;
    width: 100%;
    height: 1px;
    bottom: -20px;
}

.doc-heading-4 {
    color: #2c3e50;
    font-weight: 600;
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

.doc-heading-4::before {
    content: "#";
    color: var(--primary-color);
    padding-right: 0.5em;
    font-size: 1.2em;
    line-height: 1;
    font-weight: bold;
}

/* Paragraphs */
.doc-paragraph {
    font-size: 16px;
    line-height: 1.9em;
    color: #5e6d82;
    margin-top: 18px;
    margin-bottom: 18px;
    text-align: justify;
}

/* Documentation tabs */
.doc-tabs {
    width: 100%;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.doc-tabs .el-tabs__nav-wrap::after {
    height: 1px !important;
    background-color: #ddd;
}

/* Documentation tables */
.doc-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.doc-table th {
    border-bottom: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
    color: #666;
    font-weight: 400;
    padding: 15px;
    background-color: white;
}

.doc-table tr {
    border-bottom: 1px solid #EFEFEF;
}

.doc-table tr:hover {
    background-color: #F9FAFC;
}

.doc-table tr:last-of-type {
    border-bottom: none;
}

.doc-table td {
    padding: 15px;
    color: #333;
    font-size: 14px;
    line-height: 1.7em;
}

.doc-table-code {
    background-color: #f9fafc;
    font-family: "Roboto Mono", Monaco, courier, monospace;
    font-size: 0.8em;
    padding: 3px 5px;
    margin: 0 2px;
    border: 1px solid #eaeefb;
    border-radius: 2px;
    white-space: nowrap;
    color: #333;
}

.doc-gallery-video {
    border: 1px solid #ddd;
}

.doc-gallery-img {
    border: 1px solid #ddd;
}

.doc-fullview-video {
    max-width: 835px;
    height: 100%;
    border: 1px solid #ddd;
}

/* Alert boxes */
.alert {
    background-color: #f8f8f8;
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 18px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.75em;
    position: relative;
    color: #5e6d82;
}

.alert::before {
    position: absolute;
    top: 14px;
    left: -12px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    text-align: center;
    line-height: 20px;
    font-weight: normal;
    font-size: 14px;
    color: #fff;
}

.alert-danger {
    border-left: 4px solid #f66;
}

.alert-danger::before {
    background-color: #f66;
    content: 'X';
}

.alert-info {
    border-left: 4px solid var(--primary-color);
}

.alert-info::before {
    background-color: var(--primary-color);
    content: 'i';
}

.alert-warning {
    border-left: 4px solid #FFAA2C;
}

.alert-warning::before {
    background-color: #FFAA2C;
    content: '!';
}

/* Hyperlinks */
.doc-link {
    text-decoration: none;
    color: var(--primary-color);
}

/* Codes */
.doc-code {
    color: #e96900;
    background-color: #f8f8f8;
    font-family: "Roboto Mono", Monaco, courier, monospace;
    font-size: 0.8em;
    padding: 3px 5px;
    margin: 0 2px;
    border-radius: 2px;
    white-space: nowrap;
}

.doc-code-nobg {
    color: #e96900;
    font-family: "Roboto Mono", Monaco, courier, monospace;
    font-size: 0.8em;
    margin: 0 2px;
    white-space: nowrap;
}

.doc-note {
    color: #A3A3A3;
}

.doc-tooltip {
    text-decoration: underline;
    text-decoration-color: #42b983;
    cursor: pointer;
}

/* Gallery */
.doc-gallery {
    padding-top: 18px;
    padding-bottom: 5px;
}

.doc-gallery img {
    max-width: 100%;
    max-height: 100%;
}

.doc-gallery-heading {
    margin-bottom: 0;
    color: #202124;
}

.doc-gallery-paragraph {
    margin-top: 8px;
    color: #5e6d82;
}

.doc-table-horizontal th:first-of-type {
    padding-right: 20px;
    text-align: left;
    font-weight: normal;
}

/* Search form */
#doc-search-form {
    opacity: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Quick links */
.quick-access-block {
    padding: 20px;
    margin: 10px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    height: 230px;
    transition: all 0.3s ease;
	animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
	opacity: 0;
}

.quick-access-block:hover {
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.quick-link-icon {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    color: var(--primary-color);
}

.quick-link-heading {
    text-align: center;
}

.quick-link-paragraph {
    color: #a0a5b0;
    text-align: center;
}

.quick-access-block-anchor {
    text-decoration: none;
    color: black;
}

/* Tablets */
@media screen and (max-width:1200px) and (min-width:767px) {
    #wrapper {
        padding-right: 25px;
        padding-left: 25px;
    }
}

/* Mobile-phones */
@media screen and (max-width:767px) {
    /* Wrapper */
    #wrapper {
        flex-direction: column !important;
        -webkit-flex-direction: column !important;
    }

    /* Side menu */
    #side-menu-wrapper {
        width: 100% !important;
    }

    #side-menu {
        margin: 0;
        width: 100% !important;
        height: auto;
    }

    /* Main */
    #main {
        margin: 0;
        padding: 0;
        padding-left: 25px;
        padding-right: 25px;
    }

    /* other */
    #doc-end-footer {
        text-align: center;
    }

    .doc-heading-2 {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        margin-top: 25px;
    }

    .el-breadcrumb {
        margin: 0 auto !important;
    }

    .doc-gallery-video {
        width: 100%;
        margin-bottom: 25px;
    }
}
