/* REMISE A 0 DES VALEURS */ html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6{ margin:0; padding:0;} ul, li, ol, dl, dd, dt{padding:0; margin:0;} li {list-style: none;} img {border:0;}
* {box-sizing:border-box;-moz-box-sizing:border-box;}
*::-moz-placeholder {color:#000 !important;}

.alert-block {margin: 0px auto 20px;padding: 5px 10px;width: 600px;text-align: center;border: 1px solid rgb(153, 153, 153);background:rgb(245, 73, 73) none repeat scroll 0% 0%;font-weight:bold;color:#fff;}
.alert-block a {color:#fff;text-decoration:underline;}
.alert-block .icon-warning {font-size:14px;margin-right:10px;}

/***********************************************/
/************  COULEURS / THEMES  **************/
/***********************************************/
body {font-family: Verdana, Arial, Sans-Serif; background:#FFF; font-size:12px;}

/***********************************************/
/***********  CLASS CSS GENERIQUE  *************/
/***********************************************/
.both {clear:both;}
.inline {display:inline-block;}
.bold {font-weight:bold;}
.textleft {text-align:left;}
.textright {text-align:right !important;}
.textcenter {text-align:center !important;}
.textjustify {text-align:justify !important;}
.aligncenter {margin:auto;}
.floatleft {float:left;}
.floatright {float:right;}
.floatnone {float:none !important;}
.mini {font-size:11px;}
.gris {color:gray;}
.italic {font-style:italic;}
.underline {text-decoration:underline;}
.uppercase {text-transform:uppercase;}
.erreur {color:#DB382C !important;}
.valid {color:#009900 !important;}
.opacity-100 {opacity:1.0 !important;}
.full-width {width:100% !important;}
.auto-width {width:auto !important;}
.noborder, .noborder td {border:0 !important;}
.required-field {text-align:right;font-size:11px;font-weight:normal !important;color:gray !important;}
.hidden {display:none !important;}
.padding-content {padding:15px 20px;}
.vtop {vertical-align:top;}
.relative {position:relative;}
.file-icone img {width:20px; height:20px;}
.hr {width:70%;margin:auto;border-bottom:1px solid #b7b6b6;}
.cut-text {text-overflow:ellipsis;overflow:hidden;display:inline-block;white-space:nowrap;}
input[type=text].date {width:120px !important;padding-right:30px;}
.ui-datepicker-trigger {background: transparent;margin-left: -25px;color: #797979;display: inline-block;padding: 3px 2px;position: absolute;border: 0px;border-left: 1px solid #A0A0A0;font-size: 14px;cursor: pointer;-moz-border-radius: 0px 5px 5px 0px;-webkit-border-radius: 0px 5px 5px 0px;border-radius: 0px 5px 5px 0px;}
.ui-datepicker-trigger:hover {background:#525252;color:#FFF;}
input[type=text].hour {width:60px !important;}
input[type=text].amount {width:90px !important;margin-right:5px;text-align:right;}
input[type=text].entier_number {width:50px !important;}
input[type=text].qte {width:50px !important;}
input[type=text].phone, input[type=text].mobile {width:170px !important;}
.form input[type=text].adresse {width:100% !important;max-width:300px !important;}
.help-mini {width:19px;height:19px;background:url(../img/help.png);background-size:auto 100%;float:left;margin:-2px 0 0 5px;}

.loader {width:54px; height:55px; background:url(../img/loader-big.gif); margin: 5px auto;}
.loader-min {width:16px; height:16px; background:url(../img/loader-min.gif); margin: auto;}

.titre {font-weight:bold; font-size:18px; margin: 0 0 10px 7px; color:#4c4b4b;display:inline-block;}
.titre::before {font-size:22px;margin-right:15px !important;}
.small-titre {font-weight:bold; font-size:14px; margin: 0 0 10px 7px; color:#4c4b4b;display:inline-block;}
.small-titre::before {font-size:20px;margin-right:15px !important;vertical-align:top;}
.ui-dialog .form .line-form .small-titre {margin-left:0 !important;}


.titre .icon {margin-right:10px !important;}
.small-titre.picto {padding-left:60px !important;}
.small-titre.picto .icon {margin-left:-55px !important;margin-top:-5px !important;}

.ombrage {position: relative; background: #fff; border:1px solid #999;}
.ombrage:after {content: " "; position: absolute; width: 90%; height: 30px; z-index: -10; bottom: 11px; right: 5px; transform: rotate(1deg); box-shadow: -7px 10px 10px #333;}

.arondi, .arondi-top-left, .arondi tr:first-child th:first-child {-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;}
.arondi, .arondi-top-right, .arondi tr:first-child th:last-child {-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.arondi, .arondi-bottom-left, .arondi tr:last-child td:first-child {-moz-border-radius-bottomleft:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px;}
.arondi, .arondi-bottom-right, .arondi tr:last-child td:last-child {-moz-border-radius-bottomright:10px; -webkit-border-bottom-right-radius:10px; border-bottom-right-radius:10px;}
.arondi table, .arondi table th, .arondi table td {-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;}

.confirmSupp span {display:none;}
.auto-close {float:left;font-size:9px;margin-top:11px;color:gray;}
.custom_periode input {width:100px !important;}

a {text-decoration:none;color:#a1332b;}
a:hover {text-decoration:underline;}
a.telephone {color:#000;}
a.nohover {text-decoration:none;cursor:default;}

.tags {background-color: #e4e4e4;border: 1px solid #aaa;border-radius: 4px;color: #000;padding: 3px 5px;display:inline-block;}
a.tags:hover {text-decoration:none;background:#C1C1C1;}

hr {height:1px;background:#999999;border:0;}

ul li {list-style:disc;}
ol > li {list-style:decimal;}
ul, ol {padding-left:27px;}
ul li.nostyle {list-style:none;}

.cadre_erreur {background:#ef8e8e;border:1px solid #ff6666;}
.cadre_warning {background:#B3D4FC;}
.cadre_valid {}

.pac-container {z-index:9999;}

/***********************************************/
/****************  STRUCTURE  ******************/
/***********************************************/
#page { width: 100%;}



#contenu {position:relative;width:100%; z-index:2; /*-moz-box-shadow: 0px 0px 15px #000000; -webkit-box-shadow: 0px 0px 15px #000000; box-shadow: 0px 0px 15px #000000; */}

@media all and (max-width:600px) {
	#contenu .content {padding: 40px 10px 80px 10px;}
}
@media all and (min-width:601px) and (max-width:720px) {
	#contenu .content {padding: 40px 30px 80px 30px;}
}
@media all and (min-width:721px) {
	#contenu .content {padding: 40px 60px 80px 60px;}
}

#footer {position:absolute; bottom:10px; right:15px; font-size:10px; color:gray;}
#footer a {color:gray;}
#footer a:hover {text-decoration:underline;}


/***********************************************/
/****************  CONNECTION  *****************/
/***********************************************/
#home-part1 {position:relative;background:#fff;height:125px;width: 100%;-moz-box-shadow: 3px 0px 10px #000000; -webkit-box-shadow: 3px 0px 10px #000000; box-shadow: 5px 0px 10px #000000;}
#home-part1 .logo {position:absolute;bottom:20px;left:42%;}
#home-part2 .form-connect {margin:auto !important;width:100%;max-width:340px;padding:10px 20px 5px 20px;}
#home-part2 .form-connect .titre {font-size:16px;text-align:center !important;width:100%;margin:0;margin-bottom:10px;}
#home-part2 .form-connect .line-form {background:transparent;}
#home-part2 .form-connect .line-form > label {color:#333;padding:6px 5px;font-size:15px;border-right:1px solid #ccc;position:absolute;display:inline-block;}
#home-part2 .form-connect input[type=text], #home-part2 .form-connect input[type=password] {width:100%;padding:9px 10px 9px 40px;}
#home-part2 .form-connect #captcha {width:115px;border:1px solid #999;}
#home-part2 .form-connect .sub-infos {color:#000;}
#home-part2 .form-connect .line-form.last .sub-infos {line-height:16px;}
#home-part2 .form-connect .line-form.last input {margin-bottom:7px;}
#home-part2 .form-connect .erreur {padding:0px;text-align:center;}
#home-part2 .form-connect .erreur .sub-infos {font-weight:bold;font-size:12px;}
#home-part2 .form-connect .line-form.last {padding-bottom:0;}
#home-part2 .captcha_element {color:#000 !important; background:url('../img/limitation-trait.png') no-repeat scroll -40px 95px transparent;padding-bottom:20px;margin-bottom:5px;}
#home-part2 .captcha_element tr td:first-child {width:150px;}
#home-part2 .captcha_element tr td {padding:5px;}
#home-part2 .form-connect .line-form.suspended .sub-infos {font-size:12px;color:red;font-weight:bold;}

#home-part2 .form-password .titre {}


.home-page {  background:url('../img/Fond-Interface-de-connexion.jpg') no-repeat; background-position: top; background-size: cover; }

.icon-email-bjsol { background:url('../img/user-rouge.png') no-repeat;  }

/***********************************************/
/***************  MENU & HEADER  ***************/
/***********************************************/
#header {position:relative;z-index:5;background:#fff;width:100%;}
#header > .logo {float:left;display:inline-block;vertical-align:top;margin:7px 30px 0px 10px;}
#header > .logo img {height:70px;margin-left: 2%;}
#header > .part-2 {display:inline-block;float:right;margin-top:5px;margin-right:10px;text-align:right;}
#header > .part-2 > .infos-user {color:#fff;font-size:11px;display:inline-block;}
#header > .part-2 > .icon-link-ext {color:#fff;font-size:15px;display:inline-block;vertical-align:top;margin-left:5px;}

#header > .icheckbox, #header #mobile-menu {display:none;}




@media all and (max-width:939px) {
	#header > .logo {float:none;text-align:center;display:block;padding-top:8px;margin:0px;}
	#header > .part-2 > .infos-user {display:none;}

	#header > .icon-menu-3 {float:left;color:#333;border:1px solid #333;padding:5px;font-size:18px;display:inline-block;margin:5px;cursor:pointer; }
	#header > #menu:not(.show-menu) {display:none;}

	#header > #menu {position:absolute;background:url(../img/background/bg-left.jpg);margin-top:2px;padding:0px;width:220px;}
	#header > #menu > li {display:block;list-style:none;}
	#header > #menu > li a {color:#fff;display:block;padding:10px;font-size:14px;border-bottom:1px solid #fff;position:relative;}
	#header > #menu > li a:hover {text-decoration:none;}
	#header > #menu > li a > .icon {padding-right:10px;}
	#header > #menu > li a > .nb, #header > #menu > li a > .icon-up-dir-2 {display:none;}
	#header > #menu > li a > .nb.active {display:inline-block;background:#C00;color:#FFF;font-size:11px;border-radius:15px;padding:2px 6px;text-align:center;position:absolute;right:10px;}
	#header > #menu > li > ul {display:none;padding:0px;background:url(../img/background/bg-submenu.jpg);}
	#header > #menu > li:hover > ul:not(.sub-list) {display:block;}
	#header > #menu > li > ul > li {list-style:none;}
	#header > #menu > li > ul > li a:hover {background:#fff;color:#333;}

	.tbord-menu {margin-top:0px !important;}
}

@media all and (min-width:940px) {
	#header > .icon-menu-3 {display:none;}

	#header > #menu {padding:0px;display:block;text-align:center;vertical-align:top;padding-top: 7px;}
	
	/* Menu principal */
	#header > #menu > li {list-style:none;display:inline-block;}
	#header > #menu > li > a {color:#333;text-align:center;display:block;position:relative;padding:10px 8px;}
	#header > #menu > li > a:hover {color:#D12548;text-decoration:none;}
	#header > #menu > li > a .icon {font-size:20px;display:block;margin-bottom:5px;}
	#header > #menu > li > a .text {text-transform:uppercase;font-size:10px;display:block;}
	#header > #menu > li > a .nb {display:none;}
	#header > #menu > li > a .nb.active {display:inline-block;background:#C00;color:#D12548;font-size:11px;border-radius:15px;padding:4px 8px;text-align:center;position:absolute;top:10px;right:0px;}
	#header > #menu > li > a .icon-up-dir-2 {display:none;}
	#header > #menu > li > ul > li a .nb {display:none;}
	#header > #menu > li > ul > li a .nb.active {display:inline-block;background:#C00;color:#D12548;font-size:11px;border-radius:15px;padding:2px 6px;text-align:center;position:absolute;top:5px;right:5px;}
	#header > #menu > li.separator {border-right:1px solid #666;height:40px;padding:0px;vertical-align:top;margin-top:15px;}
	#header > #menu > li > ul {display:none;position:absolute;z-index:1;padding-left:0px;}
	#header > #menu > li > ul > li {list-style:none;}
	
	.short-menu #header > #menu {position: fixed !important;top: 0px;width: 100%;z-index: 9999;border-bottom: 1px solid #333;background-color:white;}
	.short-menu #header > #menu > li > a .icon, .short-menu #header > #menu > li > a .nb {display:none;}
	.short-menu #header > #menu > li.separator {height:19px;margin-top:3px;}
	
	/* Sous-menu */
	body:not(.short-menu) #header > #menu > li.with-sub-menu:hover a .icon-up-dir-2 {display: block;position: absolute;bottom: -10px;left: 50%;margin-left:-14px;color: #fff;font-size: 20px;}
	.short-menu #header > #menu > li, #header > #menu > li:not(.active) {position:relative;z-index:2;}
	.short-menu #header > #menu > li:not(.search-part):hover ul:not(.sub-list), #header > #menu > li:not(.active):not(.search-part):hover ul:not(.sub-list) {text-align: left;font-size: 11px;left: 50%;display:block;position:absolute;background:#fff;border:1px solid #000;z-index:1;}
	.short-menu #header > #menu > li:hover ul:not(.sub-list) li, #header > #menu > li:not(.active):hover ul:not(.sub-list) li {position:relative;display:block;border-bottom:1px solid #999;}
	.short-menu #header > #menu > li:hover ul:not(.sub-list) li:last-child, #header > #menu > li:not(.active):hover ul:not(.sub-list) li:last-child {border-bottom:0px;}
	.short-menu #header > #menu > li:hover ul:not(.sub-list) li a, #header > #menu > li:not(.active):hover ul:not(.sub-list) li a {color:#000;display:block;padding:5px;}
	.short-menu #header > #menu > li:hover ul:not(.sub-list) li a:hover, #header > #menu > li:not(.active):hover ul:not(.sub-list) li a:hover {background:#666;color:#FFF;text-decoration:none;}
	.short-menu #header > #menu > li:hover ul:not(.sub-list) li a .icon, #header > #menu > li:not(.active):hover ul:not(.sub-list) li a .icon {margin-right:5px;}
	.short-menu #header > #menu > li ul.sub-menu1, #header > #menu > li:not(.active) ul.sub-menu1 {width:150px;margin-left:-75px;}
	.short-menu #header > #menu > li ul.sub-menu2, #header > #menu > li:not(.active) ul.sub-menu2 {width:170px;margin-left:-85px;}
	.short-menu #header > #menu > li ul.sub-menu3, #header > #menu > li:not(.active) ul.sub-menu3 {width:150px;margin-left:-75px;}
	.short-menu #header > #menu > li ul.sub-menu4, #header > #menu > li:not(.active) ul.sub-menu4 {width:145px;margin-left:-72px;}
	.short-menu #header > #menu > li ul.sub-menu5, #header > #menu > li:not(.active) ul.sub-menu5 {width:170px;margin-left:-85px;}
	.short-menu #header > #menu > li ul.sub-menu6, #header > #menu > li:not(.active) ul.sub-menu6 {width:180px;margin-left:-90px;}
	
	/* Sous-menu page en cours */
	body:not(.short-menu) #header > #menu > li.with-sub-menu.active > a .icon-up-dir-2 {display: block;position: absolute;bottom: -6px;left: 50%;margin-left:-14px;color:#adadad;font-size: 20px;}
	body.module-configuration:not(.short-menu) #header > #menu > li.with-sub-menu.active > a .icon-up-dir-2 {bottom:-7px !important;}
	body.hide-sub-menu:not(.short-menu) #header > #menu > li.active > a .icon-up-dir-2 {bottom: -6px;font-size: 15px;margin-left: -10px;}
	body:not(.short-menu ) #header > #menu > li.active > a {color:#fff;position:relative;z-index:2;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) {z-index:1;display:block;left:0;text-align:center;width:100%;/*background:#f0f1f0*/;padding:25px;/*/border-bottom:1px solid #d9e3d3;*/;margin-bottom: 5px;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li {display:inline-block;margin:0px 0px 0px -5px;border-right:1px solid #999;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li:last-child {border-right:0px;padding-right:0px;margin-right:0px;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li > a {position:relative;display:block;padding:7px 10px 4px 10px;color:#000;font-size:12px;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li > a .icon {margin-right:5px;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li > a:hover {text-decoration:none;background:#333;}
	body:not(.short-menu ) #header > #menu > li.active > ul:not(.sub-list) > li > a.active {text-decoration:none;background:#c3c3c3;color:#000;}	
	#contenu.sub-menu {padding-top:30px;}
	
	/* Listes dynamiques (taches,agenda...) */
	#header > #menu > li > ul.sub-list {z-index:99;display:block;height:0px;overflow:hidden;opacity:0;transition: all 0.4s linear;}
	#header > #menu > li:hover > ul.sub-list {height:auto;opacity:1;}
	#header > #menu > li > ul.sub-list > li {border-right:2px solid #333;border-left:2px solid #333;background:#fff;text-align:left;}
	#header > #menu > li > ul.sub-list > li:nth-child(2) {border-top:2px solid #333;-moz-border-radius-topleft:7px; -webkit-border-top-left-radius:7px; border-top-left-radius:7px;-moz-border-radius-topright:7px; -webkit-border-top-right-radius:7px; border-top-right-radius:7px;}
	#header > #menu > li > ul.sub-list > li.empty, #header > #menu > li > ul.sub-list > li:last-child {border-bottom:2px solid #333;border-left:2px solid #333;border-right:2px solid #333;-moz-border-radius-bottomleft:7px; -webkit-border-bottom-left-radius:7px; border-bottom-left-radius:7px;-moz-border-radius-bottomright:7px; -webkit-border-bottom-right-radius:7px; border-bottom-right-radius:7px;}
	#header > #menu > li > ul.sub-list > li:last-child {-moz-border-radius-bottomleft:7px; -webkit-border-bottom-left-radius:7px; border-bottom-left-radius:7px;-moz-border-radius-bottomright:7px; -webkit-border-bottom-right-radius:7px; border-bottom-right-radius:7px;}
	#header > #menu > li > ul.sub-list > li:last-child .apercu-tache {border-bottom:0px;}
	#header > #menu > li > ul.sub-list > li:first-child {position:relative;z-index:2;background:url(../img/menu-fleche.png);background-repeat:no-repeat;background-position:center;padding:0;height:10px;border:0;}
	#header > #menu > li > ul.sub-list > li.empty {margin-top:-3px;padding:5px;text-align:center;}
	#header > #menu > li > ul.sub-list > li.new-entrie {font-size:11px;text-align:center;background:#333;-moz-box-shadow: 0px 0px 5px #999;-webkit-box-shadow: 0px 0px 5px #999;box-shadow: 0px 0px 5px #999;position:relative;z-index:1;}
	#header > #menu > li > ul.sub-list > li.new-entrie a {width:100%;padding:4px 0px !important;display:block;color:#fff;}
	#header > #menu > li > ul.sub-list > li.new-entrie:hover {background:#484848;}
	#header > #menu > li > ul.sub-list > li.new-entrie a:hover {text-decoration:none;}
	#header > #menu > li > ul.sub-list > li.show_all_nb_taches {font-size:11px;padding:2px 0 2px 10px;}
	#header > #menu > li > ul.sub-list > li.show_all_nb_taches a {color:#666;}
	
	#header > #menu > li > ul.taches-list {margin-left:-160px;width:380px;}
	#header > #menu > li > ul.taches-list .actions_tache a {margin-top:0px;}
	#header > #menu > li > ul.rendez-vous-list {margin-left:-140px;width:350px;}
	#header > #menu > li > ul.msg-list {margin-left:-150px;width:380px;}	
	#header > #menu > li > ul.tickets-list {margin-left:-240px;width:600px;}	

	/* Recherche */
	#header > #menu > li.search-part.active-search {position:static;}
	#header > #menu > li.search-part.active-search > ul.search-content {display:block;width:100%;max-width:500px;padding:0px;z-index: 9;text-align: left;}
	#header > #menu > li.search-part.active-search > ul.search-content > li:first-child {position:relative;z-index:2;background:url(../img/menu-fleche.png);background-repeat:no-repeat;background-position:20px center;padding:0;height:10px;border:0;}
	#header > #menu > li.search-part.active-search > ul.search-content > li:nth-child(2) {background:#fff;padding:2px 0px;border:2px solid #000;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > #global-search-content {width:70%;margin-bottom:5px;}	
	#header > #menu > li.search-part.active-search.search-full-content > ul.search-content > li > #global-search-content {width:100%;}	
	#header > #menu > li.search-part.active-search > ul.search-content .form-validateForm {padding:10px !important;}
	#header > #menu > li.search-part.active-search > ul.search-content .form-validateForm .select2-container {width:29% !important;margin-left:1%;vertical-align:top;}
	#header > #menu > li.search-part.active-search.search-full-content > ul.search-content .form-validateForm .select2-container {width:100% !important;margin-left:0;}
	#header > #menu > li.search-part.active-search > ul.search-content .form-validateForm .select2-container .select2-selection--multiple {border-color:#d0d0d0 !important;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > .textcenter {font-size:11px;padding:5px;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > ul {padding:0px;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > ul > li {list-style:none;border-top:1px solid #666;border-bottom:0px !important;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > ul > li > a {display:block;color:#000;padding: 3px 5px;line-height: 19px;text-align:left;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > ul > li > a > .inline {width:49%;}
	#header > #menu > li.search-part.active-search > ul.search-content > li > .global-search-results > ul > li > a:hover {border:0px;background:#333;}	
	
	body:not(.admin).module-configuration #menu .sub-menu2 {width:195px !important;}
	body:not(.admin).module-configuration #menu .sub-menu2 li {display:block !important;text-align:left !important;width:100%;margin:0 !important;}
	body:not(.admin).module-configuration #menu .sub-menu2 li a {font-size:12px !important;border-bottom:1px solid #999 !important;padding:7px 10px 7px 10px !important;width:100%;}	
	body:not(.admin).module-configuration #contenu {padding-left:195px !important;padding-top:0px !important;}
}

/***********************************************/
/*********  BOUTONS & MENU DEROULANT ***********/
/***********************************************/
.actions-rapides, .menu-deroulant, .menu-deroulant2 {position:relative;}
.actions-rapides ul, .menu-deroulant, .menu-deroulant ul, .menu-deroulant2 ul {padding-left:0;}
.actions-rapides li, .menu-deroulant li, .menu-deroulant2 li {list-style:none;}
.menu-deroulant > input, .menu-deroulant > .icheckbox {display:none;}

.actions-rapides ul li {display:inline-block;margin-left:10px;margin-bottom:10px;}
.actions-rapides ul li:first-child {margin-left:0px;}

.menu-deroulant2 {padding-left:0px;}
.menu-deroulant2 li {display:inline-block;}
.menu-deroulant2 li a {-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;}
.menu-deroulant2 li:first-child a {-moz-border-radius-bottomleft:7px; -webkit-border-bottom-left-radius:7px; border-bottom-left-radius:7px;-moz-border-radius-topleft:7px; -webkit-border-top-left-radius:7px; border-top-left-radius:7px;}
.menu-deroulant2 li:last-child a {-moz-border-radius-bottomright:7px; -webkit-border-bottom-right-radius:7px; border-bottom-right-radius:7px;-moz-border-radius-topright:7px; -webkit-border-top-right-radius:7px; border-top-right-radius:7px;}

/* MENU DEROULANT */
@media all and (max-width:699px) {
	.menu-deroulant > .icon-menu-3 {padding:5px 10px;font-size:14px;display:inline-block;cursor:pointer;}
	.menu-deroulant > .icon-menu-3::before {margin-right:10px;}
	.menu-deroulant .icon-right-open, .menu-deroulant > ul {display:none;}
	.menu-deroulant.show-menu > ul {display:block;position:absolute;z-index:9999;min-width:80%;background:url(../img/background/bg-submenu.jpg);}
	.menu-deroulant ul li {position:relative;}
	.menu-deroulant ul li a {display:block;color:#FFF;background:transparent;-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;width:100%;white-space:nowrap;font-size:14px;padding:8px 10px;border:0px !important;border-bottom:1px solid #FFF !important;}	
	.menu-deroulant ul .icon-up-open, .menu-deroulant ul .icon-down-open {position: absolute;right: 8px;color: #b9b9b9;}	
	.menu-deroulant ul li.show-sub-menu > a > .icon-down-open {display:none;}	
	.menu-deroulant ul li:not(.show-sub-menu) > a > .icon-up-open {display:none;}	
	.menu-deroulant ul li:not(.show-sub-menu) > ul {display:none;}
	.menu-deroulant ul li ul {background:url(../img/background/bg-left.jpg);}	
	.menu-deroulant ul li:not(.show-sub-menu) > ul > li:not(.show-sub-menu) ul {display:none;}
	.menu-deroulant ul li ul li ul {background:#FFF;}
	.menu-deroulant ul li ul li ul a {color:#333;border-bottom:1px solid #676767 !important;}
	.menu-deroulant.floatright > ul {right:0;}
}
@media all and (min-width:700px) {
	.menu-deroulant .icon-up-open, .menu-deroulant .icon-down-open, .menu-deroulant > .icon-menu-3 {display:none;}
	.menu-deroulant ul a {display:none;}
	.menu-deroulant ul a .text {display:none;}
	.menu-deroulant ul li {display:inline-block;}
	.menu-deroulant ul li a {display:inline-block; position:relative; z-index:1000;-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;}
	.menu-deroulant ul li a span {margin-right:5px;}
	.menu-deroulant ul li a.notext {width:35px;border:1px solid #666 !important; height:18px;-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;}
	.menu-deroulant ul li a.notext .icon {margin-left:5px;}
	.menu-deroulant ul li:first-child a {-moz-border-radius-bottomleft:7px; -webkit-border-bottom-left-radius:7px; border-bottom-left-radius:7px;-moz-border-radius-topleft:7px; -webkit-border-top-left-radius:7px; border-top-left-radius:7px;}
	.menu-deroulant ul li:last-child a {-moz-border-radius-bottomright:7px; -webkit-border-bottom-right-radius:7px; border-bottom-right-radius:7px;-moz-border-radius-topright:7px; -webkit-border-top-right-radius:7px; border-top-right-radius:7px;}
	.menu-deroulant ul li > ul {overflow:hidden;z-index:999; position:absolute;height:0;transform: scaleY(0);transition:transform 0.3s ease;transform-origin: 50% 0;}
	.menu-deroulant ul li:hover > ul {height:auto;transform: scaleY(1);overflow:initial;}
	.menu-deroulant ul li ul li {position:relative;width:100%;display:block;}
	.menu-deroulant ul li ul li a {width:100%; border:1px solid #999 !important; border-bottom:0 !important;background:url(../img/background/bg-titre.png);color:#fff;display:inline-block; padding:6px 10px 6px 40px; text-decoration:none;-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;}
	.menu-deroulant ul li ul li > a {white-space:nowrap;padding-right:20px;}
	.menu-deroulant ul li ul li a span {position:absolute;left:10px;top:50%;margin-top:-8px;}
	.menu-deroulant ul li ul li:hover > a, .menu-deroulant ul li ul li a:hover {background:url(../img/background/bg-left.jpg);cursor:pointer;}
	.menu-deroulant ul li ul li:first-child a {-moz-border-radius-topright:7px !important; -webkit-border-top-right-radius:7px !important; border-top-right-radius:7px !important;}
	.menu-deroulant ul li ul li:last-child a {border-bottom:1px solid #999 !important;-moz-border-radius-bottomright:7px !important; -webkit-border-bottom-right-radius:7px !important; border-bottom-right-radius:7px !important;-moz-border-radius-bottomleft:7px !important; -webkit-border-bottom-left-radius:7px !important; border-bottom-left-radius:7px !important;}
	.menu-deroulant ul li ul li.separator {width:100%; padding-right:50px;background:#999;height:2px;}
	.menu-deroulant ul li ul li a .icon-right-open {right: -5px;left: auto;color: #a9a9a9;}
	.menu-deroulant ul li ul li a .icon-right-open::before {font-size:12px !important;}
	.menu-deroulant ul li ul li ul {display:none !important;left:100%;min-width:100px;top:0px;}
	.menu-deroulant ul li ul li ul li a {padding:5px 10px;}
	.menu-deroulant ul li ul li:hover a .icon-right-open {color:#FFF;}
	.menu-deroulant ul li ul li:hover ul {display:block !important;}
	.menu-deroulant ul li ::before {font-size:14px;}
}

@media all and (max-width:660px) {
	.page-tiers-3 .titre-tiers {margin-right:0 !important;}
	.page-tiers-3 .titre-tiers.picto {padding-left:17px !important;}
	.page-tiers-3 .tiers-adapt-content {display:none;}
}

@media all and (max-width:930px) {
	.etat-piece, .actions-rapides-pieces {display:none;}
}


/* LIEN TYPE BOUTON */
.button {line-height:14px;display:inline-block;padding:5px 10px;text-decoration:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
.button:not(.nohover):hover {color:#fff; border:1px solid #999;text-decoration:none;}
.button-mini {padding:3px 7px 3px 7px; font-size:11px; color:#aeadbb; border:1px solid #666;background: #393b41 url(../img/background/bg-button-black-normal.png) repeat-x top;-o-background-size: 100% 100%;-moz-background-size: 100% 100%;-webkit-background-size: 100% 100%;background-size: 100% 100%;*background: #393b41;background: #393b41\0/;filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FF##494b54f, endColorstr=#FF333);background-image: -webkit-gradient(linear,left top, left bottom,from(#494b54),to(#393b41));background-image: -webkit-linear-gradient(top,#494b54,#393b41);background-image: -moz-linear-gradient(top,#494b54,#393b41);background-image: -o-linear-gradient(top,#494b54,#393b41);background-image: linear-gradient(top,#494b54,#393b41);}
.button.active {background: #333 url(../img/background/bg-button-black-selected.png) repeat-x top;-o-background-size: 100% 100%;-moz-background-size: 100% 100%;-webkit-background-size: 100% 100%;background-size: 100% 100%;*background: #333;background: #333\0/;filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#FF##fffffff, endColorstr=#FF333);background-image: -webkit-gradient(linear,left top, left bottom,from(#ffffff),to(#333));background-image: -webkit-linear-gradient(top,#ffffff,#333);background-image: -moz-linear-gradient(top,#ffffff,#333);background-image: -o-linear-gradient(top,#ffffff,#333);background-image: linear-gradient(top,#ffffff,#333); color:#333 !important;}

.icon-btn {display:inline-block;padding:3px;color:#333;}
.icon-btn:hover {text-decoration:none;}

.button-picto {display:inline-block !important;padding:5px !important;color:#000;}
.button-picto:hover {text-decoration:none;opacity:1.0;filter: Alpha(Opacity=100);}
.button-picto:not(.button) {opacity:0.5;filter: Alpha(Opacity=50);font-size:16px;}
.button-picto.button {text-align:center;padding:5px 8px;}
.button-picto.button span {margin:0;}

.button span {margin:0 5px 0 0;}
.button span::before {margin:0;}
.button-submit span {margin:0 0 0 5px;}

.export_excel {display:inline-block;background:url(../img/icones/xls.png);background-size:25px auto;background-repeat:no-repeat;height:21px;color:#535353;padding:4px 0 0 30px;}
.export_excel:hover {color:#000;text-decoration:none;}

/* THEMES DE COULEUR DES BOUTONS */
button, .button {color:#fff; border:1px solid #666;background: #D12548 url(../img/background/bg-button-black-normal.png) repeat-x top;-o-background-size: 100% 100%;-moz-background-size: 100% 100%;-webkit-background-size: 100% 100%;background-size: 100% 100%;*background: #D12548;background: #D12548\0/;filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr=#D12548, endColorstr=#D12548);background-image: -webkit-gradient(linear,left top, left bottom,from(#D12548),to(#393b41));background-image: -webkit-linear-gradient(top,#D12548,#D12548);background-image: -moz-linear-gradient(top,#D12548,#D12548);background-image: -o-linear-gradient(top,#D12548,#D12548);background-image: linear-gradient(top,#D12548,#D12548);}

.button-red {color:#fff;background:#D12548;}
.button-green {background: #009900 !important;color:#fff;}
.button-blue {background:#2a62bc;}
.button-transparent, .button-transparent:hover {background:transparent;border:0 !important;}
.button-nohover {cursor:default;}


/* PICTOS POUR BOUTONS ET MENU DEROULANT */
.picto {padding-left: 38px !important;}
.picto .icon {background: url(../img/pictos.png) no-repeat; background-size:auto 80px; float:left; margin: -2px 0 0 -33px; display:block; width:25px; height:20px;}
.submit {padding-left: 10px !important; padding-right: 38px !important;}
.submit .icon {float:right; margin: -2px -33px 0 0;}
.button-mini.picto {padding-left: 33px !important;}
.button-mini.picto .icon {height:20px; width:25px; margin: -2px 0 0 -30px;}
.button-mini.submit {padding-right: 33px !important;padding-left: 10px !important; }
.button-mini.submit.picto .icon {height:20px; width:25px; margin: -2px -30px 0 0;}
.picto.notext {display:block;padding:4px 2px !important;height:15px; width:25px;border:1px solid #ffffff;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.picto.notext:not(.nohover):hover {border:1px solid #999 !important;}
.picto.notext .icon {margin:-2px 0 0 0; float:none;}
.button.notext span {margin:0px !important;}
.picto.nobackground {opacity:0.6 !important;}
.picto.nobackground:hover,.picto.button-nohover,.picto.button-notransparent {opacity:1.0 !important;}
.picto-big .icon {background-size:auto 120px;width:37px;height:29px;}
.help-picto {margin-top:-7px;}
.picto.noborder, .picto.noborder:hover, .picto.noborder.notext:not(.nohover):hover {border:0 !important;}
.button-disabled {opacity:0.3 !important;}
a.two-line {padding:8px 10px;}
a.two-line .icon {margin-top:5px;}

a.actions-picto {color:#000;font-size:14px;}

a.picto-only {padding-left:0 !important;}
a.picto-only .icon {margin-left:0 !important;}

.addBtn, .editBtn {padding:3px;display:inline-block; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; opacity:0.7;}
.addBtn:hover, .editBtn:hover {opacity:1.0;text-decoration:none;}

/* INPUT TEXT ET TEXTAREA */
textarea, input[type=text], input[type=password] {padding:4px 7px;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
input[type=text], input[type=password], textarea {border: 1px solid #ccc; -moz-box-shadow: 0 0 5px #ccc; -webkit-box-shadow: 0 0 5px #ccc; box-shadow: 0 0 2px #f3f3f3;}
input[type=text].selected, input[type=password].selected, textarea.selected {border: 1px solid #6699cc; -moz-box-shadow: 0 0 5px #6699cc; -webkit-box-shadow: 0 0 5px #6699cc; box-shadow: 0 0 5px #6699cc;}
input[type=text].error, input[type=password].error, textarea.error {border: 1px solid red; -moz-box-shadow: 0 0 5px red; -webkit-box-shadow: 0 0 5px red; box-shadow: 0 0 5px red;}
input[type=text].readonly {border: 1px solid #333; -moz-box-shadow: 0 0 5px #fff; -webkit-box-shadow: 0 0 5px #fff; box-shadow: 0 0 5px #fff;}

/***********************************************/
/***************** JQUERY UI *******************/
/***********************************************/
.ui-helper-hidden-accessible {display:none;}
/* ACCORDION */
.ui-accordion {}
.ui-accordion h3 {cursor:pointer;padding:5px 10px 5px 30px;background:url(../img/background/bg-left.jpg);color:#fff;font-size:12px;font-weight:normal;border-bottom:1px solid #fff;}
.ui-accordion h3:not(.ui-state-active):hover {background:url(../img/background/bg-titre.png);}
.ui-accordion h3 .ui-icon {position:absolute;margin-left:-20px;background: url(../img/pictos.png) no-repeat; background-size:auto 80px; display:block; width:15px; height:17px;background-position:-155px -2px;}
.ui-accordion h3.ui-state-active {cursor:default;background:url(../img/background/bg-titre.png);}
.ui-accordion h3.ui-state-active .ui-icon {background-position:-1153px -1px;}
.ui-accordion .ui-accordion-content {background:#fff;height:auto !important;border:1px solid #ccc;padding:10px 20px 20px 20px;}


/* SPINNER */
.ui-spinner {position:relative;padding-right:16px;height:24px;display:inline-block;-moz-box-shadow: 0 0 5px #ccc; -webkit-box-shadow: 0 0 5px #ccc; box-shadow: 0 0 5px #ccc;border: 1px solid #ccc;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.ui-spinner .ui-spinner-input, .ui-spinner .ui-spinner-input.selected {border:0px;-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;}
.ui-spinner .ui-spinner-button {position:absolute;width:16px;height:11px;padding:0;margin:0;text-align:center;cursor:default;overflow:hidden;right:0;background:url(../img/background/bg-titre.png);color:#fff;font-size:7px;}
.ui-spinner .ui-spinner-button:hover {text-decoration:none;}
.ui-spinner:not(.ui-spinner-disabled) .ui-spinner-button:hover {background:url(../img/background/bg-left.jpg);}
.ui-spinner .ui-spinner-up {top:0px;-moz-border-radius: 0px 5px 0px 0px;-webkit-border-radius: 0px 5px 0px 0px;border-radius: 0px 5px 0px 0px;}
.ui-spinner .ui-spinner-down {bottom:0px;-moz-border-radius: 0px 0px 5px;-webkit-border-radius: 0px 0px 5px 0px;border-radius: 0px 0px 5px;border-top:1px solid #999;}
.ui-spinner-disabled .ui-spinner-button {opacity:0.3;}

/* TOOLTIP */
.ui-tooltip {font-size:12px;line-height:16px;max-width:450px;padding:5px 10px; position:absolute;z-index:9999;-o-box-shadow: 0 0 5px #aaa;-moz-box-shadow: 0 0 5px #aaa;-webkit-box-shadow: 0 0 5px #aaa;box-shadow: 0 0 5px #aaa;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.ui-tooltip::before {color:#000;opacity:0.7;position:absolute;}
.ui-tooltip.tooltip-h::before {bottom: -15px;left:50%;margin-left:-12px !important;font-size: 25px;}
.ui-tooltip.tooltip-b::before {top: -15px;left:50%;margin-left:-12px !important;font-size: 25px;}
.ui-tooltip.tooltip-l::before {right: -16.5px;top:50%;margin-top:-10px !important;font-size: 20px;}
.ui-tooltip.tooltip-r::before {left: -16.5px;top:50%;margin-top:-10px !important;font-size: 20px;}
.custom-tooltip-black {background: #333; color: #FFF;}
.custom-tooltip-red {background: #b32526; color: #FFF;}
.custom-tooltip-white {background: #fff; color:#000; border:1px solid #999;}

/* DIALOG */
.ui-widget-overlay {position: fixed;top: 0;left: 0;width: 100%; z-index:9000; height: 100%; background: #333333;opacity: .7;filter: Alpha(Opacity=70);}
.ui-dialog {position: absolute; padding: .2em; min-width: 350px; z-index:9001;background:#fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;border:1px solid #333;}
.ui-dialog:focus {outline:0;}
.ui-dialog .ui-dialog-titlebar {padding: .4em 1em; position: relative; background: url(../img/background/bg-left.jpg); height:30px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border:1px solid #333;}
.ui-dialog .ui-dialog-title {float: left; margin: .1em 16px .1em 0; color:#fff; font-weight:bold;}
.ui-dialog .ui-dialog-titlebar-close {cursor:pointer; position: absolute; right: .3em; top: 50%; width: 21px; margin: -10px 0 0 0; padding: 1px; height: 20px;}
.ui-dialog .ui-dialog-titlebar-close:hover {border-color: #999;background: #333;}
.ui-dialog .ui-dialog-titlebar-close span {display: block; margin: 0px;}
.ui-dialog .ui-dialog-titlebar-close .ui-icon {display:none;}
.ui-dialog .ui-dialog-titlebar-close .ui-button-text {display:inline-block;font-size:20px;}
.ui-dialog .ui-dialog-titlebar-close .ui-button-text span::before {margin:0px;}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {padding: 0;}
.ui-dialog .ui-dialog-content {position: relative; border: 0; padding: 1.5em 1em 0.4em 1em; background: none; overflow: none !important; zoom: 1;}
.ui-dialog .ui-dialog-content p.loader {width:54px; height:55px; background:url(../img/loader-big.gif); margin: 5px auto;}
.ui-dialog .ui-dialog-content p.error {font-size:11px; color:red; margin-top:0.5em; display:none;}
.ui-dialog .ui-dialog-content .infos {min-height:21px;font-size:11px; color:gray; padding-left:30px; margin-top:25px; color:#999; background: url(../img/help.png) no-repeat 0 center;}
.ui-dialog .ui-dialog-buttonpane {text-align: left; border-width: 1px 0 0 0; border-top: 1px solid #999; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em;}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {width:100%;float:right;text-align: right;}
.ui-dialog .ui-dialog-buttonpane button {outline:none;font-size:11px;color:#cccccc; margin: .5em .4em .5em 0; padding:3px 5px; cursor: pointer; border:1px solid #333;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.ui-dialog .ui-dialog-buttonpane button:hover {color:#ffffff;}
.ui-dialog .ui-dialog-buttonpane button .ui-icon {opacity:0.9;}
.ui-dialog .ui-dialog-buttonpane button .ui-button-icon-secondary {margin-left:5px;}
.ui-dialog .ui-dialog-buttonpane button:hover .ui-icon {opacity:1.0;}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .floatleft {position:absolute;left:15px;}
.ui-dialog .ui-dialog-buttonpane button.button-left {float:left;}
.ui-dialog .ui-resizable-se {width: 14px; height: 14px; right: 3px; bottom: 3px;}
.ui-draggable .ui-dialog-titlebar {cursor: move;}
.dialog-form label {padding-bottom: 7px; font-weight:bold; display:block;}
.dialog-form input[type=text] {width:95%;}

.ui-dialog-lite {background:transparent;border-radius:0px;border:0px;color:#fff;}
.ui-dialog-lite .ui-dialog-titlebar {background:transparent;border-radius:0px;border:0px;cursor:default;}
.ui-dialog-lite .ui-dialog-title {font-size:14px;}
.ui-dialog-lite .ui-dialog-titlebar-close {border:0px;background:transparent;color:#fff;padding: 0;width: auto;height: auto;margin-top: -12px;opacity:0.8;}
.ui-dialog-lite .ui-dialog-titlebar-close:hover {border:0px;background:transparent;opacity:1.0;}
.ui-dialog-lite .ui-dialog-content {padding:0px;}
.ui-dialog-lite .ui-dialog-buttonpane {border-top:0px;background:transparent;margin:0;padding:0px;}
.ui-dialog-lite .ui-dialog-buttonpane button {font-size:13px;color:#fff;padding:5px 10px;opacity:0.85;}
.ui-dialog-lite .ui-dialog-buttonpane button:hover {opacity:1.0;}
.ui-dialog-lite .ui-dialog-buttonpane button .ui-icon {font-size:13px;}
.ui-dialog-lite .ui-dialog-buttonpane button .ui-button-icon-primary {margin-right:7px;}
.ui-dialog-lite .ui-dialog-buttonpane button .ui-button-icon-secondary {margin-left:7px;}
.ui-dialog-lite .ui-dialog-content .ui-tabs .ui-tabs-panel {color:#000;padding:20px 30px;}
.load-data {text-align:center;background:#fff;padding:20px;border-radius:10px;color:#909090;}
.load-data.nobackground {background:transparent;color: #737373;}
.load-data span {display:block;margin-bottom:10px;font-size:35px;}

.ui-dialog-lite.ui-dialog-lite-notabs {min-width:450px !important;}
.ui-dialog-lite.ui-dialog-lite-notabs .ui-dialog-content {background:#fff;color:#000;border-radius:10px;padding:20px;}

.ui-dialog-lite.ui-dialog-lite-notitre .ui-dialog-title {display:none;}
.ui-dialog-lite.ui-dialog-lite-notitre .ui-dialog-content {font-size:13px;font-weight:bold;}

.ui-dialog-lite.ui-dialog-choice {min-width: 0px !important;width: auto !important;}
.ui-dialog-lite.ui-dialog-choice .ui-dialog-content {min-height:0px !important;border-radius:0px;padding:15px 25px 8px 25px;-moz-border-radius: 5px 5px 0px 0px;-webkit-border-radius: 5px 5px 0px 0px;border-radius: 5px 5px 0px 0px;}
.ui-dialog-lite.ui-dialog-choice .ui-dialog-buttonpane {background:#FFF !important;-moz-border-radius: 0px 0px 5px 5px;-webkit-border-radius: 0px 0px 5px 5px;border-radius: 0px 0px 5px 5px;}
.ui-dialog-lite.ui-dialog-choice .ui-dialog-buttonpane button {font-size:14px !important;}
.ui-dialog-lite.ui-dialog-choice .ui-dialog-buttonset {float:none !important;text-align:center;padding-bottom:5px;}

.ui-widget-overlay.ui-front-down {z-index:8998;}
.ui-dialog.ui-front-down {z-index:8999;}
.ui-widget-overlay.ui-front-top {z-index:9992;}
.ui-dialog.ui-front-top {z-index:9993;}

.ui-dialog .ui-dialog-buttonpane button.ui-button-text-icon-primary {}
.ui-dialog .ui-dialog-buttonpane button.ui-button-text-icon-primary .ui-button-icon-primary {margin-right:5px;font-size:12px;}
.ui-dialog .ui-dialog-buttonpane button.ui-button-text-icon-primary .ui-button-text {}

@media all and (max-width:750px) {
	body.ui-dialog-open #page {display:none;}
	.ui-widget-overlay {display:none;}
	.ui-dialog-lite.ui-dialog-lite-notabs {width:100% !important;left:0px !important;top:0px !important;min-width:1px !important;position:relative;height:auto !important;}
	.ui-dialog-lite.ui-dialog-lite-notabs .ui-dialog-content {border-radius:0px;padding-bottom:42px;min-height:100% !important;padding: 20px 30px;}
	.ui-dialog-lite .ui-dialog-titlebar {background: url(../img/background/bg-submenu.jpg);width:100%;}
	.ui-dialog-lite .ui-dialog-titlebar .ui-dialog-title {float:none;width:100%;text-align:center;margin:0px;display:inline-block;}
	.ui-dialog-lite .ui-dialog-buttonpane {background: url(../img/background/bg-submenu.jpg);position:fixed;z-index:99999;width: 100%;left:0;bottom:0;}
	.ui-dialog-lite .ui-dialog-buttonpane .ui-dialog-buttonset {background: url(../img/background/bg-submenu.jpg);text-align:center;padding-bottom:10px;padding-top:10px;border-top:1px solid #666;padding-top:0px;padding-bottom:0px;}
}


/* DATEPICKER */
.ui-datepicker-header {text-align:center; text-transform:uppercase; width:90%; margin:5px auto; color:#f2f5fb;}
.ui-datepicker-prev {background:url(../img/previous.png) no-repeat center; width:15px; height:20px; display:block; float:left; cursor:pointer;}
.ui-datepicker-next {background:url(../img/next.png) no-repeat center; width:15px; height:20px; display:block; float:right; cursor:pointer;}
.ui-datepicker-prev .ui-icon, .ui-datepicker-next .ui-icon {display:none;}
.ui-datepicker-calendar {border-collapse:collapse; width:100%; text-align:center;}
.ui-datepicker-calendar thead th {padding: 5px;}
.ui-datepicker-calendar tr:first-child a {margin-top:5px;}
.ui-datepicker-calendar td:first-child, .ui-datepicker-calendar td:first-child {padding-left:10px;}
.ui-datepicker-calendar td:last-child, .ui-datepicker-calendar td:last-child {padding-right:10px;}
.ui-datepicker-calendar td a {color:#f2f5fb; text-decoration:none; padding:5px; display:block; border:1px solid transparent;}
.ui-datepicker-calendar td a:hover {border:1px solid #999;}

.ui-datepicker:not(.ui-datepicker-inline) {background: url(../img/background/bg-left.jpg); color:#f2f5fb;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;border:1px solid #333;display:none;}
.ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-calendar thead {background:#fff; color:#333;}
.ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-calendar td.ui-datepicker-today a {background:#999;color:#000;}
.ui-datepicker:not(.ui-datepicker-inline) .ui-datepicker-calendar td.ui-datepicker-current-day a {background:#fff; color:#333;}

.ui-datepicker-inline {padding-top:10px;}
.ui-datepicker-next, .ui-datepicker-prev {background-size:100% auto;width:6px;height:17px;}
.ui-datepicker-inline td, .ui-datepicker-inline th {background:transparent !important;padding:0px !important;font-weight:normal;font-size:11px;}
.ui-datepicker-inline .ui-datepicker-title {font-size:11px;}
.ui-datepicker-inline .ui-datepicker-title select {font-size:10px;}
.ui-datepicker-inline a {margin:0px !important;}
.ui-datepicker-inline .ui-datepicker-calendar {border:0px !important;}
.ui-datepicker-inline .ui-datepicker-calendar td {border-color:transparent !important;}
.ui-datepicker-inline .ui-datepicker-calendar td a {color:#7D7D7D;font-size:11px;padding:3px;}
.ui-datepicker-inline .ui-datepicker-calendar td a:hover {color:#FFF;border-color:transparent !important;}
.ui-datepicker-inline .ui-datepicker-calendar td a.ui-state-active {color:#FFF;border-color:#696969 !important;}
.ui-datepicker-inline .ui-datepicker-calendar td a.ui-state-highlight {color:#CACACA;}

.ui-datepicker .ui-state-disabled {opacity:0.5;}

/* TABS */
.ui-tabs {position: relative; padding: 0; zoom: 1;margin-top:34px;}
.ui-tabs .icon-menu-mobile {display:none;}
.ui-tabs > .ui-tabs-nav {position:absolute;margin-top:-34px !important;}
.ui-tabs .menu-container {position:absolute;margin-top:-34px !important;overflow:hidden;border-right:50px solid transparent;width:100%;height:33px;}
.ui-tabs .menu-container .ui-tabs-nav {}
.ui-tabs .menu-container-actions {z-index:9;position: absolute;top:-34px;right:6px;}
.ui-tabs .menu-container-actions span {display:inline-block;padding:0px 5px;font-size:25px;color:#333;background:url(../img/background/bg-left.jpg);border:1px solid #999; border-bottom:0;}
.ui-tabs .menu-container-actions span:not(.disabled):hover {cursor:pointer;background:url(../img/background/bg-titre.png);}
.ui-tabs .menu-container-actions span.disabled {opacity:0.4;}
.ui-tabs .menu-container-actions span:first-child {-moz-border-radius: 5px 0px 0px 0px;-webkit-border-radius: 5px 0px 0px 0px;border-radius: 5px 0px 0px 0px;}
.ui-tabs .menu-container-actions span:last-child {-moz-border-radius: 0px 5px 0px 0px;-webkit-border-radius: 0px 5px 0px 0px;border-radius: 0px 5px 0px 0px;}
.ui-tabs .menu-container-actions span::before {margin:0px;width:auto;}
.ui-tabs .ui-tabs-nav {margin: 0; padding: 0;}
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; margin: 0 1px 0 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a {outline: none;color:#333;background:url(../img/background/bg-titre.png); border:1px solid #999; border-bottom:0;display:block; float: left; padding: 8px 10px; text-decoration: none; -moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; border-top-left-radius:5px;-moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; border-top-right-radius:5px;}
.ui-tabs .ui-tabs-nav li a:hover {background:url(../img/background/bg-left.jpg);}
.ui-tabs:not(.double-tabs) .ui-tabs-nav li a .add-btn {display:none;border-radius:30px;padding:3px 1px;background:#C00;color:#fff;line-height:11px;margin-left:5px;}
.ui-tabs:not(.double-tabs) .ui-tabs-nav li a .add-btn:hover {background:#ccc;color:#333;cursor:pointer;}
.ui-tabs:not(.double-tabs) .ui-tabs-nav li a:hover .add-btn, .ui-tabs:not(.double-tabs) .ui-tabs-nav li.ui-tabs-active a .add-btn {display:inline-block;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-active a {cursor:default;background:#fff; color:#333;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel {overflow:auto;border:1px solid #999;display: block; padding-top: 10px; background: none;clear:both;background:#fff; -moz-border-radius-bottomleft:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px;-moz-border-radius-bottomright:10px; -webkit-border-bottom-right-radius:10px; border-bottom-right-radius:10px;-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.ui-tabs .ui-tabs-hide { display: none !important; }
.ui-tabs:not(.tabs-left) .ui-tabs-nav li:first-child a {-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;}
.ui-tabs:not(.tabs-left) .ui-tabs-nav li:last-child a {-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.ui-tabs:not(.tabs-left) .ui-tabs-nav li a::before {font-size:14px;margin-right:10px;}
.ui-tabs .ui-tabs-panel div:not(.chosen-single div):not(.icheckbox_minimal) {height: auto !important;}
.ui-tabs .ui-tabs-panel .padding-content {padding:15px 20px !important;}

.ui-tabs .ui-tabs-nav li a.two-line {padding-left:42px;}
.ui-tabs .ui-tabs-nav li a.two-line::before {position:absolute;margin-left:-32px;margin-top:8px;}

/* AFFICHAGE DES NOMBRES DANS ONGLET */
.ui-tabs .ui-tabs-nav li a span:last-child {font-size:11px;}
.ui-tabs .ui-tabs-nav li span.nb {background:#cc0000; display:block; right:10px; min-width:12px; position:absolute; color:#fff;padding:3px 7px; margin:-18px 0 0 10px;font-size:10px; text-align:center; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;}
.ui-tabs .ui-tabs-nav li:not(.ui-state-active) span.nb {background: #d4d6de; color:#23242c;}

/* SI TABS DANS UI DIALOG */
.ui-dialog .ui-tabs {margin-top:34px !important;}
.ui-dialog .ui-tabs .ui-tabs-nav {margin-top:-31px !important;}
.ui-dialog .ui-tabs .ui-tabs-nav .ui-state-default a {margin-top:0 !important;}
.ui-dialog .ui-tabs .ui-tabs-panel {padding:5px 10px;clear:both !important;/*border-top: 0 !important;*/}

/* LEFT-TABS */
.tabs-left {margin-top:0;border:1px solid #999;-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px;}
.tabs-left .ui-tabs-nav {margin-top:0 !important;width:209px !important;min-height:100%;position:absolute;background:url(../img/background/bg-titre.png);}
.tabs-left .ui-tabs-nav li {float:none;}
.tabs-left .ui-tabs-nav li a {width:209px;padding:13px 10px 13px 7px;-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;border-top:0;border-right:0;border-left:0;border-bottom:1px solid #666;}
.tabs-left .ui-tabs-nav li a::before {font-size:18px;margin-right:15px;}
.tabs-left .ui-tabs-nav li a .add-btn {position:absolute;right:5px;}
.tabs-left .ui-tabs-nav li a.two-line .add-btn::before {vertical-align:5px;}
.tabs-left .ui-tabs-nav li:first-child a {-moz-border-radius-topleft:10px !important; -webkit-border-top-left-radius:10px !important; border-top-left-radius:10px !important;}
.tabs-left .ui-tabs-nav li:last-child a {border-bottom:0;}
.tabs-left .ui-tabs-nav li.ui-tabs-active a {border-right:1px solid #fff;}
.tabs-left .ui-tabs-panel {border:0;height:auto;padding:30px 10px 0 220px;/*overflow:auto;*/}
.tabs-left .ui-tabs-panel, .tabs-left .ui-tabs-nav, .tabs-left .ui-tabs-nav li, .tabs-left .ui-tabs-nav li:first-child a {-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;}
.tabs-left .ui-tabs-panel, .tabs-left .ui-tabs-nav, .tabs-left .ui-tabs-nav li, .tabs-left .ui-tabs-nav li:last-child a {-moz-border-radius-bottomleft:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px;}
.tabs-left .tabs-left-hide {display:none;}

/* MOBILE TABS */
.tabs-mobile {}
.tabs-mobile .icon-menu-mobile {display:block;position:absolute;color:#fff;right:5px;top:10px;font-size:20px;z-index:9;}
.tabs-mobile .ui-tabs-nav {display:block;width:100% !important;position:relative;z-index:8;}
.tabs-mobile .ui-tabs-nav li {border-radius:0px !important;}
.tabs-mobile .ui-tabs-nav li a {width:100%;}
.tabs-mobile .ui-tabs-panel {padding-left:20px !important;border-radius:0px !important;}
.tabs-mobile .ui-tabs-nav li:not(.ui-tabs-active) {display:none;}
.tabs-mobile .ui-tabs-nav li.ui-tabs-active a {border-right:0 !important;}
.tabs-mobile .ui-tabs-nav.hover {z-index:10;}
.tabs-mobile .ui-tabs-nav.hover li {display:block;}
.tabs-mobile .ui-tabs-nav:not(.hover) li.ui-tabs-active a {background:url(../img/background/bg-titre.png);color: #333;-moz-border-radius: 10px 10px 0px 0px !important;-webkit-border-radius: 10px 10px 0px 0px !important;border-radius: 10px 10px 0px 0px !important;}

/* DOUBLE TABS */
.double-tabs {padding:0 !important;margin-top:37px;border:0;}
.double-tabs .ui-tabs-nav {width:100%; height:39px;margin-top:-37px;}
.double-tabs .ui-tabs-nav li {width:50%;margin:0;}
.double-tabs .ui-tabs-nav li a {text-transform:uppercase;width:100%; padding:10px;margin:0;color:#999;font-weight:bold;-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;}
.double-tabs .ui-tabs-nav li a::before {font-size:20px;margin-right:15px;vertical-align:-2px;}
.double-tabs .ui-tabs-nav li a span {padding:0 20px;}
.double-tabs .ui-tabs-nav li a span.picto {padding-left:15px !important;}
.double-tabs .ui-tabs-nav li a span.icon {padding:0;margin:-5px 0 0 5px;}
.double-tabs .ui-tabs-nav li span.nb, .double-tabs .ui-tabs-nav li .add-btn {position:absolute;right:15px;padding:0px;width:24px;height:24px;line-height:23.5px;display:block; margin:-20px 0 0 15px; background: #d4d6de; text-align:center; color:#23242c; font-size:11px; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px;}
.double-tabs .ui-tabs-nav li .add-btn:hover {cursor:pointer;background:#bbbbbb;}
.double-tabs .ui-tabs-nav li:not(.ui-state-active) span.nb {background:#cc0000; color:#fff;}
.double-tabs .ui-tabs-nav li:first-child a {-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;}
.double-tabs .ui-tabs-nav li:last-child a {-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.double-tabs .ui-tabs-panel {height:340px;padding:0;padding-top:5px;overflow-y:auto;-moz-border-radius-topright:10px; -webkit-border-top-right-radius:0px; border-top-right-radius:0px;}

.double-tabs .ui-tabs-nav li:not(.ui-state-active) a.with-add-btn span.add-btn, .double-tabs .ui-tabs-nav li:not(.ui-state-active) a.with-add-btn:hover span.nb, .double-tabs .ui-tabs-nav li.ui-state-active a.with-add-btn span.nb {display:none;}
.double-tabs .ui-tabs-nav li:not(.ui-state-active) a.with-add-btn:hover span.add-btn {display:block;}


/* PICTO DES TABS */
.ui-tabs-nav li a span.picto-contact .icon {background-position:-487px 0px;}
.ui-tabs-nav li a span.picto-taches .icon {background-position:-600px 0px;}
.ui-tabs-nav li a span.picto-dialog .icon {background-position:-1012px 0px;}
.ui-tabs-nav li a span.picto-list .icon {background-position:-1311px 0px;}

.ui-tabs-nav li.ui-state-active a span.picto-contact .icon {background-position:-487px -30px;}
.ui-tabs-nav li.ui-state-active a span.picto-taches .icon {background-position:-600px -30px;}
.ui-tabs-nav li.ui-state-active a span.picto-dialog .icon {background-position:-1012px -30px;}
.ui-tabs-nav li.ui-state-active a span.picto-list .icon {background-position:-1311px -30px;}

/* TABLEAU DES TABS */
.listing-tabs {border:0 !important;width:100%;}
.listing-tabs tr.titres td {padding:2px 10px !important;border-bottom:1px solid #333 !important;font-weight:bold;}
.listing-tabs tr.titres td:last-child {border-right:0 !important;}
.listing-tabs tr:not(.titres) td:first-child {border-left:1px solid #999 !important;}


/***********************************************/
/*************** NOTIFICATIONS *****************/
/***********************************************/
#notifications-area {position:absolute;top:60px;right:0px;z-index:9999;}
#notifications-center {background:#000;opacity:0.5;filter: drop-shadow;-webkit-filter: blur(5px);filter: blur(5px);width:300px;height:100%;position:fixed;right:0px;top:0px;z-index:9;}

.notify-dialog {display:none;width:350px;margin:10px;padding:5px 10px;border:1px solid rgba(255, 255, 255, 0.25);color:#FFF;background:rgba(0, 0, 0, 0.90);-moz-box-shadow:0px 0px 5px 0px #000000;-webkit-box-shadow: 0px 0px 5px 0px #000000;box-shadow: 0px 0px 5px 0px #000000;}
.notify-dialog .icon {width:50px;padding:0;font-size:30px;}
.notify-dialog .content {padding:5px;width:210px;}
.notify-dialog .content h2 {font-size:12px;margin-bottom:3px;}
.notify-dialog .content p {font-size:11px;}
.notify-dialog .content.no-titre p {font-size: 12px;padding: 5px 0px;}
.notify-dialog .link {width:60px;padding:0px;vertical-align:bottom;padding-bottom:5px;}
.notify-dialog .link a {display: block;padding: 3px 6px;border: 1px solid rgba(255, 255, 255, 0.21);margin-top:8px;text-align: center;color: #BDBDBD;background: rgba(255, 255, 255, 0.25);font-size: 11px;}
.notify-dialog .link a:hover {text-decoration:none;background:rgba(255,255,255,0.50);color:#000;}

.notify-error {background:rgba(169, 0, 0, 0.9);}
.notify-valid {background:rgba(5, 128, 3, 0.9);}
.notify-error .link a, .notify-valid .link a {border: 1px solid rgba(0, 0, 0, 0.21);    background: rgba(0, 0, 0, 0.25);color:#C3C3C3;}

/***********************************************/
/****************** TABLEAU ********************/
/***********************************************/
#contenu table:not(.nostyle) {border-left:1px solid #999;border-top:1px solid #999;border-spacing:0;}
#contenu table:not(.nostyle) thead tr:not(.notitres) th, table tfoot tr:not(.notitres) td {background:#484848;color:#fff;}
#contenu table:not(.nostyle) thead tr:not(.notitres):not(.nohover) th:not(.nohover):hover {cursor:pointer;}
#contenu table:not(.nostyle) thead th, table td {padding:5px 10px;}
#contenu table:not(.nostyle) .big-titre {text-transform:uppercase; font-size:13px;}
#contenu table:not(.nostyle) tr td {border-bottom: 1px solid #999999;border-right:1px solid #cccccc;}
#contenu table:not(.nostyle) tr td:last-child {border-right:1px solid #999;}
#contenu table:not(.nostyle) tr.class1 td {background: #fff;}
#contenu table:not(.nostyle) tr.class2 td {background:#F9F9F9;}
#contenu table:not(.nostyle) tr.class3 td {background: #fff;}
#contenu table:not(.nostyle) tr.class4 td {background:#F9F9F9;}
#contenu table:not(.nostyle) tr td.noresult {padding:20px;}
#contenu table:not(.nohover) tr.class1:hover td, #contenu table:not(.nohover) tr.class2:hover td {cursor:pointer; background:#f3f3f3;}
#contenu table.full-link tr td {padding:0px;}
#contenu table.full-link tr td a {color:#000;padding:5px 10px;display:block;width:100%;height:100%;box-sizing:border-box;-moz-box-sizing:border-box;}
#contenu table.full-link tr:hover td a {background:#333;text-decoration:none;}

#contenu table:not(.nostyle) thead tr th.first {-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;}
#contenu table:not(.nostyle) thead tr th.last {-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
#contenu table:not(.nostyle) tbody tr td.first {-moz-border-radius-bottomleft:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px;}
#contenu table:not(.nostyle) tbody tr td.last {-moz-border-radius-bottomright:10px; -webkit-border-bottom-right-radius:10px; border-bottom-right-radius:10px;}
#contenu table:not(.nostyle) tbody tr td.border-l {border-left:1px solid #999999;}
#contenu table:not(.nostyle) tbody tr td.border-r {border-right:1px solid #999999;}

table.form-content td {padding:10px;}
table.form-content tr:first-child td {padding-top:30px;}
table.form-content tr:last-child td {padding-bottom:30px;}
table.form-content td:first-child {padding-left:30px;}
table.form-content td:last-child {padding-right:30px;}
table.form-content tr.noborder td, #contenu table.form-content td.noborder {border:0 !important; padding-bottom:0;}

/* Style 2 */
table.table-style2 {border:0 !important;border-spacing:0 !important;}
table.table-style2 thead tr th {border:0 !important;border-bottom:1px solid #000 !important;background:transparent !important;color:#000 !important;font-size:11px !important;text-align:left !important;padding:2px 6px 2px 14px !important;}
table.table-style2 thead tr th:hover {background:transparent !important;cursor:default !important;}
table.table-style2 tbody tr:not(.noborder) td:first-child {border-left:1px solid #666 !important;}
table.table-style2 tbody tr:not(.noborder) td:last-child {border-right:1px solid #666 !important;}
table.table-style2 tbody tr:not(.noborder):last-child td {border-bottom:1px solid #666 !important;}
table.table-style2 tbody tr:not(.noborder) td {border-bottom:1px solid #333 !important;}
table.table-style2 tbody tr td {padding:4px 6px 4px 14px !important;}
table.table-style2 tfoot tr td {background:transparent !important;color:#000 !important;border:0 !important;}
table.table-style2 tr.noborder td, table.table-style2 tr.noborder th, table.table-style2 tr td.noborder, table.table-style2 tr th.noborder {border:0 !important;}

table th.actions, table td.actions, table.table-style2 th.actions, table.table-style2 td.actions {padding:5px !important;}
table td.actions .button-picto {padding:2px;}

/* GESTION DU ORDER BY */
#contenu table.table-order thead tr:not(.notitres) th {padding-right: 20px !important; border-right:1px solid #666; color:#fff; text-align:left;}
#contenu table.table-order thead tr:not(.notitres) th:(.nohover) {cursor:pointer;}
#contenu table.table-order thead tr:not(.notitres) th .order {background:url(../img/table-order-col.png); background-position:-16px -16px; float:right; width:16px; height:16px; margin: 0 -18px 0 0;}
#contenu table.table-order thead tr:not(.notitres) th:hover .order {background-position:-16px 0;}
#contenu table.table-order thead tr:not(.notitres) th.orderby .order {background-position:-16px -48px;}
#contenu table.table-order thead tr:not(.notitres) th.orderbydesc .order {background-position:-16px -32px;}

/* GESTION DU TEXT-OVERFLOW */
table.text-overflow {table-layout: fixed;}
table.text-overflow td, table.text-overflow th {white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
table.text-overflow span.overflow-tooltip {}

/* GESTION DE LA PAGINATION */
.pagination-mini {margin-top:10px;}
.pagination-mini td {width:33%;text-align:center;color:#666;}
.pagination-mini td a {color:#999;}
.pagination-mini td a:hover {color:#333;text-decoration:none;}
.pagination-mini td:first-child {text-align:left;padding-left:20px !important;}
.pagination-mini td:last-child {text-align:right;padding-right:20px !important;}

table.table-link tbody tr td {padding:0px !important;}
table.table-link tr td a {display:block;color:#000;padding:4px 6px 4px 14px !important;}
table.table-link tr td a:hover {text-decoration:none;}
table.table-link tr:hover td a {background:#333;}

/***********************************************/
/**************** FORMULAIRES ******************/
/***********************************************/
.form {padding:10px 15px; margin: 0 0 50px 0;}
.form.nomargin {margin:0;}
.ui-dialog .form {margin-bottom:0; padding:0px 15px;}
.ui-dialog .form select {min-width:170px;}
.form .titre {font-weight:bold;text-transform:uppercase;font-size:14px;text-align:center;color:#333;padding-top:5px;}
.form .titre-form {position:absolute; text-transform:uppercase;margin-top:-37px; background:#333 !important; color:#fff; padding:5px 20px 5px 8px;-moz-border-radius-topleft:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px;-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.form .titre-form::before {font-size:16px;margin-right:10px;}
.form .line-form {padding: 10px 0; width:100%; clear:both; background: url(../img/limitation-trait.png) no-repeat -40px 0;}
.form div.first {background:none;}
.form .line-form .last {margin-right:0;}
.form .line-form .label {padding: 5px; font-weight:bold;display:inline-block; width:160px; min-height:24px;vertical-align:top;}
.form .line-form .data {margin-top:5px;}
.form .line-form .data, .form .line-form input[type=text], .form .line-form textarea {width:250px;display:inline-block;}
.form .line-form .data input[type=text] {float:none;}
.form .line-form .sub-infos {width:100%;clear:both;color:#999;display:inline-block;clear:both;margin: 5px 0 10px 0;text-align:justify;}
.form .line-form textarea {resize:vertical;}
.form .line-form .radiobox, .line-form .chosen-container {display:inline-block;}
.form .line-form .chosen-container {vertical-align:top;}
.form .line-form .addBtn, .line-form .editBtn {margin-left:5px;margin-top:2px;}
.form .line-form span.checkbox {margin-top:1px;}
.form .line-form .checkbox-label {margin-top:2px;margin-left:10px;}
.form .line-form .icheckbox, .form .line-form .icheckbox-label {display:inline-block;float:none;vertical-align:middle;margin-top:4px;margin-right:10px;}
/*.form .line-form .icheckbox:not(.checked) {background:#fff;border-radius:5px;}*/
.form .line-form .help-element {font-size: 23px;vertical-align:top;color:#666;}
.form .line-form .help-element::before {vertical-align:top;line-height: 22px;}
.form .hr {width:100%; border-bottom:1px solid #999;padding-top:5px; margin-bottom:5px; clear:both;}

.show-data .line-form {background-size:100% 1px; padding: 5px 0;}
.show-data div.data {margin-bottom:5px;}

.form-actions-buttons {margin:0 auto 20px auto !important;border-top:0 !important;text-align:center;}
.form-actions-buttons td {border:0 !important;}
.form-actions-buttons td:first-child {padding: 0 50px 0 0 !important;}
.form-actions-buttons td:last-child {padding: 0 0 0 50px !important;}

.form .line-form:not(.redactor-full) .redactor_box {width:265px !important;display:inline-block;margin-bottom:10px;}
.form .redactor_toolbar {height:auto !important;}
.form .redactor_toolbar li.redactor_separator {height:19px !important;}
.form .redactor_toolbar li a {height:15px !important;}
.form .line-form:not(.redactor-full) .redactor_editor {width:100%;min-height:35px;}

.form .line-form.redactor-full .redactor_box {clear:both;}
.form .line-form.redactor-full .redactor_editor, .form .line-form.redactor-full .redactor_toolbar {width:100%;border-right:1px solid #333;}
.form .line-form.redactor-full.full-width .redactor_box {width:100%;}

.etat-field {width:25px; height:25px; float:left; display:none;}
.etat-field.load {background:url(../img/etat-field.gif) no-repeat 0 0;}
.etat-field.valid {background:url(../img/etat-field.gif) no-repeat 0 -25px;}
.etat-field.error {background:url(../img/etat-field.gif) no-repeat 0 -50px;}


/***********************************************/
/***************** REDACTOR ******************/
/***********************************************/
.redactor_box {display:inline-block;margin-bottom:10px;}
.redactor_toolbar {height:19px !important;}
.redactor_toolbar li.redactor_separator {height:19px !important;}
.redactor_toolbar li a {height:15px !important;}
.redactor_editor {width:100%;min-height:35px;box-sizing:border-box;-moz-box-sizing:border-box;}
.redactor_editor ul li {list-style:disc;}
.redactor_editor ol li {list-style:decimal;}
.redactor_editor ul li, .redactor_editor ol li {margin-left:0;}
.redactor_editor table {border:1px dashed #666 !important;}
.redactor_editor table td {padding:0 !important;border:1px dashed #666 !important;}
.redactor_box textarea {width:100% !important;}


/***********************************************/
/***************** HISTORIQUE ******************/
/***********************************************/
.no-historique {text-align:center;color:gray;padding:40px 0 0 0;font-size:11px;}
.ui-tabs-panel.liste-historique {overflow-y:auto;}
.historique-block {padding:5px 10px;}
.historique-block.historique-block1 {}
.historique-block.historique-block2 {background:#333;}
.historique-block .historique-infos {display:inline-block;font-weight:bold;}
.historique-block .historique-action {display:inline-block;}

/***********************************************/
/*************** UPLOAD FICHIER ****************/
/***********************************************/
.button-upload {width:185px;margin:auto;}
.button-upload .btn-photo {margin-left:10px;height:19px;}
.button-upload .btn-photo .icon {margin:-1px 0px 0px 2px;}
.uploadifive-button {text-transform:none !important;margin:auto;}
.uploadifive-button input[type=file] {cursor:pointer;}
.uploadifive-button:hover {cursor:pointer;}
#files-queue {clear: both; border:1px solid #333; min-height: 110px; height: auto; overflow:auto; margin-bottom: 10px; padding: 0 3px 3px; max-width: 400px;width:100%; margin:20px auto;}

#cadre-photo {width:400px;height:300px;zoom:2;margin:auto;border:1px solid #333;margin:20px auto;}
#files-queue .photo-item {text-align:center;display:inline-block;width:125px;margin:4px;}
#files-queue .photo-item img {width:125px;height:auto;border:1px solid #333;}
#files-queue .photo-item .loader-min {margin-top:45px;}

#dialog-preview-upload.loaded img {max-width:100%;height:auto;}

.manage_files_list {height:auto !important;}
.manage_view_files {float:right;margin: -11px 0 0 5px;-moz-border-radius-topright:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px;}
.manage_view_files a {color:#666;border:1px solid #666;display:inline-block;padding:5px;-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;}
.manage_view_files a:first-child {border-right:1px solid #666;}
.manage_view_files a:last-child {-moz-border-radius-topright:10px !important; -webkit-border-top-right-radius:10px !important; border-top-right-radius:10px !important;margin-left:-4px;}
.manage_view_files a.active {background:#333;opacity:1.0 !important;color:#FFF;}
.double-tabs .manage_view_files {display:none;}

.listing-files {padding:10px 20px;}
.listing-files .nofiles {padding:20px 0; text-align:center; color:gray;font-size:11px;}
.listing-files .file-block .file-part1 {height:auto;}
.listing-files .file-block:first-child {margin-top:16px; clear:both;}
.listing-files:not(.list-view) .file-block {width:auto; border:1px solid #333;float:left;position:relative; padding-top:5px;margin:2px;}
.listing-files:not(.list-view) .file-block .file-icone {text-align:center;}
.listing-files:not(.list-view) .file-block .file-icone a {margin:auto;}
.listing-files:not(.list-view) .file-block .file-icone img {width:40px; height:40px;}
.listing-files:not(.list-view) .file-block .file-icone.apercu-img {width:90px; height:40px;}
.listing-files:not(.list-view) .file-block .file-icone.apercu-img img {max-width:90px; max-height:40px;width:auto;height:auto;margin:auto;}
.listing-files:not(.list-view) .file-block .file-icone.apercu-img .icone {display:none;}
.listing-files:not(.list-view) .file-block .file-icone.apercu-img .apercu {display:block;}
.listing-files:not(.list-view) .file-block .file-name {width:80px;margin:auto;}
.listing-files:not(.list-view) .file-block .file-informations {display:none;left:-10px; top:100px;position:absolute;-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;background:url(../img/background/bg-black-transparent.png);height:auto;padding:5px; width:100px;color:#fff;font-size:10px;}
.listing-files:not(.list-view) .file-block .file-part1:hover .file-informations {display:block;}
.listing-files:not(.list-view) .file-block .file-actions {border-top:1px solid #333; width:100%; margin-top:5px;}
.listing-files:not(.list-view) .file-block .file-icone a, .listing-files .file-block .file-name a {color:#000;display:block;width:79px;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;}
.listing-files .file-block .file-name a:hover {text-decoration:none;}
.listing-files:not(.list-view) .file-block:not(.ui-selected) .file-actions a {opacity:0.1 !important;}
.listing-files:not(.list-view) .file-block .file-actions a {padding:2px;}
.listing-files:not(.list-view) .file-block:hover .file-actions a {opacity:0.5 !important;}
.listing-files:not(.list-view) .file-block:hover .file-actions a:hover {opacity:1.0 !important;}
.listing-files:not(.list-view) .file-block:hover .file-actions a.disabled {opacity:0.1 !important;cursor:default;}

.listing-files.list-view .file-block {position:relative;}
.listing-files.list-view .file-block:nth-child(2n+1) {background:#f9f9f9;}
.listing-files.list-view .file-block .file-part1 {display:inline-block;width:100%;}
.listing-files.list-view .file-block:first-child {border-top:1px solid #333;}
.listing-files.list-view .file-block {width:100%; height:35px;padding:5px 0 0 0;border-bottom:1px solid #333; clear:both;}
.listing-files.list-view .file-block .file-icone {display:inline-block;width:5%;text-align:center;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;}
.listing-files.list-view .file-block .file-icone img {height:20px;}
.listing-files.list-view .file-block .file-icone.apercu-img img {display:none;}
.listing-files.list-view .file-block .file-icone.apercu-img img.icone {display:block;}
.listing-files.list-view .file-block .file-name {display:inline-block;margin:0 5px;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;width:45%;}
.listing-files.list-view .file-block .file-name a {text-overflow:ellipsis;overflow: hidden;white-space: nowrap;width:100%;}
.listing-files.list-view .file-block .file-informations {display:inline-block;height:auto;width:29%;}
.listing-files.list-view .file-block .file-type {display:inline-block;font-size:11px;margin:0 5px;width:43%;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;}
.listing-files.list-view .file-block .file-size {display:inline-block;font-size:11px;margin:0 5px;width:43%;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;}
.listing-files.list-view .file-block .file-actions {position:absolute;top:5px;right:0px;}
.listing-files.list-view .file-block .file-actions a {display:inline-block;padding:0;}
.listing-files .file-actions a {border-color:transparent;}

.mini-ico {width:15px; height:15px;}

/***********************************************/
/******************** EMAILS *******************/
/***********************************************/
.attach-com-content {display:none;}
#dialog-communication .modele-part {width: auto;position: absolute;right: 0px;top: -40px;}
#dialog-communication .modele-part .editBtn {opacity:0.8;}
#dialog-communication .read-data {padding:7px 12px;border:1px solid #333;}
.files-area .pj-element {position:relative;display: inline-block;width: 60px;height: 60px;margin-top: 5px;margin-right: 5px;}
.files-area .pj-element .delete-btn {position:absolute;right:3px;top:3px;opacity: 0.3;}
.files-area .pj-element:hover .delete-btn {opacity:1.0;}
.files-area .pj-element .pj-icon {width: 60px;height: 35px;border: 1px solid #e8e8e8;}
.files-area .pj-element .pj-icon img {height:auto;width:60px;}
.files-area .pj-element .nom {    display: inline-block;overflow: hidden;width: 60px;background: rgba(0, 0, 0, 0.55);word-wrap: break-word;height: 30px;font-size: 10px;border: 1px solid #dcdcdc;padding: 2px;color: #fff;}
.files-area .pj-element .poids {display:none;}
.files-area-show .pj-element:hover {cursor:pointer;background:#f5f5f5;}

#form_send .line-form .label {width:220px;}
#form_send .tarif-envoi-part {width:580px;padding:5px;border:1px solid #333;}
#form_send .tarif-envoi-part table {width:275px;}
#form_send .tarif-envoi-part table:nth-child(2) {padding-left:30px;}
#form_send .tarif-envoi-part table:nth-child(2) tr td:last-child {width:100px;}

.pieces-jointes-files-listing {border-spacing:0;width:100%;}
.pieces-jointes-files-listing .titres td {font-weight:bold; font-size:13px;border:0;border-right:0 !important;border-bottom:1px solid #333;}
.pieces-jointes-files-listing .sub-titres td {border-bottom:1px solid #999;padding: 0 5px 2px 5px;border-left:0;border-right:0 !important;font-size:11px;font-weight:bold;}
.pieces-jointes-files-listing tr td {border-bottom:1px solid #333; border-left:1px solid #333; padding:5px;}
.pieces-jointes-files-listing tr td:last-child {border-right:1px solid #333;}
.pieces-jointes-files-listing .ico img {width:15px;height:15px;}

.show-code-integrate-email, .show-code-integrate-email2 {font-size:11px;}
.show-code-integrate-email tr td, .show-code-integrate-email2 tr td {padding:2px !important;box-sizing:border-box;-moz-box-sizing:border-box;}
.show-code-integrate-email tr td.separate, .show-code-integrate-email2 tr td.separate {width:50px;}

#configuration-email input[type=text] {width:200px;}

/***********************************************/
/******************** NOTES ********************/
/***********************************************/
.listing-notes {margin:auto;padding:10px 20px;overflow-y:auto;max-height:220px;}
.listing-notes .note {border-bottom:1px solid #333;padding:5px 0;position:relative;}
.listing-notes .note:last-child {border-bottom:0;}
.listing-notes .note .note-content {width:100%;}
.listing-notes .note .note-content .note-author {font-weight:bold;margin-bottom:2px;}
.listing-notes .note .note-content .note-text {}
.listing-notes .note .note-content .note-text .redactor_box {width:85%;}
.listing-notes .note .actions {opacity:0;position:absolute;top:5px;right:0;}
.listing-notes .note:hover .actions {opacity:1.0;}
.listing-notes .note .actions a {width:25px;font-size:14px;}
.listing-notes .note .actions a {padding:0 !important;border:0 !important;}
.listing-notes .note .actions a:hover {border:0 !important;}
.listing-notes .nonotes {padding:20px 0; text-align:center; color:gray;font-size:11px;}

.page-gestion-commerciale-3 .listing-notes {max-height:160px;}

.add-note {border-top:1px solid #999; width:90%; margin:auto;}
.add-note .text {font-weight:bold;margin:7px 0 5px 0;font-size:11px;color:#666;}
.add-note .edit-area {position:relative;}
.add-note .edit-area .redactor_box {width:85%;}
.add-note .edit-area .redactor_editor {min-height:35px;}
.add-note .edit-area .button {padding:3px 10px !important;margin-top:5px}

/***********************************************/
/****************** AGENDA *********************/
/***********************************************/
.page-agenda-0 #contenu .content, .page-chantiers-0 #contenu .content, .page-chantiers-3 #contenu .content {padding:0;}
.page-chantiers-0 #contenu, .page-chantiers-3 #contenu {padding-top:27px !important;}
.page-agenda-0 #footer, .page-chantiers-0 #footer, .page-chantiers-3 #footer {display:none;}

.disabled-event {opacity:0.5;}

#agenda .fc-agenda td, #agenda .fc-agenda th {border-radius:0px !important;}
#agenda .fc-head-container th.fc-axis:hover, #agenda .fc-day-header:hover {background: url(../img/background/bg-titre.png) !important;cursor:default !important;}
#agenda .fc-head-container th.fc-axis {padding:4px !important;}
#agenda .fc-view-container {background:#fff;}
#agenda .fc-time-grid .fc-slats td {height:20px;}
#agenda .fc-toolbar {margin-bottom:0px;padding:13px 10px 10px 10px;}
#agenda .fc-toolbar .fc-button {
	margin-bottom:0px;
	height:auto !important;
    border: 1px solid #333;
    background: #D12548;
	text-shadow:none;
	box-shadow:none;
	color:#fff;
    padding: 5px 10px;
    line-height: 12px;
	opacity:1.0;
}
#agenda .fc-toolbar .fc-button:hover {
	opacity:0.9;
}
#agenda .fc-toolbar .fc-button.fc-state-disabled {
	opacity:0.4;
}
#agenda .fc-toolbar .fc-button .fc-icon {
	margin:0px !important;
}
#agenda .fc-toolbar .fc-button.fc-prev-button, #agenda .fc-toolbar .fc-button.fc-next-button {
	padding:4px 5px;
}
#agenda .fc-toolbar .fc-button.fc-state-active {
	background: #4C4C4C;
	opacity:1.0;
}
#agenda .fc-toolbar .fc-button.fc-button-config {
    font-size: 14px;
    padding: 4px 3px;
    margin-left: 10px;
}

@media all and (max-width:980px) {
	#agenda-list {width:140px;}
	#agenda-list .titre {font-size:11px;}
	#agenda-list .agenda-block > a {padding:7px 5px 7px 22px;}
	#agenda-list .agenda-block > a .agenda-color {width:10px;height:10px;margin-left:-17px;margin-top:2px;}
	#agenda-block {padding-left:140px;}
}
@media all and (min-width:981px) {
	#agenda-list {width:200px;}
	#agenda-list .agenda-block > a {padding:10px 10px 10px 40px;}
	#agenda-list .agenda-block > a .agenda-color {width:15px;height:15px;margin-left:-30px;}
	#agenda-block {padding-left:200px;}
}

#agenda-list .noagenda {color:#fff;text-align:center;padding:10px 0;font-size:11px;}

#agenda table tr td {border-bottom:0px !important;border-right:0px !important;}
#agenda table tr td:last-child {border-right:0px !important;}
#agenda .hidden_calendar {display:none;}

.no-come-resa {background:repeating-linear-gradient(-42deg, rgb(255, 255, 255), white 35px, #9e9e9e 15px, #9e9e9e 60px);min-height: 100%;opacity:0.8;}

#agenda .fc-event.tache {height:20px;}
#agenda .fc-event.tache .tache-action {
	background: #fff;
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 10;
    top: 4px;
    left: 5px;
}
#agenda .fc-event.tache .tache-action::before {
	font-size: 15px;
    position: absolute;
    color: #000;
    left: -4px;
    top: -2px;
}
#agenda .fc-event.tache .fc-title, #agenda .fc-event.tache .fc-time {
	padding: 3px 0px 2px 23px;
	display:inline-block;
	vertical-align:top;
}
#agenda .fc-month-view .fc-event.tache .fc-title, #agenda .fc-time-grid-container .fc-event.tache .fc-title {padding: 3px 0px 2px 3px;width:100px;text-overflow: ellipsis;overflow:hidden;white-space:nowrap;}
#agenda .fc-agendaDay-view .fc-event.tache .fc-title {width:auto;}
#agenda .fc-event.tache .fc-resizer {display:none !important;}

.fc-view-container .fc-head-container th.fc-resource-cell {font-size:10px !important;text-align:center !important;overflow: hidden;text-overflow: ellipsis;}
.fc-view-container .fc-head-container th.fc-day-header {text-align:center !important;}

#dialog-agenda-config .label {width:225px;}

.rendez-vous-list li {padding:5px 10px;box-sizing:border-box;-moz-box-sizing:border-box;}
.rendez-vous-list li.day-date {font-weight:bold;padding:10px 10px 2px 10px;border-bottom:1px solid #666 !important;color:#000;}
.rendez-vous-list li.day-date.first {padding-top:4px;}
.rendez-vous-list li .hour {font-size:11px;padding-right:2px;}

.fc-agenda-allday, .fc-agenda-allday td, .fc-header,.fc-header td {border:0 !important;}
.fc-agenda-slots, .fc-agenda-days {border:0 !important;}
.fc-content {-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;}
.fc-agenda-days thead th {cursor:default !important;}
.fc-agenda-days thead .fc-first .fc-first {-moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; border-top-left-radius:5px;}
.fc-agenda-days thead .fc-first .fc-last {-moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; border-top-right-radius:5px;}

#dialog-event input.date {width:100px !important;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .select2-container {width:auto !important;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .select2-container .select2-selection__rendered {padding-right:5px !important;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .select2-container .select2-selection__arrow {display:none;}
.duree-element {padding:5px 0px !important;}
.duree-element > p {display:inline-block;padding:5px 4px;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .dropdown-content .select2-container {z-index:999999 !important;width:40px !important;font-size:11px;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .dropdown-content .select2-search__field {padding:2px !important;}
.form-validateForm .field:not(.auto) .data:not(.label-right) .duree-element .dropdown-content .select2-results__option {padding:5px 3px !important;}

/* Themes des agendas */
.select_agenda_color1 {background: #00E64D; border: 1px solid #00E64D; color: #1d1d1d;}
.select_agenda_color2 {background: #FDF569; border: 1px solid #FDF569; color: #1d1d1d;}
.select_agenda_color3 {background: #384C82; border: 1px solid #384C82; color: #1d1d1d;}
.select_agenda_color4 {background: #67DDDD; border: 1px solid #67DDDD; color: #1d1d1d;}
.select_agenda_color5 {background: #FF9900; border: 1px solid #FF9900; color: #1d1d1d;}
.select_agenda_color6 {background: #E661AC; border: 1px solid #E661AC; color: #1d1d1d;}
.select_agenda_color7 {background: #8E67FD; border: 1px solid #8E67FD; color: #1d1d1d;}
.select_agenda_color8 {background: #FD7567; border: 1px solid #FD7567; color: #1d1d1d;}
.select_agenda_color9 {background: #7bd148; border: 1px solid #7bd148; color: #1d1d1d;}
.select_agenda_color10 {background: #b3dc6c; border: 1px solid #b3dc6c; color: #1d1d1d;}
.select_agenda_color11 {background: #fbe983; border: 1px solid #fbe983; color: #1d1d1d;}
.select_agenda_color12 {background: #fad165; border: 1px solid #fad165; color: #1d1d1d;}
.select_agenda_color13 {background: #92e1c0; border: 1px solid #92e1c0; color: #1d1d1d;}
.select_agenda_color14 {background: #9fe1e7; border: 1px solid #9fe1e7; color: #1d1d1d;}
.select_agenda_color15 {background: #9fc6e7; border: 1px solid #9fc6e7; color: #1d1d1d;}
.select_agenda_color16 {background: #4986e7; border: 1px solid #4986e7; color: #1d1d1d;}
.select_agenda_color17 {background: #9a9cff; border: 1px solid #9a9cff; color: #1d1d1d;}
.select_agenda_color18 {background: #b99aff; border: 1px solid #b99aff; color: #1d1d1d;}
.select_agenda_color19 {background: #c2c2c2; border: 1px solid #c2c2c2; color: #1d1d1d;}
.select_agenda_color20 {background: #cabdbf; border: 1px solid #cabdbf; color: #1d1d1d;}
.select_agenda_color21 {background: #cca6ac; border: 1px solid #cca6ac; color: #1d1d1d;}
.select_agenda_color22 {background: #f691b2; border: 1px solid #f691b2; color: #1d1d1d;}
.select_agenda_color23 {background: #cd74e6; border: 1px solid #cd74e6; color: #1d1d1d;}
.select_agenda_color24 {background: #a47ae2; border: 1px solid #a47ae2; color: #1d1d1d;}
.hidden_agenda {background: transparent !important;}

.list-event-color {}
.list-event-color input {position:absolute;margin-right:7px;z-index:1;}
.list-event-color .select_event_color {display:inline-block;position:relative;height: 20px; width: 20px;border: 2px solid #ffffff; cursor: pointer;z-index:2;}
.list-event-color .selected {border: 2px solid #000;}
.select_event_color1 {background: #a4bdfc; border: 1px solid #a4bdfc; color: #1d1d1d;}
.select_event_color2 {background: #7ae7bf; border: 1px solid #7ae7bf; color: #1d1d1d;}
.select_event_color3 {background: #dbadff; border: 1px solid #dbadff; color: #1d1d1d;}
.select_event_color4 {background: #ff887c; border: 1px solid #ff887c; color: #1d1d1d;}
.select_event_color5 {background: #fbd75b; border: 1px solid #fbd75b; color: #1d1d1d;}
.select_event_color6 {background: #ffb878; border: 1px solid #ffb878; color: #1d1d1d;}
.select_event_color7 {background: #46d6db; border: 1px solid #46d6db; color: #1d1d1d;}
.select_event_color8 {background: #e1e1e1; border: 1px solid #e1e1e1; color: #1d1d1d;}
.select_event_color9 {background: #5484ed; border: 1px solid #5484ed; color: #1d1d1d;}
.select_event_color10 {background: #51b749; border: 1px solid #51b749; color: #1d1d1d;}
.select_event_color11 {background: #dc2127; border: 1px solid #dc2127; color: #1d1d1d;}
.select_color_separate {display:inline-block;border-left: 1px solid #999; height: 24px; margin-left: 5px;}


/***********************************************/
/******************* TIERS *********************/
/***********************************************/

/******************* FORMULAIRES *********************/
.tiers-form .form {margin-bottom:80px;}
.type_prospect {width:422px;}
.form-contact-tiers {width:426px;}
#contenu .informations-pieces .contact-tiers {min-width:458px; padding:0 !important;}
#contenu .informations-pieces .contact-tiers .content {padding:10px 15px !important;}
.contact-tiers-form-part {display:none;}
.contact-tiers-show .contact-tiers-form-part {display:block;}

@media all and (max-width:579px) {
	.type_prospect {width:100% !important;padding:10px 0;}
	.type_prospect .line-form {padding:0 15px;}
	.line-form .label {clear:both;width:100%;}
	.line-form .data, .line-form input[type=text], .line-form textarea {width:250px;}
	.tiers-form .floatright, .tiers-form .floatleft{float:none !important;margin:0 auto 50x auto;}
	.line-form .picto.notext {display:inline-block;}
}
@media all and (min-width:580px) and (max-width:979px) {
	.tiers-form .floatright {float:left !important; clear:both;}
	.tiers-form {width:460px; margin:auto;}	
}
@media all and (min-width:980px) and (max-width:1079px) {
	.tiers-form .line-form input[type=text], .tiers-form .line-form textarea, .tiers-form .line-form .chosen-container {width:180px !important;}
	.type_prospect, .coordonnees-tiers {width:390px;}
	.contact-tiers {min-width:418px;}
}
@media all and (min-width:1080px) {
	.tiers-form {max-width:1000px; margin:auto;}
	.informations-tiers {height:245px;}
	.coordonnees-tiers {height:197px;}
}

@media all and (max-width:1119px) { .form-contact-tiers.contact-tiers-show {width:95%;} }
@media all and (min-width:1120px) { .form-contact-tiers.contact-tiers-show {width:969px;} }
.informations-tiers .label {width:155px;}

/******************* FICHE TIERS *********************/
/* Positionnement, hauteur et largeur des blocs */
.tabs-onglet > div:not(.tabs-left) > div:not(.menu-container):not(.menu-container-actions) {height:320px;}
.tabs-onglet div div .content {padding:15px 0px !important; overflow:auto;height:290px;}
.tabs-suivis-part {height:300px;}
.tiers-dialog-part, .tabs-suivis-part {width:400px;}

/* Informations g�n�rales du tiers */
.tiers-informations .tiers {padding-bottom:20px;-moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; background:url(../img/trait-horizontal.png) #FFF; background-repeat:repeat-y; background-position:center;}
.tiers-informations .small-titre {position:absolute; margin-top:-30px;}
.tiers-informations .tiers {width:100%;}
.tiers-informations .tiers .content {padding:10px 20px !important;}
.tiers-informations .tiers .first {float:left;}
.tiers-informations .tiers .label {width:150px;}
.tiers-informations .tiers .second {float:right;}
.tiers-informations .tiers .form.first, .tiers-informations .tiers .second {width:48%;}
.tiers-informations .form {margin:0;padding:0;}
.tiers-informations .form .line-form {padding:0;min-height:1px;}
.tiers-informations .form .first {border-right:0;}
.tiers-informations .form .label {padding:7px 10px;height:auto;}
.tiers-informations .form .label::before {color:#A1A1A1;margin-right:10px;font-size:14px;}
.tiers-informations .form .data {margin:0;padding:7px 10px;width:auto;}
.tiers-graph {width:100%;height:90px;background:url(../img/background/bg-titre.png);-moz-border-radius-bottomleft:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px;-moz-border-radius-bottomright:10px; -webkit-border-bottom-right-radius:10px; border-bottom-right-radius:10px;}
.tiers-graph .part {width:33%;border-right:1px solid #666; float:left;height:100%;box-sizing:border-box;-moz-box-sizing:border-box;}
.tiers-graph .part:last-child {border-right:0;}
.tiers-graph .part .titre {color:#fff;text-align:center;font-size:13px;padding-top:10px;color:#333;margin:0 0 10px 0;}
.tiers-graph .part .number {font-weight:bold;font-size:16px;text-align:center;color:#00cc33;margin-top:15px;}
.tiers-graph .part .number-red {color:#ff0000;}
.tiers-graph .part .devis-wait {font-weight:bold;font-size:12px;color:#fff;float:left;width:40%;margin:0 0 5px 10%;}
.tiers-graph .part .devis-yes {font-weight:bold;font-size:12px;color:#00cc33;float:left;width:40%;margin:0 0 5px 10%;}
.tiers-graph .part .devis-no {font-weight:bold;font-size:12px;color:#ff0000;float:left;width:40%;margin:0 0 5px 10%;}

.tabs-left .apercu-fiche-contact, .tabs-left .apercu-tache  {float:left;border:1px solid #333;margin:5px;}
.tabs-tiers-elements .ui-tabs-panel .padding-content {overflow-y:auto; height:275px;}

#dialog-config-tiers .field > .label {width:260px;}

/* Responsive design */
.tabs-left #informations-tiers .tiers-informations {width:100%;height:100% !important;padding-bottom:0;}
.tabs-left .tiers-informations .line-form {padding-top:10px;padding-bottom:10px;}
.tabs-left .tiers-graph {width:100%;margin-bottom:5px; padding-bottom:10px;background:url(../img/background/bg-left.jpg);-moz-border-radius:0px; -webkit-border-radius:0px; border-radius:0px;}
.tabs-left .manage_view_files {margin: -11px -11px 0 5px;}

.adapt-mobile-content .tiers-informations .tiers {padding-bottom:30px;}
.adapt-mobile-content .tiers-graph .part:nth-last-child(2) {border-right:0;}
.adapt-mobile-content .tiers-graph .part-devis {display:none;}
.adapt-mobile-content .tiers-graph .part {width:49%;padding-bottom:10px;}

@media all and (max-width:570px) {
	.adapt-mobile-content .tiers-informations .tiers {padding-bottom:65px;}
	.tiers-informations {background:#fff;width:100%;font-size:1.5em;-moz-border-radius:0px; -webkit-border-radius:0px; border-radius:0px;}
	.tiers-informations .tiers {padding:10px 20px 10px 20px;width:auto;padding-bottom:0 !important;}
	.tiers-informations .form.first, .tiers-informations .form.second {float:none; clear:both;width:100% !important;}
	.tiers-informations .tiers .first .label {width:auto !important;}
	.tiers-informations .form .data, .tiers-informations .form.second .label {padding-left:38px;float:none;width:auto !important;}
	.tiers-informations .form .label {clear:both;padding-bottom:0;}
	.tiers-informations .form .data {clear:both;padding-top:0;}
	.tiers-informations .form .line-form {background:#fff;border-bottom:1px solid #333;}
}
@media all and (min-width:571px) and (max-width:1050px) {
	.tiers-informations {width:100%;-moz-border-radius:0px; -webkit-border-radius:0px; border-radius:0px;}
	.tiers-informations .form .line-form {width:100%;}
	.tiers-informations .form.first .data {padding-left:38px;}
	.tiers-informations .form .label {clear:both;padding-bottom:0;}
	.tiers-informations .form .data {clear:both;padding-top:0;}
}


/* FICHE TIERS UPDATE */
@media all and (max-width:1024px) {
	.tiers-informations-block {display:none;}
	.menu-deroulant-tiers {display:block;float:none;padding-top:10px !important;clear:both;}
	.tiers-dialog-part, .tabs-suivis-part {display:none;}
	.tabs-onglet {width:100% !immportant;}

	.tabs-left .tiers-graph {height:auto;}
	.tabs-left .tiers-graph .part-devis {display:none;}
	.tabs-left .tiers-graph .part {width:49%;}
	.tabs-left .tiers-graph .part:nth-last-child(2) {border-right:0;}	
}
@media all and (min-width:1025px) and (max-width:1199px) {
	.adapt-content-onglet3 {display:none;}
	.tiers-informations-block {margin-bottom:100px;}
	.tiers-informations-block, .tabs-onglet {width:100% !immportant;}
	.menu-deroulant-tiers {display:block;float:none;padding-top:10px !important;clear:both;}
	.tiers-dialog-part, .tabs-suivis-part {display:none;}
}
@media all and (min-width:1200px) {
	.tiers-informations-block {margin-bottom:100px;}
	.adapt-content-onglet1, .adapt-content-onglet3 {display:none;}
	.tiers-informations-block, .tabs-onglet {width:100%;padding-right:450px;}
	.tiers-dialog-part, .tabs-suivis-part {position:absolute;right:0px;top:0px;}
	.tabs-suivis-part {margin-top:-38px;}
	.tabs-tiers-elements .adapt-content-onglet2 {display:none;}	
}

/* LISTE DES TIERS */
.new_btn_liste {margin-left:40px;}
@media all and (max-width:1000px) {
	.ipad-view:not(.show) {display:none;}
}
@media all and (max-width:750px) {
	.optionsSearch, .tel-view:not(.show) {display:none;}
	#search {width:130px;}
}

/***********************************************/
/**************** COMPTABILITE *****************/
/***********************************************/

/* LISTE DES DEVIS, FACTURES ET AVOIRS */
.page-gestion-commerciale-0 #statut_chosen {min-width:140px !important;width:auto !important;}

.edit-exercice-comptable .label {width:250px;}
.edit-exercice-comptable .line-form {min-height:29px;}
.edit-exercice-comptable .chosen-results {max-height:100px;}

.class1.class-rond-vert td.indicator {background: url(../img/rond_vert.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-vert td.indicator {background: url(../img/rond_vert.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-vert:hover t:not(.cols-actions)d:last-child, .class2.class-rond-vert:hover td.indicator {background: url(../img/rond_vert.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}
.class1.class-rond-gris td.indicator {background: url(../img/rond_gris.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-gris td.indicator {background: url(../img/rond_gris.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-gris:hover td.indicator, .class2.class-rond-gris:hover td.indicator {background: url(../img/rond_gris.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}
.class1.class-rond-rouge td.indicator {background: url(../img/rond_rouge.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-rouge td.indicator {background: url(../img/rond_rouge.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-rouge:hover td.indicator, .class2.class-rond-rouge:hover td.indicator {background: url(../img/rond_rouge.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}
.class1.class-rond-noir td.indicator {background: url(../img/rond_noir.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-noir td.indicator {background: url(../img/rond_noir.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-noir:hover td.indicator, .class2.class-rond-noir:hover td.indicator {background: url(../img/rond_noir.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}
.class1.class-rond-jaune td.indicator {background: url(../img/rond_jaune.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-jaune td.indicator {background: url(../img/rond_jaune.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-jaune:hover td.indicator, .class2.class-rond-jaune:hover td.indicator {background: url(../img/rond_jaune.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}
.class1.class-rond-bleu td.indicator {background: url(../img/rond_bleu.png) #ffffff !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class2.class-rond-bleu td.indicator {background: url(../img/rond_bleu.png) #f9f9f9 !important; background-repeat: no-repeat !important; background-position: right center !important; padding-right:25px !important;}
.class1.class-rond-bleu:hover td.indicator, .class2.class-rond-bleu:hover td.indicator {background: url(../img/rond_bleu.png) #f3f3f3 !important; background-repeat: no-repeat !important; background-position: right center !important;}

.legend-table {border:1px solid #ccc !important; background:#fff; padding: 5px 10px; font-size:11px; margin:auto;}
.legend-table td {border:0 !important;padding:3px !important;}

/******************* FORMULAIRES *********************/
.informations-pieces {background:url(../img/trait-horizontal.png) #FFF; background-repeat:repeat-y; background-position:center;}
.informations-pieces .informations-pieces-part1, .informations-pieces .informations-pieces-part2 {margin-bottom:5px;}
.informations-pieces .informations-pieces-part1 {float:left;width:45%;}
.informations-pieces .informations-pieces-part2 {float:right;width:45%;}
.informations-pieces .informations-pieces-part2 .chosen-container {width:260px !important;}
.informations-pieces .label {width:200px !important;}
.informations-pieces #num_bdc {width:100px;}

.informations_complementaires_bloc {width:400px;}
.informations_complementaires_bloc .redactor_box {width:100% !important;border:1px solid #999;}
.informations_complementaires_bloc .redactor_box .redactor_editor {min-height:50px;}

#tabs-piece-options .ui-tabs-panel {min-height:260px;padding:15px 35px 10px 250px;}
#tabs-piece-options .ui-tabs-nav {height:100%;}
#tabs-piece-options div .form {padding:0;margin:0;}
#tabs-piece-options div .form .line-form {padding:8px 0px 5px 0px;}
#tabs-piece-options div .form .line-form .label {padding:0 !important;}
#tabs-piece-options div .form .line-form .data {width:auto;margin-top:0;}
#tabs-piece-options .save-default-config {position:absolute;right:5px; top:5px;padding:3px 4px;font-size:16px;}
#tabs-piece-options.tabs-mobile .save-default-config {top:50px !important;}

#dialog-conditions-reglements .field .label {width:140px;}
#dialog-conditions-reglements .field .data {width:300px;}

#parametres-livraison .livraison-part1, #parametres-livraison .livraison-part2 {;display:inline-block;box-sizing:border-box;-moz-box-sizing:border-box;vertical-align:top;}
#parametres-livraison .livraison-part1 {width:40%;padding-right:20px !important;}
#parametres-livraison .livraison-part2 {width:59%;padding-left:20px !important;background:url(../img/trait-horizontal.png) #FFF;background-repeat:repeat-y;}

#moyens_paiement_liste {margin-top:5px;width:100%;}
#moyens_paiement_liste li {list-style:none; margin:10px 0 0 0;padding:5px 0; float:left; width:200px;}
#moyens_paiement_liste li .editBtn {margin-top:2px;}

#conditions-ventes .redactor_box {width:100% !important;}
#conditions-ventes .redactor_box .redactor_editor {min-height:50px;}

#options-affichage ul {float:left;margin:0 50px 20px 0;}
#options-affichage li {clear:both;list-style:none; padding:7px 0;}
#options-affichage li label {margin-bottom:7px;margin-left:10px;}

#dialog-cgv .redactor_box {width:100% !important;}
#dialog-cgv .redactor_box .redactor_editor {min-height:50px;}
#dialog-cgv .redactor_box .redactor_editor table tr td:first-child {padding-right:10px !important;}
#dialog-cgv .redactor_box .redactor_editor table tr td:last-child {padding-left:10px !important;}
.apercu-cgv {border:1px solid #333;padding:5px 10px;overflow-y:auto;max-height:200px;}
.apercu-cgv td {vertical-align:top;}

.menu-edition-piece2 li ul {display:inline-block !important;position:relative !important;}
.menu-edition-piece2 ul li {margin-left:-5px;}
.menu-edition-piece2 ul li a {display:inline-block;width:auto !important;}
.menu-edition-piece2 ul li a .text {margin-right:0px;}

.menu-edition-piece, .menu-edition-piece ul {padding-left:0px;}
.menu-edition-piece li {list-style:none;}
.menu-edition-piece > li {margin-right:10px;display:inline-block;}
.menu-edition-piece .addProductBtn {padding: 5px;margin-left: -8px;-moz-border-radius: 0px 5px 5px 0px;-webkit-border-radius: 0px 5px 5px 0px;border-radius: 0px 5px 5px 0px;}
.menu-edition-piece .catalogue-search {font-size: 13px;padding: 5px 10px;}
.menu-edition-piece .clean-catalogue-search {margin-left:-30px;margin-right:5px;font-size:16px;cursor:pointer;}

.menu-edition-piece .catalogue-search-result {position:absolute;z-index:999999;padding-right:10px;width:80%;max-width:700px;}
.menu-edition-piece .catalogue-search-result .no-results, .menu-edition-piece .catalogue-search-result a {background:#FFF;color:#000;padding:5px 10px;display:block;border-bottom: 1px solid #333;border-left: 1px solid #666;border-right: 1px solid #666;}
.menu-edition-piece .catalogue-search-result .no-results {color:#666;}
.menu-edition-piece .catalogue-search-result a:hover {background:#333;text-decoration:none;}
.menu-edition-piece .catalogue-search-result li:first-child a {border-top: 1px solid #666;}
.menu-edition-piece .catalogue-search-result li:last-child a {border-bottom: 1px solid #666;-moz-border-radius: 0px 0px 5px 5px;-webkit-border-radius: 0px 0px 5px 5px;border-radius: 0px 0px 5px 5px;}
.menu-edition-piece .catalogue-search-result a span {display:inline-block;white-space: nowrap;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;}
.menu-edition-piece .catalogue-search-result a .ref {color:#666;width:10%;vertical-align:top;}
.menu-edition-piece .catalogue-search-result a .nom {width:72%;}
.menu-edition-piece .catalogue-search-result a .prix {width:15%;color:#666;text-align: right;vertical-align:top;}
.menu-edition-piece-bottom {margin-bottom:20px;}
@media all and (max-width:590px) {
	.menu-edition-piece .addProductBtn .text {display:none;}
}
@media all and (max-width:889px) {
	.menu-edition-piece2 li ul li a .text {display:none;}	
	.menu-edition-piece .catalogue-search {width:250px !important;}
}
@media all and (min-width:980px) {
	.menu-edition-piece .catalogue-search {width:350px !important;}
}

.piece-content {width:100%;}
.piece-content tr th {text-align:left;border-right:1px solid #999;}
.piece-content tr td {vertical-align:top;background:#fff;border-bottom:1px solid #333333 !important;}
.piece-content tr td .redactor_box {width:100%;min-width:220px;}
.piece-content tr td .redactor_box .redactor_editor {min-height:50px;}
.piece-content-border {border:1px solid #999999;}
.piece-content .ui-spinner {margin-bottom:5px;}
.piece-content tr .editBtn {margin-top:4px;}
.piece-content tr .editBtn.floatleft {float:left; margin: 2px 0 0 10px;}
.piece-content tr .prix_u input {text-align:right;}
.piece-content tr .actions {padding:0 !important;text-align:center;}
.piece-content tr.empty-line td {text-align:center;color:#666;font-size:14px;padding:40px !important;}
.piece-content tr td.saut-page {text-align:center;color:#666;font-size:14px;padding:20px !important;}
.piece-content tr td.subtotal {text-align:right;font-weight:bold;}
.piece-content tr td.actions .move-btn {cursor:move; margin:10px 0;}
.piece-content tr td.actions .notext {padding:0 !important;clear:both;display:inline;border:0 !important;}
.piece-content tr td.actions .notext .icon {position:relative !important;float:none;margin:auto !important;}
.piece-content tr td.actions ul {padding-left:0;}
.piece-content tr td.actions ul li {margin:0;list-style:none;position:relative;}
.piece-content tr td.actions ul li .picto.notext:hover:not(.nohover) {border:0 !important;}
.piece-content tr td.actions ul li ul li {position:relative;}
.piece-content tr td.actions ul li ul {display:none;position:absolute;z-index:999999;background:url(../img/background/bg-submenu.jpg);right:20px;top:-4px;width:220px;border:1px solid #FFF;border-bottom:0;}
.piece-content tr td.actions ul li ul li a {color:#fff;padding:5px;font-size:11px;display:block;border-bottom:1px solid #fff;text-align:left !important;}
.piece-content tr td.actions ul li ul li a span {margin-right:5px;}
.piece-content tr td.actions ul li ul li:first-child a {-moz-border-radius:0px; -webkit-border-radius:0px; border-radius:0px;}
.piece-content tr td.actions ul li ul li a:hover {text-decoration:none;}
.piece-content tr td.actions ul li ul li:hover a:not(.button-red), .piece-content tr td.actions ul li ul li a:not(.button-red):hover {background:url(../img/background/bg-left.jpg);}
.piece-content tr td.actions ul li ul li:hover a.button-red {opacity:1.0 !important;}
.piece-content tr td.actions ul li ul li ul li a {background:transparent !important;}
.piece-content tr td.actions ul li ul li ul li a:hover {background:url(../img/background/bg-left.jpg) !important;}
.piece-content tr td.actions ul li:hover ul {display:block;}
.piece-content tr td.actions ul li:hover ul li ul {display:none;width:160px;right:215px;top:-1px;}
.piece-content tr td.actions ul li ul li:hover ul {display:block;}
.piece-content tr.subtotal td, .piece-content tr.new-page td {background:#333;}
.piece-content tr.subtotal td.actions .move-btn, .piece-content tr.new-page td.actions .move-btn {margin:5px 0 0 0;}
.piece-content tr.subtotal td.actions ul, .piece-content tr.new-page td.actions ul {margin:0 0 5px 0;}
.piece-content input[type=text].readonly {background:transparent;border:0;box-shadow:none;}

.total_piece {margin-top:20px;}
.total_piece tr td {border-right:1px solid #333 !important;}
.total_piece tr td:last-child {border-right:0 !important;}

.piece-content tr .move_line {width:30px;vertical-align:middle;padding:5px;}
.piece-content tr .actions {font-size:18px;padding-top:5px !important;}
.piece-content tr .actions > ul {margin-top:10px;}
@media all and (max-width:979px) {
	.piece-content .floatleft {clear:both;}
	.piece-content tr .num_line {width:55px;}
	.piece-content tr .reference {width:50px;}
	.piece-content tr .reference input {width:50px !important;}
	.piece-content tr .description {}
	.piece-content tr .remise {width:110px;}
	.piece-content tr .prix_u {width:80px;}
	.piece-content tr .prix_u input {width:45px !important;}
	.piece-content tr .tva {width:90px;}
	.piece-content tr .qte {width:120px;}
	.piece-content tr .qte.small-qte {width:65px;}
	.piece-content tr .total {width:80px;text-align:right;}
	.piece-content tr .actions {width:30px;}
}
@media all and (min-width:980px) {
	.piece-content tr .num_line {width:80px;}
	.piece-content tr .reference {width:80px;}
	.piece-content tr .reference input {width:80px !important;}
	.piece-content tr .description {}
	.piece-content tr .remise {width:110px;}
	.piece-content tr .prix_u {width:108px;}
	.piece-content tr .prix_u input {width:68px !important;}
	.piece-content tr .tva {width:90px;}
	.piece-content tr .qte {width:120px;}
	.piece-content tr .qte.small-qte {width:65px;}
	.piece-content tr .total {width:95px;text-align:right;}
	.piece-content tr .actions {width:30px;}
}

/* UPDATE */
.compta-part-top {margin-top:20px;background:#fff;}
.compta-part-top > .field {margin-bottom:0px;padding:10px 20px 5px 20px !important;}
.compta-part-top > .field:first-child {border-right:1px solid #333;}
.compta-part-top .titre {margin-top:-35px;margin-bottom:25px;border:0;}
.compta-part-top > .field > .field > .label {width:180px;}

.compta-part-bottom {background:#fff;padding:20px;}
.compta-part-bottom > .field > .label {width:200px;}
.menu-edition-piece2 li ul li a {display:inline-block;width:auto !important;}

#tabs-piece-options .icheck {margin-top:0;}
#tabs-piece-options .vtop {padding-top:0;}
#tabs-piece-options #conditions-paiements .field > .label {width:190px;}
#tabs-piece-options .livraison-active > .line > .field {margin-bottom:0px;padding:10px 20px 5px 20px !important;}
#tabs-piece-options .livraison-active > .line > .field:last-child {border-left:1px solid #333;}
#tabs-piece-options #moyens-paiements .other-methods .dynamic-elements {margin-left:20px;margin-top:8px;}
#tabs-piece-options #moyens-paiements .other-methods .dynamic-elements:first-child {margin-left:0px;}

@media all and (max-width:469px) {
	.menu-edition-piece, .menu-edition-piece2, .menu-edition-piece ul {text-align: center;width: 100%;}
	.menu-edition-piece li {margin-right:0px;display:block;position:relative;}
	.menu-edition-piece2 {margin-top:10px;}
	.menu-edition-piece2 ul li a span::before {font-size:20px;}
	.menu-edition-piece .catalogue-search {width:90% !important;}
	.menu-edition-piece .catalogue-search-result {width: 100%;z-index: 9999;}
	
	#tabs-piece-options .livraison-active > .line > .field > .line > .field {display:block;width:100%;}
}
@media all and (max-width:499px) {
	.compta-part-top > .field > .field > .label, .compta-part-top > .field > .field > .data {display:block;width:100% !important;}
	.informations_complementaires_bloc {width:100% !important;margin-bottom:20px !important;}
	.total_piece {float:none;width:100% !important;margin-top:0px !important;}
	.piece-content tbody tr td.qte .label-right {margin-left:0px !important;}
}
@media all and (max-width:899px) {
    .compta-part-top {margin-top:20px;background:transparent;}
    .compta-part-top > .field {display:block;width:100% !important;border:0 !important;background:#FFF;}
    .compta-part-top > .field:last-child {border-top:1px solid #333 !important;margin-top:40px;}
    
    .piece-content, .piece-content tbody, .piece-content tbody tr, .piece-content tbody tr td:not(.hide).total, .piece-content tbody tr td.actions, .piece-content tbody tr.comment td, .piece-content tbody tr.new-page td {display:block;width:100% !important;}
    .piece-content {background:transparent !important;border:0px !important;}
    .piece-content thead {display:none;}
    .piece-content tbody tr {margin-bottom:10px;border:1px solid #333 !important;background:#FFF;}
    .piece-content tbody tr td {border-radius:0px !important;}
    .piece-content tbody tr:not(.empty-line) td:not(.hide) {display:inline-block;width:49%;border:0px !important;}
    .piece-content tbody tr.empty-line td, .piece-content tbody tr td.description {display:block;width:100% !important;}
	.piece-content tbody tr td.qte .label-right {position: absolute;margin-left: 135px;}	
	
    .piece-content tbody tr td.move_line, .piece-content tbody tr td.num_line {display:none !important;}
    .piece-content tbody tr td.actions {text-align:center !important;}
    .piece-content tbody tr td.actions ul {display:inline-block;margin:0;}
    .piece-content tbody tr td .label-mobile {display: inline-block;font-weight: bold;margin-right: 10px;width:120px;}
}
@media all and (max-width:575px) {
	.piece-content tbody tr td:not(.hide) .label-mobile {display:block;width:100% !important;}
}
@media all and (min-width:900px) {
    .piece-content tbody tr td .label-mobile {display:none;}
}
@media all and (max-width:979px) {
    #tabs-piece-options #options-affichage > .line > .field {display:block;width:100%;border:0 !important;}
}
@media all and (max-width:1049px) {
    #tabs-piece-options .livraison-active > .line > .field {display:block;width:100%;border:0 !important;}
}
@media all and (max-width:1199px) {
	.page-gestion-commerciale-1 #contenu .content, .page-charges-5 #contenu .content {padding:40px 20px 80px 20px;}
}

.piece-content tr td {text-align:left !important;padding:5px !important;}
.piece-content tr td.actions {padding:5px 2px !important;}
.piece-content tr.empty-line td, .piece-content tr.new-page td {text-align:center !important;}
.piece-content tr.subtotal td {text-align:right !important;}
.piece-content tr .editBtn {margin-top:0px;}
.piece-content tr .remise {width:80px;}
.piece-content tr .tva {width:97px;}
.piece-content tr .prix_u, .piece-content tr .total {width:105px;}
.piece-content tr .qte {width:102px;}
.piece-content tr .quantity {width:90px !important;padding-right:23px !important;}
.piece-content tr .pourcent {width:35px !important;}
.piece-content tr .prix_u input, .piece-content tr .total input {width:77px !important}
.piece-content tr .label-right input + .label {padding:8px 5px 7px 4px}
.piece-content tr .editBtn {padding:0px;}
.piece-content tr input[type="text"] {padding:7px 5px;}
.piece-content tr .select2-container .select2-selection--single .select2-selection__rendered {padding-left:5px;padding-right:14px;}
.piece-content tr .select2-container--default .select2-selection--single .select2-selection__arrow {width:14px;}

.piece-content .ui-sortable-helper {display:table;z-index:999999 !important;}
.piece-content .ui-sortable-helper textarea {height:75px !important;}

/******************* FICHE PIECE *********************/
#apercu-pdf {position:relative;}
#apercu-pdf .print_btn {display: inline-block;position: absolute;z-index: 9;background: #fff;color: #666666;font-size: 20px;right: 5px;border-radius:20px;padding:8px 5px;top: 5px;-moz-box-shadow: 0px 0px 5px #666;-webkit-box-shadow: 0px 0px 5px #666;box-shadow: 0px 0px 5px #666;}
#apercu-pdf .print_btn:hover {background:#666;color:#fff;text-decoration:none;}
#apercu-pdf, #pieces-infos {display:inline-block;vertical-align:top;}
#pieces-infos .infos-part {background:#fff;border:1px solid #666;}
#pieces-infos .infos-main {padding:10px 10px 0px 10px;}
.tabs-piece2 .ui-tabs-panel {min-height:250px;}

ul.informations-pieces {padding-left:0px;margin-top:20px;color:#fff;background:transparent;}
ul.informations-pieces li {list-style:none;display:inline-block;text-align:center;width:33%;padding: 10px 5px;white-space: nowrap;border-right: 1px solid #9a9a9a;font-size:13px;background:url(../img/background/bg-left.jpg);}
ul.informations-pieces li .infos {font-size:12px;margin-bottom:5px;}
ul.informations-pieces li.couts {color:red;}
ul.informations-pieces li.marge {color:#4acf2b;}
ul.informations-pieces li:first-child {-moz-border-radius: 10px 0px 0px 10px;-webkit-border-radius: 10px 0px 0px 10px;border-radius: 10px 0px 0px 10px;}
ul.informations-pieces li:last-child {-moz-border-radius: 0px 10px 10px 0px;-webkit-border-radius: 0px 10px 10px 0px;border-radius: 0px 10px 10px 0px;}

.statut-livraison {float:right;margin:10px 0px;}

@media all and (min-width:765px) {
	.page-gestion-commerciale-3 #contenu > .content {padding:40px 30px 80px 30px;}
}
@media all and (max-width:600px) {
	.infos-piece2 {display:none;}
	.page-gestion-commerciale-3 .ui-tabs-nav li a::before, .page-gestion-commerciale-3 .ui-tabs-nav li a span {display:none;}
}
@media all and (max-width:799px) {
	.page-gestion-commerciale-3 .height-space-adapt, #apercu-pdf {display:none;}
	#pieces-infos .inline-part, #pieces-infos {width:100%;}
	.infos-piece1 {display:none;}
}
@media all and (min-width:800px) and (max-width:999px) {
	#apercu-pdf {display:none;}
	#pieces-infos {width:100%;}
	#pieces-infos .inline-part {width:49%;vertical-align:top;display:inline-block;}
	#pieces-infos .infos-main {margin-right:2%;}
	.page-gestion-commerciale-3 .height-space-adapt {display:none;}
	.infos-piece1 {display:none;}
}
@media all and (min-width:1000px) {
	#apercu-pdf {width:60%;}
	#pieces-infos {width:38%;margin-right:2%;}	
	.tabs-part1 .ui-tabs-panel {min-height:350px !important;}	
	.page-gestion-commerciale-3 .height-space-adapt2, #apercu-pdf2 {display:none;}	
	.infos-piece2 {display:none;}
}

#tabs-recurrences .form-validateForm .field > .label.vtop {padding-top:0px;}
#tabs-recurrences .form-validateForm .field > .label:not(.auto) {width:130px;}
#tabs-recurrences .form-validateForm .field .data ul li.nostyle {margin-left:-30px;}

#dialog-proforma .line-form .label {width:215px;}
#dialog-proforma .line-form .data {width:150px;}

.etat-piece {float:right;margin-top:-10px;}
.etat-piece ul li {border-top:1px solid #666;border-bottom:1px solid #666;height:28px;float:left;list-style:none;background:url(../img/background/bg-left.jpg);padding:5px 10px;margin:0;color:#fff;}
.etat-piece ul li:first-child {border-left:1px solid #666;-moz-border-radius-topleft:5px; -webkit-border-top-left-radius:5px; border-top-left-radius:5px;-moz-border-radius-bottomleft:5px; -webkit-border-bottom-left-radius:5px; border-bottom-left-radius:5px;}
.etat-piece ul li:last-child {border-right:1px solid #666;-moz-border-radius-topright:5px; -webkit-border-top-right-radius:5px; border-top-right-radius:5px;-moz-border-radius-bottomright:5px; -webkit-border-bottom-right-radius:5px; border-bottom-right-radius:5px;}
.etat-piece ul li.selected {background: #a1332b url(../img/background/bg-button-red-normal.png) repeat-x top;}
.etat-piece ul li.separator {padding:0;height:28px;}
.etat-piece ul li.separator span {display:block;background:url(../img/statut_separator.png);width:27px;height:27px;}
.etat-piece ul li.separator1 span {background-position:0 0 ;}
.etat-piece ul li.separator2 span {background-position:0 -27px;}
.etat-piece ul li.separator3 span {background-position:0 -54px;}

#informations-generales-piece .form {float:left;border-right:1px solid #333;}
#informations-generales-piece .form-part-1 {}
#informations-generales-piece .form-part-1 .label {width:190px;}
#informations-generales-piece .form-part-1 .data {width:200px;}
#informations-generales-piece .form-part-2 {}
#informations-generales-piece .form-part-2 .label {width:110px;}
#informations-generales-piece .form-part-2 .data {width:200px;}
#informations-generales-piece .form-part-3 {border-right:0;}
#informations-generales-piece .form-part-3 .line-form:first-child {background:transparent;}
#informations-generales-piece .form-part-3 .label {}
#informations-generales-piece .form-part-3 .data {}

.informations-total1 {margin-left:20px;float:left;width:392px;}
.informations-total1 .total_ht {border-bottom:2px solid #FFF;width:110px;}
.informations-total1 .total_tva {border-bottom:2px solid #FFF;width:110px;}
.informations-total1 .total_ttc {border-bottom:2px solid #FFF;width:110px;}
.informations-total1 .couts, .informations-total1 .marge {width:175px;}

.informations-total2 {width:100%;-moz-border-radius: 0px 0px 10px 10px;-webkit-border-radius: 0px 0px 10px 10px;border-radius: 0px 0px 10px 10px;}
.informations-total2 li {width:17.5%;}

.informations-total {background:url(../img/background/bg-titre.png);}
.informations-total ul {padding-left:0;}
.informations-total li {list-style:none;float:left;padding:7px 10px;color:#fff;text-align:center;border-right:1px solid #999;margin:0;font-weight:bold;}
.informations-total li:last-child {border-right:0;}
.informations-total li .infos {margin-bottom:3px;}
.informations-total .marge {color:#4acf2b;}
.informations-total .couts {color:red;}

.details-charges-gestion > .inline {width:49%;vertical-align:top;}
.details-charges-gestion .inline .label {width:140px;}

@media all and (min-width:791px) and (max-width:930px) {
	.tabs-piece-part1 .ui-tabs-nav {z-index:9;}
	#informations-generales-piece {position:relative;}
	.informations-total2 {-moz-border-radius: 0px 0px 10px;-webkit-border-radius: 0px 0px 10px 0px;border-radius: 0px 0px 10px;width: 100%;left: 0;margin-left: 0;z-index: 1;padding-left: 210px;}}
@media all and (max-width:930px) {
	#informations-generales-piece .line-form .label {width:auto;padding-left:0;padding-bottom:0;height:auto;padding-top:0px;}
	#informations-generales-piece .line-form .data {width:auto;clear:both;padding-bottom:5px;}
	
	#informations-generales-piece {padding-bottom:60px;}
	.informations-total2 {position:absolute;bottom:0;background:url(../img/background/bg-left.jpg);}
	.informations-total2 .marge, .informations-total2 .couts {display:none;}
	.informations-total2 li {width:33%;box-sizing:border-box;-moz-box-sizing:border-box;}
	.informations-total2 li.total_ttc {border-right:0;}
}
@media all and (max-width:1125px) {
	#informations-generales-piece .form-part-1, #informations-generales-piece .form-part-2, #informations-generales-piece .form-part-3 {width:49%;box-sizing:border-box;-moz-box-sizing:border-box;}
	#informations-generales-piece .form-part-1 {margin-bottom:0;}
	#informations-generales-piece .form-part-2 {border-right:0;}
	#informations-generales-piece .form-part-3 {clear:both;border-right:1px solid #333;padding-top:0;}
	#informations-generales-piece .form-part-3 .line-form {border-top:1px solid #333;}
}
@media all and (max-width:1180px) {
	#informations-generales-piece .form-part-3 .label {width:110px;}
}
@media all and (max-width:1319px) {
	.informations-total1 {display:none;}
}
@media all and (min-width:1320px) {
	.informations-total2 {display:none;}
}

.tabs-piece-part1 {position:relative;}
.tabs-piece-part1 .ui-tabs-panel {min-height:250px;}
.tabs-piece-part1 .form {margin-bottom:10px;}
.tabs-piece-part2 {float:left;}
.tabs-piece-part3 {float:right}
.tabs-piece-part2, .tabs-piece-part3 {width:47%;}
.tabs-piece-part2 .ui-tabs-panel, .tabs-piece-part3 .ui-tabs-panel {height:270px !important;overflow-y:auto;}

.tabs-piece .livraison-part1 {float:left;border-right:1px solid #333;width:500px;}
.tabs-piece .livraison-part1 .label {width:160px;}
.tabs-piece .livraison-part2 {float:left;margin:20px 0 0 20px;width:450px;}
.tabs-piece .livraison-part2 table {margin:auto;}

.relations-clients {border:0 !important;width:100%;}
.relations-clients td:last-child {border-right:0 !important;}
.relations-clients td {border-color:#333 !important;}
.relations-clients .actions {padding:0px !important;width:107px;}
.relations-clients td.actions a {padding:0;vertical-align:top;display:inline-block;}
.relations-clients tr:not(.sous-titres):nth-child(2n+1) td {background:#f9f9f9;}
.relations-clients .sous-titres td {font-weight:bold;font-size:11px;border:0 !important;border-bottom:1px solid #333 !important; padding-bottom:2px !important;padding-top:15px !important;}
.relations-clients .sous-titres:first-child td {padding-top:0 !important;}
.relations-clients .state {width:25px;padding:5px;}
.relations-clients .state span {display:inline-block;height:14px;width:14px;-moz-border-radius: 15px;-webkit-border-radius: 15px;border-radius: 15px;border:1px solid #333;}
.relations-clients .state span.pending {background:#d1cfcf;}
.relations-clients .state span.send {background:#50baf3;}
.relations-clients .state span.open {background:#11bf06;}
.relations-clients .state span.error {background:#fe1818;}
.relations-clients .spacer {width:30px;height:1px;}
.relations-clients .date {width:65px;}
.relations-clients .type {width:100px;}
.relations-clients .type span:first-child {font-size: 14px;margin-right: 5px;}
.relations-clients .type span:last-child {text-transform:uppercase;font-size:11px;}

#pdf_content {overflow:hidden;}

.apercu-piece {margin:auto;position:relative;background:url(../img/loader-big.gif) ;background-repeat:no-repeat;background-position:center 100px;}
.apercu-piece .generate_pdf_loading {text-align:center;position:absolute;top:100px;}
.apercu-piece .generate_pdf_loading .loader {background:url(../img/loader-big.gif);width:55px;height:55px;margin:0 auto 20px auto;}
.apercu-piece div {background-size:100% auto !important;}
.apercu-piece .control_apercu_piece {background:#333;color:#fff;position:absolute;top:10px;right:20px;width:auto;height:auto;}
.apercu-piece .control_apercu_piece a {-moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important;border:1px solid #333 !important;}
.apercu-piece .control_apercu_piece a:first-child {-moz-border-radius-topleft:10px !important; -webkit-border-top-left-radius:10px !important; border-top-left-radius:10px !important;}
.apercu-piece .control_apercu_piece a.transparent {opacity:0.1 !important;}
.apercu-piece .control_apercu_piece .infos_pages {float:left;padding:4px 5px;font-size:11px;}
.apercu-piece .control_apercu_piece .separator {float:left;border-left: 1px solid #999 !important;height:25px;width:1px;}
.apercu-piece .control_apercu_piece .link {opacity:0.5;float:left;display: block;padding: 4px 10px;text-decoration:none;color: rgb(255, 255, 255);font-size: 11px;}
.apercu-piece .control_apercu_piece .link .icon {margin-top:-3px;height:19px;}
.apercu-piece .control_apercu_piece .link:hover {opacity:1.0;}
@media all and (max-width:869px) { .apercu-piece, .apercu-piece div {width:100%;height:1143px;} }
@media all and (min-width:870px) { .apercu-piece, .apercu-piece div {width:800px;height:1143px;} }

/* Gestion des paiements */
#dialog-paiement {padding-top:100px;}
#dialog-paiement .load-data {margin-top:-75px;}
#dialog-paiement .informations-facture-paiement {background: #333;color: #fff !important;width: 100%;position: absolute;left: 0;top: 0;text-align: center;font-size: 14px;-moz-border-radius: 10px 10px 0px 0px;-webkit-border-radius: 10px 10px 0px 0px;border-radius: 10px 10px 0px 0px;}
#dialog-paiement .form-validateForm .informations-facture-paiement .field {margin-bottom:0px;padding-bottom:1.2em;}
#dialog-paiement .form-validateForm .informations-facture-paiement .field .label {color:#FFF;padding-top:15px;}
#dialog-paiement .form-validateForm .informations-facture-paiement .field:nth-child(2) {border-right:1px solid;border-left:1px solid;border-color:#999;}
#dialog-paiement .form-validateForm .informations-facture-paiement .field:last-child, #dialog-paiement .form-validateForm .informations-facture-paiement .field:last-child .label {color:#FF5151 !important;}
#dialog-paiement .form-validateForm .field > .label {width:175px;}
#dialog-paiement .form-validateForm .field:last-child {margin-bottom:0px;}
#dialog-paiement .form-validateForm .avoir-list .data {width:300px;}

/***********************************************/
/************* SUPPORT TECHNIQUE ***************/
/***********************************************/
#dialog-support table tr td a {color:#000;display:block;}
#dialog-support table tr td a:hover {text-decoration:none;}
#dialog-support table tr:hover td {background:#333;}

.logo-support {position:absolute;right:10px;margin-top:-1px;}

.support-technique-form .upload-part.data {max-width:500px;width:100% !important;}
.support-technique-form .upload-part.data #files-queue {margin:0px;min-height:0px;border:0px;}
.support-technique-form .upload-part.data #files-added table {width:100%;}
.support-technique-form .icone {width:30px;}
.support-technique-form .nom_fichier {text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;display:block;max-width:70px;font-size:11px;}

/***********************************************/
/**************** ABONNEMENT *******************/
/***********************************************/
.module-part {display:inline-block;border:1px solid #333;width:32.666667%;padding:5px 5px 5px 0px;height:100px;margin-bottom:0.5%;}
.module-block .module-part:nth-child(3n+2) {margin-left:1%;margin-right:1%;}
.module-part td, .module-part td.actions {padding:0px !important;border:0px !important;}
.module-part .picto {padding:0px !important;font-size:30px;width:60px;text-align:center;height:62px;}
.module-part .details {text-align:justify;padding-bottom: 5px !important;vertical-align:top;}
.module-part .nom {font-weight:bold;padding-bottom:3px !important;vertical-align:top;}
.module-part .btn-choice.actions {text-align:right;}
.module-part .btn-choice a {padding:3px 8px;}
.module-part .btn-choice a:not(.active):hover {text-decoration:none;background:#d4d4d4;}
.module-part .btn-choice a.btn-on:hover, .module-part .btn-choice a.btn-stop:hover {text-decoration:none;cursor:pointer;}
.module-part .btn-choice a.btn-on:hover{background:#22ad07;}
.module-part .btn-choice a.btn-stop:hover{background:#c53333;}

.card-cvc {width:50px;}

.abonnement_select {margin:auto;}
.abonnement_select th {text-transform:uppercase;}
.abonnement_select tr td {padding:0;position:relative;}
.abonnement_select tr td input[type=radio] {display:none;}
.abonnement_select tr td label {display:block;width:250px;height:90px;padding: 15px 10px 40px 10px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;}
.abonnement_select tr td label:hover:not(.selected) {background:#333;cursor:pointer;}
.abonnement_select tr td label.selected {background:#ffffcc;}
.abonnement_select tr td .nom {font-weight:bold;font-size:14px;}
.abonnement_select tr td .details {font-size:11px;}
.abonnement_select tr td .tarif {display:block;bottom:15px;position:absolute;text-align:center;width:250px;font-weight:bold;font-size:14px;color:#b82112;}
/*.abonnement_select tr:last-child td {padding:20px;}*/

.modules_select {margin:auto;width:755px;}
.modules_select th {text-transform:uppercase;}
.modules_select tr td {padding:10px;}
.modules_select tr td .nom {font-weight:bold;font-size:12px;color:#b82112;text-transform:uppercase;padding-bottom:5px;}
.modules_select tr td .details {}
.modules_select tr td.tarif {text-align:center;font-weight:bold;font-size:12px;color:#b82112;}
.modules_select tr td:last-child {width:100px;}

.total_abonnement {margin:auto;width:755px;}
.total_abonnement table tr td:first-child {background:#333;color:#fff;}
.total_abonnement table tr td:last-child {text-align:right;}
.total_abonnement table tr td {width:100px;}

#dialog-abonnement .small-titre {margin-bottom:10px !important;}
#dialog-abonnement .abonnement_select, #dialog-abonnement .modules_select, #dialog-abonnement .total_abonnement table {border-collapse:collapse;border-spacing:0;}
#dialog-abonnement .abonnement_select tr td {padding:0;border:1px solid #333;}
#dialog-abonnement .modules_select tr td, #dialog-abonnement .total_abonnement table tr td {border:1px solid #333;}
#dialog-abonnement .total_abonnement {width:auto;}
#dialog-abonnement .total_abonnement table {margin-top:5px;}

#dialog-tarifs table td {background:#333;}
#dialog-tarifs .highline-tarifs {background:#666;color:#FFF;}


#dialog-modules .titres {background:#4A4949;color:#fff;text-transform:uppercase;padding:5px 10px;text-align:center;font-weight:bold;}
#dialog-modules .content {border:1px solid #4A4949;}
#dialog-modules .part-right, #dialog-modules .part-left {display:inline-block;vertical-align:top;}
#dialog-modules .part-left {width:500px;}
#dialog-modules .part-right {width:410px;padding:0px 15px;}
#dialog-modules .part-right table {border-collapse:collapse}
#dialog-modules .part-right table tr td {border-bottom:1px solid #333;}
#dialog-modules .part-right table tr td:first-child {padding-left:0px;}
#dialog-modules .part-right table tr td:last-child {border-bottom:0px;}

.duree-abonnement {display:inline-block;}
.duree-abonnement .content, .details-abonnement .content  {height:110px;}
.duree-abonnement table {text-align:center;width:;display:inline-block;}
.duree-abonnement table td {width:250px;padding:0px;}
.duree-abonnement table td:first-child {border-right:1px solid #333;}
.duree-abonnement table td label {display:block;}
.duree-abonnement table .nom {font-weight:bold;padding:2px 0px;margin-top:5px;font-size:14px;}
.duree-abonnement table .prix {padding:2px 0px;margin-bottom:2px;color:#b82112;font-weight:bold;font-size:14px;margin:7px 0px;}
.duree-abonnement table .details {font-size:11px;}

.liste-modules {}
.liste-modules table {border:1px solid #999;border-bottom:0px;padding:10px 5px 10px 0px;width:100%;margin:0px;}
.liste-modules table td {padding:0px;}
.liste-modules table .part1 {width:80px;text-align:center;}
.liste-modules table .part2 {padding:0px 15px 0px 5px;}
.liste-modules table .part3 {width:100px;text-align:center;}
.liste-modules table .icon {font-size:35px;color:#515050;min-height:40px;}
.liste-modules table .nom {font-weight:bold;display:block;color:#515050;text-transform:uppercase;}
.liste-modules table .details {text-align:justify;color:#7B7B7B;}
.liste-modules table .button {width:100%;box-shadow:none !important;border-radius:0px !important;padding:4px 5px !important;}
.liste-modules table .prix {margin-bottom:10px;}
.liste-modules table .prix .button {background:#efefef !important;color:#000 !important;;border-color:#999 !important;}
.liste-modules table .prix span .mini {font-size:10px;margin:0px !important;}

.details-abonnement {width:395px;display:inline-block;}
.details-abonnement .content {padding:5px 10px;}
.details-abonnement table {border-spacing:0;}
.details-abonnement table.inline {width:49%;padding-top:3px;}
.details-abonnement table td {padding:5px 5px;}
.details-abonnement table tr.total-ttc td {background:#4A4949;color:#fff;}
.update-abonnement {background:#f2f2f2;border:1px solid #333;padding:5px !important;padding: 5px 10px;sborder-spacing: 0px;border-collapse: separate !important;}
.update-abonnement td {border-color:#999;}

#dialog-modules .total-commande {}
#dialog-modules .total-commande tr td {min-width:120px;}
#dialog-modules .total-commande tr td:first-child {background:url(../img/background/bg-titre.png);color:#FFF;}



/********************************************************/
/*****************  GESTION DE CAISSE  ******************/
/********************************************************/
.caisse-state {text-transform:uppercase;float:right;text-align:center;margin-right: 8px;margin-top: 8px;}
.caisse-state .titre {color:#FFF;font-size:12px;display:block;margin-bottom:5px;}
.caisse-state .state {display:inline-block;padding:4px 10px;color:#FFF;}
.caisse-state .state.open {background:#05b105;}
.caisse-state .state.close {}

#dialog-config-caisse .field.dynamic-elements {margin-right:20px;}

@media all and (max-width:999px) {
	#caisse-area #content-area {padding:10px 20px;}
	#caisse-area #content-area .commande-content,#caisse-area #content-area .commande-recap {height:auto !important;min-height:0px !important;width:100%;}	
	#caisse-area #content-area .catalogue-content {padding: 0px;margin-bottom: 20px;margin-top: 10px;}
}
@media all and (min-width:1000px) {
	#caisse-area #content-area {padding:5px 0px;}
	#caisse-area #content-area .commande-content {width:40%;display:inline-block;padding:0px 20px;}
	#caisse-area #content-area .commande-recap {width:60%;display:inline-block;border-left:1px solid #000;background:#fff;padding:5px 10px;}	
}
.caisse-interface.page-caisse-0 #contenu > .content {padding:0px !important;}
#caisse-area {position:relative;}
#caisse-area #menu-area {background:url(../img/background/bg-submenu.jpg);display:inline-block;position:absolute;left:0px;top:0px;height:100%;width:167px;}
#caisse-area #menu-area .logo {text-align: center;padding: 10px 0px;}
#caisse-area #menu-area .select-users-part {padding:5px;margin-bottom:15px;}
#caisse-area #menu-area .select-users-part .icon-user-5 {display: inline-block;color: #656565;font-size: 17px;position: absolute;z-index: 999999;margin-top: 3px;margin-left:2px;}
#caisse-area #menu-area .select-users-part .select2-container {width:100% !important;}
#caisse-area #menu-area .select-users-part .select2-container .select2-selection {padding-left:19px;}
#caisse-area #menu-area ul {padding:0px;}
#caisse-area #menu-area ul li {display:block;list-style:none;}
#caisse-area #menu-area ul li a {display:block;padding:10px;color:#fff;border-bottom:1px solid #666;}
#caisse-area #menu-area ul li a:hover {background:url(../img/background/bg-left.jpg);text-decoration:none;}
#caisse-area #menu-area ul li:first-child a {border-top:1px solid #666;}
#caisse-area #menu-area ul li a .icon {font-size:20px;margin-right:10px;}
#caisse-area #menu-area ul li a .text {}
#caisse-area #menu-area ul li a span {display:inline-block;vertical-align:middle;}
#caisse-area #content-area {width:100%;}
#caisse-area #content-area .required-label {display:none;}
#caisse-area #content-area .commande-content,  #caisse-area #content-area .commande-recap {display:inline-block;vertical-align:top;}
#caisse-area #content-area .titre {}
#caisse-area #content-area .field > .label {width:250px;}
#caisse-area #content-area .total-part {text-align:center;}
#caisse-area #content-area .total-part > .field {display:inline-block;text-align:left;width:auto;}
#caisse-area #content-area .total-part .field {margin-bottom:5px;border-bottom: 1px solid #333;}
#caisse-area #content-area .total-part .field:first-child {padding-bottom:5px;}
#caisse-area #content-area .total-part .field .data {text-align:right;padding-right:13px;}
#caisse-area #content-area .paiements-commande {margin-bottom:5px;margin-top:7px;}
#caisse-area #content-area .paiements-commande th, #caisse-area #content-area .paiements-commande td {padding:5px !important;}
#caisse-area #content-area .paiements-commande .date_paiement {width:93px;}
#caisse-area #content-area .paiements-commande .actions {}
#caisse-area #content-area .paiements-commande .number {width:65px;}
#caisse-area #content-area .paiements-commande .select2-container {width:100% !important;}
#caisse-area #content-area .commande-recap .paiements-commande .actions {font-size:16px;padding:2px 0px !important;width:30px;}
#caisse-area #content-area .alert-paiement {background: #da4f49;color: #FFF;padding: 10px;margin-bottom: 10px;}
body.caisse-interface.module-caisse #select2-list-users-results li:first-child {display:none;}
#caisse-area #content-area .global-remise-part .data {padding-right:0px !important;}
#caisse-area #content-area .global-remise-part .select2-container {width:35px !important;margin-left: -5px;text-align:left;}
#caisse-area #content-area .global-remise-part .select2-selection__rendered {padding-left:5px;padding-right:5px;}
#caisse-area #content-area .submit-btn {text-align:right;border-top: 1px solid #ccc;padding-top: 20px;}
#caisse-area #content-area .submit-btn a {text-align:center;border-radius:5px;display:inline-block;width:32.5%;padding:10px 0px;font-weight:bold;font-size: 13px;}
#caisse-area #content-area .submit-btn a:not(.disabled-btn):hover {text-decoration:none;opacity:0.9;}
#caisse-area #content-area .submit-btn a span {vertical-align:middle;}
#caisse-area #content-area .submit-btn a .icon {font-size:17px;}
#caisse-area #content-area .submit-btn a.wait, #caisse-area #content-area .submit-btn a.delete {font-size:12px;font-weight:normal;padding:12px 0px;}
#caisse-area #content-area .submit-btn a.wait .icon, #caisse-area #content-area .submit-btn a.delete .icon {font-size:12px;}
#caisse-area #content-area .submit-btn a.wait:hover {text-decoration:none;opacity:0.9;}
#caisse-area #content-area .submit-btn a.delete {color: #ffffff;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);background-color: #da4f49;background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);background-repeat: repeat-x;border-color: #bd362f #bd362f #802420;border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
#caisse-area #content-area .submit-btn a.delete:hover {background: #bd362f;}
#caisse-area #content-area .submit-btn a.disabled-btn {cursor:default;opacity:0.5;text-decoration:none !important;}
#caisse-area #content-area #search-catalogue {margin-bottom:10px;}
#caisse-area #content-area .catalogue-content {padding:0px;}
#caisse-area #content-area .catalogue-content li {list-style:none;display:inline-block;vertical-align:top;}
#caisse-area #content-area .catalogue-content li:not(.back):not(.parent) a.folder {display:inline-block;background:#fff;padding:5px 0px;width:130px;height:80px;text-align:center;border-radius:5px;color:#333;}
#caisse-area #content-area .catalogue-content li:not(.back):not(.parent) a.folder:hover {background:#333;color:#fff;}
#caisse-area #content-area .catalogue-content li a span.icon {display:block;font-size:35px;}
#caisse-area #content-area .catalogue-content li a span.text {display:inline-block;text-transform:uppercase;font-weight:bold;margin-top:5px;}
#caisse-area #content-area .catalogue-content li.back a, #caisse-area #content-area .catalogue-content li.parent a {background: #333;color: #fff;display: inline-block;border:1px solid #333;}
#caisse-area #content-area .catalogue-content li.back a:not(.nolink):hover, #caisse-area #content-area .catalogue-content li.parent a:not(.nolink):hover {background:#fff ;color: #333;text-decoration:none;}
#caisse-area #content-area .catalogue-content li a.nolink:hover {text-decoration:none;cursor:default;}
#caisse-area #content-area .catalogue-content li.back a {padding: 2px 2px;font-size:17px;}
#caisse-area #content-area .catalogue-content li.parent a {padding: 5px 10px;}
#caisse-area #content-area .catalogue-content li.parent a::before {margin-right:5px;}    
#caisse-area #content-area .catalogue-content li.separator {width:100%;}
#caisse-area #content-area table td {background:#fff;min-height:39px;}
#caisse-area #content-area .liste-contenu-ticket .quantity {width:70px;}
#caisse-area #content-area .liste-contenu-ticket .number {width:75px;}    
#caisse-area #content-area .liste-contenu-ticket .pourcent {width:50px;}    
#caisse-area #content-area .liste-contenu-ticket .actions {font-size:16px;padding:0px !important;width:30px;}    
#dialog-config-caisse .field > .label {width:220px;}

#caisse-area #content-area .catalogue-content .product {background:#fff !important;padding:0 !important;position: relative;height:120px !important;border:1px solid #666;margin-right:5px;}
#caisse-area #content-area .catalogue-content .product:last-child {margin-right:0px;}
#caisse-area #content-area .catalogue-content .product:hover {-moz-box-shadow: 0px 0px 5px #DA4F3D;-webkit-box-shadow: 0px 0px 5px #DA4F3D;box-shadow: 0px 0px 5px #DA4F3D;}
#caisse-area #content-area .catalogue-content .product .nom {display: block;background: rgba(51, 51, 51, 0.84);color: #fff;padding: 2px 0px;position: absolute;width: 100%;top:0px;left:0;}
#caisse-area #content-area .catalogue-content .product .icon {margin-top:25px;font-size:55px;color:#d4d4d4;}    
#caisse-area #content-area .catalogue-content .product .details {position: absolute;width: 100%;left: 0;bottom: 0;background: #d6d6d6 !important;padding: 2px 0px;font-size: 10px;color:#000 !important;-moz-border-radius: 0px 0px 5px 5px;-webkit-border-radius: 0px 0px 5px 5px;border-radius: 0px 0px 5px 5px;}
#caisse-area #content-area .catalogue-content .product .details .part1 {text-align: left;width:49%;display: inline-block;padding-left:1%;}
#caisse-area #content-area .catalogue-content .product .details .part2 {text-align: right;width:49%;display: inline-block;padding-right:1%;}    
#caisse-area #content-area .catalogue-content .product .details .part2 span {font-size:9px;}
#caisse-area #content-area .catalogue-content .photo {width:100%;height:100%;overflow:hidden;display:block;}
#caisse-area #content-area .catalogue-content .photo img {width:100%;height:auto;}

body.caisse-interface.module-caisse .part-1 {display:block !important;}
body.caisse-interface.module-caisse .tiers-informations .tiers {height:270px;}
body.caisse-interface.module-caisse .tabs-tiers-part-2.double-tabs .ui-tabs-panel {height:240px;}
body.caisse-interface.module-caisse .load-data {background:transparent !important;padding-top:50px;}

body.caisse-interface.module-caisse #header > #menu > li {border-right: 1px solid #737373;margin-left:-5px;}
body.caisse-interface.module-caisse #header > #menu > li:first-child {margin-left:0px;}
body.caisse-interface.module-caisse #header > #menu > li ul.sub-menu2 {width:140px;margin-left:-70px;}
body.caisse-interface.module-caisse #header > #menu > li a {padding:3px 10px;}
body.caisse-interface.module-caisse #header > #menu > li a .icon, body.caisse-interface.module-caisse #header > #menu > li a .text {display:inline-block;vertical-align:middle;}
body.caisse-interface.module-caisse #header > #menu > li a .icon {margin-top:3px;}
body.caisse-interface.module-caisse #header > #menu > li a .text {text-align:left;padding-left:7px;}
body.caisse-interface.module-caisse #header .infos-users {color:#fff;vertical-align:bottom;padding: 2px 30px;font-size:12px;display:inline-block;float:right;}
body.caisse-interface.module-caisse #header .infos-users > .textleft {line-height:17px;}
body.caisse-interface.module-caisse #header .infos-users .label {width:75px;}
body.caisse-interface.module-caisse #header .infos-users .state {display:inline-block;padding:1px 5px;line-height:14px;color:#fff;text-decoration:none !important;border:1px solid transparent;}
body.caisse-interface.module-caisse #header .infos-users .state:hover {border-color:#fff;}
body.caisse-interface.module-caisse #header .infos-users .state.open {background: #05b105;}
body.caisse-interface.module-caisse #header .infos-users .state.close {background: #da4f49;}
body.caisse-interface.module-caisse #header .infos-users .state.end {background: #FFC200;color:#000;}
body.caisse-interface.module-caisse #header #menu li a .nb {right:auto;left:20px;padding:3px 7px;}
body.caisse-interface.module-caisse #header #menu li ul.tickets-list li tr td {padding:0px !important;}
body.caisse-interface.module-caisse #header #menu li ul.tickets-list li tr td a {display:block;padding:5px 10px;color:#000;text-decoration:none !important;}
body.caisse-interface.module-caisse #header #menu li ul.tickets-list li tr:hover td {background:#333;}

body:not(.module-caisse) .wait-ticket-part {display:none !important;}
.wait-ticket-part > a {padding-right:33px !important;}
.wait-ticket-part > a .nb {top:4px;}
.tickets-list {position:absolute;background:#fff;padding:5px;display:none;}
.tickets-list li {list-style:none;}
body.module-caisse .wait-ticket-part:hover .tickets-list {display:block;}

.synthese-journal-caisse {background:#FFF;}
.synthese-journal-caisse tbody tr td {}
.synthese-journal-caisse tbody tr td:first-child {border-right:0px !important;}
.synthese-journal-caisse tbody tr.no-border td {border-bottom:0px !important;}
.synthese-journal-caisse tbody tr.last td {border-right:1px solid #999999 !important;}

.tabs-journal-caisse .state, .caisse-state {display:inline-block;padding:1px 5px;line-height:14px;color:#fff;text-decoration:none !important;border:1px solid transparent;}
.tabs-journal-caisse .state.open, .caisse-state.open {background: #05b105;}
.tabs-journal-caisse .state.close, .caisse-state.close {background: #da4f49;}
.tabs-journal-caisse .state.end, .caisse-state.end {background: #FFC200;color:#000;}
.listing-operations .actions a {padding:0px;font-size:16px;}
body.caisse-interface.page-caisse-1 .form-validateForm table:not(.nostyles) thead tr.fontions_header th {background:transparent !important;}

.total-fiche-ticket {float:right;}
.total-fiche-ticket tr td {width:102px;}
.total-fiche-ticket tr td:first-child {background:url(../img/background/bg-titre.png);color:#FFF;}
.total-fiche-ticket tr td:last-child {text-align:right;}
.total-fiche-ticket2 {float:none;margin:auto;}
.total-fiche-ticket2 tr td {width:auto;}
.total-fiche-ticket2 tr td:last-child {width:120px;}

#secure-close-day-modal {position:fixed;left:0px;top:0px;width:100%;height:100%;background:#000;opacity:0.5;z-index: 999999;}
#secure-close-day {position:absolute;top:70px;left:50%;margin-left:-270px;width:540px;background: #fff;z-index: 9999999;padding:20px;text-align:center;border-radius:10px;}
#secure-close-day p {margin-bottom:20px;font-weight:bold;}
#secure-close-day a { padding: 10px 30px;text-transform: uppercase;}

.menu-caisse-state {font-size: 14px;float: none;padding:3px 5px 3px 10px;font-weight:normal;}
.caisse-day-menu {text-align:center;}
.caisse-day-menu li {display:inline-block;vertical-align:top;}
.caisse-day-menu li a {display:inline-block;background:#333;color:#FFF;padding:7px 15px;border-radius:5px;text-decoration:none !important;}
.caisse-day-menu li a:not(.btn-disabled):hover {background:#666;}
.caisse-day-menu li a.btn-disabled {opacity:0.5;cursor:default !important;}
.caisse-day-menu li a.full-day {position:relative;padding-right:35px;}
.caisse-day-menu li a span {font-size:18px;position:absolute;top:2px;right:4px;}
.caisse-day-menu li a.direction-link {padding:0px 3px 0px 3px;font-size:24px;}
.caisse-day-menu li a.direction-link::before {margin:0px;}
body.caisse-interface.page-caisse-2 #ui-datepicker-div, body.page-caisse-2 #ui-datepicker-div {left: 50% !important;margin-left: -167px;margin-top: 10px;}
body.caisse-interface #footer {right:auto;left:15px;}

body.page-agenda-0:not(.new-presta) #caisse-area {display:none;}

@media screen and (max-width:500px) {
	body.page-agenda-0.new-presta #caisse-area .achats-listing-content .container {width:0px;}
	body.page-agenda-0.new-presta #caisse-area .achats-listing-content .container .img {display:none;}
}
@media screen and (min-width:500px) {
	body.page-agenda-0 #caisse-area {min-width:500px;}
}
@media screen and (max-width:800px) {
	body.page-agenda-0.new-presta #agenda {display:none;}
	body.page-agenda-0.new-presta #caisse-area {width:100% !important;}
}
@media
@media screen and (max-width:850px) {
	body.page-agenda-0.new-presta #agenda .fc-toolbar .fc-center {display:none;}
}
@media screen and (max-width:1000px) {
	body.page-agenda-0.new-presta #agenda .fc-toolbar .fc-left {display:none;}
}


/********************* FICHE TIERS *********************/
#fiche-tiers .one-third {display:inline-block;width:32%;vertical-align:top;position:relative;margin:0px 2%;}
#fiche-tiers .one-third:first-child, #fiche-tiers .one-third:last-child, #fiche-tiers #liste_contacts, #fiche-tiers #liste_taches {background:#FFF;border:1px solid #a5a5a5;margin:0px;}
#fiche-tiers #liste_contacts {overflow:hidden;}
#fiche-tiers .part1 {padding:10px 10px 0px 10px;}
#fiche-tiers .part1 .label {width:110px;}
#fiche-tiers .part1-extend {border:1px solid #333;padding:10px;width:100%;position:absolute;background:#fff;margin-top:-20px;z-index:999;}
#fiche-tiers .part1-extend .label {width:135px;}
#fiche-tiers .part1-extend .field:last-child {margin-bottom:0px;}
#fiche-tiers .label.vtop {padding-top:0px;}
#fiche-tiers .show-part1-extend {color:#333;font-size:11px;font-weight:bold;}
#fiche-tiers .hide-part1-extend {position:absolute;top: 5px;right: 5px;background: #e0e0e0;color: #000;font-size: 16px;line-height: 18px;padding: 0px 1px;border: 1px solid #cacaca;}
#fiche-tiers .hide-part1-extend::before {margin:0px;}
#fiche-tiers .hide-part1-extend:hover {text-decoration:none;background:#c7c7c7;}
#fiche-tiers .highlight-data {background:url(../img/background/bg-titre.png);color:#fff;width:100%;margin-top:10px;}
#fiche-tiers .highlight-data table {width:100%;}
#fiche-tiers .highlight-data table tr td {border:0px !important;border-top:1px solid #a5a5a5 !important;font-weight:bold;padding:10px;}
#fiche-tiers .highlight-data table tr:first-child td {border-top:0px !important;}
#fiche-tiers .highlight-data table tr td:last-child {text-align:right;}
#fiche-tiers .highlight-data table tr td.valid {color:#00cc33 !important;}
#fiche-tiers .highlight-data table tr td.erreur {color:#ff0000 !important;}

#fiche-tiers .one-third.with-task > .titre-categorie {margin-top:25px;}
#fiche-tiers .one-third.with-task > .titre-categorie:first-child {margin-top:0px;}
#fiche-tiers .one-third .tabs-tiers {height: 100%;margin-top: 0px;}
#fiche-tiers .one-third .tabs-tiers .ui-tabs-nav {width:100%;position:absolute;margin-top:0px !important;}
#fiche-tiers .one-third .tabs-tiers .ui-tabs-nav li {width:50%;margin:0px;}
#fiche-tiers .one-third .tabs-tiers .ui-tabs-nav li a {width:100%;border-radius:0;border:0px;}
#fiche-tiers .one-third .tabs-tiers .ui-tabs-panel {border-radius:0px;border:0px;padding-top:35px;height:100%;}

.tabs-tiers-part {width:100%;display:inline-block;vertical-align:top;margin-top:50px;}
.tabs-tiers-part .ui-tabs {margin-top:0px !important;}
.tabs-tiers-part .ui-tabs-nav {margin-top:0px !important;position:relative;}
.tabs-tiers-part .ui-tabs-panel {min-height:250px !important;}
.tabs-tiers-part .with-task #liste_contacts {height:275px;}

@media screen and (max-width:600px) {
	.mobile-space-adapt {display:none;}
	.tabs-tiers-part .menu-container-actions {display:none !important;}
	.tabs-tiers-part .ui-tabs-nav {width:100% !important;border:0px !important;}
	.tabs-tiers-part .ui-tabs-nav li {margin:0px !important;}
	.tabs-tiers-part .ui-tabs-nav li a {width:100% !important;text-align:center;font-size:0px;}
	.tabs-tiers-part .ui-tabs-nav li a::before {width:100%;font-size:20px !important;margin:0px;display:block;text-align:center;}
    .tabs-tiers-part .ui-tabs-nav li a span {display:none !important;}
	.tabs-tiers-part .ui-tabs-panel {border-radius:0px !important;}
	
	.tabs-tiers-part .tabs-left-hide {display:none !important;}
}
@media screen and (min-width:670px) and (max-width:1199px) {
    #fiche-tiers .one-third:first-child .field {width:50%;}
	#fiche-tiers .highlight-data table tr {width:50%;display:inline-block;}
	#fiche-tiers .highlight-data table tr td {border:0px;}
}
@media screen and (max-width:799px) {
    #fiche-tiers .one-third {width:100%;margin:0px 2% 0px 0px;margin-top:25px !important;height:auto !important;}
	#fiche-tiers .one-third, #liste_contacts, #liste_taches {height:auto !important;}
	#liste_contacts {padding-bottom:0px !important;}
	#liste_contacts .more-contact-btn {display:none;}
	.tabs-tiers-part {width:100%;padding:0px !important;}
	#fiche-tiers .adresse-content {width:100% !important;}	
	#fiche-tiers .inline-actions {display:none;}
}
@media screen and (min-width:800px) and (max-width:1199px) {
    #fiche-tiers .one-third {width:49%;margin:0px 2% 0px 0px;margin-top:25px !important;}
    #fiche-tiers .one-third:first-child {width:100%;margin-top:0px !important;height:auto !important;}
	#fiche-tiers .one-third:first-child .field .both {display:none;}
	.tabs-tiers-part {width:100%;padding:0px !important;}
}
@media screen and (min-width:1200px) {
    #fiche-tiers .one-third {width:32%;margin:0px 2%;}
}

.apercu-fiche-contact {position:relative;min-height:88px;}
.apercu-fiche-contact .contact-content {padding-right:32px;}
.apercu-fiche-contact .contact-content .sub-content {width:100%;padding:5px;}
.apercu-fiche-contact .contact-content .contact-part1, .apercu-fiche-contact .contact-content .contact-part2 {width:50%;display:inline-block;vertical-align:top;}
.apercu-fiche-contact .contact-content .contact-part2 a {display:block;text-overflow:ellipsis;overflow: hidden;white-space: nowrap;width:100%;padding:3px 3px 3px 10px;}
.apercu-fiche-contact .contact-actions {position:absolute;right:0px;top:0px;width:32px;border-left:1px solid #333;height:100%;}


/********************* FICHE RESPONSIVE DESIGN *********************/
.responsive-fiche .nodata {font-size:11px;color:#999;}
.responsive-fiche input.phone {border:0px !important;background:transparent !important;width:auto !important;padding:0px;padding-left:30px;}
.responsive-fiche .intl-tel-input .flag-container {right:auto;left:0px;}
.responsive-fiche .intl-tel-input .selected-flag {padding-left:0px;}
.responsive-fiche .adresse-content {padding-right:10px;width:178px;}
.responsive-fiche .inline-actions .icon-btn {font-size:14px;border: 1px solid #333;padding:2px;margin-left:5px;}
.responsive-fiche .inline-actions .icon-btn:hover {background:#333;color:#FFF;cursor:pointer;}

.responsive-fiche .more-btn {display:inline-block;background: #efefef;color: #585858;width:100%;padding: 2px 10px;text-align:right;border-top: 1px solid #b3b3b3;}

.titre-categorie {background:url(../img/background/bg-titre.png);color:#FFF;padding:6px 5px 6px 35px;text-transform: uppercase;border:1px solid #9e9e9e;position:relative;}
.titre-categorie .icon {font-size: 16px;position: absolute;top: 3px;left: 5px;}
.titre-categorie .nb {background: #d4d6de;color: #23242c;font-size:11px;border-radius: 15px;display: inline-block;padding:3px 7px;margin-top:-2px;float: right;margin-right: 10px;}
.titre-categorie .btn-action {border-radius: 30px;padding:4px 2px;background: #C00;color: #fff;line-height: 13px;font-size:13px;float:right;display:inline-bloc;margin-top:-3px;margin-right:10px;}
.titre-categorie .btn-action:hover {background: #d4d6de;color: #23242c;text-decoration:none;}

#liste_taches {min-height:75px;}
#liste_taches:not(.show-all) .listing-elements, #liste_taches:not(.show-all) .pagination-mini {display:none;}
#liste_taches:not(.show-all) .listing-elements:first-child {display:table;}
#liste_taches.show-all {position:relative;z-index: 9;}
#liste_taches.show-all .more-task-btn .text1, #liste_taches:not(.show-all) .more-task-btn .text2 {display:none;}
#liste_taches.show-all .more-task-btn .text2 {display:block;}

.listing-elements {width:100%;position:relative;border:0px !important;border-top:1px solid #666 !important;min-height:53px;}
.listing-elements.tache-terminee {opacity:0.4;}
.listing-elements.tache-terminee:hover {opacity:1.0;}
.listing-elements:first-child {border-top:0px !important;}
.listing-elements tr td {border:0px !important;border-bottom:1px solid #333 !important;padding:5px;}
.listing-elements tr td:nth-child(even) {padding-bottom:2px;}
.listing-elements tr td:nth-child(odd) {padding-bottom:5px;}
.listing-elements tr:last-child td {border-bottom:0px !important;}
.listing-elements tr td.col-task-action {padding:0px 5px;width:35px;border-bottom:0px !important;}
.listing-elements tr td.col-task-action .icheckbox_minimal {position:relative !important;margin:0px;}
.listing-elements tr td.col-task-time {white-space:nowrap;max-width:105px;}
.listing-elements tr td.col-task-time p {margin-left:10px;}
.listing-elements tr td.col-task-time p:first-child {margin-left:0px;}
.listing-elements tr td.col-actions {text-align:right;padding:0px;}
.listing-elements tr td.col-actions a {display: inline-block;padding:2px 5px;color: #666;font-size:14px;opacity:0.3;}
.listing-elements:hover tr td.col-actions a {opacity:0.7;}
.listing-elements tr td.col-actions a:nth-child(2) {color:#e00000;}
.listing-elements tr td.col-actions a:hover {text-decoration:none;opacity:1.0;}
.listing-elements tr td.col-task-content .inline {margin-top:8px;color:#737373;font-size:15px;vertical-align:top;margin-bottom:2px;}
.listing-elements tr td.col-task-content .inline:hover {text-decoration:none;color:#000;}
.listing-elements tr td.col-task-content .inline.icon-vcard {font-size:16px;}
.listing-elements tr td.col-task-content .inline.icon-alert {font-size:17px;color:#da0303;}

#liste_contacts {position:relative;z-index: 9;}
#liste_contacts:not(.show-all) {position:relative;padding-bottom:20px;}
#liste_contacts:not(.show-all) .more-contact-btn {position:absolute;bottom:0px;right:0px;}
#liste_contacts.show-all {height:auto !important;}
#liste_contacts .more-contact-btn:hover {text-decoration:none;background:#dadada;}
#liste_contacts.show-all .more-contact-btn .text1 {display:none;}
#liste_contacts:not(.show-all) .more-contact-btn .text2 {display:none;}

/* MODULES*/
.btn-choice a {display:inline-block;padding:5px 10px;text-transform:uppercase;}
.btn-choice a.active.oui {background:#28c909;}
.btn-choice a.active.non {background:#f94343;}
.btn-choice a.active {color:#FFF;cursor:default;text-decoration:none;}
.btn-choice a:not(.active) {color:#333;background:#333;}

/************ RDV360 **********/
.select-horaires {position: absolute;background: #FFF;z-index: 9;border: 1px solid #000;width:400px !important;margin-top: 5px;display:none;}
.select-horaires .titre {margin: 0;background: #FFF;color: #FFF;padding: 5px;text-align: center;margin-bottom: 10px;font-size:14px;}
.select-horaires .last {padding-right:5px !important;}

.horaires-etablissement .hours {width:150px;}
.horaires-etablissement .actions {width:80px;}

.etapes-prestation-list td:not(.nb) {vertical-align:top;}
.etapes-prestation-list .select2-container .select2-selection {height:auto !important;}
.etapes-prestation-list .quantity {width:63px !important;}

.catalogue-listing-content {}
.catalogue-listing-content .produit {position:relative;z-index:10;background:#f3f3f3;}
.catalogue-listing-content .produit, .catalogue-listing-content .categorie {display:inline-block;max-width:150px;margin:0.5%;height:120px;position:relative;vertical-align:top;}
.catalogue-listing-content .categorie .nom {border:1px solid #808080;border-top:0px;position:absolute;width:100%;left:0;bottom:0px;z-index:9;padding:3px 3px 3px 10px;text-align:center;}
.catalogue-listing-content .produit .container, .catalogue-listing-content .categorie .container {width:100%;padding:5px;height:100%;display:block;}
.catalogue-listing-content .categorie:not(.produit) {padding-top:15px;}
.catalogue-listing-content .categorie:not(.produit) .container {background:#fff;border:1px solid #666;-moz-border-radius: 0px 5px 5px;-webkit-border-radius: 0px 5px 5px 5px;border-radius: 0px 5px 5px;}
.catalogue-listing-content .categorie .folder {border:1px solid #666;border-bottom:0px;display: block;width: 75%;position: absolute;top: 0;height: 15px;-webkit-border-top-left-radius: 5px;-webkit-border-top-right-radius: 5px;-moz-border-radius-topleft: 5px;-moz-border-radius-topright: 5px;border-top-left-radius: 5px;border-top-right-radius: 5px;}
.catalogue-listing-content .produit .container .img, .catalogue-listing-content .categorie .container .img {width:100%;margin:auto;height:100%;overflow:hidden;position:relative;display:block;}
.catalogue-listing-content .produit .container .img img, .catalogue-listing-content .categorie .container .img img {width:auto;height:100%;position: absolute;top: -9999px;bottom: -9999px;left: -9999px;right: -9999px;margin: auto;}
.catalogue-listing-content .produit .indic {position:absolute;bottom:0px;left:0px;width:100%;padding:2px 5px;color:#FFF;background:rgba(0, 0, 0, 0.39);}
.catalogue-listing-content .produit .indic span {display:inline-block;width:50%;}
.catalogue-listing-content .produit .indic .nom {width:100%;display:block;padding:3px;text-align:center;}

@media all and (max-width:599px) {
	.catalogue-listing-content .produit, .catalogue-listing-content .categorie {width:49%;}
}
@media all and (min-width:600px) {
	.catalogue-listing-content .produit, .catalogue-listing-content .categorie {width:24%;}
}

.level-up-part:not(.droppable-hover) .droppable-area {display:none;}
.level-up-part.droppable-hover {background:#FFF;height:50px;}
.level-up-part.droppable-hover .droppable-area {display:block;text-align:center;padding:15px;width:100%;font-size: 17px;color: #848484;}
.level-up-part.droppable-hover *:not(.droppable-area):not(.icon-up-fat) {display:none;}
.catalogue-listing-content  .categorie.droppable-hover {opacity:0.6;}

.achats-listing-content {}
.liste-contenu-ticket .color-part, .achats-listing-content .color-part {width:1px;padding:0px 5px;text-align:center;}
.liste-contenu-ticket .container, .achats-listing-content .container {width:45px;padding:0px;}
.liste-contenu-ticket .container .img, .achats-listing-content .container .img {width:45px;margin:auto;height:39px;overflow:hidden;position:relative;display:block;}
.liste-contenu-ticket .container .img img, .achats-listing-content .container .img img {position: absolute;top: -9999px;bottom: -9999px;left: -9999px;right: -9999px;margin: auto;height:100%;}


/* BIBLIOTHEQUE DES FICHIERS */
.apercu-file {position:relative;width:150px;height:100px;border:1px solid #666;margin-top:5px;}
.apercu-file div {width:100%;overflow:hidden;height:100%;display:block;position:relative;}
.apercu-file div img {position: absolute;top: -9999px;bottom: -9999px;left: -9999px;right: -9999px;margin: auto;width:100%;eight:100%;}
.apercu-file a {width: 100%;text-align: center;display: block;position: absolute;left: 0;bottom: 0;background:rgba(255, 255, 255, 0.78);padding:2px;}
.apercu-file a:hover {background:rgba(255, 0, 0, 0.78);color:#FFF !important;text-decoration:none;}

#site-files-list .file, #global-files-list .file {display:inline-block;width:24%;margin:0.5%;border:1px solid #666;height:100px !important;position:relative;vertical-align:top;}
#site-files-list .file .uploadifive-button, #global-files-list .file .uploadifive-button {width: 100% !important;height: 100% !important;border-radius: 0px;background: transparent;border: 0px;color: #929292;font-size: 70px;line-height: 100px !important;}
#site-files-list .file a:first-child, #global-files-list .file a:first-child {width:100%;overflow:hidden;height:100%;display:block;position:relative;}
#site-files-list .file a:first-child img, #global-files-list .file a:first-child img {width:100%;position: absolute;top: -9999px;bottom: -9999px;left: -9999px;right: -9999px;margin: auto;}
#site-files-list .file a:first-child:hover, #global-files-list .file a:first-child:hover{-moz-box-shadow: 0px 0px 5px #000000;-webkit-box-shadow: 0px 0px 5px #000000;box-shadow: 0px 0px 5px #000000;}
#site-files-list .file a:last-child, #global-files-list .file a:last-child {width: 100%;text-align: center;display: block;position: absolute;left: 0;bottom: 0;background:rgba(255, 255, 255, 0.78);padding:2px;}
#site-files-list .file a:last-child:hover, #global-files-list .file a:last-child:hover {background:rgba(255, 0, 0, 0.78);color:#FFF !important;text-decoration:none;}

/* DIVERS */
.tableSQL-nohover tbody td {cursor:default !important;}

.prepaid-acount {display:inline-block;padding:5px;background:#666;color:#fff;border:1px solid #333;}
.prepaid-acount:hover {text-decoration:none;background:#505050;}

.jstree-default .jstree-themeicon-custom {font-size:18px;margin-right:10px;}

#liste-sms tbody tr .cols-actions a span {font-size:18px;}

/* AGENDA */
.page-agenda-0 #ui-datepicker-div {left:50% !important;margin-top:37px;margin-left:-169px;}
.page-agenda-0.new-presta #agenda {width:56%;display:inline-block;vertical-align:top;}
.page-agenda-0.new-presta #caisse-area {width:44%;display:inline-block;background:#fff;vertical-align:top;border-left:1px solid #666;-moz-box-shadow: 0px 0px 5px #666;-webkit-box-shadow: 0px 0px 5px #666;box-shadow: 0px 0px 5px #666;overflow-y:auto;}
.page-agenda-0.new-presta #caisse-area #content-area {padding:15px;}
.page-agenda-0.new-presta .catalogue-listing-content .produit, .page-agenda-0.new-presta .catalogue-listing-content .categorie {width:19%;height:105px;}
.page-agenda-0.new-presta #form_events .achats-listing-content .auteurs .select2-container {width:75px !important;}
.page-agenda-0.new-presta #form_events .achats-listing-content .equipements .select2-container {width:95px !important;}
#agenda .editing-event {-moz-box-shadow: 0px 0px 5px #000000; -webkit-box-shadow: 0px 0px 5px #000000; box-shadow: 0px 0px 5px #000000;-webkit-animation-name: clignote-events;-webkit-animation-duration: 2s;-webkit-animation-iteration-count:infinite;}
@-webkit-keyframes clignote-events {0%{box-shadow:0px 0px 10px red;}50%{box-shadow:0px 0px 0px red;}100%{box-shadow:0px 0px 10px red;}}
#agenda .editing-event .fc-time {display:none !important;}
#agenda .editing-event .fc-title .number-indicator {display: inline-block;background: red;color:#FFF;padding: 3px;font-weight: bold;margin-right:8px;}
.fc-content {font-size:12px;}
.fc-content .fc-title {}
.type-busy {/*background:#333 !important;color:#fff !important;*/}

/* CAISSE */
.page-caisse-0 #contenu > .content {padding:0px;}
.commande-content .field {margin-bottom:10px;}
.commande-content .field .label {font-weight:normal;width:130px !important;}
.commande-content .field .select2-container {width:85% !important;}
.commande-content .field .label, .commande-content .field .data {vertical-align:middle;}

.tiers-extra tr:hover td {cursor:pointer;background:#333 !important;}

#dialog-entreprise #uploadifive-file_upload, #dialog-entreprise #uploadifive-image_upload {line-height:20px !important;}
#dialog-entreprise #uploadifive-file_upload {width:150px !important;}
#dialog-entreprise #uploadifive-image_upload {width:180px !important;}
#dialog-entreprise .photos-liste {padding-left:0px;}
#dialog-entreprise .photos-liste li {list-style:none;display:inline-block;margin-right:10px;margin-bottom:10px;width:102px;height:102px;position:relative;vertical-align:top;}
#dialog-entreprise .photos-liste li > span {display:inline-block;position:absolute;right:0px;top:2px;font-size:20px;}
#dialog-entreprise .photos-liste li > span.icon-star-empty:hover {cursor:pointer;color:red;}
#dialog-entreprise .photos-liste li p {width:102px;height:102px;border:1px solid #666;}
#dialog-entreprise .photos-liste li img {max-width:100px;max-height:100px;}
#dialog-entreprise .photos-liste li a {position:absolute;width:100px;text-align:center;color:red;font-size:11px;background:rgba(255, 255, 255, 0.4);bottom:1px;left:1px;padding:3px;}

.tree-checkbox {background:#fff;}
.tree-checkbox li {list-style:none;line-height:25px;}
.tree-checkbox li .checkbox-label:hover {font-weight:bold;cursor:pointer;}
.tree-checkbox li .checkbox-label span {font-size:16px;}
.tree-checkbox li .icheckbox_minimal {margin-right:10px;vertical-align:top;margin-top:4px;position:relative !important;}

#form_events .repeat-part .field.label-line > .label {width:150px;}



#agenda .fc-refresh-button
{
	margin-left:10px;
	border-radius: 4px;
}

#agenda .fc-next-button
{
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}



@media all and (max-width:600px) {
	#header > .logo img {height:30px;margin-left: -5%;}

	
}
@media all and (max-width:989px) {
	#header > .logo img {height:30px;margin-left: -5%;}

	
}
@media all and (min-width:990px) {
	#header > .logo img {height:70px;margin-left: 2%;}

}



.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover .arrow {
  position: absolute;
  display: block;
  width: 1rem;
  height: 0.5rem;
  margin: 0 0.3rem;
}

.popover .arrow::before, .popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-popover-top, .bs-popover-auto[x-placement^="top"] {
  margin-bottom: 0.5rem;
}

.bs-popover-top .arrow, .bs-popover-auto[x-placement^="top"] .arrow {
  bottom: calc((0.5rem + 1px) * -1);
}

.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before,
.bs-popover-top .arrow::after,
.bs-popover-auto[x-placement^="top"] .arrow::after {
  border-width: 0.5rem 0.5rem 0;
}

.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before {
  bottom: 0;
  border-top-color: rgba(0, 0, 0, 0.25);
}


.bs-popover-top .arrow::after,
.bs-popover-auto[x-placement^="top"] .arrow::after {
  bottom: 1px;
  border-top-color: #fff;
}

.bs-popover-right, .bs-popover-auto[x-placement^="right"] {
  margin-left: 0.5rem;
}

.bs-popover-right .arrow, .bs-popover-auto[x-placement^="right"] .arrow {
  left: calc((0.5rem + 1px) * -1);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}

.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before,
.bs-popover-right .arrow::after,
.bs-popover-auto[x-placement^="right"] .arrow::after {
  border-width: 0.5rem 0.5rem 0.5rem 0;
}

.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before {
  left: 0;
  border-right-color: rgba(0, 0, 0, 0.25);
}


.bs-popover-right .arrow::after,
.bs-popover-auto[x-placement^="right"] .arrow::after {
  left: 1px;
  border-right-color: #fff;
}

.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] {
  margin-top: 0.5rem;
}

.bs-popover-bottom .arrow, .bs-popover-auto[x-placement^="bottom"] .arrow {
  top: calc((0.5rem + 1px) * -1);
}

.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before,
.bs-popover-bottom .arrow::after,
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
  border-width: 0 0.5rem 0.5rem 0.5rem;
}

.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before {
  top: 0;
  border-bottom-color: rgba(0, 0, 0, 0.25);
}


.bs-popover-bottom .arrow::after,
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
  top: 1px;
  border-bottom-color: #fff;
}

.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1rem;
  margin-left: -0.5rem;
  content: "";
  border-bottom: 1px solid #f7f7f7;
}

.bs-popover-left, .bs-popover-auto[x-placement^="left"] {
  margin-right: 0.5rem;
}

.bs-popover-left .arrow, .bs-popover-auto[x-placement^="left"] .arrow {
  right: calc((0.5rem + 1px) * -1);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}

.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before,
.bs-popover-left .arrow::after,
.bs-popover-auto[x-placement^="left"] .arrow::after {
  border-width: 0.5rem 0 0.5rem 0.5rem;
}

.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before {
  right: 0;
  border-left-color: rgba(0, 0, 0, 0.25);
}


.bs-popover-left .arrow::after,
.bs-popover-auto[x-placement^="left"] .arrow::after {
  right: 1px;
  border-left-color: #fff;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: inherit;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}