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

	/* Bouton création (titre) */
	.portlet.light>.portlet-title .btn {
		margin-bottom: 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) */
}

/* 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,
.timepicker-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: 5px;
	}
}

@media all and (max-width:767px) {
	.form-horizontal .label-required::after {
		top: 3px;
	}
}

/* FIN champs obligatoires */

/* Pour afficher du contenu à l'extérieur du bootbox, et empêcher de scroller en arrière. */
/*.modal-body {
	overflow-y: visible !important;
	max-height: none !important;
}
.modal-open {
	overflow-y: hidden !important;
}*/

/* Shortcuts bootstrap 4 */

.page-logo{
	margin-left: 0 !important;
}

.top-menu .page-content{
	margin: 0 !important;
	padding-left: 0 !important;
}

.top-menu .page-sidebar-wrapper{
	display: none !important;
}

.top-menu .page-container{
	margin-top: 120px !important;
}

.top-menu-wrapper{
	display: none;
	position: fixed;
	top: 75px;
	left:0;
	width: 100%;
	z-index: 9994;
	border-bottom: 1px solid #ddd;
}

.top-menu-wrapper .navbar{
	border-radius: 0 !important;
	border: none !important;
	margin-bottom: 0;
	background-color: #fff;
}

.top-menu-wrapper li:hover{
	background-color: rgba(0,0,0,0.05) !important;
}

.top-menu .top-menu-wrapper{
	display: block;
}

.top-menu .top-menu-wrapper .dropdown-header{
	background-color: #eee;
	padding: 5px 16px;
	font-size: 14px;
	margin-top: 10px;
}

@media screen and (max-width: 991px){
	.top-menu .page-sidebar-wrapper{
		display: block !important;
	}
	.top-menu .top-menu-wrapper{
		display: none !important;
	}
	.top-menu .page-container{
		margin-top: 0 !important;
	}
}

@media screen and (min-width: 992px) {
	.top-menu .page-content {
		min-height: auto !important;	
	}
}

.footable > tbody.expandable > tr:not(.footable-detail-row):not(.footable-empty) > :first-child {
	cursor: pointer;
}

/* Affichage des filtres */
.filter-list {
	display: grid;
}

.filter-list .control-label {
    padding-left: 15px;
    padding-right: 15px;
}

.filter-list .input {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
}

.action-remove-filters {
    padding-left: 15px;
    padding-right: 15px;
}

.filter-list .action-remove-filters {
    grid-area: reset;
}

.filter-list .action-list-refresh.hidden {
	display: inline-block !important;
	visibility: hidden;
}

@media screen and (max-width: 767px) {
    .filter-list .control-label {
        padding-left: 30px;
    }
}

@media screen and (min-width: 1200px) {
	.filter-list {
		align-items: center;
	}

	.filter-list > .control-label {
        text-align: right;
        margin-bottom: 15px;
	}
}

.select2-input-container.input-group .select2-container--bootstrap .select2-selection {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Début thème personnalisé */
/* Utiliser les couleurs provenant de https://palettegenerator.com/ */

.modal-sheet .modal-content {
	background-color: #DBE0E3 !important;
}

.modal-sheet .btn.default:not(.btn-outline) {
	background-color: #BAC0C5 !important;
	border-color: #BAC0C5 !important;
}

.modal-footer button[data-bb-handler="cancel"] {
	background-color: #BAC0C5 !important;
}

.modal-content {
	background-color: #EEE0D0 !important;
}

.modal .modal-header {
    border-bottom: 1px solid #8c8c8c !important;
}

.modal-footer {
    border-top: 1px solid #8c8c8c !important;
}

.alert-nas .modal-content {
	background-color: #fff !important;
}

.panel {
	background-color: #EEE0D0 !important;
}

.panel-heading {
	background-color: #28426B !important;
}

.panel-title {
	color: #fff !important;
}

.panel-default {
	border-color: #DBE0E3 !important;
}

.btn.purple {
	background-color: #28426B !important;
	border-color: #28426B !important;
}

.btn.purple:not(.btn-outline):hover {
    background-color: #1d3150 !important;
    border-color: #1d3150 !important;
}

.btn.purple:not(.btn-outline):active {
    background-color: #132033 !important;
    border-color: #132033 !important;
}

.modal-footer button[data-bb-handler="cancel"]:hover {
    background-color: #a5abaf !important;
    border-color: #a5abaf !important;	
}

.modal-footer button[data-bb-handler="cancel"]:active {
    background-color: #989da0 !important;
    border-color: #989da0 !important;	
}

.btn.orange {
	background-color: #C1A47A !important;
	border-color: #C1A47A !important;	
}

.portlet.light {
	background-color: #DBE0E3 !important;
}

.portlet.light.bordered {
    border: 1px solid #8494AE !important;
}

body {
	background-color: #8494AE !important;
}

.footable-header th {
	background-color: #EEE0D0 !important;
}

table.dataTable tbody tr {
    background-color: #EEE0D0 !important;
}

table.dataTable tbody tr.selected {
    background-color: #B0BED9 !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #e4d2bb !important;
}

.table-hover>tbody>tr:hover, .table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tbody>tr>td.active, .table>tbody>tr>th.active, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>tfoot>tr>td.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>thead>tr.active>th, .table>thead>tr>td.active, .table>thead>tr>th.active {
    background-color: #d0d0d0 !important;
}

.table-bordered, .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #C0C9D4;
}

.form-horizontal .required-fields-message {
	color: #000 !important;
}

.panel-default {
	border-color: #8c8c8c !important;
}

.portlet-title {
	border-color: #000 !important;
}

.panel-default>.panel-heading {
    border-color: #8c8c8c !important;
}

.page-breadcrumb a {
	color: #F6F9F4 !important;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text {
	color: #000 !important;
}

#form_sheet .accordion-toggle:hover {
    color: #fff !important;
}

/* Fin thème personnalisé */

.icheckbox_minimal {
	background-color: #fff !important;
}