body {
  padding-top: 70px;
  padding-left: 250px;
  background-color : #F7F9FC;
}

@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: 100;
}

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


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

#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;
  width: 30px;
  height: 30px;
  text-align: center;
}

.table-content {
  overflow: auto;
  height: calc(100vh - 265px);
  width : 100%;
  justify-content: center;
  align-items: center;
}

.table-header {
  text-align: center;
  font-weight: bold;
}

.table-content.empty {
  background-color:  #eee;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-content.empty .container-fluid {
  display: none;
}

.table-content.empty:before {
  content: 'Aucun élément à afficher';
  width: 100%;
  text-align: center;
  color: #888;
  font-weight: lighter;
}



.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;
}

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

.right {
  float: right;
}

.table-content .row {
  padding: 10px 5px;
  border-bottom: 1px solid #ccc;
  position: relative;
}

#filters-panel {
  background: #eee;
}

a.filters-btn.collapsed .fa-caret-down , a.filters-btn .fa-caret-up{
  display: none !important;
}

a.filters-btn.collapsed .fa-caret-up ,a.filters-btn .fa-caret-down{
  display: inline !important;
}

.main-badge-col {
  display: none;
}

@media screen and (max-width: 770px) {
  h2.title {
    font-size: 16px;
  }

  .table-header {
  display: none;
  }

  .table-content .row {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    box-shadow: 0 0 5px 0px #aaa;
    cursor : pointer;
  }

  /*.table-content .row.selected {
    box-shadow: 0px 3px 11px #111;
    background-color: #eafcff;
    transition:  box-shadow 500ms, background-color 500ms, transform 500ms;
  }*/
  .table-content .row .row-actions {
    display: none !important;

  }

  .table-content .row.selected .row-actions , .table-content .row.always-show-actions .row-actions {
    display: block !important;
    position: absolute;
    width: auto;
    z-index: 6;
    top: 14px;
    right: 0px;
  }

  .table-content .row.has-main-badge {
    padding-left: 70px;
  }

  .main-badge-col {
    position: absolute;
    left: 0;
    justify-content: center;
    align-items: center;
    width : 80px;
    text-align: center;
    height: 100%;
    top: 0;
    display: flex;
  }

  .main-badge-col .badge {
    width: 45px;
    height: 45px;
    color: rgba(1 , 1 , 1 , 0 ) !important;;
    text-indent: 5px;
  }

  .main-badge-col .badge:first-letter {
    color: #fff !important;;
    font-size: 35px;
  }
}


