/* 
    Created on : Aug 8, 2016, 5:33:52 PM
    Author     : Nguyen Manh Luu <luu.nguyen@voithan.com>
*/
body {
    position: relative;
}

body.vb-top-static {
    padding-top: 50px;
}

body::before {
    display: none;
    content: 'xs';
}

@media only screen and (min-width: 768px) {
    body::before {
        content: 'sm';
    }
}

@media only screen and (min-width: 960px) {
    body::before {
        content: 'md';
    }
}

@media only screen and (min-width: 1200px) {
    body::before {
        content: 'lg';
    }
}

.form-block .form-group {
    display: block;
    margin-bottom: 15px;
}

.form-block .form-control {
    display: block;
    width: 100%;
}

/*
    TOP BAR
*/
.vb-top-nav {
    /*background-color: #45c3d2;*/
}

.vb-top-nav .navbar-brand {
    color: #fff;
    font-weight: bold;
}

.vb-top-nav .navbar-brand:hover {
    color: #ccc;
}

/*
** OVERLAY
**/
.vb-overlay {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1030;
    background-color: #fff;
    border-left: 1px solid #eee;
    -webkit-box-shadow: -2px 0 15px -5px #000;
    box-shadow: -2px 0 10px -5px #000;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    visibility: hidden;
}

.vb-overlay.vb-overlay-show {
    visibility: visible;
}

.vb-overlay-header {
    padding-top: 10px;
    border-bottom: 1px solid #eee;
    height: 55px;
}

.vb-overlay-title {
    font-size: 120%;
    text-transform: uppercase;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 2;
}

/*
    SIDEBAR
*/
.vb-side-nav {
    position: absolute;
    z-index: 30;
    left: 0;
    top: 0;
    width: 100%;
    padding: 70px 0 100px 0;
    background-color: #2c3136;
    visibility: hidden;
    opacity: 0;
    max-height: 100vh;
    height: 100vh;
    overflow-y: scroll;
}

@media only screen and (max-width: 700px) {
    .vb-side-nav {
        position: fixed;
    }
}

.nav-is-visible .vb-side-nav {
    opacity: 1;
    visibility: visible;
}

.nav-is-visible .vb-side-nav:hover {
    overflow-y: scroll;
}

.hidden-nav {
    display: inline-block;
}

.nav-is-visible .hidden-nav {
    display: none;
}

.visible-nav {
    display: none;
}

.nav-is-visible .visible-nav {
    display: inline-block;
}

.vb-side-nav a {
    text-align: left;
    border-bottom: 1px solid #373d44;
    color: #aaa;
    position: relative;
    display: block;
    text-decoration: none;
    font-size: 1.4rem;
    padding: 1em 10%;
}

.vb-side-nav a i {
    margin-right: 5px;
    color: #646a6f;
}

.vb-side-nav a:hover {
    color: #fff;
    background-color: #33383e;
}

.vb-side-nav a.active {
    color: #fff;
    box-shadow: inset 3px 0 0 #45c3d3;
    background-color: #33383e;
}

.vb-side-nav a.active i {
    color: #45c3d3;
}

.vb-side-nav .nav-main-heading {
    text-transform: uppercase;
    font-weight: bold;
    color: #646a6f;
    font-size: 1rem;
    display: block;
    padding: 1em 10% 0.5em 10%;
}

.vb-side-nav>ul {
    padding: 0.6em 0;
    margin: 0px;
}

.vb-side-nav>ul li {
    padding: 0;
}

.vb-side-nav>ul:last-of-type {
    padding-bottom: 0;
}


.vb-page {
    position: relative;
}


/*
   ĐẦU PHÂN TRANG
*/

.vb-page-heading {
    border-bottom: 1px solid #eee;
}

.vb-page-heading-static .vb-page-hidden-heading {
    position: fixed;
    left: 0;
    right: 0;
    display: block;
    z-index: 9;
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.vb-page-heading-static .vb-page-heading {
    position: fixed;
    left: 0;
    right: 0;
    top: 50px;
    display: block;
    z-index: 9;
    background: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.vb-page-heading h1,
h1.vb-page-heading {
    font-size: 24px;
}

.vb-page-content {
    padding-bottom: 100px;
}

.vb-page-heading-static .vb-page-center,
.vb-page-heading-static .vb-page-left,
.vb-page-heading-static .vb-page-right {
    padding-top: 40px;
}

.vb-page-heading-action {
    padding: 5px 15px;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
}

.vb-page-heading-title .breadcrumb {
    margin-bottom: 0px;
    margin-top: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: transparent;
}

/*
    PHẦN NỘI DUNG TRÁI VÀ PHẢI
*/

.vb-page-left {
    left: 0;
    border-right: 1px solid #ddd;
}

.vb-page-left section {
    padding: 15px 0;
}

.vb-page-right {
    right: 0;
    border-left: 1px solid #ddd;
}

.vb-page-right,
.vb-page-left {
    position: fixed;
    z-index: 8;
    top: 0;
    width: 100%;
    padding: 0px 0 100px 0;
    visibility: hidden;
    opacity: 0;
    max-height: 100vh;
    height: 100%;
    overflow-y: scroll;
    background: #f5f5f5;
}

.vb-page-heading-static+.vb-page-content>.vb-page-right {
    padding-top: 70px;
}

.vb-page-heading-static+.vb-page-content>.vb-page-left {
    padding-top: 70px;
}

.vb-page-right .vb-page-navigator,
.vb-page-left .vb-page-navigator {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    line-height: 50px;
}

.vb-page-right .vb-page-navigator .heading,
.vb-page-left .vb-page-navigator .heading {
    line-height: 50px;
    margin: 0px;
}

.vb-has-right .vb-page-right {
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.vb-has-left .vb-page-left {
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch;
}

.vb-page-navigator {
    margin: 10px 0;
}

.vb-page-left-trigger {
    position: fixed;
    left: -20px;
    top: 130px;
    z-index: 20;
    -webkit-transition: left 0.2s;
    /* Safari */
    transition: left 0.2s;
}

.vb-has-left .vb-page-left-trigger {
    right: -5px;
    left: auto;
}

.vb-page-left-close {
    display: none;
}

.vb-has-left .vb-page-left-close {
    display: inline-block;
}

.vb-has-left .vb-page-left-open {
    display: none;
}

.vb-has-left .vb-page-left-trigger.vb-page-left-open {
    display: inline-block;
    visibility: hidden
}

.vb-page-right-trigger {
    position: fixed;
    top: 130px;
    right: -20px;
    z-index: 100;
    -webkit-transition: right 0.2s;
    /* Safari */
    transition: right 0.2s;
}

.vb-has-right .vb-page-right-trigger {
    left: -5px;
    right: auto;
}

.vb-page-right-close {
    display: none;
}

.vb-has-right .vb-page-right-close {
    display: inline-block;
}

.vb-has-right .vb-page-right-open {
    display: none;
}

.vb-has-right .vb-page-right-trigger.vb-page-right-open {
    display: inline-block;
    visibility: hidden;
}

/*
    PAGE CONTENT CENTER 
*/
.vb-page-center {
    padding-bottom: 100px;
}

.vb-page-center section {
    padding: 15px 0;
}

/*
    SCROLLBAR
*/
.vb-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.vb-scroll::-webkit-scrollbar {
    background: #eee;
    width: 6px;
    position: absolute;
}

.vb-scroll::-webkit-scrollbar-thumb {
    background-color: #aaa;
}

/*
    FORM
*/
.vb-form-heading {
    font-weight: bold;
    color: #45c3d3;
    font-size: 1.2rem;
    display: block;
    padding-bottom: 1%;
    margin-top: 2%;
}

label {
    color: #444;
    font-size: 1.2rem;
}

.status-todo,
.status-todo a {
    color: #333;
}

tr.status-todo td {
    background-color: #fcf8e3;
}

.status-doing,
.status-doing a {
    color: #333;
}

.status-done,
.status-done a {
    color: #3c763d;
}

.status-trash,
.status-trash a {
    color: #aaa;
}

tr.active td {
    background-color: #ffc !important;
}

.form-button-bar {
    position: fixed;
    z-index: 9;
    left: 0px;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 10px;
    border-top: 1px solid #ccc;
    height: 80px;
}

/* Button */
.static-button {
    position: fixed;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 10px #aaa;
    z-index: 1000;
}

.static-button:hover {
    text-decoration: none;
    color: #fff;
    background: #f9a870;
}

/*.sb-b1{
    right: 40px;
    bottom: 40px;
    background: #45c3d2;
    color: #fff;
    width: 50px;
    line-height: 50px;
}

.sb-b2, .sb-b3, .sb-b4, .sb-b5, .sb-b6, .sb-b7{
    right: 45px;
    background: #999;
    color: #fff;
    width: 40px;
    line-height: 40px;
}*/
.sb-b1 {
    right: 20px;
    bottom: 80px;
    background: #45c3d2;
    color: #fff;
    width: 50px;
    line-height: 50px;
}

.sb-b2,
.sb-b3,
.sb-b4,
.sb-b5,
.sb-b6,
.sb-b7 {
    right: 25px;
    background: #999;
    color: #fff;
    width: 40px;
    line-height: 40px;
}

.sb-b2 {
    bottom: 140px;
}

.sb-b3 {
    bottom: 190px;
}

.sb-b4 {
    bottom: 240px;
}

.sb-b5 {
    bottom: 290px;
}

.sb-b6 {
    bottom: 340px;
}

.sb-b7 {
    bottom: 390px;
}

.sb-hide {
    display: none;
}

.sb-show {
    display: block;
}