/*
 * Template Name: PrettyDocs - Bootstrap 4 Template for documentations
 * Version: 2.0
 * Author: Xiaoying Riley
 * Copyright: 3rd Wave Media
 * Twitter: @3rdwave_themes
 * License: Creative Commons Attribution 3.0 License
 * Website: http://themes.3rdwavemedia.com/
*/


/* ======= Base ======= */

:root {
    --global-font-family: 'Poppins', sans-serif;
    --highlight-font-family: 'Heebo', sans-serif;
    --global-body-bgcolor: #ffffff;
    --global-body-light: #F7F8F9;
    --global-font-color: #64768D;
    --global-font-title: #02020A;
    --doc-primary-color: #76BAAF;
    --doc-secondary-color: #FE9435;
    --doc-box-color: #f7f8f9;
    --doc-white-color: #02020A;
    --doc-black-color: #000000;
    --color-input-border: #6e777e;
    --global-font-size: 1rem;
    --font-line-height-body: 1.75;
    --font-weight-body: 500;
    --font-letter-spacing-body: 0.04rem;
    --global-box-shadow: 0px 10px 60px 0px rgb(0 0 0 / 5%);
}

body {
    background: var(--global-body-bgcolor);
    color: var(--global-font-color);
    font-family: var(--global-font-family);
    font-size: var(--global-font-size);
    line-height: var(--font-line-height-body);
    letter-spacing: var(--font-letter-spacing-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--highlight-font-family);
    font-stretch: condensed;
    clear: both;
    word-break: break-word;
    text-transform: capitalize;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

.page-wrapper {
    min-height: 100%;
}

p {
    line-height: 1.5;
    word-break: break-all;
}

a {
    color: var(--doc-secondary-color);
    word-break: break-all;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

a:hover {
    text-decoration: underline;
    color: var(--doc-primary-color);
}

a:focus {
    text-decoration: none;
}

code {
    background: #222;
    color: var(--doc-white-color);
    font-size: 14px;
    font-weight: bold;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    padding: 2px 8px;
    padding-top: 4px;
    display: inline-block;
}

.btn,
a.btn {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}


/* scroll  */

.scrollbar-thumb,
.scrollbar-track-y {
    width: 4px !important;
}

.scrollbar-thumb {
    background: var(--doc-primary-color) !important;
}

::-webkit-scrollbar-thumb {
    background: var(--doc-primary-color) !important;
}


/* width */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}


/* Track */

::-webkit-scrollbar-track {
    background: var(--global-font-color);
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: var(--doc-primary-color);
}

.btn .svg-inline--fa,
a.btn .svg-inline--fa {
    margin-right: 5px;
    position: relative;
    top: -1px;
}

.form-control {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    height: 40px;
    border-color: #f0f0f0;
}

.form-control::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #afb3bb;
}

.form-control:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #afb3bb;
}

.form-control::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #afb3bb;
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #afb3bb;
}

.form-control:focus {
    border-color: #e3e3e3;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
input[type="button"],
textarea,
select {
    appearance: none;
    /* for mobile safari */
    -webkit-appearance: none;
}


/* ====== Header ====== */

.header {
    background: var(--global-body-bgcolor);
    color: rgba(255, 255, 255, 0.85);
    padding: 15px 30px;
    position: fixed;
    z-index: 9;
    box-shadow: var( --global-box-shadow);
    left: 0;
    right: 0;
}

.header a {
    color: var(--doc-white-color);
}

.header .container {
    position: relative;
}

.branding {
    text-transform: uppercase;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

header .menu-toggle {
    margin-right: 20px;
    font-size: 30px;
    cursor: pointer;
    display: none;
}

header .menu-toggle svg path {
    fill: var(--global-font-title);
}


.branding .logo {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
}

.branding .logo a {
    text-decoration: none;
}

.branding .text-highlight {
    color: var(--doc-primary-color);
}

.text-highlight {
    color: var(--doc-primary-color);
}

.branding .text-bold {
    font-weight: 800;
    color: var(--doc-secondary-color);
    display: inline-block;
    vertical-align: bottom;
    font-size: 20px;
}

.branding .icon {
    font-size: 24px;
    color: var(--doc-primary-color);
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    justify-content: flex-end;
    margin-left: auto;
}

.breadcrumb li {
    color: var(--doc-primary-color);
}

.breadcrumb li.active {
    color: var(--global-font-color);
}

.breadcrumb li a {
    color: var(--doc-primary-color);
}

.breadcrumb li a:hover {
    color: var(--doc-primary-color);
}

.breadcrumb>li+li:before {
    color: var(--doc-primary-color);
}

.search-form {
    position: relative;
}

.search-form .search-input {
    font-size: 14px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding-top: 4px;
}

.search-form .search-input:focus {
    border-color: #616670;
}

.search-form .search-btn {
    color: #797f8b;
    background: none;
    border: none;
    position: absolute;
    right: 5px;
    top: 0px;
    margin-right: 0;
}

.search-form .search-btn:active,
.search-form .search-btn:focus,
.search-form .search-btn:hover {
    outline: none !important;
    color: #31343a;
}

.top-search-box {
    position: absolute;
    right: 15px;
    top: 15px;
}


/* ====== Footer ====== */

.footer {
    background: #26282c;
    color: rgba(255, 255, 255, 0.6);
    padding: 15px 0;
}

.footer a {
    color: var(--doc-primary-color);
}

.footer .fa-heart {
    color: #EA5395;
}

@media (max-width: 575.98px) {
    .top-search-box {
        width: 100%;
        position: static;
        margin-top: 15px;
    }
}


/* ======= Doc Styling ======= */

.doc-wrapper {
    background: var( --global-body-bgcolor);
}

.doc-content {
    padding: 45px 30px 45px 380px;
}

.doc-body {
    position: relative;
}

.doc-header {
    margin-bottom: 30px;
}

.doc-header .doc-title {
    color: var(--doc-primary-color);
    margin-top: 0;
    font-size: 36px;
}

.doc-header .icon {
    font-size: 30px;
}

.doc-header .meta {
    color: #a2a6af;
}

.doc-section {
    padding-top: 60px;
    padding-bottom: 15px;
}

.doc-section .section-title {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    padding-bottom: 10px;
    color: var(--global-font-title);
    border-bottom: 1px solid var(--color-input-border);
}

@-webkit-keyframes animationgradienttitle {
    0% {
        background-position: 0 1600px;
    }
    100% {
        background-position: 1600px 0;
    }
}

@keyframes animationgradienttitle {
    0% {
        background-position: 0 1600px;
    }
    100% {
        background-position: 1600px 0;
    }
}

.doc-section h1 {
    font-size: 24px;
    font-weight: bold;
}

.doc-section h2 {
    font-size: 22px;
    font-weight: bold;
}

.doc-section h3 {
    font-size: 20px;
    font-weight: bold;
}

.doc-section h4 {
    font-size: 18px;
    font-weight: bold;
}

.doc-section h5 {
    font-size: 16px;
    font-weight: bold;
}

.doc-section h6 {
    font-size: 14px;
    font-weight: bold;
}

.section-block {
    padding-top: 15px;
    padding-bottom: 15px;
}

.section-block .block-title {
    margin-top: 0;
    color: var(--doc-white-color);
}

.section-block .list>li {
    margin-bottom: 10px;
}

.section-block .list ul>li {
    margin-top: 5px;
}

.answer {
    color: #616670;
}

.code-block {
    margin-top: 30px;
    margin-bottom: 30px;
}

.table>thead>tr>th {
    border-bottom-color: var(--color-input-border);
}

.table-bordered>thead>tr>th {
    border-bottom-color: inherit;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.screenshot-holder {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.screenshot-holder img {
    border: 1px solid #f0f0f0;
}

.screenshot-holder .mask {
    display: block;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
}

.screenshot-holder .mask .svg-inline--fa {
    color: var(--doc-white-color);
    font-size: 42px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
}

.screenshot-holder:hover .mask {
    visibility: visible;
}

.jumbotron h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 30px;
}

.author-profile {
    margin-top: 30px;
}

.author-profile img {
    width: 100px;
    height: 100px;
}


/* Sidebar */

.doc-sidebar {
    position: fixed;
    top: 83px;
    left: 0;
    width: 350px;
    height: calc(100vh - 86.6px);
    background: var( --global-body-light);
    padding: 15px;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    z-index: 99;
}

.sticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
}

.doc-menu {
    list-style: none;
}

.doc-menu .nav-link {
    font-family: var(--highlight-font-family);
    margin-bottom: 5px;
    display: block;
    padding: 10px 15px;
    color: var(--doc-white-color);
    font-weight: 500;
    font-size: 18px;
    /* border-bottom: 1px solid var(--doc-white-color); */
}

.doc-menu .nav-link:hover,
.doc-menu .nav-link:focus {
    color: var(--doc-primary-color);
    text-decoration: none;
    background: none;
}

.doc-menu .nav-link.active {
    background: none;
    color: var(--doc-primary-color);
    font-weight: 600;
}

.doc-sub-menu {
    list-style: none;
    padding-left: 0;
}

.doc-sub-menu .nav-link {
    margin-bottom: 10px;
    font-size: 16px;
    display: block;
    color: var(--global-font-color);
    padding: 0;
    padding-left: 34px;
    background: none;
}

.doc-sub-menu .nav-link:first-child {
    padding-top: 5px;
}

.doc-sub-menu .nav-link:hover {
    color: var(--doc-primary-color);
    text-decoration: none;
    background: none;
}

.doc-sub-menu .nav-link:focus {
    background: none;
}

.doc-sub-menu .nav-link.active {
    background: none;
    color: var(--doc-primary-color);
}


/* ===== item block ===== */

.item-details {
    background: var(--doc-box-color);
    padding: 30px 50px;
}

.item-info {
    padding: 30px 50px;
}


/* Extra small devices (phones, less than 768px) */

@media (max-width: 767px) {
    .jumbotron {
        padding: 30px 15px;
    }
    .jumbotron h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .jumbotron p {
        font-size: 18px;
    }
}


/* Small devices (tablets, 768px and up) */


/* Medium devices (desktops, 992px and up) */


/* Large devices (large desktops, 1200px and up) */

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.sticky:before,
.sticky:after {
    content: '';
    display: table;
}


/* ======= Landing Page ======= */

.landing-page .header {
    background: #494d55;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0;
}

.landing-page .header a {
    color: var(--doc-white-color);
}

.landing-page .branding {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.landing-page .branding .logo {
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 0;
}

.landing-page .branding .text-bold {
    font-weight: 800;
    color: var(--doc-white-color);
}

.landing-page .branding .icon {
    font-size: 32px;
    color: var(--doc-primary-color);
}

.landing-page .tagline {
    font-weight: 600;
    font-size: 20px;
}

.landing-page .tagline p {
    margin-bottom: 5px;
}

.landing-page .tagline p:last-child {
    margin-bottom: 0;
}

.landing-page .tagline .text-highlight {
    color: #266f71;
}

.landing-page .fa-heart {
    color: #EA5395;
}

.landing-page .cta-container {
    margin-top: 30px;
}

.landing-page .social-container .twitter-tweet {
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: 5px;
}

.landing-page .social-container .fab-like {
    display: inline-block;
}

.cards-section {
    padding: 60px 0;
    background: #f9f9fb;
}

.cards-section .title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.cards-section .intro {
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 60px;
    color: #616670;
}

.cards-section .cards-wrapper {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cards-section .item {
    margin-bottom: 30px;
}

.cards-section .item .icon-holder {
    margin-bottom: 15px;
}

.cards-section .item .icon {
    font-size: 36px;
}

.cards-section .item .title {
    font-size: 16px;
    font-weight: 600;
}

.cards-section .item .intro {
    margin-bottom: 15px;
}

.cards-section .item-inner {
    padding: 45px 30px;
    background: var(--doc-white-color);
    position: relative;
    border: 1px solid #f0f0f0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    height: 100%;
}

.cards-section .item-inner .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url("../images/empty.gif");
    /* for IE8 */
}

.cards-section .item-inner:hover {
    background: #f5f5f5;
}

.cards-section .item-primary .item-inner {
    border-top: 3px solid var(--doc-primary-color);
}

.cards-section .item-primary .item-inner:hover .title {
    color: #2d8284;
}

.cards-section .item-primary .icon {
    color: var(--doc-primary-color);
}

.cards-section .item-green .item-inner {
    border-top: 3px solid var(--doc-primary-color);
}

.cards-section .item-green .item-inner:hover .title {
    color: #48a156;
}

.cards-section .item-green .icon {
    color: var(--doc-primary-color);
}

.cards-section .item-blue .item-inner {
    border-top: 3px solid #58bbee;
}

.cards-section .item-blue .item-inner:hover .title {
    color: #179de2;
}

.cards-section .item-blue .icon {
    color: #58bbee;
}

.cards-section .item-orange .item-inner {
    border-top: 3px solid #F88C30;
}

.cards-section .item-orange .item-inner:hover .title {
    color: #d46607;
}

.cards-section .item-orange .icon {
    color: #F88C30;
}

.cards-section .item-red .item-inner {
    border-top: 3px solid #f77b6b;
}

.cards-section .item-red .item-inner:hover .title {
    color: #f33a22;
}

.cards-section .item-red .icon {
    color: #f77b6b;
}

.cards-section .item-pink .item-inner {
    border-top: 3px solid #EA5395;
}

.cards-section .item-pink .item-inner:hover .title {
    color: #d61a6c;
}

.cards-section .item-pink .icon {
    color: #EA5395;
}

.cards-section .item-purple .item-inner {
    border-top: 3px solid #8A40A7;
}

.cards-section .item-purple .item-inner:hover .title {
    color: #5c2b70;
}

.cards-section .item-purple .icon {
    color: #8A40A7;
}

@media (max-width: 575.98px) {
    .main-search-box {
        width: 100%;
    }
    .main-search-box .search-form .search-input {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .cards-section .item-inner {
        padding: 30px 15px;
    }
}

@media (min-width: 576px) {
    .main-search-box .search-form .search-input {
        width: 400px;
    }
}

@media (min-width: 768px) {
    .main-search-box .search-form .search-input {
        width: 560px;
    }
}

@media (max-width: 991px) {
    header .menu-toggle {
        display: block;
    }
    .doc-content {
        padding: 45px 30px;
    }
    .doc-sidebar {
        left: -350px;
    }
    .doc-sidebar.is-open {
        left: 0;
    }
}

@media (max-width: 500px) {
    .breadcrumb {
        display: none;
    }
}


/*---------------------------------------------------------------------*/

ul li {
    margin-bottom: 5px;
}

.iq-label-info {
    background-color: var(--doc-secondary-color);
    padding: 0px 5px;
    border-radius: 2px;
    color: var(--doc-box-color);
}

.primary-color {
    color: var(--doc-primary-color);
}

.alert-warning {
    background: var(--doc-box-color);
    color: #0C0C0C;
    border: none;
}

iframe {
    width: 100%;
    padding: 1em;
}