/* NEW DESIGN *****************************************************************/

body.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#page-container {
  padding: 15px;
}
#besidemenu {
  background-color: #eeeeee;
  flex: 1;
}
#undertopbar {
  display: flex;
  flex: 1 1 auto;
}
#leftmenu {
  background-color: #24445c;
  width: 300px;
  padding: 35px 15px;
}
.menusection {
  color: #ffffff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
} 
.menusection > .iconcircle {
  background-color: #666666;
  border-radius: 50%;
  padding: 10px;
  width: 48px;
  height: 48px;
}
.menusection > .iconcircle > i {
  position: relative;
}
.menusection > .sectionname {
  flex: 1;
}
.menusection > .sectionname > a {
  color: #ffffff;
  padding-left: 15px;
  font-size: 18px;
}
.topmenu {
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 15px;
}
.topmenu > a {
  color: #666;
}
.topmenu > a.active {
  background-color: #666;
  border-color: #666;
  color: #fff;
}
.subsections {
  padding-left: 50px;
  margin-bottom: 30px;
}
.subsections > div {
  padding-bottom: 10px;
}
.subsections > div > a {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover {
  background-color: #008de3;
}
.navbar-default .navbar-nav > li > a:focus {
  background-color: #0074ba;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #0074ba;
}
.navbar-default .navbar-nav > .open > a:hover {
  background-color: #008de3;
}
.navbar-default .navbar-nav .open .dropdown-menu > li {
  background-color: #0074ba;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
  background-color: #008de3;
}

/******************************************************************************/


/* DATATABLES */

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  position: static;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
  position: relative;
  bottom: 0;
  right: 0;
  left: 5px;
  font: normal normal normal 14px/1 FontAwesome;
  opacity: 0.6;
  text-rendering: auto;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

table.dataTable thead .sorting:after {
  content: "\f0dc";
}

table.dataTable thead .sorting_asc:after {
  content: "\f0de";
}

table.dataTable thead .sorting_desc:after {
  content: "\f0dd";
}

div.dataTables_wrapper div.dataTables_paginate {
  margin-top: 10px;
  text-align: center;
}

div.dataTables_wrapper div.dataTables_filter {
  margin-bottom: 10px;
}

div.dataTables_wrapper div.dataTables_filter input {
  display: table-cell;
  margin-left: 0;
}



.login-form {
  max-width: 600px;
  margin: auto;
  margin-top: 10%;
}

.mosaic-icon {
  font-size: 75px;
}
.mosaic-thumbnail {
  padding: 15px 0;
}
.mosaic-thumbnail:hover {
  padding: 15px 0;
  text-decoration: none;
}
.mosaic-label {
  font-size: 15px;
  font-weight: 700;
  padding-top: 10px;
}

.flashes > *:first-child {
  margin-top: 10px;
}

.cursor-pointer {
  cursor: pointer;
}

.margin-none,
.no-margin {
  margin: 0px;
}

.text-middle {
    vertical-align: middle !important;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, 
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background: #4E4E4E;
}
.fit-content {
  width: 1%;
  white-space: nowrap;
}


/* LEFT MENU */

#flex-container {
  display: flex;
}
#flex-container-content {
  flex-grow: 1;
}
#flex-container > .slide-menu {
  flex-shrink: 0;
  margin-right: 10px;
}
#flex-container > .slide-menu .list-group-item {
  border: none;
  color: #000;
}
#flex-container > .slide-menu .list-group-item.active {
  background-color: #fff;
  font-weight: 700;
  color: #c22d16 
}
#flex-container > .slide-menu .list-group-item.btn-menu-collapse {
  cursor: pointer;
}
#flex-container > .slide-menu .item-text {
  margin-left: 5px;
}
#flex-container > .slide-menu.collapsed .item-text {
  display: none;
}


/* NOTIFICATIONS */

#notifications {
  font-size: 14px;
  width: 500px;
}
#notifications li a {
  text-align: left;
  white-space: normal;
}
#notifications .notification-close {
  margin: 0;
}
#notifications .notification-close:hover {
  color: #eeeeee;
}
#notifications .notification-text {
  padding-right: 15px;
}
#notifications-icon {
  position: relative;
}
#notifications-counter {
  background-color: red;
  border: 2px solid #ffffff;
  border-radius: 20%;
  color: #ffffff;
  font-size: 12px;
  height: 20px;
  line-height: 15px;
  padding: 0 3px;
  position: absolute;
  right: 11px;
  text-align: center;
  top: 13px;
}


/* PAGINATION */


.pagination-wizard {
  background-color: #f5f5f5;
  border: 2px solid #999999;
  list-style-type: none;
  padding-left: 0;
}
.pagination-wizard > li {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin-left: -16px;
  margin-right: 15px;
  padding: 6px;
  padding-left: 22px;
  position: relative;
}
.pagination-wizard > li.active {
  background-color: #999999;
}
.pagination-wizard > li:first-child {
  margin-left: 0;
  padding-left: 10px;
}
.pagination-wizard > li:before,
.pagination-wizard > li:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.pagination-wizard > li:after {
  border-color: rgba(245, 245, 245, 0);
  border-left-color: #f5f5f5;
  border-width: 15px;
  margin-top: -15px;
  z-index: 1;
}
.pagination-wizard > li.active:after {
  border-left-color: #999999;
}
.pagination-wizard > li:before {
  border-color: rgba(153, 153, 153, 0);
  border-left-color: #999999;
  border-width: 18px;
  margin-top: -18px;
}
.pagination-wizard > li.active > a,
.pagination-wizard > li.active > a:hover,
.pagination-wizard > li.active > a:focus {
  color: #ffffff;
}
.pagination-wizard > li > a:hover {
  color: #999999;
  cursor: default;
  text-decoration: none;
}
.pagination-wizard > li > a:focus {
  color: #999999;
  text-decoration: none;
}
