﻿* {
    box-sizing: border-box;
}

html,form
{
	height:100%;
}

form
{
	height:100%;
	font-size:12px;	
	margin:0;
	padding:0;
}

body 
{
	margin: 0px;
	margin-top: 0px;
	padding: 0px;
	height:100%;
	font-family: Arial;
	font-size:12px;
	color:#666666;
}

div,table
{
	font-family: Arial;
	font-size:12px;
	color:#666666;
}

a.LienTexte
{
	color:#666666;
	text-decoration:none;
}

a.LienTexte1 {
    color: #57afde;
    text-decoration: none;
}

a.LienTexte2 {
    color: #f0841a;
    text-decoration: none;
}

input[type=text]
{
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px;
}

input[type=radio]
{
	border:0px;
	color:#666666;
}

input[type=checkbox]
{
	border:0px;
	color:#666666;
}

input[type=button]
{
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px;
}

select
{
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px;
}

textarea
{
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px;
	font-family:Arial;
}

input.StyleInput
{
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px;
}

input.Recherche
{
    background-image:url('../images/general/loupe_input.png');
    background-repeat:no-repeat;
    background-position:left;
    padding-left:24px;
}


/*------------------------------- Champs Fiche -----------------------------------*/

.ContactArchive {
    background-color: #f3e6c5;
}

.TagVisu {
    color: #57afde;
}

.EtiquetteEtablissement {
    font-size: 20px;
    color: #57afde;
}

.EtiquetteContact {
    font-size: 20px;
    color: #57afde;
}

.DateCollabMaj {
    font-size: 10px;
    color: #BBBBBB;
}

.CommercialPrincipal {
    font-size: 11px;
    color: #7e92b1;
}

.FicheOption {
    color: #7e92b1;
}

.XTN-no {
    color:#999999;
}

.XTN-on {
    color: #5cb43b;
}

.XTN-off {
    color: #e43232;
}

/*------------------------------- Champs obligatoire -----------------------------------*/
.TexteChampObligatoire {
    color: #fea409;
    font-weight: 700;
}

.ChampObligatoire
{
    background-color:#fece7d;
}

/*------------------------------- Alerte Offre -----------------------------------*/

.OffreFacturationAlerte {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fece7d;
    padding: 8px;
    text-align: left;
    border: 3px solid #f1ba5f;
}


.TableSynthese {
    position: sticky;
    z-index: 190;
    top: 0;
    outline-width: 1px;
    outline-color: #dddddd;
    outline-style: solid;
    margin-bottom: 5px;
}

#DivPage:has(input[id*="CBAfficherChamps"]:checked) #AT_SyntheseFacture {
    overflow-y: visible;
    overflow-x: scroll;
    display: block;
    scrollbar-width: thin;
}

#AT_SyntheseFacture > thead,
#AT_SyntheseFacture > tfoot {
    position: sticky;
    background-color: white;
    z-index: 100;
}

#DivPage:has(input[id*="CBAfficherChamps"]:checked) #AT_SyntheseFacture > thead {
    top: 0 !important;
}
#AT_SyntheseFacture > tfoot {
    bottom: 0;
}

#AT_SyntheseFacture_paginate, #AT_SyntheseFacture_info {
    margin-top: -32px;
    z-index: 20000;
    position:sticky;
    bottom: 1px;
}

#AT_SyntheseFacture_info {
    padding-bottom: 0.6em;
}

#DivPage:has(input[id*="CBAfficherChamps"]:checked) #AT_SyntheseFacture_paginate,
#DivPage:has(input[id*="CBAfficherChamps"]:checked) #AT_SyntheseFacture_info {
    position: relative;
    margin-top: -40px;
}

[id^="AT_SyntheseFacture"] > tbody > tr > td {
    padding: 4px 3px;
}

[id^="AT_SyntheseFacture"] > thead > tr > th {
    padding: 4px 16px 4px 2px;
}

#DivPage:has(#AT_SyntheseFacture) {
    margin: 0 20px;
    width: auto;
}

/*--------------------------------- Connexion -----------------------------------------*/
.FormulaireConnexion {
    background-color: #FEFEFE;
}

.FormulaireConnexion th
{
    background-color:#becce1;
    font-size:14px;
    height:26px;
    font-weight:bold;
    color:#666666;
}

/*----------------------- Classe générale ----------------------*/

.Titre1
{
    font-family:Arial;
    font-size:16px;
    color:#1f3a75;
    font-weight:bold;
}

.Titre2
{
    font-family:Arial;
    font-size:14px;
    color:#1f3a75;
    font-weight:bold;
}

.Titre3
{
    font-family:Arial;
    font-size:12px;
    color:#1f3a75;
    font-weight:bold;
}

.Texte1
{
    color:#1f3a75;
}

/*----------------------- Image bouton ----------------------*/

.BoutonListe
{
    margin-left:14px;
    height:18px;
}

.BoutonTableau
{
    height:26px;
}

.BoutonFormulaire
{
    height:34px;
    margin-left:30px;
}

/*----------------------- Fond Tableau ----------------------*/

.FondVert {
    /*background-color: #c4e1b9;*/
    background-color: #53b02e5c;
}

.FondOrange {
    /*background-color: #f3e0ae;*/
    background-color: #f7b2004a;
}

.FondOrangeClair {
    /*background-color: #f3e6c5;*/
    background-color: #e3c16a5e;
}

.FondOrangeFonce {
    /*background-color: #e9c977;*/
    background-color: #d59b087d;
}

.FondBleu {
    /*background-color: #d2e8f8;*/
    background-color: #5eb3f057;
}

.FondRouge {
    /*background-color: #f7bbbb;*/
    background-color: #e825254a;
}

.FondJaune {
    /*background-color: #f5f6ba;*/
    background-color: #e7ea3b52;
}

.FondViolet {
    /*background-color: #e8dbf6;*/
    background-color: #bf93ee4a;
}

.FondGris {
    /*background-color: #CCCCCC;*/
    background-color: #7D7D7D4F;
}

/*----------------------- Input Valide ----------------------*/
.InputValidation {
    background-color: transparent;
    transition-property:  all;
    transition-duration: 1s;
    transition-delay: 0s;
}
.InputValidation input[type=checkbox] {
    transition-property: all;
    transition-duration: 1s;
    transition-delay: 0s;
}

    .InputValidation.Success {
        background-color: #81da85;
        color: white;
    }
    .InputValidation.Error {
        background-color: #db5353;
        color: white;
    }
    .InputValidation input[type=checkbox].Success {
        box-shadow: 0 0 2px 8px #81da85;
    }
    .InputValidation input[type=checkbox].Error {
        box-shadow: 0 0 2px 8px #db5353;
    }

/*----------------------- Pièces jointes ----------------------*/
.TableauPJ {
}

.TableauPJ .FondPJ
{
    background-color:#fefdfc;    
}

.TableauPJ .DragAndDropPJ
{
    position:relative;
    float:left;
    width:100%;
    text-align:center;
    border:3px dashed #94bac8;
    background-color:#d7e6e9;
    color:#41919f;
    padding:12px 0px 12px 0px;
    margin-bottom:8px;
}

.TableauPJ .UploadPJ
{
}

/*----------------------- Messages ----------------------*/

.TableauMessage
{
    background-color:#f6e3c3;
}

.TableauMessage th
{
    background-color:#f4d4a0;
    font-size:14px;
    height:26px;
    font-weight:bold;
}

/*----------------------- Formulaire Saisie ----------------------*/

.FormulaireSaisie
{
    background-color:#f0eee5;
}

.FormulaireSaisie th
{
    background-color:#ded6c4;
    color:#7a6637;
    font-size:14px;
    height:26px;
    font-weight:bold;
}

.FormulaireSaisie .FondFonce
{
    background-color:#ded6c4;
}

.FormulaireSaisie .FondClair
{
    background-color:#fbfaf7;
}

.FormulaireSaisie .Fond1Fonce
{
    background-color:#c8d7dd;
}

.FormulaireSaisie .Fond1Clair
{
    background-color:#e0e8ec;
}

/*----------------------- Formulaire Visu ----------------------*/

.FormulaireVisu
{
    background-color:#FEFEFE;
}

.FormulaireVisu th
{
    background-color:#becce1;
    font-size:14px;
    height:26px;
    font-weight:bold;
    color:#666666;
}

.FormulaireVisu th span
{
    font-size:14px;
}

/*----------------------- Formulaire 1 ----------------------*/

.Formulaire1
{
    background-color:#FEFEFE;
    border-left:2px solid #334259;
}

.Formulaire1 th
{
    background-color:#becce1;
    font-size:14px;
    height:26px;
    font-weight:bold;
    color:#666666;
}

.Formulaire1 th span
{
    font-size:14px;
}

.Formulaire1 .FondFonce
{
    background-color:#becce1;
}

.Formulaire1 .InfoTitre
{
    font-size:9px;
    color:#BBBBBB;
}

/*----------------------- Formulaire 2 ----------------------*/

.Formulaire2
{
    background-color:#FEFEFE;
    border-left:2px solid #bcbcbc;
}

.Formulaire2 th
{
    background-color:#EEEEEE;
    font-size:14px;
    height:26px;
    font-weight:bold;
    color:#666666;
}

.Formulaire2 th span
{
    font-size:14px;
}

.Formulaire2 .FondFonce
{
    background-color:#EEEEEE;
}

.Formulaire2 .InfoTitre
{
    font-size:9px;
    color:#BBBBBB;
}

/*----------------------- Calendar AJAX - Fixes DataTable ----------------------*/

.MyCalendar .ajax__calendar_header {
    height: 20px;
    width: 100%;
}

.MyCalendar .ajax__calendar_container {
    border: 1px solid #646464;
    background-color: #ffffff;
    color: #000000;
}

.MyCalendar .ajax__calendar_container {
    padding: 4px;
    cursor: default;
    width: 170px;
    font-size: 11px;
    text-align: center;
    font-family: tahoma,verdana,helvetica;
}

.MyCalendar .ajax__calendar_container td {
    background-color: white;
    border: 0px;
    padding: 1px;
}

.MyCalendar .ajax__calendar_other .ajax__calendar_day, .MyCalendar .ajax__calendar_other .ajax__calendar_year {
    color: gray;
}

.MyCalendar .ajax__calendar_hover .ajax__calendar_day, .MyCalendar .ajax__calendar_hover .ajax__calendar_month, .MyCalendar .ajax__calendar_hover .ajax__calendar_year {
    background-color: #edf9ff;
    border-color: #0066cc;
    color: #0066cc;
}

.MyCalendar .ajax__calendar_active .ajax__calendar_day, .MyCalendar .ajax__calendar_active .ajax__calendar_month, .MyCalendar .ajax__calendar_active .ajax__calendar_year {
    background-color: #edf9ff;
    border: 1px solid;
    border-color: #0066cc;
    color: #0066cc;
}