/*Largeur des modals bootbox*/
@media screen and (min-width: 768px) {
	.very-large .modal-dialog {
		width: 90%;
	}

	.large .modal-dialog {
		width: 75%;
	}

	.medium .modal-dialog {
		width: 50% !important;
	}
}

.big-bootbox .modal-dialog{
    width: 98%;
    max-width: 1600px;
}

/*La derni�re colonne dune table, avec les boutons, doit etre juste assez grand */
@media screen and (min-width: 768px) {
	.dataTable tr>td:last-of-type {
		width: 1px;
		white-space: nowrap;
	}
}

/*Grandeur du multi-select (Utiliser dans Role)*/
.custom-multi-select {
	width: 100% !Important;
}

/*Pour les les spans d'erreur vide dans le forumlaire ne prenne pas de place*/
.help-block-error {
	margin-top: 0px;
	margin-bottom: 0px;
}

dt,
dd {
	line-height: 1.7 !Important;
}

.form-less-margin {
	margin-bottom: 5px !Important;
}

#form_customer_payment .ms-list {
	height: 320px !important;
}

.ms-list {
	height: 400px !Important;
}

.float-left {
	float: left;
}

.control-label {
	font-weight: bold !important;
}

.bootbox-customer-view .modal-body {
	/*max-width: 115vh;*/
	height: 647.5px;
}

/* Espace entre les labels et les div */
@media screen and (min-width: 768px) {
	.form-horizontal .form-group label {
		padding-right: 0;
	}

	.form-horizontal .form-group label+div {
		padding-left: 0;
	}
}

/* Boutons oranges pour les rapports */
.btn.orange:not(.btn-outline) {
	color: #FFFFFF;
	background-color: #d28a32;
	border-color: #d28a32;
}

.btn.orange:not(.btn-outline):focus,
.btn.orange:not(.btn-outline).focus {
	color: #FFFFFF;
	background-color: #ab7526;
	border-color: #18666d;
}

.btn.orange:not(.btn-outline):hover {
	color: #FFFFFF;
	background-color: #ab7526;
	border-color: #ab7526;
}

.btn.orange:not(.btn-outline):active,
.btn.orange:not(.btn-outline).active,
.open>.btn.orange:not(.btn-outline).dropdown-toggle {
	color: #FFFFFF;
	background-color: #ab7526;
	border-color: #ab7526;
}

.btn.orange:not(.btn-outline):active:hover,
.btn.orange:not(.btn-outline):active:focus,
.btn.orange:not(.btn-outline):active.focus,
.btn.orange:not(.btn-outline).active:hover,
.btn.orange:not(.btn-outline).active:focus,
.btn.orange:not(.btn-outline).active.focus,
.open>.btn.orange:not(.btn-outline).dropdown-toggle:hover,
.open>.btn.orange:not(.btn-outline).dropdown-toggle:focus,
.open>.btn.orange:not(.btn-outline).dropdown-toggle.focus {
	color: #FFFFFF;
	background-color: #8e701f;
	border-color: #8e701f;
}

.btn.orange:not(.btn-outline):active,
.btn.orange:not(.btn-outline).active,
.open>.btn.orange:not(.btn-outline).dropdown-toggle {
	background-image: none;
}

.btn.orange:not(.btn-outline).disabled:hover,
.btn.orange:not(.btn-outline).disabled:focus,
.btn.orange:not(.btn-outline).disabled.focus,
.btn.orange:not(.btn-outline)[disabled]:hover,
.btn.orange:not(.btn-outline)[disabled]:focus,
.btn.orange:not(.btn-outline)[disabled].focus,
fieldset[disabled] .btn.orange:not(.btn-outline):hover,
fieldset[disabled] .btn.orange:not(.btn-outline):focus,
fieldset[disabled] .btn.orange:not(.btn-outline).focus {
	background-color: #d28a32;
	border-color: #d28a32;
}

.btn.orange:not(.btn-outline) .badge {
	color: #d28a32;
	background-color: #FFFFFF;
}

.btn.btn-outline.orange {
	border-color: #d28a32;
	color: #d28a32;
	background: none;
}

.btn.btn-outline.orange:hover,
.btn.btn-outline.orange:active,
.btn.btn-outline.orange:active:hover,
.btn.btn-outline.orange:active:focus,
.btn.btn-outline.orange:focus,
.btn.btn-outline.orange.active {
	border-color: #d28a32;
	color: #FFFFFF;
	background-color: #d28a32;
}

/* Responsive */
@media screen and (max-width: 767px) {

	/* Titres */
	/*.portlet.light>.portlet-title>.caption>.caption-subject {
		font-size: 12px !important;
	}*/
	/* Bouton cr�ation (titre) */
	.portlet.light>.portlet-title .btn {
		/*font-size: 11px !important;
		padding: 3px 4px !important;*/
		margin-bottom: 10px;
		/*margin-top: 10px;*/
	}

	/* Bouton Enlever filtres */
	.form_filter_floor {
		float: right !important;
	}

	.liste-appel {
		width: 100% !important;
	}

	/* Label */
	.label-xs {
		line-height: initial !important;
		padding-left: 0 !important;
		text-align: initial !important;
	}

	/* Champs */
	.no-width-xs {
		width: initial !important;
	}

	/* Padding */
	.no-padding-xs {
		padding: 0 !important;
	}

	/* No margin left */
	.no-margin-left-xs {
		margin-left: 0 !important;
	}

	/* Labels */
	.control-label {
		text-align: left !important;
		/*padding: 0 !important;*/
	}
}

/* Pour mettre une ligne en surbrillance (jaune) */
.modal-order .highlighted td {
	background-color: yellow;
}

.portlet.calendar .fc-event .fc-title {
	font-size: 11px !important;
	white-space: initial !important;
}

.portlet.calendar .fc-event .fc-time {
	font-size: 11px !important;
}

/* Styles pour la visualisation d'un r�le (fen�tre) */
@media screen and (max-width: 767px) {
	.modal-role {
		padding-right: 17px;
	}

	.modal-role .modal-dialog {
		width: 100% !important;
	}
}

@media screen and (max-width: 480px) {	
	#btn_login{
		display: block;
	}
}

@media screen and (min-width: 481px) {	
	#btn_login_wrapper{
		float: right;
	}
}

@media screen and (min-width: 768px) {
	.modal-role .modal-dialog {
		width: 60% !important;
	}
}

/* Styles md (bootstrap) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
	.clear-md {
		clear: both;
	}

	.large-md .modal-dialog {
		width: 75% !important;
	}
}

.form-group select {
	padding-left: 7px;
}

/* Barre de chargement */
.pace .pace-progress {
	height: 3px !important;
	/* On le met plus haut �tant donn� qu'il est plus difficile � voir (en dessous du noir) */
}

/* Menu dans l'en-t�te */
.page-header.navbar .top-menu .navbar-nav>li.dropdown .dropdown-toggle:hover {
	background-color: #fff !important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-toggle {
	background-color: #fff !important;
}

/* On enl�ve la marge en bas pour les derniers �l�ments des formulaires */
/*.form-horizontal div.form-group:last-child {
	margin-bottom: 0;
}*/


/* D�but bootbox custom */
.bootbox-main-title {
	font-weight: 600;
}

.bootbox-content-title {
	font-size: 18px;
}

.bootbox-content-message {
	/*overflow-y: scroll;*/
	overflow-y: auto;
	margin-top: 5px;
}

.bootbox-content-question {
	font-weight: 600;
	font-size: 18px;
	margin-top: 10px;
}

/* Fin bootbox custom */

/* D�but boutons Appliquer pour les multiselects */
@media screen and (max-width: 767px) {
	.btn-multiselect-apply {
		margin-top: 5px;
	}

	.multiselect-container.dropdown-menu {
		margin-top: 45px;
	}
}

@media screen and (min-width: 768px) {
	.btn-multiselect-apply {
		position: absolute;
		right: -95px;
		top: 0;
		z-index: 1000;
	}
}

/* Fin boutons Appliquer pour les multiselects */

.datepicker-orient-top {
	z-index: 10061 !important;
}

ul.page-breadcrumb.breadcrumb .active {
	font-style: italic;
	color: black;
}

/* Fancybox */
.fancybox-overlay {
	z-index: 999999 !important;
}

.fancybox-wrap {
	z-index: 1000000 !important;
}

.ui-widget-overlay {
	opacity: 0.9 !important;
	background: none repeat scroll 0 0 #111111 !important;
}

.fancybox-prev span,
.fancybox-next span {
	/* .... */
	visibility: hidden !important;
}

.fancybox-next {
	z-index: -999 !important;
}

.fancybox-prev {
	z-index: -999 !important;
}

/* D�but advanced-date-picker */
.advanced-date-picker {
	position: relative;
	background: #fff;
	display: inline-block;
	cursor: pointer;
	padding: 5px 10px;
	border: 1px solid #ccc;
}

.advanced-date-picker .caret {
	position: absolute;
	top: 50%;
	margin-top: -2px;
	right: 15px;
}

/* Fin advanced-date-picker */

/* D�but td-description */
#tpl_description {
	display: none;
}

.td-description .description-container {
	overflow-y: hidden;
}

.td-description {
	word-break: break-word;
}

/* Fin td-description */

/* Début quick-sidebar */
/*.nav-tabs li {
	border-bottom: 4px solid #fff !important;
}

.nav-tabs li:hover {
	border-bottom: 4px solid #36c6d3 !important;
}

.nav-tabs li.active {
	border-bottom: 4px solid #36c6d3 !important;
}*/

.quick-sidebar-icon {
	position: relative !important;
	top: 12px !important;
	font-size: 32px !important;
}

.page-quick-sidebar-overlay {
	display: none;
	transition-duration: 0.4s;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.0);
	z-index: 9999;
}

.page-quick-sidebar-open .page-quick-sidebar-overlay {
	display: block;
	background-color: rgba(0, 0, 0, 0.4);
}

/*
	Réécriture des styles pour la bare de navigation de droite
*/
.page-quick-sidebar-wrapper.light {
	background-color: #fff !important;
}

.page-quick-sidebar-wrapper.light .media:hover {
	background-color: #eee !important;
}

.quick-sidebar-organisation-icon {
	height: 43px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.page-quick-sidebar-wrapper.light .page-quick-sidebar {
	background-color: #fff !important;
	color: #000 !important;
}

.page-quick-sidebar-wrapper.light .page-quick-sidebar ul li a {
	color: #000 !important;
}

.page-quick-sidebar-wrapper.light .page-quick-sidebar ul li {
	cursor: pointer;
}

.page-quick-sidebar-wrapper .page-quick-sidebar .list-items>li {
	border-bottom-color: #fff !important;
}

.page-quick-sidebar-toggler>i:hover {
	color: #555 !important;
}

/* Fin quick-sidebar */

.page-quick-sidebar-wrapper .page-quick-sidebar .list-items>li {
	padding: 8px !important;
}

.page-quick-sidebar-wrapper.light .media.quick-sidebar-btn-buy-backup a {
	color: #830000 !important;
}

.page-quick-sidebar-wrapper.light .media.quick-sidebar-btn-buy-backup {
	background-color: rgb(255, 205, 205) !important;
}

.page-quick-sidebar-wrapper.light .media.quick-sidebar-btn-buy-backup:hover {
	background-color: rgb(255, 187, 187) !important;
}

.h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: initial !important;
}

.input-xxsmall {
	width: 80px !important;
}

@media (min-width:768px) {
	.modal-update-password .modal-dialog {
		width: 645px;
	}
}

/* DÉBUT champs obligatoires */
.form-horizontal .required-fields-message{ 
	color:#b3b3b3;
	font-style:italic;
	margin-bottom: 10px;
	margin-top: -5px;
	font-size: 13px;
}
.form-horizontal .form-group label.control-label{ padding-right: 10px;}
.form-horizontal .label-required::after{
	content: "*";
	color:#b3b3b3;
	position: absolute;
	right:2px;
}
@media all and (min-width:768px){
	.form-horizontal .label-required::after{
		top:10px;
	}
}
@media all and (max-width:767px){
	.form-horizontal .label-required::after{
		top:3px;
	}
}
/* FIN champs obligatoires */