﻿body {
    color: #222;
}

.main-content {
    width: 100%;
}

.docs-content {
    padding-top: 50px;
}

.docs-sidebar-toggler {
    background-color: #fff;
    border-radius: 4px;
}

    .docs-sidebar-toggler i {
        padding: 8px;
        font-size: 2rem;
    }

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary p,
.bg-primary span,
.bg-primary li,
.bg-primary strong {
    color: #fff;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.hero {
    z-index: 500;
    transform: skew();
    background-image: url("../img/pillar-hero.png");
    background-position: center center;
    background-size: cover;
}

    .hero h1 {
        color: white;
        font-size: 3.5rem;
    }

    .hero .cta-card {
        position: absolute;
    }

        .hero .cta-card h2 {
            font-size: 1.5rem;
        }

@media (max-width: 767.98px) {
    .hero .cta-card {
        position: relative;
    }

    .btn {
        display: block;
    }
}

/*************************** Theme Colours****************************/
/*************************** Variables Section. *****************************/
/* ============= Theme Mixins ============= */
/* ============= Base ============= */
/*********** Theme Generic **********/
.theme-icon-holder {
    display: inline-block;
    background: #f4fcf6;
    color: #413AA4;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    text-align: center;
    border-radius: 50%;
}

/* Header */
.site-logo .logo-text {
    color: #252930;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-logo .text-alt {
    font-weight: 300;
}

.site-logo .navbar-brand {
    font-size: 2rem;
    font-weight: 600;
    padding-top: 0;
}

/* Page headers */
.page-header.theme-bg-dark .page-heading {
    color: #fff;
}

.page-header.theme-bg-dark .page-intro {
    color: #fff;
    -webkit-opacity: 0.8;
    -moz-opacity: 0.8;
    opacity: 0.8;
}

.social-list li {
    font-size: 1.125rem;
    background: #f4fcf6;
    width: 32px;
    height: 32px;
    text-align: center;
    border-radius: 50%;
    padding-top: 2px;
}

    .social-list li a {
        color: #5750c1;
    }

        .social-list li a:hover {
            color: #413AA4;
        }

    .social-list li:not(:last-child) {
        margin-right: 0.875rem;
    }

.header {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Footer */
.footer .copyright {
    font-size: 0.875rem;
}

/* Page related */
.page-heading {
    font-size: 2.5rem;
}

.page-intro {
    font-size: 1.125rem;
}

.main-search-box {
    max-width: 600px;
}

.docs-overview .card {
    border-color: #e7e9ed;
    position: relative;
    height: 100%;
}

    .docs-overview .card:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
        background: #f4fcf6;
    }

        .docs-overview .card:hover .card-icon-holder {
            background: #fff;
        }

.docs-overview .card-icon-holder {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    padding-top: 1rem;
    display: inline-block;
}

.docs-overview .card-title-text {
    display: inline-block;
    position: relative;
    top: -0.3rem;
}

.docs-overview .card-link-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Docs page */
.search-form {
    position: relative;
    width: 100%;
}

    .search-form .search-input {
        font-size: 0.875rem;
        border-radius: 1.5rem;
        padding-right: 3rem;
        padding-left: 1.5rem;
    }

        .search-form .search-input:focus {
            border-color: #e7e9ed;
        }

    .search-form .search-btn {
        color: #828d9f;
        background: none;
        border: none;
        position: absolute;
        right: 0;
        top: 0.15rem;
        margin-right: 0;
    }

        .search-form .search-btn:active, .search-form .search-btn:focus, .search-form .search-btn:hover {
            outline: none !important;
            color: #413AA4;
            box-shadow: none;
        }

.docs-branding {
    min-height: 69px;
}

    .docs-branding .top-search-box {
        width: 300px;
    }

.docs-logo-wrapper {
    position: absolute;
    left: 15px;
    top: 0.5rem;
}

    .docs-logo-wrapper .site-logo {
        display: inline-block;
    }

.docs-top-utilities {
    padding-top: 4px;
}

.docs-sidebar-toggler {
    display: inline-block;
    border: none;
    padding: 0;
    font-size: inherit;
    position: relative;
    top: 0.3rem;
}

    .docs-sidebar-toggler:focus {
        outline: none;
    }

    .docs-sidebar-toggler:hover span {
        -webkit-opacity: 1;
        -moz-opacity: 1;
        opacity: 1;
    }

    .docs-sidebar-toggler span {
        display: block;
        background-color: #252930;
        height: 3px;
        width: 24px;
        margin-top: 5px;
        margin-bottom: 5px;
        position: relative;
        left: 0;
        -webkit-opacity: 0.8;
        -moz-opacity: 0.8;
        opacity: 0.8;
        border-radius: 1px;
    }

.docs-wrapper {
    position: relative;
    display: flex;
}

.docs-sidebar {
    display: none;
    width: 300px;
    position: sticky;
    z-index: 10;
    padding-top: 20px;
    top: 0;
    height: 100vh;
    background: #fff;
    overflow-y: auto;
    transition: all .2s;
    /* Forefox scrollbar */
    scrollbar-color: rgba(0, 0, 0, 0.2) #f5f5f5;
    scrollbar-width: thin;
    /* Chrome webkit scrollbar */
    box-shadow: 1px 0 5px 0 rgba(0, 0, 0, 0.1);
}

    .docs-sidebar::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .docs-sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.125);
        border-radius: 0.5rem;
    }

    .docs-sidebar.sidebar-visible {
        transform: translateX(0);
        display: inline-block;
    }

    @media (max-width: 1199.98px) {
        .docs-sidebar.sidebar-visible {
            position: fixed;
        }
    }

    .docs-sidebar.sidebar-hidden {
        transform: translateX(-300px);
        display: block;
        position:fixed;
    }

.docs-nav {
    overflow-y: auto;
    padding: 1rem;
}

    .docs-nav .section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

        .docs-nav .section-title a:hover {
            text-decoration: none;
        }

    .docs-nav .section-items {
        font-size: 0.875rem;
        position: relative;
    }

    .docs-nav .nav-item {
        margin-left: 2.5rem;
    }

        .docs-nav .nav-item.section-title {
            margin-left: 0;
        }

            .docs-nav .nav-item.section-title .nav-link {
                padding: 0;
            }

                .docs-nav .nav-item.section-title .nav-link:before {
                    display: none;
                }

    .docs-nav .nav-link {
        display: inline-block;
        position: relative;
        padding: 0.5rem 1rem;
        color: #5d6778;
    }

        .docs-nav .nav-link .theme-icon-holder {
            font-size: 2rem;
        }

        .docs-nav .nav-link.active {
            color: #413AA4;
        }

            .docs-nav .nav-link.active:before {
                background-color: #413AA4;
            }

            .docs-nav .nav-link.active .theme-icon-holder {
                color: #fff;
                background: #413AA4;
            }

        .docs-nav .nav-link:before {
            background-color: #f4fcf6;
            content: ' ';
            display: inline-block;
            height: inherit;
            left: 0;
            margin-top: -0.5rem;
            position: absolute;
            width: 3px;
            height: 100%;
            border-radius: 1rem;
        }

/*.docs-content {
    margin-left: 300px;
}*/

.docs-code-block {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.callout-block {
    padding: 1.5rem;
    border-left: 3px solid #5d6778;
    background: #f5f5f5;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

    .callout-block code {
        background: #fff;
    }

    .callout-block .callout-title {
        font-size: 1rem;
    }

    .callout-block.callout-block-info {
        border-color: #5b99ea;
        background: #f9fbfe;
    }

        .callout-block.callout-block-info .callout-title {
            color: #1c6fdc;
        }

        .callout-block.callout-block-info a {
            color: #1c6fdc;
        }

    .callout-block.callout-block-success {
        border-color: #5cb377;
        background: #e7f4eb;
    }

        .callout-block.callout-block-success .callout-title {
            color: #3e8554;
        }

        .callout-block.callout-block-success a {
            color: #3e8554;
        }

    .callout-block.callout-block-warning {
        border-color: #EEBF41;
        background: #fdf6e5;
    }

        .callout-block.callout-block-warning .callout-title {
            color: #d09c13;
        }

        .callout-block.callout-block-warning a {
            color: #d09c13;
        }

    .callout-block.callout-block-danger {
        border-color: #d26d69;
        background: #fbf3f2;
    }

        .callout-block.callout-block-danger .callout-title {
            color: #b73c37;
        }

        .callout-block.callout-block-danger a {
            color: #b73c37;
        }

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-section .section-intro {
    font-size: 1.125rem;
}

/* We occasionally use media queries that go in the other direction */
@media (max-width: 767.98px) {
    .docs-article .docs-heading {
        font-size: 2.25rem;
    }

    .docs-article .section-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 1199.98px) {
    .docs-content,
    .hero {
        margin-left: 0;
    }

    .docs-article .docs-time {
        position: static;
        display: block;
        padding-top: 0.5rem;
    }
}
