body {
  padding-top: 70px;
  padding-left: 250px
}

@media screen and (max-width: 900px) {
  body{
    padding-left: 0px
  }
}


.clear {
  clear: both;
}

#main {
  padding : 0 10px;
  float: left;
  width: 100%;
}

#topmenu {
  position: fixed;
  top : 0;
  left: 0;
  width: 100%;
  z-index: 5;
  height: 60px;
}

#topmenu > div {
  width:100%;
  position: relative;
}


#topmenu a.navbar-brand{
  height: 35px;
}

#topmenu a.navbar-brand img{
  height: 100%;
  width: auto;
}


#topmenu #open-menu-btn, #topmenu #close-menu-btn{
  font-size: 20px;
  vertical-align: middle;
  margin-right: 10px;
  display: none;
}


@media screen and (max-width: 900px) {


  body #topmenu #open-menu-btn{
    display: inline-block;
  }

  body.menu-opened #topmenu #open-menu-btn{
    display: none;
  }

  body.menu-opened #topmenu #close-menu-btn{
    display: inline-block;
  }



}

#menu {
  float: left;
  width: 250px;
  height: calc(100vh - 70px);
  background-color: #eee;
  border-right : 1px solid #ccc ;
  font-size : 17px;
  position : fixed;
  left : 0;
  z-index: 99;
}


@media screen and (max-width: 900px) {
  body #menu {
    left: -250px;
    background-color: rgba(0 , 0 , 0 , 0.9);
    transition: left 500ms;
  }

  body.menu-opened #menu{
    left: 0;
    transition: left 500ms;
  }
}


#menu .nav-link:not(.active):hover{
  background-color: #ddd;
}


h2.title {
  border-bottom: solid 1px #ccc;
  padding-bottom : 15px ;
  margin-bottom: 20px ;
}

.actions {
  margin-bottom: 15px;
}

.btn-rnd {
  border-radius: 50%;
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
}

.table-content {
  overflow: auto;
  height: calc(100vh - 240px);
  width : 100%;
}

.pagination {
  margin: 0;
}

.pull-right {
  float: right;
}


.pull-left {
  float: left;
}

.pager {
  text-align: center;
}

.pager ul.pagination {
  display: inline-flex;
}

table tr.status-draft , table tr.status-pending  {
  background-color: rgba(250 , 140 , 0 , 0.2);
}

table tr.status-published , table tr.status-validated {
  background-color: rgba(0 , 128, 50 , 0.2);
}

table tr.status-rejected {
  background-color: rgba(255 , 0, 0 , 0.2);
}


.sorter {
  float : right;
}

.search-box {
  float : right;
}

.not-read {
  font-weight: bold ;
}

.notifications-badge {
  background-color: red;
  width: 20px;
  height: 20px;
  display: block;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 10px;
  position: absolute;
  left: -10px;
  top: -7px;
  padding-top : 3px;
}

.autocomplete.empty {
  font-style: italic;
  color : #999;
}

.bootstrap-autocomplete{
  width : auto !important;
}

.search-control.not-empty {
  background-color: linen;

}

.table .dropdown {
  float: right;
  margin-left: 5px;
}

.table .row {
  margin: 0;
}

table th {
  text-align: center;
}

.sorter > a {
  text-decoration: none !important;
}

.sorter a.enabled {
  color : red;
}
