.input-group .form-control{width: auto; }
.form-group{margin-bottom: 3px;}
.input-group span{ width: 140px;  }
.input-group span, table tr th{text-transform: capitalize;}
.input-group-addon{ padding: 3px 5px; font-size: 12px;}
.page-header{margin: 15px 0;}
.form-control{ height: 29px; font-size: 12px; border-radius: 3px; padding: 3px 5px; }
h2,h3{font-size: 15px;}
/*body {
    background-color: #044B8F;
}

.navbar-default{
    background: #E3E5E8; border-color: #555; color: #fff;
}
.sidebar{ background: #044B8F; color: #fff; }
*/

#wrapper {
    width: 100%; background: #164987;
}
.clear{clear: both;} .br{clear: both;padding: 0;margin: 0 0 5px;}
#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;

    background: rgb(194,196,232);  
background: -moz-linear-gradient(top,  rgba(194,196,232,1) 0%, rgba(255,255,255,1) 3%, rgba(255,255,255,1) 99%); 
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(194,196,232,1)), color-stop(3%,rgba(255,255,255,1)), color-stop(99%,rgba(255,255,255,1))); 
background: -webkit-linear-gradient(top,  rgba(194,196,232,1) 0%,rgba(255,255,255,1) 3%,rgba(255,255,255,1) 99%); 
background: -o-linear-gradient(top,  rgba(194,196,232,1) 0%,rgba(255,255,255,1) 3%,rgba(255,255,255,1) 99%); 
background: -ms-linear-gradient(top,  rgba(194,196,232,1) 0%,rgba(255,255,255,1) 3%,rgba(255,255,255,1) 99%); 
background: linear-gradient(to bottom,  rgba(194,196,232,1) 0%,rgba(255,255,255,1) 3%,rgba(255,255,255,1) 99%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2c4e8', endColorstr='#ffffff',GradientType=0 ); 
/**/
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 200px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}
.navbar-default, .sidebar, .nav .open > a, .nav .open > a:hover, .nav .open > a:focus, .nav > li a:hover{
    background: #164987;
    color: #fff;
}
.navbar-default .navbar-brand, .navbar-default ul, .navbar-default ul li, .navbar-default a{
    color: #fff;
}
.sidebar ul li a.active,.nav li a:focus, .navbar-brand li a:focus {
    background-color: #898997; color: #fff;
}
.sidebar ul li.active {
    background-color: #565656; color: #fff;
}
.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li,.navbar-default {
    border-bottom: 1px solid #333;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 200px;
        margin-top: 51px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}
tr td,th { font-size: 12px; padding: 3px;
}
th{ text-align: center;}   
button.none{ background: inherit;
    border: medium none;
    cursor: pointer;}
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 30px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}
.panel-sm{
    background: #f5f5f5; padding: 5px; margin: 2px; border: 1px solid #ddd; width: 31%; height: 40px;
    
}.panel-sm i{font-size: x-large;}
.panel-sm:hover{
    background: #7C7BAD; color: #fff;
}
.alert{padding: 3px 15px;}
form{ background: #fff; padding: 5px 20px 10px; border: 1px solid #d1d1d1;
    
}
form h2, form h3{ background: #f1f1f1; border: 1px solid #ddd; padding: 5px 30px; margin-top: 0; font-family: tahoma; text-shadow: 2px 2px 5px #fff;}
/*#footer{ padding: 5px; background: #044A8E; width: 100%; text-align: center; border-top: 2px solid #000; }*/
#footer{padding: 5px; background: #044A8E; width: 100%;text-align: center;border-top: 2px solid #000;position: fixed;overflow: hidden;bottom: 0;z-index: 1000;}
#footer a, #footer{ color: #000;}

caption, .pageing{ background:#ededee; color:#559; font-size:16px;  }
caption span, .pageing span{  font-size:14px; float:right; display:inline-block; margin:0; padding:0; bottom:0px;} 
caption h3, .pageing h3{ width:auto; margin:0; float:left; font-size:16px; font-weight:bold; padding:8px 10px 0; }
 
tr .photo img{ background: #f5f5f5; border: 1px solid #164987; padding: 3px; border-radius: 25px; max-width: 60px; max-height: 60px; }

#overflow{ min-height: 300px; max-height: 400px; overflow: auto; border: 1px solid #bbb; }
#price_hidden input{ margin: 0; padding: 0 20px; border: none; background: transparent;}
#bprice{ color: #ccc;}

#overflow .table > thead > tr > th, #overflow .table > tbody > tr > td, #overflow .table > tbody > tr > th { padding: 2px;}
/*.table-responsive{overflow: scroll; max-height: 480px;}*/
.table-responsive{margin-bottom: 40px;}
.form-control::-webkit-input-placeholder { /* WebKit browsers */
    color:    #bbb;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #bbb;
   opacity:  1;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #bbb;
   opacity:  1;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #bbb;
}
#alert-tr, .table-hover>tbody>#alert-tr>td, .table-hover>tbody>#alert-tr:hover>td{ background: #fdd; border:1px solid #bbb; }
#alert-tr-red, .table-hover>tbody>#alert-tr-red>td, .table-hover>tbody>#alert-tr-red:hover>td{ background: #faa; border:1px solid #999; }

.alert-warning{background-color: #fca08b; border-color: #fa7c7c; color: #ff0000;}
.alert-success{background-color: #95f093; border-color: #50bc17;  color: #096100;}

#side-menu{ z-index: 1000000; overflow: scroll; min-height: 400px; max-height: 520px; overflow-x: hidden;
  }

/*::-webkit-scrollbar {width: 10px;  background: #aaa; border-radius: 20px; border: 1px solid #000; }*/
/*::-webkit-scrollbar-thumb { background-color: #aaa; -webkit-border-radius: 50px; }*/


.sidebar ul li a.active, .nav li a:focus, .navbar-brand li a:focus {
    background-color: #898997;
    color: #fff; 
}
.alert-dismissable .close, .alert-dismissible .close{top: -2px; right: -10px;}
.close{    font-size: 26px;  font-weight: 800;}
.accountPhoto img{width: 35px; border-radius: 50%; border: 1px solid #3399ff; }

/* print style*/
.divHeader { display: none;  } .divFooter { display: none;  }
  .printMe {display: none;}
  @media print {
    div {display: none;text-align: center;}
    .printMe {display: block; text-align: center; margin: 0 0 15px 0;}  .hidden-print { display: none !important; }
    .printMe h1{ margin: 0; padding: 3px; }
    .printMe h2{ margin: 0; padding: 2px; }
    .divHeader { position: fixed; top: 0;  }.divFooter { position: fixed; bottom: 0; }
  }
  /* end print style*/

.deltext{ text-decoration: line-through; color: #f00; }
#dataTables thead, #salesTBL thead, .dataTables thead {background:#89f;}