body {
    background-color: #fafafa;
}

a:focus, a:hover{
	color: #777;
}

.table>tbody>tr>td{
	vertical-align: middle;
}

.text-muted{
	color: #666;
}
.text-palatin{
    color: #fdc33c;
}

.dropdown-menu-aside{
	top: -2px;
	left: 100%;
	margin: 0 0 0 5px;
}

.input-group .form-control{
	z-index: auto;
}

::-webkit-input-placeholder { opacity: 0.7; }
::-moz-placeholder { opacity: 0.7; } /* firefox 19+ */
:-ms-input-placeholder { opacity: 0.7; } /* ie */
:-moz-placeholder { opacity: 0.7; }

.checkbox-inline label{
	font-weight: 400;
}

#wrapper {
    width: 100%;
    background: #fff url(/images/bg_cuna.jpg) left bottom no-repeat;
    background-attachment: fixed;
}

#dynamic-alert-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    padding: 5px;
    background-color: #3b3b3b;
    color: #fff; 
    z-index: 998;
    display: none;
}
#dynamic-alert-wrapper.success {
    background-color: #a8ce46;
    color: #fff; 
}
#dynamic-alert-wrapper.waiting {
    background-color: #e3aa0c;
    color: #fff; 
}
#dynamic-alert-wrapper.error {
    background-color: #e33a0b;
    color: #fff; 
}

#notif-total{
	position: absolute;
	right: -2px;
	top: 8px;
	margin-right: 5px;
	margin-bottom: 5px;
	width: 19px;
	height: 19px;
	text-align: center;
	border-radius: 20px;
	background-color: #ed2e2e;
	font-size: 13px;
	font-weight: bold;
}
#notifications-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    padding: 15px;
    padding-bottom: 0;
    background-color: rgba(34, 34, 34, 0.9);
    color: #fff; 
    z-index: 999;
    display: none;
}
#notifications-wrapper h4{
	margin: 5px 0;
}
#notifications-wrapper hr{
	border-color: #666;
	margin: 10px 0;
}
#notifications-wrapper #notif-area{
	margin-top: 5px;
	display: inline-block;
}
#notifications-wrapper .panel{
	border: none;
	border-radius: 30px;
	background-color: transparent;
}
#notifications-wrapper a:hover .panel{
	background-color: #444;
}
#notifications-wrapper table{
	width: 100%;
}
#notifications-wrapper td{
	vertical-align: middle;
	line-height: 20px;
}
#notifications-wrapper td .badge-icon{
	height: 40px;
	width: 40px;
	padding: 11px;
	background-color: #555;
	text-align: center;
}
#notifications-wrapper td .badge-icon i{
	color: #fdc33c;
}
#notifications-wrapper td.title{
	padding: 5px;
	color: #ccc;
	font-weight: bold;
}
#notifications-wrapper td small{
	padding: 5px;
	padding-right: 10px;
	color: #999;
}

#page-wrapper {
    padding: 0 15px;
	margin: 51px 0 0 0;
    min-height: 568px;
    background-color: #fafafa;
    color:#444;
}

#page-wrapper .page-header .btn-lg {
	margin-top: -10px;
}

@media(min-width:768px) {
    #dynamic-alert-wrapper {
        margin: 0 0 0 250px;
        border-color: #cfcfcf; 
        border-width: 0 0 0 1px; 
        border-style: solid; 
    }
    #notifications-wrapper {
        margin: 0 0 0 250px;
        padding: 15px 30px;
		padding-bottom: 0;
        border-color: #cfcfcf; 
        border-width: 0 0 1px 1px; 
        border-style: solid; 
    }
    #page-wrapper {
        position: inherit;
        margin-left: 250px;
        padding: 0 30px;
        border-left: 1px solid #cfcfcf;
    }
}

.navbar-brand{
	padding: 10px 15px;
}

.navbar-brand img{
	height: 100%;
}

.navbar-top-links {
    margin-right: 0;
    text-align: right;
    margin-top: -50px;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.nav .dropdown > a{
	color: #fff;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover, .nav .dropdown > a:hover {
    background-color: #333;
    border-color: #337ab7;
}

.dropdown-menu{
	background-color: #eee;
}

.dropdown-menu>li>a{
	color: #333;
}

.navbar-top-links .dropdown-menu {
	border-radius: 0px;
	margin: 0;
	padding: 0;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 15px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li.divider {
    margin: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar{
	background-color: rgba(247, 247, 247, 0.95);
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
    border-bottom: 1px solid #cfcfcf;
}

.sidebar-search ul#results{
	list-style:none;
	margin:0;
	padding:0;
	max-height:300px;
	overflow-y:auto;
	color: #444;
}

.sidebar-search ul#results li{
	border:none;
	margin:0;
	padding:0;
}

.sidebar-search ul#results li:first-child{
	margin-top:5px;
}

.sidebar-search ul#results li a{
	display: block;
	padding: 8px 0;
	background: none;
}

.sidebar ul li a{
	color: #333;
	padding: 15px 15px;
}

.sidebar ul li a i{
	color: #fdc33c;
	margin-right: 5px;
	width: 20px;
	text-align: center;
	margin-top: -2px;
}

.sidebar ul li a.active, .sidebar ul li a:hover {
	background-color: rgba(203, 203, 203, 0.5);
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
		position: fixed;
        top: 51px;
		bottom: 0;
		left: 0;
        width: 250px;
		overflow-y: auto;
    }
	.navbar-top-links {
	    margin-top: 0;
	}
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

#login-logo{
    margin-top: 25%;
	width: 100%;
}

#login-logo img{
	width: 100%;
}

.login-panel {
    margin-top: 50px;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

.dataTables_wrapper .table-responsive{
    width: 100% !important;
}

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 {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: "Font Awesome 5 Free";
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: "Font Awesome 5 Free";
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: "Font Awesome 5 Free";
    color: rgba(50,50,50,.5);
}

table.details td{ padding:5px; }
table.details td.detail-label{ vertical-align:top;text-align:right;font-weight:bold; }
td.details-control, td.status-control {
	text-align: center;
	width: 1%;
}
td.col-date {
	text-align: center;
	width: 140px;
}
@media(max-width:767px) {
	td.col-date {
		width: 80px;
	}
}
td.details-control .btn, td.status-control .switch { cursor: pointer; }

td .user-badge{
	height: 36px;
	width: 36px;
	border-radius: 100%;
	border: 3px solid #fff;
	background-color: #fff;
	background-size: 125%;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
}

.input-xs{
	height: 20px;
	line-height: 20px;
	font-size: 12px;
}

.btn-xxs{
	padding: 0px 4px;
	font-size: 10px;
	line-height: 1.6;
	border-radius: 3px;
}
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}
.btn-circle.btn-lg i.fa{
	line-height: 30px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}
.btn-circle.btn-xl i.fa{
	line-height: 50px;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel {
	border-radius: 0;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
}

.panel-default{
	border-color: #ebebeb;
	background-color: #f6f6f6;
	transition: all 0.4s;
}

.panel-default .panel-heading{
	color: #666;
	background-color: transparent;
	border-color: #ebebeb;
	transition: all 0.4s;
}

.panel-default .panel-heading>i,
.dropdown-menu li i{
    color: #fdc33c;
    margin-right: 5px;
}

.panel-default .panel-heading .btn i{
    color: inherit;
}

.panel-default.active{
	border-color: #bbb;
	-moz-box-shadow: 0px 0px 5px 0px #c0c0c0;
	-webkit-box-shadow: 0px 0px 5px 0px #c0c0c0;
	-o-box-shadow: 0px 0px 5px 0px #c0c0c0;
	box-shadow: 0px 0px 5px 0px #c0c0c0;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=NaN, Strength=5);
}

.panel-default.active .panel-heading{
	color: #fff;
	background-color: #494949;
	border-color: #bbb;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.collaborateur-photo{
	cursor: pointer;
	position: relative;
}
.collaborateur-photo .btn-xs{
	position: absolute;
	bottom: 0;
	right: 0;
	margin:20px;
	padding: 8px 8px 5px 8px;
	opacity: 0.7;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.collaborateur-photo .btn-xs.btn-danger{
	bottom: auto;
	top: 0;
}
.collaborateur-photo:hover .btn-xs, 
.collaborateur-photo .btn-xs:hover{
	opacity: 1;
}
.collaborateur-photo .btn-xs i{
	font-size: 18px;
}

ul.ui-autocomplete.ui-menu{
	background-color: #fff;
	list-style: none;
	padding: 0;
	border-radius: 0 0 5px 5px;
	border: 1px #ccc solid;
	border-top: none;
	box-shadow: 0 6px 6px rgba(0, 0, 0, 0.15);
}

ul.ui-autocomplete.ui-menu li{
	padding: 8px 15px;
	color: #333;
	border-bottom: 1px solid #ddd;
	font-weight: 300;
}

ul.ui-autocomplete.ui-menu li:last-child{
	border-bottom: none;
}

ul.ui-autocomplete.ui-menu li.ui-state-focus{
	background-color: #f5f5f5;
  cursor: pointer;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
  margin-bottom: -4px;
}

/* Hide default HTML checkbox */
.switch input { display:none; }

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 18px;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #5cb85c;
}

input:focus + .slider {
  box-shadow: 0 0 1px #5cb85c;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}



.timeline {
	position: relative;
	margin: 0;
	width: 100%;
}

.timeline::before {
	content: '';
	position: absolute;
	width: 1px;
	background-color: #ddd;
	top: 30px;
	bottom: 30px;
	left: 30px;
	margin-left: -0.5px;
}

.timeline > .timeline-item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: stretch;
	position: relative;
	margin-bottom: 30px;
}
.timeline > .timeline-item:last-child{
	margin-bottom: 0;
}
.timeline > .timeline-item > .timeline-item-icon{
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	color: #fff;
	background-color: #444;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
}
.timeline > .timeline-item > .timeline-item-icon > .user-badge{
	position: absolute;
	right: -6px;
	bottom: -6px;
	height: 32px;
	width: 32px;
	border-radius: 100%;
	border: 3px solid #fff;
	background-color: #fff;
	background-size: 125%;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
}
.timeline > .timeline-item > .timeline-item-content{
	flex: 1 1 auto;
	font-size: 14px;
	padding: 10px 15px;
}
.timeline > .timeline-item > .timeline-item-content > .timeline-item-date{
	font-weight: 300;
	color: #777;
}
.timeline > .timeline-item > .timeline-item-content > .timeline-item-title{
	font-weight: 700;
	color: #000;
}
.timeline > .timeline-item > .timeline-item-content > .timeline-item-title > .user-badge{
	display: inline-block;
	height: 28px;
	width: 28px;
	margin: -9px 0;
	border-radius: 100%;
	border: 2px solid #fff;
	background-color: #fff;
	background-size: 125%;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.timeline > .timeline-item > .timeline-item-content > .timeline-item-comment{
	font-style: italic;
	font-size: 13px;
	margin-top: 5px;
}
.timeline > .timeline-item > .timeline-item-btn{
	flex: 0 0 auto;
	align-self: center
}
.timeline > .timeline-item > .timeline-item-btn a{
	display: block;
	color: #ddd;
}
.timeline > .timeline-item > .timeline-item-btn a:hover{
	color: #bbb;
}
.timeline > .timeline-item > .timeline-item-btn svg{
	display: block;
	height: 30px;
	width: 30px;
	fill: currentColor;
}

.timeline > .timeline-item.deactived > .timeline-item-content{
	opacity: 0.4;
}
.timeline > .timeline-item.deactived > .timeline-item-content > .timeline-item-title{
	text-decoration: line-through;
	font-weight: 400;
}