/*
 * Body
 * --------------------------------------------------
 */
body {
  height:100%;
  padding-top: 50px;
  margin-bottom: 0;
}

html,.row-offcanvas {
  height:100%;
}

/*
 * Navbar
 * --------------------------------------------------
 */
.navbar {
    background-color: #e4e4e4;
    min-height: 40px;
}

.navbar-toggle {
    padding: 4px 10px;
    margin-bottom: 0px;
}
.navbar-nav {font-size: 18px;}

.navbar-nav > li > a, .navbar-brand {
    color: #333;
    padding-top: 10px;
    padding-bottom: 0;
    height: 40px;
}

.brand {
  color:#808080;
  font-size:25px;
  line-height:1.6;
}

.brand:hover {
  color:#808080;
  text-decoration:none;
}

#crm_sidebar {
  width: inherit;
  min-width: 220px;
  max-width: 220px;
  background-color:#f5f5f5;
  float: left;
  height:100%;
  position:relative;
  overflow-y:auto;
  overflow-x:hidden;
}
#crm_main {
  height:100%;
  overflow:auto;
}

/*
 * off Canvas sidebar
 * --------------------------------------------------
 */
@media screen and (max-width: 768px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    width:calc(100% + 220px);
  }

  .row-offcanvas-left
  {
    left: -220px;
  }

  .row-offcanvas-left.active {
    left: 0;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
  }
}

#crm_sidebar a {
  color:#3e3f3a;
  text-decoration:none;
}

ul.sbml0 > li, ul.sbml1 > li {
    list-style-type:none;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
	line-height: 2;
	color: #3e3f3a;
}

ul.sbml0 > li {
    font-weight: bold;
}

ul.sbml1 > li {
    font-weight: normal;
}

/*
 * work_head page header
 * --------------------------------------------------
 */
#work_head {
    border-bottom: medium solid #808080;
    margin-bottom: 4px;
    padding-bottom: 5px;
}

.crm_wh00 > h2 {
    margin-top: 0;
}

/*
 * work_area page space
 * --------------------------------------------------
 */
.panel {
    margin: 0 10px 10px;
}

.panel-body {
    padding: 5px 15px 0px 15px;
}

.tab-content {
    border: 1px solid #ddd;
    border-width: 0 1px 1px;
    padding: 10px 1px 1px;
    margin: 0 10px 10px;
}

.nav-tabs {
    margin: 0 10px;
}

.nav-tabs > li > a {
    color: #333;
}

.crm-form-col {
    padding: 0;
}

.web2py_checkboxeswidget.horizontal {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.web2py_checkboxeswidget.horizontal > div {
    margin-right: 10px;
    display: inline-block;
}

.web2py_radiowidget.horizontal {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.web2py_radiowidget.horizontal > div {
    margin-right: 10px;
    display: inline-block;
}

/*
 * FullCalendar mods
 * --------------------------------------------------
 */
.fc-event {
    font-size: 1em;
    border: 2px solid;
    border-radius: 5px;
}