/* 
    Created on : 14 janv. 2019, 16:06:51
    Author     : Technic-Soft - Aubin Puyoou
    RESPONSIVE
    CSS Contenant les modifications propres au LayoutPage.tpl
    mais il définit aussi des propriétés par rapport a certaines pages qui 
    apparaissent à plusieurs endroits (Menus, DetailDossier)
    J'utilise des flex-box, qui peuvent directement être interprétées par les mobiles
*/

body {
    display: flex;
    flex-flow: column;
    height: 100dvh;
    margin: 0;
}

/* HEADER */

header{
    flex: 0 1 70px;    
    white-space : nowrap;
    background-color: var(--color-header); 
    width: 100%
}

.dx-editor-outlined.dx-texteditor-with-floating-label .dx-texteditor-label, .dx-editor-outlined.dx-texteditor-with-label .dx-texteditor-label {
    color:var(--color-label);
}

header table {  
    width: 100%;
}

#td-entete-logoS9 { 
    text-align: left;
    padding : 10px;
    width: 1%;    
}

.count, .countContact, .countHistorique  {
    margin: 0;
}

#img-logoS9 {
    height : 59px;
}

#td-entete-headerTitre {
    text-align: left;
    width: 30%;
    font-family: Zolano Sans BTN, Arial Rounded MT, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: white;
    text-align: left;
}

#td-entete-logoClientConnecte {
    width: 1%;    
    text-align: right;
    white-space: nowrap;
}

#img-logoClientConnecte {
    padding: 10px;
    white-space:nowrap; 
}

#td-entete-logoClient { 
    width: 1%;    
    text-align: right;
    white-space: nowrap;
}

#img-logoClient {
    padding: 10px;
    white-space:nowrap; 
}

/* CONTENU */

#bodyContainer {
    /* background-color: #f5f5f5; */
    padding: 20px;
    flex: 1 1 auto;
    display:flex;
} 

#FormPrincipale {
    width: 100%;
}

/* MENUS */

#menu {
    margin: auto;
    height: 100%;
    max-width: 550px;
    padding: 10px;
    /* background-color: white; */
    border: 1px solid #b7b7b7;
}

#menu h5{
    font-weight: bold;
    width:100%;
    text-align: center;
}

/* DETAIL DOSSIER*/

#cadreDetailDossier{
    width: 100%;
}

.entete_detail
{
    /* color: White; */
    font-weight: bold;
    /* background:#337ab7; */
    font-size:13pt;
    height:33px;
    padding-top:0.1em;
    font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Verdana, sans-serif;
}


.marge_gauche
{
    margin-left:40px;
    list-style-type:circle;
    
}



.dx-theme-generic-typography h1, .dx-theme-generic-typography .dx-font-xl{
    font-size : 24px;
}
.dx-theme-android5-typography h1, .dx-theme-android5-typography .dx-font-xl{
    font-size: 20px;
}
#pageErreur{
    text-align: center;
    height: 100%;
}

.frame-suivi-dossier{
    width: 100%;
}

.labelErreur
{
    color: var(--color-error);    
    font-weight: bold;
    font-size:10pt;
    padding:10px;
}

.btn-croix-fermer{
    font-size:12px;
    position:absolute;
    right:20px;
    /* background-color:white; */
    text-align: right;
    cursor:pointer;
}

/* LOGIN */

#mdpOublie {
    /* color:#337ab7; */
    text-decoration: underline;
    display: inline-block;
}

#mdpOublie:hover {
    cursor:pointer;
    /* color:#AE508D; */
}

/* Popup TSMESSAGE */

.popupTsMessage .dx-overlay-content.dx-popup-normal.dx-resizable .dx-popup-content {
    display: grid;
}

/* Grille Bouton Retour au Menu */
#boutonRetour {
    /* background-color: #337ab7; */
}


/* FOOTER */

footer { 
    background-color: var(--color-footer);
    flex: 0 1 55px;
    position: relative;
    bottom: 0px;
    width: auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap-reverse;
    align-items: center;
}

footer table{
     width: 100%;
}

#td-rgpd { 
    margin-left: auto;
    margin-right: auto; 
    text-align: center; 
    width: 33%;
} 

#td-sv9000 {
    /* text-align: right;
    white-space: nowrap;    
    width: 33%; */
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: end;
}

#img-sv9000 {
    padding: 10px;
}

#td-tsLink {
    width: auto;
    text-align: left;
    padding : 10px 0;    
    white-space : nowrap;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

/* Switch du changement de thème (light/dark) */
#theme-switch .dx-switch-on {
    background-image:url("/sw9/Img/sun-1.png");
    background-size: 30%;
    background-position: left;
    background-repeat: no-repeat;
}   

#theme-switch .dx-switch-off {
    background-image:url("/sw9/Img/moon-1.png");
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
} 

#theme-switch .dx-switch-container {
    background: var(--color-switch);
}


#myAccordion {
    background-color: var(--bg-accordeon) !important;
    color: var(--color-accordeon) !important;
}

.textBoxGrise {
    background-color: var(--color-disabled) !important;
}

.dx-label {
    color: var(--color-label) !important;
}

.containerHelp {
    background-color: var(--color-ts);
    color: var(--color-blanc);
    height: 100%;
    padding: 10px;
    width: 300px;
    overflow-y: scroll;
}

.containerHelp .titre {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid #082946;
}

.containerHelp .contenu {
    padding-top : 15px;
    font-size:1rem;
}

.containerHelp .contenu li {
    list-style: none;
    margin: 5px 0;
}

