/*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;
	}
}

/*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 client (fenêtre) */
@media screen and (max-width: 767px) {
	.modal-customer {
		padding-right: 17px;
	}
	.modal-customer .modal-dialog {
		width: 100% !important;
	}
}
@media screen and (min-width: 768px) {
	.modal-customer .modal-dialog {
		width: 65% !important;
	}
}


/* Styles pour la visualisation d'un paiement (fenêtre) */
@media screen and (max-width: 767px) {
	.modal-payment {
		padding-right: 17px;
	}
	.modal-payment .modal-dialog {
		width: 100% !important;
	}
}
@media screen and (min-width: 768px) {
	.modal-payment .modal-dialog {
		width: 65% !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 (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: #000 !important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-toggle {
	background-color: #000 !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;
}*/

/* Panier */
.header-requisition-product {
	height: 75px;
}
.header-requisition-product a:hover {
	background-color: #f9fafc !important;
}

.header-requisition-product a {
	padding: 29px 12px 24px !important;
	display: block;
}
.header-requisition-product i {
	color: #C0CDDC;
	font-size: 16px;
}
.header-requisition-product .badge {
    display: inline-block;
    font-family: "Open Sans",sans-serif;
    margin: -6px 0 0;
    font-weight: 600;
    padding: 6px 9px;
    height: 25px;
}
.header-requisition-product .badge-primary {
    background-color: #337ab7;
}

@media screen and (max-width: 767px) {
	.header-requisition-product a {
		padding: 29px 5px 24px !important;
	}
}

/* Fancybox */
 .fancybox-overlay {
    z-index: 999999 !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;
}

.cut-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}