﻿.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

[data-toggle='sidebar'] {
    min-width: 250px;
    max-width: 250px;
    background: #FFF;
    color: #5f5d5d;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .4);
}

    [data-toggle='sidebar'] strong {
        color: #797878;
    }

    [data-toggle='sidebar'].active {
        margin-left: -250px;
        transform: rotateY(100deg);
    }

    [data-toggle='sidebar'] .sidebar-header {
        padding: 10px;
        background: #676767;
        min-height: 50px;
        color: #f5f5f5;
    }

    [data-toggle='sidebar'] ul.components {
        padding: 20px 0;
        border-bottom: 1px solid #47748b;
    }

    [data-toggle='sidebar'] ul p {
        color: #fff;
        padding: 10px;
    }

    [data-toggle='sidebar'] ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        [data-toggle='sidebar'] ul li a:hover {
            color: #7386D5;
            background: #fff;
        }

    [data-toggle='sidebar'] ul li.active > a,[data-toggle='sidebar'] a[aria-expanded="true"] {
        color: #fff;
        background: #6d7fcc;
    }


a[data-toggle="collapse"] {
    position: relative;
}

[data-toggle='sidebar'] ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

[data-toggle='sidebar'] ul.button-list {
    padding: 20px;
}

    [data-toggle='sidebar'] ul.button-list a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

[data-toggle='sidebar'] a.button {
    background: #fff;
    color: #7386D5;
}

[data-toggle='sidebar'] a.button2, [data-toggle='sidebar'] a.button2:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
[data-toggle='sidebar-content'] {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

    [data-toggle='sidebar-content'] nav {
        margin-bottom: 20px;
    }

[data-toggle='sidebar-button'] {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

    [data-toggle='sidebar-button'] span {
        width: 80%;
        height: 2px;
        margin: 0 auto;
        display: block;
        background: #555;
        transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
        transition-delay: 0.2s;
    }

        [data-toggle='sidebar-button'] span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        [data-toggle='sidebar-button'] span:nth-of-type(2) {
            opacity: 0;
        }

        [data-toggle='sidebar-button'] span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }


    [data-toggle='sidebar-button'].active span {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 1024px) {
    [data-toggle='sidebar'] {
        margin-left: -250px;
        transform: rotateY(90deg);
    }

        [data-toggle='sidebar'].active {
            margin-left: 0;
            transform: none;
        }

    [data-toggle='sidebar-button'] span:first-of-type,
    [data-toggle='sidebar-button'] span:nth-of-type(2),
    [data-toggle='sidebar-button'] span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    [data-toggle='sidebar-button'].active span {
        margin: 0 auto;
    }

        [data-toggle='sidebar-button'].active span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        [data-toggle='sidebar-button'].active span:nth-of-type(2) {
            opacity: 0;
        }

        [data-toggle='sidebar-button'].active span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }
}

/* ---------------------------------------------------
    Time line ( Custom )
----------------------------------------------------- */

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #eeeeee;
        left: 50%;
        margin-left: -1.5px;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
        width: 50%;
        float: left;
        clear: left;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: 95%;
            float: left;
            border: 1px solid #d4d4d4;
            /*border-radius: 2px;*/
            /*padding: 20px;*/
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 26px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 27px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #fff;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 24px;
            height: 24px;
            line-height: 50px;
            font-size: 1.4em;
            text-align: center;
            position: absolute;
            top: 16px;
            right: -12px;
            /*background-color: #999999;*/
            z-index: 100;
            /*
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  */
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

.timeline-badge > a {
    color: #C5C7C5 !important;
}

.timeline-badge a:hover {
    color: #000 !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    padding: 20px;
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

.timeline-footer {
    padding: 20px;
    background-color: #f4f4f4;
}

    .timeline-footer > a {
        cursor: pointer;
        text-decoration: none;
    }

.tooltip {
    position: absolute;
    z-index: 1051;
    display: block;
    visibility: visible;
    padding: 5px;
    font-size: 11px;
    opacity: 0;
    filter: alpha(opacity=0);
}

    .tooltip.in {
        /*opacity:0;
    filter:alpha(opacity=80);*/
    }

    .tooltip.top {
        margin-top: -2px;
    }

    .tooltip.right {
        margin-left: 2px;
    }

    .tooltip.bottom {
        margin-top: 2px;
    }

    .tooltip.left {
        margin-left: -2px;
    }

    .tooltip.top .tooltip-arrow {
        bottom: 0;
        left: 0;
        margin-left: 0;
        border-left: 0 solid transparent;
        border-right: 5px solid transparent;
        border-top: 0 solid #000;
    }

    .tooltip.left .tooltip-arrow {
        bottom: 0;
        left: 0;
        margin-left: 0;
        border-left: 0 solid transparent;
        border-right: 5px solid transparent;
        border-top: 0 solid #000;
    }

    .tooltip.bottom .tooltip-arrow {
        bottom: 0;
        left: 0;
        margin-left: 0;
        border-left: 0 solid transparent;
        border-right: 5px solid transparent;
        border-top: 0 solid #000;
    }

    .tooltip.right .tooltip-arrow {
        bottom: 0;
        left: 0;
        margin-left: 0;
        border-left: 0 solid transparent;
        border-right: 5px solid transparent;
        border-top: 0 solid #000;
    }

.tooltip-inner {
    width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: #313131;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
}

.timeline > li.timeline-inverted {
    float: right;
    clear: right;
    margin-top: 30px;
    margin-bottom: 30px;
}

.timeline > li:nth-child(2) {
    margin-top: 60px;
}

.timeline > li.timeline-inverted > .timeline-badge {
    left: -12px;
}

@media (max-width: 1100px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li {
        margin-bottom: 20px;
        position: relative;
        width: 100%;
        float: left;
        clear: left;
    }

        ul.timeline > li > .timeline-panel {
            width: calc(100% - 90px);
            width: -moz-calc(100% - 90px);
            width: -webkit-calc(100% - 90px);
        }

        ul.timeline > li > .timeline-badge {
            left: 28px;
            margin-left: 0;
            top: 16px;
        }

        ul.timeline > li > .timeline-panel {
            float: right;
        }

            ul.timeline > li > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            ul.timeline > li > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

    .timeline > li.timeline-inverted {
        float: left;
        clear: left;
        margin-top: 30px;
        margin-bottom: 30px;
    }

        .timeline > li.timeline-inverted > .timeline-badge {
            left: 28px;
        }
}

/* ---------------------------------------------------
    Modal blur effect
------------------------------------------------------*/
/* 
    Modal Effect
*/
body.modal-open #wrapper {
    -webkit-filter: blur(7px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
}

.modal-backdrop {
    background: #000;
}

.close {
    font-size: 50px;
    display: block;
}