﻿body {
   /* padding-top: 50px;*/
    padding-bottom: 0px;
    height: 100%;
}
content{
    min-height:400px;
}
/*Change Bootstrap nav bar collapse breakpoint*/
@media (max-width: 1100px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}

@media only screen and (max-width: 720px) {

    h4 {
        font-size: 10px;
        padding-left: 80px;
    }
}
a,
a label {
    cursor: pointer;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;  
    margin-top: -30px;
}

.body-content-admin{
    padding-left: 0px;
    padding-right: 0px; 
    margin-top: -30px;
}

    /* Override the default bootstrap behavior where horizontal description lists 
       will truncate terms that are too long to fit in the left column 
    */
    .dl-horizontal dt {
        white-space: normal;
    }

    /* Set width on the form input elements since they're 100% wide by default */


.navbar-global {
    /*background-color: #2279d8;*/
    background-color: rgb(13,47,126)
}

    .navbar-global .navbar-brand {
        color: white;
    }

    .navbar-global .navbar-user > li > a {
        color: white;
    }

    .navbar-primary {
        background-color: #fff;
        bottom: 0px;
        left: 0px;
        /*height: 1000px;*/
        position: absolute;
        top: 51px;
        width: 250px;
        z-index: 8;
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

    .navbar-primary.collapsed {
        overflow:hidden;
    }
    .navbar-primary.collapsed {
        width: 60px;
    }

    .navbar-primary.collapsed .glyphicon {
        font-size: 22px;
    }

    .navbar-primary.collapsed .nav-label {
        display: none;
    }

    .navbar-primary.collapsed .row,
    .navbar-primary.collapsed #tabkhuvuc {
        display: none;
    }

    .navbar-primary-menu,
    .navbar-primary-menu li {
        margin: 0;
        padding: 0px;
        list-style: none;
    }

    .navbar-primary-menu li a {
        display: block;
        padding: 4px 15px;
        text-align: left;
        border-bottom: solid 1px #444;
        color: #000;
    }

    .navbar-primary-menu li a:hover {
        /*background-color: #4fa1ef;*/
        background-color: rgb(26, 200, 237);
        text-decoration: none;
        color: white;
    }

    .navbar-primary-menu li a .glyphicon {
        margin-right: 6px;
    }

    .navbar-primary-menu li a:hover .glyphicon {
        color: #fff;
    }

    /* tree view*/
    .list-group li{
        border-radius: 0px!important;
    }

.main-content {
    margin-top: 0px;
    margin-left: 250px;
    padding: 5px;
    /*height:1024px;*/
    height:100%;
}

    footer {
        /*background-color: #2279d8;*/
        background-color: rgb(13,47,126);
        color: white;
        padding: 15px;
    }

    .collapsed + .main-content {
        margin-left: 60px;
    }

    .dintecontent {
        padding: 15px;
        margin-bottom: 30px;
        font-size: 21px;
        height:100%;
        font-weight: 200;
        line-height: 2.1428571435;
        color: inherit;
        background-color: #e5e5e5;
    }

        .dintecontent h1 {
            line-height: 1;
            color: inherit;
        }

        .dintecontent p {
            line-height: 1.4;
        }

    .container .dintecontent {
        border-radius: 6px;
    }

    @media screen and (min-width: 768px) {
        .dintecontent {
            padding-top: 48px;
            padding-bottom: 48px;
        }

        .container .dintecontent {
            padding-right: 60px;
            padding-left: 60px;
        }

        .dintecontent h1 {
            font-size: 14px;
        }
    }

    /*menu bar*/
.navbar-nav li a:hover, .navbar-nav > .open > a {
    color: #fff !important;
    background-color: #0168CD !important;
    /*background-color: rgba(13,47,126, 0.2) !important;*/
    background-image: none !important;
}

.navbar-nav li ul li > a {
    color: #fff !important;
    /*background-color: #2279d8 !important;*/
    background-color: rgb(13,47,126) !important;
}

    .navbar-nav li ul li > a:hover {
        color: #fff !important;
        /*background-color: #4fa1ef !important;*/
        background-color:  rgb(26, 200, 237)!important;
    }

    .navbar-nav > li > a {
        color: white !important;
    }

    .navbar .nav li.dropdown:hover .dropdown-menu {
        display: block;
    }

    /*Drop down*/
    .navbar .nav li.dropdown > .dropdown-toggle .caret {
        border-bottom-color: #FFFFFF !important;
        border-top-color: #FFFFFF !important;

    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* dropdown menu*/
.navbar-nav > li > .dropdown-menu {
    /*background-color: #2279d8;*/
    background-color: rgb(13,47,126);
}

    .navbar-nav > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .modal-open {
        overflow: hidden;
    }

    body.modal-open,
    .modal-open .navbar-fixed-top,
    .modal-open .navbar-fixed-bottom {
        margin-right: 15px;
    }

    .modal {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: none;
        overflow: auto;
        overflow-y: scroll;
    }

    .modal.fade .modal-dialog {
        -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
        transform: translate(0, -25%);
        -webkit-transition: -webkit-transform 0.3s ease-out;
        -moz-transition: -moz-transform 0.3s ease-out;
        -o-transition: -o-transform 0.3s ease-out;
        transition: transform 0.3s ease-out;
    }

    .modal.in .modal-dialog {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .modal-dialog {
        z-index: 1050;
        width: 80% !important;
        padding: 10px;
        margin-right: auto;
        margin-left: auto;
    }

    .modal-content {
        position: relative;
        background-color: #ffffff;
        border: 1px solid #999999;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 6px;
        outline: none;
        -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
        box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
        background-clip: padding-box;
    }

    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: #000000;
    }

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

    .modal-header {
        min-height: 16.428571429px;
        padding: 15px;
        border-bottom: 1px solid #e5e5e5;
    }

    .modal-header .close {
        margin-top: -2px;
    }

    .modal-title {
        margin: 0;
        line-height: 1.428571429;
    }

    .modal-body {
        position: relative;
        padding: 20px;
    }

    .modal-footer {
        padding: 19px 20px 20px;
        margin-top: 15px;
        text-align: right;
        border-top: 1px solid #e5e5e5;
    }

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer:before,
    .modal-footer:after {
        display: table;
        content: " ";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }

    @media screen and (min-width: 768px) {
        .modal-dialog {
            right: auto;
            left: 50%;
            width: 600px;
            padding-top: 30px;
            padding-bottom: 30px;
        }

        .modal-content {
            -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }
    }

.form-control {
    height: 30px !important;
    /*font-size: 13px !important;*/
    padding:0 12px!important;
}

/*icon sort for all jquery datatables*/
table.dataTable thead .sorting {
    background: url("../images/sort_both.png") no-repeat center right!important;
}

table.dataTable thead .sorting_asc {
    background: url("../images/sort_asc.png") no-repeat center right!important;
}

table.dataTable thead .sorting_desc {
    background: url("../images/sort_desc.png") no-repeat center right!important;
}
/*select row color*/
table.dataTable tbody tr.selected {
    /*background-color: #4fa1ef !important;*/
    background-color:  rgb(26, 200, 237) !important;
}
/*datatable page button*/
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background:  rgb(26, 200, 237) !important;
    background: -webkit-linear-gradient( rgb(26, 200, 237), rgb(13,47,126)) !important; /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient( rgb(26, 200, 237), rgb(13,47,126)) !important; /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient( rgb(26, 200, 237), rgb(13,47,126)) !important; /* For Firefox 3.6 to 15 */
    background: linear-gradient( rgb(26, 200, 237), rgb(13,47,126)) !important; /* Standard syntax */
    border: 1px solid rgb(13,47,126) !important;
}
/*style for notify*/
/*.notification-bubble {
    z-index: 10000;
}*/
/*.notifyjs-arrow {
    border-bottom: 5px solid red !important;
}*/
.notification-bubble {
    /*right: 0px !important;*/
    top: 2px !important;
}
.notification-menu-item {
    border-right: none !important;
    background: none !important;
}
.notification-menu-item a {
    text-shadow: unset!important;
    font-size: unset!important;
    font-weight: unset!important;
    text-decoration: unset!important;
}
.notifyjs-corner{
    top: 100px!important;
    right:10px!important;
    left:unset!important;
}

.dintecontrol {
    width: auto !important;
    height: 30px !important;
}

.dintespan {
    height: 28px !important;
}

.flatleft {
    border-radius: 0px 4px 4px 0px !important;
    margin-right: 0 !important;
}

.flatright {
    border-radius: 4px 0px 0px 4px !important;
}

.flat {
    border-radius: 0 !important;
}

.noboderleft {
    margin-left: -1px !important;
}

.dintebtn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 4px;
    display: inline-block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.btn-default {
    color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
}

/*phóng to thu nhỏ button collapsed*/
.ani {
    color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
}

    .ani.collapsed .glyphicon {
        font-size: 12px;
    }

    .ani .glyphicon {
        font-size: 22px;
    }

.dintebodertable {
    height: 200px;
    overflow: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.table > tbody > tr > td {
    vertical-align: middle !important;
    padding: 4px !important;
}

.btn-primary {
    background-color: rgb(13,47,126) !important;
    /*border-color: rgb(13,47,126) !important;*/
}

.myInputTag {
    border-box: box-sizing;
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    min-width: 495px;
    border-bottom: 1px solid #ddd;
}

    /* The search field when it gets focus/clicked on */
    .myInputTag:focus {
        outline: 3px solid #ddd;
    }

/* The container <div> - needed to position the dropdown content */
.dropdown-a {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 500px;
    border: 1px solid #ddd;
    z-index: 99;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #bfbbbb
        }

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}