﻿html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    color: #555;
    height: 100%;
    transition: opacity .3s ease-in-out;
}

/* Links */
a {
    color: #555;
    transition: color .3s ease-in-out;
    outline: none;
}

    a:hover {
        color: #333;
        text-decoration: none;
    }

.page-link {
    color: #555;
}

    .page-link:focus {
        box-shadow: none !important;
    }

.page-link, .page-item.disabled .page-link {
    border: 0;
    background: rgba(0,0,0,0.025);
    margin-left: 0;
}

.page-item.active .page-link {
    border-radius: 3px;
}

/* Headlines */
h1 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Wrap */
.main_wrap {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    transition: background .5s ease-in-out;
}

/* Top bar */
.top_bar {
    position: fixed;
    display: table;
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    height: 64px;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.1);
}

    .top_bar .brand_selector {
        display: table-cell;
        width: 250px;
        padding: 0 10px 0 16px;
        vertical-align: middle;
    }

        .top_bar .brand_selector a:after {
            color: rgba(255,255,255,.5);
        }

        .top_bar .brand_selector .logo {
            width: 80%;
            height: 40px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            cursor: pointer;
            margin: 0;
        }

    .top_bar .omni_search {
        display: table-cell;
        padding: 0;
        vertical-align: middle;
    }

        .top_bar .omni_search input {
            width: 100%;
            height: 36px;
            border: 0;
            border-top: 1px solid rgba(0,0,0,.1);
            border-radius: 3px;
            padding: 5px 10px;
            background: rgba(255,255,255,0.2);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            outline: none;
        }

            .top_bar .omni_search input::-webkit-input-placeholder {
                color: rgba(255,255,255,.33);
            }

            .top_bar .omni_search input::-moz-placeholder {
                color: rgba(255,255,255,.33);
            }

            .top_bar .omni_search input:-ms-input-placeholder {
                color: rgba(255,255,255,.33);
            }

            .top_bar .omni_search input:-moz-placeholder {
                color: rgba(255,255,255,.33);
            }

    .top_bar .user_info {
        display: table-cell;
        vertical-align: middle;
        width: 250px;
        padding: 0 16px;
    }

        .top_bar .user_info .dropdown {
            width: 100%;
            text-align: right;
        }

            .top_bar .user_info .dropdown .dropdown-toggle {
                font-size: 12px;
            }

                .top_bar .user_info .dropdown .dropdown-toggle:after {
                    display: none;
                }

        .top_bar .user_info .user_details {
            padding-top: 5px;
            line-height: 16px;
        }

            .top_bar .user_info .user_details span:first-child {
                font-weight: 400;
                display: block;
            }

            .top_bar .user_info .user_details span:last-child {
                font-weight: 700;
                display: block;
            }

        .top_bar .user_info .user_icon {
            float: right;
            width: 42px;
            height: 42px;
            line-height: 42px;
            text-align: center;
            border-radius: 50%;
            background: #fff;
            font-weight: 700;
            margin-left: 16px;
            font-size: 16px;
        }

/* Side bar */
.side_bar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    color: #555;
    transition: all 0.3s;
    padding-top: 64px;
}

    .side_bar.active {
        margin-left: -250px;
    }

    .side_bar label {
        padding: 0 10px;
        line-height: 48px;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 12px;
        margin-bottom: 0;
    }

    .side_bar ul p {
        padding: 10px;
    }

    .side_bar ul li a {
        padding: 10px;
        font-size: 13px;
        display: block;
        text-transform: uppercase;
        color: #555;
        transition: all .2s ease-in-out;
    }

        .side_bar ul li a:hover {
            background: rgba(0,0,0,0.05);
        }

    .side_bar ul li.active > a {
        background: rgba(0,0,0,0.05);
    }

    .side_bar a[aria-expanded="true"] {
        background: rgba(0,0,0,0.05);
    }


a[data-toggle="collapse"] {
    position: relative;
}

ul ul a {
    padding-left: 24px !important;
}

/* breadcrumb bar */
.breadcrumb_bar {
    width: 100%;
    height: 48px;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 48px;
    color: rgba(0,0,0,.5);
}

    .breadcrumb_bar a {
        font-weight: 600;
    }

    .breadcrumb_bar .fa-angle-right {
        padding: 0 5px;
        font-size: 10px;
        opacity: .5;
    }

    .breadcrumb_bar .fa-bars {
        padding: 0 10px;
        font-size: 16px;
        cursor: pointer;
    }

/* View bar */
.view_wrap {
    width: calc(100% - 250px);
    padding: 64px 0 0 0;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

    .view_wrap.active {
        width: 100%;
    }

.view_content {
    height: 100%;
    padding: 0 10px;
}

    .view_content > .row {
        margin-left: -24px;
        margin-right: 0px;
    }

.view_wrap.active .view_content > .row {
    margin-left: 0;
}

.view_wrap.active .breadcrumb_bar {
    padding-left: 16px;
}

/* Boxes */
.box {
    background: rgba(255,255,255,.8);
    min-height: 220px;
    padding: 16px;
    border-radius: 5px;
    box-shadow: 0px 0px 128px 0px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

    .box h3 {
        text-transform: uppercase;
        line-height: 16px;
        margin-bottom: 8px;
        margin-top: 0;
    }

/* Wrap */
.wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

    .wrap video {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 0;
        overflow: hidden;
        opacity: .25;
        -webkit-filter: grayscale(100%);
        -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
        -o-filter: grayscale(100%);
        filter: grayscale(100%);
    }

    .wrap .layer {
        padding: 32px;
        background: rgba(255,255,255,.8);
        min-height: 220px;
        box-shadow: 0px 0px 128px 0px rgba(0,0,0,0.05);
        background-image: url('/_img/bgfade.png');
        background-repeat: no-repeat;
        background-position: 150% 100%;
        background-size: 100%;
    }

        .wrap .layer .logo {
            width: 240px;
            height: auto;
            margin: -15px;
            display: block;
            opacity: .5;
        }

    .wrap .box {
        padding: 32px;
    }

    .wrap .loginbox {
        background-image: url('/_img/bgfade.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 200%;
    }

    .wrap .box .logo {
        width: 80%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .wrap .box a {
        line-height: 40px;
        font-size: 14px;
    }

    .wrap .loginlayer {
        padding: 64px;
        min-height: 220px;
        box-shadow: 0px 0px 128px 0px rgba(0,0,0,0.05);
    }

        .wrap .loginlayer .loginform {
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
        }

        .wrap .loginlayer hr {
            margin: 24px 0;
        }

        .wrap .loginlayer a {
            margin: 8px 0;
            display: inline-block;
        }

        .wrap .loginlayer .logo {
            width: 100%;
            max-width: 280px;
            margin: 0 auto;
            padding: 0 16px;
            display: block;
        }

/* Graphs */
.graph {
    height: 200px;
}

/* XMP */
xmp {
    border: 1px solid rgba(0,0,0,.15);
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    .side_bar {
        margin-left: -250px;
    }

        .side_bar.active {
            margin-left: 0;
        }

    .wrap .box {
        border-radius: 0;
    }

    .view_wrap {
        width: 100%;
    }

        .view_wrap.active {
            width: calc(100% - 250px);
        }

    .view_content > .row {
        margin-left: -10px;
        margin-right: -10px;
    }

        .view_content > .row .col {
            padding-left: 10px;
            padding-right: 10px;
        }

    .top_bar .omni_search {
        display: none;
    }

    .top_bar .brand_selector {
        width: 320px;
    }

    .top_bar .user_info {
        width: auto;
    }

    .top_bar .brand_selector .logo {
        background-position: left;
    }

    .top_bar .user_details {
        display: none;
    }

    .wrap .loginlayer {
        padding: 32px;
    }

    .text-white {
        color: white;
    }
}
