body { padding-top:70px; }

#left-menu-inner {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 50px;
    height: 100%;
    width: 250px;
    background-color: #F8F8F8;
    border-color: #E7E7E7;
    border-right-style: solid;
    border-right-width: 1px;
}

#left-menu-inner-inner {
    height: 100%;
    width: 100%;
    padding-top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

#main-with-left-menu {
    margin-left: 250px;
}

/** 
 * move the body and the left menu with the navbar
 * breaking points shoud match boostrap's @screen-sm and @screen-lg
 */
@media (min-width: 768px) { 
body { padding-top:120px; }
#left-menu-inner { padding-top: 100px; } 
}
@media (min-width: 1200px) {
body { padding-top:70px; }
#left-menu-inner { padding-top: 50px; }
}

@media (max-width: 768px) { 
#left-menu { display: none; }
#main-with-left-menu { margin-left: 0; }
}

.menu-title {
    padding-left: 14px;
}

.menu-item > a {
    color: rgb(119, 119, 119);
}

.required:after {
    content:'*';
    color:red;
    padding-left:5px;
}

.pointer {
    cursor: pointer;
}

.admin {
    color: grey;
}

.bootstrap-select>.dropdown-toggle {
  height: 2.5em;
}  

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
    margin-top: 2.5em;
    margin-right: -1em;
}

.navbar .dropdown-toggle {
    height: 55px;
}

.avatar {
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: -3px;
}

.anchor {
    padding-top: 71px;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    display: none;
    bottom: 20px;
    right: 20px;
    box-shadow: 0px 0px 0px 3px white;
}

/* use ellipse to manage long texts */
.ellipse {
  max-width: 0; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap;
}

/* show ellipsed text on hover */
.ellipse:hover {
  overflow: visible; 
  white-space: normal;
  height:auto;
}

/* adjustments to tablesorter theme */
.tablesorter thead .disabled {
  display:none;
}

.hidden {
  display: none;
}

/* allow html5's search-cancel-button hidden by boostrap */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}
