.btn-savereturn {
	margin-left: 5px;
}

.btn-saveonly {
	margin-left: 5px;
}


.btn-savenew {
	margin-left: 5px;
}


.spinner {
    display:    none;
    position:   fixed;
    z-index:    10000000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('//i.stack.imgur.com/FhHRx.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .spinner {
    display: block;
}

.sidebar #nav li.widget-manager i {
	margin:0;
}
.sidebar #nav li.widget-manager .btn-xs {
	padding: 0;
}
.sidebar #nav>li.widget-manager>a.subdrop{
background-color: #90c090;	
	padding-left: 5px;
}

.sidebar #nav li.widget-manager a {padding-left: 3px;}


.modal:nth-of-type(odd) {
    z-index: 1042 !important;
}

        
    table tr {
  cursor: pointer; }

    table tr.placeholder {
      display: block;
      background: red;
      position: relative;
      margin: 0;
      padding: 0;
      border: none; }

  table tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    margin-top: -5px;
    left: -5px;
    border-right: none; }

  	
.tab-content {
	padding-top: 20px; padding-left: 15px;
	
}

.tab-content .control-label {
	text-align:left;	
}

.chosen-container { 
    width: 100% !important; /* desired width */
} 

.form-horizontal .form-group-table {
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
}

.has-error select.form-control+.chosen-container-multi .chosen-choices,
.has-error select.form-control+.chosen-container-single .chosen-single,
.has-error .chosen-container-single .chosen-single {
	border-color: #a94442;
}

.has-success select.form-control+.chosen-container-multi .chosen-choices ,
.has-success select.form-control+.chosen-container-single .chosen-single,
.has-success .chosen-container-single .chosen-single  {
  border-color: #3c763d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-right>.dropdown-menu {
    right: -100%;
    margin-right: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.progress-bar {
    overflow-x:visible;
    white-space:nowrap;
    color:black; /* color is for demo purposes */
}

.chosen-container .chosen-results li.group-result {
    font-weight: bold !important;
}

@media only screen and (max-width: 700px),
only screen and (max-device-width: 700px){
    .tab-content {
        padding:0px;
    }
    .panel-heading {
        padding-right: 0px;
        padding-left: 0px;
    }
    .nav>li>a {
        padding: 10px 5px;
    }

    .panel-body {
        padding: 5px;
    }

    h2 {
        font-size: 20px;
    }
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
        padding: 4px;
    }
    .bread-crumb {
        display: none;
    }
    .mainbar .page-head {
        padding: 0  px 5px;
    }

    .mainbar .page-head h2 {
        font-size: 20px;
    }
}